@font-face{font-family:Hanken Grotesk;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/hanken-grotesk-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Hanken Grotesk;font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/hanken-grotesk-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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}:root{--font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--bg: #f4f7f7;--surface: #ffffff;--surface-2: #e7ecee;--border: #e7ecee;--divider: #eef2f2;--text: #16282c;--text-muted: #5d7278;--text-faint: #8fa1a7;--accent: #1f6e7d;--accent-soft: #e3eff1;--accent-contrast: #ffffff;--accent-deep: #17545f;--focus-ring: rgba(31, 110, 125, .35);--switch-off: #cdd9dc;--ok: #1e6e4c;--ok-soft: #e1f0e8;--warn: #b7791f;--danger: #a83c26;--above: #a83c26;--above-soft: #f9e6e0;--below: #3a6fb8;--below-soft: #e2ebf6;--radius: 20px;--radius-input: 12px;--gap: 16px;--shadow: 0 1px 3px rgba(22, 40, 44, .06);--shadow-hover: 0 4px 14px rgba(22, 40, 44, .1);--header-h: 56px;--nav-h: 68px;--content-max: 900px;--nav-bg: rgba(255, 255, 255, .92);--pill-shadow: 0 1px 2px rgba(22, 40, 44, .08);--fab-shadow: 0 6px 16px rgba(31, 110, 125, .4)}:root[data-theme=dark]{--bg: #131b1d;--surface: #1b2528;--surface-2: #232f33;--border: #232f33;--divider: #232f33;--text: #e6eeef;--text-muted: #93a6ab;--text-faint: #6c7f84;--accent: #4bb3c4;--accent-soft: #17343a;--accent-contrast: #0d1114;--accent-deep: #3a97a6;--focus-ring: rgba(75, 179, 196, .4);--switch-off: #3a4a4e;--ok: #4caf6a;--ok-soft: #163024;--warn: #d6a038;--danger: #e0765f;--above: #e0765f;--above-soft: #3a231e;--below: #6fa0dc;--below-soft: #1c2a3a;--shadow: 0 1px 3px rgba(0, 0, 0, .4);--shadow-hover: 0 4px 14px rgba(0, 0, 0, .5);--nav-bg: rgba(27, 37, 40, .9);--pill-shadow: 0 1px 2px rgba(0, 0, 0, .35);--fab-shadow: 0 6px 16px rgba(0, 0, 0, .5)}:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;padding:0;font-family:var(--font);background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%}body{font-size:16px;line-height:1.45}.theme-anim body{transition:background-color .15s ease,color .15s ease}.tnum{font-variant-numeric:tabular-nums}h1,h2,h3{line-height:1.2;margin:0 0 .5em}h1{font-size:1.5rem}h2{font-size:1.2rem}button{font:inherit;cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:var(--radius);padding:.55em 1em;transition:background .12s ease,border-color .12s ease}button:hover{background:var(--surface-2)}button.primary{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}button.danger{color:var(--danger);border-color:var(--danger)}input,select{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.5em .65em;width:100%}label{display:block;font-size:.85rem;color:var(--text-muted);margin-bottom:.3em}a{color:var(--accent)}.app-shell{display:flex;flex-direction:column;min-height:100vh}.app-header{height:var(--header-h);display:flex;align-items:center;justify-content:space-between;padding:0 var(--gap);background:var(--bg);border-bottom:none;position:sticky;top:0;z-index:10}.app-header .brand-wrap{display:flex;align-items:center;gap:10px}.app-header .brand-icon{width:30px;height:30px;border-radius:9px;display:block}.app-header .brand{font-weight:800;font-size:1.15rem;letter-spacing:-.01em}.app-content{flex:1;width:100%;max-width:var(--content-max);margin:0 auto;padding:var(--gap);padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + var(--gap))}.app-nav{position:fixed;bottom:0;left:0;right:0;height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding:0 4px env(safe-area-inset-bottom);display:grid;grid-template-columns:1fr 1fr 64px 1fr 1fr;align-items:center;background:var(--nav-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--border);z-index:10}.app-nav .nav-item{border:none;border-radius:0;background:transparent;color:var(--text-faint);font-size:.68rem;font-weight:700;height:100%;min-height:44px;min-width:0;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.app-nav .nav-item .nav-label{max-width:100%;line-height:1.1;text-align:center;overflow-wrap:anywhere}.app-nav .nav-item[aria-current=page]{color:var(--text)}.app-nav .nav-indicator{width:22px;height:4px;border-radius:999px;background:transparent;display:block}.app-nav .nav-item[aria-current=page] .nav-indicator{background:var(--accent)}.app-nav .nav-fab{width:54px;height:54px;min-height:44px;border:none;border-radius:50%;background:var(--accent);color:var(--accent-contrast);font-size:1.7rem;font-weight:400;line-height:1;padding:0;justify-self:center;align-self:center;margin-top:-22px;box-shadow:var(--fab-shadow);display:flex;align-items:center;justify-content:center}.app-nav .nav-fab .nav-label{display:none}.app-nav .nav-fab-icon{display:block;transition:transform .15s ease}.app-nav .nav-fab.is-open{background:var(--accent-deep)}.app-nav .nav-fab.is-open .nav-fab-icon{transform:rotate(45deg)}@media(hover:hover){.app-nav .nav-item:hover{background:var(--surface-2)}.app-nav .nav-fab:hover{background:var(--accent-deep)}}@media(min-width:500px){.app-shell{flex-direction:row}.app-nav{position:sticky;top:0;height:100vh;width:200px;padding:var(--gap) 0;display:flex;flex-direction:column;grid-template-columns:none;align-items:stretch;background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none;border-top:none;border-right:1px solid var(--border)}.app-nav .nav-item,.app-nav .nav-fab{flex:0 0 auto;flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;width:auto;height:auto;min-height:44px;margin:2px 8px;padding:.9em var(--gap);border-radius:var(--radius);font-size:.95rem;font-weight:600;color:var(--text-muted)}.app-nav .nav-item[aria-current=page],.app-nav .nav-fab[aria-current=page]{color:var(--accent);font-weight:700}.app-nav .nav-indicator{display:none}.app-nav .nav-fab{background:transparent;box-shadow:none;margin-top:0;justify-self:auto;align-self:auto}.app-nav .nav-fab .nav-label{display:inline}.app-nav .nav-fab-icon{display:none}.app-main{flex:1;display:flex;flex-direction:column;min-width:0}.app-content{padding-bottom:var(--gap)}}@media(min-width:500px)and (hover:hover){.app-nav .nav-fab:hover{background:var(--surface-2)}}.card{background:var(--surface);border:none;border-radius:var(--radius);box-shadow:var(--shadow);padding:var(--gap);transition:box-shadow .15s ease}.card:hover{box-shadow:var(--shadow-hover)}.grid{display:grid;gap:var(--gap);grid-template-columns:1fr}@media(min-width:500px){.grid{grid-template-columns:repeat(2,1fr)}}@media(min-width:900px){.grid{grid-template-columns:repeat(3,1fr)}}.muted{color:var(--text-muted)}.pill{display:inline-block;padding:.1em .6em;border-radius:999px;font-size:.8rem;background:var(--surface-2)}.pill.above{color:var(--above)}.pill.below{color:var(--below)}.pill.ok{color:var(--ok)}.center-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:var(--gap)}.center-screen .panel{width:100%;max-width:380px}.field{margin-bottom:var(--gap)}.lock-forgot{margin-top:var(--gap);text-align:center}.lock-forgot>.link-button{border:none;background:transparent;color:var(--muted);padding:.5em 0;font-size:.9em}.lock-forgot>.link-button:hover{background:transparent;text-decoration:underline}.lock-forgot>p{text-align:left}.lock-forgot-actions{display:flex;gap:12px;margin-top:var(--gap)}.lock-forgot-actions button{flex:1}.toast-host{position:fixed;left:50%;bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + 40px);transform:translate(-50%);display:flex;flex-direction:column;gap:8px;z-index:100;width:min(92vw,420px)}.toast{padding:.7em 1em;border-radius:14px;box-shadow:var(--shadow);background:var(--text);color:var(--bg);font-size:.9rem}.toast.error{background:var(--danger);color:#fff}.toast.success{background:var(--ok);color:#fff}.toast.has-action{display:flex;align-items:center;justify-content:space-between;gap:12px}.toast-action{flex:none;border:none;background:transparent;color:inherit;font:inherit;font-weight:600;text-decoration:underline;cursor:pointer;padding:2px 4px}@media(min-width:500px){.toast-host{bottom:16px}}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}dialog.modal{border:none;padding:0;border-radius:var(--radius);width:min(420px,calc(100vw - 32px));background:var(--surface);color:var(--text);box-shadow:var(--shadow-hover)}dialog.modal::backdrop{background:#06101280;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.modal-box{display:flex;flex-direction:column;gap:14px;padding:22px}.modal-box h3{margin:0}dialog.fab-menu{border:none;padding:0;background:var(--surface);color:var(--text);max-height:calc(100dvh - 32px)}dialog.fab-menu::backdrop{background:#16282c66}dialog.fab-menu-sheet{position:fixed;margin:0;inset:auto 0 calc(var(--nav-h) + env(safe-area-inset-bottom)) 0;width:100%;max-width:100%;border-radius:24px 24px 0 0;box-shadow:0 -12px 32px #17262c2e}.fab-menu-panel{display:flex;flex-direction:column;gap:6px;padding:12px}.fab-menu-sheet .fab-menu-panel{padding:10px 14px calc(16px + env(safe-area-inset-bottom))}.fab-menu-handle{width:40px;height:4px;border-radius:999px;background:var(--switch-off);margin:2px auto 8px}.fab-menu-action{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:none;background:transparent;color:inherit;border-radius:14px;padding:10px;cursor:pointer}@media(hover:hover){.fab-menu-action:hover{background:var(--surface-2)}}.fab-menu-tile{flex:0 0 auto;width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center}.fab-menu-tile svg{width:22px;height:22px}.fab-menu-tile-accent{background:var(--accent);color:var(--accent-contrast)}.fab-menu-tile-soft{background:var(--accent-soft);color:var(--accent)}.fab-menu-text{display:flex;flex-direction:column;gap:2px;min-width:0}.fab-menu-title{font-weight:700;font-size:.98rem}.fab-menu-desc{color:var(--text-muted);font-size:.8rem;line-height:1.25}.fab-menu-open-data{font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;border:none;background:transparent;color:var(--accent);border-radius:12px;padding:10px;margin-top:2px}@media(hover:hover){.fab-menu-open-data:hover{background:var(--surface-2)}}:where(a,button,input,select,textarea,summary,[tabindex],.switch,.row-nav,.format-card):focus-visible{outline:none;box-shadow:0 0 0 3px var(--focus-ring)}:where(button,.row-nav,.format-card,.switch){transition:background .15s ease,box-shadow .15s ease,border-color .15s ease}.switch{position:relative;flex:0 0 auto;width:44px;height:26px;border:none;border-radius:999px;background:var(--switch-off);cursor:pointer;padding:0}.switch:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #16282c40;transition:left .15s ease}.switch[aria-checked=true]{background:var(--accent)}.switch[aria-checked=true]:after{left:21px}.check{appearance:none;-webkit-appearance:none;flex:0 0 auto;width:22px;height:22px;margin:0;border-radius:7px;border:1.5px solid #b9cdd1;background:#fff;cursor:pointer;transition:background .12s ease,border-color .12s ease}.check:checked{border-color:var(--accent);background-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:14px}:root[data-theme=light] .check{border-color:#b9cdd1;background-color:#fff}:root[data-theme=dark] .check{border-color:var(--switch-off);background-color:var(--surface)}:root[data-theme=light] .check:checked,:root[data-theme=dark] .check:checked{border-color:var(--accent);background-color:var(--accent)}.data-switch{display:inline-flex;align-self:flex-start;background:var(--surface-2);border-radius:999px;padding:3px}.data-switch-btn{font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;border:none;background:transparent;color:var(--text-muted);border-radius:999px;padding:8px 20px;min-height:40px;transition:background .12s ease,color .12s ease}.data-switch-btn:hover{color:var(--text)}.data-switch-btn.is-active,.data-switch-btn.is-active:hover{background:var(--surface);color:var(--text);font-weight:700;box-shadow:0 1px 2px #16282c1f}.tag-chip{font:inherit;font-size:.8rem;font-weight:600;cursor:pointer;border:none;border-radius:999px;padding:6px 12px;min-height:34px;background:var(--surface-2);color:var(--text-muted);transition:background .12s ease,color .12s ease}.tag-chip:hover{color:var(--text)}.tag-chip.is-active,.tag-chip.is-active:hover{background:var(--accent-soft);color:var(--accent-deep);font-weight:700}.tag-chip--mini{min-height:0;padding:2px 9px;font-size:.7rem;cursor:default;background:var(--accent-soft);color:var(--text-muted)}.tag-chip--star{display:inline-flex;align-items:center;gap:5px}.tag-chip--star .tag-chip-star{color:var(--accent);flex:none}.value-unit{font-variant-numeric:tabular-nums;white-space:nowrap}.value-unit__num{font-weight:700;font-variant-numeric:tabular-nums}.value-unit__unit{color:var(--text-muted);font-size:.85em}.value-unit__unit sup{font-size:.72em}.value-unit--emph .value-unit__num{font-weight:800;color:var(--accent)}.value-unit--warn .value-unit__num{color:var(--danger)}.watch-star{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;border:none;background:transparent;color:var(--text-faint);cursor:pointer;border-radius:999px;flex:none;-webkit-tap-highlight-color:transparent}.watch-star:hover{color:var(--accent);background:var(--surface-2)}.watch-star.is-watched{color:var(--accent)}.watch-star-icon{display:block}.watch-star--tile{position:absolute;top:2px;right:2px;z-index:1}.watch-star--inline{min-width:40px;min-height:40px}@media(hover:hover){.watch-star--tile{opacity:0;transition:opacity .12s ease}.metric-card-wrap:hover .watch-star--tile,.watch-star--tile.is-watched,.watch-star--tile:focus-visible{opacity:1}}.report-back{border:none;background:transparent;color:var(--accent);font-weight:600;font-size:.9rem;padding:6px 0;margin:2px 0 6px;cursor:pointer}.report-back:hover{text-decoration:underline}.report-titlerow{display:flex;align-items:center;justify-content:space-between;gap:var(--gap);flex-wrap:wrap}.report-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;justify-content:flex-end}.report-mode-segment{display:inline-flex;flex-wrap:wrap;background:var(--surface-2);border-radius:999px;padding:3px}.report-mode-btn{font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;border:none;background:transparent;color:var(--text-muted);border-radius:999px;padding:8px 16px;min-height:40px}.report-mode-btn:hover{color:var(--text)}.report-mode-btn.is-active,.report-mode-btn.is-active:hover{background:var(--surface);color:var(--text);font-weight:700;box-shadow:0 1px 2px #16282c1f}.report-asof-date{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:8px 14px;min-height:40px}.report-asof-date[hidden]{visibility:hidden;display:inline-block}.report-age{display:block;font-size:.78rem}.report-header h1{margin-bottom:2px}.report-select{margin:8px 0 4px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.report-select>summary{cursor:pointer;font-weight:600;padding:10px 14px;min-height:44px;display:flex;align-items:center}.report-select-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px 16px;padding:4px 14px 14px}.report-select-item{display:flex;align-items:center;gap:8px;cursor:pointer}.report-attention{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--warn);border-radius:var(--radius);padding:var(--gap);margin-bottom:var(--gap)}.report-attention h2{margin-top:0}.report-attention ul{margin:0;padding-left:1.2em}.report-attention li{cursor:pointer;padding:2px 0}.report-attention li.attn-range{color:var(--above)}.report-section{margin-bottom:var(--gap)}.report-scroll{display:none}.report-cards{display:flex;flex-direction:column;gap:8px}.report-card{border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px}.report-card-name{font-weight:600;margin-bottom:8px}.report-card-grid{margin:0;display:grid;grid-template-columns:auto 1fr;gap:4px 12px}.report-card-grid dt{color:var(--text-muted);font-size:.85rem}.report-card-grid dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.report-card.out-of-range{background:var(--above-soft);border-left:3px solid var(--above)}@media(min-width:560px){.report-cards{display:none}.report-scroll{display:block;overflow-x:auto}}.report-section table{width:100%;border-collapse:collapse;font-size:.9rem}.report-section th,.report-section td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--border);white-space:nowrap}.report-section th{border-bottom:2px solid var(--border);color:var(--text-muted);font-weight:600}.report-section td.num,.report-section th.num{font-variant-numeric:tabular-nums}.report-section tr.out-of-range td{background:var(--above-soft)}.report-section tr.out-of-range td:first-child{box-shadow:inset 3px 0 0 var(--above)}.report-disclaimer{font-size:.85rem;margin-top:var(--gap)}.report-footer{font-size:.75rem}@media print{.app-header,.app-nav,.report-back,.report-toolbar,.report-select,.toast-host{display:none!important}.app-content{max-width:none;padding:0}.report-cards{display:none!important}.report-scroll{display:block!important;overflow-x:visible}.report-attention{border-left-color:#999}.report-section tr.out-of-range td{background:var(--above-soft);-webkit-print-color-adjust:exact;print-color-adjust:exact}.report-section td,.report-section th{border-color:#ccc}.report-attention li{cursor:auto}a,.report-section,.report-attention{break-inside:avoid}}.review-subtitle{margin-top:0}.review-list{list-style:none;margin:0 0 var(--gap);padding:0;display:flex;flex-direction:column;gap:var(--gap)}.review-item{padding:var(--gap)}.review-item--unresolved{border-color:var(--warn)}.review-item-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.review-metric{font-weight:600;flex:1;min-width:0}.review-reading{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-top:4px}.review-value{font-variant-numeric:tabular-nums}.review-date{font-size:.9rem}.review-confidence{flex:0 0 auto;letter-spacing:1px;font-size:.75rem;line-height:1.4}.review-confidence--high{color:var(--ok)}.review-confidence--medium{color:var(--warn)}.review-confidence--low{color:var(--danger)}.review-decision{display:flex;gap:8px;margin-top:12px}.review-toggle{flex:1;border:1px solid var(--border);background:var(--surface-2);color:var(--text);padding:.5em .9em}.review-toggle[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast);font-weight:600}.review-resolver{margin-top:12px;padding-top:12px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:8px}.review-resolver--rejected{opacity:.6}.review-unresolved{color:var(--warn);align-self:flex-start}.review-field-label{font-size:.85rem;font-weight:600}.review-create-direct{align-self:flex-start;border:none;background:transparent;color:var(--accent);font-weight:700;padding:6px 2px}.review-create-direct:hover{text-decoration:underline}.review-suggested{display:flex;flex-direction:column;gap:6px}.review-suggest-chips{display:flex;flex-wrap:wrap;gap:8px}.review-suggest-chip{cursor:pointer}.review-create-host:empty{display:none}.review-create{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.review-create-name,.review-create-unit{padding:.55em .7em;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);font:inherit}.review-create-name{flex:1 1 60%;min-width:0}.review-create-unit{flex:1 1 6em;min-width:0}.review-create-btn{flex:0 0 auto;border:1px solid var(--border);background:var(--surface-2);color:var(--text);padding:.55em 1em}.review-resolver-footer{display:flex;justify-content:flex-end}.review-reject-item{border:none;background:transparent;color:var(--text-muted);padding:.4em .6em}.review-reject-item:hover{color:var(--danger)}.review-reject-item[aria-pressed=true]{color:var(--danger);font-weight:600}.review-assigned-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.review-alias-hint{margin:8px 0 0;font-size:.85rem}.review-assigned-foot .review-alias-hint{margin:0}.review-change-metric{border:none;background:transparent;color:var(--accent);font-weight:600;padding:4px 6px;flex:none}.review-change-metric:hover{text-decoration:underline}.review-item--hidden-pack{border-left:3px solid var(--accent)}.review-hidden-pack{margin-top:12px;padding-top:12px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:10px}.review-hidden-pack-lead{margin:0;font-size:.9rem}.review-hidden-pack-actions{display:flex;flex-direction:column;gap:8px}.review-hidden-activate{width:100%;border:1px solid var(--accent);background:var(--accent);color:var(--accent-contrast);font-weight:600;padding:.55em .9em}.review-hidden-secondary{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px}.review-hidden-show,.review-hidden-create,.review-hidden-skip{border:none;background:transparent;padding:.35em 0}.review-hidden-show{color:var(--accent);font-weight:600}.review-hidden-show:hover{text-decoration:underline}.review-hidden-create{color:var(--text-muted)}.review-hidden-create:hover{color:var(--text);text-decoration:underline}.review-hidden-skip{color:var(--text-muted);margin-left:auto}.review-hidden-skip:hover{color:var(--danger)}.review-hidden-skip[aria-pressed=true]{color:var(--danger);font-weight:600}.review-hidden-guard-q{margin:0;font-size:.9rem}.review-hidden-guard-btns{display:flex;flex-wrap:wrap;gap:8px}.review-hidden-guard-yes{border:1px solid var(--accent);background:var(--accent);color:var(--accent-contrast);font-weight:600;padding:.5em .9em}.review-hidden-guard-no{border:1px solid var(--border);background:var(--surface-2);color:var(--text);padding:.5em .9em}.review-hidden-banners:empty{display:none}.review-hidden-banners{display:flex;flex-direction:column;gap:8px;margin-bottom:var(--gap)}.review-hidden-banner{border:1px solid var(--accent);border-radius:var(--radius);background:var(--accent-soft);padding:10px}.review-hidden-banner-btn{width:100%;border:1px solid var(--accent);background:var(--accent);color:var(--accent-contrast);font-weight:600;padding:.55em .9em}.review-source{display:flex;flex-direction:column;gap:8px;padding:var(--gap);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);margin-bottom:var(--gap)}.review-source-select,.review-source-name,.review-source-kind{width:100%;padding:.55em .7em;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);font:inherit}.review-source-new{display:flex;gap:8px;flex-wrap:wrap}.review-source-new .review-source-name{flex:1 1 60%}.review-source-new .review-source-kind{flex:1 1 30%}.review-source-new[hidden]{display:none}.review-footer{display:flex;align-items:center;gap:var(--gap);flex-wrap:wrap;position:sticky;bottom:0;padding:var(--gap) 0;background:var(--bg)}.review-commit{margin-left:auto;display:flex;align-items:center;gap:10px}.review-count{font-variant-numeric:tabular-nums;background:var(--surface-2)}.review-commit button{background:var(--accent);color:var(--accent-contrast);border:1px solid var(--accent);padding:.6em 1.2em;font-weight:600}.review-commit button:disabled{opacity:.5;cursor:not-allowed}.review-empty{text-align:center}.review-conflicts[hidden]{display:none}.review-conflicts{display:flex;flex-direction:column;gap:var(--gap);margin-bottom:var(--gap)}.review-conflicts-header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.review-conflicts-title{margin:0}.review-conflicts-progress{font-size:.8rem;letter-spacing:2px;color:var(--accent)}.review-conflicts-hint{margin:0;font-size:.9rem}.review-conflict{padding:var(--gap);border-color:var(--warn);display:flex;flex-direction:column;gap:10px}.review-conflict-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.review-conflict-metric{font-weight:600}.review-conflict-when{font-size:.9rem}.review-conflict-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}@media(max-width:560px){.review-conflict-pair{grid-template-columns:1fr}}.review-conflict-block{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.review-conflict-badge{font-size:.72rem;background:var(--surface)}.review-conflict-block--new .review-conflict-badge,.review-conflict-block--first .review-conflict-badge{color:var(--accent)}.review-conflict-reading{font-variant-numeric:tabular-nums}.review-conflict-prov{display:flex;flex-direction:column;gap:1px;font-size:.78rem;word-break:break-word}.review-conflict-btn{min-width:max-content;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:.45em .9em}.review-conflict-keep-this{align-self:stretch;margin-top:auto}.review-conflict-keep-both{width:100%;background:var(--surface-2)}.review-conflict-btn[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast);font-weight:600}.review-conflict-summary{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.review-conflict-decided-label{font-weight:600}.review-conflict-decided-values{font-variant-numeric:tabular-nums}.review-conflict-change{margin-left:auto;border:1px solid var(--border);background:var(--surface);padding:.35em .8em}.review-conflict-pair--stacked{grid-template-columns:1fr}.review-conflict-block[hidden]{display:none}.review-conflict-divider{height:1px;background:var(--border);margin:2px 0}.review-conflict-actions{display:flex;flex-wrap:wrap;gap:8px}.review-conflict-actions .review-conflict-btn{flex:1 1 auto}.review-conflict-show-more{align-self:flex-start;border:1px dashed var(--border);background:transparent;color:var(--accent);padding:.4em .8em;font-size:.85rem}.review-conflict-group{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:4px}.review-conflict-group-title{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.review-conflict-group-actions{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.review-bulk-btn{border:none;background:transparent;color:var(--accent);padding:.2em .4em;font-size:.85rem}.review-bulk-confirm-q{font-size:.85rem}.metric-picker{position:relative}.metric-suggestions{list-style:none;margin:4px 0 0;padding:4px;position:absolute;z-index:20;left:0;right:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);max-height:240px;overflow-y:auto}.metric-suggestions:empty{display:none}.metric-suggestions li{margin:0}.metric-suggestions button{width:100%;display:flex;align-items:baseline;justify-content:space-between;gap:10px;text-align:left;border:none;background:transparent;border-radius:10px;padding:.6em .7em}.metric-suggestions button:hover,.metric-suggestions button:focus{background:var(--surface-2)}.metric-suggestions .sugg-new{color:var(--accent);font-weight:600}.metric-suggestion-unit{font-size:.85em;flex:0 0 auto}.source-picker{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.source-picker>select{max-width:100%}.source-picker-new{display:flex;gap:8px;flex-wrap:wrap;align-items:center;width:100%}.source-picker-new[hidden]{display:none}.source-picker-name{flex:1 1 12rem;min-width:0;min-height:40px;padding:8px 14px;border:none;border-radius:999px;background-color:var(--surface-2);color:var(--text);font:inherit}.source-picker-name::placeholder{color:var(--text-muted)}.csv-formats{display:flex;gap:var(--gap);flex-wrap:wrap;margin-bottom:var(--gap)}.csv-formats .field{flex:1;min-width:160px;margin-bottom:0}.csv-mapping{margin-bottom:var(--gap)}.csv-map-row{display:flex;align-items:center;gap:var(--gap);padding:8px 0;border-bottom:1px solid var(--border)}.csv-map-row:last-child{border-bottom:none}.csv-col-name{flex:1;font-weight:600;word-break:break-word}.csv-map-row select{flex:0 0 auto;width:auto;min-width:140px}.csv-preview{margin-bottom:var(--gap)}.csv-scroll{overflow-x:auto}.csv-preview table{border-collapse:collapse;font-size:.85rem;white-space:nowrap}.csv-preview th,.csv-preview td{border:1px solid var(--border);padding:4px 8px;text-align:left}.csv-preview th{background:var(--surface-2)}.overview-date{margin:8px 0 2px;color:var(--text-muted);font-size:.9rem}.overview-header{display:flex;align-items:center;justify-content:space-between;gap:var(--gap);flex-wrap:wrap}.overview-header h1{margin:0 0 .2em;font-size:1.75rem;font-weight:800;letter-spacing:-.02em;line-height:1.15}.overview-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 var(--gap)}.overview-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;font-size:.85rem;font-weight:600}.overview-chip .chip-dot{width:7px;height:7px;border-radius:50%;background:currentcolor;flex:none}.overview-chip.ok{background:var(--ok-soft);color:var(--ok)}.overview-chip.above{background:var(--above-soft);color:var(--above)}.overview-chip.below{background:var(--below-soft);color:var(--below)}.overview-chip.muted{background:var(--surface-2);color:var(--text-muted)}.overview-toolbar{display:flex;justify-content:flex-end;margin:0 0 var(--gap)}.overview-toolbar label{display:inline-flex;align-items:center;gap:8px;margin:0;cursor:pointer;color:var(--text-muted)}.overview-toolbar input{width:auto;margin:0}.metric-card-wrap{position:relative;display:flex}.metric-card-wrap>.metric-card{width:100%}.metric-card{display:flex;flex-direction:column;gap:12px;width:100%;text-align:left;color:inherit}.metric-card--watchable .metric-top{padding-right:34px}.metric-card:hover{background:var(--surface);box-shadow:var(--shadow-hover)}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.metric-card .metric-name{min-width:0;font-size:.9rem;font-weight:600;color:var(--text-muted);display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.25}.metric-card .metric-age{font-size:.8rem;color:var(--text-faint);white-space:nowrap;flex:none}.metric-value-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.metric-card .metric-value{display:flex;align-items:baseline;gap:.35em;flex-wrap:wrap}.metric-card .metric-number{font-size:1.7rem;font-weight:800;line-height:1;letter-spacing:-.02em}.metric-card .metric-unit{font-size:.9rem;font-weight:600;color:var(--text-muted)}.metric-delta{font-size:.8rem;font-weight:700;border-radius:999px;padding:2px 8px;white-space:nowrap;font-variant-numeric:tabular-nums}.metric-delta.ok{color:var(--ok);background:var(--ok-soft)}.metric-delta.above{color:var(--above);background:var(--above-soft)}.metric-delta.below{color:var(--below);background:var(--below-soft)}.metric-delta.muted{color:var(--text-muted);background:var(--surface-2)}.metric-spark{width:100px;height:36px;flex:none}.metric-range{display:flex;align-items:center;gap:10px}.range-track{position:relative;flex:1;height:6px;border-radius:999px}.range-marker{position:absolute;top:50%;transform:translate(-50%,-50%);width:14px;height:14px;border-radius:50%;border:3px solid var(--surface);box-shadow:0 1px 3px #16282c4d;background:var(--accent)}.range-marker.ok{background:var(--ok)}.range-marker.above{background:var(--above)}.range-marker.below{background:var(--below)}.range-text{font-size:.75rem;color:var(--text-faint);flex:none}.overview-prompt{text-align:center;padding:2rem 1rem;margin:0 0 var(--gap)}.overview-prompt-text{margin:0 0 var(--gap);color:var(--text-muted)}.overview-prompt-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.overview-group{display:flex;flex-direction:column;gap:10px}.overview-group+.overview-group{margin-top:18px}.overview-group-title{margin:0;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.overview-header-actions{display:flex;align-items:center;gap:8px;flex:none}.overview-layout-toggle .seg-btn{padding:6px 11px;display:inline-flex;align-items:center;justify-content:center;color:var(--text-muted)}.overview-layout-toggle .seg-btn--active{color:var(--text)}.overview-layout-toggle .seg-btn svg{display:block}.overview-summary-btn{white-space:nowrap;transition:background .15s}.overview-summary-btn.is-filter{background:var(--accent-soft);color:#17545f;border-color:var(--accent-soft)}.overview-print-menu{border:none;padding:0;border-radius:16px;background:var(--surface);box-shadow:0 10px 30px #16282c38;max-width:min(92vw,320px);color:var(--text)}.overview-print-menu::backdrop{background:#16282c47}.overview-print-panel{display:flex;flex-direction:column;gap:6px;padding:8px}.overview-print-item{font:inherit;font-weight:600;text-align:left;cursor:pointer;border:1px solid transparent;background:transparent;color:var(--text);border-radius:12px;padding:12px 14px;min-height:44px}.overview-print-item:hover:not([disabled]){background:var(--surface-2)}.overview-print-item.primary{background:var(--accent-soft);color:#17545f}.overview-print-item[disabled]{opacity:.45;cursor:default}@media(max-width:559px){.overview-print-menu{margin:auto auto 0;width:100%;max-width:none;border-radius:20px 20px 0 0}.overview-print-panel{padding:12px 12px calc(12px + env(safe-area-inset-bottom,0px))}}.overview-asof-btn{display:inline-flex;align-items:center;gap:6px;font-size:.9rem;white-space:nowrap}.overview-asof-btn[hidden],.overview-asof-date[hidden]{display:none}.overview-asof-date{font:inherit;font-weight:600;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:8px 14px;min-height:40px}.overview-asof-date:hover{border-color:var(--accent)}.overview-asof-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;background:var(--accent-soft);border-radius:16px;padding:12px 16px;margin:0 0 var(--gap)}.overview-asof-banner-text{font-weight:700;color:var(--text)}.overview-asof-banner-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.overview-asof-export,.overview-asof-close{font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;border:1px solid transparent;border-radius:999px;padding:6px 12px;min-height:36px;color:var(--accent);background:transparent}.overview-asof-export:hover,.overview-asof-close:hover{border-color:var(--accent)}.overview-asof-close{display:inline-flex;align-items:center;gap:6px;color:var(--text)}.metric-card--empty{opacity:.7}.metric-empty{font-size:.95rem}.overview-row--empty .overview-row-value{color:var(--text-muted)}.overview-filter{display:flex;flex-direction:column;gap:10px;margin:0 0 var(--gap)}.overview-search{border-radius:999px;padding-left:.9em}.overview-tag-filter{display:flex;flex-wrap:wrap;gap:8px}.overview-ghost{font:inherit;font-size:.9rem;font-weight:600;cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:8px 16px;min-height:40px}.overview-ghost:hover{border-color:var(--accent)}.overview-content{display:flex;flex-direction:column;gap:var(--gap)}.overview-list{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.overview-row{width:100%;border:none;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;padding:12px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"metric value" "age status";gap:4px 12px;align-items:center}.overview-row+.overview-row{border-top:1px solid var(--border)}@media(hover:hover){.overview-row:hover{background:var(--surface-2)}}.overview-list-head{display:none}.overview-row-metric{grid-area:metric;display:flex;align-items:center;gap:8px;min-width:0}.overview-row-name{min-width:0;flex:0 1 auto;overflow:hidden;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:1.25;font-weight:600;font-size:.95rem}.overview-row-value{grid-area:value;justify-self:end;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.overview-row-value .metric-value{display:inline-flex;align-items:baseline;gap:.3em}.overview-row-value .metric-number{font-size:1rem;font-weight:700;line-height:1.2}.overview-row-value .metric-unit{font-size:.8rem;color:var(--text-muted)}.overview-row-range{grid-area:range;display:none;justify-self:end;text-align:right;font-size:.85rem;color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.overview-row-change{grid-area:change;display:none;justify-content:flex-end;align-items:center;text-align:right;font-variant-numeric:tabular-nums}.overview-row-age{grid-area:age;font-size:.8rem;color:var(--text-faint);white-space:nowrap;align-self:center;font-variant-numeric:tabular-nums}.overview-row-status{grid-area:status;justify-self:end;align-self:center}.overview-status.ok{background:var(--ok-soft);color:var(--ok)}.overview-status.above{background:var(--above-soft);color:var(--above)}.overview-status.below{background:var(--below-soft);color:var(--below)}.overview-status.muted{background:var(--surface-2);color:var(--text-muted)}@media(min-width:900px){.overview-list-head,.overview-row{grid-template-columns:minmax(0,2.4fr) .9fr .9fr .6fr .7fr .7fr;grid-template-areas:"metric value range change age status";align-items:center;gap:12px}.overview-list-head{display:grid;padding:10px 14px;border-bottom:1px solid var(--border);font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-faint)}.overview-list-head .overview-row-value,.overview-list-head .overview-row-range,.overview-list-head .overview-row-change,.overview-list-head .overview-row-age{text-align:right;justify-self:end}.overview-row-range{display:block}.overview-row-change{display:flex}.overview-row-age{text-align:right;justify-self:end}}.timeline-filters{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}.timeline-chips{display:flex;flex-wrap:wrap;gap:8px}.timeline-chips .chip{font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;border:none;border-radius:999px;padding:7px 14px;min-height:34px;background:var(--surface);color:var(--text-muted);box-shadow:var(--pill-shadow)}.timeline-chips .chip:hover{background:var(--surface-2)}.timeline-chips .chip.is-active{font-weight:700;background:var(--text);color:var(--surface);box-shadow:none}.timeline-chips .chip.is-active:hover{background:var(--text)}.timeline-filter{display:flex;flex-direction:column;gap:4px}.timeline-filter label{font-size:.8rem;font-weight:600;color:var(--text-muted)}.timeline-empty{text-align:center}.timeline-list{display:flex;flex-direction:column}.timeline-entry{display:grid;grid-template-columns:20px 1fr;gap:12px}.timeline-rail{display:flex;flex-direction:column;align-items:center}.timeline-dot{width:12px;height:12px;border-radius:50%;margin-top:6px;background:var(--text-faint);border:3px solid var(--bg);box-shadow:0 0 0 1.5px var(--text-faint)}.timeline-dot.is-lab{background:var(--accent);box-shadow:0 0 0 1.5px var(--accent)}.timeline-line{flex:1;width:2px;background:var(--border)}.timeline-entry:last-child .timeline-line{display:none}.timeline-entry-body{padding-bottom:18px;min-width:0}.timeline-group-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:8px}.timeline-date{font-weight:700}.timeline-source{color:var(--text-faint);font-size:.85rem;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-change-source{margin-left:auto;padding:2px 8px;border:none;background:none;color:var(--accent, var(--text-muted));font:inherit;font-size:.8rem;cursor:pointer;white-space:nowrap}.timeline-change-source:hover{text-decoration:underline;background:none}.timeline-change-count{margin:10px 0 4px;font-size:.85rem}.timeline-values{padding:0;overflow:hidden;display:flex;flex-direction:column}.timeline-value{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:none;border-radius:0;border-top:1px solid var(--divider);background:transparent;color:inherit;padding:13px 16px;min-height:44px}.timeline-value:first-child{border-top:none}.timeline-value:hover{background:var(--bg)}.timeline-metric{flex:1;min-width:0;font-weight:600}.timeline-reading{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.timeline-status{width:8px;height:8px;border-radius:50%;flex:none;background:var(--text-faint)}.timeline-status.ok{background:var(--ok)}.timeline-status.above{background:var(--above)}.timeline-status.below{background:var(--below)}.timeline-status.faint{background:var(--text-faint)}.entry-form{display:flex;flex-direction:column;gap:12px}.entry-subtitle{margin:0 0 12px;font-size:.9rem}.entry-form{margin-top:12px}.entry-form input,.entry-form select{background:var(--bg);border:1.5px solid transparent;border-radius:var(--radius-input);padding:11px 12px;min-height:46px;box-sizing:border-box}.entry-form input:focus,.entry-form select:focus{border-color:var(--accent);background:var(--surface);outline:none}.entry-form label{font-size:.8rem;font-weight:600;color:var(--text-muted);margin-bottom:5px}.entry-quickadd{display:flex;flex-direction:column;gap:8px}.entry-quickadd .quickadd-label{font-size:.8rem;font-weight:600;color:var(--text-muted)}.entry-quickadd .quickadd-chips{display:flex;gap:8px;flex-wrap:wrap}.entry-quickadd .quickadd-chip{min-height:0;font-size:.85rem;font-weight:600;color:var(--accent);background:transparent;border:1.5px dashed var(--text-faint);border-radius:999px;padding:7px 14px}.entry-quickadd .quickadd-chip:hover{background:var(--accent-soft);border-style:solid;border-color:var(--accent-soft)}.entry-save{display:block}.entry-form .save-values{width:100%;border-radius:16px;padding:15px;font-weight:700;box-shadow:0 4px 12px #1f6e7d4d}.entry-batch{display:grid;gap:12px;grid-template-columns:1fr}@media(min-width:500px){.entry-batch{grid-template-columns:2fr 1fr}.entry-batch .field-source{grid-column:1 / -1}}.entry-datetime{display:flex;gap:12px}.entry-datetime .field{flex:1;margin-bottom:0}.entry-rows{display:flex;flex-direction:column;gap:12px}.entry-row{position:relative}.entry-row .row-grid{display:grid;gap:10px;grid-template-columns:1fr}@media(min-width:500px){.entry-row .row-grid{grid-template-columns:2fr 1fr 1fr;align-items:end}.entry-row .row-grid .field-metric{grid-column:1 / -1}}.entry-row .field{margin-bottom:0}.entry-row .row-meta{display:none;margin-top:10px}.entry-row.expanded .row-meta{display:grid;gap:10px;grid-template-columns:1fr 1fr}.entry-row .row-actions{display:flex;gap:8px;align-items:center;margin-top:8px;flex-wrap:wrap}.entry-row .row-actions .spacer{flex:1}.value-multi-chips{display:flex;gap:8px;flex-wrap:wrap}.value-chip{min-height:0;font-size:.85rem;font-weight:600;color:var(--text-muted);background:var(--bg);border:1.5px solid var(--text-faint);border-radius:999px;padding:7px 14px}.value-chip:hover{border-color:var(--accent)}.value-chip.is-active{color:var(--accent-contrast, #fff);background:var(--accent);border-color:var(--accent)}.field-hint{font-size:.8rem;margin-top:4px}.field-hint.warn{color:var(--warn)}.field-hint.error{color:var(--danger)}.field-hint.unresolved{color:var(--text-muted)}.entry-bp-grid{display:grid;gap:10px;grid-template-columns:repeat(3,1fr)}.entry-bp-grid .field{margin-bottom:0}.entry-bp-title{font-weight:600;margin-bottom:8px}.entry-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.entry-actions .primary{min-width:140px}.link-button{border:none;background:transparent;color:var(--accent);padding:.5em 0;text-align:left}.link-button:hover{background:transparent;text-decoration:underline}.entry-row .remove-row{color:var(--danger);border-color:transparent;background:transparent}.entry-form input,.entry-form select,.entry-form button{min-height:44px}.chart{width:100%}.chart-svg{display:block;width:100%;height:auto;overflow:visible;touch-action:pan-y}.chart-band{fill:var(--accent);fill-opacity:.07}.chart-band-label{fill:var(--text-faint);font-size:10px;font-weight:600;font-family:var(--font)}.chart-area{stroke:none}.chart-area-stop-top{stop-color:var(--accent);stop-opacity:.18}.chart-area-stop-bottom{stop-color:var(--accent);stop-opacity:0}.chart-gridline{stroke:var(--border);stroke-width:1;stroke-opacity:.6}.chart-tick-label{fill:var(--text-faint);font-size:10px;font-family:var(--font)}.chart-tick-y{text-anchor:end;dominant-baseline:middle}.chart-tick-x{text-anchor:middle;dominant-baseline:hanging}.chart-unit-label{fill:var(--text-faint);font-size:10px;font-family:var(--font);text-anchor:end}.chart-line{fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.chart-point{fill:var(--accent);stroke:var(--surface);stroke-width:1.5}.chart-point--last{stroke-width:2}.chart-point--out{stroke:var(--surface);stroke-width:1.5}.chart-point--above{fill:var(--above)}.chart-point--below{fill:var(--below)}.chart-point-open{fill:var(--surface);stroke:var(--accent);stroke-width:1.5}.chart-point--censored.chart-point--above .chart-point-open{stroke:var(--above)}.chart-point--censored.chart-point--below .chart-point-open{stroke:var(--below)}.chart-arrow{fill:none;stroke:var(--accent);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.chart-point--censored.chart-point--above .chart-arrow{stroke:var(--above)}.chart-point--censored.chart-point--below .chart-arrow{stroke:var(--below)}.chart-hit{fill:transparent;cursor:pointer}.chart-tooltip{position:absolute;z-index:5;pointer-events:none;max-width:70%;padding:.4em .6em;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);box-shadow:var(--shadow);font-size:.8rem;line-height:1.35}.chart-tooltip[hidden]{display:none}.chart-tooltip-row:first-child{font-weight:600}.metric-back{border:none;background:transparent;color:var(--accent);font-weight:600;font-size:.9rem;padding:6px 0;margin:2px 0 6px;cursor:pointer}.metric-back:hover{background:transparent;text-decoration:underline}.metric-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.metric-header-main{min-width:0}.metric-title-row{display:flex;align-items:center;gap:4px}.metric-title{font-size:1.5rem;font-weight:800;letter-spacing:-.02em;line-height:1.15;margin:0 0 6px}.metric-title-row .metric-title{margin-bottom:0}.metric-current{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.metric-value{font-size:2.4rem;font-weight:800;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums}.metric-value-unit{font-weight:600;color:var(--text-muted)}.metric-header-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.seg{display:inline-flex;align-items:center;gap:2px;background:var(--surface-2);border-radius:999px;padding:3px;flex:none}.metric-period{margin-bottom:14px}.seg-btn{border:none;background:transparent;color:var(--text-muted);font-weight:600;font-size:.85rem;border-radius:999px;padding:7px 14px;cursor:pointer;min-height:34px}.seg-btn:hover{background:transparent}.seg-btn--active{background:var(--surface);color:var(--text);font-weight:700;box-shadow:0 1px 2px #16282c1f}.seg-btn--active:hover{background:var(--surface)}.metric-chart-card{padding:18px 12px 12px;margin-bottom:14px}.metric-chart{position:relative;width:100%}.metric-chart-header{display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px}.chart-trend-chip{background:var(--surface-2);color:var(--text-muted);border-radius:var(--radius);padding:3px 10px;font-size:.8rem;font-weight:600}.metric-warning{margin:0 0 var(--gap);color:var(--warn);font-size:.9rem}.metric-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.metric-stats:empty{display:none}.metric-stat{background:var(--surface);border-radius:16px;padding:12px 14px;box-shadow:var(--shadow)}.metric-stat-label{font-size:.75rem;font-weight:600;color:var(--text-faint);margin-bottom:2px}.metric-stat-value{font-weight:800;font-variant-numeric:tabular-nums}.metric-list-heading{font-size:1.05rem;font-weight:700;margin:0 0 10px}.metric-list{padding:0;overflow:hidden}.metric-row{display:flex;align-items:center;gap:8px 12px;padding:14px 18px;flex-wrap:wrap}.metric-row+.metric-row{border-top:1px solid var(--divider)}.metric-row-meta{flex:1;min-width:max-content}.metric-row-date{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.metric-row-source{font-size:.8rem;color:var(--text-faint)}.metric-row-trailing{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.metric-row-delta{font-size:.8rem;color:var(--text-faint);font-variant-numeric:tabular-nums;white-space:nowrap}.metric-row-value{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.metric-row .pill{font-weight:700}.metric-row-actions{display:flex;gap:6px;white-space:nowrap;opacity:0;transition:opacity .12s ease}.metric-row:hover .metric-row-actions,.metric-row:focus-within .metric-row-actions{opacity:1}.metric-icon-btn{padding:.3em .6em;font-size:.85rem;min-height:34px}.metric-confirm{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.metric-edit-row{display:block}.metric-edit{display:flex;flex-wrap:wrap;gap:var(--gap);padding:.5em 0}.metric-edit-field{flex:1 1 120px;min-width:100px}.metric-edit-actions{display:flex;align-items:flex-end;gap:8px;flex:1 1 100%}@media(hover:none),(max-width:560px){.metric-row-actions{opacity:1}}@media(max-width:420px){.metric-value{font-size:2rem}.metric-stat{padding:10px 12px}}.settings-view{display:flex;flex-direction:column;gap:14px;max-width:var(--content-max);margin:0 auto;padding:var(--gap)}.settings-view>h1{margin:8px 0 4px;font-size:1.75rem;font-weight:800;letter-spacing:-.02em;line-height:1.15}.settings-trust{display:flex;align-items:center;gap:12px;padding:16px 18px;border-radius:var(--radius);background:linear-gradient(135deg,var(--accent-soft),var(--ok-soft))}.settings-trust-lock{width:26px;height:26px;flex:none}.settings-trust-lock rect,.settings-trust-lock path{fill:none;stroke:var(--accent);stroke-width:2}.settings-trust-text{margin:0;font-size:.85rem;line-height:1.4;color:var(--text)}.settings-section{display:flex;flex-direction:column;gap:12px;background:var(--surface);border:none;border-radius:var(--radius);box-shadow:var(--shadow);padding:var(--gap)}.settings-section>h2{margin:0;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;min-height:44px;box-sizing:border-box}.settings-row+.settings-row{border-top:1px solid var(--divider)}.settings-row-label{font-weight:600}.settings-segment{display:inline-flex;background:var(--surface-2);border-radius:999px;padding:3px}.settings-segment-btn{font:inherit;font-size:.8rem;font-weight:600;cursor:pointer;border:none;background:transparent;color:var(--text-muted);border-radius:999px;padding:6px 14px;min-height:34px;transition:background .12s ease,color .12s ease}.settings-segment-btn:hover{background:transparent;color:var(--text)}.settings-segment-btn.is-active,.settings-segment-btn.is-active:hover{background:var(--surface);color:var(--text);font-weight:700;box-shadow:0 1px 2px #16282c1f}.settings-subsection{display:flex;flex-direction:column;gap:10px;padding-top:12px;border-top:1px solid var(--divider)}.settings-subsection>h3{margin:0;font-size:.95rem;font-weight:600;color:var(--text-muted)}.settings-choice{display:flex;flex-wrap:wrap;gap:8px}.settings-choice button{border-radius:999px}.settings-choice button:not(.primary):not(.danger){border:none;background:var(--surface-2);color:var(--text);box-shadow:var(--pill-shadow)}.settings-choice button:not(.primary):not(.danger):hover{background:var(--surface-2);filter:brightness(.97)}.settings-choice button[aria-current=true]{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}.settings-section .export-tag-filter{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:4px}.settings-section .export-tag-filter:empty{display:none;margin:0}.settings-field{display:flex;flex-direction:column;gap:4px}.settings-field-label{font-size:.85rem;font-weight:600;color:var(--text-muted)}.settings-pack-filename{width:100%;min-width:0}.settings-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.settings-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;min-height:44px;box-sizing:border-box;border-bottom:1px solid var(--divider)}.settings-list-row:last-child{border-bottom:none}.settings-inline-form{display:flex;flex-direction:column;gap:10px;padding-top:12px;border-top:1px solid var(--divider)}.settings-view input[type=text],.settings-view input[type=password],.settings-view select{font:inherit;width:100%;padding:11px 12px;min-height:46px;box-sizing:border-box;border:1.5px solid transparent;border-radius:var(--radius-input);background:var(--bg);color:var(--text)}.settings-view input[type=text]:focus,.settings-view input[type=password]:focus,.settings-view select:focus{border-color:var(--accent);background:var(--surface);outline:none}.settings-view .field{margin-bottom:0;display:flex;flex-direction:column;gap:4px}.settings-view .field label{font-size:.8rem;font-weight:600;color:var(--text-muted);margin:0}button.primary{align-self:flex-start}.settings-wipe-btn{font:inherit;font-weight:700;font-size:.9rem;cursor:pointer;border:none;border-radius:16px;padding:14px;width:100%;background:var(--above-soft);color:var(--above);transition:filter .12s ease}.settings-wipe-btn:hover{background:var(--above-soft);filter:brightness(.96)}.settings-danger-text{color:var(--above);font-weight:600;margin:0}.settings-error{margin:0}.settings-attribution{font-size:.75rem;line-height:1.4}@media(min-width:600px){.settings-inline-form{flex-direction:row;align-items:flex-end}.settings-inline-form .field{flex:1}}.settings-catalog-list{max-height:260px;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius);padding:6px 10px;margin:8px 0}.settings-check-row{display:flex;align-items:center;gap:8px;padding:4px 0;cursor:pointer}.settings-check-row input{width:auto;margin:0}.settings-group{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.settings-group-title{margin:0;padding:14px 18px 6px;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-faint)}.settings-group-body{display:flex;flex-direction:column}.settings-row-nav{border:none;background:transparent;color:var(--text);border-radius:0;text-align:left;width:100%;cursor:pointer}.settings-row-nav:hover{background:var(--bg)}.settings-row-text{display:flex;flex-direction:column;gap:2px;min-width:0}.settings-row-meta{font-size:.82rem;font-weight:400}.settings-row-chevron{flex:0 0 auto;color:var(--text-faint);font-size:1.4rem;line-height:1}select.settings-inline-select{width:auto;min-width:0;min-height:40px;appearance:none;-webkit-appearance:none;border:none;border-radius:999px;padding:8px 34px 8px 14px;font-weight:700;color:var(--text);background-color:var(--surface-2);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7278' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px}:root[data-theme=dark] select.settings-inline-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a6ab' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}:root[data-theme=light] select.settings-inline-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7278' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}.sources-dialog-sep{height:1px;background:var(--divider);margin:2px 0}.sources-row{gap:10px}.sources-name{font:inherit;font-weight:600;text-align:left;border:none;background:transparent;color:var(--text);padding:4px 6px;margin:-4px -6px;border-radius:8px;cursor:pointer;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sources-name:hover{background:var(--bg);color:var(--accent)}.sources-name-text{font-weight:600}.sources-row-side{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.sources-row-meta{font-size:.8rem}.sources-remove{font:inherit;font-size:1.15rem;line-height:1;cursor:pointer;border:none;background:transparent;color:var(--text-faint);width:28px;height:28px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center}.sources-remove:hover{background:var(--above-soft);color:var(--above)}.sources-row-edit{display:flex;align-items:center;gap:8px;flex:1 1 auto;min-width:0}.sources-name-input{flex:1 1 auto;min-width:0}.sources-remove-text{font-weight:600;flex:1 1 auto;min-width:0}.sources-row .sources-confirm-cancel,.sources-row .danger{border-radius:999px;min-height:34px;padding:6px 14px}.sources-row .sources-confirm-cancel{border:none;background:var(--surface-2);color:var(--text);box-shadow:var(--pill-shadow)}.sources-add-form{border-top:none;padding-top:0}.sources-add-form .primary{align-self:stretch;min-height:46px;border-radius:999px;padding:12px 20px;white-space:nowrap}@media(min-width:600px){.sources-add-form .primary{align-self:flex-end}}.sources-name-field:focus-visible,.sources-name-input:focus-visible{box-shadow:0 0 0 3px #1f6e7d59;outline:none}.sources-footer{justify-content:flex-end}.settings-backup-actions{display:flex;flex-wrap:wrap;gap:10px;padding:6px 18px 0}.settings-backup-actions button{min-height:46px;border-radius:999px;padding:12px 20px;font-weight:600}.settings-ghost{border:none;background:var(--surface-2);color:var(--text);box-shadow:var(--pill-shadow)}.settings-ghost:hover{background:var(--surface-2);color:var(--accent)}.settings-note{margin:0;padding:0 18px 16px;font-size:.85rem;line-height:1.4}.settings-backup-pw:not(:empty){padding:0 18px}.settings-danger-card{background:var(--above-soft)}.settings-danger-card .settings-group-title{color:var(--above)}.settings-danger-card .settings-group-body{padding:6px 18px 16px}.settings-footer{display:flex;flex-direction:column;gap:6px;padding:4px 6px 8px}.settings-footer p{margin:0;font-size:.8rem;line-height:1.4}.settings-site a{color:var(--accent);text-decoration:none;font-weight:600}.settings-site a:hover{text-decoration:underline}.import-view{display:flex;flex-direction:column;gap:var(--gap)}.import-dropzone[hidden],.import-format-grid[hidden]{display:none}.import-subtitle{margin:-8px 0 0;font-size:.95rem}.import-segment{display:inline-flex;align-self:flex-start;background:var(--surface-2);border-radius:999px;padding:3px}.import-segment-btn{font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;border:none;background:transparent;color:var(--text-muted);border-radius:999px;padding:8px 18px;min-height:40px;transition:background .12s ease,color .12s ease}.import-segment-btn:hover{background:transparent;color:var(--text)}.import-segment-btn.is-active,.import-segment-btn.is-active:hover{background:var(--surface);color:var(--text);font-weight:700;box-shadow:0 1px 2px #16282c1f}.import-dropzone{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:40px 24px;border:2px dashed var(--switch-off);border-radius:20px;background:var(--surface);cursor:pointer;transition:background .15s ease,border-color .15s ease}.import-dropzone:hover,.import-dropzone.is-dragover{border-color:var(--accent);background:var(--accent-soft)}.import-dropzone-tile{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:18px;background:var(--accent-soft);transition:transform .15s ease}.import-dropzone.is-dragover .import-dropzone-tile{transform:scale(1.08)}.import-dropzone-icon{width:30px;height:30px;color:var(--accent)}.import-dropzone-title{margin:0;font-weight:700;font-size:1.05rem}.import-dropzone-hint{margin:0;font-size:.85rem}.import-pick-btn{display:inline-flex;align-items:center;justify-content:center;margin-top:4px;border-radius:999px;padding:.6em 1.4em;font-weight:700;min-height:44px;background:var(--accent);color:var(--accent-contrast)}.import-format-grid{display:grid;gap:12px;grid-template-columns:1fr}@media(min-width:500px){.import-format-grid{grid-template-columns:repeat(2,1fr)}}@media(min-width:900px){.import-format-grid{grid-template-columns:repeat(4,1fr)}}.format-card{display:flex;align-items:center;gap:12px;text-align:left;padding:14px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow)}.format-card:hover{background:var(--surface);box-shadow:var(--shadow-hover);border-color:var(--accent)}.format-card-tile{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--accent-soft)}.format-card-tag{font-size:.72rem;font-weight:800;letter-spacing:.02em;color:var(--accent)}.format-card-body{display:flex;flex-direction:column;min-width:0;gap:2px}.format-card-name{font-weight:700;font-size:.95rem}.format-card-desc{font-size:.8rem}.import-known-row,.import-offer-row{display:flex;align-items:center;gap:12px}.import-known-text{display:flex;flex-direction:column;gap:2px;flex:1 1 auto;min-width:0}.import-known-label{font-weight:600}.import-known-hint{font-size:.82rem}.import-footer{margin:0;font-size:.82rem;text-align:center}.import-history{display:flex;flex-direction:column;gap:8px}.import-history-title{margin:0;font-size:1rem}.import-history-empty{margin:0;font-size:.9rem}.import-history-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.import-history-row{display:flex;align-items:center;gap:12px}.import-history-row.is-confirming{flex-direction:column;align-items:stretch}.import-history-text{display:flex;flex-direction:column;gap:2px;flex:1 1 auto;min-width:0}.import-history-name{font-weight:600;overflow-wrap:anywhere}.import-history-meta{font-size:.82rem}.import-history-undo{flex:0 0 auto}.import-history-also-metrics{display:flex;align-items:center;gap:8px;font-size:.9rem;cursor:pointer}.import-pending-banner{display:block;width:100%;text-align:left;border:none;border-radius:16px;background:var(--accent-soft);color:var(--accent-deep);font-weight:700;padding:14px 18px;margin:4px 0 12px}.import-pending-banner:hover{background:var(--accent-soft);box-shadow:var(--shadow-hover)}.import-filter-view{display:flex;flex-direction:column;gap:var(--gap)}.import-filter-file{margin:-8px 0 0;font-size:.95rem}.import-filter-empty{margin:0}.import-filter-section{display:flex;flex-direction:column;gap:10px}.import-filter-section-title{margin:8px 0 0;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.import-filter-segment{display:inline-flex;align-self:flex-start;flex-wrap:wrap;background:var(--surface-2);border-radius:999px;padding:3px}.import-filter-segment-btn{font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;border:none;background:transparent;color:var(--text-muted);border-radius:999px;padding:8px 18px;min-height:40px;transition:background .12s ease,color .12s ease}.import-filter-segment-btn:hover{color:var(--text)}.import-filter-segment-btn.is-active,.import-filter-segment-btn.is-active:hover{background:var(--surface);color:var(--text);font-weight:700;box-shadow:0 1px 2px #16282c1f}.import-filter-custom{display:flex;flex-wrap:wrap;gap:12px}.import-filter-custom[hidden]{display:none}.import-filter-date-field{display:flex;flex-direction:column;gap:3px}.import-filter-date-label{font-size:.78rem}.import-filter-date{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:8px 16px;min-height:40px}.import-filter-summary{margin:0;font-size:.88rem}.import-filter-note{margin:-4px 0 0;font-size:.82rem;font-weight:600;color:var(--accent)}.import-filter-metric-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.import-filter-search{flex:1 1 180px;min-width:0}.import-filter-ghost{font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:8px 14px;min-height:40px}.import-filter-ghost:hover{border-color:var(--accent)}.import-filter-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:4px}.import-filter-tags:empty{display:none;margin:0}.import-filter-list{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}.import-filter-row{display:flex;align-items:center;gap:12px;padding:12px 14px;cursor:pointer;border-top:1px solid var(--border)}.import-filter-row:first-child{border-top:none}.import-filter-row[hidden]{display:none}.import-filter-row--empty{cursor:default;opacity:.6}.import-filter-text{display:flex;flex-direction:column;gap:1px;min-width:0}.import-filter-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.import-filter-name{font-weight:600}.import-filter-unresolved{font-size:.72rem;background:var(--warn-soft, var(--surface-2));color:var(--text-muted)}.import-filter-meta{font-size:.8rem}.import-filter-footer{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:center}.import-filter-continue:disabled{background:var(--switch-off);border-color:var(--switch-off);color:var(--text-faint);box-shadow:none;opacity:1;cursor:default}.export-view{display:flex;flex-direction:column;gap:var(--gap)}.export-subtitle{margin:-8px 0 0;font-size:.95rem}.export-section{display:flex;flex-direction:column;gap:10px}.export-section-title{margin:8px 0 0;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.export-metric-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.export-search{flex:1 1 180px;min-width:0}.export-ghost{font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:8px 14px;min-height:40px}.export-ghost:hover{border-color:var(--accent)}.export-filename-field{display:block}.export-filename{width:100%;min-width:0}.export-metric-list{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}.export-metric-row{display:flex;align-items:center;gap:12px;padding:12px 14px;cursor:pointer;border-top:1px solid var(--border)}.export-metric-row:first-child{border-top:none}.export-metric-row[hidden]{display:none}.export-metric-text{display:flex;flex-direction:column;gap:1px;min-width:0}.export-metric-name{font-weight:600}.export-metric-count{font-size:.8rem}.export-empty{margin:0}.export-segment{display:inline-flex;align-self:flex-start;flex-wrap:wrap;background:var(--surface-2);border-radius:999px;padding:3px}.export-segment-btn{font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;border:none;background:transparent;color:var(--text-muted);border-radius:999px;padding:8px 18px;min-height:40px;transition:background .12s ease,color .12s ease}.export-segment-btn:hover{color:var(--text)}.export-segment-btn.is-active,.export-segment-btn.is-active:hover{background:var(--surface);color:var(--text);font-weight:700;box-shadow:0 1px 2px #16282c1f}.export-mode-segment{margin-bottom:4px}.export-period-box,.export-snapshot-box{display:flex;flex-direction:column;gap:8px}.export-period-box[hidden],.export-snapshot-box[hidden]{display:none}.export-asof-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.export-asof-today{font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:8px 16px;min-height:40px}.export-asof-today:hover{border-color:var(--accent)}.export-asof-today.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--text);font-weight:700}.export-asof-date{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:8px 16px;min-height:40px}.export-asof-hint{margin:0;font-size:.82rem}.export-metric-note{font-size:.8rem}.export-metric-note[hidden]{display:none}.export-format-grid{display:grid;gap:12px;grid-template-columns:1fr}@media(min-width:500px){.export-format-grid{grid-template-columns:repeat(3,1fr)}}.export-format-card{cursor:pointer}.export-format-card.is-selected,.export-format-card.is-selected:hover{border-color:var(--accent);background:var(--accent-soft);box-shadow:var(--shadow-hover)}.export-footer{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.export-run:disabled{background:var(--switch-off);border-color:var(--switch-off);color:var(--text-faint);box-shadow:none;opacity:1;cursor:default}.export-hint{margin:0;font-size:.82rem}.export-tag-filter{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:4px}.export-tag-filter:empty{display:none;margin:0}.compare-section{margin:0 0 calc(var(--gap) * 1.25)}.compare-section h2{font-size:.95rem;font-weight:600;margin:0 0 8px}.compare-hint{margin-top:0}.compare-metric-list{display:flex;flex-wrap:wrap;gap:8px}.compare-metric-list .chip{font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;border:none;border-radius:999px;padding:7px 14px;min-height:34px;background:var(--surface);color:var(--text-muted);box-shadow:var(--pill-shadow)}.compare-metric-list .chip:hover{background:var(--surface-2)}.compare-metric-list .chip.is-active{font-weight:700;background:var(--text);color:var(--surface);box-shadow:none}.compare-metric-list .chip.is-active:hover{background:var(--text)}.compare-period-label{display:block;margin:0 0 6px;color:var(--text-muted)}.compare-charts{display:flex;flex-direction:column;gap:var(--gap);margin:0 0 calc(var(--gap) * 1.25)}.compare-chart-card{display:flex;flex-direction:column;gap:8px}.compare-chart-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.compare-chart-name{font-size:.9rem;font-weight:600}.compare-chart-trend{font-size:.8rem}.compare-chart{width:100%}.compare-corr-value{font-weight:600}.compare-corr-hint{font-size:.8rem}.compare-export-actions{display:flex;flex-wrap:wrap;gap:8px}.metrics-view{display:flex;flex-direction:column;gap:14px;max-width:var(--content-max);margin:0 auto;padding:var(--gap)}.metrics-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.metrics-heading{display:flex;flex-direction:column;gap:2px;min-width:0}.metrics-heading>h1{margin:8px 0 0;font-size:1.75rem;font-weight:800;letter-spacing:-.02em;line-height:1.15}.metrics-subtitle{margin:0;font-size:.95rem}.metrics-add{flex:0 0 auto;width:44px;height:44px;min-height:44px;border-radius:50%;border:none;font-size:1.6rem;line-height:1;font-weight:400;padding:0;display:flex;align-items:center;justify-content:center;box-shadow:var(--fab-shadow);margin-top:6px}.metrics-add:hover{background:var(--accent)}.metrics-search{font:inherit;width:100%;box-sizing:border-box;padding:12px 16px;min-height:46px;border:1.5px solid transparent;border-radius:999px;background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.metrics-search::placeholder{color:var(--text-faint)}.metrics-search:focus{border-color:var(--accent);outline:none}.metrics-segment{display:inline-flex;align-self:flex-start;background:var(--surface-2);border-radius:999px;padding:3px}.metrics-segment-btn{font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;border:none;background:transparent;color:var(--text-muted);border-radius:999px;padding:8px 16px;min-height:40px;transition:background .12s ease,color .12s ease}.metrics-segment-btn:hover{background:transparent;color:var(--text)}.metrics-segment-btn.is-active,.metrics-segment-btn.is-active:hover{background:var(--surface);color:var(--text);font-weight:700;box-shadow:0 1px 2px #16282c1f}.metrics-list{padding:4px var(--gap)}.metrics-empty{margin:0;padding:16px 0;text-align:center}.metric-row-wrap+.metric-row-wrap{border-top:1px solid var(--divider)}.metric-row{display:flex;align-items:center;gap:12px;min-height:56px;border-radius:var(--radius-input);transition:background .12s ease}@media(hover:hover){.metric-row:hover{background:var(--surface-2)}}.metric-row-open{flex:1 1 auto;min-width:0;border:none;background:transparent;padding:10px 0;text-align:left;border-radius:var(--radius-input)}.metric-row-open:hover{background:transparent}.metric-row-text{display:flex;flex-direction:column;gap:2px;min-width:0}.metric-row-name{font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric-row-meta{font-size:.82rem}.metric-row-chevron{flex:0 0 auto;width:36px;height:44px;min-height:44px;border:none;background:transparent;color:var(--text-faint);font-size:1.4rem;line-height:1;padding:0;transition:transform .15s ease,color .12s ease}.metric-row-chevron[aria-expanded=true]{transform:rotate(90deg)}.metric-row-chevron:hover{background:transparent;color:var(--text-muted)}.metric-detail{display:flex;flex-direction:column;gap:8px;padding:4px 0 16px}.metric-detail-line{display:flex;gap:8px;font-size:.85rem}.metric-detail-label{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.metric-detail-value{color:var(--text)}.metric-detail-remove{display:flex;flex-direction:column;gap:8px;margin-top:8px;padding-top:12px;border-top:1px solid var(--border, rgba(0, 0, 0, .08));align-items:flex-start}.metric-remove:disabled{opacity:.5;cursor:not-allowed}.metric-remove-hint{font-size:.8rem;margin:0}.metric-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.metric-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:var(--accent-soft);color:var(--text);font-size:.85rem;border:none}.metric-chip-remove{border:none;background:transparent;color:var(--text-muted);font-size:1.05rem;line-height:1;padding:0;width:20px;height:20px;min-height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}.metric-chip-remove:hover{background:#00000014;color:var(--text)}.metric-chip-add{cursor:pointer;background:transparent;color:var(--accent);font-weight:600;border:1.5px dashed var(--switch-off)}.metric-chip-add:hover{background:var(--accent-soft);border-color:var(--accent)}.metric-chip-editor{padding:2px 4px 2px 10px}.metric-chip-input{font:inherit;font-size:.85rem;border:none;background:transparent;color:var(--text);min-width:8rem;padding:4px 0}.metric-chip-input:focus{outline:none}.metric-codes{display:flex;flex-direction:column;gap:6px}.metric-code-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.85rem}.metric-code-label{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);min-width:3.2rem}.metric-code-value{color:var(--text)}.metric-code-value.is-empty{color:var(--text-muted);font-style:italic}.metric-code-system{text-transform:none;letter-spacing:0}.metric-code-system-input{min-width:6rem}.metric-code-edit{margin-left:auto;cursor:pointer;background:transparent;color:var(--accent);font:inherit;font-size:.8rem;font-weight:600;border:none;padding:2px 4px}.metric-code-edit:hover{text-decoration:underline}.metric-code-input{font:inherit;font-size:.85rem;border:1px solid var(--switch-off);border-radius:8px;background:var(--surface);color:var(--text);padding:4px 8px;min-width:8rem}.metric-code-input:focus{outline:none;border-color:var(--accent)}.metric-code-error{flex-basis:100%;color:var(--danger, #c0392b);font-size:.78rem}.modal-box .field{margin-bottom:0}.modal-box .field[hidden]{display:none}.modal-box .modal-subhead{margin:4px 0 0;font-size:.85rem;font-weight:600;color:var(--text-muted)}.metric-chip-confirm{border:none;background:transparent;color:var(--accent);font-size:.95rem;line-height:1;padding:0 2px;width:22px;height:22px;min-height:22px;border-radius:50%}.metric-chip-confirm:hover{background:var(--accent-soft)}.metrics-pack-row{display:flex;flex-wrap:wrap;gap:10px}.metrics-ghost{flex:1 1 auto;font:inherit;font-weight:600;cursor:pointer;border:none;background:var(--surface);color:var(--text);border-radius:999px;padding:12px 18px;min-height:46px;box-shadow:var(--pill-shadow)}.metrics-ghost:hover{background:var(--surface);color:var(--accent)}.metrics-tools:empty{display:none}.metrics-packs-card{padding:4px var(--gap) var(--gap)}.metrics-packs-title{margin:14px 0 4px;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-faint)}.metrics-packs-empty{margin:8px 0 4px}.metrics-pack-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;min-height:44px}.metrics-pack-item+.metrics-pack-item{border-top:1px solid var(--divider)}.metrics-pack-item.is-confirming{flex-direction:column;align-items:stretch}.metrics-pack-item.is-confirming>p{margin:0}.metrics-pack-text{display:flex;flex-direction:column;gap:2px;min-width:0}.metrics-pack-name{font-weight:600;color:var(--text);overflow-wrap:anywhere}.metrics-pack-count{font-size:.82rem}.metrics-pack-remove{flex:0 0 auto;font:inherit;font-weight:600;font-size:.85rem;cursor:pointer;border:none;background:var(--surface-2);color:var(--text-muted);border-radius:999px;padding:8px 14px;min-height:40px}.metrics-pack-remove:hover{background:var(--surface-2);color:var(--danger)}.metrics-bundled-item{display:flex;flex-direction:column;padding:4px 0}.metrics-bundled-item+.metrics-bundled-item{border-top:1px solid var(--divider)}.metrics-bundled-item.is-confirming{gap:8px;padding:12px 0}.metrics-pack-head{display:flex;align-items:center;gap:12px;min-height:52px}.metrics-pack-open{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:8px;border:none;background:transparent;padding:8px 0;text-align:left;border-radius:var(--radius-input);cursor:pointer}.metrics-pack-open:hover{background:transparent}.metrics-pack-open .metrics-pack-text{flex:1 1 auto}.metrics-pack-chevron{flex:0 0 auto;color:var(--text-faint);font-size:1.3rem;line-height:1;transition:transform .15s ease}.metrics-pack-open[aria-expanded=true] .metrics-pack-chevron{transform:rotate(90deg)}.metrics-pack-confirm-text{margin:0}.metrics-pack-preview{display:flex;flex-direction:column;gap:2px;padding:4px 0 12px}.metrics-pack-preview-item{display:flex;align-items:baseline;gap:8px;padding:4px 0;font-size:.9rem}.metrics-pack-preview-name{color:var(--text)}.metrics-pack-preview-unit{font-size:.8rem}.metrics-pack-preview-have{margin-left:auto;font-size:.8rem;white-space:nowrap}.metrics-pack-fullhave.tag-chip--mini{align-self:flex-start;color:var(--accent-deep)}.metrics-pack-fullhint{margin:0 0 4px;font-size:.82rem}dialog.modal input[type=text],dialog.modal select:not(.settings-inline-select){font:inherit;width:100%;padding:11px 12px;min-height:46px;box-sizing:border-box;border:1.5px solid transparent;border-radius:var(--radius-input);background:var(--bg);color:var(--text)}dialog.modal input[type=text]:focus,dialog.modal select:not(.settings-inline-select):focus{border-color:var(--accent);background:var(--surface);outline:none}dialog.modal .field label{font-size:.8rem;font-weight:600;color:var(--text-muted);margin-bottom:4px}.metrics-tag-filter{display:flex;flex-wrap:wrap;gap:6px}.metrics-tag-filter:empty{display:none}.metric-row-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}
