:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:100%;line-height:1.45;color-scheme:light;--bg:#f5f6fa;--surface:#fff;--text:#20283b;--muted:#657083;--line:#e4e7ee;--accent:#4c50da;--soft:#eeedff;--green:#226e55;--shadow:0 5px 22px #28304b06;--visible-height:100dvh;--safe-bottom:env(safe-area-inset-bottom,0px)}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg:#12151e;--surface:#1d2230;--text:#f2f3fa;--muted:#a8b0c2;--line:#323a4b;--accent:#aaa6ff;--soft:#302d4b;--green:#8cd5b4;--shadow:none}}
:root[data-theme=dark]{color-scheme:dark;--bg:#12151e;--surface:#1d2230;--text:#f2f3fa;--muted:#a8b0c2;--line:#323a4b;--accent:#aaa6ff;--soft:#302d4b;--green:#8cd5b4;--shadow:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;text-size-adjust:100%}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.65;cursor:wait}button:active{transform:scale(.985);filter:brightness(.94)}button{transition:background-color 180ms,transform 180ms,filter 180ms}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.app-shell{max-width:30rem;margin:0 auto;padding:calc(1rem + env(safe-area-inset-top,0px)) 1.25rem calc(2rem + var(--safe-bottom));min-height:var(--visible-height)}header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:1.5rem}.brand{font-size:1.6rem;font-weight:800;letter-spacing:-.075em;min-height:48px;display:flex;align-items:center}.brand span{color:var(--accent)}.header-right{display:flex;align-items:center;gap:.4rem}.demo{font-size:.7rem;line-height:1.3;font-weight:650;background:var(--soft);color:var(--accent);padding:.4rem .6rem;border-radius:2rem;max-width:9rem}.icon-button{background:transparent;border:0;color:var(--muted);min-width:48px;min-height:48px;font-size:1.3rem}.screen{animation:enter 220ms ease-out}.eyebrow{font-size:.8rem;color:var(--muted);margin:0 0 .25rem}h1{font-size:1.8rem;line-height:1.15;letter-spacing:-.045em;margin:0 0 .65rem;font-weight:750}h2{font-size:1.05rem;line-height:1.3;letter-spacing:-.02em;margin:0 0 .8rem}p{margin:0 0 1rem}.muted{color:var(--muted)}.small{font-size:.8rem}.intro{white-space:pre-line;color:var(--muted);margin-bottom:1.5rem}.welcome{padding-top:1rem}.hero-art{height:10rem;display:grid;place-items:center;margin-bottom:1.4rem;position:relative}.orb{width:8rem;height:8rem;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;background:var(--surface);box-shadow:0 0 0 18px var(--soft),0 0 0 19px var(--line);color:var(--accent)}.orb svg{width:3.2rem;height:3.2rem}.card{background:var(--surface);border:1px solid var(--line);border-radius:1.25rem;padding:1.2rem;margin:1rem 0;box-shadow:var(--shadow);animation:enter 200ms ease-out}.balance-card{background:#4b4ed3;color:white;border-color:transparent;padding:1.25rem}.balance-card .muted{color:#e4e4ff}.balance-number{font-size:2.65rem;font-weight:730;letter-spacing:-.055em;line-height:1.1;margin:.55rem 0 1.15rem;overflow-wrap:anywhere}.primary,.secondary,.quiet{min-height:52px;border-radius:.85rem;padding:.8rem 1rem;border:0;width:100%;font-weight:650;line-height:1.25}.primary{background:var(--accent);color:var(--surface)}:root[data-theme=dark] .primary{color:#19182d}.balance-card .primary{background:#fff;color:#4145c0}.secondary{background:var(--soft);color:var(--accent)}.quiet{background:transparent;color:var(--muted);font-weight:500}.stack{display:grid;gap:.65rem}.row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.tariff-name{font-size:1.4rem;line-height:1.2;font-weight:700}.status{font-size:.75rem;color:var(--green);display:flex;align-items:center;gap:.35rem}.status:before{content:"";width:.4rem;height:.4rem;background:currentColor;border-radius:100%;flex-shrink:0}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:.7rem 0 1.2rem}.tile{text-align:left;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:1.05rem;padding:1rem;min-height:110px;display:flex;align-items:flex-start;flex-direction:column;gap:.85rem;overflow-wrap:anywhere;font-size:.875rem;font-weight:600;line-height:1.3;animation:enter 200ms ease-out}.tile-icon{color:var(--accent);background:var(--soft);width:2.2rem;height:2.2rem;display:grid;place-items:center;border-radius:.65rem;flex-shrink:0}.tile svg{width:1.15rem;height:1.15rem}.section-heading{margin-top:1.5rem}.bottom-link{display:flex;justify-content:space-between;align-items:center;min-height:52px;background:transparent;border:0;border-bottom:1px solid var(--line);width:100%;text-align:left;color:var(--muted);font-size:.875rem;padding:.6rem .2rem}.nav{display:flex;justify-content:space-between;gap:.5rem;margin-bottom:1rem}.nav button{background:none;border:0;color:var(--muted);min-height:48px;padding:.5rem 0;font-size:.85rem}.form{display:grid;gap:1rem}.field{display:grid;gap:.5rem;min-width:0}.field label{font-weight:600;font-size:.85rem}input,textarea,select{width:100%;min-height:56px;padding:.85rem 1rem;border:1px solid var(--line);border-radius:.85rem;background:var(--surface);color:var(--text);font-size:1rem;scroll-margin:1rem;min-width:0}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}textarea{min-height:130px;resize:vertical}.form .primary{margin-top:.4rem;scroll-margin:1rem}.form-card{margin-top:1.4rem}.toggle-letters{background:none;border:0;color:var(--accent);font-size:.8rem;text-align:left;min-height:48px;padding:0}.field-hint{font-size:.8rem;color:var(--muted);margin:0}.login-footnote{font-size:.8rem;color:var(--muted);text-align:center;margin-top:1rem}.choices{display:grid;gap:.65rem}.choice{border:1px solid var(--line);background:var(--surface);color:var(--text);text-align:left;padding:1rem;min-height:56px;border-radius:.85rem}.progress{height:3px;background:var(--line);margin:1rem 0 1.5rem;border-radius:4px}.progress span{display:block;height:100%;background:var(--accent)}dl{margin:0}dt{font-size:.8rem;color:var(--muted);margin-top:1rem}dt:first-child{margin-top:0}dd{margin:.2rem 0 0;overflow-wrap:anywhere;white-space:pre-line}.success-icon{width:4rem;height:4rem;border-radius:50%;background:var(--soft);color:var(--green);display:grid;place-items:center;margin:1rem 0}.success-icon svg{width:2rem;height:2rem;stroke-dasharray:40;stroke-dashoffset:0;animation:check 250ms ease-out}.notice{background:var(--soft);border:1px solid var(--accent);color:var(--text);padding:.85rem 1rem;border-radius:1rem;font-size:.875rem;margin-bottom:1rem;overflow-wrap:anywhere}.skeleton{background:var(--line);border-radius:1.2rem;animation:breathe 1.8s ease-in-out infinite}.hero-skeleton{height:5rem;margin:2rem 0}.card-skeleton{height:10rem;margin:1rem 0}.busy-indicator{position:fixed;inset:0 0 auto;height:3px;background:var(--accent);z-index:2}body.keyboard-open header{margin-bottom:.3rem}body.keyboard-open .login-heading{display:none}body.keyboard-open .form-card{margin-top:0;padding:.85rem}body.keyboard-open .form{gap:.6rem}body.keyboard-open .login-footnote{display:none}@keyframes enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes check{from{stroke-dashoffset:40}to{stroke-dashoffset:0}}@keyframes breathe{50%{opacity:.65}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}button:active{transform:none}}@media(max-width:350px){.app-shell{padding-left:.85rem;padding-right:.85rem}.tile{padding:.8rem}.demo{max-width:7rem}}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .primary{color:#19182d}:root:not([data-theme=light]) .balance-card .primary{color:#4145c0}}

@supports(font:-apple-system-body){:root{font:-apple-system-body;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45}}
:root[data-reduced-motion=true] *, :root[data-reduced-motion=true] *:before,:root[data-reduced-motion=true] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
:root[data-reduced-motion=true] button:active{transform:none}
/* Reflow at large system text sizes without clipping or horizontal scrolling. */
header{flex-wrap:wrap}.header-right{max-width:100%;flex-wrap:wrap}.row{flex-wrap:wrap}h1,h2,.tariff-name,button{overflow-wrap:anywhere}.card,.field,.row>*,.header-right>*{min-width:0}.demo{flex-shrink:1}
