/* Serdi Dizo shared UI: V3 retains the stable stylesheet URL. */
@media screen {
  :root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;--paper:#fff;--ink:#202b2a;--muted:#526461;--teal:#087568;--dark:#08695e;--line:#dce4e2;--sage:#f3f7f6;background:#fff;color:#202b2a}
  body{background:#fff;font-family:inherit;font-size:16px;line-height:1.5}
  input,select,textarea,button{font-family:inherit}
  input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{font-size:16px;min-height:48px;border-radius:8px;background:#fff;color:var(--ink);border:1px solid #a7b8b3}
  input::placeholder,textarea::placeholder{color:#657773;opacity:1}
  button,.button,.call-button{min-height:44px;border-radius:8px;font-size:15px;font-weight:600;letter-spacing:0}
  label,.field-label{font-size:14px;line-height:1.5;font-weight:600}
  .shell{max-width:1100px}
  .site-header{padding-block:16px;box-shadow:none}
  .brand-label{font-size:15px}.brand-label small,.brand-caption{font-size:12px}
  nav,.header-note{font-size:14px}
  .eyebrow{font-size:14px;letter-spacing:0;text-transform:none}
  .home-page .hero-copy>.eyebrow{display:none}
  .home-page h1,.intro h1,.expense-intro h1{font-size:28px;line-height:1.25;letter-spacing:-.5px;font-weight:700;margin-top:0}
  .home-page h1 span,.intro h1 span,.expense-intro h1 span{font-weight:700;color:inherit}
  .home-page .hero{padding-block:28px 20px}
  .home-page .hero-description,.intro-copy,.expense-intro>div>p{font-size:16px;line-height:1.6;margin-top:10px}
  .home-page .hero-note{text-align:left;font-size:14px;margin-top:12px}
  .home-page .section-heading h2{font-size:20px;letter-spacing:0;font-weight:600}
  .home-page .tool-card{border-radius:12px;box-shadow:none;transform:none;padding:22px;gap:14px}
  .home-page .tool-content h3{font-size:20px;letter-spacing:-.2px;font-weight:600}
  .home-page .tool-content>p:not(.tool-category){font-size:16px;line-height:1.5}
  .home-page .tool-open{font-size:16px;color:var(--teal);border-top:0;padding-top:4px}
  .home-page .tool-open>span{background:none}
  .home-page .tool-icon{background:#eff7f4;border-radius:10px}
  .idea-card{border:0;border-top:1px solid var(--line);border-radius:0;background:#fff!important;box-shadow:none;padding:24px 0}
  .home-page .idea-card h2,.idea-card h2{font-size:22px;letter-spacing:0;font-weight:600}
  .idea-card p,.footer-top>p,.footer-bottom{font-size:14px}
  .intro,.expense-intro{padding-block:24px}
  .privacy-chip{background:none;border:0;border-radius:0;padding:0;box-shadow:none;font-size:14px}
  .privacy-chip svg{display:none}
  .privacy{font-size:14px}
  .panel,.result-panel,.input-panel{border-radius:12px;box-shadow:none}
  .panel-title h2{font-size:18px;letter-spacing:0;font-weight:600}
  .panel-title{flex-wrap:wrap;gap:10px}
  .field-hint,.hint,.method-note,.save-note,.form-footer p,.form-foot p,.guide p,.related{font-size:14px;line-height:1.6}
  .field-label span,label span,.optional{font-size:14px}
  .presets button{border:0;background:#f1f5f4;font-size:14px;min-height:40px}
  .rate-card{border-radius:8px;box-shadow:none;background:#f3f7f6;border:0}
  .rate-card.primary{background:#e9f6f1;color:#16473d}
  .rate-card strong{font-size:32px;letter-spacing:-.5px}
  .rate-card p,.rate-card p span,.rate-tax,.rate-card>div,.result-topline{font-size:14px}
  .result-panel .live-indicator{border:0;background:none;font-size:13px;padding:0}
  .detail-badge{border:0;background:none;font-size:13px}
  .data-list,dl{font-size:14px}
  details>summary{font-size:15px;min-height:48px;letter-spacing:0}
  .input-details,.more-options{border-radius:0;box-shadow:none}
  details.panel.library{padding:0 18px;border-radius:0;border-width:0 0 1px}
  details.panel.library>summary{min-height:58px;padding-block:12px}
  .library-section{gap:0}
  .inline-share{margin:20px 0}
  .inline-share #copy{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;max-width:none;min-height:48px;padding:12px;font-size:16px;background:var(--dark);color:white}
  body:has(.inline-share) main{padding-bottom:28px}
  body:has(.inline-share) .toast{bottom:20px}
  .claim{font-size:36px;letter-spacing:-.5px}
  .results{background:#f6f9f8}
  .ledger>summary .ledger-heading{font-size:16px}
  .ledger>summary #saved-count,.month-picker>span{font-size:14px}
  .day-row strong,.day-row p,.monthly span,.spend-result small{font-size:14px}
  .share-action{background:var(--dark);color:#fff;border-color:var(--dark)}
  #save.primary{background:#fff;color:var(--dark);border:1px solid #9bbab2}
  :is(button,a,input,select,summary,textarea):focus-visible{outline:3px solid #087568;outline-offset:3px}
  .site-header{background:#123d3b!important;color:#fff;border-bottom:1px solid #123d3b;box-shadow:0 0 0 100vmax #123d3b;clip-path:inset(0 -100vmax)}
  .site-header a,.site-header nav a,.site-header .brand{color:#fff}
  .site-header .brand img{background:#fff;border-radius:7px;padding:2px 5px}
  .site-header .brand-divider{background:#ffffff40}
  .site-header .brand-label small,.site-header .brand-caption,.site-header .header-note{color:#d7ebe4}
  .header-note .status-dot{background:#d7ebe4}
  .offline-bar:has(#offline-status:empty),#offline:empty{display:none}
  .idea-card{align-items:center}
  .idea-card .call-button{background:#fff!important;color:var(--ink)!important;border:1px solid #b9ccc7;box-shadow:none}
  .idea-card .call-button:hover{background:#f6faf8!important}
  .call-button small{color:var(--muted)!important}
  .site-footer{border-top:1px solid var(--line);margin-top:24px}
  main>.site-footer{padding-left:0;padding-right:0}
  .site-footer .footer-top{justify-content:center;padding-bottom:0}
  .site-footer .footer-top>a:not(.brand){display:none}
  .field-footer{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin:26px auto 0;padding:20px 20px 18px;background:#edf3ed;border:1px solid #d7e3d7;border-radius:18px;color:var(--ink);box-shadow:none}
  main>.field-footer{margin-top:25px}
  .footer-identity{display:flex;justify-content:center;width:100%}
  .field-footer .brand-label small{display:block;margin:5px 0 0;font-size:11px;font-weight:400;color:var(--muted);line-height:1.3;white-space:nowrap}
  .footer-contact{display:flex;align-items:center;justify-content:center;gap:14px;align-self:center;width:100%;max-width:420px;padding-top:12px;border-top:1px solid #cddcce}
  .footer-contact>p{margin:0;flex-shrink:0;font-size:19px;font-weight:650;letter-spacing:-.3px;line-height:1.35}
  .field-footer .footer-call{display:flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;gap:12px;min-height:44px;padding:5px 13px;background:#fff;color:var(--ink);border:1px solid #b9ccc7;border-radius:10px;text-decoration:none;box-shadow:none}
  .field-footer .footer-call:hover{background:#f6faf8!important}
  .field-footer .footer-call small{display:block;margin:0 0 3px;font-size:12px;line-height:1.3;color:var(--muted)}
  .field-footer .footer-call strong{display:block;font-size:18px;font-weight:650;letter-spacing:.2px;font-variant-numeric:tabular-nums;color:var(--ink)}
  .footer-call .call-arrow{font-size:18px;color:var(--muted);padding-left:4px}
  @media(min-width:900px){
    .field-footer{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:0;padding:26px 24px;border-radius:16px}
    .footer-identity{justify-content:center;padding:12px 24px}
    .footer-contact{justify-content:center;align-self:stretch;max-width:none;padding:12px 24px;border-top:0;border-left:1px solid #cddcce;gap:22px}
    .footer-contact>p{font-size:19px;line-height:1.4}
    .field-footer .footer-call{min-height:52px;padding:8px 15px;gap:12px;flex-shrink:0}
  }
  @media(max-width:650px){
    .shell{padding-inline:18px}
    .home-page h1,.intro h1,.expense-intro h1{font-size:26px}
    .home-page .tool-grid{gap:12px}
    .home-page .tool-card{padding:18px;grid-template-columns:36px minmax(0,1fr);gap:12px}
    .home-page .tool-icon{width:36px;height:40px}
    .home-page .tool-content h3{font-size:18px}
    .home-page .section-heading h2{font-size:18px}
    .panel{padding:18px}
    .panel-title h2{font-size:17px}
    .brand img{width:110px;height:30px}.brand{gap:9px}.brand-label small{font-size:11px}
    .privacy-chip{margin-top:10px}
    .rate-card strong{font-size:28px}
    .field-grid,.two{gap:12px}
    .field-footer{margin-top:22px;padding:18px 18px 16px;gap:12px}
    .footer-contact{display:grid;grid-template-columns:5% calc(50% - 20px) 20px 40% 5%;width:100%;gap:0;align-items:center;padding-top:12px}
    .footer-contact>p{grid-column:2;font-size:18px;text-align:right;white-space:normal;line-height:1.35;min-width:0}
    .field-footer .footer-call{grid-column:4;width:100%;min-width:0;max-width:100%;margin:0;padding:4px 6px;gap:0;box-sizing:border-box}
    .footer-call .call-arrow{display:none}
    .field-footer .footer-call strong{font-size:clamp(13px,4vw,16px);letter-spacing:0;white-space:nowrap}
    .field-footer .footer-call small{text-align:center}
  }
}
/* Shared page chrome: explicit dimensions prevent older page rules drifting. */
@media screen {
  .home-page .tool-open{justify-content:center;width:100%;gap:8px}
  .home-page .tool-open>span{width:20px;height:24px}
  .quick-guide{margin:0 0 20px;padding:0 16px;border:1px solid var(--line);border-radius:10px;background:#f6f9f8}
  .quick-guide>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;font-size:15px;font-weight:600;cursor:pointer;list-style:none}
  .quick-guide>summary::-webkit-details-marker{display:none}
  .quick-guide>summary:after{content:'+';font-size:20px;font-weight:400}
  .quick-guide[open]>summary:after{content:'−'}
  .quick-guide-body{padding:4px 0 16px;font-size:16px;line-height:1.6}
  .quick-guide-body h2{margin:0 0 12px;font-size:18px;line-height:1.4;letter-spacing:0}
  .quick-guide-body ol{padding-left:23px;margin:0}
  .quick-guide-body li{padding-left:3px;margin:0 0 12px}
  .quick-guide-body p{margin:12px 0 0;color:var(--muted)}
  .start-hint,.start-example{font-size:15px;line-height:1.55;color:var(--muted);margin:0 0 16px}
  .start-example{padding:10px 12px;background:#f3f7f6;border-radius:8px}
  .site-header.shell{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:1100px;height:77px;min-height:77px;margin:0 auto;padding:16px 28px}
  .site-header .brand,.field-footer .brand{display:flex;align-items:center;gap:12px;flex-shrink:0;font-size:15px;letter-spacing:0;text-decoration:none}
  .site-header .brand img,.field-footer .brand img{display:block;width:140px;height:38px;object-fit:contain}
  .site-header .brand .brand-divider,.field-footer .brand .brand-divider{display:block;width:1px;height:34px;flex-shrink:0}
  .field-footer .brand .brand-divider{background:var(--line)}
  .site-header .brand-label,.field-footer .brand-label{display:block;font-size:15px;line-height:1.2;letter-spacing:0}
  .site-header .brand-label small{display:block;margin:5px 0 0;font-size:11px;font-weight:400;line-height:1.3;white-space:nowrap;color:#d7ebe4}
  .field-footer .brand{color:var(--ink)}
  .site-header nav{display:flex;align-items:center;gap:0;font-size:14px;font-weight:600}
  .site-header nav a{display:flex;align-items:center;gap:6px;min-height:44px;white-space:nowrap;text-decoration:none}
  .site-header nav a:hover{text-decoration:underline;color:#fff}
  body>.field-footer{width:calc(100% - 56px);max-width:1044px;margin:26px auto 28px;font-size:16px;line-height:1.5}
  .field-footer .footer-call{margin:0;transition:background .15s}
  .field-footer .footer-call>span{margin:0}
  .field-footer .call-arrow{display:block;margin:0!important;padding-left:4px}
  @media(max-width:650px){
    .site-header.shell{height:77px;min-height:77px;padding:16px 18px}
    .site-header .brand,.field-footer .brand{gap:9px}
    .site-header .brand img,.field-footer .brand img{width:110px;height:30px}
    body>.field-footer{width:calc(100% - 36px);margin-top:22px}
    .field-footer .call-arrow{display:none}
  }
}

.privacy-link{text-align:center;font-size:14px;margin:20px auto 28px}.privacy-link a{margin:0 8px}
