:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--surface:#fff;--page-background:none;--dark-page-background:radial-gradient(circle at 1px 1px, #94b4e00d .7px, transparent 1px) 0 0 / 26px 26px repeat, radial-gradient(ellipse 34% 32% at 0% 0%, #1b2c4461, transparent 75%), radial-gradient(ellipse 30% 28% at 100% 100%, #19243a38, transparent 75%), linear-gradient(#000, #000);--foreground:#000;--border:#e4e4e7;--border-strong:#d4d4d8;--muted:#52525b;--surface-raised:#f4f4f5;--secondary:#3f3f46;--subtle:#71717a;--control-border:#a1a1aa;--danger:#b91c1c;--positive:#15803d;--panel-shadow:#00000014}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--surface:#000;--page-background:var(--dark-page-background);--foreground:#fafafa;--border:#27272a;--border-strong:#3f3f46;--muted:#a1a1aa;--surface-raised:#18181b;--secondary:#d4d4d8;--subtle:#a1a1aa;--control-border:#52525b;--danger:#fca5a5;--positive:#86efac;--panel-shadow:#0008}}*{box-sizing:border-box}.theme-selector{right:max(12px, env(safe-area-inset-right));bottom:max(12px, env(safe-area-inset-bottom));z-index:10;color:var(--subtle);align-items:center;gap:4px;display:flex;position:fixed}.chart-controls{align-items:center;gap:4px;display:flex}.snapshot-trigger:disabled{cursor:wait;opacity:.3}.snapshot-feedback{background:var(--surface);width:max-content;max-width:min(320px,100vw - 32px);color:var(--subtle);border-radius:8px;padding:8px 12px;font-size:12px;position:absolute;bottom:38px;right:0;box-shadow:0 2px 12px #0002}.theme-trigger{width:28px;height:28px;color:inherit;cursor:pointer;opacity:.65;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;transition:opacity .15s;display:grid}.theme-trigger:hover,.theme-trigger:focus-visible,.theme-trigger[aria-expanded=true],.theme-trigger[aria-pressed=true]{opacity:1}.chart-unit-toggle[aria-pressed=true]{color:#f7931a}.bitcoin-history-note{color:var(--muted);margin:0 8px 8px;font-size:11px}.theme-options{border:1px solid var(--border);background:var(--surface);border-radius:7px;min-width:116px;padding:4px;display:grid;position:absolute;bottom:34px;right:0}.theme-options button{color:var(--muted);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:4px;padding:8px 10px;font-size:12px}.theme-options button:hover,.theme-options button[aria-pressed=true]{background:var(--surface-raised);color:var(--foreground)}.theme-selector button:focus-visible{outline-offset:2px;outline:2px solid #10b981}html,body{min-height:100%}body{background:var(--surface);color:var(--foreground);-webkit-font-smoothing:antialiased;isolation:isolate;margin:0;font-family:Arial,Helvetica,sans-serif;position:relative}body:before{content:"";z-index:0;background:var(--page-background);pointer-events:none;position:fixed;inset:0}.login-shell{background:var(--surface);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:var(--surface);width:min(100%,380px);box-shadow:none;border:0;border-radius:12px;padding:30px}.login-mark{border:1px solid var(--border-strong);width:34px;height:34px;color:var(--foreground);border-radius:9px;place-items:center;margin-bottom:28px;font-size:18px;font-weight:600;display:grid}.login-card h1{font-size:22px}.login-card p{color:var(--muted);margin:10px 0 24px;font-size:13px;line-height:1.5}.login-card form{gap:12px;display:grid}.login-card input{border:1px solid var(--border-strong);background:var(--surface-raised);width:100%;color:var(--foreground);font:inherit;border-radius:7px;outline:0;padding:12px 13px}.login-card input:focus{border-color:var(--muted)}.login-card button{background:var(--foreground);color:var(--surface);cursor:pointer;font:inherit;border:0;border-radius:7px;padding:12px 13px;font-size:13px;font-weight:600}.login-error{color:var(--danger)!important;margin:0 0 14px!important}:is(html:has(.dashboard-shell),body:has(.dashboard-shell)){overscroll-behavior:none;height:100%;overflow:hidden}.dashboard-shell{background:var(--surface);grid-template-rows:minmax(0,1fr);height:100dvh;min-height:0;padding:0;display:grid}@media (min-width:601px){.dashboard-shell{width:100%;padding-block:24px}}.portfolio-card{background:var(--surface);width:100%;min-width:0;box-shadow:none;min-height:0;padding-bottom:max(8px, env(safe-area-inset-bottom));border:0;border-radius:12px;flex-direction:column;display:flex;overflow:hidden}.portfolio-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;padding:27px 28px 25px;display:flex}.eyebrow{color:var(--muted);letter-spacing:.13em;align-items:center;gap:8px;margin:0 0 10px;font-size:10px;font-weight:600;display:flex}.eyebrow span{background:var(--foreground);border-radius:999px;width:6px;height:6px}h1{letter-spacing:-.025em;margin:0;font-size:20px;font-weight:500}.live-badge{border:1px solid var(--border);color:var(--muted);border-radius:999px;flex:none;align-items:center;gap:8px;padding:7px 10px;font-size:11px;display:inline-flex}.live-badge i{background:#22c55e;border-radius:50%;width:6px;height:6px;box-shadow:0 0 10px #22c55e99}.total{flex:none;padding:27px 28px 21px}.total-heading{align-items:center;gap:10px;display:flex}.total-row{flex-wrap:wrap;align-items:center;gap:8px 20px;display:flex}.total-row .live-badge{margin-left:auto}.total span,.total small{color:var(--muted);font-size:12px;display:block}.total strong{letter-spacing:-.05em;margin:7px 0;font-size:clamp(30px,5vw,50px);font-weight:500;display:block}.chart-card{background:var(--surface);border:0;border-radius:8px;flex-direction:column;flex:1;min-height:0;margin:0 12px;padding:20px 16px 12px;display:flex}.chart-meta{color:var(--muted);justify-content:space-between;padding:0 8px;font-size:11px;display:flex}.positive{color:var(--positive)}.negative{color:var(--danger)}.chart-frame{flex:1;min-height:0;margin-top:8px}.chart-grid{stroke:var(--border);stroke-width:1px;stroke-dasharray:3 6}.equity-line{fill:none;stroke:var(--foreground);stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round}.equity-point{fill:var(--foreground);stroke:var(--surface-raised);stroke-width:3px}.chart-axis{color:var(--subtle);justify-content:space-between;padding:1px 8px 0;font-size:10px;display:flex}.empty-chart{min-height:0;color:var(--muted);text-align:center;flex:1;place-items:center;padding:12px;font-size:13px;display:grid}.error{color:var(--danger)}@media (max-width:600px){.dashboard-shell{padding:0}.portfolio-header{flex-direction:column;align-items:flex-start;gap:15px;padding:21px 18px}.total{flex:none;padding:24px 18px 18px}.chart-card{min-height:0;margin:0 7px;padding:16px 7px 10px}.live-badge{font-size:10px}}.total-values{flex-direction:column;align-items:flex-start;min-width:0;display:flex}.total-row .total-values{flex:1}.total-row .total-values strong{overflow-wrap:anywhere}.lightweight-frame{min-height:0;position:relative}.chart-value-toggle{font:inherit;font-size:12px;font-weight:500}.chart-value-toggle:disabled{opacity:.3;cursor:default}.lightweight-canvas{position:absolute;inset:0}.chart-touch-tooltip{z-index:2;border:1px solid var(--border);background:var(--surface);color:var(--foreground);pointer-events:none;font-variant-numeric:tabular-nums;border-radius:6px;gap:4px;padding:8px 10px;font-size:12px;display:none;position:absolute;top:44px;left:8px}.chart-touch-tooltip span{color:var(--muted);font-size:10px}.chart-touch-tooltip strong{font-weight:500}@media (max-width:600px){.chart-touch-tooltip{display:grid}}.chart-attribution{color:var(--subtle);padding-top:7px;font-size:9px}.chart-attribution a{color:inherit;text-decoration:none}.chart-settings{right:max(16px, env(safe-area-inset-right));bottom:max(16px, env(safe-area-inset-bottom));z-index:10;position:fixed}.settings-trigger{border:1px solid var(--border);background:var(--surface);width:36px;height:36px;color:var(--subtle);cursor:pointer;border-radius:50%;place-items:center;margin-left:auto;display:grid}.settings-trigger:hover,.settings-trigger[aria-expanded=true]{color:var(--foreground);border-color:var(--control-border)}.settings-panel{border:1px solid var(--border-strong);background:var(--surface-raised);width:min(300px,100vw - 32px);max-height:calc(100dvh - 84px);box-shadow:0 8px 30px var(--panel-shadow);color:var(--secondary);border-radius:10px;margin-bottom:10px;padding:16px;font-size:12px;overflow-y:auto}.settings-heading{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.settings-heading strong{font-size:13px;font-weight:500}.settings-heading button{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:4px;font-size:22px}.settings-panel label{justify-content:space-between;align-items:center;gap:16px;margin:14px 0;display:flex}.settings-panel input[type=color]{border:1px solid var(--control-border);cursor:pointer;background:0 0;border-radius:4px;width:40px;height:28px;padding:2px}.settings-panel input[type=checkbox]{width:16px;height:16px;accent-color:var(--muted);cursor:pointer}.settings-panel select{border:1px solid var(--control-border);background:var(--border);color:var(--foreground);border-radius:4px;padding:5px 8px}.settings-panel p{color:var(--muted);margin:16px 0;font-size:11px;line-height:1.5}.settings-reset{border:1px solid var(--control-border);color:var(--secondary);font:inherit;cursor:pointer;background:0 0;border-radius:5px;padding:7px 10px}.chart-settings button:focus-visible,.chart-settings input:focus-visible,.chart-settings select:focus-visible{outline-offset:2px;outline:2px solid #10b981}.portfolio-snapshot{background:var(--surface);flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.chart-legend{color:var(--muted);flex-wrap:wrap;gap:16px;padding:0 8px;font-size:11px;display:flex}.chart-legend button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:4px 0;display:inline-flex}.chart-legend button[aria-pressed=false]{opacity:.4}.chart-legend button:focus-visible{outline-offset:3px;border-radius:2px;outline:2px solid #10b981}.chart-legend i{border-radius:2px;width:14px;height:3px}.login-shell,.dashboard-shell,.portfolio-card,.portfolio-snapshot,.chart-card{background:0 0}body>.login-shell,body>.dashboard-shell{z-index:1;position:relative}@media (max-height:500px){.dashboard-shell{padding-block:0}.total{padding:8px 18px}.total strong{margin-block:2px;font-size:30px}.chart-card{padding-block:4px}}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--surface:#fff;--page-background:none;--foreground:#000;--border:#e4e4e7;--border-strong:#d4d4d8;--muted:#52525b;--surface-raised:#f4f4f5;--secondary:#3f3f46;--subtle:#71717a;--control-border:#a1a1aa;--danger:#b91c1c;--positive:#15803d;--panel-shadow:#00000014;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root[data-theme=light]{--lightningcss-light: ;--lightningcss-dark:initial}}:root[data-theme=dark]{--surface:#000;--page-background:var(--dark-page-background);--foreground:#fafafa;--border:#27272a;--border-strong:#3f3f46;--muted:#a1a1aa;--surface-raised:#18181b;--secondary:#d4d4d8;--subtle:#a1a1aa;--control-border:#52525b;--danger:#fca5a5;--positive:#86efac;--panel-shadow:#0008;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (max-width:600px){.dashboard-shell{height:calc(var(--app-viewport-height,100dvh) - 45px)}.theme-selector,.chart-settings{bottom:max(45px, env(safe-area-inset-bottom))}.settings-panel{max-height:calc(var(--app-viewport-height,100dvh) - 129px)}}
