:root{--bg:#f2f4f7;--surface:#fff;--surface-elevated:#fff;--border:#e4e8ef;--text:#111827;--text-muted:#6b7280;--accent:#0d9488;--accent-soft:#ccfbf1;--accent-text:#0f766e;--accent-line:#0d948880;--accent-tint:#ccfbf159;--accent-focus:#0d948873;--danger:#dc2626;--danger-soft:#dc262659;--info:#2563eb;--info-soft:#2563eb14;--info-text:#1e40af;--shadow:0 1px 3px #0f172a0f, 0 4px 12px #0f172a0a;--radius:14px;--radius-sm:10px;--app-max-width:28rem;--nav-h:3.25rem;--bottom-tab-pill-h:2.45rem;--bottom-tab-pad-block:1.7rem;--bottom-tab-chrome-h:calc(var(--bottom-tab-pad-block) + var(--bottom-tab-pill-h) + var(--safe-bottom));--tab-h:calc(var(--bottom-tab-pad-block) + var(--bottom-tab-pill-h));--beta-banner-h:calc(1.75rem + env(safe-area-inset-top,0px));--safe-bottom:env(safe-area-inset-bottom,0px);--scrollbar-size:6px;--scrollbar-thumb:#0f172a52;--scrollbar-thumb-hover:#0f172a7a;--scrollbar-track:transparent}html{height:100%}html,body{overflow:hidden}.app-inner{box-sizing:border-box;max-width:var(--app-max-width);width:100%;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}.chrome-bar{background:var(--surface);border-bottom:1px solid var(--border);z-index:40;width:100%;position:sticky}*,:before,:after{box-sizing:border-box}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;height:100%;margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}.app-scroll,.use-scrollbar{box-sizing:border-box;-webkit-overflow-scrolling:touch}.app-scroll{overscroll-behavior:contain;flex:1;width:100%;min-width:0;min-height:0;overflow:hidden auto}@supports (overflow:overlay){.app-scroll{overflow-y:overlay}}@supports selector(::-webkit-scrollbar){.app-scroll::-webkit-scrollbar{-webkit-appearance:none;background:0 0}.use-scrollbar::-webkit-scrollbar{-webkit-appearance:none;background:0 0}.app-scroll::-webkit-scrollbar:vertical{width:var(--scrollbar-size)}.use-scrollbar::-webkit-scrollbar:vertical{width:var(--scrollbar-size)}.app-scroll::-webkit-scrollbar:horizontal{height:var(--scrollbar-size)}.use-scrollbar::-webkit-scrollbar:horizontal{height:var(--scrollbar-size)}.app-scroll::-webkit-scrollbar-corner{background:0 0;width:0;height:0;display:none}.use-scrollbar::-webkit-scrollbar-corner{background:0 0;width:0;height:0;display:none}.app-scroll::-webkit-scrollbar-button{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.use-scrollbar::-webkit-scrollbar-button{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.app-scroll::-webkit-scrollbar-button:single-button{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.use-scrollbar::-webkit-scrollbar-button:single-button{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.app-scroll::-webkit-scrollbar-button:vertical:start{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.app-scroll::-webkit-scrollbar-button:vertical:end{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.app-scroll::-webkit-scrollbar-button:horizontal:start{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.app-scroll::-webkit-scrollbar-button:horizontal:end{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.use-scrollbar::-webkit-scrollbar-button:vertical:start{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.use-scrollbar::-webkit-scrollbar-button:vertical:end{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.use-scrollbar::-webkit-scrollbar-button:horizontal:start{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.use-scrollbar::-webkit-scrollbar-button:horizontal:end{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.app-scroll::-webkit-scrollbar-button:vertical:start:decrement{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.app-scroll::-webkit-scrollbar-button:vertical:end:increment{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.app-scroll::-webkit-scrollbar-button:horizontal:start:decrement{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.app-scroll::-webkit-scrollbar-button:horizontal:end:increment{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.use-scrollbar::-webkit-scrollbar-button:vertical:start:decrement{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.use-scrollbar::-webkit-scrollbar-button:vertical:end:increment{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.use-scrollbar::-webkit-scrollbar-button:horizontal:start:decrement{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.use-scrollbar::-webkit-scrollbar-button:horizontal:end:increment{-webkit-appearance:none;background:0 0!important;border:0!important;width:0!important;max-width:0!important;height:0!important;max-height:0!important;display:none!important}.app-scroll::-webkit-scrollbar-track{-webkit-appearance:none;background:0 0;border:0}.app-scroll::-webkit-scrollbar-track-piece{-webkit-appearance:none;background:0 0;border:0}.use-scrollbar::-webkit-scrollbar-track{-webkit-appearance:none;background:0 0;border:0}.use-scrollbar::-webkit-scrollbar-track-piece{-webkit-appearance:none;background:0 0;border:0}.app-scroll::-webkit-scrollbar-thumb{-webkit-appearance:none;background:var(--scrollbar-thumb);border:0;border-radius:9999px}.use-scrollbar::-webkit-scrollbar-thumb{-webkit-appearance:none;background:var(--scrollbar-thumb);border:0;border-radius:9999px}.app-scroll::-webkit-scrollbar-track{margin-block:0}.app-scroll::-webkit-scrollbar-track-piece{margin-block:0}.app-scroll::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.use-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}}.scroll-column{box-sizing:border-box;margin-inline:max(0px, calc(50vw - min(var(--app-max-width), 100vw) / 2));max-width:var(--app-max-width);width:min(var(--app-max-width), 100vw)}.home-shell>.app-scroll{scroll-padding-bottom:var(--bottom-tab-chrome-h)}.home-shell>.app-scroll .main{padding-bottom:calc(var(--bottom-tab-chrome-h) + 1rem)}button,input,textarea{font:inherit}button{cursor:pointer}:where(button,a,select,summary,label[for],input[type=button],input[type=submit],input[type=reset],input[type=checkbox],input[type=radio],[role=button],[role=tab],[role=link],[role=menuitem],[role=option],[tabindex]:not([tabindex="-1"])){-webkit-tap-highlight-color:transparent;tap-highlight-color:transparent}:where(button,a,select,summary,input[type=button],input[type=submit],input[type=reset],[role=button],[role=tab],[role=link],[role=menuitem],[role=option],[tabindex]:not([tabindex="-1"])):focus{outline:none}:where(button,a,select,summary,input[type=button],input[type=submit],input[type=reset],[role=button],[role=tab],[role=link],[role=menuitem],[role=option]):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes popup-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes popup-panel-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.popup-overlay-animate{animation:.22s ease-out both popup-overlay-in}.popup-panel-animate{animation:.28s cubic-bezier(.22,1,.36,1) both popup-panel-in}@media (prefers-reduced-motion:reduce){.popup-overlay-animate,.popup-panel-animate{animation:none}}.dialog-actions{justify-content:flex-end;gap:.5rem;display:flex}.dialog-actions.spread{justify-content:space-between}.dialog-actions .actions-end{gap:.5rem;margin-left:auto;display:flex}.dialog-btn{border-radius:var(--radius-sm);padding:.6rem 1rem;font-size:.9rem;font-weight:600}.dialog-btn.ghost{border:1px solid var(--border);color:var(--text);background:0 0}.dialog-btn.primary{background:var(--accent);color:#fff;border:0}.dialog-btn.danger{color:var(--danger);background:0 0;border:0;padding:.6rem 0;font-size:.72rem}.dialog-btn.danger-solid{background:var(--danger);color:#fff;border:0}.dialog-btn.danger-outline{border:1px solid var(--danger-soft);color:var(--danger);background:0 0}.dialog-btn:disabled{opacity:.6}.dialog-field{gap:.45rem;display:grid}.dialog-field label,.dialog-label{color:var(--text-muted);font-size:.78rem;font-weight:600}.dialog-field input{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);color:inherit;width:100%;padding:.55rem .65rem}.dialog-confirm-text{color:var(--text-muted);margin:0;font-size:.88rem;line-height:1.45}.btn-section-new{color:#fff;background:linear-gradient(145deg,#4ade80,#22c55e 42%,#16a34a);border:0;border-radius:999px;margin-left:auto;padding:.4rem 1rem;font-size:.7rem;font-weight:600;box-shadow:0 2px 10px #22c55e52}.btn-section-new:hover{filter:brightness(1.06)}.btn-ghost,.btn-primary,.btn-danger{border-radius:var(--radius-sm);touch-action:manipulation;padding:.55rem .85rem;font-size:.85rem;font-weight:600}.btn-ghost{border:1px solid var(--border);color:var(--text);background:0 0}.btn-primary{background:var(--accent);color:#fff;border:0}.btn-primary:hover{filter:brightness(1.04)}.btn-danger{border:1px solid var(--danger-soft);color:var(--danger);background:0 0}.beta-banner.svelte-xpyzx0{border-bottom:1px solidrgb(253, 207, 138);box-sizing:border-box;color:#92400e;height:var(--beta-banner-h);letter-spacing:.01em;padding:0 .75rem;padding-top:env(safe-area-inset-top,0px);text-align:center;z-index:110;background:#ffe0c1;flex-shrink:0;justify-content:center;align-items:center;margin:0;font-size:.72rem;font-weight:600;line-height:1.2;display:flex}.notification-bar.svelte-1a6jdyw{padding:.65rem .75rem;padding-top:calc(.65rem + env(safe-area-inset-top,0px));left:0;right:0;top:var(--beta-banner-h);z-index:100;justify-content:space-between;align-items:center;gap:.5rem;display:flex;position:fixed;box-shadow:0 4px 16px #0f172a2e}.notification-bar.error.svelte-1a6jdyw{color:#991b1b;background:#fef2f2;border-bottom:1px solid #fecaca}.notification-bar.info.svelte-1a6jdyw{background:var(--accent-soft);color:var(--accent-text);border-bottom:1px solid #99f6e4}.notification-text.svelte-1a6jdyw{flex:1;margin:0;font-size:.85rem;font-weight:600;line-height:1.35}.notification-dismiss.svelte-1a6jdyw{color:inherit;opacity:.75;background:0 0;border:0;flex-shrink:0;min-width:2rem;min-height:2rem;padding:0;font-size:1.35rem;line-height:1}.notification-dismiss.svelte-1a6jdyw:hover{opacity:1}.text.svelte-rtbxfe{color:var(--text-muted);margin:0 0 .85rem;font-size:.88rem;line-height:1.5}.choices.svelte-rtbxfe{gap:.5rem;display:grid}.choice.svelte-rtbxfe{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);color:inherit;cursor:pointer;text-align:left;gap:.2rem;width:100%;padding:.65rem .75rem;transition:border-color .15s;display:grid}.choice.svelte-rtbxfe:hover:not(:disabled){border-color:var(--accent-focus)}.choice.svelte-rtbxfe:disabled{cursor:not-allowed;opacity:.65}.choice-row.svelte-rtbxfe{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.choice-title.svelte-rtbxfe{flex:1;min-width:0;font-size:.85rem;font-weight:700;line-height:1.3}.choice-points.svelte-rtbxfe{color:#a16207;white-space:nowrap;background:#fef9c3;border:1px solid #fde047;border-radius:999px;flex-shrink:0;padding:.2rem .5rem;font-size:.68rem;font-weight:700;line-height:1.2}.choice-desc.svelte-rtbxfe{color:var(--text-muted);font-size:.76rem;line-height:1.4}.confirm-text.svelte-rtbxfe{color:var(--text);margin:0 0 .5rem;font-size:.88rem;line-height:1.45}.confirm-warning.svelte-rtbxfe{color:var(--danger);margin:0;font-size:.85rem;font-weight:600;line-height:1.4}.error.svelte-rtbxfe{color:var(--danger);margin:.75rem 0 0;font-size:.78rem}.sync-banner.svelte-169gxpt{box-sizing:border-box;color:#9a3412;background:#fff7ed;border-bottom:1px solid #fed7aa;flex-shrink:0;justify-content:space-between;align-items:center;gap:.65rem;width:100%;padding:.5rem .85rem;display:flex}.sync-text.svelte-169gxpt{flex:1;min-width:0;margin:0;font-size:.78rem;font-weight:600;line-height:1.35}.sync-action.svelte-169gxpt{color:#fff;cursor:pointer;background:#ea580c;border:0;border-radius:999px;flex-shrink:0;padding:.35rem .7rem;font-size:.72rem;font-weight:700}.sync-action.svelte-169gxpt:disabled{cursor:wait;opacity:.7}.app-frame.svelte-12qhfyh{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.app-frame-body.svelte-12qhfyh{flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;display:flex}
