:root{--bg: #0a1628;--surface: #12203a;--surface-2: #1b2b49;--line: rgba(150, 180, 225, .09);--text: #edf3fb;--text-2: #8b9cb8;--text-3: #55678a;--accent: #62abff;--accent-2: #80c6ff;--accent-wash: rgba(98, 171, 255, .14);--on-accent: #071226;--ok: #4ed8a8;--ok-wash: rgba(78, 216, 168, .14);--warn: #f5c062;--warn-wash: rgba(245, 192, 98, .14);--bad: #ff6b75;--bad-wash: rgba(255, 107, 117, .14);--r-lg: 20px;--r: 14px;--r-sm: 10px;--gutter: 16px;--tap: .97;--safe-bottom: env(safe-area-inset-bottom, 0px);--ease: cubic-bezier(.2, .9, .3, 1)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;-webkit-font-smoothing:antialiased;overscroll-behavior-y:none}button{font:inherit;color:inherit;background:none;border:none;padding:0;margin:0;cursor:pointer;text-align:inherit}button:disabled{cursor:default}input,textarea{font:inherit;color:inherit}p,h1,h2,h3{margin:0}svg{flex-shrink:0}#root{min-height:100vh}.app{max-width:560px;margin:0 auto;padding:12px var(--gutter) calc(32px + var(--safe-bottom));animation:enter .24s var(--ease)}@keyframes enter{0%{opacity:0;transform:translateY(6px)}}.t-display{font-size:34px;font-weight:700;letter-spacing:-.03em;line-height:1.1;font-variant-numeric:tabular-nums}.t-title{font-size:20px;font-weight:600;letter-spacing:-.02em;line-height:1.25}.t-strong{font-weight:600}.t-cap{font-size:13px;color:var(--text-2)}.t-2{color:var(--text-2)}.t-3{color:var(--text-3)}.t-ok{color:var(--ok)}.t-warn{color:var(--warn)}.t-bad{color:var(--bad)}.t-accent{color:var(--accent)}.t-center{text-align:center}.mono{font-family:ui-monospace,SF Mono,Menlo,monospace;font-variant-numeric:tabular-nums}.nums{font-variant-numeric:tabular-nums}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.clamp-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.strike{text-decoration:line-through}.row{display:flex;align-items:center;gap:8px;min-width:0}.col{display:flex;flex-direction:column;min-width:0}.grow{flex:1;min-width:0}.gap-4{gap:4px}.gap-12{gap:12px}.gap-16{gap:16px}.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.stack{display:flex;flex-direction:column;gap:24px}.topbar{display:flex;align-items:center;gap:8px;min-height:40px;margin-bottom:20px}.topbar .t-title{flex:1;min-width:0}.card{background:var(--surface);border-radius:var(--r-lg);padding:16px}button.card,.card.tappable{display:block;width:100%;transition:transform .1s ease}button.card.row{display:flex}button.card:active:not(:disabled),.card.tappable:active{transform:scale(.985)}.label{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 4px;margin-bottom:8px;font-size:13px;color:var(--text-2);min-height:20px}.group{background:var(--surface);border-radius:var(--r-lg);overflow:hidden}.cell{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:10px 16px;text-align:left;transition:background .15s ease}button.cell:active:not(:disabled){background:var(--surface-2)}button.cell:disabled{opacity:.4}.cell+.cell:before,.cell-wrap+.cell-wrap:before,.cell-wrap+.cell:before,.cell+.cell-wrap:before{content:"";position:absolute;top:0;left:52px;right:0;height:1px;background:var(--line)}.cell-wrap{position:relative}.group.flush .cell+.cell:before,.group.flush .cell-wrap+.cell-wrap:before{left:16px}.group.people .cell+.cell:before{left:72px}.cell-icon{width:24px;display:grid;place-items:center;color:var(--text-2)}.cell-title{display:block;font-weight:400}.cell-sub{display:block;font-size:13px;color:var(--text-2);margin-top:1px}.cell-value{color:var(--text-2);white-space:nowrap;font-variant-numeric:tabular-nums}.chev{color:var(--text-3);margin-right:-6px}.avatar{position:relative;width:44px;height:44px;border-radius:50%;background:var(--surface-2);color:var(--text);display:grid;place-items:center;font-size:15px;font-weight:600;flex-shrink:0}.avatar.lg{width:72px;height:72px;font-size:24px}.avatar.ghost{background:transparent;box-shadow:inset 0 0 0 1.5px var(--surface-2);color:var(--text-2)}.avatar .status{position:absolute;right:-1px;bottom:-1px;width:14px;height:14px;border-radius:50%;border:3px solid var(--surface)}.avatar.lg .status{width:18px;height:18px;right:1px;bottom:1px;border-color:var(--bg)}.dot{width:8px;height:8px;border-radius:50%;background:currentColor;flex-shrink:0}.tone-ok{color:var(--ok)}.tone-warn{color:var(--warn)}.tone-bad{color:var(--bad)}.tone-idle{color:var(--text-3)}.status.tone-ok,.status.tone-warn,.status.tone-bad,.status.tone-idle{background:currentColor}.pulse{animation:pulse 2s ease-in-out infinite}@keyframes pulse{50%{opacity:.4}}.pill{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;background:var(--surface-2);color:var(--text-2)}.pill.ok{background:var(--ok-wash);color:var(--ok)}.pill.warn{background:var(--warn-wash);color:var(--warn)}.pill.bad{background:var(--bad-wash);color:var(--bad)}.pill.accent{background:var(--accent-wash);color:var(--accent-2)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:50px;padding:0 20px;border-radius:var(--r);font-weight:600;font-size:16px;white-space:nowrap;transition:transform .1s ease,opacity .15s ease,background .15s ease}.btn:active:not(:disabled){transform:scale(var(--tap))}.btn:disabled{opacity:.4}.btn.block{width:100%}.btn.primary{background:var(--accent);color:var(--on-accent)}.btn.secondary{background:var(--surface-2);color:var(--text)}.btn.plain{color:var(--accent)}.btn.danger{color:var(--bad)}.btn-sm{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 14px;border-radius:999px;font-size:14px;font-weight:600;white-space:nowrap;background:var(--accent-wash);color:var(--accent-2);transition:transform .1s ease,opacity .15s ease}.btn-sm:active:not(:disabled){transform:scale(var(--tap))}.btn-sm:disabled{opacity:.4}.btn-sm.quiet{background:var(--surface-2);color:var(--text)}.btn-sm.warn{background:var(--warn-wash);color:var(--warn)}.icon-btn{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--surface);color:var(--text);transition:transform .1s ease}.icon-btn:active:not(:disabled){transform:scale(.92)}.icon-btn:disabled{opacity:.35}.icon-btn.bare{background:none;width:32px;height:32px;color:var(--text-2)}.icon-btn .badge-dot{position:absolute;top:8px;right:9px;width:9px;height:9px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px var(--surface)}.dock{position:fixed;left:0;right:0;bottom:0;z-index:20;padding:24px var(--gutter) calc(12px + var(--safe-bottom));background:linear-gradient(to top,var(--bg) 62%,transparent);pointer-events:none}.dock-inner{max-width:528px;margin:0 auto;display:flex;align-items:center;gap:12px;pointer-events:auto}.dock-spacer{height:96px}.switch{position:relative;width:51px;height:31px;border-radius:999px;background:var(--surface-2);flex-shrink:0;transition:background .2s ease}.switch.on{background:var(--accent)}.switch:disabled{opacity:.35}.switch:after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #030a1659;transition:transform .22s var(--ease)}.switch.on:after{transform:translate(20px)}.input{display:flex;align-items:center;gap:10px;width:100%;height:50px;padding:0 14px;border-radius:var(--r);background:var(--surface);color:var(--text-2);transition:box-shadow .15s ease}.input:focus-within{box-shadow:inset 0 0 0 1.5px var(--accent)}.input.on-surface{background:var(--surface-2)}.input input,.input textarea{flex:1;min-width:0;height:100%;border:none;outline:none;background:none;color:var(--text);font-size:16px}.input input::placeholder,.input textarea::placeholder{color:var(--text-3)}.input.area{height:auto;align-items:flex-start;padding:12px 14px}.input.area textarea{min-height:112px;resize:none;line-height:1.45}.input.big{height:64px}.input.big input{font-size:24px;font-weight:600;letter-spacing:.02em}.input.code input{text-align:center;letter-spacing:.4em}.seg{display:flex;gap:2px;padding:3px;border-radius:12px;background:var(--surface)}.seg.on-surface{background:var(--surface-2)}.seg button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;height:36px;border-radius:9px;font-size:14px;font-weight:600;color:var(--text-2);white-space:nowrap;transition:background .18s ease,color .18s ease}.seg button.on{background:var(--surface-2);color:var(--text)}.seg.on-surface button.on{background:var(--bg)}.tiles{display:grid;gap:8px}.tiles.two{grid-template-columns:1fr 1fr}.tiles.three{grid-template-columns:repeat(3,1fr)}.tile{display:flex;flex-direction:column;gap:2px;padding:14px;border-radius:var(--r);background:var(--surface);box-shadow:inset 0 0 0 1.5px transparent;text-align:left;transition:box-shadow .15s ease,background .15s ease,transform .1s ease}.tile:active:not(:disabled){transform:scale(var(--tap))}.tile.on{background:var(--accent-wash);box-shadow:inset 0 0 0 1.5px var(--accent)}.tile:disabled{opacity:.35}.tile.compact{align-items:center;text-align:center;padding:12px 6px;min-height:58px;justify-content:center}.tile .tile-icon{color:var(--text-2);margin-bottom:10px}.tile.on .tile-icon{color:var(--accent)}.skeleton{animation:pulse 1.4s ease-in-out infinite}.stepper{display:flex;align-items:center;gap:4px}.stepper button{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--surface-2);color:var(--text);transition:transform .1s ease,opacity .15s ease}.stepper button:active:not(:disabled){transform:scale(.9)}.stepper button:disabled{opacity:.3}.stepper .value{min-width:48px;text-align:center;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}.check{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--text-3);color:transparent;flex-shrink:0;transition:background .15s ease,box-shadow .15s ease,color .15s ease}.check.on{background:var(--accent);box-shadow:none;color:var(--on-accent)}.meter{height:6px;border-radius:999px;background:var(--surface-2);overflow:hidden}.meter>span{display:block;height:100%;border-radius:inherit;background:currentColor;transition:width .3s var(--ease)}.sticky{position:sticky;top:0;z-index:10;margin:-12px calc(-1 * var(--gutter)) 12px;padding:12px var(--gutter) 12px;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:12px calc(-1 * var(--gutter)) 0;padding:0 var(--gutter)}.chips::-webkit-scrollbar{display:none}.chip{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;height:32px;padding:0 12px;border-radius:999px;background:var(--surface);color:var(--text);font-size:14px;font-weight:600;transition:transform .1s ease}.chip:active:not(:disabled){transform:scale(var(--tap))}.chip .count{color:var(--text-3);font-variant-numeric:tabular-nums}.chip.done{background:transparent;box-shadow:inset 0 0 0 1px var(--surface-2);color:var(--text-2)}.chip.on{background:var(--accent-wash);color:var(--accent-2)}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:flex-end;justify-content:center;background:#030914a8;animation:fade .18s ease}@keyframes fade{0%{opacity:0}}.sheet{width:100%;max-width:560px;max-height:90vh;overflow-y:auto;background:var(--surface);border-radius:24px 24px 0 0;padding:8px var(--gutter) calc(20px + var(--safe-bottom));animation:rise .28s var(--ease)}@keyframes rise{0%{transform:translateY(40px);opacity:.5}}.sheet-grip{width:36px;height:5px;border-radius:999px;background:var(--surface-2);margin:0 auto 12px}.sheet-head{display:flex;align-items:center;gap:8px;margin-bottom:20px}.sheet-head .t-title{flex:1}.sheet .icon-btn,.sheet .group,.sheet .tile,.sheet .seg:not(.on-surface),.sheet .input:not(.on-surface){background:var(--surface-2)}.sheet .tile.on{background:var(--accent-wash)}.sheet .seg button.on{background:var(--surface)}.sheet .cell+.cell:before{background:#96b4e112}.toasts{position:fixed;left:0;right:0;bottom:calc(92px + var(--safe-bottom));z-index:60;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 var(--gutter);pointer-events:none}.toast{display:flex;align-items:center;gap:10px;max-width:480px;padding:12px 16px;border-radius:var(--r);background:var(--surface-2);box-shadow:0 10px 30px #02081280;font-size:14px;animation:rise .25s var(--ease);pointer-events:auto}.spinner{width:18px;height:18px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;opacity:.8;animation:spin .7s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.center-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:70vh;padding:0 32px;text-align:center}.breathe{animation:pulse 1.6s ease-in-out infinite}.glyph{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:var(--surface);color:var(--text-2)}.glyph.ok{background:var(--ok-wash);color:var(--ok)}.glyph.bad{background:var(--bad-wash);color:var(--bad)}.drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;min-height:150px;padding:20px;border-radius:var(--r-lg);background:var(--surface);box-shadow:inset 0 0 0 1.5px transparent;color:var(--text-2);text-align:center;transition:box-shadow .15s ease,transform .1s ease}.drop:active{transform:scale(.985)}.drop.filled{box-shadow:inset 0 0 0 1.5px var(--accent);color:var(--accent)}.quote{margin-top:12px;padding:12px 14px;border-radius:var(--r-sm);background:var(--bg);font-size:14px;line-height:1.45;color:var(--text)}.qr{width:188px;margin:0 auto;padding:12px;border-radius:var(--r);background:#fff}.qr svg{display:block;width:100%;height:auto}.progress{display:grid;grid-template-columns:repeat(3,1fr);position:relative}.progress:before{content:"";position:absolute;top:6px;left:16.6%;right:16.6%;height:2px;background:var(--surface-2)}.progress .rail{position:absolute;top:6px;left:16.6%;height:2px;background:var(--ok);transition:width .4s var(--ease)}.progress .step{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:12px;color:var(--text-3)}.progress .step i{width:14px;height:14px;border-radius:50%;background:var(--surface-2);box-shadow:0 0 0 4px var(--bg)}.progress .step.done{color:var(--text-2)}.progress .step.done i{background:var(--ok)}.progress .step.now{color:var(--text)}.progress .step.now i{background:var(--accent);animation:pulse 1.6s ease-in-out infinite}.cell-sub.row{display:flex}
