@font-face{font-family:Instrument Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(./instrument-sans-latin-ext-wght-normal-B5bTHO_g.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Instrument Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(./instrument-sans-latin-wght-normal-BbzFLZTg.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Newsreader Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./newsreader-vietnamese-wght-normal-Czsa-EzN.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Newsreader Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./newsreader-latin-ext-wght-normal-C-3rgBeH.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Newsreader Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./newsreader-latin-wght-normal-CCVVNp6i.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--font-display:"Newsreader Variable", Georgia, "Times New Roman", serif;--font-ui:"Instrument Sans Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--r-sm:8px;--r-md:12px;--r-lg:18px;--tap:44px;--dur:.14s}:root,:root[data-theme=light]{--bg:#f6f3ec;--bg-soft:#efeae0;--surface:#fdfbf6;--surface-2:#f4efe5;--ink:#1d1b16;--ink-2:#4a463d;--muted:#6f6a5e;--line:#e2dbcd;--line-strong:#cdc4b2;--accent:#2f5d50;--accent-ink:#fdfbf6;--pos:#2c6b4c;--pos-soft:#e2efe6;--neg:#9c4337;--neg-soft:#f7e4df;--be:#6f6a5e;--be-soft:#ebe6da;--warn:#8a5a1e;--warn-soft:#f6ebd4;--shadow:0 1px 2px #1d1b160d, 0 8px 24px #1d1b160a;--bar-bg:#f6f3eceb;--overlay:#1d1b1666}:root[data-theme=dark]{--bg:#14130f;--bg-soft:#1a1915;--surface:#1e1c17;--surface-2:#26241d;--ink:#f1ece0;--ink-2:#ccc5b6;--muted:#a09a8b;--line:#302d25;--line-strong:#453f33;--accent:#8fc2ac;--accent-ink:#12130f;--pos:#7cc79a;--pos-soft:#1d3227;--neg:#e29285;--neg-soft:#382521;--be:#a09a8b;--be-soft:#2a2721;--warn:#d8ac6b;--warn-soft:#33291c;--shadow:0 1px 2px #0006;--bar-bg:#14130feb;--overlay:#0009}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);min-height:100vh;color:var(--ink);font-family:var(--font-ui);-webkit-font-smoothing:antialiased;font-synthesis-weight:none;margin:0;font-size:15px;line-height:1.5}h1,h2,h3{letter-spacing:-.01em;margin:0;font-weight:500}p{margin:0}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}.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}.display{font-family:var(--font-display);letter-spacing:-.015em;font-size:27px;font-weight:500;line-height:1.15}.muted{color:var(--muted)}.small{font-size:13px}.error{color:var(--neg);margin:0;font-size:13px}.ok{color:var(--pos);margin:0}.warn{color:var(--warn);margin:0}.screen{min-height:100vh;padding-bottom:24px}.topbar{z-index:10;background:var(--bar-bg);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #0000;align-items:center;gap:8px;padding:10px 12px;display:flex;position:sticky;top:0}.topbar-title{flex:1;min-width:0}.topbar-title .muted{white-space:nowrap;text-overflow:ellipsis;margin-top:2px;overflow:hidden}.content{flex-direction:column;gap:20px;max-width:720px;margin:0 auto;padding:8px 16px 120px;display:flex}.stack{flex-direction:column;gap:10px;display:flex}.stack-tight{gap:14px}.btn-row{flex-wrap:wrap;gap:8px;display:flex}.grid-2{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=420px){.grid-2{grid-template-columns:1fr}}.btn{min-height:var(--tap);border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);cursor:pointer;transition:background var(--dur) ease, border-color var(--dur) ease, transform var(--dur) ease;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:15px;font-weight:500;display:inline-flex}.btn svg{width:18px;height:18px}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.55;cursor:default}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn-quiet{background:0 0}.btn-danger{background:var(--neg);border-color:var(--neg);color:#fff}.btn-block{width:100%}.btn-link-row{flex-wrap:wrap;gap:8px;display:flex}.icon-btn{width:var(--tap);height:var(--tap);color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.icon-btn svg{width:20px;height:20px}.icon-btn:hover{background:var(--surface-2)}.icon-btn-sm{width:36px;height:36px}.icon-btn-sm svg{width:18px;height:18px}.text-btn{min-height:var(--tap);color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:14px;font-weight:500}.row-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.bottombar{z-index:20;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--bar-bg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);gap:8px;display:flex;position:fixed;bottom:0;left:0;right:0}.screen-with-nav .bottombar{bottom:calc(64px + env(safe-area-inset-bottom));border-bottom:0}.bottombar .btn{flex:1}.screen:not(.screen-with-nav) .bottombar{justify-content:center}.screen:not(.screen-with-nav) .bottombar .btn{flex:0 320px}.screen-with-nav .content{padding-bottom:168px}.sidebar{display:none}.tabbar{z-index:30;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--bar-bg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:flex;position:fixed;bottom:0;left:0;right:0}.tab{border-radius:var(--r-md);min-height:52px;color:var(--muted);letter-spacing:.01em;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;font-size:11px;display:flex}.tab svg{width:21px;height:21px}.tab-active{color:var(--accent)}@media (width>=900px){.tabbar{display:none}.screen-with-nav .bottombar{padding-bottom:16px;bottom:0}.sidebar{z-index:30;border-right:1px solid var(--line);background:var(--bg-soft);flex-direction:column;gap:24px;width:232px;padding:28px 16px 20px;display:flex;position:fixed;top:0;bottom:0;left:0}.screen-with-nav{padding-left:232px}.screen-with-nav .content,.screen-with-nav .bottombar{max-width:760px}.sidebar-brand{align-items:center;gap:10px;padding:0 8px;display:flex}.brand-mark{background:var(--accent);width:32px;height:32px;color:var(--accent-ink);font-family:var(--font-display);border-radius:10px;justify-content:center;align-items:center;font-size:17px;line-height:1;display:inline-flex}.brand-name{font-family:var(--font-display);font-size:17px}.sidebar-links{flex-direction:column;gap:2px;display:flex}.nav-link{min-height:var(--tap);border-radius:var(--r-md);color:var(--ink-2);align-items:center;gap:10px;padding:0 12px;font-size:14px;display:flex}.nav-link svg{width:19px;height:19px}.nav-link:hover{background:var(--surface-2)}.nav-link-active{background:var(--surface);box-shadow:var(--shadow);color:var(--ink);font-weight:500}.sidebar-foot{color:var(--muted);margin-top:auto;padding:0 12px;font-size:12px}.topbar{padding:18px 16px 10px}.content{padding:12px 16px 96px}}.panel{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);flex-direction:column;gap:14px;padding:18px 16px;display:flex}.section-heading{font-family:var(--font-display);letter-spacing:-.01em;font-size:19px}.chip{background:var(--surface-2);color:var(--ink-2);white-space:nowrap;border-radius:999px;align-items:center;padding:3px 9px;font-size:12px;display:inline-flex}.status-row{min-height:var(--tap);border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);color:var(--ink-2);justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.status-warn{border-color:var(--warn-soft);background:var(--warn-soft);color:var(--warn)}.status-warn .chip{background:var(--surface);color:var(--warn)}.note{border-left:2px solid var(--line-strong);border-radius:0 var(--r-sm) var(--r-sm) 0;background:var(--surface-2);color:var(--ink-2);padding:12px 14px;font-size:13px}.note-line{margin-top:12px}.empty{border:1px dashed var(--line-strong);border-radius:var(--r-lg);background:var(--surface);flex-direction:column;align-items:flex-start;gap:8px;padding:28px 18px;display:flex}.empty-title{font-family:var(--font-display);font-size:19px}.empty .btn{margin-top:8px}.strategy-card{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--shadow);transition:border-color var(--dur) ease, transform var(--dur) ease;flex-direction:column;gap:6px;padding:16px;display:flex}.strategy-card:hover{border-color:var(--line-strong)}.strategy-card:active{transform:scale(.995)}.strategy-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.strategy-head h2{font-family:var(--font-display);font-size:20px;font-weight:500;line-height:1.25}.strategy-win{color:var(--ink-2);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:13px}.strategy-desc{color:var(--ink-2);font-size:14px}.clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.strategy-meta{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12.5px}.strategy-card .result-strip{margin-top:4px}.strategy-card.is-archived{box-shadow:none;opacity:.75;background:0 0}.archived-list{margin-top:10px}.collapse-toggle{min-height:var(--tap);color:var(--ink-2);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:14px;display:flex}.collapse-toggle svg{width:16px;height:16px}.collapse-toggle+.stack{margin-top:4px}.result-chip{letter-spacing:.02em;white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:2px 8px 2px 6px;font-size:11.5px;font-weight:600;display:inline-flex}.result-chip svg{width:14px;height:14px}.result-chip-md{padding:4px 11px 4px 9px;font-size:13px}.result-chip-md svg{width:16px;height:16px}.result-tp{background:var(--pos-soft);color:var(--pos)}.result-sl{background:var(--neg-soft);color:var(--neg)}.result-be{background:var(--be-soft);color:var(--be)}.result-strip{flex-wrap:wrap;gap:3px;display:flex}.tick{border-radius:2px;width:9px;height:16px}.tick-tp{background:var(--pos)}.tick-sl{background:var(--neg);opacity:.75}.tick-be{background:var(--line-strong)}.strip-empty{color:var(--muted);font-size:12px}.trade-card{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);transition:border-color var(--dur) ease;align-items:center;gap:12px;padding:10px 12px;display:flex}.trade-card:hover{border-color:var(--line-strong)}.trade-thumb{border-radius:var(--r-sm);background:var(--surface-2);width:52px;height:52px;color:var(--muted);flex-shrink:0;justify-content:center;align-items:center;display:flex;overflow:hidden}.trade-thumb img{object-fit:cover;width:100%;height:100%}.trade-thumb-empty{width:18px;height:18px}.trade-body{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.trade-head{align-items:center;gap:8px;display:flex}.pair{font-family:var(--font-display);letter-spacing:-.005em;font-size:17px;font-weight:500}.trade-meta{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:5px;font-size:12px;display:flex;overflow:hidden}.trade-dir{color:var(--ink-2);align-items:center;gap:2px;display:inline-flex}.trade-dir svg{width:13px;height:13px}.meta-dot{color:var(--line-strong)}.trade-r{color:var(--ink-2);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:14px;font-weight:500}.r-pos{color:var(--pos)}.spark-block{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);flex-direction:column;gap:8px;padding:14px 16px 10px;display:flex}.spark-head{justify-content:space-between;align-items:baseline;display:flex}.spark-title{color:var(--muted);letter-spacing:.04em;text-transform:lowercase;font-size:12px}.spark-value{font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:22px}.sparkline{width:100%;height:56px;overflow:visible}.spark-zero{stroke:var(--line-strong);stroke-width:1px;stroke-dasharray:3 4}.spark-path{stroke:var(--ink-2)}.spark-pos .spark-path{stroke:var(--pos)}.spark-neg .spark-path{stroke:var(--neg)}.spark-empty{color:var(--muted);font-size:12px}.stat-row{color:var(--ink-2);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;display:flex}.detail{flex-direction:column;gap:20px;display:flex}.detail-shots{flex-direction:column;gap:10px;display:flex}.detail-shot{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface-2);cursor:zoom-in;width:100%;padding:0;display:block;overflow:hidden}.detail-shot img{object-fit:contain;width:100%;max-height:62vh;display:block}.detail-no-shot{border:1px dashed var(--line-strong);border-radius:var(--r-lg);color:var(--muted);text-align:center;padding:22px 16px;font-size:13px}.detail-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.detail-pair{font-family:var(--font-display);letter-spacing:-.02em;font-size:30px;line-height:1.1}.detail-result{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.detail-result .trade-r{font-family:var(--font-display);font-size:20px}.note-block{flex-direction:column;gap:4px;margin-top:14px;display:flex}.note-block:first-of-type{margin-top:0}.note-label{color:var(--muted);letter-spacing:.02em;font-size:12px}.note-text{max-width:66ch;color:var(--ink);white-space:pre-wrap;font-size:15px;line-height:1.65}.kv-list{flex-direction:column;gap:0;margin:0;display:flex}.kv-row{border-top:1px solid var(--line);justify-content:space-between;gap:16px;padding:10px 0;display:flex}.kv-row:first-child{border-top:0}.kv-row dt{color:var(--muted);font-size:13px}.kv-row dd{color:var(--ink);text-align:right;margin:0;font-size:14px}.lightbox{z-index:60;background:var(--overlay);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.lightbox img{border-radius:var(--r-md);max-width:100%;max-height:100%}.lightbox-close{width:var(--tap);height:var(--tap);color:#fff;cursor:pointer;background:#00000073;border:0;border-radius:999px;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:12px;right:12px}.skeleton-card,.skeleton-row{pointer-events:none}.skeleton-line{background:linear-gradient(90deg, var(--surface-2), var(--bg-soft), var(--surface-2));background-size:200% 100%;border-radius:6px;height:10px;animation:1.4s ease-in-out infinite shimmer}.skeleton-title{width:42%}.skeleton-sub{width:66%;margin-top:8px}.skeleton-strip{width:86%;height:14px;margin-top:12px}.skeleton-row{gap:12px}.skeleton-thumb{border-radius:var(--r-sm);background:var(--surface-2);width:52px;height:52px}.skeleton-row-body{flex-direction:column;flex:1;gap:6px;display:flex}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.label{color:var(--ink-2);font-size:13px;font-weight:500}.input{width:100%;min-height:var(--tap);border:1px solid var(--line-strong);border-radius:var(--r-md);background:var(--bg);color:var(--ink);font:inherit;transition:border-color var(--dur) ease, background var(--dur) ease;padding:10px 12px;font-size:16px}textarea.input{resize:vertical;min-height:96px;line-height:1.55}.input::placeholder{color:var(--muted);opacity:.8}.input:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);outline:none}.check-row{min-height:var(--tap);color:var(--ink);cursor:pointer;align-items:center;gap:10px;font-size:15px;display:flex}.check-row input{width:20px;height:20px;accent-color:var(--accent)}.segmented{border:1px solid var(--line);background:var(--surface-2);border-radius:999px;gap:2px;padding:3px;display:flex}.segment{min-height:38px;color:var(--ink-2);cursor:pointer;transition:background var(--dur) ease, color var(--dur) ease;background:0 0;border:0;border-radius:999px;flex:1;justify-content:center;align-items:center;gap:5px;padding:0 12px;font-size:14px;font-weight:500;display:inline-flex}.segment svg{width:16px;height:16px}.segmented-sm .segment{min-height:34px;font-size:13px}.segment.active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.segment.active.seg-tp{color:var(--pos)}.segment.active.seg-sl{color:var(--neg)}.segment.active.seg-be{color:var(--be)}.seg-sl{color:var(--ink-2)}.shots-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=420px){.shots-grid{grid-template-columns:1fr}}.shot{flex-direction:column;gap:6px;min-width:0;display:flex}.shot-head{justify-content:space-between;align-items:center;gap:8px;min-height:24px;display:flex}.shot-label{color:var(--ink-2);font-size:13px;font-weight:500}.shot .text-btn{min-height:32px;font-size:13px}.hidden-input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.shot-empty{border:1px dashed var(--line-strong);border-radius:var(--r-md);background:var(--bg);min-height:112px;color:var(--muted);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:12px;display:flex}.shot-empty svg{width:20px;height:20px}.shot-empty-title{color:var(--ink-2);font-size:13px;font-weight:500}.shot-empty-hint{font-size:12px}.shot-preview{border:1px solid var(--line);border-radius:var(--r-md);background:var(--bg);cursor:pointer;padding:0;display:block;position:relative;overflow:hidden}.shot-preview img{aspect-ratio:16/10;object-fit:cover;width:100%;display:block}.shot-change{color:#fff;background:#0000008c;border-radius:999px;align-items:center;gap:4px;padding:4px 9px;font-size:12px;display:inline-flex;position:absolute;bottom:8px;right:8px}.shot-change svg{width:13px;height:13px}.field-row{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);align-items:center;gap:10px;padding:8px 12px 8px 14px;display:flex}.field-row-main{flex:1;min-width:0}.field-row-title{align-items:center;gap:8px;font-size:15px;display:flex}.field-row-title .muted{text-overflow:ellipsis;white-space:nowrap;margin-top:2px;overflow:hidden}.type-badge{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:999px;padding:1px 7px;font-size:11px}.field-row-actions{align-items:center;gap:2px;display:flex}.field-row-actions .text-btn{min-height:36px}.sheet-overlay{z-index:40;background:var(--overlay);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);justify-content:center;align-items:flex-end;animation:.16s fade-in;display:flex;position:fixed;inset:0}.sheet{border-radius:var(--r-lg) var(--r-lg) 0 0;background:var(--surface);flex-direction:column;width:100%;max-width:560px;max-height:88vh;animation:.2s cubic-bezier(.22,1,.36,1) slide-up;display:flex}.sheet-grabber{background:var(--line-strong);border-radius:999px;width:40px;height:4px;margin:8px auto 0}.sheet-head{justify-content:space-between;align-items:center;gap:12px;padding:8px 8px 8px 20px;display:flex}.sheet-head h2{font-family:var(--font-display);font-size:20px}.sheet-body{flex-direction:column;gap:14px;padding:4px 20px 20px;display:flex;overflow-y:auto}.sheet-footer{padding:12px 20px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}.sheet-footer .row-actions{justify-content:stretch}.sheet-footer .row-actions .btn{flex:1}.menu-list{flex-direction:column;display:flex}.menu-item{border:0;border-top:1px solid var(--line);min-height:52px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:10px;padding:0 2px;font-size:15px;display:flex}.menu-item:first-child{border-top:0}.menu-item svg{width:18px;height:18px;color:var(--ink-2)}.menu-item-danger,.menu-item-danger svg{color:var(--neg)}.summary-list{border-radius:var(--r-md);background:var(--bg);color:var(--ink-2);grid-template-columns:1fr 1fr;gap:6px 12px;margin:0;padding:12px 14px;font-size:13px;list-style:none;display:grid}@keyframes fade-in{0%{opacity:0}}@keyframes slide-up{0%{transform:translateY(16px)}}@media (width>=900px){.sheet-overlay{align-items:center}.sheet{border-radius:var(--r-lg)}}.toast{left:50%;bottom:calc(84px + env(safe-area-inset-bottom));z-index:50;background:var(--ink);max-width:calc(100vw - 32px);color:var(--bg);white-space:nowrap;border-radius:999px;padding:10px 16px;font-size:13px;animation:.14s fade-in;position:fixed;transform:translate(-50%)}@media (width>=900px){.toast{bottom:28px}}.stats-panel{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);flex-direction:column;gap:10px;padding:16px;display:flex}.stat-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.stat-cell{flex-direction:column;gap:2px;min-width:0;display:flex}.stat-value{font-family:var(--font-display);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:21px;line-height:1.15}.stat-label{color:var(--muted);font-size:11.5px}.stat-facts{color:var(--ink-2);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:5px;font-size:12.5px;display:flex}.filter-bar{flex-direction:column;gap:8px;display:flex}.filter-bar-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.filter-bar-head .btn{min-height:var(--tap);padding:0 14px;font-size:14px}.chip-row{flex-wrap:wrap;gap:6px;display:flex}.chip-removable{border:1px solid var(--line-strong);background:var(--surface);min-height:32px;color:var(--ink-2);cursor:pointer;border-radius:999px;align-items:center;gap:5px;padding:3px 9px 3px 11px;font-size:12.5px;display:inline-flex}.chip-removable svg{width:13px;height:13px;color:var(--muted)}@media (width<=360px){.stat-grid{grid-template-columns:repeat(2,1fr)}}.panel-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.help-dot{border:1px solid var(--line-strong);width:20px;height:20px;color:var(--muted);cursor:help;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;display:inline-flex}.help-line{color:var(--muted);font-size:12px;line-height:1.5}.inline-link{color:var(--accent);text-decoration:underline}.chart{flex-direction:column;gap:6px;display:flex}.chart-plot{padding-left:34px;position:relative}.chart-y{width:32px;position:absolute;top:0;bottom:0;left:0}.chart-y span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10.5px;position:absolute;right:0;transform:translateY(-50%)}.chart-svg{width:100%;height:180px;display:block}.chart-bg{fill:var(--bg)}.chart-zero{stroke:var(--line-strong);stroke-width:1px;stroke-dasharray:3 4}.chart-area{fill:color-mix(in srgb, var(--pos) 14%, transparent)}.spark-neg .chart-area{fill:color-mix(in srgb, var(--neg) 14%, transparent)}.chart-line{fill:none;stroke:var(--pos);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.spark-neg .chart-line{stroke:var(--neg)}.chart-x{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:11px;display:flex}.chart-x-mid{text-align:center;text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.chart-empty{color:var(--muted);font-size:13px}.bars{flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}.bar-item{flex-direction:column;gap:5px;display:flex}.bar-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.bar-label{font-family:var(--font-display);font-size:16px}.bar-count{color:var(--muted);font-variant-numeric:tabular-nums;margin-right:auto;font-size:11.5px}.badge-low{background:var(--warn-soft);color:var(--warn);border-radius:999px;padding:1px 7px;font-size:10.5px}.bar-row{align-items:center;gap:8px;display:flex}.bar-value{width:56px;color:var(--ink-2);font-variant-numeric:tabular-nums;text-align:right;flex-shrink:0;font-size:12px}.bar-svg{width:100%;height:8px}.bar-track{fill:var(--surface-2)}.bar-fill-win{fill:var(--accent)}.bar-fill-pos{fill:var(--pos)}.bar-fill-neg{fill:var(--neg)}.bar-mid{stroke:var(--line-strong);stroke-width:1px}.bar-note{color:var(--muted);font-size:11px}.chip-toggle{cursor:pointer}.chip-toggle-on{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.ai-bar{flex-wrap:wrap;gap:8px;display:flex}.ai-preview-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.ai-preview{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-2);max-height:300px;color:var(--ink-2);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;line-height:1.55;overflow:auto}.ai-warn{border-radius:var(--r-md);background:var(--warn-soft);color:var(--warn);margin:0;padding:10px 12px;font-size:12.5px;line-height:1.5}.update-toast{left:50%;bottom:calc(84px + env(safe-area-inset-bottom));z-index:55;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:calc(100vw - 32px);box-shadow:var(--shadow);color:var(--ink);border-radius:999px;align-items:center;gap:8px;padding:8px 8px 8px 16px;font-size:13px;animation:.16s fade-in;display:flex;position:fixed;transform:translate(-50%)}.update-toast .btn{min-height:36px;padding:0 14px;font-size:13px}
