*,:before,:after{box-sizing:border-box}:root,[data-share-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f5f7;--sidebar:#0c0c0f;--sidebar-soft:#16161b;--surface:#fff;--surface-muted:#f3f3f6;--surface-raised:#fff;--text:#16171d;--muted:#6b6c7b;--strong-muted:#464759;--line:#e7e7ed;--line-strong:#cdced9;--float-line:#e3e3ea;--field:#fcfcfd;--control:#fff;--control-hover:#f4f4f7;--control-ring:#16171d1a;--control-ring-hover:#16171d2e;--shadow-control:0 1px 2px #16171d0d;--primary-sheen:inset 0 1px 0 #ffffff2e;--positive:#089981;--positive-soft:#e5f4f1;--negative:#f23645;--negative-soft:#fde8ea;--plan-none:#eceef3;--plan-unrated:#b9bfcc;--plan-blue:#2f6bed;--plan-skipped:color-mix(in srgb, var(--plan-blue) 12%, transparent);--plan-fair:color-mix(in srgb, var(--plan-blue) 38%, transparent);--plan-good:color-mix(in srgb, var(--plan-blue) 68%, transparent);--plan-perfect:var(--plan-blue);--accent:#7950d3;--accent-strong:#6941bf;--accent-soft:#7950d317;--positive-text:#067a67;--negative-text:#c8202f;--warning-text:#895400;--on-accent:#fff;--warning:#d97706;--discipline-line:#0891b2;--donut-cat-1:#6250d6;--donut-cat-2:#eb6834;--donut-cat-3:#2a78d6;--donut-cat-4:#eda100;--donut-cat-5:#e87ba4;--donut-other:#a1a1aa;--donut-pos-1:#036a34;--donut-pos-2:#047f3f;--donut-pos-3:#07944b;--donut-pos-4:#0aaa57;--donut-pos-5:#02c063;--donut-neg-1:#c4042c;--donut-neg-2:#df1f39;--donut-neg-3:#f63d4c;--donut-neg-4:#ff676a;--donut-neg-5:#fe8e8c;--shadow-flat:0 1px 2px #16171d0a, 0 1px 1px #16171d05;--shadow-hover:0 10px 24px -10px #16171d29, 0 2px 6px -2px #16171d0f;--shadow-raised:0 16px 36px -12px #16171d2e, 0 4px 10px -4px #16171d14;--shadow-overlay:0 40px 96px -24px #0c0c1461, 0 14px 32px -14px #0c0c1433;--shadow:var(--shadow-flat);--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:24px;--text-2xs:12px;--text-xs:12px;--text-sm:14px;--text-base:14px;--text-md:16px;--text-lg:20px;--text-xl:20px;--text-2xl:24px;--text-3xl:32px;--text-4xl:32px;--leading-tight:1.15;--leading-snug:1.3;--leading-normal:1.5;--weight-normal:400;--weight-medium:500;--weight-semibold:500;--weight-bold:600;--weight-black:700;--space-3xs:4px;--space-2xs:4px;--space-xs:8px;--space-sm:8px;--space-md:12px;--space-base:12px;--space-lg:16px;--space-xl:16px;--space-2xl:24px;--space-3xl:24px;--space-4xl:24px;--space-5xl:32px;--space-6xl:32px;--ease:cubic-bezier(.2, .8, .2, 1);--ease-entrance:cubic-bezier(.25, .46, .45, .94);--ease-overshoot:cubic-bezier(.2, .8, .2, 1);--dur-fast:.15s;--dur:.22s;--dur-slow:.28s;--ease-out:cubic-bezier(.16, 1, .3, 1);--ease-exit:cubic-bezier(.4, 0, 1, 1);--ease-in-out:cubic-bezier(.65, 0, .35, 1);--dur-exit:.14s;--dur-collapse:.32s;--dur-chart:.9s;font-family:DM Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark],[data-share-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0a0a0d;--sidebar:#060608;--sidebar-soft:#131318;--surface:#121217;--surface-muted:#1a1a21;--text:#f4f4f8;--muted:#9b9dab;--strong-muted:#d0d0da;--line:#23232c;--line-strong:#3a3a48;--float-line:#2f2f3b;--field:#0e0e12;--control:#1a1a21;--control-hover:#22222b;--control-ring:#ffffff14;--control-ring-hover:#ffffff29;--shadow-control:0 1px 2px #0006;--primary-sheen:inset 0 1px 0 #ffffff47;--positive:#089981;--positive-soft:#0899812e;--negative:#f23645;--negative-soft:#f2364529;--plan-none:#ffffff0f;--plan-unrated:#ffffff47;--plan-blue:#5b9bff;--surface-raised:#17171d;--accent:#b496ed;--accent-strong:#cab5f4;--accent-soft:#b496ed21;--positive-text:#4cc9b0;--negative-text:#ff9099;--warning-text:#f2bc65;--on-accent:#20152f;--warning:#f5a524;--discipline-line:#22d3ee;--donut-cat-1:#9085e9;--donut-cat-2:#d95926;--donut-cat-3:#3987e5;--donut-cat-4:#c98500;--donut-cat-5:#d55181;--donut-other:#71717a;--donut-pos-1:#23f884;--donut-pos-2:#0ee176;--donut-pos-3:#0aca69;--donut-pos-4:#07b45c;--donut-pos-5:#049e50;--donut-neg-1:#ffaaa7;--donut-neg-2:#ff8887;--donut-neg-3:#ff6064;--donut-neg-4:#f33949;--donut-neg-5:#dc1937;--shadow-flat:0 1px 2px #00000059;--shadow-hover:0 10px 24px -10px #000000b3, 0 2px 6px -2px #00000073;--shadow-raised:0 16px 36px -12px #000000b3, 0 4px 10px -4px #00000080;--shadow-overlay:0 40px 96px -24px #000c, 0 14px 32px -14px #0009;--shadow:var(--shadow-flat)}:root[data-season=halloween] .wordmark{position:relative}:root[data-season=halloween] .wordmark:before{content:"";transform-origin:50% 90%;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 46'%3E%3Cpath d='M2 38c18-7 38-7 56 0-18 7-38 7-56 0z' fill='%236d44c7'/%3E%3Cpath d='M16 37h28L36 16c3-7 9-11 18-13-12 0-21 4-26 12z' fill='%236d44c7'/%3E%3Cpath d='M17 33h26l-2-6H19z' fill='%23ff8a1f'/%3E%3C/svg%3E") 50%/contain no-repeat;width:.82em;height:.64em;position:absolute;top:-.42em;left:-.06em;transform:rotate(-14deg)}.season-bats{display:none}:root[data-season=halloween] .season-bats{z-index:1;pointer-events:none;display:block;position:fixed;inset:0;overflow:hidden}.season-bats span{background:var(--strong-muted);opacity:0;width:42px;height:20px;animation:7s cubic-bezier(.45,.05,.55,.95) backwards season-bat-fly;position:absolute;left:-48px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 28'%3E%3Cpath d='M30 9c2-4 4-5 5-3 1-2 2-2 3 0 6-6 14-7 22-5-6 3-8 8-7 14-4-3-8-3-11 1-2-3-6-4-9-1-1 3-2 4-3 5-1-1-2-2-3-5-3-3-7-2-9 1-3-4-7-4-11-1 1-6-1-11-7-14 8-2 16-1 22 5 1-2 2-2 3 0 1-2 3-1 5 3z'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 28'%3E%3Cpath d='M30 9c2-4 4-5 5-3 1-2 2-2 3 0 6-6 14-7 22-5-6 3-8 8-7 14-4-3-8-3-11 1-2-3-6-4-9-1-1 3-2 4-3 5-1-1-2-2-3-5-3-3-7-2-9 1-3-4-7-4-11-1 1-6-1-11-7-14 8-2 16-1 22 5 1-2 2-2 3 0 1-2 3-1 5 3z'/%3E%3C/svg%3E") 50%/contain no-repeat}.season-bats span:first-child{animation-delay:.6s;top:14%}.season-bats span:nth-child(2){width:32px;height:15px;animation-duration:8s;animation-delay:1.3s;top:22%}.season-bats span:nth-child(3){width:26px;height:12px;animation-duration:9s;animation-delay:2.1s;top:9%}@keyframes season-bat-fly{0%{opacity:0;translate:0}8%{opacity:.7}30%{translate:32vw -3vh}60%{translate:66vw 2vh}92%{opacity:.7}to{opacity:0;translate:calc(100vw + 96px) -4vh}}@media (prefers-reduced-motion:reduce){:root[data-season=halloween] .season-bats{display:none}*,:before,:after{scroll-behavior:auto!important;animation-name:fade-in!important;animation-iteration-count:1!important}.primary-action:active:not(:disabled),.secondary-action:active:not(:disabled),.danger-action:active:not(:disabled),.ghost-action:active:not(:disabled),.icon-control:active:not(:disabled),.theme-toggle:active:not(:disabled),.filter-toggle-button:active:not(:disabled){transform:none}}.theme-switching,.theme-switching *{transition:none!important}@keyframes enter-up{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes enter-pop{0%{opacity:0;transform:translateY(8px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes drop-in{0%{opacity:0;transform:translateY(-4px)scaleY(.98)}to{opacity:1;transform:translateY(0)scaleY(1)}}@keyframes lift-in{0%{opacity:0;transform:translateY(4px)scaleY(.98)}to{opacity:1;transform:translateY(0)scaleY(1)}}@keyframes expand-from-toggle{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}.primary-action,.secondary-action,.danger-action,.ghost-action,.icon-control,.theme-toggle,.filter-toggle-button{transition:transform 90ms var(--ease)}.primary-action:active:not(:disabled),.secondary-action:active:not(:disabled),.danger-action:active:not(:disabled),.ghost-action:active:not(:disabled),.icon-control:active:not(:disabled),.theme-toggle:active:not(:disabled),.filter-toggle-button:active:not(:disabled){transition-duration:60ms;transform:scale(.98)}.icon-control{border-radius:var(--radius-sm);background:var(--control);width:40px;height:40px;color:var(--strong-muted);box-shadow:inset 0 0 0 1px var(--control-ring), var(--shadow-control);border:0;place-items:center;display:inline-grid}.icon-control:hover{background:var(--control-hover);color:var(--text);box-shadow:inset 0 0 0 1px var(--control-ring-hover), var(--shadow-control)}.icon-control:disabled{cursor:wait;opacity:.55}.metric-grid .metric-card{animation:enter-up var(--dur) var(--ease-entrance) backwards}.metric-grid .metric-card:nth-child(2){animation-delay:40ms}.metric-grid .metric-card:nth-child(3){animation-delay:80ms}.metric-grid .metric-card:nth-child(4){animation-delay:.12s}.metric-grid .metric-card:nth-child(5){animation-delay:.16s}.metric-grid .metric-card:nth-child(n+6){animation-delay:.2s}:root[data-theme=dark] .loading-screen{background:radial-gradient(circle at 30% 20%, var(--accent-soft), transparent 34%), var(--bg)}:root[data-theme=dark] .auth-screen{--auth-bg:#000}:root[data-theme=dark] .auth-field,:root[data-theme=dark] .directory-card dl div,:root[data-theme=dark] .empty-panel,:root[data-theme=dark] .firm-form input,:root[data-theme=dark] .firm-form select,:root[data-theme=dark] .firm-form textarea,:root[data-theme=dark] .firm-form .custom-select-trigger,:root[data-theme=dark] .entity-form input,:root[data-theme=dark] .entity-form select,:root[data-theme=dark] .entity-form textarea,:root[data-theme=dark] .entity-form .custom-select-trigger,:root[data-theme=dark] .onboarding input,:root[data-theme=dark] .journal-breakdown-empty,:root[data-theme=dark] .journal-day,:root[data-theme=dark] .journal-detail-copy,:root[data-theme=dark] .journal-detail-grid div,:root[data-theme=dark] .journal-error-options label,:root[data-theme=dark] .journal-errors-field,:root[data-theme=dark] .journal-money-input,:root[data-theme=dark] .journal-error-type-form input[type=text],:root[data-theme=dark] .journal-operation-dropzone,:root[data-theme=dark] .journal-row,:root[data-theme=dark] .account-row,:root[data-theme=dark] .rich-text-editor{background:var(--field)}:root[data-theme=dark] .chart-axis{stroke:#55626c}:root[data-theme=dark] .chart-axis.muted{stroke:#263139}:root[data-theme=dark] .journal-row-topline span,:root[data-theme=dark] .directory-kicker,:root[data-theme=dark] .status-dot.evaluation,:root[data-theme=dark] .journal-mode-tabs button.active,:root[data-theme=dark] .journal-review-presets button.active,:root[data-theme=dark] .economic-events-presets button.active,:root[data-theme=dark] .account-status-pill.evaluation{background:var(--accent-soft)}:root[data-theme=dark] .state-notice.error{background:#ff7b621a}html{background:var(--bg);min-height:100%}body{background:var(--bg);min-width:0;min-height:100dvh;color:var(--text);font-family:inherit;line-height:var(--leading-normal);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0}h1,h2,h3{line-height:var(--leading-tight);letter-spacing:-.012em}::selection{background:color-mix(in srgb, var(--accent) 24%, transparent)}@media (hover:hover) and (pointer:fine){*{scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}}button,input,select,textarea{font:inherit;min-width:0}button{cursor:pointer}#root{min-height:100dvh}.app-shell{background:var(--bg);grid-template-columns:192px minmax(0,1fr);min-height:100dvh;transition:grid-template-columns .22s;display:grid}.app-shell[data-sidebar=collapsed]{grid-template-columns:64px minmax(0,1fr)}.sidebar{gap:var(--space-2xl);height:100dvh;padding:var(--space-xl) var(--space-md) var(--space-2xl);border-right:1px solid var(--line);background:var(--sidebar);color:#f7f7fb;flex-direction:column;display:flex;position:sticky;top:0}.brand{align-items:center;gap:var(--space-sm);min-height:44px;padding:0 var(--space-3xs) var(--space-md);border-bottom:0;grid-template-columns:minmax(0,1fr) 32px;display:grid}.wordmark{letter-spacing:-.01em;font-family:"Baloo 2",Nunito,system-ui,sans-serif;font-size:34px;font-weight:700;line-height:1;display:block}.brand .wordmark,:root[data-theme=dark] .brand .wordmark{color:color-mix(in srgb, white 80%, var(--accent) 20%)}.sidebar-toggle,.theme-toggle{background:var(--control);width:40px;height:40px;color:var(--strong-muted);box-shadow:inset 0 0 0 1px var(--control-ring), var(--shadow-control);border:0;border-radius:8px;place-items:center;display:inline-grid}.sidebar-toggle{box-shadow:none;color:#d8d2e8;background:#ffffff0b;border-color:#0000;width:32px;height:32px;transition:border-color .16s,background .16s,color .16s}.sidebar-toggle:hover{color:#fff;background:#a779ff24}.nav-trigger,.nav-close{background:var(--control);width:44px;height:44px;color:var(--strong-muted);box-shadow:inset 0 0 0 1px var(--control-ring), var(--shadow-control);border:0;border-radius:10px;place-items:center;display:none}.nav-close{box-shadow:none;color:#d8d2e8;background:#ffffff0b;border-color:#0000}.nav-close:hover{color:#fff;background:#a779ff24}.nav-backdrop{display:none}.topbar-lead{display:contents}.nav-group button,.user-card{align-items:center;gap:var(--space-sm);border-radius:var(--radius-sm);width:100%;min-height:40px;padding:0 var(--space-sm);color:#c9cad3;font-weight:var(--weight-semibold);text-align:left;background:0 0;border:1px solid #0000;margin-top:auto;transition:background .16s,color .16s;display:flex}.nav-group button{font-size:var(--text-sm)}.nav-group button.active{color:#fff;background:#b496ed24}.nav-group button svg{transition:color .16s}.nav-group button:hover svg,.nav-group button.active svg{color:#cab5f4}.nav-group button:hover,.user-card:hover{color:#fff;background:#ffffff0f}.nav-list{gap:var(--space-2xl);min-height:0;display:grid}.nav-group{gap:var(--space-xs);display:grid}.nav-divider{display:none}.nav-group p{padding:0 var(--space-sm);color:#d7d7df94;font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.08em;text-transform:uppercase;margin:4px 0 3px}.user-card{background:linear-gradient(#ffffff0d,#ffffff05);border-color:#ffffff12;min-height:52px;transition:background .16s,border-color .16s,color .16s;box-shadow:inset 0 1px #ffffff0d}.user-card:hover{background:linear-gradient(#ffffff14,#ffffff0a);border-color:#ffffff1f}.user-card[aria-current=page]{background:linear-gradient(#b496ed29,#b496ed14);border-color:#b496ed3d}.user-card>span:first-child{color:#fff;width:32px;height:32px;font-size:var(--text-sm);font-weight:var(--weight-bold);background:linear-gradient(145deg,#9b78ec,#6438c6);border-radius:50%;flex:none;place-items:center;display:inline-grid;box-shadow:inset 0 0 0 1px #ffffff2e,0 2px 8px #7950d359}.user-card>span:nth-child(2){gap:var(--space-3xs);flex:auto;min-width:0;display:grid}.user-card>svg{color:#d7d7df80;transition:color .16s ease, transform .4s var(--ease-out);flex:none}.user-card:hover>svg,.user-card[aria-current=page]>svg{color:#cab5f4}@media (prefers-reduced-motion:no-preference){.user-card:hover>svg{transform:rotate(60deg)}}.user-card strong,.user-card small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.user-card strong{color:#fff;font-size:var(--text-sm)}.user-card small{color:#9ca3af;font-size:var(--text-2xs)}.workspace{--workspace-pad:var(--space-2xl);min-width:0;padding:0 var(--workspace-pad) var(--space-5xl)}.topbar{z-index:20;justify-content:space-between;align-items:center;gap:var(--space-2xl);min-height:78px;margin:0 calc(-1 * var(--workspace-pad)) var(--space-2xl);padding:var(--space-base) var(--workspace-pad);background:color-mix(in srgb, var(--bg) 90%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:0;display:flex;position:sticky;top:0}.topbar h1{color:var(--text);font-size:var(--text-2xl);line-height:var(--leading-tight);letter-spacing:-.025em;font-weight:var(--weight-bold);margin:3px 0 0}.eyebrow{align-items:center;gap:var(--space-xs);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);margin:0;display:flex}.eyebrow:before{content:none;background:var(--accent);width:7px;height:7px;box-shadow:0 0 0 3px var(--accent-soft);border-radius:999px}.sync-status{align-items:center;gap:var(--space-xs);margin-top:var(--space-sm);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);display:inline-flex}.sync-status>span{background:var(--positive);border-radius:999px;width:7px;height:7px}.sync-status.error>span{background:var(--negative)}.topbar-actions{justify-content:flex-end;align-items:center;gap:var(--space-sm);flex-wrap:wrap;min-width:0;display:flex}.topbar-actions>*{flex-shrink:0}.app-shell[data-sidebar-mode=auto]{grid-template-columns:64px minmax(0,1fr)}.app-shell[data-sidebar-mode=auto] .sidebar{z-index:40;width:64px;transition:width .14s var(--ease-out), box-shadow .14s var(--ease-out);overflow-x:clip}.app-shell[data-sidebar-mode=auto][data-sidebar=expanded] .sidebar{width:192px;box-shadow:var(--shadow-overlay);transition-duration:.18s}.app-shell[data-sidebar-mode=auto] .brand{grid-template-columns:32px minmax(0,1fr)}.app-shell[data-sidebar-mode=auto] .sidebar-toggle{order:-1}.app-shell[data-sidebar-mode=auto] .nav-group button{padding-left:calc((64px - 2 * var(--space-md) - 18px) / 2 - 1px);flex-wrap:nowrap}.app-shell[data-sidebar-mode=auto] .nav-group button svg{flex-shrink:0}.app-shell[data-sidebar-mode=auto] .nav-group button span{min-width:0;overflow:hidden}.app-shell[data-sidebar-mode=auto] .user-card{padding-left:calc((64px - 2 * var(--space-md) - 32px) / 2 - 1px);flex-wrap:nowrap}.app-shell[data-sidebar-mode=auto] .nav-divider{display:none}.app-shell[data-sidebar-mode=auto] .nav-divider+.nav-group p{position:relative}.app-shell[data-sidebar-mode=auto] .nav-divider+.nav-group p:after{width:calc(64px - 2 * var(--space-md));content:"";opacity:0;transition:opacity .12s var(--ease-out);border-top:1px solid #ffffff1a;position:absolute;top:50%;left:0}.app-shell[data-sidebar-mode=auto][data-sidebar=collapsed] .nav-divider+.nav-group p:after{opacity:1}.app-shell[data-sidebar-mode=auto] :is(.nav-group p>span,.nav-group button span,.user-card>span:nth-child(2),.wordmark){white-space:nowrap;transition:opacity .12s var(--ease-out)}.app-shell[data-sidebar-mode=auto][data-sidebar=collapsed] :is(.nav-group p>span,.nav-group button span,.user-card>span:nth-child(2),.user-card>svg,.wordmark){opacity:0;transition-duration:80ms}.app-shell[data-sidebar-mode=auto] .user-card>svg{transition:opacity .12s var(--ease-out), color .16s ease, transform .4s var(--ease-out)}.app-shell[data-privacy=hidden] .metric-card strong,.app-shell[data-privacy=hidden] .amount,.app-shell[data-privacy=hidden] .chart-delta,.app-shell[data-privacy=hidden] .chart-value-axis span,.app-shell[data-privacy=hidden] .chart-value-badge,.app-shell[data-privacy=hidden] .chart-hover-card strong,.app-shell[data-privacy=hidden] .chart-hover-card small,.app-shell[data-privacy=hidden] .journal-score strong,.app-shell[data-privacy=hidden] .journal-detail-grid dd,.app-shell[data-privacy=hidden] .journal-detail-hero strong,.app-shell[data-privacy=hidden] .journal-same-day strong,.app-shell[data-privacy=hidden] .period-summary-list strong,.app-shell[data-privacy=hidden] .period-month-tooltip strong,.app-shell[data-privacy=hidden] .period-month-tooltip b,.app-shell[data-privacy=hidden] .insight-row b,.app-shell[data-privacy=hidden] .donut-legend b,.app-shell[data-privacy=hidden] .donut-center strong,.app-shell[data-privacy=hidden] .account-card-head strong,.app-shell[data-privacy=hidden] .account-card-rules strong,.app-shell[data-privacy=hidden] .account-track-floor,.app-shell[data-privacy=hidden] .account-track-ceiling,.app-shell[data-privacy=hidden] .account-archive-size,.app-shell[data-privacy=hidden] .account-archive-result,.app-shell[data-privacy=hidden] .movement-detail-money,.app-shell[data-privacy=hidden] .movement-total strong,.app-shell[data-privacy=hidden] .strategy-card-pnl,.app-shell[data-privacy=hidden] .journal-total-value,.app-shell[data-privacy=hidden] .journal-gauge-value,.app-shell[data-privacy=hidden] .journal-gauge-counts span,.app-shell[data-privacy=hidden] .journal-split-value,.app-shell[data-privacy=hidden] .journal-split-figures strong,.app-shell[data-privacy=hidden] .journal-split-figures small,.app-shell[data-privacy=hidden] .journal-account-figures strong,.app-shell[data-privacy=hidden] .journal-account-bar-ends strong,.app-shell[data-privacy=hidden] .journal-account-bar-figures strong,.app-shell[data-privacy=hidden] .journal-breakdown-row .breakdown-main strong,.app-shell[data-privacy=hidden] .weekday-track strong,.app-shell[data-privacy=hidden] .journal-hours-bars.is-diverging .journal-hours-value,.app-shell[data-privacy=hidden] .journal-hours-money,.app-shell[data-privacy=hidden] .journal-recent-row strong,.app-shell[data-privacy=hidden] .journal-card-footer>span,.app-shell[data-privacy=hidden] .journal-folder-stats .journal-folder-money,.app-shell[data-privacy=hidden] .journal-gallery-month-pnl{filter:blur(.34em);-webkit-user-select:none;user-select:none;color:var(--muted)!important}.app-shell[data-privacy=hidden] .movement-total{background:var(--surface-muted)}.app-shell[data-privacy=hidden] .journal-day.has-entries strong,.app-shell[data-privacy=hidden] .journal-week-summary>strong,.app-shell[data-privacy=hidden] .journal-calendar-panel .chart-delta{filter:none;-webkit-user-select:none;user-select:none;font-size:0}.app-shell[data-privacy=hidden] .journal-day.has-entries strong:after,.app-shell[data-privacy=hidden] .journal-week-summary>strong:after,.app-shell[data-privacy=hidden] .journal-calendar-panel .chart-delta:after{content:"••••••";font-size:var(--text-sm);font-weight:var(--weight-bold);letter-spacing:.08em}.app-shell[data-privacy=hidden] .journal-week-summary>strong:after{font-size:var(--text-md)}.app-shell[data-privacy=hidden] .journal-calendar-panel .chart-delta:after{font-size:var(--text-xl)}.app-shell[data-privacy=hidden] .journal-calendar-panel .chart-delta.positive{color:var(--positive-text)!important}.app-shell[data-privacy=hidden] .journal-calendar-panel .chart-delta.negative{color:var(--negative-text)!important}.app-shell[data-privacy=hidden] .journal-day small{visibility:hidden}.state-notice{align-items:center;gap:var(--space-base);margin-bottom:var(--space-xl);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-base) var(--space-lg);background:var(--surface);color:var(--strong-muted);box-shadow:var(--shadow-flat);display:flex}.state-notice strong{color:var(--text);font-size:var(--text-base);white-space:nowrap}.state-notice span{min-width:0;font-size:var(--text-base);font-weight:var(--weight-medium);line-height:var(--leading-snug)}.state-notice code{min-width:0;padding:var(--space-3xs) var(--space-xs);background:var(--surface-muted);color:var(--accent-strong);font-size:var(--text-xs);font-weight:var(--weight-bold);overflow-wrap:anywhere;border-radius:6px}.state-notice.error{background:#fff8f6;border-color:#c2412d3d}.view-crash{place-items:center;min-height:250px;display:grid}.crash-message{justify-items:center;gap:var(--space-base);text-align:center;max-width:420px;display:grid}.crash-message>svg{color:var(--negative-text)}.crash-message strong{color:var(--text);font-size:var(--text-md);font-weight:var(--weight-bold)}.crash-message p{color:var(--strong-muted);font-size:var(--text-base);font-weight:var(--weight-medium);line-height:var(--leading-normal);margin:0}.crash-message .primary-action{margin-top:var(--space-xs)}.crash-message details{max-width:100%;color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.crash-message summary{cursor:pointer}.crash-message code{margin-top:var(--space-xs);padding:var(--space-xs) var(--space-md);background:var(--surface-muted);color:var(--strong-muted);text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px;display:block}.auth-screen,.loading-screen{place-items:center;min-height:100svh;padding:clamp(16px,3vw,44px);display:grid}.loading-screen{background:radial-gradient(circle at 18% 18%, #8b5cf624, transparent 34%), radial-gradient(circle at 82% 18%, #08998114, transparent 30%), var(--bg)}.auth-screen{z-index:0;--auth-bg:#fff;background:var(--auth-bg);position:relative}.auth-screen:after{content:"";z-index:-2;background:linear-gradient(180deg, transparent 0%, var(--accent) 10%, var(--accent) 22%, var(--negative) 38%, var(--negative) 48%, var(--warning) 62%, var(--warning) 72%, var(--positive) 88%, transparent 100%);filter:blur(10px);transform-origin:50%;pointer-events:none;width:30%;height:150%;animation:16s ease-in-out infinite auth-ribbon-float;position:fixed;top:-25%;left:58%}@keyframes auth-ribbon-float{0%,to{transform:rotate(-14deg)translate(0)}25%{transform:rotate(-12deg)translate(1.4vw,-1.2vh)}50%{transform:rotate(-16deg)translate(-1vw,1.4vh)}75%{transform:rotate(-13deg)translate(1vw,.6vh)}}.auth-screen{max-height:100svh;overflow-y:auto}.auth-layout{z-index:1;width:min(100%,380px);display:grid;position:relative}@media (width<=820px){.auth-layout{--auth-halo:""}}.auth-layout:has(.oauth-consent){--auth-halo:""}.auth-layout:before{content:var(--auth-halo,none);z-index:-1;background:var(--auth-bg);box-shadow:0 0 80px 140px var(--auth-bg);opacity:.85;filter:blur(8px);pointer-events:none;border-radius:80px;position:absolute;inset:60px}.auth-logo{z-index:4;color:color-mix(in srgb, white 56%, var(--accent) 44%);font-size:clamp(30px,3vw,46px);position:fixed;top:28px;left:28px}:root[data-theme=dark] .auth-logo{color:color-mix(in srgb, var(--text) 80%, var(--accent) 20%)}.auth-top-actions{z-index:4;gap:var(--space-md);display:flex;position:fixed;top:28px;right:28px}.auth-theme-toggle{justify-content:center;align-items:center;gap:var(--space-2xs);border:1px solid var(--line);border-radius:var(--radius-sm);background:color-mix(in srgb, var(--surface) 84%, transparent);width:42px;height:42px;color:var(--strong-muted);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);font-size:var(--text-xs);font-weight:var(--weight-bold);display:inline-flex;box-shadow:0 12px 28px #0f172a14}.auth-theme-toggle:has(span){width:auto;padding:0 var(--space-base)}.auth-theme-toggle:hover{color:var(--text);border-color:color-mix(in srgb, var(--accent) 34%, var(--line));background:var(--surface)}.auth-heading{text-align:center;margin:0 0 clamp(22px,3.4vh,30px)}.auth-heading h2{color:var(--text);font-size:clamp(1.6rem,2.6vh,2rem);font-weight:var(--weight-bold);letter-spacing:-.01em;line-height:var(--leading-tight);margin:0}.auth-form{gap:clamp(14px,2vh,18px);display:grid}.auth-form label{gap:var(--space-sm);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);display:grid}.auth-field-hint{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-normal);line-height:var(--leading-normal)}.auth-field{align-items:center;gap:var(--space-md);min-height:50px;padding:0 var(--space-lg);background:var(--surface-muted);color:var(--muted);border:1px solid #0000;border-radius:12px;transition:border-color .16s,box-shadow .16s,background .16s;display:flex}.auth-field:focus-within{border-color:color-mix(in srgb, var(--accent) 58%, var(--line));background:var(--surface);box-shadow:0 0 0 4px var(--accent-soft)}.auth-field input{width:100%;min-width:0;color:var(--text);font-size:var(--text-md);background:0 0;border:0;outline:0}.auth-field input::-ms-reveal{display:none}.auth-field-toggle{margin-right:calc(var(--space-lg) * -1);padding:0 var(--space-lg) 0 var(--space-sm);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-semibold);background:0 0;border:0;border-radius:0 12px 12px 0;flex-shrink:0;align-self:stretch;transition:color .16s}.auth-field-toggle:hover{color:var(--accent)}.auth-forgot-link{color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-semibold);cursor:pointer;background:0 0;border:0;justify-self:end;margin:-6px 0 0;padding:0;transition:color .16s}.auth-forgot-link:hover{color:var(--accent)}.auth-forgot-link:disabled{cursor:not-allowed;opacity:.6}.auth-message{border-radius:var(--radius-sm);padding:var(--space-md) var(--space-base);background:var(--surface-muted);color:var(--strong-muted);font-size:var(--text-base);font-weight:var(--weight-semibold);line-height:var(--leading-snug);margin:0}.auth-message.error{background:var(--negative-soft);color:var(--negative-text)}.auth-message.success{background:var(--positive-soft);color:var(--positive-text)}.primary-action{border-radius:var(--radius-sm);min-height:44px;font-size:var(--text-base);font-weight:var(--weight-bold)}.auth-card .primary-action{min-height:50px;font-size:var(--text-md);border-radius:12px}.primary-action{justify-content:center;align-items:center;gap:var(--space-sm);padding:0 var(--space-xl);background:var(--accent);color:var(--on-accent);box-shadow:var(--primary-sheen), 0 1px 2px color-mix(in srgb, var(--accent) 36%, transparent);border:0;display:inline-flex}.primary-action:hover{background:var(--accent-strong)}.primary-action:disabled{cursor:not-allowed;opacity:.6}.topbar-primary{white-space:nowrap;height:40px;min-height:0}.topbar-controls{display:contents}.topbar-section{flex-shrink:0;order:-1}.topbar-lead>div{margin-right:auto}.secondary-action.topbar-section-add{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 32%, transparent);background:color-mix(in srgb, var(--accent) 15%, var(--surface));color:var(--accent-strong);font-weight:var(--weight-semibold);white-space:nowrap}.secondary-action.topbar-section-add:hover:not(:disabled){background:color-mix(in srgb, var(--accent) 24%, var(--surface));color:var(--accent-strong)}.topbar-menu-panel.is-start{transform-origin:0 0}.topbar-menu-panel.is-start.is-upward{transform-origin:0 100%}@media (width>=821px) and (width<=1010px){.app-shell[data-sidebar-mode=auto] .topbar-section-add{padding-inline:var(--space-sm)}.app-shell[data-sidebar-mode=auto] .topbar-section-add span{display:none}}@media (width>=821px) and (width<=1140px){.app-shell[data-sidebar-mode=pinned] .topbar-section-add{padding-inline:var(--space-sm)}.app-shell[data-sidebar-mode=pinned] .topbar-section-add span{display:none}}@media (width<=359px){.topbar-section-add span{display:none}}.auth-switch{margin:var(--space-2xl) 0 0;color:var(--muted);font-size:var(--text-sm);text-align:center}.auth-switch-link{color:var(--accent-strong);font-weight:var(--weight-bold);background:0 0;border:0;padding:0;transition:color .16s;position:relative}.auth-switch-link:after{content:"";inset:calc(var(--space-md) * -1) 0;position:absolute}.auth-switch-link:hover{color:var(--accent)}.auth-switch.auth-help{margin-top:var(--space-2xl);font-size:var(--text-xs)}.auth-help .auth-switch-link{text-decoration:none}.auth-forgot-link:focus-visible,.auth-switch-link:focus-visible,.auth-terms a:focus-visible,.auth-google-legal a:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}.auth-field-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.auth-switch-link:disabled{cursor:not-allowed;opacity:.6}.oauth-consent{gap:var(--space-xl);display:grid}.oauth-consent .auth-heading{margin:0}.oauth-consent .auth-heading p{margin:var(--space-sm) 0 0;color:var(--muted);font-size:var(--text-base);line-height:var(--leading-snug);overflow-wrap:anywhere}.oauth-consent-status{color:var(--muted);font-size:var(--text-base);text-align:center;margin:0}.oauth-consent-scope{gap:var(--space-md);padding:var(--space-base);background:var(--surface-muted);border-radius:12px;display:grid}.oauth-consent-scope strong{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold)}.oauth-consent-scope ul{gap:var(--space-sm);margin:0;padding:0;list-style:none;display:grid}.oauth-consent-scope li{gap:var(--space-sm);color:var(--strong-muted);font-size:var(--text-base);line-height:var(--leading-snug);grid-template-columns:16px minmax(0,1fr);align-items:start;display:grid}.oauth-consent-scope li svg{color:var(--positive-text);margin-top:2px}.oauth-consent-scope ul+strong+ul li svg{color:var(--muted)}.oauth-consent-note{color:var(--muted);font-size:var(--text-sm);line-height:var(--leading-snug);text-align:center;margin:0}.oauth-consent-actions{gap:var(--space-md);grid-template-columns:1fr 1fr;display:grid}.oauth-consent-actions .secondary-action{min-height:50px;font-size:var(--text-md);border-radius:12px}.oauth-consent .auth-switch{margin:0}.auth-divider{align-items:center;gap:var(--space-md);margin:var(--space-base) 0;color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--line);flex:1;height:1px}.auth-google-button{justify-content:center;align-items:center;gap:var(--space-md);border:1px solid var(--line);width:100%;min-height:50px;padding:0 var(--space-xl);background:var(--surface);color:var(--text);font-size:var(--text-md);font-weight:var(--weight-bold);border-radius:12px;transition:border-color .16s,background .16s;display:inline-flex}.auth-google-button:hover:not(:disabled){border-color:color-mix(in srgb, var(--accent) 35%, var(--line));background:var(--surface-muted)}.auth-google-button:disabled{cursor:not-allowed;opacity:.6}.auth-google-icon{flex-shrink:0}.auth-google-legal{margin:var(--space-sm) 0 0;color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);line-height:var(--leading-normal);text-align:center}.auth-google-legal a{color:var(--accent-strong);font-weight:var(--weight-medium);text-decoration:none;transition:color .16s}.auth-google-legal a:hover{color:var(--accent)}.loading-screen{align-content:center;gap:var(--space-lg);color:var(--strong-muted);font-weight:var(--weight-bold)}.loading-screen .wordmark{color:var(--accent);font-size:28px}@media (width<=620px){.auth-screen{row-gap:var(--space-lg);padding:var(--space-2xl);grid-template-rows:auto 1fr;grid-template-columns:minmax(0,1fr) auto}.auth-logo,.auth-top-actions{position:static}.auth-logo{justify-self:start;font-size:clamp(22px,6vw,32px)}.auth-top-actions{justify-self:end}.auth-layout{grid-column:1/-1}.modal-layer{padding:var(--space-md);align-items:end}.modal-card,.modal-card.is-wide{border-radius:16px;width:100%;max-height:92vh}.modal-header{padding:var(--space-xl) var(--space-xl) var(--space-base);padding:var(--space-2xl) var(--space-2xl) var(--space-xs)}.modal-body{padding:var(--space-lg) var(--space-xl) var(--space-2xl);overscroll-behavior:contain}}.view-stack{gap:var(--space-5xl);display:grid}.view-loading{min-height:60dvh}.metric-grid{gap:var(--space-base);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.journal-kpi-grid .metric-card{min-height:104px}.metric-grid.journal-kpi-grid{gap:var(--space-2xl);grid-template-columns:repeat(4,minmax(0,1fr))}.metric-card,.panel,.directory-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-flat)}.metric-card{gap:var(--space-sm);min-height:112px;padding:var(--space-xl);min-width:0;display:grid}.metric-grid .metric-card:last-child{grid-column:span 2}.metric-card.is-featured{min-height:112px;padding:var(--space-xl);background:var(--surface);grid-column:span 2}.metric-card-topline{justify-content:space-between;align-items:center;gap:var(--space-md);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-medium);display:flex}.metric-icon{border-radius:var(--radius-sm);width:30px;height:30px;color:var(--muted);background:0 0;place-items:center;display:inline-grid}.metric-card strong{min-width:0;color:var(--text);font-size:var(--text-xl);line-height:var(--leading-tight);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;align-self:end}.metric-card.is-featured strong{font-size:clamp(var(--text-2xl), 2.2vw, var(--text-3xl));letter-spacing:0}.metric-card.is-featured.positive strong{color:var(--positive-text)}.metric-card.is-featured.negative strong{color:var(--negative-text)}.metric-card.positive .metric-icon,.positive{color:var(--positive-text)}.metric-card.negative .metric-icon,.negative{color:var(--negative-text)}.neutral{color:var(--strong-muted)}.dashboard-grid{gap:var(--space-3xl);grid-template-columns:minmax(0,1.5fr) minmax(320px,.75fr);display:grid}.period-summary-panel{min-height:392px}.period-summary-list{gap:var(--space-md);display:grid}.period-summary-list div{justify-content:space-between;align-items:center;gap:var(--space-lg);background:0 0;border:0;border-radius:0;min-height:40px;padding:0;display:flex}.period-summary-list span{color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-semibold)}.period-summary-list strong{font-size:var(--text-base)}.period-month-chart{gap:var(--space-base);margin-top:var(--space-xl);padding-top:var(--space-xl);border-top:0;display:grid}.period-month-chart-head{justify-content:space-between;align-items:flex-start;gap:var(--space-md);display:flex}.period-month-chart-head span{color:var(--text);font-size:var(--text-base);font-weight:var(--weight-black)}.period-summary-panel .panel-heading{flex-wrap:wrap}.period-range-tabs{align-items:center;gap:var(--space-3xs);border:1px solid var(--line);padding:var(--space-3xs);background:var(--surface-muted);border-radius:9px;display:inline-flex}.period-range-tabs button{min-height:26px;padding:0 var(--space-sm);color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-black);background:0 0;border:0;border-radius:7px}.period-range-tabs button.active{background:var(--surface);color:var(--accent-strong);box-shadow:0 6px 16px color-mix(in srgb, var(--accent) 10%, transparent)}.period-month-bars{align-items:end;gap:var(--space-sm);grid-template-columns:repeat(auto-fit,minmax(34px,1fr));min-height:142px;display:grid;position:relative}.period-month-bars.is-dense{grid-template-columns:repeat(auto-fit,minmax(28px,1fr))}.period-month-group{align-items:end;gap:var(--space-sm);min-width:0;height:100%;padding:var(--space-3xs);border:0;border-radius:9px;outline:0;transition:background .16s,transform .16s;display:grid}.period-month-group:hover,.period-month-group:focus-visible,.period-month-group.active{background:color-mix(in srgb, var(--accent) 8%, transparent);transform:translateY(-2px)}.period-month-columns{justify-content:center;align-items:end;gap:var(--space-2xs);background:linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface-muted) 80%, transparent));border-radius:8px;height:112px;display:flex}.period-month-columns i{width:min(16px,36%);min-height:6px;box-shadow:0 8px 18px color-mix(in srgb, currentColor 20%, transparent);border-radius:6px 6px 2px 2px;transition:filter .16s,transform .16s;display:block}.period-month-group.active .period-month-columns i{filter:saturate(1.18);transform:scaleY(1.04)}.period-month-columns i.income{background:linear-gradient(180deg, color-mix(in srgb, var(--positive) 78%, white), var(--positive));color:var(--positive-text)}.period-month-columns i.expense{background:linear-gradient(180deg, color-mix(in srgb, var(--negative) 78%, white), var(--negative));color:var(--negative-text)}.period-month-group span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);text-align:center;text-transform:capitalize}.period-month-tooltip{pointer-events:none;z-index:3;gap:var(--space-2xs);border:1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);min-width:152px;padding:var(--space-md) var(--space-md);background:color-mix(in srgb, var(--surface) 94%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:10px;display:grid;position:absolute;bottom:calc(100% + 8px);right:0;box-shadow:0 18px 36px #00000029}.period-month-tooltip span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);text-transform:capitalize}.period-month-tooltip strong{color:var(--text);font-size:var(--text-md);line-height:var(--leading-tight)}.period-month-tooltip small{justify-content:space-between;gap:var(--space-md);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);display:flex}.dashboard-insights{gap:var(--space-3xl);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.dashboard-insights .table-panel{min-height:280px}.dashboard-insights .recent-movements-panel{grid-column:1/-1}.recent-movements-panel table{min-width:760px}.recent-movements-panel th,.recent-movements-panel td{padding-inline:var(--space-sm);border-bottom:0}.insight-panel{min-height:280px}.insight-list{gap:var(--space-md);display:grid}.insight-row>div{gap:var(--space-sm);display:grid}.insight-row span{justify-content:space-between;align-items:baseline;gap:var(--space-base);display:flex}.insight-row strong{min-width:0;color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-medium);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.insight-row b{font-size:var(--text-sm);white-space:nowrap}.insight-row small,.inline-muted{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.insight-row i{background:linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 42%, transparent));border-radius:999px;height:7px;display:block}.insight-panel.is-negative .insight-row i{background:linear-gradient(90deg, var(--negative), color-mix(in srgb, var(--negative) 42%, transparent))}.insight-row i.is-pos{background:linear-gradient(90deg, var(--positive), color-mix(in srgb, var(--positive) 42%, transparent))}.insight-row i.is-neg{background:linear-gradient(90deg, var(--negative), color-mix(in srgb, var(--negative) 42%, transparent))}.donut-panel{flex-direction:column;min-height:280px;display:flex;container-type:inline-size}.donut-body{align-content:center;justify-items:center;gap:var(--space-xl);flex:1;display:grid}@container (width>=400px){.donut-body{place-items:center stretch;gap:var(--space-xl);grid-template-columns:auto minmax(0,1fr)}}.donut-ring{place-items:center;width:160px;height:160px;display:grid;position:relative}.donut-ring svg{width:100%;height:100%}.donut-arc{fill:none;transition:stroke-width .16s,opacity .16s}.donut-arc.is-dimmed{opacity:.32}.donut-center{justify-items:center;gap:var(--space-3xs);text-align:center;pointer-events:none;max-width:96px;display:grid;position:absolute}.donut-figure{color:var(--text);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;letter-spacing:-.01em;white-space:nowrap;line-height:1.1}.donut-figure-measure{visibility:hidden;pointer-events:none;position:absolute;top:0;left:0}.donut-figure-measure .donut-figure{width:max-content;display:block}.donut-center strong.positive{color:var(--positive-text)}.donut-center strong.negative{color:var(--negative-text)}.donut-center small{max-width:84px;color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);line-height:var(--leading-snug);text-wrap:balance;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.donut-legend{gap:var(--space-2xs);margin:0;padding:0;list-style:none;display:grid}.donut-legend li{align-items:center;gap:var(--space-sm);margin-inline:calc(var(--space-xs) * -1);padding:2px var(--space-xs);border-radius:8px;outline:0;grid-template-columns:auto minmax(0,1fr) auto;transition:background .16s,opacity .16s;display:grid}.donut-legend li.is-active,.donut-legend li:focus-visible{background:var(--surface-muted)}.donut-legend li.is-dimmed{opacity:.45}.donut-legend i{border-radius:3px;width:10px;height:10px}.donut-legend span{min-width:0;display:grid}.donut-legend span strong{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-medium);line-height:var(--leading-snug);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.donut-legend span small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);line-height:var(--leading-snug)}.donut-legend b{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold);white-space:nowrap}.donut-legend b.positive{color:var(--positive-text)}.donut-legend b.negative{color:var(--negative-text)}.dashboard-filter-bar{justify-content:flex-end;align-items:center;gap:var(--space-sm);margin-bottom:-12px;display:flex}.dashboard-filter-panel{gap:var(--space-lg);padding:var(--space-lg);transform-origin:100% 0;animation:expand-from-toggle var(--dur-slow) var(--ease-overshoot) backwards;display:grid}.view-filter-panel{padding:var(--space-base)}.dashboard-filters{gap:var(--space-base);grid-template-columns:repeat(5,minmax(140px,1fr)) auto;align-items:end;display:grid}.view-filters{gap:var(--space-lg);grid-template-columns:repeat(auto-fit,minmax(128px,1fr));align-items:end;display:grid}.view-filters button{justify-self:start}.dashboard-filters label,.view-filters label,.confirm-require{gap:var(--space-xs);color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-bold);display:grid}.dashboard-filters input,.dashboard-filters select,.dashboard-filters .custom-select-trigger,.view-filters input,.view-filters select,.view-filters .custom-select-trigger,.settings-row input,.access-code-form input,.confirm-require input,.settings-row select,.settings-row .custom-select-trigger,.bank-import-row .custom-select-trigger,.bank-import-map-table .custom-select-trigger,.lost-classify-select .custom-select-trigger{border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;min-height:40px;padding:0 var(--space-md);background:var(--field);color:var(--text);font-size:var(--text-base);font-weight:var(--weight-medium);border-color:var(--line-strong);box-shadow:var(--shadow-control);transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);outline:0}.dashboard-filters input:focus,.dashboard-filters select:focus,.view-filters input:focus,.view-filters select:focus,.settings-row input:focus,.access-code-form input:focus,.confirm-require input:focus,.settings-row select:focus,.dashboard-filters .custom-select-trigger:focus-visible,.view-filters .custom-select-trigger:focus-visible,.settings-row .custom-select-trigger:focus-visible,.bank-import-row .custom-select-trigger:focus-visible,.bank-import-map-table .custom-select-trigger:focus-visible,.lost-classify-select .custom-select-trigger:focus-visible,.journal-cockpit-account-filter .custom-select-trigger:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.dashboard-filters input:disabled,.view-filters input:disabled,.dashboard-filters .custom-select-trigger:disabled,.view-filters .custom-select-trigger:disabled,.settings-row .custom-select-trigger:disabled,.bank-import-row .custom-select-trigger:disabled,.bank-import-map-table .custom-select-trigger:disabled,.lost-classify-select .custom-select-trigger:disabled{background:var(--surface-muted);color:var(--muted);opacity:.72}.filter-toggle-button{border-radius:var(--radius-sm);background:var(--control);width:40px;height:40px;color:var(--strong-muted);box-shadow:inset 0 0 0 1px var(--control-ring), var(--shadow-control);cursor:pointer;border:0;place-items:center;padding:0;display:inline-grid;position:relative}.filter-toggle-button:hover,.filter-toggle-button:focus-visible{background:var(--control-hover);color:var(--text);box-shadow:inset 0 0 0 1px var(--control-ring-hover), var(--shadow-control)}.filter-toggle-button.has-active-filters{color:var(--accent)}.filter-toggle-button[aria-expanded=true]{background:var(--accent-soft);color:var(--accent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent)}.filter-toggle-dot{background:var(--accent);width:6px;height:6px;box-shadow:0 0 0 2px var(--surface);border-radius:50%;position:absolute;top:1px;right:1px}.custom-select{min-width:0;position:relative}.custom-select-trigger{justify-content:space-between;align-items:center;gap:var(--space-sm);cursor:pointer;text-align:left;display:flex}.custom-select-trigger span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.custom-select-trigger span.is-placeholder{color:var(--muted)}.custom-select-trigger:disabled{cursor:not-allowed}.custom-select-chevron{color:var(--muted);flex-shrink:0}.combobox{display:flex}.firm-form .combobox-input,.entity-form .combobox-input{width:100%;padding-right:34px}.combobox-toggle{border-radius:var(--radius-sm);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid;position:absolute;top:50%;right:1px;transform:translateY(-50%)}.combobox-toggle:hover:not(:disabled){color:var(--strong-muted)}.combobox-toggle:disabled{cursor:not-allowed;opacity:.5}.custom-select-panel{z-index:130;transform-origin:top;animation:drop-in var(--dur-fast) var(--ease-overshoot) backwards;border:1px solid var(--float-line);border-radius:var(--radius-md);width:max-content;max-width:min(420px,100vw - 24px);max-height:260px;padding:var(--space-2xs);background:var(--surface-raised);box-shadow:var(--shadow-raised);margin:0;list-style:none;position:fixed;overflow-y:auto}.custom-select-panel.is-upward{transform-origin:bottom;animation-name:lift-in}.custom-select-option{justify-content:space-between;align-items:center;gap:var(--space-sm);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-sm);color:var(--text);font-size:var(--text-base);font-weight:var(--weight-medium);cursor:pointer;min-height:40px;display:flex}.custom-select-option span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.custom-select-option:hover,.custom-select-option.is-highlighted{background:var(--surface-muted)}.custom-select-option.is-selected{color:var(--accent);font-weight:var(--weight-bold)}.custom-select-option.is-accent{color:var(--accent);font-weight:var(--weight-semibold);border-bottom:1px solid var(--line);border-radius:6px 6px 0 0}.custom-select-option svg{color:var(--accent);flex-shrink:0}.topbar-menu{display:inline-flex}.topbar-menu-panel{z-index:130;transform-origin:100% 0;min-width:208px;animation:drop-in var(--dur-fast) var(--ease-overshoot) backwards;border:1px solid var(--float-line);border-radius:var(--radius-md);padding:var(--space-2xs);background:var(--surface-raised);box-shadow:var(--shadow-raised);gap:2px;display:grid}.topbar-menu-panel.is-upward{transform-origin:100% 100%;animation-name:lift-in}.topbar-menu-section{gap:2px;display:grid}.topbar-menu-section+.topbar-menu-section{margin-top:var(--space-2xs);padding-top:var(--space-2xs);border-top:0}.topbar-menu-group{padding:var(--space-xs) var(--space-md) var(--space-3xs);color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-bold);letter-spacing:.04em;text-transform:uppercase}.topbar-menu-item{align-items:center;gap:var(--space-sm);border-radius:var(--radius-sm);width:100%;padding:var(--space-sm) var(--space-md);color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-medium);text-align:left;cursor:pointer;background:0 0;border:0;min-height:40px;display:flex}.topbar-menu-item svg{color:var(--accent);flex-shrink:0}.topbar-menu-item span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.topbar-menu-panel.is-wide{min-width:264px}.topbar-menu-item.has-description{align-items:flex-start}.topbar-menu-item.has-description svg{margin-top:2px}.topbar-menu-item b{font-weight:var(--weight-semibold);display:block}.topbar-menu-item em{margin-top:var(--space-3xs);color:var(--strong-muted);font-size:var(--text-xs);font-style:normal;font-weight:var(--weight-medium);line-height:var(--leading-snug);white-space:normal;display:block}.topbar-menu-highlight{background:linear-gradient(120deg, var(--accent), var(--donut-cat-5));color:#fff;white-space:nowrap;font-size:var(--text-xs);font-weight:var(--weight-bold);letter-spacing:.04em;border-radius:999px;margin-inline:1px;padding:0 7px;line-height:1.4;display:inline-block}.topbar-menu-item .topbar-menu-lock{color:var(--strong-muted);flex-shrink:0}.topbar-menu-item small{color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-bold);letter-spacing:.04em;flex-shrink:0}.topbar-menu-item:hover:not(:disabled),.topbar-menu-item.is-highlighted:not(:disabled){background:var(--surface-muted)}.topbar-menu-item:disabled{color:var(--strong-muted);cursor:default}.topbar-menu-item:disabled svg{color:currentColor}.notif-trigger{position:relative}.notif-dot{background:var(--negative);width:8px;height:8px;box-shadow:0 0 0 2px var(--surface-muted);border-radius:50%;position:absolute;top:8px;right:9px}.notif-panel{gap:0;width:min(380px,100vw - 16px);padding:0}.notif-head{padding:var(--space-md) var(--space-lg) var(--space-sm);color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-bold);letter-spacing:.04em;text-transform:uppercase}.notif-list{padding:0 var(--space-2xs) var(--space-2xs);gap:2px;max-height:min(70vh,520px);margin:0;list-style:none;display:grid;overflow-y:auto}.notif-item{align-items:start;gap:var(--space-md);padding:var(--space-md);border-radius:6px;grid-template-columns:32px minmax(0,1fr) 28px;display:grid}.notif-item:hover{background:var(--surface-muted)}.notif-icon{background:var(--accent-soft);width:32px;height:32px;color:var(--accent-strong);border-radius:8px;place-items:center;display:grid}.notif-item.is-lossLimit .notif-icon{background:var(--negative-soft);color:var(--negative-text)}.notif-item.is-payoutReady .notif-icon{background:var(--positive-soft);color:var(--positive-text)}.notif-item.is-weeklyReport .notif-icon{background:linear-gradient(140deg, var(--accent), var(--donut-cat-5));color:#fff}.notif-item.is-charge .notif-icon,.notif-item.is-rulesMissing .notif-icon{background:var(--surface-muted);color:var(--strong-muted)}.notif-body{justify-items:start;gap:var(--space-3xs);min-width:0;display:grid}.notif-body b{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold);line-height:var(--leading-snug)}.notif-body span{color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-medium);line-height:var(--leading-snug)}.notif-action{align-items:center;gap:var(--space-3xs);margin-top:var(--space-3xs);color:var(--accent-strong);font-size:var(--text-xs);font-weight:var(--weight-semibold);cursor:pointer;background:0 0;border:0;padding:0;display:inline-flex}.notif-action:hover{text-decoration:underline}.notif-dismiss{width:28px;height:28px;color:var(--strong-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.notif-dismiss:hover{background:var(--surface-muted);color:var(--text)}.notif-item:hover .notif-dismiss:hover{background:var(--surface)}.notif-empty{justify-items:center;gap:var(--space-xs);padding:var(--space-2xl) var(--space-xl);color:var(--strong-muted);text-align:center;display:grid}.notif-empty b{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold)}.notif-empty span{font-size:var(--text-xs);line-height:var(--leading-snug)}@media (width<=820px){.notif-dismiss{width:44px;height:44px;margin:-8px -8px 0 0}.notif-action{position:relative}.notif-action:after{content:"";position:absolute;inset:-14px -8px}}.date-picker{min-width:0;position:relative}.date-picker-panel{z-index:130;gap:var(--space-md);width:292px;padding:var(--space-base);border:1px solid var(--float-line);border-radius:var(--radius-md);background:var(--surface-raised);box-shadow:var(--shadow-raised);transform-origin:top;animation:drop-in var(--dur-fast) var(--ease-overshoot) backwards;display:grid;position:fixed}.date-picker-panel.is-upward{transform-origin:bottom;animation-name:lift-in}.date-picker-head{justify-content:space-between;align-items:center;gap:var(--space-sm);display:flex}.date-picker-head strong{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-bold);text-transform:capitalize}.date-picker-nav-group{align-items:center;display:flex}.date-picker-nav{border-radius:var(--radius-sm);width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:inline-grid}.date-picker-nav:hover{background:var(--surface-muted);color:var(--strong-muted)}.date-picker-weekdays,.date-picker-grid{gap:var(--space-3xs);grid-template-columns:repeat(7,1fr);display:grid}.date-picker-weekdays span{color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-black);text-align:center;text-transform:uppercase}.date-picker-day{border-radius:var(--radius-sm);height:30px;color:var(--text);font-size:var(--text-xs);font-weight:var(--weight-semibold);cursor:pointer;background:0 0;border:0;padding:0}.date-picker-day:hover{background:var(--surface-muted)}.date-picker-day.is-outside{color:var(--muted);opacity:.5}.date-picker-day.is-today{box-shadow:inset 0 0 0 1px var(--line-strong)}.date-picker-day.is-selected{background:var(--accent);color:var(--on-accent);font-weight:var(--weight-bold)}.date-picker-day.is-selected:hover{background:var(--accent-strong)}.date-picker-actions{justify-content:space-between;gap:var(--space-sm);border-top:1px solid var(--line);padding-top:var(--space-sm);display:flex}.date-picker-actions.is-single{justify-content:flex-end}.date-picker-action{border-radius:var(--radius-sm);padding:var(--space-2xs) var(--space-sm);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);cursor:pointer;background:0 0;border:0}.date-picker-action:hover{background:var(--surface-muted);color:var(--accent)}.result-count{min-height:38px;color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-bold);white-space:nowrap;align-items:center;display:inline-flex}.journal-review-presets{gap:var(--space-xs);flex-wrap:wrap;min-width:0;display:flex}.journal-mode-tabs{align-items:center;gap:var(--space-2xs);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-2xs);background:var(--surface-muted);display:inline-flex}.journal-mode-tabs button,.journal-review-presets button,.economic-events-presets button{justify-content:center;align-items:center;gap:var(--space-xs);border:1px solid var(--line);border-radius:var(--radius-sm);min-height:36px;padding:0 var(--space-base);background:var(--surface);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-black);display:inline-flex}.journal-mode-tabs button{white-space:nowrap;background:0 0;border-color:#0000;min-height:40px}.journal-mode-tabs button.active,.journal-review-presets button.active,.economic-events-presets button.active{background:var(--accent-soft);color:var(--accent-strong);border-color:#7c3aed3d}.journal-review-actions{justify-content:flex-end;align-items:center;gap:var(--space-md);flex-wrap:wrap;display:flex}.panel{min-width:0;padding:var(--space-4xl)}.panel-heading{justify-content:space-between;align-items:flex-start;gap:var(--space-xl);margin-bottom:var(--space-xl);display:flex}.resource-form-heading{grid-template-columns:minmax(160px,auto) minmax(0,1fr) auto;align-items:center;display:grid}.resource-form-heading>div{min-width:0}.resource-form-grid{padding-top:var(--space-xl);border-top:0}.modal-form-grid label.is-required>span:first-child:after{content:"*";color:var(--accent-strong);font-weight:var(--weight-bold);margin-left:2px}.modal-form-grid label:has(:required)>span:first-child:after{content:"*";color:var(--accent-strong);font-weight:var(--weight-bold);margin-left:2px}.journal-entry-page label:has(:required)>span:first-child:after{content:"*";color:var(--accent-strong);font-weight:var(--weight-bold);margin-left:2px}.journal-error-type-form label:has(:required)>span:first-child:after{content:"*";color:var(--accent-strong);font-weight:var(--weight-bold);margin-left:2px}.form-required-note{color:var(--muted);font-size:var(--text-xs);align-self:center;margin-right:auto}.form-required-note em{color:var(--accent-strong);font-style:normal;font-weight:var(--weight-bold)}.journal-entry-page .form-required-note{margin:0}.form-section-heading{margin:var(--space-xs) 0 0;color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);letter-spacing:.06em;text-transform:uppercase;grid-column:1/-1}.form-section-heading-toggle{align-items:center;gap:var(--space-2xs);display:flex}.form-section-toggle{align-items:center;gap:var(--space-xs);min-height:32px;margin-left:calc(-1 * var(--space-xs));border-radius:var(--radius-sm);padding:0 var(--space-xs);color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;background:0 0;border:0;display:inline-flex}.form-section-toggle:hover{background:var(--surface-muted);color:var(--text)}.form-section-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.form-section-toggle svg{transition:transform var(--dur-fast) var(--ease);flex:none}.form-section-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.form-section-toggle-meta{font-weight:var(--weight-medium);letter-spacing:0;text-transform:none}.form-section-toggle{text-align:left;min-width:0}@media (width<=560px){.form-section-toggle{flex-wrap:wrap;align-content:center;row-gap:0}.form-section-toggle>svg{order:1}.form-section-toggle-meta{flex-basis:100%;order:2}}.form-autofill-note{align-items:flex-start;gap:var(--space-xs);color:var(--muted);font-size:var(--text-xs);line-height:var(--leading-normal);grid-column:1/-1;margin:0;display:flex}.form-autofill-note svg{color:var(--accent-strong);flex:none;margin-top:2px}.form-action-row{justify-content:flex-end;gap:var(--space-sm);margin-top:var(--space-2xs);flex-wrap:wrap;grid-column:1/-1;display:flex}.form-action-row .primary-action{min-height:38px;padding:0 var(--space-base)}.bulk-account-form{gap:var(--space-lg);flex-direction:column;display:flex}.bulk-account-blocks{gap:var(--space-xl);flex-direction:column;display:flex}.bulk-account-block{border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-lg);background:var(--surface);box-shadow:var(--shadow)}.bulk-account-block-head{margin-bottom:var(--space-base);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);justify-content:space-between;align-items:center;display:flex}.bulk-account-block-actions{align-items:center;gap:var(--space-3xs);display:flex}.bulk-account-row-remove{border-radius:var(--radius-sm);width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.bulk-account-row-remove:hover:not(:disabled){background:var(--surface-muted);color:var(--negative-text)}.bulk-account-row-remove:disabled{opacity:.35;cursor:not-allowed}.bulk-account-copy{align-items:center;gap:var(--space-xs);border-radius:var(--radius-sm);height:36px;padding:0 var(--space-sm);color:var(--accent-strong);font-size:var(--text-xs);font-weight:var(--weight-semibold);cursor:pointer;background:0 0;border:0;display:inline-flex}.bulk-account-copy:hover:not(:disabled){background:var(--accent-soft)}.bulk-account-copy:disabled{opacity:.35;cursor:not-allowed}.tour-layer{z-index:130;position:fixed;inset:0}.tour-blocker{position:absolute;inset:0}.tour-spotlight{border-radius:var(--radius-lg);pointer-events:none;animation:fade-in var(--dur) var(--ease) backwards;position:fixed;box-shadow:0 0 0 200vmax #08090b9e}.tour-spotlight.has-target{outline:2px solid color-mix(in srgb, var(--accent) 72%, transparent)}.tour-card{border:1px solid color-mix(in srgb, var(--line) 88%, transparent);border-radius:var(--radius-lg);padding:var(--space-lg);background:var(--surface);box-shadow:var(--shadow-overlay);opacity:0;pointer-events:none;transition:opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);display:grid;position:fixed;top:50%;left:50%;transform:translateY(6px)}.tour-card.is-settled{opacity:1;pointer-events:auto;transform:none}.tour-card-head{justify-content:space-between;align-items:center;gap:var(--space-sm);margin-bottom:var(--space-md);display:flex}.tour-progress{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);font-variant-numeric:tabular-nums}.tour-card h2{margin:0 0 var(--space-3xs);color:var(--text);font-size:var(--text-md);font-weight:var(--weight-bold);line-height:var(--leading-snug)}.tour-card p{color:var(--strong-muted);font-size:var(--text-sm);line-height:var(--leading-normal);margin:0}.tour-actions{justify-content:flex-end;gap:var(--space-sm);margin-top:var(--space-lg);display:flex}.tour-actions .primary-action{min-height:38px;padding:0 var(--space-base);font-size:var(--text-sm)}.tour-link{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);cursor:pointer;background:0 0;border:0;border-radius:4px;padding:0}.tour-link:hover{color:var(--text)}.tour-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.tour-disable{margin-top:var(--space-md);justify-self:start}@media (prefers-reduced-motion:reduce){.tour-spotlight{animation:none}.tour-card{transition:none}}.modal-layer{z-index:120;place-items:center;padding:clamp(14px,3vw,34px);display:grid;position:fixed;inset:0}.modal-backdrop{animation:fade-in var(--dur) var(--ease) backwards;-webkit-backdrop-filter:blur(6px)saturate(120%);backdrop-filter:blur(6px)saturate(120%);background:#08090f70;border:0;position:absolute;inset:0}.modal-card{z-index:1;animation:enter-pop var(--dur) var(--ease-overshoot) backwards;border:1px solid var(--float-line);border-radius:var(--radius-lg);background:var(--surface);width:min(100%,560px);max-height:min(92dvh,880px);box-shadow:var(--shadow-overlay);-webkit-backdrop-filter:none;backdrop-filter:none;grid-template-rows:auto minmax(0,1fr);display:grid;position:relative;overflow:hidden}.modal-card.is-wide{width:min(100%,780px)}.modal-card.is-narrow{width:min(100%,420px)}.confirm-dialog{gap:var(--space-xl);display:grid}.confirm-dialog p{white-space:pre-line;color:var(--strong-muted);font-size:var(--text-sm);line-height:var(--leading-normal);margin:0}.modal-card.is-wide:has(.plans-grid){width:min(100%,880px)}.plans-grid{gap:var(--space-base);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.plan-card{align-content:start;gap:var(--space-base);padding:var(--space-3xl);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-muted);display:grid;position:relative}.plan-card.is-featured{border-color:color-mix(in srgb, var(--accent) 38%, var(--line));background:linear-gradient(140deg, var(--accent-soft), transparent 72%), var(--surface-muted)}.plan-badge{padding:var(--space-3xs) var(--space-md);background:var(--accent);color:var(--on-accent);font-size:var(--text-2xs);font-weight:var(--weight-semibold);border-radius:999px;position:absolute;top:-11px;right:18px}.plan-name{color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);text-transform:uppercase;letter-spacing:.04em}.plan-price{align-items:baseline;gap:var(--space-2xs);margin:0;display:flex}.plan-price strong{color:var(--text);font-size:var(--text-4xl);font-weight:var(--weight-bold);letter-spacing:-.025em}.plan-price span{color:var(--muted);font-size:var(--text-sm)}.plan-features{gap:var(--space-sm);margin:0;padding:0;list-style:none;display:grid}.plan-features li{align-items:center;gap:var(--space-sm);color:var(--muted);font-size:var(--text-xs);line-height:var(--leading-normal);display:flex}.plan-features svg{color:var(--positive-text);flex-shrink:0}.plan-cta{justify-content:center;width:100%}.auth-form .auth-terms{align-items:flex-start;gap:var(--space-sm);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);line-height:var(--leading-normal);cursor:pointer;display:flex}.auth-terms input{width:15px;height:15px;accent-color:var(--accent);flex-shrink:0;margin-top:1px}.auth-terms a{color:var(--accent-strong);font-weight:var(--weight-medium);text-decoration:none;transition:color .16s}.auth-terms a:hover{color:var(--accent)}.subscription-badge{padding:var(--space-2xs) var(--space-md);border:1px solid var(--line);font-size:var(--text-2xs);font-weight:var(--weight-medium);white-space:nowrap;border-radius:999px;flex-shrink:0;align-items:center;display:inline-flex}.subscription-badge.is-positive{border-color:color-mix(in srgb, var(--positive) 34%, var(--line));background:var(--positive-soft);color:var(--positive-text)}.subscription-badge.is-negative{border-color:color-mix(in srgb, var(--negative) 34%, var(--line));background:var(--negative-soft);color:var(--negative-text)}.subscription-badge.is-free{gap:var(--space-2xs);background:var(--accent-soft);color:var(--accent-strong);font-weight:var(--weight-bold);border-color:#0000}.subscription-badge.is-neutral{color:var(--strong-muted)}.subscription-actions{gap:var(--space-sm);margin-top:var(--space-xl);flex-wrap:wrap;display:flex}.plans-error{margin:var(--space-base) 0 0;color:var(--negative-text);font-size:var(--text-xs);line-height:var(--leading-normal)}.access-code-form{gap:var(--space-xs);max-width:360px;margin-top:var(--space-xl);display:grid}.access-code-form>label{color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-bold)}.access-code-row{gap:var(--space-sm);grid-template-columns:minmax(0,1fr) auto;display:grid}.access-code-message{color:var(--negative-text);font-size:var(--text-xs);line-height:var(--leading-normal);margin:0}.access-code-message.is-ok{color:var(--positive-text)}.access-code-result-text{color:var(--text);font-size:var(--text-base);line-height:var(--leading-normal);margin:0}.access-code-result-actions{margin-top:var(--space-xl);justify-content:flex-end;display:flex}.subscription-notice,.account-scope-notice,.charge-notice,.demo-notice{align-items:center;gap:var(--space-base);margin-bottom:var(--space-xl);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-base) var(--space-lg);background:var(--surface);box-shadow:none;display:flex}.subscription-notice>svg,.account-scope-notice>svg,.charge-notice>svg,.demo-notice>svg{flex-shrink:0}.account-scope-notice>svg{color:var(--accent-strong)}.subscription-notice>div,.account-scope-notice>div,.charge-notice>div,.demo-notice>div{flex:1;min-width:0}.subscription-notice strong,.account-scope-notice strong,.charge-notice strong,.demo-notice strong{color:var(--text);font-size:var(--text-base);font-weight:var(--weight-semibold);display:block}.subscription-notice p,.account-scope-notice p,.charge-notice p,.demo-notice p{margin:var(--space-3xs) 0 0;color:var(--strong-muted);font-size:var(--text-base);font-weight:var(--weight-medium);line-height:var(--leading-snug)}.subscription-notice-cta,.account-scope-notice>button,.demo-notice-cta{flex-shrink:0}.charge-notice{margin-bottom:0}.charge-notice>svg{color:var(--warning-text)}.charge-notice ul{gap:var(--space-3xs);margin:var(--space-3xs) 0 0;color:var(--text);font-size:var(--text-base);font-weight:var(--weight-medium);padding:0;list-style:none;display:grid}.charge-notice li span{color:var(--strong-muted)}.demo-notice{border-color:var(--line);background:var(--surface)}.demo-notice>svg{color:var(--accent-strong)}.demo-notice-cta,.demo-signup-cta{white-space:nowrap;text-decoration:none}.subscription-notice.is-pastdue{border-color:color-mix(in srgb, var(--negative) 26%, transparent);background:var(--negative-soft)}.subscription-notice.is-pastdue>svg{color:var(--negative-text)}.plan-mark{border-radius:var(--radius-md);background:var(--accent-soft);width:40px;height:40px;color:var(--accent-strong);flex:none;place-items:center;display:grid}.plan-notice{--plan-tone:var(--accent);isolation:isolate;align-items:center;gap:var(--space-md) var(--space-lg);border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-lg);background:var(--surface);box-shadow:var(--shadow-flat);grid-template-columns:auto minmax(0,1fr) auto;display:grid;position:relative;overflow:hidden}.plan-notice:before{content:"";z-index:-1;background:radial-gradient(420px 180px at 100% 0%, color-mix(in srgb, var(--plan-tone) 20%, transparent), transparent 70%), linear-gradient(100deg, color-mix(in srgb, var(--plan-tone) 8%, transparent), transparent 55%);position:absolute;inset:0}.plan-notice.is-ending{--plan-tone:var(--warning);border-color:color-mix(in srgb, var(--warning) 28%, var(--line))}.plan-notice.is-last{--plan-tone:var(--warning);border-color:color-mix(in srgb, var(--warning) 50%, var(--line))}.plan-notice.is-last:before{background:radial-gradient(420px 180px at 100% 0%, color-mix(in srgb, var(--warning) 30%, transparent), transparent 70%), linear-gradient(100deg, color-mix(in srgb, var(--warning) 14%, transparent), transparent 60%)}.plan-notice.is-pastdue{--plan-tone:var(--negative);border-color:color-mix(in srgb, var(--negative) 32%, var(--line))}.plan-notice.is-pastdue:before{background:radial-gradient(420px 180px at 100% 0%, color-mix(in srgb, var(--negative) 20%, transparent), transparent 70%), linear-gradient(100deg, var(--negative-soft), transparent 60%)}.plan-notice.is-ending .plan-mark,.plan-notice.is-last .plan-mark{background:color-mix(in srgb, var(--warning) 16%, transparent);color:var(--warning-text)}.plan-notice.is-pastdue .plan-mark{background:var(--negative-soft);color:var(--negative-text)}.plan-notice-body{gap:var(--space-2xs);min-width:0;display:grid}.plan-notice-body strong{color:var(--text);font-size:var(--text-md);font-weight:var(--weight-bold);letter-spacing:-.01em}.plan-notice-body p{color:var(--strong-muted);font-size:var(--text-base);line-height:var(--leading-normal);margin:0}.plan-notice-days{gap:var(--space-2xs);max-width:280px;margin-top:var(--space-xs);display:flex}.plan-notice-days i{background:color-mix(in srgb, var(--warning) 22%, transparent);border-radius:4px;flex:1;height:4px}.plan-notice-days i.is-on{background:var(--warning)}.plan-notice-actions{align-items:center;gap:var(--space-xs);display:flex}.plan-notice-cta{border-radius:var(--radius-md);padding:var(--space-xs) var(--space-lg);background:var(--control);box-shadow:inset 0 0 0 1px var(--control-ring), var(--shadow-control);color:var(--text);font:inherit;font-size:var(--text-base);font-weight:var(--weight-bold);white-space:nowrap;cursor:pointer;border:0}.plan-notice-cta:hover:not(:disabled){background:var(--control-hover)}.plan-notice-cta:disabled{opacity:.6;cursor:default}.plan-notice-cta.is-last,.plan-notice-cta.is-pastdue{box-shadow:0 6px 16px -6px color-mix(in srgb, var(--plan-tone) 50%, transparent), var(--shadow-control)}.plan-notice-cta.is-last{background:var(--warning);color:#1c1200}.plan-notice-cta.is-last:hover:not(:disabled){background:color-mix(in srgb, var(--warning) 88%, white)}.plan-notice-cta.is-pastdue{background:var(--negative);color:#fff}.plan-notice-cta.is-pastdue:hover:not(:disabled){background:color-mix(in srgb, var(--negative) 88%, black)}.plan-notice-close{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--strong-muted);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;padding:0;display:inline-grid}.plan-notice-close:hover,.plan-notice-close:focus-visible{background:var(--surface-muted);color:var(--text)}@media (width<=560px){.plan-notice{border-radius:var(--radius-lg);padding:var(--space-lg)}.plan-notice-actions{display:contents}.plan-notice>.plan-mark{align-self:start}.plan-notice-close{margin:calc(var(--space-2xs) * -1) calc(var(--space-2xs) * -1) 0 0;grid-area:1/3;align-self:start}.plan-notice-cta{width:100%;padding-block:var(--space-sm);text-align:center;grid-area:2/1/auto/-1}}.plan-modal{z-index:1;isolation:isolate;gap:var(--space-lg);border:1px solid var(--float-line);border-radius:var(--radius-xl);width:min(100%,460px);max-height:min(92dvh,880px);padding:var(--space-5xl) var(--space-2xl) var(--space-2xl);background:var(--surface-raised);box-shadow:var(--shadow-overlay);animation:enter-pop var(--dur) var(--ease-overshoot) backwards;justify-items:start;display:grid;position:relative;overflow:auto}.plan-modal:before{content:"";z-index:-1;background:radial-gradient(360px 200px at 100% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), linear-gradient(160deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 50%);position:absolute;inset:0}.plan-modal:focus{outline:none}.plan-modal-close{top:var(--space-md);right:var(--space-md);position:absolute}.plan-modal-mark{border-radius:var(--radius-lg);width:48px;height:48px}.plan-modal-head{gap:var(--space-xs);display:grid}.plan-modal-head h2{color:var(--text);font-size:var(--text-2xl);font-weight:var(--weight-bold);letter-spacing:-.02em;line-height:var(--leading-tight);margin:0}.plan-modal-head p{color:var(--strong-muted);font-size:var(--text-base);line-height:var(--leading-normal);margin:0}.plan-modal-unlock{gap:var(--space-xs);width:100%;margin:0;padding:0;list-style:none;display:grid}.plan-modal-unlock li{align-items:center;gap:var(--space-md);border-radius:var(--radius-md);padding:var(--space-xs) var(--space-md);background:var(--surface-muted);color:var(--text);font-size:var(--text-base);font-weight:var(--weight-medium);display:flex}.plan-modal-unlock li>svg:first-child{color:var(--accent-strong);flex:none}.plan-modal-unlock li span{color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-normal);text-align:right;margin-left:auto}.plan-modal-lock{margin-left:var(--space-xs);color:var(--strong-muted);flex:none}.plan-modal-unlock li:not(:has(span)) .plan-modal-lock{margin-left:auto}.plan-modal-foot{gap:var(--space-xs);width:100%;margin-top:var(--space-xs);display:grid}.plan-modal-cta{padding-block:var(--space-md);justify-content:center}.plan-modal-price{color:var(--strong-muted);font-size:var(--text-xs);text-align:center;margin:0}.plan-modal-later{border-radius:var(--radius-sm);padding:var(--space-xs);color:var(--strong-muted);font:inherit;font-size:var(--text-base);font-weight:var(--weight-medium);cursor:pointer;background:0 0;border:0}.plan-modal-later:hover,.plan-modal-later:focus-visible{color:var(--text)}@media (width<=620px){.plan-modal{border-radius:var(--radius-xl) var(--radius-xl) var(--radius-lg) var(--radius-lg);width:100%;padding:var(--space-2xl) var(--space-lg) var(--space-lg);animation-name:plan-sheet-up}.plan-modal-head h2{font-size:var(--text-lg)}.plan-modal-layer{padding:var(--space-md);align-items:end}.plan-modal-unlock li{flex-wrap:wrap;row-gap:0}.plan-modal-unlock li .plan-modal-lock{order:2;margin-left:auto}.plan-modal-unlock li span{text-align:left;flex-basis:100%;order:3;margin:0 0 0 28px}}@keyframes plan-sheet-up{0%{opacity:0;transform:translateY(32px)}to{opacity:1;transform:translateY(0)}}@media (width<=560px){.subscription-notice,.account-scope-notice,.demo-notice{flex-wrap:wrap}.subscription-notice-cta,.account-scope-notice>button,.demo-notice-cta{justify-content:center;width:100%}.plans-grid{grid-template-columns:1fr}}.modal-header{justify-content:space-between;align-items:flex-start;gap:var(--space-xl);padding:var(--space-3xl) var(--space-3xl) var(--space-xs);display:flex}.modal-header>button:only-child{margin-left:auto}.modal-header h2{color:var(--text);font-size:var(--text-lg);line-height:var(--leading-tight);margin:0}.modal-header p{max-width:680px;margin:var(--space-sm) 0 0;color:var(--muted);font-size:var(--text-base);font-weight:var(--weight-medium);line-height:var(--leading-normal)}.modal-body{min-height:0;padding:var(--space-2xl) var(--space-3xl) var(--space-3xl);overflow:auto}.modal-form-grid{border-top:0;padding-top:0}.panel-heading h2,.directory-card h2{color:var(--text);font-size:var(--text-md);line-height:var(--leading-tight);margin:0}.panel-heading p,.directory-card p{margin:var(--space-2xs) 0 0;color:var(--muted);font-size:var(--text-sm);line-height:var(--leading-normal)}.panel-title-row{align-items:center;gap:var(--space-2xs);display:flex}.info-hint-wrap{display:inline-flex;position:relative}.info-hint{width:18px;height:18px;color:var(--muted);cursor:help;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;transition:background .16s,color .16s;display:inline-grid}.info-hint:hover,.info-hint:focus-visible{background:var(--surface-muted);color:var(--strong-muted)}label>span:has(>.info-hint-wrap){align-items:center;gap:var(--space-3xs);display:inline-flex}label>span>.info-hint-wrap .info-hint{width:15px;height:15px}label>span>.info-hint-wrap .info-hint svg{width:11px;height:11px}.info-hint-tooltip{z-index:140;border:1px solid var(--float-line);border-radius:var(--radius-sm);width:max-content;max-width:220px;padding:var(--space-sm) var(--space-md);background:var(--surface-raised);box-shadow:var(--shadow-raised);color:var(--text);font-size:var(--text-xs);font-weight:var(--weight-medium);line-height:var(--leading-normal);text-align:left;white-space:normal;pointer-events:none;animation:.14s backwards fade-in}.metric-card-label{align-items:center;gap:var(--space-3xs);min-width:0;display:inline-flex}.chart-panel{min-height:592px}.chart-delta-block{line-height:var(--leading-tight);flex-direction:column;align-items:flex-end;display:inline-flex}.chart-delta-block small{color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.04em;text-transform:uppercase}.chart-delta{white-space:nowrap;font-size:var(--text-md)}.chart-value-axis{pointer-events:none;position:absolute;inset:0}.chart-value-axis span{color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;white-space:nowrap;position:absolute;left:10px;transform:translateY(-50%)}.chart-value-axis span.is-zero{color:var(--strong-muted)}.capital-heading-main{gap:var(--space-2xs);flex:1 1 0;min-width:0;display:grid}.capital-legend{gap:var(--space-2xs) var(--space-md);color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-bold);flex-wrap:wrap;display:flex}.capital-legend span{align-items:center;gap:var(--space-2xs);display:inline-flex}.capital-legend span:before{content:"";border-radius:2px;width:9px;height:9px}.capital-legend .is-capital:before{background:var(--accent);border-radius:999px;width:12px;height:3px}.capital-legend .is-income:before{background:var(--positive)}.capital-legend .is-expense:before{background:var(--negative)}.chart-reset-zoom{align-items:center;gap:var(--space-2xs);height:26px;padding:0 var(--space-sm);border-radius:var(--radius-sm);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);cursor:pointer;background:0 0;border:0;display:inline-flex}.chart-reset-zoom:hover{background:var(--surface-muted);color:var(--accent)}.chart-heading-actions{justify-content:flex-end;align-items:center;gap:var(--space-base);min-width:0;display:flex}.chart-frame{background:var(--surface);border-radius:12px;height:500px;position:relative;overflow:hidden}.chart-frame.is-interactive{cursor:crosshair}.chart-frame svg{width:100%;height:100%;display:block}.chart-axis{stroke:color-mix(in srgb, var(--muted) 30%, transparent);stroke-width:1px;vector-effect:non-scaling-stroke}.chart-axis.muted{stroke:color-mix(in srgb, var(--line) 42%, transparent)}.chart-axis.vertical{stroke:color-mix(in srgb, var(--line) 52%, transparent)}.chart-fill{fill:url(#capital-fill)}.chart-line{fill:none;stroke:var(--accent);stroke-linecap:round;stroke-linejoin:round;stroke-width:3.2px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 7px color-mix(in srgb, var(--accent) 32%, transparent))}.capital-bars{pointer-events:none;position:absolute;inset:0}.capital-bar{--bar-tone:52%;min-height:2px;position:absolute;transform:translate(-50%)}.capital-bar.income{background:color-mix(in srgb, var(--positive) var(--bar-tone), transparent);border-radius:4px 4px 0 0}.capital-bar.expense{background:color-mix(in srgb, var(--negative) var(--bar-tone), transparent);border-radius:0 0 4px 4px}:root[data-theme=dark] .capital-bar{--bar-tone:62%}.capital-bars .capital-bar.is-active{--bar-tone:100%}.capital-svg{position:relative}.capital-hover-band{fill:color-mix(in srgb, var(--accent) 7%, transparent)}.chart-hover-line{stroke:color-mix(in srgb, var(--accent) 40%, transparent);stroke-width:1px;vector-effect:non-scaling-stroke}.chart-dot{z-index:2;pointer-events:none;border-radius:50%;position:absolute;transform:translate(-50%,-50%)}.chart-dot.is-last{background:var(--accent);width:9px;height:9px;box-shadow:0 0 0 2px var(--surface)}.chart-dot.is-point{background:var(--accent);width:5px;height:5px;box-shadow:0 0 0 1.5px var(--surface)}.chart-dot.is-active{background:var(--surface);width:6px;height:6px;box-shadow:0 0 0 2px var(--accent), 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent);transition:left 90ms var(--ease), top 90ms var(--ease)}.chart-date-axis{pointer-events:none;height:16px;position:absolute;bottom:13px;left:2px;right:2px}.chart-date-axis span{color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-bold);white-space:nowrap;line-height:1;position:absolute;bottom:0;transform:translate(-50%)}.chart-date-label.is-tight{display:none}.chart-hover-card{pointer-events:none;z-index:4;gap:var(--space-2xs);border:1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);min-width:150px;padding:var(--space-md) var(--space-md);background:color-mix(in srgb, var(--surface) 94%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:10px;display:grid;position:absolute;transform:translate(-50%,-100%);box-shadow:0 18px 38px #0000002e}.chart-hover-card span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);text-transform:capitalize}.chart-hover-card strong{color:var(--text);font-size:var(--text-md);line-height:var(--leading-tight)}.chart-hover-card small{font-size:var(--text-xs);font-weight:var(--weight-bold)}.capital-hover-card>span{text-transform:none}.capital-hover-card em:first-of-type{margin-top:var(--space-2xs);border-top:1px solid color-mix(in srgb, var(--line) 70%, transparent);padding-top:var(--space-sm)}.capital-hover-card small{color:var(--muted)}.chart-hover-card em{justify-content:space-between;align-items:baseline;gap:var(--space-xl);font-style:normal;display:flex}.chart-hover-card em i{color:var(--muted);font-size:var(--text-xs);font-style:normal;font-weight:var(--weight-medium)}.chart-hover-card em strong{font-size:var(--text-base);font-weight:var(--weight-bold)}.journal-pnl-chart-frame.is-interactive{cursor:crosshair}.chart-heading-side{align-items:center;gap:var(--space-base);display:inline-flex}.chart-value-badge{z-index:2;border:1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);min-height:28px;padding:0 var(--space-sm);background:color-mix(in srgb, var(--surface) 92%, transparent);color:var(--text);font-size:var(--text-xs);font-weight:var(--weight-black);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);white-space:nowrap;border-radius:8px;align-items:center;display:inline-flex;position:absolute;transform:translate(-100%,-50%);box-shadow:0 10px 24px #00000029}.chart-value-badge.positive{color:var(--positive-text)}.chart-value-badge.negative{color:var(--negative-text)}.chart-footer{justify-content:space-between;gap:var(--space-lg);margin-top:var(--space-base);color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-semibold);display:flex}.chart-empty{border:1px dashed var(--line-strong);border-radius:var(--radius-sm);min-height:260px;color:var(--muted);font-weight:var(--weight-semibold);place-items:center;display:grid}.journal-list,.account-health-list{gap:var(--space-md);display:grid}.journal-gallery{gap:var(--space-2xl);grid-template-columns:repeat(auto-fill,minmax(240px,1fr));display:grid}.journal-gallery-sentinel{height:1px;margin-top:calc(-1 * var(--space-base));grid-column:1/-1}.journal-trades{container:journal-trades/inline-size}.journal-trades-layout{align-items:start;gap:var(--space-2xl);grid-template-columns:200px minmax(0,1fr);display:grid}.journal-trades-layout.is-single{grid-template-columns:minmax(0,1fr)}.journal-trades-main{gap:var(--space-lg);min-width:0;display:grid}.journal-folders{align-content:start;gap:var(--space-2xs);min-width:0;display:grid}.journal-folder-section,.journal-folder-firm,.journal-folder-archive{gap:var(--space-2xs);min-width:0;display:grid}.journal-folder-section{margin-top:var(--space-md)}.journal-folder-heading{padding:0 var(--space-sm);color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.06em;text-transform:uppercase}.journal-folder-firm-name{padding:var(--space-sm) var(--space-sm) 0;color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.journal-folder-archive{margin-left:var(--space-md);padding-left:var(--space-sm);border-left:1px solid var(--line)}.journal-folder{align-items:center;gap:var(--space-sm);width:100%;min-height:36px;padding:var(--space-xs) var(--space-sm);border-radius:var(--radius-sm);color:var(--strong-muted);font:inherit;font-size:var(--text-sm);font-weight:var(--weight-medium);text-align:left;cursor:pointer;transition:background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);background:0 0;border:0;grid-template-columns:16px minmax(0,1fr) auto;display:grid}.journal-folder:hover{background:var(--surface-muted);color:var(--text)}.journal-folder.is-active{background:var(--accent-soft);color:var(--accent-strong);font-weight:var(--weight-bold)}.journal-folder-icon{color:var(--muted);place-items:center;display:grid}.journal-folder.is-active .journal-folder-icon,.journal-folder.is-active .journal-folder-count,.journal-folder.is-active .journal-folder-chevron{color:var(--accent-strong)}.journal-folder-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.journal-folder-full{display:none}.journal-folder-chevron{margin-left:var(--space-2xs);color:var(--muted);vertical-align:-2px;transition:transform var(--dur-fast) var(--ease);display:inline-block}.journal-folder-chevron.is-open{transform:rotate(90deg)}.journal-folder-count{color:var(--muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums}.journal-trades-side{align-content:start;gap:var(--space-base);min-width:0;display:grid}@media (width>=821px){.journal-trades-side{top:calc(var(--topbar-height,0px) + var(--space-lg));max-height:calc(100dvh - var(--topbar-height,0px) - 2 * var(--space-lg));flex-direction:column;display:flex;position:sticky}.journal-folders{overscroll-behavior:contain;flex:0 auto;min-height:0;overflow-y:auto}.journal-day-filter{flex:none}}.journal-day-filter{min-width:0;padding:var(--space-sm);border-radius:var(--radius-md);background:var(--surface);box-shadow:0 0 0 1px var(--line), var(--shadow)}.journal-day-filter-toggle{display:none}.journal-day-filter-body{gap:var(--space-xs);display:grid}.journal-day-filter-head{justify-content:space-between;align-items:center;gap:var(--space-2xs);display:flex}.journal-day-filter-head strong{color:var(--text);font-size:var(--text-2xs);font-weight:var(--weight-bold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.journal-day-filter-head strong:first-letter{text-transform:uppercase}.journal-day-filter-weekdays,.journal-day-filter-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;display:grid}.journal-day-filter-weekdays span{color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-semibold);text-align:center;text-transform:uppercase}.journal-day-filter-day{border-radius:var(--radius-sm);height:24px;color:var(--text);font-size:var(--text-2xs);font-weight:var(--weight-semibold);font-variant-numeric:tabular-nums;cursor:pointer;background:0 0;border:0;padding:0}.journal-day-filter-day:disabled{color:var(--muted);font-weight:var(--weight-normal);opacity:.55;cursor:default}.journal-day-filter-day.is-flat{background:var(--surface-muted)}.journal-day-filter-day.is-win{background:var(--positive-soft);color:var(--positive-text)}.journal-day-filter-day.is-loss{background:var(--negative-soft);color:var(--negative-text)}.journal-day-filter-day:not(:disabled):hover,.journal-day-filter-day.is-today{box-shadow:inset 0 0 0 1px var(--line-strong)}.journal-day-filter-day.is-selected,.journal-day-filter-day.is-selected:not(:disabled):hover{background:var(--accent);color:var(--on-accent);font-weight:var(--weight-bold);opacity:1}.journal-day-filter-day.is-selected:not(:disabled):hover{background:var(--accent-strong);box-shadow:none}.journal-day-filter-foot{justify-content:space-between;align-items:center;gap:var(--space-sm);min-height:24px;color:var(--strong-muted);font-size:var(--text-2xs);font-weight:var(--weight-semibold);display:flex}.journal-day-filter-foot .is-hint{color:var(--muted);font-weight:var(--weight-normal)}@container journal-trades (width<=719px){.journal-trades-side{max-height:none;display:grid;position:static}.journal-day-filter{padding:0}.journal-day-filter-toggle{align-items:center;gap:var(--space-sm);width:100%;min-height:44px;padding:0 var(--space-base);border-radius:var(--radius-md);color:var(--text);font-size:var(--text-xs);font-weight:var(--weight-semibold);cursor:pointer;background:0 0;border:0;display:flex}.journal-day-filter-chevron{color:var(--muted);transition:transform var(--dur-fast) var(--ease-out);margin-left:auto}.journal-day-filter.is-open .journal-day-filter-chevron{transform:rotate(90deg)}.journal-day-filter-body{max-width:360px;padding:0 var(--space-base) var(--space-base);margin:0 auto;display:none}.journal-day-filter.is-open .journal-day-filter-body{display:grid}.journal-day-filter-day{height:40px;font-size:var(--text-sm)}}.journal-folder-head{align-items:center;gap:var(--space-md) var(--space-2xl);grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"title stats filter";display:grid}.journal-folder-title{gap:var(--space-2xs);grid-area:title;min-width:0;display:grid}.journal-folder-filter{grid-area:filter}.journal-folder-title h2{color:var(--text);font-size:var(--text-lg);font-weight:var(--weight-bold);line-height:var(--leading-tight);overflow-wrap:anywhere;margin:0}.journal-folder-title p{color:var(--muted);font-size:var(--text-sm);margin:0}.journal-folder-stats{gap:var(--space-md) var(--space-2xl);flex-wrap:wrap;grid-area:stats;margin:0;display:flex}@container journal-trades (width<=899px){.journal-folder-head{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title filter""stats stats"}}.journal-folder-stats div{gap:var(--space-2xs);display:grid}.journal-folder-stats dt{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.journal-folder-stats dd{font-size:var(--text-md);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;white-space:nowrap;margin:0}.journal-gallery-month{align-items:baseline;gap:var(--space-2xs) var(--space-md);margin:0 0 calc(var(--space-lg) - var(--space-2xl));padding-top:var(--space-lg);color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-bold);border-top:0;flex-wrap:wrap;grid-column:1/-1;display:flex}.journal-gallery-month-stats{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);font-variant-numeric:tabular-nums}.journal-gallery>.empty-panel{grid-column:1/-1;margin-top:0}.journal-gallery-elsewhere{justify-items:center;gap:var(--space-sm);margin-top:var(--space-md);display:grid}@container journal-trades (width<=719px){.journal-trades-layout{gap:var(--space-lg);grid-template-columns:minmax(0,1fr)}.journal-folders{max-height:none;margin:0 calc(-1 * var(--workspace-pad));padding:0 var(--workspace-pad);gap:var(--space-sm);overscroll-behavior-x:contain;scrollbar-width:none;display:flex;position:static;overflow:auto hidden}.journal-folders::-webkit-scrollbar{display:none}.journal-folder-section,.journal-folder-firm,.journal-folder-archive{display:contents}.journal-folder-heading,.journal-folder-firm-name,.journal-folder-icon,.journal-folder-chevron,.journal-folder-short{display:none}.journal-folder-full{display:inline}.journal-folder{width:auto;min-height:40px;padding:0 var(--space-md);border:1px solid var(--line);background:var(--surface);border-radius:999px;flex:none;grid-template-columns:auto auto}.journal-folder.is-active{background:var(--accent-soft);border-color:#0000}.journal-folder-name{overflow:visible}}.journal-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);min-width:0;box-shadow:var(--shadow);cursor:pointer;transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);flex-direction:column;display:flex;overflow:hidden}.journal-card:hover,.journal-card:focus-visible{border-color:var(--line-strong);box-shadow:var(--shadow-hover);outline:0}.journal-card-media{aspect-ratio:16/9;background:var(--surface-muted);place-items:center;display:grid;position:relative;overflow:hidden}.journal-card-media img{object-fit:cover;width:100%;height:100%}.journal-card-media .trade-placeholder{width:100%;height:100%;display:block}.trade-placeholder-area{fill:color-mix(in srgb, var(--text) 5%, var(--surface-muted))}.trade-placeholder-line{fill:none;stroke:color-mix(in srgb, var(--text) 18%, var(--surface-muted));stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.journal-card-footer{align-items:center;gap:var(--space-sm);padding:var(--space-lg);grid-template-columns:minmax(0,1fr) auto;display:grid}.journal-card-footer strong{align-items:center;gap:var(--space-sm);min-width:0;color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-bold);display:flex}.journal-card-footer strong span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.journal-card-direction{padding:var(--space-2xs) var(--space-sm);background:var(--surface-muted);color:var(--strong-muted);font-size:var(--text-xs);font-style:normal;font-weight:var(--weight-medium);letter-spacing:0;text-transform:uppercase;border-radius:5px;flex-shrink:0}.journal-card-footer>span{font-size:var(--text-sm);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;white-space:nowrap}.journal-folder-dot,.journal-folder-swatch{background:var(--donut-other)}.journal-folder-dot[data-color=cat-1],.journal-folder-swatch[data-color=cat-1]{background:var(--donut-cat-1)}.journal-folder-dot[data-color=cat-2],.journal-folder-swatch[data-color=cat-2]{background:var(--donut-cat-2)}.journal-folder-dot[data-color=cat-3],.journal-folder-swatch[data-color=cat-3]{background:var(--donut-cat-3)}.journal-folder-dot[data-color=cat-4],.journal-folder-swatch[data-color=cat-4]{background:var(--donut-cat-4)}.journal-folder-dot[data-color=cat-5],.journal-folder-swatch[data-color=cat-5]{background:var(--donut-cat-5)}.journal-folder-dot{border-radius:3px;flex-shrink:0;width:10px;height:10px;display:inline-block}.journal-folder-dot.is-unfiled{border:1.5px dashed var(--line-strong);background:0 0}.journal-folder-grid{gap:var(--space-sm);min-width:0;display:grid}.journal-folder-grid-head{align-items:center;gap:var(--space-xs);display:flex}.journal-folder-grid-head h3,.journal-folder-crumb{color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.06em;text-transform:uppercase;margin:0}.journal-folder-trail{min-width:0}.journal-folder-trail ol{align-items:center;gap:var(--space-3xs);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.journal-folder-trail li{min-width:0;display:flex}.journal-folder-crumb{max-width:16em;padding:var(--space-3xs) var(--space-2xs);border-radius:var(--radius-sm);font-family:inherit;line-height:var(--leading-snug);text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;overflow:hidden}button.journal-folder-crumb{cursor:pointer;transition:background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease)}button.journal-folder-crumb:hover{background:var(--surface-muted);color:var(--text)}button.journal-folder-crumb:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.journal-folder-crumb.is-current{color:var(--text)}.journal-folder-crumb.is-droppable{outline:1.5px dashed var(--line-strong);outline-offset:-1.5px}.journal-folder-crumb.is-drop-target{outline:2px solid var(--accent);outline-offset:-2px;background:var(--accent-soft);color:var(--accent-strong)}.journal-folder-crumb-sep{color:var(--muted);align-items:center}.journal-folder-grid-items{align-items:start;gap:var(--space-xs);grid-template-columns:repeat(auto-fill,120px);display:grid}.journal-folder-tile{border-radius:var(--radius-md);justify-items:center;min-width:0;display:grid;position:relative}.journal-folder-tile-button{justify-items:center;gap:var(--space-2xs);width:100%;padding:var(--space-sm) var(--space-xs);border-radius:var(--radius-md);color:var(--text);font:inherit;text-align:center;cursor:pointer;transition:background-color var(--dur-fast) var(--ease);background:0 0;border:0;display:grid}.journal-folder-tile-button:hover{background:var(--surface-muted)}.journal-folder-tile-button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.journal-folder-tile.is-open .journal-folder-tile-button{background:var(--accent-soft)}.journal-folder-tile.is-open .journal-folder-tile-name{color:var(--accent-strong);font-weight:var(--weight-bold)}.journal-folder-tile-name{-webkit-line-clamp:2;max-width:100%;font-size:var(--text-xs);font-weight:var(--weight-medium);line-height:var(--leading-snug);overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.journal-folder-tile-count{color:var(--muted);font-size:var(--text-2xs);font-variant-numeric:tabular-nums}.journal-folder-tile.is-add .journal-folder-tile-name{color:var(--accent-strong)}.journal-folder-icon-art{width:76px;height:59px;transition:transform var(--dur-fast) var(--ease);display:block}.journal-folder-icon-art svg{width:100%;height:100%;display:block;overflow:visible}.journal-folder-icon-art[data-color=cat-1]{--folder-color:var(--donut-cat-1)}.journal-folder-icon-art[data-color=cat-2]{--folder-color:var(--donut-cat-2)}.journal-folder-icon-art[data-color=cat-3]{--folder-color:var(--donut-cat-3)}.journal-folder-icon-art[data-color=cat-4]{--folder-color:var(--donut-cat-4)}.journal-folder-icon-art[data-color=cat-5]{--folder-color:var(--donut-cat-5)}.journal-folder-icon-art .folder-back{fill:color-mix(in srgb, var(--folder-color,var(--donut-other)) 70%, #000)}.journal-folder-icon-art .folder-front{fill:var(--folder-color,var(--donut-other))}.journal-folder-icon-art .folder-shine{fill:#ffffff47}.journal-folder-icon-art .folder-flap{transform-box:fill-box;transform-origin:50% 100%}.folder-spit-ghost{z-index:70;pointer-events:none;position:fixed}.journal-folder-tile.is-dragged{opacity:.45}.journal-folder-icon-art.is-outline .folder-back,.journal-folder-icon-art.is-outline .folder-front{fill:none;stroke:var(--line-strong);stroke-dasharray:4 3;stroke-width:1.5px}.journal-folder-icon-art.is-add .folder-back,.journal-folder-icon-art.is-add .folder-front{stroke:var(--accent)}.journal-folder-icon-art .folder-plus{fill:none;stroke:var(--accent);stroke-linecap:round;stroke-width:2.5px}.journal-folder-tile.is-droppable .journal-folder-tile-button{outline:1.5px dashed var(--line-strong);outline-offset:-1.5px}.journal-folder-tile.is-drop-target .journal-folder-tile-button{outline:2px solid var(--accent);outline-offset:-2px;background:var(--accent-soft)}.journal-folder-tile.is-drop-target .journal-folder-icon-art{transform:translateY(-2px)scale(1.08)}.journal-folder-tile>.topbar-menu{top:var(--space-2xs);right:var(--space-2xs);position:absolute}.journal-folder-tile-menu{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;opacity:0;transition:opacity var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);place-items:center;padding:0;display:grid}.journal-folder-tile:hover .journal-folder-tile-menu,.journal-folder-tile:focus-within .journal-folder-tile-menu,.journal-folder-tile-menu[aria-expanded=true]{opacity:1}@media (hover:none){.journal-folder-tile-menu{opacity:1}}.journal-folder-tile-menu:hover,.journal-folder-tile-menu[aria-expanded=true]{border-color:var(--line-strong);background:var(--surface-muted);color:var(--text)}.journal-folder-tile-menu:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.journal-folder-tile.is-editing{gap:var(--space-2xs);padding:var(--space-sm) var(--space-xs)}.journal-folder-tile-input{width:100%;min-width:0;height:28px;padding:0 var(--space-xs);border:1px solid var(--accent);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;font-size:var(--text-xs);text-align:center}.journal-folder-tile-input:focus{box-shadow:0 0 0 3px var(--accent-soft);outline:0}.journal-folder-grid-message{color:var(--negative-text);font-size:var(--text-xs);margin:0}.journal-folder-title h2{align-items:center;gap:var(--space-sm);display:flex}.journal-folder-title h2>span{min-width:0}.journal-folder-title h2 .journal-folder-dot{width:12px;height:12px}.journal-folder-filter{align-items:center;gap:var(--space-sm);display:flex}.journal-select-toggle.is-active,.journal-select-toggle.is-active:hover:not(:disabled){background:var(--accent-soft);color:var(--accent-strong);border-color:#0000}@container journal-trades (width<=559px){.journal-select-toggle{padding-inline:var(--space-md)}.journal-select-toggle span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}.journal-card{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.journal-card.is-selected{outline:2px solid var(--accent);outline-offset:-2px}.journal-card.is-dragging{opacity:.45}.journal-card-folder{top:var(--space-sm);left:var(--space-sm);z-index:1;align-items:center;gap:var(--space-xs);max-width:calc(100% - 2 * var(--space-sm) - 30px);padding:var(--space-2xs) var(--space-sm);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-flat);color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-medium);display:inline-flex;position:absolute}.journal-card-folder>span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.journal-card-folder .journal-folder-dot{border-radius:2px;width:8px;height:8px}.journal-card-check{top:var(--space-sm);right:var(--space-sm);z-index:1;border:1.5px solid var(--line-strong);background:var(--surface);width:22px;height:22px;color:var(--on-accent);border-radius:6px;place-items:center;display:grid;position:absolute}.journal-card-check.is-checked{border-color:var(--accent);background:var(--accent)}.journal-drag-badge{padding:var(--space-xs) var(--space-md);background:var(--accent);color:var(--on-accent);font-size:var(--text-sm);font-weight:var(--weight-bold);white-space:nowrap;pointer-events:none;border-radius:999px;position:fixed;top:-200px;left:-200px}.journal-trades.is-selecting{padding-bottom:96px}.journal-selection-bar{bottom:max(var(--space-2xl), env(safe-area-inset-bottom));z-index:50;justify-content:center;align-items:center;gap:var(--space-sm);width:max-content;max-width:calc(100vw - 2 * var(--space-lg));padding:var(--space-sm) var(--space-sm) var(--space-sm) var(--space-lg);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-raised);flex-wrap:wrap;display:flex;position:fixed;left:50%;transform:translate(-50%)}.journal-selection-bar strong{margin-right:var(--space-sm);color:var(--text);font-size:var(--text-sm);font-variant-numeric:tabular-nums;white-space:nowrap}.journal-move{gap:var(--space-md);display:grid}.journal-move-list{margin:0;padding:0;list-style:none;display:grid}.journal-move-list>li:nth-child(2n)>.journal-move-row{background:color-mix(in srgb, var(--surface-muted) 70%, transparent)}.journal-move-row{padding-left:calc(var(--space-2xs) + var(--depth,0) * var(--space-2xl));border-radius:var(--radius-sm);grid-template-columns:24px minmax(0,1fr);align-items:stretch;display:grid}.journal-move-list>li>.journal-move-row:has(>.journal-move-option:not(:disabled)):hover{background:var(--accent-soft)}.journal-move-toggle{border-radius:var(--radius-sm);color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.journal-move-toggle:hover{color:var(--text)}.journal-move-toggle svg{transition:transform var(--dur-fast) var(--ease)}.journal-move-toggle.is-open svg{transform:rotate(90deg)}.journal-move-option{align-items:center;gap:var(--space-sm);width:100%;min-height:36px;padding:var(--space-2xs) var(--space-md) var(--space-2xs) var(--space-2xs);border-radius:var(--radius-sm);color:var(--text);font:inherit;font-size:var(--text-sm);font-weight:var(--weight-medium);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:20px minmax(0,1fr) auto;display:grid}.journal-move-option:disabled{color:var(--muted);cursor:default}.journal-move-option .journal-folder-icon-art{width:20px;height:16px}.journal-move-option .journal-folder-icon-art.is-outline .folder-back,.journal-move-option .journal-folder-icon-art.is-outline .folder-front{stroke-dasharray:7 5;stroke-width:4px}.journal-move-option>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.journal-move-option em{color:var(--muted);font-size:var(--text-xs);font-style:normal;font-weight:var(--weight-normal);display:block}.journal-move-option small{color:var(--muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums}.journal-move-option.is-add{color:var(--accent-strong);grid-template-columns:20px minmax(0,1fr)}.journal-move-option.is-add svg{justify-self:center}@media (width<=820px){.journal-move-option{min-height:44px}}.firm-form.journal-folder-edit,.firm-form.journal-move-new{grid-template-columns:minmax(0,1fr)}.journal-move-list+.journal-move-new{padding-top:var(--space-md);border-top:0}.journal-move-new-where{font-size:var(--text-xs);font-weight:var(--weight-normal)}@media (width<=560px){.journal-move-new .form-action-row{display:flex}.journal-move-new .form-action-row>button{flex:1 1 0;min-width:max-content;min-height:44px}}.journal-folder-colors{gap:var(--space-xs);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);display:grid}.journal-folder-colors>div{gap:var(--space-md);flex-wrap:wrap;display:flex}.journal-folder-swatch{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--surface);cursor:pointer;border:0;place-items:center;display:grid}.journal-folder-swatch.is-selected{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--text)}.journal-folder-swatch:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.journal-detail-folder{align-items:center;gap:var(--space-xs);display:flex}@container journal-trades (width<=719px){.journal-folder-grid-items{margin:0 calc(-1 * var(--workspace-pad));padding:0 var(--workspace-pad) var(--space-2xs);overscroll-behavior-x:contain;scrollbar-width:none;display:flex;overflow-x:auto}.journal-folder-grid-items::-webkit-scrollbar{display:none}.journal-folder-tile{flex:0 0 100px}}.journal-cockpit-toolbar{justify-content:flex-end;align-items:center;gap:var(--space-sm);display:flex}.journal-cockpit-account-filter{width:200px}.journal-cockpit-account-filter .custom-select-trigger{border:1px solid var(--line);border-radius:var(--radius-sm);min-height:38px;padding:0 var(--space-base);background:var(--surface);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-bold)}.journal-dashboard-widgets{gap:var(--space-2xl);grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:dense;align-items:start;display:grid}.journal-dashboard-widget{min-width:0;position:relative}.journal-dashboard-widget[data-widget-size=full]{grid-column:span 12}.journal-dashboard-widget[data-widget-size=wide]{grid-column:span 9}.journal-dashboard-widget[data-widget-size=half]{grid-column:span 6;align-self:stretch;display:grid}.journal-dashboard-widget[data-widget-size=narrow]{grid-column:span 3;align-self:stretch;display:grid}.journal-dashboard-widget[data-widget-size=span-7]{grid-column:span 7;align-self:stretch;display:grid}.journal-dashboard-widget[data-widget-size=span-5]{grid-column:span 5;align-self:stretch;display:grid}@media (width>=821px){.journal-dashboard-widget[data-widget-size=span-5]>.journal-strategies-panel{flex-direction:column;min-height:0;display:flex}.journal-strategies-panel>.insight-list{scrollbar-width:thin;flex:1 1 0;align-content:start;min-height:130px;overflow-y:auto}.journal-strategies-panel>.chart-empty{flex:1 1 0;min-height:130px}}.journal-dashboard-widget[data-widget-size=quarter]{grid-column:span 3;align-self:stretch;display:grid}@media (width>=1181px){.journal-dashboard-widgets{grid-auto-rows:32px;grid-auto-flow:row;align-items:stretch}.journal-dashboard-widgets>.journal-dashboard-widget{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);grid-column:var(--widget-x) / span var(--widget-w);grid-row:var(--widget-y) / span var(--widget-h);align-self:stretch;min-height:0;display:grid}.journal-dashboard-widget>.panel{scrollbar-width:thin;min-height:0;overflow-y:auto}.journal-dashboard-widget>.journal-pnl-curve-panel,.journal-dashboard-widget>.journal-calendar-panel,.journal-dashboard-widget>.journal-hours-panel,.journal-dashboard-widget>.journal-strategies-panel,.journal-dashboard-widget>.journal-recent-panel{flex-direction:column;min-height:0;display:flex}.journal-dashboard-widget .journal-pnl-chart-frame,.journal-dashboard-widget .journal-discipline-panel .journal-pnl-chart-frame{flex:1 1 0;height:auto;min-height:96px}.journal-dashboard-widget .journal-hours-bars{flex:1 1 0;grid-auto-rows:minmax(0,1fr);min-height:0}.journal-dashboard-widget .journal-hours-bar{grid-template-rows:minmax(0,1fr) auto auto}.journal-dashboard-widget .journal-calendar-grid{flex:1 1 0;grid-template-rows:auto;grid-auto-rows:minmax(0,1fr);min-height:0}.journal-dashboard-widget .journal-calendar-grid .journal-day{min-height:0}.journal-dashboard-widget>.metric-grid.journal-kpi-grid{grid-auto-rows:minmax(0,1fr);min-height:0}.journal-dashboard-widget[data-widget-compact]>.metric-grid.journal-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-dashboard-widget .journal-strategies-panel>.insight-list{scrollbar-width:thin;flex:1 1 0;align-content:start;min-height:0;overflow-y:auto}.journal-dashboard-widget .journal-strategies-panel>.chart-empty{flex:1 1 0;min-height:0}}.journal-dashboard-widgets.is-just-saved>.journal-dashboard-widget{animation:journal-widget-saved .42s var(--ease-out) backwards;animation-delay:calc(var(--widget-index) * 32ms)}@keyframes journal-widget-saved{0%{opacity:0;scale:.97}}.journal-widget-customize-list{gap:var(--space-sm);margin-bottom:var(--space-xl);display:grid}.journal-widget-customize-row{align-items:center;gap:var(--space-md);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-md) var(--space-base);background:var(--surface);color:var(--strong-muted);font-size:var(--text-base);font-weight:var(--weight-semibold);cursor:grab;transition:border-color .16s,opacity .16s;display:flex}.journal-widget-customize-row:active{cursor:grabbing}.journal-widget-customize-row.is-hidden{opacity:.55}.journal-widget-customize-row svg{color:var(--muted);flex-shrink:0}.journal-widget-customize-row span{flex:1}.journal-widget-customize-row input[type=checkbox]{width:17px;height:17px;accent-color:var(--accent)}.journal-widget-customize-row.is-field,.journal-widget-customize-row.is-field:active{cursor:pointer}.journal-widget-customize-list.is-two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}@media (width<=560px){.journal-widget-customize-list.is-two-columns{grid-template-columns:minmax(0,1fr)}}.journal-field-customize-note{margin:0 0 var(--space-base);color:var(--muted);font-size:var(--text-xs);line-height:var(--leading-normal)}.journal-pnl-curve-panel{min-height:392px}.journal-pnl-chart-frame{background:var(--surface);border-radius:12px;height:286px;position:relative;overflow:hidden}.journal-pnl-chart-frame svg{width:100%;height:100%;display:block}.chart-axis.baseline{stroke:color-mix(in srgb, var(--muted) 44%, transparent);stroke-dasharray:5 7}.journal-pnl-chart-fill{fill:url(#journal-pnl-fill)}.journal-pnl-chart-line{fill:none;stroke:var(--accent);stroke-linecap:round;stroke-linejoin:round;stroke-width:3.2px;vector-effect:non-scaling-stroke;filter:none}.journal-pnl-chart-limit{fill:none;stroke-dasharray:6 5;stroke-linejoin:round;stroke-width:1.6px;vector-effect:non-scaling-stroke}.journal-pnl-chart-limit.is-target{stroke:var(--positive)}.journal-pnl-chart-limit.is-mll{stroke:var(--negative)}.journal-pnl-chart-limit-label{pointer-events:none;z-index:1;font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;line-height:1;position:absolute}.journal-pnl-chart-limit-label.is-target{color:var(--positive-text);transform:translate(-100%, calc(-100% - var(--space-2xs)))}.journal-pnl-chart-limit-label.is-mll{color:var(--negative-text);transform:translate(-100%, var(--space-2xs))}.journal-errors-body{align-items:center;gap:var(--space-4xl);grid-template-columns:auto minmax(0,1fr);display:grid}.journal-errors-donut{place-items:center;width:168px;height:168px;display:grid;position:relative}.journal-errors-donut svg{width:100%;height:100%}.journal-errors-donut-center{justify-items:center;gap:var(--space-3xs);text-align:center;display:grid;position:absolute}.journal-errors-donut-center strong{font-size:var(--text-2xl);font-weight:var(--weight-bold);line-height:1}.journal-errors-donut-center small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.journal-errors-legend{gap:var(--space-base);margin:0;padding:0;list-style:none;display:grid}.journal-errors-legend li{align-items:center;gap:var(--space-sm);font-size:var(--text-base);grid-template-columns:auto minmax(0,1fr) auto auto;display:grid}.journal-errors-legend i{border-radius:999px;width:10px;height:10px}.journal-errors-arc{cursor:pointer;transition:opacity var(--dur-fast) var(--ease), stroke-width var(--dur-fast) var(--ease)}.journal-errors-arc.is-dimmed{opacity:.3}.journal-errors-legend li{cursor:pointer;border-radius:var(--radius-sm);padding:var(--space-2xs) var(--space-sm);margin:calc(var(--space-2xs) * -1) calc(var(--space-sm) * -1);transition:background var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease)}.journal-errors-legend li.is-active{background:var(--surface-muted)}.journal-errors-legend li.is-dimmed{opacity:.45}.journal-errors-legend span{color:var(--text);font-weight:var(--weight-medium);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.journal-errors-legend em{padding:var(--space-3xs) var(--space-sm);font-size:var(--text-xs);font-style:normal;font-weight:var(--weight-medium);border-radius:999px}.journal-errors-legend em.severity-severe{background:var(--negative-soft);color:var(--negative-text)}.journal-errors-legend em.severity-moderate{background:color-mix(in srgb, var(--warning) 16%, transparent);color:var(--warning-text)}.journal-errors-legend em.severity-minor{background:var(--surface-muted);color:var(--muted)}.journal-errors-legend strong{min-width:32px;font-size:var(--text-md);font-weight:var(--weight-bold);text-align:right}@media (width<=900px){.journal-errors-body{grid-template-columns:minmax(0,1fr);justify-items:center}.journal-errors-legend{width:100%}}.journal-discipline-panel{flex-direction:column;display:flex}.journal-discipline-panel .journal-pnl-chart-frame{flex:1 0 220px;height:auto}.journal-errors-panel{flex-direction:column;display:flex}.journal-errors-panel>.journal-errors-body,.journal-errors-panel>.chart-empty{flex:auto}.journal-discipline-chart-line{fill:none;stroke:var(--discipline-line);stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4px;vector-effect:non-scaling-stroke}.journal-discipline-chart-point{fill:none;stroke:var(--discipline-line);stroke-linecap:round;stroke-width:3.5px;vector-effect:non-scaling-stroke}.journal-chart-axis-top,.journal-chart-axis-bottom{left:var(--space-base);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);position:absolute}.journal-chart-axis-top{top:var(--space-base)}.journal-chart-axis-bottom{bottom:var(--space-base)}.journal-chart-footer{justify-content:space-between;align-items:baseline;gap:var(--space-sm);margin-top:var(--space-base);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);display:flex}.journal-pnl-chart-point,.journal-pnl-chart-point-core{fill:none;stroke-linecap:round;vector-effect:non-scaling-stroke}.journal-pnl-chart-point.is-muted{stroke:var(--accent-strong);stroke-width:8.5px;opacity:.42}.journal-pnl-chart-point-core.is-muted{stroke:#fff;stroke-width:3.8px}.journal-pnl-chart-point.is-last{stroke:var(--surface);stroke-width:11px}.journal-pnl-chart-point-core.is-last{stroke:var(--accent);stroke-width:7px}.journal-recent-panel{min-height:374px}.journal-recent-list{gap:var(--space-xs);display:grid}.journal-recent-row{gap:var(--space-3xs);border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;min-height:52px;padding:var(--space-sm) var(--space-md);background:var(--surface);box-shadow:var(--shadow);color:var(--text);text-align:left;transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);display:grid}.journal-recent-row:hover,.journal-recent-row:focus-visible{border-color:color-mix(in srgb, var(--accent) 38%, var(--line));box-shadow:0 4px 16px color-mix(in srgb, var(--accent) 12%, transparent);outline:0;transform:translateY(-1px)}.journal-recent-row-copy{gap:var(--space-3xs);min-width:0;display:grid}.journal-recent-row-heading{align-items:center;gap:var(--space-2xs);grid-template-columns:52px minmax(0,1fr);min-width:0;display:grid}.journal-recent-row .journal-card-direction{justify-self:start}.journal-recent-row-symbol{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-bold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.journal-recent-row-date{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.journal-recent-row>strong{font-size:var(--text-sm);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.journal-account-divider{background:0 0;border:none;height:1px;margin:0}.journal-account-overview-panel{gap:var(--space-2xl);background:var(--surface);display:grid}.journal-account-overview-head{justify-content:space-between;align-items:flex-start;gap:var(--space-lg);display:flex}.journal-account-overview-head h2{color:var(--text);font-size:var(--text-2xl);line-height:var(--leading-tight);margin:0}.journal-account-figures{justify-content:flex-end;gap:var(--space-md) var(--space-2xl);flex-wrap:wrap;display:flex}.journal-account-figures div{justify-items:end;gap:var(--space-2xs);display:grid}.journal-account-figures span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);text-transform:uppercase}.journal-account-figures strong{font-size:var(--text-md);font-weight:var(--weight-black);font-variant-numeric:tabular-nums;white-space:nowrap}.journal-account-bar{gap:var(--space-lg);display:grid}.journal-account-bar-track{height:6px;margin-bottom:var(--space-md);background:linear-gradient(90deg, color-mix(in srgb, var(--negative) 40%, var(--line)) 0%, var(--line) var(--bar-start,50%), color-mix(in srgb, var(--positive) 40%, var(--line)) 100%);border-radius:999px;position:relative}.journal-account-bar.has-daily .journal-account-bar-track{margin-top:var(--space-md)}.journal-account-bar.is-unscaled .journal-account-bar-track{background:var(--line)}.journal-account-bar-fill{transition:left var(--dur) var(--ease), width var(--dur) var(--ease);border-radius:999px;position:absolute;top:0;bottom:0}.journal-account-bar.is-down .journal-account-bar-fill{background:var(--negative);box-shadow:0 0 12px color-mix(in srgb, var(--negative) 50%, transparent)}.journal-account-bar.is-up .journal-account-bar-fill{background:var(--positive);box-shadow:0 0 12px color-mix(in srgb, var(--positive) 50%, transparent)}.journal-account-bar-mark{z-index:1;background:var(--strong-muted);width:2px;transition:left var(--dur) var(--ease);border-radius:999px;position:absolute;top:-4px;bottom:-4px;transform:translate(-1px)}.journal-account-bar-mark small{color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;line-height:1;position:absolute;left:50%;transform:translate(-50%)}.journal-account-bar-mark.is-start small{top:calc(100% + var(--space-2xs))}.journal-account-bar-mark.is-daily{background:var(--warning)}.journal-account-bar-mark.is-daily small{bottom:calc(100% + var(--space-2xs));color:var(--warning-text)}.journal-account-bar-mark.is-edge-start small{left:0;transform:none}.journal-account-bar-mark.is-edge-end small{left:auto;right:0;transform:none}.journal-account-bar-ends{justify-content:space-between;align-items:baseline;gap:var(--space-lg);display:flex}.journal-account-bar-ends span,.journal-account-bar-figures span{align-items:baseline;gap:var(--space-xs);min-width:0;display:flex}.journal-account-bar-ends strong,.journal-account-bar-figures strong{font-size:var(--text-md);font-weight:var(--weight-black);font-variant-numeric:tabular-nums;white-space:nowrap}.journal-account-bar-figures strong{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.journal-account-bar-ends .is-floor strong{color:var(--negative-text)}.journal-account-bar-ends .is-ceiling strong{color:var(--positive-text)}.journal-account-bar-ends small{color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.journal-account-bar-figures{gap:var(--space-lg);color:var(--strong-muted);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.journal-account-bar-figures span:nth-child(2){justify-content:center}.journal-account-bar-figures span:nth-child(3){justify-content:flex-end}.journal-account-bar-figures small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);white-space:nowrap}.journal-account-bar-empty{color:var(--muted);font-size:var(--text-sm);margin:0}.account-rules{gap:var(--space-xs);margin-top:var(--space-xs);display:grid}.account-rules-head{align-items:center;gap:var(--space-sm);width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;display:flex}.account-rules-chevron{color:var(--muted);transition:transform var(--duration-fast,.15s) ease;margin-left:auto}.account-rules.is-closed .account-rules-chevron{transform:rotate(-90deg)}.account-rules-head:hover .account-rules-chevron{color:var(--text)}.account-rules-head h3{font-size:var(--text-sm);font-weight:var(--weight-bold);margin:0}.account-rules-list{gap:var(--space-sm);margin:var(--space-3xs) 0 0;font-size:var(--text-sm);grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));padding:0;list-style:none;display:grid}.account-rule{align-content:start;align-items:baseline;gap:var(--space-xs) var(--space-sm);min-width:0;padding:var(--space-sm) var(--space-md);border-radius:var(--radius-md);background:var(--surface-muted);grid-template-columns:auto minmax(0,1fr);display:grid}.account-rule-cycle-label{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);grid-column:1/-1}.account-rule-cycle-profit{color:var(--text);font-size:var(--text-md);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums}.account-rule-cycle-title{color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-medium);grid-column:1/-1}.account-rule-name{align-items:center;gap:var(--space-3xs);min-width:0;color:var(--muted);font-weight:var(--weight-medium);flex:auto;grid-column:1/-1;display:inline-flex}.account-rule-name em{font-style:normal;font-size:var(--text-2xs);opacity:.85}.account-rule.is-met .account-rule-name>svg{color:var(--positive-text)}.account-rule.is-pending .account-rule-name>svg{color:var(--line-strong)}.account-rule-label{min-width:0}.account-rule-maxday{white-space:nowrap}.account-rule-label .info-hint-wrap{margin-left:var(--space-3xs);vertical-align:middle}.account-rule-name:has(>.account-rule-label){align-items:flex-start}.account-rule-name:has(>.account-rule-label)>svg{margin-top:calc(.5lh - 7px)}.account-rule-maxday strong{color:var(--text);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;white-space:nowrap}.account-rule-value{color:var(--text);font-size:var(--text-md);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;white-space:nowrap}.account-rule-missing{color:var(--negative-text);font-size:var(--text-xs);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;white-space:nowrap;justify-self:end;align-items:center;gap:2px;display:inline-flex}.account-rules-badge{align-items:center;gap:var(--space-3xs);padding:2px var(--space-xs);background:var(--surface-muted);color:var(--strong-muted);font-size:var(--text-2xs);font-weight:var(--weight-bold);white-space:nowrap;border-radius:999px;display:inline-flex}.account-rules-badge.is-ready{background:var(--positive-soft);color:var(--positive-text)}.account-rules-withdraw{align-items:baseline;gap:var(--space-3xs) var(--space-sm);margin-top:var(--space-3xs);padding-top:var(--space-xs);border-top:0;grid-template-columns:minmax(0,1fr) auto;display:grid}.account-rules-withdraw span{color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-bold)}.account-rules-withdraw strong{color:var(--text);font-size:var(--text-md);font-weight:var(--weight-black);font-variant-numeric:tabular-nums;white-space:nowrap}.account-rules-withdraw.is-ready strong{color:var(--positive-text)}.account-rules-withdraw.is-empty strong{color:var(--muted)}.account-rules-withdraw p{color:var(--muted);font-size:var(--text-xs);grid-column:1/-1;margin:0}.account-rules-empty{justify-content:space-between;align-items:center;gap:var(--space-xs) var(--space-lg);flex-wrap:wrap;display:flex}.account-rules-empty p{color:var(--muted);font-size:var(--text-sm);margin:0}.account-rule-value:empty,.account-rule-missing:empty{display:none}.compact-heading{margin-bottom:var(--space-xl)}.journal-gauge-panel,.journal-split-panel,.journal-total-panel{align-content:start;gap:var(--space-sm);padding:var(--space-lg);flex-direction:column;display:flex;container-type:inline-size}.journal-total-value-row{align-items:center;gap:var(--space-xs);flex-wrap:wrap;min-width:0;margin-top:auto;margin-bottom:auto;display:flex}.journal-total-days-badge{min-width:24px;height:24px;padding:0 var(--space-2xs);background:var(--accent-soft);color:var(--accent);font-size:var(--text-sm);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;border-radius:999px;justify-content:center;justify-self:start;align-items:center;display:inline-flex}.journal-total-r{align-items:center;gap:var(--space-xs);min-width:0;color:var(--muted);font-size:var(--text-xs);display:flex}.journal-total-r strong{font-size:var(--text-sm);font-weight:var(--weight-semibold);font-variant-numeric:tabular-nums;color:var(--text)}.journal-total-r strong.positive{color:var(--positive-text)}.journal-total-r strong.negative{color:var(--negative-text)}.journal-gauge-panel .compact-heading,.journal-split-panel .compact-heading,.journal-total-panel .compact-heading{margin-bottom:var(--space-sm)}.journal-gauge-value,.journal-split-value,.journal-total-value{font-size:var(--text-2xl);font-weight:var(--weight-bold);line-height:1}.journal-total-value{font-size:clamp(var(--text-lg), 10cqi, var(--text-3xl));overflow-wrap:anywhere}.journal-gauge-arc{place-items:center;display:grid}.journal-gauge-arc svg{width:100%;max-width:100px;height:auto}.gauge-track{stroke:var(--negative)}.gauge-fill{stroke:var(--positive);transition:stroke-dasharray var(--dur) var(--ease)}.journal-gauge-counts{justify-content:center;align-items:center;gap:var(--space-sm);font-size:var(--text-xs);font-weight:var(--weight-bold);display:flex}.journal-gauge-counts span{min-width:44px;padding:var(--space-2xs) var(--space-base);text-align:center;border-radius:999px}.journal-gauge-counts .positive{background:var(--positive-soft)}.journal-gauge-counts .negative{background:var(--negative-soft)}.journal-gauge-counts .neutral{background:var(--surface-muted)}.journal-split-bar{background:var(--surface-muted);border-radius:999px;height:10px;display:flex;overflow:hidden}.journal-split-bar i{height:100%;transition:width var(--dur) var(--ease);display:block}.journal-split-bar .positive{background:var(--positive)}.journal-split-bar .negative{background:var(--negative)}.journal-gauge-counts,.journal-split-figures{margin-top:auto}.journal-split-labels{justify-content:space-between;align-items:baseline;gap:var(--space-sm);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);display:flex}.journal-split-figures{justify-content:space-between;align-items:baseline;gap:var(--space-base);flex-wrap:wrap;display:flex}.journal-split-figures span{gap:var(--space-3xs);overflow-wrap:anywhere;min-width:0;display:grid}.journal-split-figures span:last-child{text-align:right}.journal-split-figures strong{font-size:var(--text-sm);font-weight:var(--weight-bold)}.journal-split-figures small{font-size:var(--text-xs);font-weight:var(--weight-medium)}.journal-breakdown-panel{grid-template-rows:auto 1fr;align-content:start;display:grid}.journal-breakdown-list{gap:var(--space-md);display:grid}.journal-breakdown-row{gap:var(--space-sm);border:1px solid var(--line);border-radius:var(--radius-sm);min-width:0;padding:var(--space-base);background:var(--surface);display:grid}.breakdown-main{justify-content:space-between;align-items:baseline;gap:var(--space-md);min-width:0;display:flex}.breakdown-main span,.breakdown-main strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.breakdown-main span{color:var(--text);font-size:var(--text-base);font-weight:var(--weight-black)}.breakdown-main strong{color:var(--text);font-size:var(--text-md)}.breakdown-meter{background:var(--surface-muted);border-radius:999px;height:8px;overflow:hidden}.breakdown-meter i{border-radius:inherit;background:var(--accent);width:0;height:100%;display:block}.journal-breakdown-empty{border:1px dashed var(--line-strong);border-radius:var(--radius-sm);background:var(--field);min-height:186px;color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);text-align:center;place-items:center;display:grid}.journal-weekday-bars{gap:var(--space-sm);padding-top:var(--space-xl);grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;display:grid}.journal-weekday-bar{place-items:end center;gap:var(--space-xs);grid-template-rows:minmax(92px,1fr) auto;min-width:0;display:grid}.weekday-track{width:100%;height:100%;position:relative;overflow:visible}.weekday-track i{border-radius:var(--radius-sm);background:linear-gradient(180deg, color-mix(in srgb, var(--accent) 68%, white 14%), color-mix(in srgb, var(--accent) 92%, black 8%));min-height:0;box-shadow:0 -8px 16px color-mix(in srgb, var(--accent) 22%, transparent);transition:height var(--dur) var(--ease);position:absolute;bottom:0;left:0;right:0}.weekday-track strong{z-index:1;color:var(--text);font-size:var(--text-2xs);font-weight:var(--weight-black);white-space:nowrap;pointer-events:none;transition:bottom var(--dur) var(--ease);line-height:1;position:absolute;left:50%;transform:translate(-50%)}.journal-weekday-bar span{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-bold);overflow:hidden}.journal-hours-panel .panel-heading{flex-wrap:wrap}.journal-hours-highlights{gap:var(--space-xs) var(--space-xl);margin:0 0 var(--space-base);color:var(--muted);font-size:var(--text-xs);flex-wrap:wrap;display:flex}.journal-hours-highlights strong{color:var(--text)}.journal-hours-highlights b{font-weight:var(--weight-bold)}.journal-hours-highlights .positive{color:var(--positive-text)}.journal-hours-highlights .negative{color:var(--negative-text)}.journal-hours-bars{gap:var(--space-xs);padding-top:var(--space-xl);align-items:stretch;display:grid}.journal-hours-bar{justify-items:center;gap:var(--space-3xs);grid-template-rows:minmax(140px,1fr) auto auto;min-width:0;display:grid}.journal-hours-bar.is-thin .journal-hours-track{opacity:.45}.journal-hours-track{width:100%;height:100%;position:relative;overflow:visible}.journal-hours-bars.is-diverging .journal-hours-track:before{right:calc(var(--space-xs) / -2);bottom:var(--zero);left:calc(var(--space-xs) / -2);border-top:1px dashed var(--line-strong);content:"";position:absolute}.journal-hours-track i{border-radius:var(--radius-sm);background:linear-gradient(180deg, color-mix(in srgb, var(--accent) 68%, white 14%), color-mix(in srgb, var(--accent) 92%, black 8%));position:absolute;left:18%;right:18%}.journal-hours-track.positive i{background:var(--positive)}.journal-hours-track.negative i{background:var(--negative)}.journal-hours-value{z-index:1;color:var(--text);font-size:var(--text-2xs);font-weight:var(--weight-black);white-space:nowrap;pointer-events:none;line-height:1;position:absolute;left:50%;transform:translate(-50%)}.journal-hours-hour{color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-bold)}.journal-hours-count{min-height:1lh;color:var(--muted);font-size:var(--text-2xs);opacity:.75}.journal-plan-map-panel{flex-direction:column;min-width:0;display:flex}.journal-plan-scroller{scrollbar-width:thin;padding:2px;overflow-x:auto}.journal-plan-grid{grid-template-rows:16px;grid-template-columns:28px repeat(26,minmax(8px,22px));grid-auto-rows:auto;justify-content:center;gap:3px;display:grid}.journal-plan-month,.journal-plan-weekday{color:var(--muted);font-size:var(--text-xs);white-space:nowrap;line-height:16px}.journal-plan-weekday{text-transform:capitalize;grid-column:1;align-self:center;line-height:1}.journal-plan-scale{margin-top:var(--space-xs);color:var(--muted);font-size:var(--text-xs);justify-content:center;align-items:center;gap:3px;display:flex}.journal-plan-scale span:first-child{margin-right:var(--space-2xs)}.journal-plan-scale span:last-child{margin-left:var(--space-2xs)}.journal-plan-scale .journal-plan-cell{width:12px;height:12px}.journal-plan-today{align-items:center;gap:var(--space-3xs) var(--space-base);padding-top:var(--space-base);grid-template-columns:auto minmax(0,1fr);margin-top:auto;display:grid}.journal-plan-today>span{color:var(--muted);font-size:var(--text-xs);grid-column:1/-1}.journal-plan-today strong{color:var(--text);font-size:var(--text-lg);font-variant-numeric:tabular-nums;font-weight:var(--weight-semibold)}.journal-plan-today small{color:var(--muted);font-size:var(--text-xs)}.journal-plan-today-bar{background:var(--plan-none);border-radius:999px;height:8px;overflow:hidden}.journal-plan-today-bar i{border-radius:inherit;height:100%;display:block}.journal-plan-cell{background:var(--plan-none);aspect-ratio:1;min-width:0;min-height:0;box-shadow:none;border:0;border-radius:2px;padding:0;display:block}button.journal-plan-cell:hover,button.journal-plan-cell:focus-visible{outline:1px solid var(--text);outline-offset:1px}.journal-plan-cell.is-unrated{border:1px solid var(--plan-unrated);background:0 0}.journal-plan-cell.is-skipped,.journal-plan-cell.is-fair,.journal-plan-cell.is-good,.journal-plan-cell.is-perfect{background:color-mix(in srgb, var(--plan-blue) calc(var(--plan-a,100) * 1%), transparent)}.journal-plan-cell.is-skipped{--plan-a:12}.journal-plan-cell.is-fair{--plan-a:38}.journal-plan-cell.is-good{--plan-a:68}.journal-plan-day-tip{font-variant-numeric:tabular-nums;max-width:260px}.journal-plan-day-tip strong{font-weight:var(--weight-semibold)}.journal-plan-hint{gap:var(--space-sm);display:grid}.journal-plan-hint-text{display:block}.journal-plan-stats{gap:var(--space-3xs);padding-top:var(--space-sm);border-top:1px solid var(--line);display:grid}.journal-plan-stats>span{justify-content:space-between;gap:var(--space-base);display:flex}.journal-plan-stats span span{color:var(--muted)}.journal-plan-stats strong{font-variant-numeric:tabular-nums;font-weight:var(--weight-semibold);white-space:nowrap}.journal-plan-stats strong.positive{color:var(--positive-text)}.journal-plan-stats strong.negative{color:var(--negative-text)}.journal-plan-legend{gap:var(--space-3xs) var(--space-base);padding-top:var(--space-sm);border-top:1px solid var(--line);color:var(--muted);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.journal-plan-legend>span{align-items:center;gap:var(--space-2xs);display:flex}.journal-plan-legend .journal-plan-cell{flex:none;width:11px;height:11px}@media (width<=560px){.journal-plan-grid{grid-template-columns:28px repeat(26,13px);justify-content:start;width:max-content}}.journal-plan-field{align-content:start;gap:var(--space-xs);min-width:0;display:grid}.journal-plan-field>span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.journal-plan-choices{gap:var(--space-xs);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.journal-plan-choices button{justify-content:center;align-items:center;gap:var(--space-2xs);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);min-height:40px;color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-medium);display:inline-flex}.journal-plan-choices button.is-yes{border-color:var(--positive-text);background:var(--positive-soft);color:var(--positive-text)}.journal-plan-choices button.is-no{border-color:var(--negative-text);background:var(--negative-soft);color:var(--negative-text)}.journal-hours-footnote{margin:var(--space-base) 0 0;color:var(--muted);font-size:var(--text-xs)}.journal-hours-bars.is-dense .journal-hours-value{display:none}@media (width<=560px){.journal-hours-value{display:none}}.journal-error-manager-grid{gap:var(--space-2xl);grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);align-items:start;display:grid}.journal-error-manager-grid>.journal-error-type-list{border-left:1px solid var(--line);padding-left:var(--space-2xl)}.journal-error-type-form{gap:var(--space-base);display:grid}.journal-error-type-form label,.journal-error-color-field{gap:var(--space-xs);color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-bold);display:grid}.journal-error-type-form input[type=text]{border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;min-height:44px;padding:0 var(--space-base);background:var(--field);color:var(--text);font-size:var(--text-base);outline:0}.journal-error-type-form input[type=text]:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.journal-error-severity-options{align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.journal-error-severity-options button{align-items:center;gap:var(--space-sm);border:1px solid var(--line);padding:var(--space-2xs) var(--space-base);background:var(--surface);color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-medium);transition:border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);border-radius:999px;display:inline-flex}.journal-error-severity-options button i{background:var(--error-color);border-radius:999px;flex:none;width:12px;height:12px}.journal-error-severity-options button:hover:not(:disabled){border-color:var(--line-strong);color:var(--text)}.journal-error-severity-options button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}.journal-error-severity-hint{margin-top:var(--space-sm);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);display:block}.journal-error-color-options{align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.journal-error-color-options button,.journal-error-color-options input{background:var(--error-color,var(--surface-muted));cursor:pointer;width:26px;height:26px;transition:box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);border:0;border-radius:999px;flex:none;padding:0;box-shadow:inset 0 0 0 1px #09090b1f}.journal-error-color-options button:hover{transform:scale(1.08)}.journal-error-color-options button.active{box-shadow:inset 0 0 0 1px #09090b1f, 0 0 0 2px var(--surface), 0 0 0 4px var(--error-color,var(--accent))}.journal-error-color-options input{box-shadow:inset 0 0 0 1px var(--line);background:0 0}.journal-error-color-options input::-webkit-color-swatch-wrapper{padding:0}.journal-error-color-options input::-webkit-color-swatch{border:0;border-radius:999px}.journal-error-type-list{align-content:start;gap:var(--space-xs);max-height:420px;padding-right:var(--space-2xs);display:grid;overflow-y:auto}.journal-error-type-row{gap:var(--space-base);border-radius:var(--radius-sm);padding:var(--space-sm) var(--space-base);transition:border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);background:0 0;border:1px solid #0000;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;display:grid}.journal-error-type-row:hover,.journal-error-type-row:focus-within{border-color:var(--line);background:var(--field)}:root[data-theme=dark] .journal-error-type-row:hover,:root[data-theme=dark] .journal-error-type-row:focus-within{background:var(--field)}.journal-error-type-row.is-archived>i,.journal-error-type-row.is-archived strong{opacity:.55}.journal-error-type-row>i{background:var(--error-color,var(--accent));width:10px;height:10px;box-shadow:0 0 0 3px color-mix(in srgb, var(--error-color,var(--accent)) 16%, transparent);border-radius:999px}.journal-strategy-row{grid-template-columns:minmax(0,1fr) auto}.journal-error-type-row .row-actions{gap:var(--space-2xs);opacity:.45;transition:opacity var(--dur-fast) var(--ease);display:flex}.journal-error-type-row:hover .row-actions,.journal-error-type-row:focus-within .row-actions{opacity:1}.journal-error-type-row strong em{margin-left:var(--space-sm);padding:2px var(--space-sm);background:var(--surface-muted);color:var(--muted);font-size:var(--text-2xs);font-style:normal;font-weight:var(--weight-black);letter-spacing:.02em;text-transform:uppercase;vertical-align:middle;border-radius:999px}.journal-error-type-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.journal-error-type-row strong{white-space:nowrap;min-width:0;color:var(--text);font-size:var(--text-sm);align-items:center;display:flex;overflow:hidden}.journal-error-type-row strong>:not(em){text-overflow:ellipsis;overflow:hidden}.journal-error-type-row span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);margin-top:3px}.compact-icon{width:40px;height:40px;box-shadow:none}.calendar-nav-heading{align-items:center;gap:var(--space-sm);display:flex}.calendar-nav-heading .icon-control{background:0 0;border-color:#0000;width:34px;height:34px}.calendar-nav-heading .icon-control:hover{background:color-mix(in srgb, var(--strong-muted) 12%, transparent);color:var(--text);border-color:#0000}.calendar-nav-label{align-items:center;gap:var(--space-xs);display:flex}.calendar-nav-label h2{font-size:var(--text-md);white-space:nowrap;display:grid}.calendar-nav-label h2>span{text-align:center;grid-area:1/1}.calendar-nav-title-sizer{visibility:hidden}.calendar-nav-title-stack{display:inline-grid}.calendar-nav-title-stack>span{grid-area:1/1}.calendar-nav-title.is-tight,.calendar-nav-title-sizer.is-tight{display:none}.journal-calendar-panel>.panel-heading{container-type:inline-size}@container (width<=359px){.calendar-nav-title,.calendar-nav-title-sizer{display:none}.calendar-nav-title.is-tight,.calendar-nav-title-sizer.is-tight{display:block}}.journal-calendar-panel .chart-delta{font-size:var(--text-xl)}.calendar-heading-side{align-items:center;gap:var(--space-sm);display:flex}.journal-calendar-snapshot.icon-control{border-radius:999px;flex-shrink:0;width:28px;height:28px}.journal-calendar-mode-row{margin-bottom:var(--space-lg)}.journal-year-grid{gap:var(--space-md);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.journal-calendar-grid{gap:var(--space-md);grid-template-columns:repeat(7,minmax(0,1fr)) minmax(0,1.2fr);display:grid}.journal-weekday.is-week{color:var(--accent)}.journal-day,.journal-week-summary{transition:background var(--dur-fast) var(--ease)}.journal-week-summary{align-content:center;gap:var(--space-xs);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-base);background:var(--surface-muted);display:grid}.journal-week-summary span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);letter-spacing:.03em;white-space:nowrap}.journal-week-summary strong{font-size:var(--text-md);font-weight:var(--weight-bold);white-space:nowrap}.journal-week-summary small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.journal-week-summary.positive strong{color:var(--positive-text)}.journal-week-summary.negative strong{color:var(--negative-text)}.journal-week-summary.is-empty strong{color:var(--muted)}.journal-weekday{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-black);text-align:center;text-transform:uppercase}.journal-day{border-radius:var(--radius-sm);min-width:0;min-height:108px;padding:var(--space-lg) var(--space-2xs) var(--space-2xs);background:var(--surface-muted);color:var(--strong-muted);text-align:right;border:1px solid #0000;flex-direction:column;justify-content:center;align-items:flex-end;gap:3px;display:flex;position:relative}.journal-day-amount.is-tight{display:none}.journal-day:disabled{cursor:default}.journal-day-figure{flex-direction:column;align-items:flex-end;gap:3px;min-width:0;max-width:100%;display:flex}.journal-day.has-entries{border-color:color-mix(in srgb, var(--strong-muted) 22%, var(--surface));background:var(--surface)}.journal-day.positive{border-color:color-mix(in srgb, var(--positive) 55%, var(--surface));background:color-mix(in srgb, var(--positive) 24%, var(--surface))}.journal-day.negative{border-color:color-mix(in srgb, var(--negative) 55%, var(--surface));background:color-mix(in srgb, var(--negative) 24%, var(--surface))}:root[data-theme=dark] .journal-day.positive{border-color:color-mix(in srgb, var(--positive) 52%, var(--surface));background:color-mix(in srgb, var(--positive) 26%, var(--surface))}:root[data-theme=dark] .journal-day.negative{border-color:color-mix(in srgb, var(--negative) 52%, var(--surface));background:color-mix(in srgb, var(--negative) 26%, var(--surface))}.journal-day.payout{background:#38bdf824;border-color:#38bdf880}.journal-day.payout strong{color:#0284c7}:root[data-theme=dark] .journal-day.payout{background:#38bdf81f}:root[data-theme=dark] .journal-day.payout strong{color:#7dd3fc}.journal-day.muted{opacity:.52}.journal-day-today-badge{background:var(--accent);min-width:1.7em;height:1.7em;color:var(--on-accent);letter-spacing:0;border-radius:999px;justify-content:center;align-items:center;padding:0 .2em;font-style:normal;display:inline-flex}.journal-day:hover{background:color-mix(in srgb, var(--accent) 10%, transparent)}:root[data-theme=dark] .journal-day:hover{background:color-mix(in srgb, var(--accent) 14%, transparent)}.journal-day span,.journal-day strong,.journal-day small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.journal-day-date{top:var(--space-2xs);right:var(--space-2xs);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1;position:absolute}.journal-day:not(.has-entries) .journal-day-date{opacity:.55}.journal-day strong{max-width:100%;font-size:var(--text-md);font-weight:var(--weight-bold);text-align:right;line-height:1.1}.journal-day.positive:not(.payout) strong,.journal-day.negative:not(.payout) strong{color:#000}:root[data-theme=dark] .journal-day.positive:not(.payout) strong,:root[data-theme=dark] .journal-day.negative:not(.payout) strong{color:#fff}.journal-day-meta,.journal-day-rate{max-width:100%;color:color-mix(in srgb, var(--text) 42%, transparent);font-size:var(--text-2xs);font-weight:var(--weight-medium);text-align:right}.journal-day-rate{font-variant-numeric:tabular-nums}.journal-day.payout .journal-day-meta,.journal-day.payout .journal-day-rate{color:#0284c78c}:root[data-theme=dark] .journal-day.payout .journal-day-meta,:root[data-theme=dark] .journal-day.payout .journal-day-rate{color:#7dd3fc8c}.journal-detail-card{gap:var(--space-sm);display:grid}.journal-detail-hero{justify-content:space-between;align-items:flex-start;gap:var(--space-lg);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-base);background:var(--surface-muted);display:flex}.journal-detail-hero span,.journal-detail-hero strong{display:block}.journal-detail-hero span,.journal-detail-copy span,.journal-same-day>span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-black);text-transform:uppercase}.journal-detail-hero strong{color:var(--text);font-size:var(--text-sm);margin-top:2px}.journal-detail-hero>strong{font-size:var(--text-2xl);font-weight:var(--weight-black);white-space:nowrap;margin-top:0}.journal-detail-hero>strong.positive,.journal-detail-grid dd.positive{color:var(--positive-text)}.journal-detail-hero>strong.negative,.journal-detail-grid dd.negative{color:var(--negative-text)}.journal-detail-grid{gap:var(--space-sm);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.journal-detail-grid div,.journal-detail-copy{border:1px solid var(--line);border-radius:var(--radius-sm);min-width:0;padding:var(--space-sm);background:var(--field)}.journal-detail-grid dt{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-black)}.journal-detail-grid dt:has(>.info-hint-wrap){align-items:center;gap:var(--space-3xs);display:inline-flex}.journal-detail-grid dt .info-hint{width:15px;height:15px}.journal-detail-grid dt .info-hint svg{width:11px;height:11px}.journal-detail-grid dd{min-width:0;color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-bold);text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;overflow:hidden}.journal-detail-copy{gap:var(--space-2xs);display:grid}.journal-detail-copy p{color:var(--strong-muted);font-size:var(--text-base);line-height:var(--leading-normal);margin:0}.journal-error-chips{gap:var(--space-xs);flex-wrap:wrap;display:flex}.journal-error-chips span{align-items:center;gap:var(--space-xs);border:1px solid color-mix(in srgb, var(--error-color,var(--accent)) 32%, var(--line));min-height:28px;padding:0 var(--space-sm);background:color-mix(in srgb, var(--error-color,var(--accent)) 9%, var(--surface));color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-bold);border-radius:999px;display:inline-flex}.journal-error-chips.compact{margin-top:var(--space-base)}.journal-error-chips.compact span{min-height:24px;padding:0 var(--space-sm);font-size:var(--text-2xs)}.journal-error-chips i,.journal-error-options i{background:var(--error-color,var(--accent));width:9px;height:9px;transition:box-shadow var(--dur-fast) var(--ease);border-radius:999px;flex:none}.journal-error-options label.is-selected i,.journal-error-options label:hover i{box-shadow:0 0 0 3px color-mix(in srgb, var(--error-color,var(--accent)) 20%, transparent)}.journal-error-options label.is-selected i{box-shadow:0 0 0 3px color-mix(in srgb, var(--error-color,var(--accent)) 24%, transparent), 0 0 12px color-mix(in srgb, var(--error-color,var(--accent)) 45%, transparent)}.journal-errors-empty-inline{color:var(--muted);font-size:var(--text-base);font-weight:var(--weight-semibold);margin:0}.journal-media-preview{border:1px solid var(--line);border-radius:var(--radius-sm);object-fit:cover;width:100%;max-height:240px;display:block}.journal-media-preview-button{gap:var(--space-sm);width:100%;color:var(--accent-strong);text-align:left;background:0 0;border:0;padding:0;display:grid}.journal-media-preview-button span{align-items:center;gap:var(--space-xs);color:var(--accent-strong);font-size:var(--text-base);font-weight:var(--weight-bold);display:inline-flex}.journal-media-link{align-items:center;gap:var(--space-xs);color:var(--accent-strong);font-size:var(--text-base);font-weight:var(--weight-bold);text-decoration:none;display:inline-flex}.journal-operation-media-field{gap:var(--space-md);display:grid}.journal-operation-media-toolbar{justify-content:space-between;align-items:center;gap:var(--space-md);color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-bold);display:flex}.compact-action{min-height:32px;padding:0 var(--space-sm);font-size:var(--text-xs)}.journal-operation-dropzone{border:1px dashed var(--line-strong);border-radius:var(--radius-sm);min-height:210px;padding:var(--space-base);background:var(--field);color:var(--strong-muted);outline:0;place-items:center;display:grid}.journal-operation-dropzone:focus,.journal-operation-dropzone.is-dragging{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.journal-operation-dropzone.is-disabled{cursor:not-allowed;opacity:.68}.journal-operation-empty{justify-items:center;gap:var(--space-md);text-align:center;max-width:420px;display:grid}.journal-operation-empty svg{color:var(--accent)}.journal-operation-empty span{font-size:var(--text-base);font-weight:var(--weight-bold);line-height:var(--leading-snug)}.journal-operation-preview{width:100%;position:relative}.journal-operation-preview img{object-fit:cover;border-radius:6px;width:100%;max-height:320px;display:block}.journal-operation-preview span{align-items:center;gap:var(--space-xs);padding:var(--space-sm) var(--space-md);color:#fff;font-size:var(--text-xs);font-weight:var(--weight-bold);background:#101214c7;border-radius:999px;display:inline-flex;position:absolute;bottom:10px;right:10px}.journal-operation-dropzone:has(.journal-operation-empty.is-compact){min-height:0;padding:var(--space-md)}.journal-operation-empty.is-compact{gap:var(--space-sm);grid-auto-flow:column}.journal-operation-empty.is-compact span{font-size:var(--text-sm)}.journal-operation-thumbs,.journal-detail-extras{gap:var(--space-sm);grid-template-columns:repeat(auto-fill,minmax(112px,1fr));margin:0;padding:0;list-style:none;display:grid}.journal-operation-thumbs li,.journal-detail-extras li{min-width:0;position:relative}.journal-operation-thumbs li>button:first-child,.journal-detail-extras li>button{border-radius:var(--radius-sm);background:var(--surface-muted);cursor:zoom-in;border:0;width:100%;padding:0;display:block;overflow:hidden}.journal-operation-thumbs img,.journal-detail-extras img{aspect-ratio:16/10;object-fit:cover;width:100%;display:block}.journal-operation-thumb-remove{color:#fff;cursor:pointer;background:#101214c7;border:0;border-radius:999px;place-items:center;width:22px;height:22px;padding:0;display:grid;position:absolute;top:4px;right:4px}label.journal-breakeven-toggle.wide-field{align-items:center;gap:var(--space-sm);cursor:pointer;display:flex}label.journal-breakeven-toggle.wide-field>input[type=checkbox]{width:16px;height:16px;min-height:0;accent-color:var(--accent);flex:none;margin:0;padding:0}.journal-breakeven-toggle>span{align-items:center;gap:var(--space-xs);display:inline-flex}.journal-image-zoom-overlay{z-index:140;padding:var(--space-3xl);place-items:center;display:grid;position:fixed;inset:0}.journal-image-zoom-backdrop{background:#06080abd;border:0;position:absolute;inset:0}.journal-image-zoom-card{z-index:1;max-width:min(1120px,96vw);max-height:92vh;display:grid;position:relative}.journal-image-zoom-card img{border-radius:var(--radius-sm);object-fit:contain;border:1px solid #ffffff29;width:min(1120px,96vw);max-width:100%;height:auto;max-height:92vh;box-shadow:0 30px 90px #0000005c}.journal-image-zoom-close{z-index:2;background:#fffffff0;position:absolute;top:12px;right:12px}.journal-same-day,.journal-same-day div{gap:var(--space-sm);display:grid}.journal-same-day button{justify-content:space-between;align-items:center;gap:var(--space-md);border:1px solid var(--line);border-radius:var(--radius-sm);min-height:38px;padding:0 var(--space-md);background:var(--surface);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-bold);display:flex}.journal-same-day button.active{border-color:var(--accent);color:var(--text)}.modal-card:has(.journal-detail-card) .modal-header{padding:var(--space-base) var(--space-xl) 0;align-items:center}.modal-card:has(.journal-detail-card) .modal-body{padding:var(--space-xs) var(--space-xl) var(--space-xl)}.modal-card:has(.journal-detail-card) .modal-header .icon-control{background:0 0;border-color:#0000}.modal-card:has(.journal-detail-card) .modal-header .icon-control:hover{background:var(--surface-muted);color:var(--text);border-color:#0000}.modal-header-actions{align-items:center;gap:var(--space-xs);margin-left:auto;display:flex}.modal-header-share{align-items:center;gap:var(--space-sm);border:1px solid var(--accent);border-radius:var(--radius-sm);min-height:36px;padding:0 var(--space-base);color:var(--accent-strong);font-size:var(--text-sm);font-weight:var(--weight-semibold);transition:background-color var(--dur) var(--ease), transform 90ms var(--ease);background:0 0;display:inline-flex}.modal-header-share:hover{background:var(--accent-soft)}.modal-header-share:active{transform:scale(.98)}@media (width<=820px){.modal-header-share{min-height:44px}}.journal-detail-card{gap:var(--space-xs);container-type:inline-size}.journal-detail-hero{padding:var(--space-sm) var(--space-base);align-items:center}.journal-detail-facts{gap:var(--space-xs);display:grid}.journal-detail-grid{gap:var(--space-xs);grid-template-columns:repeat(auto-fit,minmax(112px,1fr))}.journal-detail-copy{gap:var(--space-3xs)}.journal-detail-copy .ProseMirror,.journal-detail-copy p{font-size:var(--text-sm)}.journal-detail-copy .journal-error-chips{gap:var(--space-xs)}.journal-detail-card.has-capture .journal-detail-facts{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:stretch}.journal-detail-card.has-capture .journal-detail-grid{grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(0,1fr)}.journal-detail-card.has-capture .journal-detail-grid div{justify-content:space-between;align-items:center;gap:var(--space-sm);min-height:38px;padding:0 var(--space-sm);display:flex}.journal-detail-card.has-capture .journal-detail-grid dd{text-align:right;margin:0}.journal-detail-folder span{text-overflow:ellipsis;min-width:0;overflow:hidden}.journal-detail-card.has-capture .journal-detail-folder{justify-content:flex-end}.journal-detail-capture{aspect-ratio:16/9;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-muted);cursor:zoom-in;place-self:stretch stretch;width:100%;padding:0;display:block;position:relative;overflow:hidden}.journal-detail-capture img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.journal-detail-capture-zoom{right:var(--space-xs);bottom:var(--space-xs);border-radius:var(--radius-sm);color:#fff;width:28px;height:28px;transition:background-color var(--dur) var(--ease);background:#08090fa8;place-items:center;display:grid;position:absolute}.journal-detail-capture:hover .journal-detail-capture-zoom,.journal-detail-capture:focus-visible .journal-detail-capture-zoom{background:var(--accent);color:var(--on-accent)}@container (width<=439px){.journal-detail-card.has-capture .journal-detail-grid{gap:var(--space-2xs)}.journal-detail-card.has-capture .journal-detail-grid div{min-height:32px;padding:0 var(--space-xs)}}@container (width<=299px){.journal-detail-card.has-capture .journal-detail-facts{grid-template-columns:minmax(0,1fr)}.journal-detail-card.has-capture .journal-detail-grid{grid-template-columns:repeat(auto-fit,minmax(112px,1fr));grid-auto-rows:auto}.journal-detail-card.has-capture .journal-detail-grid div{min-height:0;padding:var(--space-sm);display:block}.journal-detail-card.has-capture .journal-detail-grid dd{text-align:left;margin:2px 0 0}.journal-detail-card.has-capture .journal-detail-folder{justify-content:flex-start}}.journal-detail-card .journal-same-day{gap:var(--space-xs)}.journal-detail-card .journal-same-day div{gap:var(--space-xs);flex-wrap:wrap;display:flex}.journal-detail-card .journal-same-day button{min-height:32px;padding:0 var(--space-sm)}.modal-card:has(.journal-detail-card) .form-action-row{margin-top:var(--space-sm)}@media (width<=820px){.modal-card:has(.journal-detail-card) .form-action-row{display:flex}}.journal-row,.account-row{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--field)}.journal-row{justify-content:space-between;align-items:flex-start;gap:var(--space-lg);padding:var(--space-lg);display:flex}.journal-row-topline{align-items:center;gap:var(--space-sm);display:flex}.journal-row-topline strong{font-size:var(--text-md)}.journal-row-topline span{padding:var(--space-3xs) var(--space-sm);background:var(--accent-soft);color:var(--accent-strong);font-size:var(--text-xs);font-weight:var(--weight-bold);border-radius:999px}.journal-row small{margin-top:var(--space-2xs);color:var(--muted);font-weight:var(--weight-medium);display:block}.journal-row p{margin:var(--space-base) 0 0;color:var(--strong-muted);font-size:var(--text-base);line-height:var(--leading-normal)}.journal-score{justify-items:end;gap:var(--space-2xs);white-space:nowrap;display:grid}.journal-score strong{font-size:var(--text-md)}.journal-score span{color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-bold)}.account-row{gap:var(--space-xl);padding:var(--space-xl);grid-template-columns:minmax(220px,1fr) 150px minmax(160px,.7fr) minmax(160px,.7fr);align-items:center;display:grid}.accounts-overview-panel{gap:var(--space-3xl);padding:var(--space-3xl);background:var(--surface);grid-template-columns:minmax(280px,1fr) minmax(360px,1.08fr);align-items:start;display:grid;overflow:hidden}.accounts-overview-copy{gap:var(--space-xs);display:grid}.accounts-overview-copy h2{color:var(--text);font-size:var(--text-lg);line-height:var(--leading-tight);margin:0}.accounts-overview-copy p{max-width:620px;color:var(--muted);font-size:var(--text-base);font-weight:var(--weight-medium);line-height:var(--leading-normal);margin:0}.overview-tabs-row{justify-content:space-between;align-items:center;gap:var(--space-lg);flex-wrap:wrap;grid-column:1/-1;min-width:0;display:flex}.overview-tabs-actions{align-items:center;gap:var(--space-sm);flex:none;display:flex}.firm-hidden-toggle{align-items:center;gap:var(--space-xs);border-radius:var(--radius-sm);min-height:40px;padding:0 var(--space-sm);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-semibold);white-space:nowrap;cursor:pointer;background:0 0;border:0;display:inline-flex}.firm-hidden-toggle strong{font-weight:var(--weight-bold);font-variant-numeric:tabular-nums}.firm-hidden-toggle:hover{background:var(--surface-muted);color:var(--text)}.firm-hidden-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.firm-hidden-toggle[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-strong)}.accounts-overview-stats{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;display:grid}.accounts-overview-stat{gap:var(--space-xs);border-radius:var(--radius-sm);min-width:0;min-height:100px;padding:var(--space-lg);background:var(--surface-muted);box-shadow:none;grid-template-rows:auto 1fr auto;display:grid}.accounts-overview-stat svg{color:var(--accent-strong)}.accounts-overview-stat strong{color:var(--text);font-size:var(--text-3xl);font-weight:var(--weight-black);align-self:end;line-height:1}.accounts-overview-stat small{align-items:center;gap:var(--space-3xs);color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-bold);flex-wrap:wrap;display:flex}.accounts-overview-extras{gap:var(--space-xs) var(--space-base);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);flex-wrap:wrap;grid-column:1/-1;margin:0;display:flex}.accounts-overview-extras strong{color:var(--text);font-weight:var(--weight-black)}.accounts-overview-extras>span{align-items:center;gap:var(--space-3xs);display:inline-flex}.accounts-overview-extras .info-hint{width:15px;height:15px}.accounts-overview-extras .info-hint svg{width:11px;height:11px}@media (width<=560px){.accounts-overview-stats{grid-template-columns:minmax(0,1fr)}.accounts-overview-stat{grid-template-rows:auto;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;min-height:0}.accounts-overview-stat strong{grid-area:1/3;align-self:center}.accounts-overview-stat small{grid-area:1/2}}.accounts-overview-money{justify-content:flex-start;gap:var(--space-md);margin-top:var(--space-md);flex-wrap:wrap;display:flex}.accounts-overview-money>span{gap:var(--space-xs);border-radius:var(--radius-sm);padding:var(--space-sm) var(--space-md);background:color-mix(in srgb, var(--surface-muted) 72%, transparent);flex:none;display:grid}.accounts-overview-money svg{color:var(--accent-strong)}.accounts-overview-money strong{color:var(--text);font-size:var(--text-xl);line-height:1}.accounts-overview-money strong.positive{color:var(--positive-text)}.accounts-overview-money strong.negative{color:var(--negative-text)}.accounts-overview-money small{align-items:center;gap:var(--space-3xs);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);display:flex}@media (width<=560px){.accounts-overview-money{gap:var(--space-sm);flex-direction:column}.accounts-overview-money>span{align-items:center;column-gap:var(--space-sm);grid-template-columns:auto minmax(0,1fr) auto}.accounts-overview-money strong{grid-area:1/3}.accounts-overview-money small{grid-area:1/2}}.account-filter-row{align-items:end;gap:var(--space-md);flex-wrap:wrap;display:flex}.account-filter-row label{gap:var(--space-xs);color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-bold);flex:220px;display:grid}.account-filter-row button{flex:none}.account-filter-row select,.account-filter-row .custom-select-trigger{border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;min-height:38px;padding:0 var(--space-md);background:var(--surface);color:var(--text);font-size:var(--text-base);font-weight:var(--weight-medium);outline:0}.account-filter-row .custom-select-trigger:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.account-status-tabs{gap:var(--space-sm);flex-wrap:wrap;display:flex}.account-status-tabs button{align-items:center;gap:var(--space-sm);border-radius:var(--radius-sm);min-height:40px;padding:0 var(--space-base);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-medium);background:0 0;border:1px solid #0000;display:inline-flex}.account-status-tabs button:hover,.account-status-tabs button.is-active{background:var(--accent-soft);color:var(--text)}.account-status-tabs strong{border-radius:var(--radius-sm);min-width:20px;min-height:22px;padding:0 var(--space-3xs);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);background:0 0;place-items:center;display:inline-grid}.account-card-grid{gap:var(--space-lg);grid-template-columns:repeat(auto-fill,minmax(320px,1fr));display:grid}.lost-accounts{margin-top:var(--space-4xl)}.lost-accounts .panel-heading h2{align-items:center;gap:var(--space-xs);display:flex}.lost-accounts-headline{margin:0 0 var(--space-base);color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold)}.lost-accounts-list{column-gap:var(--space-base);row-gap:var(--space-sm);grid-template-columns:minmax(0,max-content) minmax(48px,1fr) auto auto;margin:0;padding:0;list-style:none;display:grid}.lost-accounts-list li{grid-column:1/-1;grid-template-columns:subgrid;font-size:var(--text-sm);align-items:center;display:grid}.lost-accounts-name{min-width:0;color:var(--text);font-weight:var(--weight-medium);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lost-accounts-bar{background:var(--surface-muted);border-radius:999px;height:8px;overflow:hidden}.lost-accounts-bar span{border-radius:inherit;background:color-mix(in srgb, var(--negative) 70%, var(--surface));height:100%;display:block}.lost-accounts-count{color:var(--muted);white-space:nowrap}.lost-accounts-spent{color:var(--text);font-variant-numeric:tabular-nums;font-weight:var(--weight-semibold);text-align:right;white-space:nowrap}.lost-accounts-unknown,.lost-accounts-empty{margin:var(--space-base) 0 0;color:var(--muted);font-size:var(--text-sm)}.lost-accounts-empty{margin-top:0}.fail-reason-field{gap:var(--space-sm);display:grid}.fail-reason-label{align-items:baseline;gap:var(--space-sm);color:var(--text);font-size:var(--text-xs);font-weight:var(--weight-semibold);display:flex}.fail-reason-label small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-normal)}.fail-reason-picker{gap:var(--space-sm);flex-wrap:wrap;display:flex}.fail-reason-option{border:1px solid var(--line-strong);min-height:36px;padding:0 var(--space-md);background:var(--surface);color:var(--strong-muted);cursor:pointer;font:inherit;font-size:var(--text-sm);font-weight:var(--weight-medium);transition:background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);border-radius:999px}.fail-reason-option:hover:not(:disabled){border-color:var(--accent);color:var(--text)}.fail-reason-option[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong)}.fail-reason-option:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.fail-reason-option:disabled{cursor:default;opacity:.6}.lost-classify{gap:var(--space-xl);display:grid}.lost-classify-list{gap:var(--space-sm);max-height:min(52dvh,480px);margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.lost-classify-list li{align-items:center;gap:var(--space-base);grid-template-columns:minmax(0,1fr) minmax(170px,210px);display:grid}.lost-classify-account{gap:2px;min-width:0;display:grid}.lost-classify-account strong{color:var(--text);font-size:var(--text-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lost-classify-account small{color:var(--muted);font-size:var(--text-xs)}.lost-classify-select{min-width:0}@media (width<=560px){.lost-accounts-list{grid-template-columns:minmax(0,1fr) auto auto}.lost-accounts-name{grid-column:1/-1}.lost-accounts-list li{row-gap:var(--space-xs)}.fail-reason-option{min-height:44px}.lost-classify-list li{gap:var(--space-xs);grid-template-columns:1fr}}.account-archive{margin-top:var(--space-4xl)}.account-archive-head{justify-content:space-between;align-items:center;gap:var(--space-base);margin-bottom:var(--space-base);display:flex}.account-archive.is-collapsed .account-archive-head{margin-bottom:0}.account-archive-head>h2{align-items:center;gap:var(--space-sm);font-size:var(--text-sm);font-weight:var(--weight-semibold);text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:0;display:flex}.account-archive-head>h2 span{padding:2px var(--space-xs);background:var(--surface-muted);font-size:var(--text-2xs);letter-spacing:0;border-radius:999px}.account-archive-toggle{align-items:center;gap:var(--space-xs);min-height:32px;margin-right:calc(-1 * var(--space-xs));border-radius:var(--radius-sm);padding:0 var(--space-xs);color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-bold);cursor:pointer;background:0 0;border:0;display:inline-flex}.account-archive-toggle:hover{background:var(--surface-muted);color:var(--text)}.account-archive-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.account-archive-toggle svg{transition:transform var(--dur-fast) var(--ease)}.account-archive-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.account-archive ul{gap:var(--space-3xs);margin:0;padding:0;list-style:none;display:grid}.account-archive-row{align-items:center;gap:var(--space-base);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-sm) var(--space-base);background:var(--surface);transition:opacity var(--dur-fast) var(--ease);grid-template-columns:auto minmax(0,1fr) auto auto auto auto;display:grid}.account-archive-row.is-hidden{opacity:.6}.account-archive-status{align-items:center;gap:var(--space-2xs);flex-wrap:wrap;display:flex}.account-archive-name{min-width:0;font-size:var(--text-sm);font-weight:var(--weight-medium);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-archive-size,.account-archive-date{font-size:var(--text-xs);color:var(--muted);white-space:nowrap}.account-archive-result{min-width:96px;font-size:var(--text-sm);font-weight:var(--weight-bold);text-align:right;white-space:nowrap}.account-archive-result.is-unset{font-weight:var(--weight-medium);color:var(--muted)}.account-archive-actions{gap:var(--space-xs);display:inline-flex}@media (width<=720px){.account-archive-row{row-gap:var(--space-sm);grid-template-columns:auto minmax(0,1fr) auto}.account-archive-name{grid-column:2/-1}}.account-card{gap:var(--space-xl);border-radius:var(--radius-lg);padding:var(--space-2xl);transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);background:var(--surface);box-shadow:0 0 0 1px var(--line), var(--shadow-flat);flex-direction:column;display:flex}.account-card.is-hidden{opacity:.6}.account-card-head{justify-content:space-between;align-items:flex-start;gap:var(--space-lg);display:flex}.account-card-head h2{margin:var(--space-sm) 0 0;color:var(--text);font-size:var(--text-md);line-height:var(--leading-tight)}.account-card-head p{align-items:center;gap:var(--space-xs);margin:var(--space-sm) 0 0;color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-semibold);display:inline-flex}.account-card-head>strong{color:var(--text);font-size:var(--text-xl);text-align:right;flex:none;line-height:1}.account-track{gap:var(--space-sm);border-radius:var(--radius-sm);padding:var(--space-base) var(--space-sm) var(--space-sm);background:var(--surface-muted);display:grid}.account-track-bar{background:var(--line);border-radius:999px;height:6px;position:relative}.account-track-start{z-index:1;background:var(--strong-muted);border-radius:999px;width:2px;position:absolute;top:-3px;bottom:-3px;left:50%;transform:translate(-1px)}.account-track-fill{background:var(--muted);transition:left var(--dur) var(--ease), width var(--dur) var(--ease);border-radius:999px;position:absolute;top:0;bottom:0}.account-track.is-up .account-track-fill{background:var(--positive)}.account-track.is-down .account-track-fill{background:var(--negative)}.account-track-ends{justify-content:space-between;gap:var(--space-sm);display:flex}.account-track-ends span{font-size:var(--text-xs);font-weight:var(--weight-medium);gap:1px;display:grid}.account-track-ends small{color:var(--muted);font-size:var(--text-2xs);text-transform:uppercase;letter-spacing:.06em}.account-track-floor{color:var(--negative-text)}.account-track-ceiling{color:var(--positive-text);text-align:right}.account-card-promote{align-items:center;gap:var(--space-xs);border:1px solid color-mix(in srgb, var(--positive) 30%, transparent);border-radius:var(--radius-sm);width:100%;padding:var(--space-sm) var(--space-base);background:var(--positive-soft);color:var(--positive-text);font-size:var(--text-xs);font-weight:var(--weight-semibold);text-align:left;transition:border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);margin:0;display:flex}.account-card-promote:hover:not(:disabled){border-color:color-mix(in srgb, var(--positive) 50%, transparent);background:color-mix(in srgb, var(--positive) 18%, var(--positive-soft))}.account-card-promote:disabled{opacity:.6;cursor:not-allowed}.account-card-breach{gap:var(--space-sm);border:1px solid color-mix(in srgb, var(--negative) 30%, transparent);border-radius:var(--radius-sm);padding:var(--space-sm) var(--space-base);background:var(--negative-soft);display:grid}.account-card-breach p{align-items:center;gap:var(--space-xs);color:var(--negative-text);font-size:var(--text-xs);font-weight:var(--weight-semibold);margin:0;display:flex}.account-card-breach-actions{gap:var(--space-xs);flex-wrap:wrap;display:flex}.account-card-breach-actions button{border:1px solid color-mix(in srgb, var(--negative) 30%, transparent);border-radius:var(--radius-sm);min-height:32px;padding:0 var(--space-md);background:var(--surface);color:var(--negative-text);font-size:var(--text-xs);font-weight:var(--weight-semibold);transition:border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);flex:auto;justify-content:center;align-items:center;display:inline-flex}.account-card-breach-actions button:hover:not(:disabled){border-color:color-mix(in srgb, var(--negative) 50%, transparent);background:color-mix(in srgb, var(--negative) 8%, var(--surface))}.account-card-breach-actions button:disabled{opacity:.6;cursor:not-allowed}.account-card-rules strong em{color:var(--muted);font-size:var(--text-xs);font-style:normal;font-weight:var(--weight-medium)}.account-card-rules{gap:var(--space-sm);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.account-card-rules span{gap:var(--space-xs);border-radius:var(--radius-sm);min-width:0;padding:var(--space-sm) 0;background:0 0;display:grid}.account-card-rules svg{color:var(--accent-strong)}.account-card-rules small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold)}.account-card-rules strong{min-width:0;color:var(--text);font-size:var(--text-base);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-card:hover{box-shadow:0 0 0 1px var(--line-strong), var(--shadow-flat)}.account-card-actions{align-items:center;gap:var(--space-md);margin-top:auto;display:flex}.account-card-actions .secondary-action{flex:1}.account-card{container-type:inline-size}.account-details-action{white-space:nowrap}.account-details-short{display:none}@container (width<=311px){.account-details-long{display:none}.account-details-short{display:inline}}.account-card-rules strong.is-unset{color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-semibold)}.account-card-rules strong.positive{color:var(--positive-text);font-weight:var(--weight-bold)}.account-card-rules strong.negative{color:var(--negative-text);font-weight:var(--weight-bold)}.account-row-main{align-items:center;gap:var(--space-base);display:flex}.account-row-main strong,.account-row-main small,.account-row-metric span,.account-row-metric strong{display:block}.account-row-main small,.account-row-metric span,.progress-copy span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);margin-top:3px}.status-dot{background:var(--muted);border-radius:999px;width:12px;height:12px}.status-dot.funded,.account-status-pill.funded{background:var(--positive-soft);color:var(--positive-text)}.account-status-pill.active,.account-status-pill.passed,.status-dot.evaluation,.account-status-pill.evaluation{background:var(--accent-soft);color:var(--accent-strong)}.status-dot.failed,.account-status-pill.failed{background:var(--negative-soft);color:var(--negative-text)}.status-dot.closed,.account-status-pill.closed,.account-status-pill.is-hidden{background:var(--surface-muted);color:var(--strong-muted)}.progress-block{gap:var(--space-sm);display:grid}.progress-copy{justify-content:space-between;align-items:baseline;gap:var(--space-sm);display:flex}.progress-copy strong{font-size:var(--text-base)}.progress-track{background:#e7edf2;border-radius:999px;height:8px;overflow:hidden}.progress-track i{border-radius:inherit;background:var(--accent);height:100%;display:block}.progress-block.danger .progress-track i{background:var(--warning)}.table-panel{min-width:0;overflow:hidden}.table-scroll{min-width:0;max-width:100%;overflow:auto hidden}table{border-collapse:collapse;width:100%;min-width:760px}th,td{padding:var(--space-base) var(--space-md);text-align:left;vertical-align:middle;border-bottom:0}th{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold)}td{color:var(--strong-muted);font-size:var(--text-base);font-weight:var(--weight-medium)}th:first-child,td:first-child{white-space:nowrap}tbody tr:last-child td{border-bottom:0}.align-right{text-align:right}.amount{color:var(--strong-muted);font-weight:var(--weight-bold);white-space:nowrap}.amount.income{color:var(--positive-text)}.amount.expense{color:var(--negative-text)}.movement-badge,.account-status-pill{align-items:center;gap:var(--space-xs);padding:var(--space-2xs) var(--space-sm);font-size:var(--text-xs);font-weight:var(--weight-bold);white-space:nowrap;border-radius:999px;display:inline-flex}.movement-badge.income{background:var(--positive-soft);color:var(--positive-text)}.movement-badge.expense{background:var(--negative-soft);color:var(--negative-text)}.directory-grid{gap:var(--space-2xl);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.firms-workspace{gap:var(--space-2xl);display:grid}.firm-form-panel{max-width:none}.firm-form,.entity-form{gap:var(--space-base);grid-template-columns:minmax(220px,1fr) 190px auto;align-items:end;display:grid}.entity-form{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.firm-form label,.entity-form label{gap:var(--space-xs);min-width:0;color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);display:grid}.input-with-suffix{position:relative}.input-with-suffix input{padding-right:38px}.input-with-suffix>span{color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-bold);pointer-events:none;position:absolute;top:50%;right:13px;transform:translateY(-50%)}.payout-calculation{gap:var(--space-sm);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.payout-calculation>span{gap:var(--space-2xs);border-radius:var(--radius-sm);min-width:0;padding:var(--space-md) var(--space-base);background:var(--surface-raised);display:grid}.payout-calculation small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold)}.payout-calculation strong{font-size:var(--text-md);font-weight:var(--weight-black)}.payout-calculation .positive{color:var(--positive-text)}.payout-calculation .negative{color:var(--negative-text)}.movements-layout{align-items:start;gap:var(--space-2xl);grid-template-columns:minmax(0,1fr);display:grid}.movements-layout.has-detail{grid-template-columns:minmax(0,1fr) 360px}.movements-lists{gap:var(--space-2xl);min-width:0;display:grid}.movement-list-panel{min-width:0}.movement-list{gap:var(--space-2xs);margin:0 calc(-1 * var(--space-md));padding:0;list-style:none;display:grid}.movement-row{justify-content:space-between;align-items:center;gap:var(--space-lg);border-radius:var(--radius-md);width:100%;min-height:64px;padding:var(--space-md);color:inherit;text-align:left;transition:background var(--dur-fast) var(--ease);background:0 0;border:0;display:flex}.movement-row:hover{background:var(--surface-muted)}.movement-row.is-selected{background:var(--accent-soft)}.movement-list li.has-share{border-radius:var(--radius-md);transition:background var(--dur-fast) var(--ease);align-items:center;display:flex}.movement-list li.has-share:hover{background:var(--surface-muted)}.movement-list li.has-share:has(.movement-row.is-selected){background:var(--accent-soft)}.movement-list li.has-share .movement-row{background:0 0;flex:1;width:auto;min-width:0}.movement-row-share{margin-right:var(--space-sm);color:var(--accent-strong);flex:none}.movement-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.movement-row-copy{gap:var(--space-2xs);min-width:0;display:grid}.movement-row-copy strong,.movement-row-copy small{line-height:var(--leading-snug);overflow:hidden}.movement-row-copy strong{color:var(--text);font-size:var(--text-md);font-weight:var(--weight-medium);overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.movement-row-copy small{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-medium)}.movement-row .amount{font-size:var(--text-md);font-variant-numeric:tabular-nums;flex:none}.movement-list-panel .table-pagination{margin-top:var(--space-lg);border-top:0;padding-top:0}.movement-detail{top:calc(var(--topbar-height,0px) + var(--space-lg));max-height:calc(100dvh - var(--topbar-height,0px) - 2 * var(--space-lg));overscroll-behavior:contain;animation:movement-detail-in var(--dur) var(--ease-entrance) backwards;position:sticky;overflow-y:auto}@keyframes movement-detail-in{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:translate(0)}}.movement-detail-body{gap:var(--space-lg);display:grid}.modal-card:has(.movement-detail-body) .modal-body{padding-top:0}.movement-detail-hero{gap:var(--space-2xs);min-width:0;display:grid;position:relative}.movement-detail-hero:has(.movement-detail-close){padding-right:44px}.movement-detail-close{position:absolute;top:0;right:0}.movement-detail-amount{font-size:var(--text-2xl);line-height:var(--leading-tight)}.movement-detail-title{color:var(--text);font-size:var(--text-md);font-weight:var(--weight-medium);overflow-wrap:anywhere}.movement-detail-hero small{color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-medium)}.movement-detail-rows,.movement-detail-note,.movement-detail-actions{border-radius:var(--radius-md);background:var(--surface-muted);margin:0}.movement-detail-rows{gap:var(--space-md);padding:var(--space-lg);display:grid}.movement-detail-rows>div{justify-content:space-between;align-items:baseline;gap:var(--space-lg);min-width:0;display:flex}.movement-detail-rows dt{color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-medium);flex:none}.movement-detail-rows dd{min-width:0;color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-medium);overflow-wrap:anywhere;text-align:right;margin:0}.movement-detail-note{gap:var(--space-xs);padding:var(--space-lg);display:grid}.movement-detail-note span{color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-medium)}.movement-detail-note p{color:var(--text);font-size:var(--text-sm);line-height:var(--leading-normal);overflow-wrap:anywhere;margin:0}.movement-detail-actions{padding:var(--space-xs);display:grid}.movement-detail-actions button{align-items:center;gap:var(--space-md);border-radius:var(--radius-sm);min-height:44px;padding:0 var(--space-md);color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-medium);text-align:left;transition:background var(--dur-fast) var(--ease);background:0 0;border:0;display:flex}.movement-detail-actions button:hover:not(:disabled){background:color-mix(in srgb, var(--text) 6%, transparent)}.movement-detail-actions button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.movement-detail-actions button:disabled{cursor:not-allowed;opacity:.5}.movement-detail-actions svg{color:var(--muted);flex:none}.movement-detail-actions .is-danger,.movement-detail-actions .is-danger svg{color:var(--negative-text)}.movement-list-panel .panel-heading{flex-wrap:wrap;align-items:center}.movement-list-panel .panel-heading h2{margin:0}.movement-total{align-items:baseline;gap:var(--space-sm);padding:var(--space-xs) var(--space-md);background:var(--surface-muted);white-space:nowrap;border-radius:999px;flex:none;display:inline-flex}.movement-total span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.movement-total strong{color:var(--text);font-size:var(--text-md);font-variant-numeric:tabular-nums;font-weight:var(--weight-bold)}.movement-total.is-positive{background:var(--positive-soft)}.movement-total.is-positive strong{color:var(--positive-text)}.movement-total.is-negative{background:var(--negative-soft)}.movement-total.is-negative strong{color:var(--negative-text)}.firm-form input,.firm-form select,.firm-form textarea,.firm-form .custom-select-trigger,.entity-form input,.entity-form select,.entity-form textarea,.entity-form .custom-select-trigger,.onboarding input{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--field);width:100%;color:var(--text);font-size:var(--text-base);box-shadow:var(--shadow-control);transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);outline:0}.firm-form input,.firm-form select,.firm-form .custom-select-trigger,.entity-form input,.entity-form select,.entity-form .custom-select-trigger,.onboarding input{min-height:40px;padding:var(--space-sm) var(--space-base)}.firm-form textarea,.entity-form textarea{min-height:84px;padding:var(--space-sm) var(--space-base);resize:vertical}.firm-form input:focus,.firm-form select:focus,.firm-form textarea:focus,.entity-form input:focus,.entity-form select:focus,.entity-form textarea:focus,.firm-form .custom-select-trigger:focus-visible,.entity-form .custom-select-trigger:focus-visible,.onboarding input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.firm-notes-field,.wide-field{grid-column:1/span 2}.journal-entry-form{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-entry-page{gap:var(--space-2xl);display:grid}.journal-entry-page-header{justify-content:space-between;align-items:center;gap:var(--space-lg);flex-wrap:wrap;display:flex}.journal-entry-page-heading{align-items:center;gap:var(--space-sm);display:flex}.journal-entry-page-heading h2{color:var(--text);font-size:var(--text-lg);line-height:var(--leading-tight);margin:0}.journal-entry-page-actions{gap:var(--space-sm);display:flex}@media (width<=560px){.journal-entry-customize-label{display:none}}.journal-entry-page-body{align-items:start;gap:var(--space-6xl);grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr);display:grid}.journal-entry-page-fields{row-gap:var(--space-2xl)}.journal-entry-time-field{gap:var(--space-base);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.journal-entry-page-body.is-single-column{grid-template-columns:minmax(0,720px)}.journal-entry-page-notes{align-content:start;gap:var(--space-xs);height:100%;display:grid}.journal-entry-page-notes>span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.journal-entry-page-notes .rich-text-editor{height:100%;min-height:440px}@media (width<=900px){.journal-entry-page-body{grid-template-columns:minmax(0,1fr)}.journal-entry-page-notes .rich-text-editor{min-height:260px}}.rich-text-editor{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--field);flex-direction:column;display:flex;overflow:hidden}.rich-text-editor:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.rich-text-editor.is-readonly{background:0 0;border-color:#0000}:root[data-theme=dark] .rich-text-editor.is-readonly{background:0 0}.rich-text-toolbar{gap:var(--space-3xs);border-bottom:1px solid var(--line);padding:var(--space-2xs);background:var(--surface-muted);flex-wrap:wrap;display:flex}.rich-text-toolbar button{border-radius:var(--radius-sm);width:30px;height:30px;color:var(--muted);background:0 0;border:0;place-items:center;display:inline-grid}.rich-text-toolbar button:hover:not(:disabled){background:var(--surface);color:var(--text)}.rich-text-toolbar button.active{background:var(--surface);color:var(--accent-strong);box-shadow:0 0 0 1px var(--accent-soft)}.rich-text-toolbar button:disabled{cursor:wait;opacity:.5}.rich-text-editor .ProseMirror{min-height:0;padding:var(--space-base);color:var(--text);font-size:var(--text-base);line-height:var(--leading-normal);outline:0;flex:1;overflow-y:auto}.rich-text-editor .ProseMirror:focus-visible{outline:0}.rich-text-editor.is-readonly .ProseMirror{padding:0}.rich-text-editor .ProseMirror p{margin:0 0 var(--space-sm)}.rich-text-editor .ProseMirror p:last-child{margin-bottom:0}.rich-text-editor .ProseMirror ul,.rich-text-editor .ProseMirror ol{margin:0 0 var(--space-sm);padding-left:var(--space-xl)}.rich-text-editor .ProseMirror p.is-editor-empty:first-child:before{float:left;height:0;color:var(--muted);content:attr(data-placeholder);pointer-events:none}.rich-text-editor .ProseMirror p.rich-text-placeholder{color:var(--muted)}.journal-entry-form .journal-operation-dropzone{min-height:96px}.journal-entry-form .journal-errors-field{padding:var(--space-sm) var(--space-md) var(--space-md)}.journal-entry-form .journal-errors-field>legend{justify-content:space-between;align-items:center;gap:var(--space-sm);width:100%;padding:0;display:flex}.journal-entry-form .journal-errors-field>legend .ghost-action{background:0 0;border-color:#0000}.journal-entry-form .journal-errors-field>legend .ghost-action:hover:not(:disabled){background:var(--surface-muted);color:var(--text);border-color:#0000}.journal-entry-form .journal-error-options{gap:var(--space-sm);max-height:109px;overflow-y:auto}.journal-entry-form .journal-error-options label{min-height:31px;padding:var(--space-sm) var(--space-base);font-size:var(--text-xs)}.journal-money-input{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--field);grid-template-columns:auto minmax(0,1fr);align-items:center;display:grid;overflow:hidden}.journal-money-input>span{padding:0 var(--space-base);border-right:1px solid var(--line);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-bold);align-self:stretch;align-items:center;display:inline-flex}.entity-form .journal-money-input input{background:0 0;border:0;border-radius:0}.entity-form .journal-money-input input:focus{box-shadow:none}.journal-money-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.journal-entry-pnl-field .journal-money-input{border-color:color-mix(in srgb, var(--accent) 45%, var(--line))}.journal-money-input.positive{border-color:color-mix(in srgb, var(--positive) 55%, var(--line));background:color-mix(in srgb, var(--positive) 16%, var(--surface))}.journal-money-input.positive input{color:var(--positive-text)}.journal-money-input.negative{border-color:color-mix(in srgb, var(--negative) 55%, var(--line));background:color-mix(in srgb, var(--negative) 16%, var(--surface))}.journal-money-input.negative input{color:var(--negative-text)}:root[data-theme=dark] .journal-money-input.positive{background:color-mix(in srgb, var(--positive) 20%, var(--surface))}:root[data-theme=dark] .journal-money-input.negative{background:color-mix(in srgb, var(--negative) 20%, var(--surface))}.journal-entry-pnl-field .journal-money-input input{font-weight:var(--weight-bold)}.journal-errors-field{gap:var(--space-sm);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-md) var(--space-base) var(--space-base);background:var(--field);margin:0;display:grid}.journal-entry-mode-help{justify-content:flex-start;display:flex}.journal-entry-mode-grid{gap:var(--space-base);margin-top:var(--space-base);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.journal-entry-mode-option{justify-items:start;gap:var(--space-2xs);border:1px solid var(--line);border-radius:var(--radius-md);min-width:0;padding:var(--space-lg);background:var(--surface);box-shadow:var(--shadow);text-align:left;transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);display:grid}.journal-entry-mode-option:not(:disabled):hover,.journal-entry-mode-option:not(:disabled):focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.journal-entry-mode-option:disabled{cursor:not-allowed;opacity:.4}.journal-entry-mode-option>svg{margin-bottom:var(--space-2xs);color:var(--accent-strong)}.journal-entry-mode-option .pro-lock-inline{margin-left:var(--space-xs);vertical-align:-2px;color:var(--strong-muted);display:inline-block}.journal-entry-mode-option strong{color:var(--text);font-size:var(--text-base)}.journal-entry-mode-option span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.onboarding{gap:var(--space-2xl);display:grid}.onboarding-intro{color:var(--strong-muted);font-size:var(--text-base);margin:0}.onboarding-firms{gap:var(--space-md);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.onboarding-firm{align-items:center;gap:var(--space-md);border:1px solid var(--line);border-radius:var(--radius-md);min-width:0;min-height:60px;padding:var(--space-md);background:var(--surface);color:var(--text);font-size:var(--text-base);font-weight:var(--weight-bold);text-align:left;transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);display:flex}.onboarding-firm:hover,.onboarding-firm:focus-visible,.onboarding-firm.is-active{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:0}.onboarding .firm-avatar{flex:none;width:36px;height:36px}.onboarding-firm>span:last-child{overflow-wrap:anywhere;min-width:0}.onboarding-firm-mark{flex:none;display:inline-flex;position:relative}.onboarding-firm-check{background:var(--accent);width:18px;height:18px;box-shadow:0 0 0 2px var(--surface);color:var(--on-accent);border-radius:50%;place-items:center;display:inline-grid;position:absolute;top:-6px;right:-6px}.onboarding-progress{gap:var(--space-sm);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.onboarding-progress li{align-items:center;gap:var(--space-2xs);min-height:24px;padding:0 var(--space-md);background:var(--surface-muted);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);border-radius:999px;display:inline-flex}.onboarding-progress li.is-current{background:var(--accent-soft);color:var(--accent-strong)}.onboarding-progress li.is-done{color:var(--positive-text)}.onboarding-inline{gap:var(--space-sm);display:flex}.onboarding-inline input{flex:1}.onboarding-inline .primary-action{min-height:38px}.onboarding-chosen{align-items:center;gap:var(--space-md);min-width:0;display:flex}.onboarding-chosen strong{min-width:0;color:var(--text);font-size:var(--text-md);font-weight:var(--weight-bold);overflow-wrap:anywhere}.onboarding-field{gap:var(--space-sm);display:grid}.onboarding-field>span{color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-bold)}.onboarding-plan-row{align-items:center;gap:var(--space-md);grid-template-columns:40px minmax(0,1fr);display:grid}.onboarding-plan-row>strong{color:var(--text);font-size:var(--text-base);font-weight:var(--weight-bold)}.onboarding-chips{gap:var(--space-sm);flex-wrap:wrap;display:flex}.onboarding-chip{border:1px solid var(--line);border-radius:var(--radius-sm);min-width:64px;min-height:38px;padding:0 var(--space-lg);background:var(--surface);color:var(--strong-muted);font-size:var(--text-base);font-weight:var(--weight-bold);transition:border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease)}.onboarding-chip:hover{border-color:color-mix(in srgb, var(--accent) 42%, var(--line));color:var(--text)}.onboarding-chip.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong)}.onboarding-groups{gap:var(--space-sm);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.onboarding-groups li{align-items:center;gap:var(--space-xs);border:1px solid var(--accent);border-radius:var(--radius-sm);min-height:36px;padding:0 var(--space-2xs) 0 var(--space-md);background:var(--accent-soft);color:var(--text);font-size:var(--text-base);font-weight:var(--weight-medium);display:inline-flex}.onboarding-groups li strong{color:var(--accent-strong);font-weight:var(--weight-bold)}.onboarding-groups button{width:28px;height:28px;color:var(--strong-muted);background:0 0;border:0;border-radius:6px;place-items:center;display:inline-grid}.onboarding-groups button:hover:not(:disabled){background:var(--surface);color:var(--text)}.onboarding-quantity{justify-content:space-between;align-items:flex-end;gap:var(--space-md);flex-wrap:wrap;display:flex}.onboarding-stepper{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);align-items:center;display:inline-flex}.onboarding-stepper button{width:38px;height:38px;color:var(--strong-muted);background:0 0;border:0;place-items:center;display:inline-grid}.onboarding-stepper button:hover:not(:disabled){color:var(--accent-strong)}.onboarding-stepper button:disabled{cursor:not-allowed;opacity:.35}.onboarding-stepper output{min-width:32px;color:var(--text);font-size:var(--text-md);font-weight:var(--weight-bold);text-align:center;font-variant-numeric:tabular-nums}.onboarding-summary{gap:var(--space-md);border-radius:var(--radius-md);padding:var(--space-lg);background:var(--surface-muted);display:grid}.onboarding-summary>strong{color:var(--text);font-size:var(--text-base);font-weight:var(--weight-bold)}.onboarding-summary dl{gap:var(--space-md);grid-template-columns:repeat(auto-fill,minmax(150px,1fr));margin:0;display:grid}.onboarding-summary dt{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.onboarding-summary dd{margin:var(--space-2xs) 0 0;color:var(--text);font-size:var(--text-base);font-weight:var(--weight-bold)}.onboarding-note{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);margin:0}.onboarding-note strong{color:var(--strong-muted);font-weight:var(--weight-bold)}.onboarding-done{align-items:flex-start;gap:var(--space-md);display:flex}.onboarding-done>span{background:var(--positive-soft);width:32px;height:32px;color:var(--positive-text);border-radius:50%;flex:none;place-items:center;display:inline-grid}.onboarding-done p{color:var(--strong-muted);font-size:var(--text-base);align-self:center;margin:0}.onboarding-options{margin-top:0}.onboarding-footer{justify-content:center;display:flex}@media (width<=620px){.onboarding-firms{gap:var(--space-sm);grid-template-columns:minmax(0,1fr)}.onboarding-firm{min-height:48px;padding:var(--space-sm) var(--space-md)}.onboarding .firm-avatar{width:32px;height:32px}.onboarding-plan-row{gap:var(--space-sm);grid-template-columns:minmax(0,1fr)}.onboarding-chips{grid-template-columns:repeat(auto-fit,minmax(52px,1fr));display:grid}.onboarding-chip{min-width:0;padding:0 var(--space-2xs)}.onboarding-stepper button{width:44px;height:44px}.onboarding-groups li{min-height:44px}.onboarding-groups button{width:40px;height:40px}.onboarding-options{grid-template-columns:minmax(0,1fr)}}.trades-import-no-accounts{min-height:0}.trades-import-no-accounts .primary-action{margin-top:var(--space-xl)}.trades-import-options{grid-template-columns:repeat(2,minmax(0,1fr))}.trades-import-all{align-items:center;gap:var(--space-sm);margin-top:var(--space-base);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-semibold);cursor:pointer;display:inline-flex}.trades-import-row{align-items:center;gap:var(--space-md);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-sm) var(--space-md);cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;display:grid}.trades-import-row>.bank-import-row-main,.trades-import-row>.bank-import-row-amount{grid-area:auto}.trades-import-all input,.trades-import-row input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}.trades-import-row:not(.is-selected) .bank-import-row-main,.trades-import-row:not(.is-selected) .bank-import-row-amount{opacity:.5}.trades-import-row .bank-import-row-main strong{align-items:center;gap:var(--space-sm);display:inline-flex}.trades-import-row .bank-import-row-amount strong.positive{color:var(--positive-text)}.trades-import-row .bank-import-row-amount strong.negative{color:var(--negative-text)}.trades-import-accounts{gap:var(--space-xs);min-width:0;display:grid}.trades-import-accounts-label{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.trades-import-accounts small{color:var(--muted);font-size:var(--text-xs);line-height:var(--leading-normal)}.bank-import-summary+.trades-import-accounts{margin-top:var(--space-base)}.trades-import-account-list,.trades-import-targets{gap:var(--space-sm);flex-wrap:wrap;min-width:0;display:flex}.trades-import-account,.trades-import-target{align-items:center;gap:var(--space-xs);border:1px solid var(--line);border-radius:var(--radius-sm);min-width:0;max-width:100%;padding:var(--space-2xs) var(--space-sm);background:var(--surface);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-semibold);cursor:pointer;transition:border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);display:inline-flex}.trades-import-account{min-height:38px}.trades-import-account:hover,.trades-import-target:hover{border-color:color-mix(in srgb, var(--accent) 42%, var(--line));color:var(--text)}.trades-import-account.is-selected,.trades-import-target.is-selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong)}.trades-import-account span,.trades-import-target span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.trades-import-account input,.trades-import-target input{width:16px;height:16px;accent-color:var(--accent);flex:none}.trades-import-target b{font-variant-numeric:tabular-nums;font-weight:var(--weight-semibold)}.trades-import-target b.positive{color:var(--positive-text)}.trades-import-target b.negative{color:var(--negative-text)}.trades-import-target em{color:var(--muted);font-size:var(--text-xs);font-style:normal;font-weight:var(--weight-medium)}.trades-import-row.is-multi{cursor:default}.trades-import-row.is-multi>.trades-import-targets{grid-column:2/-1}@media (width<=560px){.trades-import-options{grid-template-columns:minmax(0,1fr)}.trades-import-account,.trades-import-target{min-height:44px}.trades-import-row.is-multi>.trades-import-targets{grid-column:1/-1}.bank-import-guide-tabs.trades-import-guide-tabs{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}}.tax-summary-panel{min-width:0;overflow:hidden}.tax-summary-controls{align-items:center;gap:var(--space-sm);display:flex}.tax-summary-controls .custom-select{width:108px}.tax-summary-controls .custom-select-trigger{border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;min-height:38px;padding:0 var(--space-base);background:var(--surface);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-bold);transition:transform 90ms var(--ease)}.tax-summary-controls .custom-select-trigger:hover:not(:disabled){border-color:color-mix(in srgb, var(--accent) 42%, var(--line));background:var(--surface-muted);color:var(--text)}.tax-summary-controls .custom-select-trigger:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:0}.tax-summary-controls .custom-select-trigger:active:not(:disabled){transform:scale(.94)}.tax-summary-table{min-width:460px}.tax-summary-table tfoot th,.tax-summary-table tfoot td{color:var(--text);font-size:var(--text-base);border-top:0;border-bottom:0}.tax-summary-table tbody td small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);margin-top:2px;display:block}.tax-summary-disclaimer{margin:var(--space-base) 0 0;color:var(--muted);font-size:var(--text-xs);line-height:var(--leading-normal)}@media (width<=820px){.tax-summary-table tbody td small{margin-left:var(--space-xs);display:inline}.tax-summary-table tfoot tr{border-color:var(--line-strong)}}.movement-import-shortcut{align-items:center;gap:var(--space-md);border:1px dashed var(--line-strong);border-radius:var(--radius-sm);width:100%;padding:var(--space-md) var(--space-base);color:var(--accent-strong);text-align:left;cursor:pointer;transition:border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);background:0 0;grid-column:1/-1;display:flex}.movement-import-shortcut:hover,.movement-import-shortcut:focus-visible{border-color:var(--accent);background:var(--accent-soft);outline:0}.movement-import-shortcut span{gap:2px;display:grid}.movement-import-shortcut strong{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold)}.movement-import-shortcut small{color:var(--muted);font-size:var(--text-xs)}.bank-import-pick{gap:var(--space-base);display:grid}.bank-import-dropzone{justify-items:center;gap:var(--space-sm);border:1px dashed var(--line-strong);border-radius:var(--radius-sm);padding:var(--space-3xl) var(--space-base);color:var(--strong-muted);text-align:center;cursor:pointer;transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);outline:0;display:grid}.bank-import-dropzone strong{color:var(--text);font-size:var(--text-base);font-weight:var(--weight-semibold)}.bank-import-dropzone span,.bank-import-privacy,.bank-import-summary{color:var(--muted);font-size:var(--text-sm)}.bank-import-dropzone:hover,.bank-import-dropzone:focus-visible,.bank-import-dropzone.is-dragging{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.bank-import-privacy,.bank-import-summary{line-height:var(--leading-normal);margin:0}.import-sources{gap:var(--space-md);grid-template-columns:repeat(auto-fit,minmax(220px,1fr));display:grid}.import-sources .bank-import-dropzone{padding:var(--space-2xl) var(--space-lg);align-content:start}.bank-import-dropzone small{color:var(--muted);font-size:var(--text-xs);line-height:var(--leading-normal)}.bank-import-dropzone>svg{color:var(--strong-muted)}.photo-dropzone{border-style:solid;border-color:color-mix(in srgb, var(--accent) 45%, transparent);background:var(--accent-soft)}.photo-dropzone-head{align-items:center;gap:var(--space-xs);color:var(--accent-strong);display:inline-flex}.photo-dropzone-head em{padding:2px var(--space-xs);background:var(--accent);color:var(--on-accent);font-size:var(--text-xs);font-style:normal;font-weight:var(--weight-bold);letter-spacing:.04em;border-radius:999px}.import-progress{align-items:center;gap:var(--space-lg);border:1px dashed var(--line-strong);border-radius:var(--radius-sm);min-height:180px;padding:var(--space-2xl) var(--space-lg);animation:rise-in var(--dur-slow) var(--ease-out) backwards;grid-template-columns:auto minmax(0,1fr);display:grid}.import-progress.is-photo{border-style:solid;border-color:color-mix(in srgb, var(--accent) 45%, transparent);background:var(--accent-soft)}.import-progress-thumb{border-radius:var(--radius-sm);width:112px;height:84px;box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);display:block;position:relative;overflow:hidden}.import-progress-thumb img{object-fit:cover;width:100%;height:100%;display:block}.import-progress-scan{inset-inline:0;background:var(--accent);height:2px;box-shadow:0 0 12px 3px color-mix(in srgb, var(--accent) 55%, transparent);animation:import-progress-scan 1.6s var(--ease-in-out) infinite alternate;position:absolute;top:0}.import-progress-icon{border-radius:var(--radius-sm);background:var(--surface-muted);width:56px;height:56px;color:var(--strong-muted);place-items:center;display:grid}.import-progress.is-photo .import-progress-icon{background:var(--accent-soft);color:var(--accent-strong)}.import-progress-body{gap:var(--space-xs);min-width:0;display:grid}.import-progress-body>strong{align-items:center;gap:var(--space-xs);color:var(--text);font-size:var(--text-base);font-weight:var(--weight-semibold);display:inline-flex}.import-progress.is-photo .import-progress-body>strong svg{color:var(--accent-strong)}.import-progress-body>small{color:var(--muted);font-size:var(--text-xs)}.import-progress-steps{gap:var(--space-xs);margin:var(--space-xs) 0 0;padding:0;list-style:none;display:grid}.import-progress-steps li{align-items:center;gap:var(--space-xs);color:var(--muted);font-size:var(--text-sm);transition:color var(--dur-fast) var(--ease);display:flex}.import-progress-steps li>svg,.import-progress-spinner,.import-progress-dot{flex-shrink:0}.import-progress-steps li.is-active{color:var(--text);font-weight:var(--weight-medium)}.import-progress-steps li.is-done{color:var(--strong-muted)}.import-progress-steps li.is-done>svg{color:var(--positive-text)}.import-progress-spinner{border:2px solid color-mix(in srgb, var(--accent) 25%, transparent);border-top-color:var(--accent);border-radius:50%;width:14px;height:14px;animation:.8s linear infinite import-progress-spin}.import-progress-dot{background:var(--line-strong);border-radius:50%;width:6px;height:6px;margin:0 4px}@keyframes import-progress-scan{to{top:calc(100% - 2px)}}@keyframes import-progress-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.import-progress,.import-progress-scan,.import-progress-spinner{animation:none}}@media (width<=420px){.import-progress{gap:var(--space-md);padding:var(--space-lg) var(--space-md)}.import-progress-thumb{width:76px;height:60px}}.photo-dropzone[aria-disabled=true]{cursor:default;opacity:.6}.bank-import-summary strong{color:var(--text)}.bank-import-guide{gap:var(--space-md);padding-top:var(--space-base);border-top:0;display:grid}.bank-import-guide-head{justify-content:space-between;align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.bank-import-guide-head strong{color:var(--text);font-size:var(--text-base);font-weight:var(--weight-semibold)}.bank-import-guide-tabs{gap:var(--space-3xs);border-radius:var(--radius-sm);padding:var(--space-3xs);background:var(--surface-muted);display:inline-flex}.bank-import-guide-tabs button{border-radius:calc(var(--radius-sm) - 2px);padding:var(--space-xs) var(--space-md);color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-semibold);cursor:pointer;background:0 0;border:0}.bank-import-guide-tabs button.is-active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-flat)}.bank-import-guide ol{gap:var(--space-sm);padding-left:var(--space-lg);color:var(--strong-muted);font-size:var(--text-sm);line-height:var(--leading-normal);margin:0;display:grid}.bank-import-guide ol li::marker{color:var(--accent-strong);font-weight:var(--weight-semibold)}.bank-import-guide-note{color:var(--muted);font-size:var(--text-xs);line-height:var(--leading-normal);margin:0}.bank-import-map{gap:var(--space-base);display:grid}.bank-import-map-scroll{border:1px solid var(--line);border-radius:var(--radius-sm);overflow-x:auto}.bank-import-map-table{border-collapse:collapse;width:100%;font-size:var(--text-sm)}.bank-import-map-table th,.bank-import-map-table td{min-width:150px;max-width:260px;padding:var(--space-sm) var(--space-md);text-align:left;vertical-align:top;overflow-wrap:anywhere}.bank-import-map-table th{background:var(--surface-muted);font-weight:var(--weight-medium)}.bank-import-map-table th>span{margin-top:var(--space-xs);color:var(--muted);font-size:var(--text-xs);display:block}.bank-import-map-table td{color:var(--text);border-top:0}.bank-import-map-table td[data-role=ignore]{color:var(--muted)}.bank-import-map-options{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.bank-import-map-check{align-items:flex-start;gap:var(--space-md);cursor:pointer;display:flex}.bank-import-map-check input{width:16px;height:16px;margin:var(--space-3xs) 0 0;accent-color:var(--accent);flex-shrink:0}.bank-import-map-check>span{gap:var(--space-3xs);display:grid}.bank-import-map-check strong{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold)}.bank-import-map-check small{color:var(--muted);font-size:var(--text-xs);line-height:var(--leading-normal)}.share-studio{--share-chrome:340px;--share-min:180px;gap:var(--space-lg);display:grid;container-type:inline-size}.share-studio.has-file-row{--share-chrome:396px}.share-preview{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-muted);justify-self:center;overflow:hidden}.share-preview[data-format=square]{aspect-ratio:1;width:min(100%, max(var(--share-min), calc(92dvh - var(--share-chrome))))}.share-preview[data-format=vertical]{aspect-ratio:9/16;width:min(100%, calc(max(calc(var(--share-min) + 20px), min(92dvh - var(--share-chrome), 460px)) * 9 / 16))}.share-preview[data-format=landscape]{aspect-ratio:16/9;width:min(100%, calc(max(calc(var(--share-min) + 20px), 92dvh - var(--share-chrome)) * 16 / 9))}.share-preview img,.share-preview canvas,.share-preview-skeleton{width:100%;height:100%;display:block}.share-options{gap:var(--space-sm);grid-template-columns:minmax(0,1fr) auto;display:grid}.share-options .share-file{grid-column:1/-1}.share-format button{white-space:nowrap}.share-theme button{min-width:48px;padding:0}.share-options .segmented-control button:disabled{cursor:not-allowed;opacity:.5}.share-format-glyph{border:1.5px solid;border-radius:3px;flex:none}.share-format-glyph.is-square{width:13px;height:13px}.share-format-glyph.is-vertical{width:9px;height:15px}.share-format-glyph.is-landscape{width:16px;height:9px}.share-hint{margin:calc(-1 * var(--space-sm)) 0 0;color:var(--muted);font-size:var(--text-sm)}.share-studio .form-action-row{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column}.share-actions button{min-width:0;padding-inline:var(--space-sm)}@container (width<=359px){.share-actions .ghost-action span,.share-format-glyph{display:none}}.share-controls{gap:var(--space-lg);min-width:0;display:grid}.share-studio.has-background{--share-chrome:500px}@media (width<=759px){.share-studio.has-background{--share-min:140px;gap:var(--space-base)}.share-studio.has-background .share-controls{gap:var(--space-base)}.share-studio.is-split>.share-actions{z-index:1;padding-top:var(--space-sm);background:var(--surface);margin-top:0;position:sticky;bottom:0}}@media (width>=760px){.share-studio.is-split .share-controls{gap:var(--space-md)}.share-studio.is-split{--share-chrome:190px;column-gap:var(--space-2xl);grid-template-columns:minmax(0,1fr) 300px;align-items:start}.share-studio.is-split>.share-preview{align-self:center}.share-studio.is-split>.share-actions{grid-column:1/-1}}.share-handle{gap:var(--space-sm);min-width:0;display:grid}.share-handle small{color:var(--muted);font-size:var(--text-xs);line-height:var(--leading-normal)}.share-handle-input{align-items:center;gap:var(--space-xs);border:1px solid var(--line-strong);border-radius:var(--radius-sm);min-height:40px;padding:0 var(--space-md);background:var(--surface);color:var(--muted);font-weight:var(--weight-semibold);display:flex}.share-handle-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.share-handle-input input{min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:none;flex:1;padding:0}@media (width<=820px){.share-handle-input{min-height:44px}}.share-background{gap:var(--space-sm);min-width:0;display:grid}.share-background-label{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-black);text-transform:uppercase}.share-background small{color:var(--muted);font-size:var(--text-xs);line-height:var(--leading-normal)}.share-background-row{gap:var(--space-xs);scrollbar-width:none;margin:-3px;padding:3px;display:flex;overflow-x:auto}.share-background-row::-webkit-scrollbar{display:none}@media (width>=760px){.share-studio.is-split .share-background-row{flex-wrap:wrap;overflow:visible}}.share-background-tile{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-muted);width:56px;height:56px;color:var(--strong-muted);flex:none;place-items:center;padding:0;display:grid;position:relative;overflow:hidden}.share-background-tile canvas,.share-background-tile img{width:100%;height:100%;display:block}.share-background-tile img{object-fit:cover}.share-background-tile.is-loading{animation:1s ease-in-out infinite alternate share-tile-loading}@keyframes share-tile-loading{0%{opacity:1}to{opacity:.55}}@media (prefers-reduced-motion:reduce){.share-background-tile.is-loading{opacity:.7;animation:none}}.share-background-tile.is-selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.share-background-tile.is-plain{background:var(--surface);font-size:var(--text-md);font-weight:var(--weight-bold)}.share-background-tile.is-random{background:var(--accent-soft);color:var(--accent-strong)}.share-background-tile.is-random:hover{border-color:var(--accent)}.share-background-tile.is-upload{border-style:dashed;border-color:var(--line-strong);background:0 0}.share-background-tile.is-upload:hover:not(:disabled){border-color:var(--accent);color:var(--accent-strong)}.share-background-tile:disabled{cursor:wait;opacity:.55}.share-background-photo{flex:none;display:inline-flex;position:relative}.share-background-remove{border-radius:var(--radius-sm);color:#fff;background:#08090fb8;border:0;place-items:center;width:20px;height:20px;padding:0;display:grid;position:absolute;top:3px;right:3px}.share-background-remove:hover{background:var(--negative)}@media (width<=820px){.share-background-tile{width:48px;height:48px}.share-background-remove{width:24px;height:24px}}.bank-import-map-suggest{justify-content:space-between;align-items:center;gap:var(--space-base);flex-wrap:wrap;display:flex}.bank-import-map-suggest>span{flex:260px}.bank-import-list{gap:var(--space-sm);margin:var(--space-base) 0;display:grid}.bank-import-row{align-items:center;gap:var(--space-sm) var(--space-md);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-sm) var(--space-md);grid-template-columns:auto minmax(0,1.25fr) minmax(0,1fr) minmax(0,.8fr);grid-template-areas:"check main main amount"".firm account category";display:grid}.bank-import-row>input{grid-area:check}.bank-import-row-main{grid-area:main}.bank-import-row-amount{grid-area:amount}.bank-import-row-firm{grid-area:firm}.bank-import-row-account{grid-area:account}.bank-import-row-category{grid-area:category}.bank-import-row input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}.bank-import-row:not(.is-selected) .bank-import-row-main,.bank-import-row:not(.is-selected) .bank-import-row-amount{opacity:.5}.bank-import-row-firm,.bank-import-row-account,.bank-import-row-category{min-width:0}.bank-import-row-main{gap:2px;min-width:0;display:grid}.bank-import-row-main strong{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold);overflow-wrap:anywhere}.bank-import-row-main small{align-items:center;gap:var(--space-sm);color:var(--muted);font-size:var(--text-xs);flex-wrap:wrap;display:flex}.bank-import-flag{padding:1px var(--space-sm);background:var(--surface-muted);color:var(--strong-muted);font-style:normal;font-weight:var(--weight-semibold);border-radius:999px}.bank-import-row-amount{font-variant-numeric:tabular-nums;justify-items:end;gap:2px;display:grid}.bank-import-row-amount strong{font-size:var(--text-sm);font-weight:var(--weight-semibold);white-space:nowrap}.bank-import-row-amount.expense strong{color:var(--negative-text)}.bank-import-row-amount.income strong{color:var(--positive-text)}.bank-import-row-amount small{color:var(--muted);font-size:var(--text-xs);white-space:nowrap}@media (width<=720px){.bank-import-row{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"check main amount""firm firm firm""account account account""category category category"}}.journal-errors-field legend{padding:0 var(--space-2xs);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-black);text-transform:uppercase}.movement-form{gap:var(--space-2xl);flex-direction:column;grid-template-columns:none;align-items:stretch;display:flex}.movement-kind-toggle{gap:var(--space-2xs);padding:var(--space-2xs);border-radius:var(--radius-md);background:var(--surface-muted);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.movement-kind-toggle button{border-radius:var(--radius-sm);min-height:40px;color:var(--muted);font-size:var(--text-base);font-weight:var(--weight-bold);cursor:pointer;transition:background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);background:0 0;border:1px solid #0000}.movement-kind-toggle button:hover:not(:disabled):not(.is-active){color:var(--strong-muted)}.movement-kind-toggle button.is-active.is-expense{border-color:color-mix(in srgb, var(--negative) 28%, transparent);background:var(--negative-soft);color:var(--negative-text)}.movement-kind-toggle button.is-active.is-income{border-color:color-mix(in srgb, var(--positive) 28%, transparent);background:var(--positive-soft);color:var(--positive-text)}.movement-kind-toggle button:disabled{cursor:not-allowed;opacity:.55}.movement-amount-input{position:relative}.movement-form .movement-amount-input input{min-height:62px;font-size:var(--text-2xl);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;letter-spacing:-.01em;padding-right:60px}.movement-amount-input em{color:var(--muted);font-size:var(--text-base);font-style:normal;font-weight:var(--weight-bold);pointer-events:none;position:absolute;top:50%;right:16px;transform:translateY(-50%)}.movement-payout-block{gap:var(--space-base);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-base);background:var(--surface-muted);display:grid}.movement-form-grid{gap:var(--space-base);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.movement-form-full{grid-column:1/-1}.journal-error-picker{gap:var(--space-sm);display:grid}.journal-error-options{gap:var(--space-sm);flex-wrap:wrap;display:flex}.journal-error-options label{align-items:center;gap:var(--space-xs);border:1px solid var(--line);border-radius:var(--radius-sm);min-height:36px;padding:0 var(--space-md);background:var(--field);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-bold);cursor:pointer;-webkit-user-select:none;user-select:none;transition:border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);display:inline-flex;position:relative}.journal-error-options label:hover{border-color:color-mix(in srgb, var(--error-color,var(--accent)) 40%, var(--line));background:color-mix(in srgb, var(--error-color,var(--accent)) 7%, var(--surface));color:var(--text);box-shadow:0 0 0 3px color-mix(in srgb, var(--error-color,var(--accent)) 12%, transparent);transform:translateY(-1px)}.journal-error-options label:active{transform:translateY(0)}.journal-error-options label:has(input:focus-visible){border-color:color-mix(in srgb, var(--error-color,var(--accent)) 55%, var(--line));box-shadow:0 0 0 3px color-mix(in srgb, var(--error-color,var(--accent)) 22%, transparent)}.journal-error-options label.is-selected{border-color:color-mix(in srgb, var(--error-color,var(--accent)) 55%, var(--line));background:color-mix(in srgb, var(--error-color,var(--accent)) 14%, var(--surface));color:var(--text);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--error-color,var(--accent)) 22%, transparent)}.journal-error-options label.is-selected:hover{background:color-mix(in srgb, var(--error-color,var(--accent)) 18%, var(--surface))}.journal-error-options input{opacity:0;pointer-events:none;width:1px;height:1px;margin:0;position:absolute}.entity-form .primary-action{align-self:end}.mutation-message{border-radius:var(--radius-sm);padding:var(--space-md) var(--space-base);font-size:var(--text-base);font-weight:var(--weight-semibold);grid-column:1/-1;margin:0}.mutation-message.error{background:var(--negative-soft);color:var(--negative-text)}.mutation-message.info{background:var(--surface-muted);color:var(--strong-muted)}.mutation-message.success{background:var(--positive-soft);color:var(--positive-text)}.ghost-action,.secondary-action,.danger-action{justify-content:center;align-items:center;gap:var(--space-xs);border-radius:var(--radius-sm);min-height:40px;padding:0 var(--space-base);font-size:var(--text-sm);font-weight:var(--weight-medium);display:inline-flex}.ghost-action,.secondary-action{background:var(--control);color:var(--strong-muted);box-shadow:inset 0 0 0 1px var(--control-ring), var(--shadow-control);border:0}.secondary-action:hover:not(:disabled),.ghost-action:hover:not(:disabled){background:var(--control-hover);color:var(--text);box-shadow:inset 0 0 0 1px var(--control-ring-hover), var(--shadow-control)}.secondary-action,.ghost-action{transition:transform 90ms var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease)}.danger-action{background:var(--negative-soft);color:var(--negative-text);border:0}.secondary-action:disabled,.danger-action:disabled,.ghost-action:disabled,.ghost-action.disabled{cursor:not-allowed;opacity:.55}.firm-card{gap:var(--space-2xl)}.firm-card-actions{align-items:center;gap:var(--space-sm);margin-top:auto;display:flex}.row-actions{justify-content:flex-end;align-items:center;gap:var(--space-sm);display:inline-flex}.table-panel tbody tr{transition:background var(--dur-fast) var(--ease)}.table-panel tbody tr:hover,.table-panel tbody tr:focus-within{background:var(--surface-muted)}.table-panel tbody tr .row-actions{opacity:.45;transition:opacity var(--dur-fast) var(--ease)}.table-panel tbody tr:hover .row-actions,.table-panel tbody tr:focus-within .row-actions{opacity:1}.table-pagination{justify-content:space-between;align-items:center;gap:var(--space-base);margin-top:var(--space-xl);padding-top:var(--space-xl);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);border-top:0;display:flex}.table-pagination-nav{align-items:center;gap:var(--space-sm);display:flex}.editable-journal-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;display:grid}.empty-panel{border:1px dashed var(--line-strong);border-radius:var(--radius-md);min-height:250px;padding:var(--space-4xl);background:var(--field);color:var(--muted);text-align:center;place-items:center;display:grid}.empty-panel strong{margin-top:var(--space-sm);color:var(--text)}.empty-panel span{margin-top:var(--space-2xs);font-size:var(--text-base);font-weight:var(--weight-medium)}.inline-empty{margin-top:var(--space-xl);min-height:180px}.directory-card{gap:var(--space-5xl);min-height:250px;padding:var(--space-3xl);display:grid}.directory-kicker{margin-bottom:var(--space-xl);padding:var(--space-2xs) var(--space-md);background:var(--accent-soft);color:var(--accent-strong);font-size:var(--text-xs);font-weight:var(--weight-bold);border-radius:999px;display:inline-flex}.directory-card dl{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.directory-card dl div{border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-base);background:var(--field)}.directory-card dt{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold)}.directory-card dd{margin:var(--space-2xs) 0 0;color:var(--text);font-size:var(--text-xl);font-weight:var(--weight-bold)}.firms-workspace{container-type:inline-size}.firm-overview-panel{gap:var(--space-3xl);padding:var(--space-3xl);background:var(--surface);grid-template-columns:minmax(260px,1fr) minmax(360px,1.1fr);align-items:center;display:grid;overflow:hidden}@container (width<=715px){.firm-overview-panel{grid-template-columns:minmax(0,1fr)}}.firm-overview-copy{gap:var(--space-xs);display:grid}.section-kicker{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);letter-spacing:0;text-transform:none}.firm-overview-copy h2{color:var(--text);font-size:var(--text-lg);line-height:var(--leading-tight);margin:0}.firm-overview-copy p{max-width:620px;color:var(--muted);font-size:var(--text-base);font-weight:var(--weight-medium);line-height:var(--leading-normal);margin:0}.firm-overview-stats{gap:var(--space-md);grid-template-columns:minmax(0,3fr) minmax(0,2fr);width:100%;display:grid;container:firm-header-stats/inline-size}@container (width<=715px){.firm-overview-stats{justify-self:start;width:min(100%,560px)}}.firm-overview-stat{gap:var(--space-xs);border-radius:var(--radius-sm);min-width:0;min-height:92px;padding:var(--space-base);background:color-mix(in srgb, var(--surface-muted) 72%, transparent);grid-template-rows:auto 1fr auto;display:grid}.firm-overview-stat svg{color:var(--accent-strong)}.firm-overview-stat strong{min-width:0;color:var(--text);font-size:var(--text-2xl);line-height:var(--leading-tight);overflow-wrap:anywhere;align-self:end}.firm-overview-stat small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold)}.firm-overview-stat.is-featured,.firm-stats-active{background:var(--surface-muted);box-shadow:none}.firm-overview-stat.is-featured strong{font-size:var(--text-3xl);font-weight:var(--weight-black)}.firm-overview-stat.is-featured small{color:var(--strong-muted)}@container firm-header-stats (width<=439px){.firm-overview-stat.is-featured strong{font-size:var(--text-2xl)}}@media (width<=560px){.firm-overview-stats{grid-template-columns:minmax(0,1fr)}.firm-overview-stat.is-featured strong{font-size:var(--text-2xl)}}.firm-type-tabs{gap:var(--space-sm);flex-wrap:wrap;display:flex}.firm-type-tabs button{align-items:center;gap:var(--space-sm);border:1px solid var(--line);border-radius:var(--radius-sm);min-height:40px;padding:0 var(--space-base);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-medium);background:0 0;border-color:#0000;display:inline-flex}.firm-type-tabs button:hover,.firm-type-tabs button.is-active{border-color:color-mix(in srgb, var(--accent) 50%, var(--line));background:var(--accent-soft);color:var(--text)}.firm-type-tabs strong{border-radius:var(--radius-sm);min-width:20px;min-height:22px;padding:0 var(--space-3xs);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);background:0 0;place-items:center;display:inline-grid}.firm-type-tabs button.is-active strong{color:var(--accent-strong);background:0 0}.firms-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));align-items:stretch}.firm-card{gap:var(--space-xl);padding:var(--space-2xl);transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);flex-direction:column;display:flex}.firm-card:hover{border-color:var(--line-strong);box-shadow:var(--shadow-flat)}.firm-card-header{gap:var(--space-base);grid-template-columns:auto minmax(0,1fr);align-items:center;display:grid}.firm-avatar{border-radius:var(--radius-sm);background:hsl(var(--firm-hue,258) 62% 93%);width:42px;height:42px;color:hsl(var(--firm-hue,258) 48% 34%);font-size:var(--text-base);font-weight:var(--weight-black);letter-spacing:.01em;place-items:center;display:inline-grid}:root[data-theme=dark] .firm-avatar{background:hsl(var(--firm-hue,258) 32% 22%);color:hsl(var(--firm-hue,258) 68% 76%)}.firm-avatar.has-logo,:root[data-theme=dark] .firm-avatar.has-logo{padding:var(--space-2xs);background:#f4f4f6}:root[data-theme=dark] .firm-avatar.has-logo{box-shadow:inset 0 0 0 1px #ffffff14}.firm-avatar.has-logo img{object-fit:contain;width:100%;height:100%}.firm-type-pill{border-radius:var(--radius-sm);min-height:24px;padding:0 var(--space-sm);font-size:var(--text-xs);font-weight:var(--weight-black);align-items:center;display:inline-flex}.firm-type-pill.futures{background:var(--accent-soft);color:var(--accent-strong)}.firm-type-pill.forex{background:var(--positive-soft);color:var(--positive-text)}.firm-type-pill.crypto{background:color-mix(in srgb, var(--warning) 16%, transparent);color:var(--warning-text)}.firm-type-pill.other{background:var(--surface-muted);color:var(--strong-muted)}.firm-type-pill.is-hidden{margin-left:var(--space-xs);background:var(--surface-muted);color:var(--strong-muted)}.firm-card.is-hidden{opacity:.6}.firm-card h2{margin-top:var(--space-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.firm-card-notes{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:42px;display:-webkit-box;overflow:hidden}.firm-stats{gap:var(--space-md);display:grid}.firm-stats-active{gap:var(--space-sm);border-radius:var(--radius-sm);min-width:0;padding:var(--space-lg);display:grid}.firm-stats-kicker{align-items:center;gap:var(--space-xs);color:var(--strong-muted);font-size:var(--text-xs);font-weight:var(--weight-medium);text-transform:none;display:flex}.firm-stats-active>strong{color:var(--text);font-size:var(--text-3xl);font-variant-numeric:tabular-nums;font-weight:var(--weight-black);line-height:1}.firm-stats-active .firm-card-outcomes{margin-top:var(--space-3xs)}.firm-stats-active .firm-card-outcome-bar{background:color-mix(in srgb, var(--accent) 12%, var(--surface-muted))}.firm-stats-list{gap:var(--space-sm);grid-template-columns:minmax(0,1fr);margin:0;padding:0;list-style:none;display:grid}.firm-stats-list li{justify-content:space-between;align-items:center;gap:var(--space-3xs);border-radius:var(--radius-sm);min-width:0;padding:var(--space-sm) 0;background:0 0;flex-wrap:wrap;display:flex}.firm-stats-list li>span{align-items:center;gap:var(--space-xs);min-width:0;color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);white-space:nowrap;display:inline-flex}.firm-stats-list svg{color:var(--muted);flex-shrink:0}.firm-stats-list strong{color:var(--text);font-size:var(--text-lg);font-variant-numeric:tabular-nums;line-height:1}.firm-stats-list .is-zero strong{color:var(--muted);font-weight:var(--weight-medium)}.firm-stats-list .is-zero svg{opacity:.5}.firm-stats-list .firm-stat-passed:not(.is-zero),.firm-stats-list .firm-stat-failed:not(.is-zero){background:0 0}.firm-stats-list .firm-stat-passed:not(.is-zero) svg{color:color-mix(in srgb, var(--positive) 75%, var(--text))}.firm-stats-list .firm-stat-failed:not(.is-zero) svg{color:color-mix(in srgb, var(--negative) 75%, var(--text))}.firm-stats-list .firm-stat-passed:not(.is-zero) strong{color:color-mix(in srgb, var(--positive) 60%, var(--text))}.firm-stats-list .firm-stat-failed:not(.is-zero) strong{color:color-mix(in srgb, var(--negative) 60%, var(--text))}.firm-card-withdrawn{justify-content:space-between;align-items:baseline;gap:var(--space-md);display:flex}.firm-card-withdrawn span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold)}.firm-card-withdrawn strong{font-size:var(--text-lg);font-variant-numeric:tabular-nums;white-space:nowrap}.firm-card-withdrawn strong.positive{color:var(--positive-text)}.firm-card-withdrawn strong.is-unset{color:var(--muted)}.firm-card-outcomes{gap:var(--space-sm);display:grid}.firm-card-outcomes .funded{--outcome:var(--positive)}.firm-card-outcomes .evals{--outcome:var(--accent)}.firm-card-none-active{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);margin:0}.firm-card-outcome-bar{background:var(--surface-muted);border-radius:999px;gap:2px;height:8px;display:flex;overflow:hidden}.firm-card-outcome-bar span{background:var(--outcome);flex-basis:0;min-width:4px}.firm-card-outcome-legend{gap:var(--space-xs) var(--space-md);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.firm-card-outcome-legend li{align-items:center;gap:var(--space-3xs);display:inline-flex}.firm-card-outcome-legend li:before{content:"";background:var(--outcome);border-radius:50%;width:8px;height:8px}.firm-card-outcome-legend strong{color:var(--text)}.firm-history{gap:var(--space-xl);display:grid}.firm-history-totals{gap:var(--space-md);grid-template-columns:repeat(3,minmax(0,1fr));margin:0;display:grid}.firm-history-totals div{gap:var(--space-xs);padding:var(--space-base);border-radius:var(--radius-sm);background:var(--surface-muted);display:grid}.firm-history-totals dt{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold)}.firm-history-totals dd{font-size:var(--text-md);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;white-space:nowrap;margin:0}.firm-history-totals .positive,.firm-history-withdrawn.positive{color:var(--positive-text)}.firm-history-totals .negative{color:var(--negative-text)}.firm-history-list{margin:0;padding:0;list-style:none;display:grid}.firm-history-list li{align-items:center;gap:var(--space-md);padding-block:var(--space-md);border-top:0;grid-template-columns:minmax(0,1fr) auto auto;display:grid}.firm-history-list li:first-child{border-top:0;padding-top:0}.firm-history-account{gap:var(--space-3xs);min-width:0;display:grid}.firm-history-account strong{font-size:var(--text-sm);overflow-wrap:anywhere}.firm-history-account span{color:var(--muted);font-size:var(--text-xs)}.firm-history-account .firm-history-meta{white-space:nowrap}.firm-history-withdrawn{min-width:88px;font-size:var(--text-sm);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.firm-history-withdrawn.is-unset{color:var(--muted)}@media (width<=560px){.firm-history-totals{gap:var(--space-sm);grid-template-columns:minmax(0,1fr)}.firm-history-totals div{justify-content:space-between;align-items:baseline;gap:var(--space-md);display:flex}.firm-history-list li{gap:var(--space-xs) var(--space-md);grid-template-columns:minmax(0,1fr) auto}.firm-history-list .account-status-pill{grid-area:2/1;justify-self:start}.firm-history-withdrawn{grid-area:1/2/span 2}}.firm-card-actions{justify-content:space-between;gap:var(--space-md)}.firm-card-actions .secondary-action{flex:1}.card-delete,.card-edit,.card-visibility{border-radius:var(--radius-sm);width:40px;height:40px;color:var(--muted);cursor:pointer;transition:background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);background:0 0;border:0;flex-shrink:0;place-items:center;padding:0;display:inline-grid}.card-delete:hover:not(:disabled){background:var(--negative-soft);color:var(--negative-text)}.card-edit:hover:not(:disabled),.card-visibility:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}.card-delete:disabled,.card-edit:disabled,.card-visibility:disabled{cursor:not-allowed;opacity:.4}.firm-card-empty{color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-semibold);margin:0}.firms-grid .empty-panel{grid-column:1/-1}.settings-grid{align-content:start;gap:var(--space-2xl);min-width:0;display:grid}.settings-layout{justify-content:center;align-items:start;gap:var(--space-5xl);grid-template-columns:200px minmax(0,760px);display:grid}.settings-nav{gap:var(--space-2xl);min-width:0;display:grid}.settings-nav-group{gap:var(--space-3xs);display:grid}.settings-nav-group p{margin:0 0 var(--space-3xs);padding:0 var(--space-md);color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.08em;text-transform:uppercase}.settings-nav button{align-items:center;gap:var(--space-sm);border-radius:var(--radius-sm);min-height:36px;padding:0 var(--space-md);color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-medium);text-align:left;white-space:nowrap;background:0 0;border:0;transition:background .16s,color .16s,box-shadow .16s;display:flex}.settings-nav button svg{flex:none;transition:color .16s}.settings-nav button:hover{background:color-mix(in srgb, var(--text) 5%, transparent);color:var(--text)}.settings-nav button[aria-current=page]{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line), var(--shadow-flat);color:var(--text)}.settings-nav button[aria-current=page] svg{color:var(--accent)}.settings-nav button.is-danger:hover,.settings-nav button.is-danger[aria-current=page],.settings-nav button.is-danger[aria-current=page] svg{color:var(--negative-text)}.settings-section-head{display:grid}.settings-section-head h2{color:var(--text);font-size:var(--text-2xl);font-weight:var(--weight-bold);letter-spacing:-.01em;line-height:var(--leading-snug,1.25);margin:0}.settings-rows{min-width:0;display:grid}.settings-row{align-items:center;gap:var(--space-2xl);min-width:0;padding:var(--space-xl) 0;border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;display:grid}.settings-rows>.settings-row:first-child{border-top:1px solid var(--line)}.settings-row.is-field{grid-template-columns:minmax(0,1fr) minmax(0,340px)}.settings-row-text{gap:var(--space-3xs);min-width:0;display:grid}.settings-row-label{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-medium)}.settings-row-description{color:var(--muted);font-size:var(--text-xs);overflow-wrap:anywhere;line-height:1.45}.settings-row-control{justify-content:flex-end;align-items:center;gap:var(--space-xs);flex-wrap:wrap;min-width:0;display:flex}.settings-row.is-field .settings-row-control{display:block}.settings-rows-footer{justify-content:flex-end;align-items:center;gap:var(--space-md);padding-top:var(--space-xl);flex-wrap:wrap;display:flex}.settings-rows-footer .mutation-message{flex:240px;margin:0}.settings-photo{align-items:center;gap:var(--space-xl);min-width:0;display:flex}.settings-avatar{width:64px;height:64px;box-shadow:inset 0 0 0 1px #ffffff2e, 0 0 0 1px var(--line);color:#fff;font-size:var(--text-2xl);font-weight:var(--weight-bold);background:linear-gradient(145deg,#9b78ec,#6438c6);border-radius:50%;flex:none;place-items:center;display:inline-grid;overflow:hidden}.settings-avatar img,.user-card>span:first-child img{border-radius:inherit;object-fit:cover;width:100%;height:100%}.user-card>span:first-child{overflow:hidden}.settings-subhead{margin:var(--space-5xl) 0 var(--space-lg);color:var(--text);font-size:var(--text-md);font-weight:var(--weight-bold)}.settings-subhead+.settings-row{border-top:1px solid var(--line)}.settings-row-value{color:var(--strong-muted);font-size:var(--text-sm)}.settings-chips{gap:var(--space-xs);flex-wrap:wrap;display:flex}.settings-chip{align-items:center;gap:var(--space-3xs);min-height:32px;padding:0 var(--space-md);background:var(--control);box-shadow:inset 0 0 0 1px var(--control-ring);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-medium);border:0;border-radius:999px;transition:background .16s,color .16s,box-shadow .16s;display:inline-flex}.settings-chip:hover:not(:disabled){color:var(--text)}.settings-chip[aria-pressed=true]{background:var(--accent-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);color:var(--accent-strong)}.settings-chip:disabled{opacity:.6}.settings-chip-input{margin-top:var(--space-xs)}.settings-row:has(.settings-chips){align-items:start}.settings-row:has(.settings-chips) .settings-row-text{padding-top:6px}.settings-grid>.settings-panel{border:0;border-top:1px solid var(--line);padding:var(--space-2xl) 0 0;box-shadow:none;background:0 0;border-radius:0}.settings-grid[data-section=suscripcion]>.settings-panel:first-of-type .panel-heading h2,.settings-grid[data-section=claude]>.claude-panel>.referral-head>.panel-heading{display:none}@media (width<=560px){.settings-row,.settings-row.is-field{gap:var(--space-md);grid-template-columns:minmax(0,1fr)}.settings-row-control,.settings-rows-footer{justify-content:flex-start}}@media (width<=820px){.settings-layout{gap:var(--space-xl);grid-template-columns:minmax(0,1fr)}.settings-nav{gap:var(--space-3xs);margin-inline:calc(var(--workspace-pad,0px) * -1);padding:var(--space-3xs) var(--workspace-pad,0px);scrollbar-width:none;display:flex;overflow-x:auto}.settings-nav::-webkit-scrollbar{display:none}.settings-nav-group{display:contents}.settings-nav-group p{display:none}.settings-nav button{flex:none}}.economic-events-panel{gap:var(--space-lg);display:grid}.economic-events-list{margin:0;padding:0;list-style:none;display:grid}.economic-event-row{align-items:center;gap:var(--space-md);border-radius:var(--radius-sm);padding:var(--space-md) var(--space-sm);grid-template-columns:44px minmax(0,1fr) auto;display:grid}.economic-event-row+.economic-event-row{border-top:0}.economic-events-list.is-today .economic-event-row{grid-template-columns:auto minmax(0,1fr)}.economic-event-row.is-near{background:var(--accent-soft)}.economic-event-date{justify-items:center;gap:var(--space-3xs);display:grid}.economic-event-date strong{color:var(--text);font-size:var(--text-lg);font-weight:var(--weight-black);font-variant-numeric:tabular-nums;line-height:1}.economic-event-date small{color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.06em;text-transform:uppercase;line-height:1}.economic-event-name{align-items:center;gap:var(--space-xs);min-width:0;color:var(--text);font-size:var(--text-base);font-weight:var(--weight-bold);display:flex}.economic-event-name i,.economic-events-picker-row i,.journal-today-events i{background:var(--negative);border-radius:2px;flex:none;width:9px;height:11px}.economic-event-time{color:var(--strong-muted);font-size:var(--text-base);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;white-space:nowrap}.economic-event-time.is-lead{color:var(--text);font-size:var(--text-lg);font-weight:var(--weight-black)}.economic-events-nav{align-items:center;gap:var(--space-xs);min-width:0;display:flex}.economic-events-nav h2{white-space:nowrap;margin:0;display:grid}.economic-events-nav h2>span{justify-content:center;align-items:center;gap:var(--space-xs);grid-area:1/1;display:flex}.economic-events-title-sizer{visibility:hidden}.economic-events-title-stack{display:inline-grid}.economic-events-title-stack>span{grid-area:1/1}.economic-events-title-date.is-tight{display:none}.economic-events-nav h2 em{padding:var(--space-3xs) var(--space-xs);background:var(--accent-soft);color:var(--accent-strong);font-size:var(--text-2xs);font-style:normal;font-weight:var(--weight-bold);letter-spacing:.06em;text-transform:uppercase;border-radius:999px}.economic-events-panel .panel-heading{flex-wrap:wrap}.economic-events-actions{align-items:center;gap:var(--space-xs);display:flex}.economic-events-actions .info-hint-wrap{display:none}@media (width<=560px){.economic-events-nav{flex:100%}.economic-events-nav .info-hint-wrap{display:none}.economic-events-actions .info-hint-wrap{display:inline-flex}.economic-events-nav h2{flex:1;min-width:0}.economic-events-nav .economic-events-title-sizer,.economic-events-title-date{display:none}.economic-events-title-date.is-tight{display:inline}.economic-events-nav h2>span{flex-wrap:wrap}}.economic-events-none{gap:var(--space-md);color:var(--muted);font-size:var(--text-sm);margin:0;display:grid}.economic-events-none p{margin:0}.economic-events-next-hint{align-items:center;gap:var(--space-xs);color:var(--text);font-size:var(--text-base);font-weight:var(--weight-bold);flex-wrap:wrap;display:flex}.economic-events-next-hint i{background:var(--negative);border-radius:2px;flex:none;width:9px;height:11px}.economic-events-next-hint strong{color:var(--muted);font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.06em;text-transform:uppercase}.economic-events-next-hint small{color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums}.economic-events-settings{gap:var(--space-2xl);margin-bottom:var(--space-xl);display:grid}.economic-events-setting{gap:var(--space-md);display:grid}.economic-events-setting h3{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);letter-spacing:.08em;text-transform:uppercase;margin:0}.economic-events-presets{gap:var(--space-xs);flex-wrap:wrap;min-width:0;display:flex}.economic-events-custom{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.economic-events-custom label{gap:var(--space-2xs);min-width:0;display:grid}.economic-events-custom label span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);text-transform:uppercase}.economic-events-coverage{color:var(--muted);font-size:var(--text-xs);line-height:var(--leading-snug);margin:0}.economic-events-picker{gap:var(--space-sm);margin-bottom:var(--space-xl);display:grid}.economic-events-picker-row{align-items:center;gap:var(--space-md);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-md) var(--space-base);background:var(--surface);color:var(--text);font-size:var(--text-base);font-weight:var(--weight-semibold);cursor:pointer;transition:border-color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);display:flex}.economic-events-picker-row:hover{border-color:var(--line-strong)}.economic-events-picker-row.is-off{opacity:.5}.economic-events-picker-row span{flex:1;min-width:0}.journal-day-event{top:var(--space-2xs);left:var(--space-2xs);background:var(--negative);border-radius:2px;width:7px;height:9px;position:absolute}.journal-today-events{align-items:center;gap:var(--space-xs) var(--space-md);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-medium);flex-wrap:wrap;margin:0;display:flex}.journal-today-events i{width:7px;height:9px}.journal-today-events strong{color:var(--text);font-size:var(--text-2xs);font-weight:var(--weight-bold);letter-spacing:.06em;text-transform:uppercase}.journal-today-events span{align-items:baseline;gap:var(--space-xs);display:inline-flex}.journal-today-events small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums}.segmented-control{gap:var(--space-xs);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-2xs);background:var(--surface-muted);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.segmented-control button{justify-content:center;align-items:center;gap:var(--space-sm);min-height:42px;color:var(--strong-muted);font-size:var(--text-base);font-weight:var(--weight-medium);background:0 0;border:1px solid #0000;border-radius:6px;display:inline-flex}.segmented-control button.active{border-color:var(--line);background:var(--surface);color:var(--text);box-shadow:var(--shadow-flat)}.settings-support{align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.connected-apps{gap:var(--space-md);margin:0;padding:0;list-style:none;display:grid}.connected-apps li{gap:var(--space-md);border-radius:var(--radius-sm);padding:var(--space-md);background:var(--surface-muted);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;display:grid}.connected-apps-icon{border-radius:var(--radius-sm);background:var(--accent-soft);width:32px;height:32px;color:var(--accent-strong);place-items:center;display:grid}.connected-apps-text{gap:var(--space-3xs);min-width:0;display:grid}.connected-apps-text strong{color:var(--text);font-size:var(--text-base);font-weight:var(--weight-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.connected-apps-text span{color:var(--muted);font-size:var(--text-sm)}.claude-status{margin-left:var(--space-xs);padding:var(--space-3xs) var(--space-sm);background:var(--positive-soft);color:var(--positive-text);font-size:var(--text-xs);font-weight:var(--weight-semibold);border-radius:999px}.claude-prompts{gap:var(--space-sm);grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin:0;padding:0;list-style:none;display:grid}.claude-prompt{justify-content:space-between;align-items:center;gap:var(--space-md);border-radius:var(--radius-sm);width:100%;height:100%;padding:var(--space-sm) var(--space-md);background:var(--control);box-shadow:inset 0 0 0 1px var(--control-ring), var(--shadow-control);color:var(--text);font:inherit;font-size:var(--text-sm);line-height:var(--leading-snug);text-align:left;cursor:pointer;border:0;display:flex}.claude-prompt svg{color:var(--muted);flex:none}.claude-prompt:hover{background:var(--control-hover);box-shadow:inset 0 0 0 1px var(--control-ring-hover), var(--shadow-control)}.claude-prompt:hover svg{color:var(--accent-strong)}.claude-app-tabs{grid-template-columns:repeat(3,minmax(0,1fr));width:min(420px,100%)}.claude-app-panel{gap:var(--space-md);display:grid}.claude-app-where{color:var(--strong-muted);font-size:var(--text-sm);line-height:var(--leading-snug);margin:0}.claude-note{color:var(--muted);font-size:var(--text-sm);line-height:var(--leading-snug);margin:0}.claude-guide-link{justify-self:start;align-items:center;gap:var(--space-xs);color:var(--accent-strong);font-size:var(--text-sm);font-weight:var(--weight-semibold);text-decoration:none;display:inline-flex}.claude-guide-link:hover{text-decoration:underline}.settings-support-email{border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-2xs) var(--space-sm);background:var(--surface-muted);color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold);-webkit-user-select:all;user-select:all}.settings-install{align-items:center;gap:var(--space-sm) var(--space-md);flex-wrap:wrap;display:flex}.settings-install-done{align-items:center;gap:var(--space-xs);color:var(--positive-text);font-weight:var(--weight-semibold);display:flex}.settings-referral-link{overflow-wrap:anywhere}.referral-panel{gap:var(--space-2xl);display:grid}.referral-head .panel-heading{margin-bottom:var(--space-sm)}.referral-title-icon{width:28px;height:28px;margin-right:var(--space-2xs);border-radius:var(--radius-sm);background:var(--accent-soft);color:var(--accent-strong);place-items:center;display:inline-grid}.referral-lead{color:var(--strong-muted);font-size:var(--text-base);line-height:var(--leading-snug);margin:0}.referral-link-block,.referral-section{gap:var(--space-md);display:grid}.referral-link-label{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.referral-channels{gap:var(--space-sm);flex-wrap:wrap;display:flex}.referral-channels a.secondary-action{text-decoration:none}.referral-subtitle{font-size:var(--text-base);font-weight:var(--weight-bold);margin:0}.referral-steps{gap:var(--space-lg);grid-template-columns:repeat(auto-fit,minmax(190px,1fr));margin:0;padding:0;list-style:none;display:grid}.referral-steps li{align-items:flex-start;gap:var(--space-md);display:flex}.referral-step-number{background:var(--accent-soft);width:28px;height:28px;color:var(--accent-strong);font-size:var(--text-sm);font-weight:var(--weight-bold);border-radius:50%;flex:none;place-items:center;display:grid}.referral-steps strong{font-size:var(--text-base);font-weight:var(--weight-semibold);display:block}.referral-steps p{margin:var(--space-3xs) 0 0;color:var(--muted);font-size:var(--text-sm);line-height:var(--leading-snug)}.referral-stats{gap:var(--space-md);grid-template-columns:repeat(auto-fit,minmax(140px,1fr));display:grid}.referral-stat{align-content:start;gap:var(--space-sm);border-radius:var(--radius-md);padding:var(--space-lg);background:var(--surface-muted);display:grid}.referral-stat>span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.referral-stat>strong{font-size:var(--text-2xl);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;line-height:1}.referral-stat>strong small{color:var(--muted);font-size:var(--text-md);font-weight:var(--weight-medium)}.referral-progress{background:var(--line);border-radius:999px;height:6px;overflow:hidden}.referral-progress span{border-radius:inherit;background:var(--accent);height:100%;display:block}.referral-list{margin:0;padding:0;list-style:none;display:grid}.referral-list li{justify-content:space-between;align-items:center;gap:var(--space-md);border-radius:var(--radius-sm);padding:var(--space-md);display:flex}.referral-list li:nth-child(odd){background:var(--surface-muted)}.referral-friend{gap:var(--space-3xs);min-width:0;display:grid}.referral-friend strong{font-size:var(--text-base);font-weight:var(--weight-semibold)}.referral-friend small{color:var(--muted);font-size:var(--text-xs)}.referral-status{padding:var(--space-3xs) var(--space-sm);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);text-align:right;border-radius:999px}.referral-status.is-monthEarned,.referral-status.is-monthPending{background:var(--positive-soft);color:var(--positive-text)}.referral-empty{border-radius:var(--radius-md);padding:var(--space-lg);background:var(--surface-muted);color:var(--muted);font-size:var(--text-sm);text-align:center;margin:0}.referral-more,.referral-note{color:var(--muted);font-size:var(--text-xs);line-height:var(--leading-snug);margin:0}@media (width<=560px){.referral-list li{flex-wrap:wrap}.referral-status{text-align:left;padding-inline:0}.referral-status.is-monthEarned,.referral-status.is-monthPending{padding-inline:var(--space-sm)}.referral-stat:nth-child(3){grid-column:1/-1}.referral-channels .secondary-action{min-height:44px}}.firm-overview-stat,.journal-breakdown-row,.journal-breakdown-empty,.journal-error-type-row,.journal-detail-copy,.journal-detail-grid div,.journal-row,.account-row{border-color:#0000}@media (width>=561px) and (width<=1280px){.metric-grid.journal-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=1181px){.workspace{--workspace-pad:var(--space-5xl)}}@media (width>=1560px){.metric-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.metric-grid .metric-card:last-child{grid-column:auto}}@media (width<=1180px){.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-grid .metric-card:last-child,.metric-card.is-featured{grid-column:auto}.dashboard-grid,.dashboard-insights,.directory-grid,.journal-error-manager-grid,.settings-grid{grid-template-columns:1fr}.firms-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}.journal-dashboard-widget[data-widget-size=half]{grid-column:span 12}.journal-dashboard-widget[data-widget-size=quarter]{grid-column:span 6}.journal-dashboard-widget[data-widget-size=wide]{grid-column:span 8}.journal-dashboard-widget[data-widget-size=narrow]{grid-column:span 4}.settings-grid .settings-panel:first-child{grid-row:auto}.dashboard-filters{grid-template-columns:repeat(3,minmax(150px,1fr))}.firm-form,.entity-form{grid-template-columns:1fr}.firm-notes-field,.wide-field{grid-column:auto}.account-row{grid-template-columns:minmax(220px,1fr) minmax(140px,.6fr)}.accounts-overview-panel{grid-template-columns:minmax(0,1fr)}.account-filter-row label{flex-basis:100%}.account-filter-row button{width:100%}}@media (width<=1400px){.journal-day-meta{display:none}}@media (width<=1240px){.journal-day-amount{display:none}.journal-day-amount.is-tight{display:inline}}@media (width<=820px){body{overflow-x:hidden}.topbar{align-items:stretch;gap:var(--space-base);flex-direction:column}.topbar-controls{align-items:center;gap:var(--space-sm);flex-wrap:wrap;min-width:0;display:flex}.topbar-actions{display:contents}.topbar-section{margin-right:0}.journal-dashboard-widget{grid-column:span 12!important}.app-shell{grid-template-columns:1fr;overflow-x:hidden}.sidebar{z-index:60;width:min(300px,84vw);height:100dvh;padding:var(--space-xl) var(--space-md) var(--space-2xl);visibility:hidden;transition:transform var(--dur) var(--ease-entrance), visibility 0s linear var(--dur);position:fixed;top:0;left:0;overflow-y:auto;transform:translate(-100%)}.app-shell[data-mobile-nav=open] .sidebar{visibility:visible;transition:transform var(--dur) var(--ease-entrance), visibility 0s;transform:translate(0)}.nav-backdrop{z-index:55;opacity:0;pointer-events:none;transition:opacity var(--dur) var(--ease);background:#08061085;border:0;padding:0;display:block;position:fixed;inset:0}.app-shell[data-mobile-nav=open] .nav-backdrop{opacity:1;pointer-events:auto}.nav-trigger{display:inline-grid}.sidebar-toggle{display:none}.nav-close{display:inline-grid}.brand{grid-template-columns:minmax(0,1fr) 44px}.topbar-lead{align-items:center;gap:var(--space-md);min-width:0;display:flex}.workspace{--workspace-pad:var(--space-3xl);padding:var(--space-3xl)}.account-card-grid{grid-template-columns:1fr}.firm-overview-panel{grid-template-columns:minmax(0,1fr)}.firm-overview-stats{justify-self:start;width:min(100%,560px)}.account-card-rules{grid-template-columns:1fr}.user-chip{justify-content:flex-start}.search-control{width:100%}.select-control{justify-content:space-between}.select-control select{max-width:none}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid .metric-card:last-child,.metric-card.is-featured{grid-column:span 2}.dashboard-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-weekday-bars{grid-template-columns:repeat(4,minmax(0,1fr))}.journal-review-actions{justify-content:flex-start}.resource-form-heading{grid-template-columns:1fr}.journal-error-type-row{grid-template-columns:12px minmax(0,1fr)}.journal-error-type-row .row-actions{grid-column:2;justify-content:flex-start}.chart-date-label{display:none}.chart-date-label.is-tight{display:inline}.theme-toggle,.icon-control,.calendar-nav-heading .icon-control,.journal-calendar-snapshot.icon-control,.compact-icon,.card-delete,.card-edit,.card-visibility,.rich-text-toolbar button{width:44px;height:44px}.topbar-primary,.primary-action,.secondary-action,.ghost-action,.danger-action,.custom-select-trigger,.settings-row .custom-select-trigger,.account-filter-row .custom-select-trigger,.journal-cockpit-account-filter .custom-select-trigger,.account-status-tabs button,.firm-type-tabs button,.firm-hidden-toggle,.journal-same-day button,.account-card-breach-actions button,.account-archive-toggle,.form-section-toggle,.journal-folder{min-height:44px}.info-hint{position:relative}.info-hint:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.period-range-tabs{width:100%;display:flex}.period-range-tabs button{flex:1;min-height:40px}.panel-heading{flex-wrap:wrap}}@media (width<=560px){.workspace{--workspace-pad:var(--space-xl);padding:var(--space-xl)}.state-notice{align-items:start;display:grid}.state-notice strong{white-space:normal}.state-notice code{justify-self:start}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid.journal-kpi-grid{grid-template-columns:1fr}.period-month-bars{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-filters{grid-template-columns:1fr}.journal-account-overview-head{display:grid}.journal-account-figures{justify-content:flex-start}.journal-account-figures div{justify-items:start}.journal-account-bar-ends span{gap:var(--space-2xs);flex-direction:column}.journal-account-bar-ends .is-ceiling{align-items:flex-end}.journal-account-bar-figures{gap:var(--space-xs);grid-template-columns:1fr}.journal-account-bar-figures span,.journal-account-bar-figures span:nth-child(2),.journal-account-bar-figures span:nth-child(3){flex-direction:row-reverse;justify-content:space-between}.journal-account-bar-figures span:empty{display:none}.journal-weekday-bars{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-review-presets,.journal-mode-tabs{width:100%}.journal-mode-tabs button{flex:1}.journal-calendar-panel .panel-heading{flex-wrap:wrap}.journal-calendar-grid{gap:var(--space-2xs);grid-template-columns:repeat(7,minmax(0,1fr))}.journal-year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-weekday.is-week{display:none}.journal-week-summary{margin-bottom:var(--space-xs);padding:var(--space-xs) var(--space-sm);grid-column:1/-1;grid-auto-flow:column;justify-content:space-between;align-items:center}.journal-calendar-panel{--journal-calendar-bleed:var(--space-4xl)}.journal-calendar-grid{margin:0 calc(-1 * var(--journal-calendar-bleed))}.journal-day{min-height:76px;padding:var(--space-2xs) 2px}.journal-day-amount{display:none}.journal-day-amount.is-tight{display:inline}.journal-day-date{font-size:var(--text-xs);top:3px;right:4px}.journal-day strong{font-size:var(--text-xs)}.journal-day small{display:none}.account-row{grid-template-columns:1fr}.journal-row{display:grid}.editable-journal-row,.journal-error-type-row{grid-template-columns:1fr}.journal-error-type-row>i{display:none}.journal-error-type-row .row-actions{grid-column:auto}.row-actions{flex-wrap:wrap;justify-content:flex-start}.form-action-row{display:grid}.journal-score{justify-items:start}.table-scroll{overflow-x:visible}.table-scroll table{width:100%;min-width:0}.table-scroll thead{display:none}.table-scroll tbody{gap:var(--space-md);display:grid}.table-scroll tr{gap:var(--space-xs);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-base);background:var(--surface);display:grid}.table-scroll td{justify-content:space-between;align-items:baseline;gap:var(--space-base);text-align:right;border-bottom:0;padding:0;display:flex}.table-scroll td:before{content:attr(data-label);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);text-align:left}.table-scroll td.align-right{text-align:right}.table-scroll td .row-actions{flex-wrap:wrap;justify-content:flex-end}}.field-bubble{z-index:160;align-items:center;gap:var(--space-sm);max-width:min(320px,100vw - 24px);padding:var(--space-sm) var(--space-md) var(--space-sm) var(--space-sm);border:1px solid color-mix(in srgb, var(--negative) 34%, var(--line));border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-raised);color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-medium);line-height:var(--leading-tight);pointer-events:none;animation:field-bubble-in var(--dur-fast) var(--ease-entrance) backwards;display:flex;position:fixed}.field-bubble.is-measuring{visibility:hidden;animation:none;top:0;left:0}.field-bubble.is-above{animation-name:field-bubble-in-above}.field-bubble-icon{border-radius:var(--radius-sm);background:var(--negative-soft);width:24px;height:24px;color:var(--negative-text);flex:none;place-items:center;display:grid}.field-bubble:before{content:"";left:var(--arrow-left,16px);border-top:1px solid color-mix(in srgb, var(--negative) 34%, var(--line));border-left:1px solid color-mix(in srgb, var(--negative) 34%, var(--line));background:var(--surface);width:10px;height:10px;margin-left:-5px;position:absolute;top:-6px;transform:rotate(45deg)}.field-bubble.is-above:before{border:0;border-right:1px solid color-mix(in srgb, var(--negative) 34%, var(--line));border-bottom:1px solid color-mix(in srgb, var(--negative) 34%, var(--line));top:auto;bottom:-6px}input[aria-invalid=true][aria-describedby=field-validation-bubble],select[aria-invalid=true][aria-describedby=field-validation-bubble],textarea[aria-invalid=true][aria-describedby=field-validation-bubble],input[aria-invalid=true][aria-describedby=field-validation-bubble]:focus,select[aria-invalid=true][aria-describedby=field-validation-bubble]:focus,textarea[aria-invalid=true][aria-describedby=field-validation-bubble]:focus{border-color:var(--negative);box-shadow:0 0 0 3px var(--negative-soft)}@keyframes field-bubble-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@keyframes field-bubble-in-above{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex="0"]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}[data-modal-dialog]:focus,.auth-field input:focus-visible{outline:none}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:0s!important;animation-duration:.12s!important;animation-delay:0s!important}button:active:not(:disabled){transform:none!important}}.nav-group button.active:hover{background:#b496ed2e}@media (width<=820px){.filter-toggle-button{width:44px;height:44px}.topbar-primary{padding-inline:var(--space-md)}.overview-tabs-row{gap:var(--space-xs);flex-wrap:nowrap}.account-status-tabs,.firm-type-tabs{min-width:0;max-width:100%;padding:var(--space-3xs);scrollbar-width:thin;flex-wrap:nowrap;overflow-x:auto}.account-status-tabs{flex:1}.account-status-tabs button,.firm-type-tabs button{flex-shrink:0}.journal-mode-tabs button,.journal-review-presets button,.economic-events-presets button,.movement-kind-toggle button,.custom-select-option,.topbar-menu-item,.firm-form input,.entity-form input,.onboarding input{min-height:44px}.firm-form input,.firm-form textarea,.entity-form input,.entity-form textarea,.settings-row input,.confirm-require input,.onboarding input{font-size:var(--text-md)}}.share-prompt{align-items:center;gap:var(--space-base);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-base) var(--space-lg);background:var(--accent-soft);display:flex}.share-prompt>svg{color:var(--accent-strong);flex-shrink:0}.share-prompt>div{flex:1;min-width:0}.share-prompt strong{color:var(--text);font-size:var(--text-base);font-weight:var(--weight-semibold);display:block}.share-prompt p{margin:var(--space-3xs) 0 0;color:var(--strong-muted);font-size:var(--text-base);font-weight:var(--weight-medium);line-height:var(--leading-snug)}.share-prompt-cta,.share-prompt-dismiss{flex-shrink:0}@media (width<=560px){.share-prompt{flex-wrap:wrap}.share-prompt>div{flex-basis:calc(100% - 44px)}.share-prompt-cta{flex:1}}.topbar-coach{align-items:center;gap:var(--space-xs);border-radius:var(--radius-md);height:40px;padding:0 var(--space-md) 0 4px;background:var(--control);color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold);letter-spacing:-.005em;box-shadow:var(--shadow-control);transition:background var(--dur-fast) var(--ease);border:0;display:inline-flex}.topbar-coach-icon{place-items:center;width:32px;height:32px;display:inline-grid}.topbar-coach-icon img{object-fit:contain;transform-origin:50% 85%;width:100%;height:100%;transition:rotate var(--dur) var(--ease-out), scale var(--dur) var(--ease-out);-webkit-user-select:none;user-select:none;display:block}.topbar-coach-label{color:var(--text)}.topbar-coach:hover{background:var(--control-hover)}.topbar-coach:hover .topbar-coach-icon img{rotate:-8deg;scale:1.06}.topbar-coach:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.topbar-coach[aria-pressed=true]{background:var(--accent-soft);box-shadow:none}.topbar-coach[aria-pressed=true] .topbar-coach-label{color:var(--accent-strong)}.coach-panel{--coach-glow:color-mix(in srgb, var(--accent) 16%, transparent);--coach-glow-2:color-mix(in srgb, var(--donut-cat-5) 10%, transparent);inset-block:0;z-index:100;border-left:1px solid var(--line);background:radial-gradient(120% 60% at 100% 0%, var(--coach-glow), transparent 60%), radial-gradient(80% 40% at 0% 8%, var(--coach-glow-2), transparent 70%), var(--surface);width:min(460px,100vw);height:100dvh;box-shadow:var(--shadow-overlay);animation:coach-in var(--dur-slow) var(--ease-out) backwards;flex-direction:column;display:flex;position:fixed;right:0}@keyframes coach-in{0%{opacity:0;translate:24px}}.coach-avatar{width:26px;height:26px;filter:drop-shadow(0 2px 4px color-mix(in srgb, var(--accent) 28%, transparent));flex-shrink:0;place-items:center;display:inline-grid}.coach-avatar img{object-fit:contain;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.coach-avatar.is-md{width:40px;height:40px;filter:drop-shadow(0 6px 12px color-mix(in srgb, var(--accent) 30%, transparent))}.coach-avatar.is-thinking img{transform-origin:50% 90%;animation:linx-ponder 2.4s var(--ease-in-out) infinite}@keyframes linx-ponder{0%,to{rotate:0deg}30%{rotate:-8deg}60%{rotate:4deg}}@keyframes coach-float{50%{translate:0 -4px}}.coach-header{justify-content:space-between;align-items:center;gap:var(--space-md);border-bottom:1px solid color-mix(in srgb, var(--line) 70%, transparent);padding:var(--space-md) var(--space-lg);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex}.coach-title{align-items:center;gap:var(--space-sm);min-width:0;display:inline-flex}.coach-title-copy{gap:2px;min-width:0;display:grid}.coach-title-copy strong{align-items:center;gap:var(--space-xs);color:var(--text);font-size:var(--text-base);font-weight:var(--weight-bold);line-height:1.2;display:inline-flex}.coach-title-copy small{color:var(--muted);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.coach-header-actions{gap:var(--space-2xs);display:inline-flex}.coach-header .icon-control{background:0 0;border-color:#0000}.coach-header .icon-control:hover:not(:disabled){background:var(--surface-muted)}.coach-messages{gap:var(--space-lg);overscroll-behavior:contain;padding:var(--space-lg);flex-direction:column;flex:1;display:flex;overflow-y:auto}.coach-welcome{gap:var(--space-xl);margin-block:auto;display:grid}.coach-hero{justify-items:center;gap:var(--space-sm);text-align:center;display:grid}.coach-hero-pose{width:128px;height:128px;margin-bottom:var(--space-xs);object-fit:contain;filter:drop-shadow(0 14px 18px color-mix(in srgb, var(--accent) 30%, transparent));-webkit-user-select:none;user-select:none;animation:coach-float 5s var(--ease-in-out) infinite}.coach-hero h2{color:var(--text);font-size:var(--text-xl);font-weight:var(--weight-bold);letter-spacing:-.01em;margin:0}.coach-hero p{max-width:34ch;color:var(--strong-muted);font-size:var(--text-sm);line-height:var(--leading-normal);margin:0}.coach-data-chips{justify-content:center;gap:var(--space-xs);margin:var(--space-xs) 0 0;flex-wrap:wrap;padding:0;list-style:none;display:flex}.coach-data-chips li{border:1px solid var(--line);padding:2px var(--space-sm);background:color-mix(in srgb, var(--surface) 70%, transparent);color:var(--muted);font-size:var(--text-xs);border-radius:999px}.coach-data-chips b{color:var(--text);font-variant-numeric:tabular-nums;font-weight:var(--weight-semibold)}.coach-suggestions{gap:var(--space-xs);display:grid}.coach-suggestion{align-items:center;gap:var(--space-sm);border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-sm) var(--space-md);background:color-mix(in srgb, var(--surface) 82%, transparent);color:var(--text);text-align:left;transition:border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), translate var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);animation:rise-in var(--dur-slow) var(--ease-out) backwards;grid-template-columns:auto minmax(0,1fr);display:grid}.coach-suggestion:nth-child(2){animation-delay:50ms}.coach-suggestion:nth-child(3){animation-delay:.1s}.coach-suggestion:nth-child(4){animation-delay:.15s}.coach-suggestion:hover{border-color:color-mix(in srgb, var(--accent) 55%, transparent);box-shadow:var(--shadow-raised);translate:0 -1px}.coach-suggestion:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.coach-suggestion-icon{background:var(--accent-soft);width:32px;height:32px;color:var(--accent-strong);border-radius:10px;place-items:center;display:inline-grid}.coach-suggestion-copy{gap:var(--space-2xs);display:grid}.coach-suggestion-copy strong{font-size:var(--text-sm);font-weight:var(--weight-semibold);line-height:1.3}.coach-suggestion-copy small{color:var(--muted);font-size:var(--text-xs);line-height:var(--leading-normal)}.coach-suggestion:first-child{margin-bottom:var(--space-2xs);padding-block:var(--space-md);border-color:color-mix(in srgb, var(--accent) 40%, transparent);background:linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--donut-cat-5) 10%, transparent)), var(--surface)}.coach-suggestion:first-child .coach-suggestion-icon{background:linear-gradient(140deg, var(--accent), var(--donut-cat-5));color:#fff;border-radius:12px;width:40px;height:40px}.coach-suggestion:first-child .coach-suggestion-copy strong{font-size:var(--text-base)}.coach-message{font-size:var(--text-sm);overflow-wrap:anywhere;margin:0;line-height:1.6}.coach-message.is-user{max-width:85%;padding:var(--space-sm) var(--space-md);background:linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 78%, var(--donut-cat-5)));color:#fff;box-shadow:0 6px 18px color-mix(in srgb, var(--accent) 22%, transparent);white-space:pre-wrap;animation:rise-in var(--dur-slow) var(--ease-out) backwards;border-radius:18px 18px 6px;align-self:flex-end}.coach-turn{gap:var(--space-sm);animation:rise-in var(--dur-slow) var(--ease-out) backwards;grid-template-columns:auto minmax(0,1fr);align-items:start;display:grid}.coach-turn>.coach-avatar{margin-top:2px}.coach-turn-body{gap:var(--space-2xs);min-width:0;display:grid}.coach-message.is-coach{border:1px solid var(--line);padding:var(--space-md);background:color-mix(in srgb, var(--surface) 88%, transparent);color:var(--text);border-radius:6px 18px 18px}.coach-message.is-coach p,.coach-message.is-coach ul,.coach-message.is-coach ol{margin:0 0 var(--space-sm)}.coach-message.is-coach>:last-child{margin-bottom:0}.coach-message.is-coach ul,.coach-message.is-coach ol{padding-left:var(--space-lg)}.coach-message.is-coach li+li{margin-top:var(--space-2xs)}.coach-message.is-coach li::marker{color:var(--accent)}.coach-message.is-coach strong{color:var(--text);font-weight:var(--weight-semibold)}.coach-md-heading{align-items:center;gap:var(--space-xs);color:var(--accent-strong);font-size:var(--text-xs);font-weight:var(--weight-bold);letter-spacing:.04em;text-transform:uppercase;display:flex;margin-top:var(--space-md)!important}.coach-md-heading:before{content:"";background:linear-gradient(var(--accent), var(--donut-cat-5));border-radius:2px;width:3px;height:14px}.coach-message.is-coach>.coach-md-heading:first-child{margin-top:0!important}.coach-message-actions{gap:var(--space-2xs);padding-left:var(--space-2xs);opacity:0;transition:opacity var(--dur-fast) var(--ease);display:flex}.coach-turn:hover .coach-message-actions,.coach-message-actions:focus-within{opacity:1}@media (hover:none){.coach-message-actions{opacity:1}}.coach-message-action{color:var(--muted);font-size:var(--text-xs);background:0 0;border:0;border-radius:6px;align-items:center;gap:4px;padding:2px 6px;display:inline-flex}.coach-message-action:hover{background:var(--surface-muted);color:var(--text)}.coach-followups{justify-items:start;gap:var(--space-xs);margin-top:calc(var(--space-sm) * -1);padding-left:calc(24px + var(--space-sm));display:grid}.coach-followup{align-items:center;gap:var(--space-xs);border:1px solid color-mix(in srgb, var(--accent) 35%, transparent);max-width:100%;padding:6px var(--space-md) 6px var(--space-sm);background:var(--accent-soft);color:var(--accent-strong);font-size:var(--text-sm);font-weight:var(--weight-medium);text-align:left;transition:border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), translate var(--dur-fast) var(--ease);animation:rise-in var(--dur-slow) var(--ease-out) backwards;border-radius:999px;display:inline-flex}.coach-followup:nth-child(2){animation-delay:60ms}.coach-followup:nth-child(3){animation-delay:.12s}.coach-followup svg{opacity:.7;flex-shrink:0}.coach-followup:hover{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 16%, transparent);translate:2px}.coach-followup:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.coach-link{color:var(--accent-strong);font:inherit;font-weight:var(--weight-semibold);text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb, var(--accent) 45%, transparent);text-decoration-color:color-mix(in srgb, var(--accent) 45%, transparent);text-underline-offset:3px;cursor:pointer;transition:background var(--dur-fast) var(--ease), text-decoration-color var(--dur-fast) var(--ease);background:0 0;border:0;border-radius:4px;margin:0 -2px;padding:0 2px;text-decoration-thickness:1.5px;display:inline}.coach-link:hover{background:var(--accent-soft);-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent)}.coach-link:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.coach-mention{font-weight:var(--weight-semibold);background:#ffffff38;border-radius:6px;padding:0 4px}.coach-typing{align-items:center;gap:var(--space-sm);display:inline-flex}.coach-typing-pose{object-fit:contain;-webkit-user-select:none;user-select:none;width:40px;height:40px;margin-block:-8px}.coach-typing-dots{gap:4px;display:inline-flex}.coach-typing-dots i{background:var(--accent);width:6px;height:6px;animation:coach-dot 1.1s var(--ease-in-out) infinite;border-radius:50%}.coach-typing-dots i:nth-child(2){animation-delay:.15s}.coach-typing-dots i:nth-child(3){animation-delay:.3s}.coach-typing-label{background:linear-gradient(90deg, var(--muted) 0%, var(--accent-strong) 50%, var(--muted) 100%);color:#0000;font-size:var(--text-sm);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;animation:1.8s linear infinite coach-shimmer}@keyframes coach-shimmer{to{background-position:-200% 0}}@keyframes coach-dot{0%,80%,to{opacity:.25;translate:0}40%{opacity:1;translate:0 -3px}}.coach-note{color:var(--muted);font-size:var(--text-xs);margin:0}.coach-error{align-items:center;gap:var(--space-sm);margin:0;display:flex}.coach-error-pose{object-fit:contain;-webkit-user-select:none;user-select:none;flex-shrink:0;width:44px;height:44px}.coach-footer{position:relative}.coach-mentions{right:var(--space-lg);bottom:calc(100% - var(--space-xs));left:var(--space-lg);z-index:2;border:1px solid var(--line);max-height:280px;padding:var(--space-2xs);background:var(--surface);box-shadow:var(--shadow-raised);animation:rise-in var(--dur-fast) var(--ease-out) backwards;border-radius:14px;gap:2px;margin:0;list-style:none;display:grid;position:absolute;overflow-y:auto}.coach-mentions li{align-items:center;gap:var(--space-sm);padding:var(--space-xs) var(--space-sm);color:var(--accent-strong);cursor:pointer;border-radius:10px;display:flex}.coach-mentions li.is-active{background:var(--accent-soft)}.coach-mentions li span{min-width:0;display:grid}.coach-mentions strong{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.coach-mentions small{color:var(--muted);font-size:var(--text-xs)}.coach-at{width:32px;height:36px;margin-left:calc(var(--space-sm) * -1);color:var(--muted);transition:background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);background:0 0;border:0;border-radius:10px;flex-shrink:0;place-items:center;display:inline-grid}.coach-at:hover{background:var(--accent-soft);color:var(--accent-strong)}.coach-footer{gap:var(--space-xs);padding:var(--space-sm) var(--space-lg) var(--space-md);display:grid}.coach-composer{align-items:flex-end;gap:var(--space-xs);border:1px solid var(--line-strong);padding:6px 6px 6px var(--space-md);background:var(--bg);box-shadow:var(--shadow-raised);transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);border-radius:16px;display:flex}.coach-composer:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft), var(--shadow-raised)}.coach-composer textarea{resize:none;min-height:36px;max-height:160px;color:var(--text);font:inherit;font-size:var(--text-sm);background:0 0;border:0;flex:1;padding:8px 0;line-height:20px}.coach-composer textarea:focus,.coach-composer textarea:focus-visible{box-shadow:none;outline:0}.coach-send{background:linear-gradient(140deg, var(--accent), var(--donut-cat-5));color:#fff;width:36px;height:36px;transition:opacity var(--dur-fast) var(--ease), scale var(--dur-fast) var(--ease);border:0;border-radius:12px;flex-shrink:0;place-items:center;display:inline-grid}.coach-send:hover:not(:disabled){scale:1.05}.coach-send:disabled{background:var(--surface-muted);color:var(--muted)}.coach-send.is-stop{background:var(--text);color:var(--surface)}.coach-disclaimer{color:var(--muted);font-size:var(--text-xs);text-align:center;margin:0}@media (width<=560px){.topbar-coach-label{display:none}.topbar-coach{justify-content:center;width:44px;height:44px;padding:0}.topbar-coach-icon{width:36px;height:36px}.coach-panel{border-left:0;width:100vw}.coach-messages{padding:var(--space-md)}.coach-footer{padding-inline:var(--space-md)}.coach-mentions{right:var(--space-md);left:var(--space-md)}.coach-at,.coach-send{width:40px;height:40px}}@media (prefers-reduced-motion:reduce){.coach-panel,.coach-avatar.is-thinking img,.coach-hero-pose,.coach-suggestion,.coach-turn,.coach-message.is-user,.coach-followup,.coach-typing-dots i,.coach-typing-label{animation:none}}.accounts-area-tabs{width:min(320px,100%)}.accounts-area-tabs strong{font-size:var(--text-xs);color:var(--muted)}.account-groups-intro,.account-group-header,.account-group-stop{justify-content:space-between;align-items:center;gap:var(--space-lg);flex-wrap:wrap;display:flex}.account-groups-intro h2,.account-groups-intro p,.account-group-header-title h2{margin:0}.account-groups-empty{justify-items:center;gap:var(--space-md);color:var(--muted);text-align:center;display:grid}.account-groups-note,.journal-group-hint{color:var(--muted);font-size:var(--text-xs);margin:0}.account-groups-grid{gap:var(--space-lg);grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));display:grid}.account-group-card{gap:var(--space-sm);width:100%;color:var(--text);text-align:left;cursor:pointer;display:grid}.account-group-card-head,.account-group-header-title{align-items:center;gap:var(--space-sm);min-width:0;display:flex}.account-group-card>small,.account-group-header-title small,.account-group-member-name small,.account-group-card-figures small,.account-group-trades small{color:var(--muted);font-size:var(--text-xs)}.account-group-card-figures{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.account-group-card-figures span{gap:var(--space-2xs);display:grid}.account-group-card .positive,.account-group-members .positive,.account-group-trades .positive{color:var(--positive-text)}.account-group-card .negative,.account-group-members .negative,.account-group-trades .negative{color:var(--negative-text)}.account-group-stop-badge{color:var(--negative-text);font-size:var(--text-xs);font-weight:var(--weight-semibold);margin-left:auto}.account-group-stop.is-hit strong{color:var(--negative-text)}.account-group-members,.account-group-trades{gap:var(--space-sm);margin:0 0 var(--space-md);grid-template-columns:minmax(0,1fr);padding:0;list-style:none;display:grid}.account-group-members li{align-items:center;gap:var(--space-md);grid-template-columns:minmax(0,1fr) auto 96px auto;display:grid}.account-group-member-name{min-width:0;display:grid}.account-group-multiplier{gap:var(--space-2xs);min-width:0;font-size:var(--text-xs);display:grid}.account-group-multiplier input{width:100%}.account-group-trades li{align-items:center;gap:var(--space-md);grid-template-columns:96px minmax(0,1fr) auto auto;display:grid}.account-group-form{gap:var(--space-lg);display:grid}.account-group-form-row{gap:var(--space-lg);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.account-group-form label,.account-group-form-row>div{gap:var(--space-xs);min-width:0;display:grid}.account-group-colors{gap:var(--space-xs);display:flex}.account-group-colors button{border-radius:var(--radius-sm);background:0 0;border:1px solid #0000;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.account-group-colors button.is-active{border-color:var(--line);background:var(--surface-muted)}.account-group-rules{gap:var(--space-lg);grid-template-columns:repeat(auto-fill,minmax(min(180px,100%),1fr));display:grid}.account-group-checklist{gap:var(--space-sm);max-height:320px;display:grid;overflow-y:auto}.account-group-checklist label,.journal-group-apply,.trades-import-groups{align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}@media (width<=560px){.account-group-form-row{grid-template-columns:minmax(0,1fr)}.account-group-members li,.account-group-trades li{grid-template-columns:minmax(0,1fr) auto}}.metric-grid.account-group-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-grid.account-group-metrics .metric-card:last-child{grid-column:auto}@media (width<=820px){.metric-grid.account-group-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}.account-group-field-label{color:var(--muted);font-size:var(--text-xs)}.strategies-toolbar,.strategies-toolbar-title,.strategies-toolbar-actions{align-items:center;gap:var(--space-base);display:flex}.strategies-toolbar{flex-wrap:wrap;justify-content:space-between}.strategies-toolbar-title{min-width:0}.strategies-toolbar-title h2{color:var(--text);font-size:var(--text-lg);font-weight:var(--weight-semibold);text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.strategies-unassigned{justify-content:space-between;align-items:center;gap:var(--space-xl);padding:var(--space-xl);display:flex}.strategies-unassigned>div{gap:var(--space-2xs);min-width:0;display:grid}.strategies-unassigned strong{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold)}.strategies-unassigned span,.strategy-sample-note{color:var(--muted);font-size:var(--text-xs)}.strategy-sample-note{margin:0}.strategies-empty{justify-items:center;gap:var(--space-base);text-align:center;display:grid}.strategies-empty h2,.strategies-empty p{margin:0}.strategies-empty p{max-width:420px;color:var(--muted);font-size:var(--text-sm)}.strategies-grid{gap:var(--space-base);grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));display:grid}.strategy-card{align-content:start;gap:var(--space-base);width:100%;min-width:0;padding:var(--space-xl);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);display:grid}.strategy-card:hover{border-color:var(--line-strong);box-shadow:var(--shadow-hover)}.strategy-card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.strategy-card.is-archived{opacity:.72}.strategy-card-head{align-items:center;gap:var(--space-sm);flex-wrap:wrap;min-width:0;display:flex}.strategy-card-head strong{min-width:0;color:var(--text);font-size:var(--text-md);font-weight:var(--weight-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.strategy-tag{padding:0 var(--space-sm);border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--muted);font-size:var(--text-xs);font-style:normal;font-weight:var(--weight-medium);white-space:nowrap}.strategy-card:hover .strategy-tag{background:var(--surface)}.strategy-card-pnl{color:var(--text);font-size:var(--text-lg);font-weight:var(--weight-semibold);font-variant-numeric:tabular-nums}.strategy-card-pnl.positive{color:var(--positive-text)}.strategy-card-pnl.negative{color:var(--negative-text)}.strategy-card-spark{width:100%;height:48px;display:block;overflow:visible}.strategy-card-spark polyline,.strategy-card-spark-zero{fill:none;vector-effect:non-scaling-stroke}.strategy-card-spark polyline{stroke:var(--muted);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.strategy-card-spark.positive polyline{stroke:var(--positive)}.strategy-card-spark.negative polyline{stroke:var(--negative)}.strategy-card-spark-zero{stroke:var(--line-strong);stroke-width:1px;stroke-dasharray:3 3}.strategy-card-foot{justify-content:space-between;gap:var(--space-base);color:var(--muted);font-size:var(--text-xs);font-variant-numeric:tabular-nums;display:flex}.strategy-card-none{color:var(--muted);font-size:var(--text-sm)}.metric-grid.strategy-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-grid.strategy-metrics .metric-card:last-child{grid-column:auto}.strategy-detail-grid{gap:var(--space-4xl);grid-template-columns:minmax(0,1fr);display:grid}.insight-row.is-link{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;display:block}.insight-row.is-link .insight-row-body{justify-content:normal;align-items:normal;gap:var(--space-sm);display:grid}.insight-row.is-link:hover strong{color:var(--accent-strong)}.insight-row.is-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:var(--radius-sm)}.journal-no-strategy-filter{justify-content:space-between;align-items:center;gap:var(--space-base);color:var(--muted);font-size:var(--text-sm);display:flex}.journal-no-strategy-filter strong{color:var(--text);font-variant-numeric:tabular-nums}@media (width<=1180px){.metric-grid.strategy-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.strategies-toolbar-actions{flex-wrap:wrap;width:100%}.strategies-toolbar-actions>.journal-cockpit-account-filter{flex:1 1 0;min-width:0}.strategies-unassigned{flex-direction:column;align-items:stretch}}.strategy-detail-grid .journal-recent-panel{min-height:0}.strategy-detail-grid .journal-recent-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}@media (width>=821px){.strategy-detail-grid .journal-recent-list{grid-template-columns:repeat(2,minmax(0,1fr))}}.notebook{--notebook-height:calc(100dvh - 136px);gap:var(--space-4xl);height:var(--notebook-height);grid-template-columns:208px 288px minmax(0,1fr);align-items:stretch;min-height:520px;display:grid}.notebook-rail,.notebook-list-panel,.notebook-main{scrollbar-width:thin;min-height:0;overflow-y:auto}.notebook-rail,.notebook-list-panel{gap:var(--space-lg);padding:var(--space-xl);flex-direction:column;display:flex}.notebook-actions{gap:var(--space-sm);grid-template-columns:1fr auto;display:grid}.notebook-search{align-items:center;gap:var(--space-sm);border-radius:var(--radius-sm);padding:0 var(--space-md);background:var(--surface-muted);color:var(--muted);flex-shrink:0;display:flex}.notebook-search input{width:100%;min-width:0;height:38px;color:var(--text);font-size:var(--text-sm);background:0 0;border:0;outline:0}.notebook-rail-list{flex-shrink:0;gap:2px;margin:0;padding:0;list-style:none;display:grid}.notebook-rail-list li{border-radius:var(--radius-sm);position:relative}.notebook-rail-list li:hover{background:var(--surface-muted)}.notebook-rail-list li.is-active{background:var(--accent-soft)}.notebook-rail-row{align-items:center;gap:var(--space-sm);width:100%;min-height:36px;padding:var(--space-2xs) var(--space-sm);color:var(--strong-muted);font-size:var(--text-sm);text-align:left;background:0 0;border:0;display:flex}.notebook-rail-row span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.notebook-rail-row svg{flex-shrink:0}.notebook-rail-list li.is-active .notebook-rail-row{color:var(--accent-strong);font-weight:var(--weight-bold)}.notebook-rail-row small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.notebook-list-head{align-items:baseline;gap:var(--space-sm);flex-shrink:0;min-width:0;display:flex}.notebook-list-head h2{color:var(--text);font-size:var(--text-md);font-weight:var(--weight-bold);text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.notebook-list-head small{color:var(--muted);font-size:var(--text-xs)}.notebook-list-back{flex-shrink:0;align-self:center;display:none}.related-notes-head small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium)}.notebook-folders{flex-shrink:0}.notebook-folders-head{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);justify-content:space-between;align-items:center;display:flex}.notebook-list,.related-notes ul{gap:2px;margin:0;padding:0;list-style:none;display:grid}.notebook-folder-tools{border-radius:var(--radius-sm);background:var(--surface-muted);opacity:0;pointer-events:none;align-items:center;display:flex;position:absolute;top:0;bottom:0;right:0}.notebook-folder-tools button{width:28px;height:28px;color:var(--muted);background:0 0;border:0;place-items:center;display:inline-grid}.notebook-folder-tools button:hover{color:var(--text)}.notebook-rail-list li:hover .notebook-folder-tools,.notebook-folder-tools:focus-within{opacity:1;pointer-events:auto}@media (hover:none){.notebook-rail-list li:has(.notebook-folder-tools){align-items:center;display:flex}.notebook-folder-tools{opacity:1;pointer-events:auto;background:0 0;position:static}}.notebook-folder-form{align-items:center;gap:var(--space-2xs);margin:var(--space-2xs) 0;display:flex}.notebook-folder-form input,.note-link-form input{border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;min-width:0;height:34px;padding:0 var(--space-sm);background:var(--surface);color:var(--text);font-size:var(--text-sm);flex:1}.notebook-list button{gap:var(--space-2xs);border-radius:var(--radius-md);width:100%;padding:var(--space-md);color:var(--text);text-align:left;background:0 0;border:0;display:grid}.notebook-list button:hover{background:var(--surface-muted)}.notebook-list button.is-active{background:var(--accent-soft)}.notebook-row-title{align-items:center;gap:var(--space-2xs);min-width:0;color:var(--accent-strong);display:flex}.notebook-row-title strong{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.notebook-row-preview{color:var(--muted);font-size:var(--text-xs);-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.4;display:-webkit-box;overflow:hidden}.notebook-row-meta{align-items:center;gap:var(--space-sm);color:var(--muted);font-size:var(--text-xs);flex-wrap:wrap;display:flex}.notebook-row-reminder{align-items:center;gap:var(--space-2xs);display:inline-flex}.notebook-row-reminder.is-due{color:var(--warning-text);font-weight:var(--weight-semibold)}.notebook-list-empty{padding:var(--space-lg) var(--space-sm);color:var(--muted);font-size:var(--text-sm);text-align:center;margin:0}.notebook-main{padding:var(--space-4xl);flex-direction:column;display:flex}.notebook-empty{gap:var(--space-md);max-width:420px;color:var(--muted);text-align:center;justify-items:center;margin:auto;display:grid}.notebook-empty h2{color:var(--text);font-size:var(--text-lg);margin:0}.notebook-empty p{font-size:var(--text-sm);margin:0;line-height:1.5}.note-detail{gap:var(--space-lg);flex-direction:column;flex:1;min-height:0;display:flex}.note-detail-head{align-items:center;gap:var(--space-md);display:flex}.notebook-back{flex-shrink:0;display:none}.note-title-input{width:100%;min-width:0;color:var(--text);font-size:var(--text-2xl);font-weight:var(--weight-bold);background:0 0;border:0;outline:0;flex:1;padding:0}.note-title-input::placeholder{color:var(--muted)}.note-day-title{align-items:center;gap:var(--space-sm);flex:1;min-width:0;display:flex}.note-day-title h2{color:var(--text);font-size:var(--text-lg);font-weight:var(--weight-bold);margin:0}.note-day-title h2:first-letter{text-transform:uppercase}.note-save-state{align-items:center;gap:var(--space-2xs);color:var(--muted);font-size:var(--text-xs);flex-shrink:0;display:inline-flex}.note-save-state.is-error{color:var(--negative-text);font-weight:var(--weight-semibold)}.note-save-state button{color:inherit;font:inherit;background:0 0;border:0;padding:0;text-decoration:underline}.note-meta{align-items:flex-end;gap:var(--space-md);flex-wrap:wrap;display:flex}.note-meta-field{gap:var(--space-2xs);width:190px;min-width:0;display:grid}.note-meta-field>span{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold)}.note-meta-field>div{min-width:0}.note-meta-actions{align-items:center;gap:var(--space-sm);margin-left:auto;display:flex}.note-meta-actions .icon-control.is-on{background:var(--accent-soft);color:var(--accent-strong)}.note-trash-bar{align-items:center;gap:var(--space-md);border-radius:var(--radius-md);padding:var(--space-md);background:var(--surface-muted);color:var(--strong-muted);font-size:var(--text-sm);flex-wrap:wrap;display:flex}.note-trash-bar span{flex:1;min-width:160px}.note-day-summary{align-self:flex-start;gap:var(--space-lg);border-radius:var(--radius-sm);padding:var(--space-xs) var(--space-md);background:var(--surface-muted);color:var(--muted);font-size:var(--text-xs);border:0;flex-wrap:wrap;display:flex}.note-day-summary:hover{color:var(--text)}.note-day-summary b{color:var(--text);font-weight:var(--weight-semibold)}.note-day-summary b.positive,.note-mention-card dd.positive{color:var(--positive-text)}.note-day-summary b.negative,.note-mention-card dd.negative{color:var(--negative-text)}.app-shell[data-privacy=hidden] .note-day-summary b{filter:blur(6px)}.note-editor{gap:var(--space-md);flex-direction:column;flex:1;min-height:0;display:flex}.note-toolbar{gap:var(--space-xs);border-radius:var(--radius-md);padding:var(--space-2xs);background:var(--surface-muted);flex-wrap:wrap;flex-shrink:0;display:flex}.note-toolbar-group{gap:2px;display:flex}.note-toolbar-group+.note-toolbar-group{border-left:1px solid var(--line);padding-left:var(--space-xs)}.note-toolbar button{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--strong-muted);background:0 0;border:0;place-items:center;display:inline-grid}.note-toolbar button:hover:not(:disabled){background:var(--surface);color:var(--text)}.note-toolbar button.active{background:var(--accent-soft);color:var(--accent-strong)}.note-toolbar button:disabled{opacity:.4}.note-link-form{gap:var(--space-sm);flex-shrink:0;display:flex}.note-table-toolbar{gap:var(--space-2xs);flex-wrap:wrap;flex-shrink:0;display:flex}.note-table-toolbar button{border-radius:var(--radius-sm);padding:var(--space-2xs) var(--space-sm);background:var(--surface-muted);color:var(--strong-muted);font-size:var(--text-xs);border:0}.note-table-toolbar button:hover{color:var(--text)}.note-editor-status{color:var(--muted);font-size:var(--text-xs);margin:0}.note-editor-status.is-error{color:var(--negative-text)}.note-editor-content{flex:1;min-height:0}.note-editor-content .ProseMirror{min-height:100%;color:var(--text);font-size:var(--text-sm);outline:0;line-height:1.65}.note-editor-content .ProseMirror>*+*{margin-top:var(--space-md)}.note-editor-content .ProseMirror p{margin-bottom:0}.note-editor-content .ProseMirror p.is-editor-empty:first-child:before{float:left;height:0;color:var(--muted);content:attr(data-placeholder);pointer-events:none}.note-editor-content h1,.note-editor-content h2,.note-editor-content h3{color:var(--text);font-weight:var(--weight-bold);margin-bottom:0;line-height:1.3}.note-editor-content h1{font-size:var(--text-2xl)}.note-editor-content h2{font-size:var(--text-lg)}.note-editor-content h3{font-size:var(--text-md)}.note-editor-content ul,.note-editor-content ol{padding-left:var(--space-2xl);margin:0}.note-editor-content blockquote{border-left:3px solid var(--accent);padding-left:var(--space-lg);color:var(--strong-muted);margin-left:0;margin-right:0}.note-editor-content hr{border:0;border-top:1px solid var(--line-strong)}.note-editor-content a{color:var(--accent-strong);text-decoration:underline}.note-editor-content ul[data-type=taskList]{padding-left:0;list-style:none}.note-editor-content ul[data-type=taskList] li{align-items:flex-start;gap:var(--space-sm);display:flex}.note-editor-content ul[data-type=taskList] li>label{flex-shrink:0;margin-top:3px}.note-editor-content ul[data-type=taskList] li>div{flex:1;min-width:0}.note-editor-content ul[data-type=taskList] li[data-checked=true]>div{color:var(--muted);text-decoration:line-through}.note-editor-content .tableWrapper{overflow-x:auto}.note-editor-content table{border-collapse:collapse;table-layout:fixed;width:100%}.note-editor-content th,.note-editor-content td{border:1px solid var(--line-strong);min-width:80px;padding:var(--space-xs) var(--space-sm);vertical-align:top}.note-editor-content th{background:var(--surface-muted);font-weight:var(--weight-semibold);text-align:left}.note-editor-content .selectedCell{background:var(--accent-soft)}.note-image img{border-radius:var(--radius-md);max-width:100%;display:block}.note-image-loading{border-radius:var(--radius-md);background:var(--surface-muted);height:160px}.note-editor-content .ProseMirror-selectednode.note-image img,.ProseMirror-selectednode .note-image img{outline:2px solid var(--accent)}.note-mention{display:inline}.note-mention button{align-items:center;gap:var(--space-2xs);padding:0 var(--space-xs);background:var(--accent-soft);color:var(--accent-strong);font:inherit;font-weight:var(--weight-semibold);vertical-align:baseline;border:0;border-radius:6px;line-height:1.5;display:inline-flex}.note-mention button:hover{background:color-mix(in srgb, var(--accent) 18%, transparent)}.note-mention.is-missing button{background:var(--surface-muted);color:var(--muted);cursor:default;text-decoration:line-through}.note-mention-menu{z-index:300;border:1px solid var(--line);border-radius:var(--radius-lg);width:min(320px,100vw - 16px);max-height:320px;padding:var(--space-2xs);background:var(--surface);box-shadow:var(--shadow-raised);gap:2px;margin:0;list-style:none;display:grid;position:fixed;overflow-y:auto}.note-mention-menu li{align-items:center;gap:var(--space-sm);border-radius:var(--radius-md);padding:var(--space-xs) var(--space-sm);color:var(--accent-strong);cursor:pointer;display:flex}.note-mention-menu li.is-active{background:var(--accent-soft)}.note-mention-menu span{min-width:0;display:grid}.note-mention-menu strong{color:var(--text);font-size:var(--text-sm);font-weight:var(--weight-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.note-mention-menu small{color:var(--muted);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.note-mention-card{z-index:300;gap:var(--space-sm);border:1px solid var(--line);border-radius:var(--radius-lg);width:240px;padding:var(--space-md);background:var(--surface);box-shadow:var(--shadow-raised);color:var(--text);font-size:var(--text-xs);display:grid;position:fixed}.note-mention-card strong{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.note-mention-card dl{gap:var(--space-2xs);margin:0;display:grid}.note-mention-card dl div{justify-content:space-between;gap:var(--space-md);display:flex}.note-mention-card dt{color:var(--muted)}.note-mention-card dd{font-weight:var(--weight-semibold);margin:0}.note-mention-open,.related-notes-add,.related-notes button{color:var(--accent-strong);font-size:var(--text-xs);font-weight:var(--weight-semibold);text-align:left;background:0 0;border:0;padding:0}.related-notes{gap:var(--space-xs);min-width:0;display:grid}.related-notes-head{justify-content:space-between;align-items:center;gap:var(--space-md);display:flex}.related-notes-head>span{align-items:center;gap:var(--space-2xs);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);display:inline-flex}.related-notes-add{align-items:center;gap:var(--space-2xs);display:inline-flex}.related-notes button:hover{text-decoration:underline}.related-notes li button{max-width:100%;font-size:var(--text-sm);font-weight:var(--weight-medium);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=1180px){.notebook{gap:var(--space-xl);grid-template-columns:200px minmax(0,1fr)}.notebook.has-open-note{grid-template-columns:260px minmax(0,1fr)}.notebook.has-open-note .notebook-rail,.notebook:not(.has-open-note) .notebook-main{display:none}.notebook-back{display:inline-grid}}@media (width<=820px){.notebook,.notebook.has-open-note{height:auto;min-height:0;display:block}.notebook-rail,.notebook-list-panel,.notebook-main{overflow:visible}.notebook.has-open-list .notebook-rail,.notebook:not(.has-open-list) .notebook-list-panel,.notebook.has-open-note .notebook-list-panel{display:none}.notebook-list-back{display:inline-grid}.notebook-main{padding:var(--space-xl)}.note-detail{min-height:60dvh}.note-title-input{font-size:var(--text-lg)}.note-meta-field{flex:140px;width:auto}.note-meta-actions{margin-left:0}.note-toolbar button{width:36px;height:36px}.note-detail-head .note-save-state{order:3}}.note-meta-field .custom-select-trigger{border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;min-height:38px;padding:0 var(--space-base);background:var(--surface);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-medium)}.note-meta-field .custom-select-trigger:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.note-meta-field .custom-select-trigger:disabled{opacity:.6}.note-editor-content ul[data-type=taskList] input[type=checkbox]{appearance:none;border:1.5px solid var(--line-strong);background:var(--surface);cursor:pointer;border-radius:4px;place-items:center;width:16px;min-width:16px;height:16px;min-height:0;margin:0;padding:0;display:grid}.note-editor-content ul[data-type=taskList] input[type=checkbox]:checked{border-color:var(--accent);background:var(--accent)}.note-editor-content ul[data-type=taskList] input[type=checkbox]:checked:after{border:solid var(--on-accent);content:"";border-width:0 2px 2px 0;width:4px;height:8px;margin-top:-2px;transform:rotate(45deg)}.note-editor-content ul[data-type=taskList] li>label>span{display:none}.pro-lock{align-items:center;gap:var(--space-base);color:var(--muted);display:flex}.pro-lock>div{flex:1;min-width:0}.pro-lock strong{color:var(--text);font-weight:var(--weight-semibold);display:block}.pro-lock p{margin:var(--space-2xs) 0 0;font-size:var(--text-sm)}.plans-reason,.plans-free-note{margin:0 0 var(--space-base);color:var(--muted);font-size:var(--text-sm)}.plans-free-note{margin:var(--space-base) 0 0;text-align:center}@media (width<=640px){.pro-lock{flex-direction:column;align-items:flex-start}}.notebook-rail .primary-action{padding-inline:var(--space-sm);white-space:nowrap}.journal-discipline-bands{gap:var(--space-sm);margin-top:var(--space-base);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.journal-discipline-band{gap:var(--space-3xs);padding:var(--space-sm);border-radius:var(--radius-sm);background:var(--surface-muted);min-width:0;display:grid}.journal-discipline-band i{color:var(--muted);font-style:normal;font-size:var(--text-xs)}.journal-discipline-band strong{font-size:var(--text-md);font-weight:var(--weight-semibold)}.journal-discipline-band strong.is-pos{color:var(--positive-text)}.journal-discipline-band strong.is-neg{color:var(--negative-text)}.journal-discipline-band small{color:var(--muted);font-size:var(--text-xs)}.journal-discipline-panel .journal-discipline-chart-point{opacity:.35;stroke-width:3px}.journal-discipline-panel .journal-discipline-chart-line{stroke-width:3.2px}@keyframes fade-out{to{opacity:0}}@keyframes rise-in{0%{opacity:0;translate:0 10px}}@keyframes notice-in{0%{opacity:0;translate:0 -6px}}@keyframes modal-in{0%{opacity:0;translate:0 12px;scale:.965}}@keyframes modal-out{to{opacity:0;translate:0 8px;scale:.97}}@keyframes panel-out{to{opacity:0;translate:0 -4px;scale:1 .97}}@keyframes panel-out-up{to{opacity:0;translate:0 4px;scale:1 .97}}@keyframes card-in{0%{opacity:0;scale:.96}}@keyframes bar-rise{0%{scale:1 0}}@keyframes bar-grow{0%{scale:0 1}}@keyframes chart-wipe{0%{clip-path:inset(-12px 100% -12px 0)}to{clip-path:inset(-12px 0)}}@keyframes arc-draw{0%{stroke-dasharray:0 1}to{stroke-dasharray:1 0}}@keyframes gauge-sweep{0%{stroke-dasharray:0 400}}@keyframes dot-pop{0%{opacity:0;scale:.2}}@keyframes slide-from-right{0%{opacity:0;translate:18px}}@keyframes slide-from-left{0%{opacity:0;translate:-18px}}:where(.view-stack,.firms-workspace,.settings-grid)>:where(*){animation:rise-in .46s var(--ease-out) backwards}:where(.view-stack,.firms-workspace,.settings-grid)>:where(:nth-child(2)){animation-delay:50ms}:where(.view-stack,.firms-workspace,.settings-grid)>:where(:nth-child(3)){animation-delay:.1s}:where(.view-stack,.firms-workspace,.settings-grid)>:where(:nth-child(4)){animation-delay:.15s}:where(.view-stack,.firms-workspace,.settings-grid)>:where(:nth-child(n+5)){animation-delay:.2s}.topbar h1{animation:rise-in .42s var(--ease-out) backwards}.state-notice,.subscription-notice,.charge-notice,.mutation-message{animation:notice-in .38s var(--ease-out) backwards}.modal-backdrop{animation:fade-in .26s var(--ease) backwards}.modal-card{animation:modal-in .34s var(--ease-out) backwards}.modal-layer.motion-ghost{z-index:119}.modal-layer.is-leaving .modal-backdrop{animation:fade-out .19s var(--ease-exit) forwards}.modal-layer.is-leaving .modal-card{animation:modal-out .19s var(--ease-exit) forwards}.custom-select-panel,.date-picker-panel,.topbar-menu-panel{animation-duration:.22s;animation-timing-function:var(--ease-out)}.custom-select-panel.motion-ghost,.date-picker-panel.motion-ghost,.topbar-menu-panel.motion-ghost{z-index:129}.custom-select-panel.is-leaving,.date-picker-panel.is-leaving,.topbar-menu-panel.is-leaving{animation:panel-out .15s var(--ease-exit) forwards}.custom-select-panel.is-upward.is-leaving,.date-picker-panel.is-upward.is-leaving,.topbar-menu-panel.is-upward.is-leaving{animation-name:panel-out-up}.topbar-menu-panel:not(.is-leaving) .topbar-menu-item{animation:rise-in .3s var(--ease-out) backwards}.topbar-menu-panel:not(.is-leaving) .topbar-menu-item:nth-of-type(2){animation-delay:25ms}.topbar-menu-panel:not(.is-leaving) .topbar-menu-item:nth-of-type(3){animation-delay:50ms}.topbar-menu-panel:not(.is-leaving) .topbar-menu-item:nth-of-type(n+4){animation-delay:75ms}.topbar-menu-panel:not(.is-leaving) .topbar-menu-section:nth-of-type(2) .topbar-menu-item{animation-delay:50ms}.topbar-menu-panel:not(.is-leaving) .topbar-menu-section:nth-of-type(n+3) .topbar-menu-item{animation-delay:.1s}.info-hint-tooltip{animation:card-in .16s var(--ease-out) backwards}.info-hint-tooltip.is-leaving{animation:fade-out .12s var(--ease-exit) forwards}.collapse{--collapse-gap:0px;margin-top:calc(-1 * var(--collapse-gap));opacity:0;transition:grid-template-rows var(--dur-collapse) var(--ease-in-out), margin-top var(--dur-collapse) var(--ease-in-out), opacity .18s var(--ease);grid-template-rows:0fr;align-self:start;animation:none;display:grid}.collapse.is-open{opacity:1;transition:grid-template-rows var(--dur-collapse) var(--ease-out), margin-top var(--dur-collapse) var(--ease-out), opacity .26s var(--ease) 40ms;grid-template-rows:1fr;margin-top:0}.collapse-inner{min-height:0;overflow:hidden}.collapse.is-settled>.collapse-inner{overflow:visible}.collapse-inner>*{transition:translate var(--dur-collapse) var(--ease-in-out);translate:0 -8px}.collapse.is-open>.collapse-inner>*{transition-timing-function:var(--ease-out);translate:0}:where(.view-stack)>.collapse{--collapse-gap:var(--space-5xl)}:where(.firms-workspace)>.collapse{--collapse-gap:var(--space-2xl)}.collapse .dashboard-filter-panel{animation:none}.account-card-rules>.collapse{--collapse-gap:var(--space-sm);grid-column:1/-1}.account-card-more{gap:var(--space-sm);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.entity-form>.collapse{--collapse-gap:var(--space-base);grid-column:1/-1}.account-rules-fields{gap:var(--space-base);grid-template-columns:repeat(auto-fit,minmax(190px,1fr));align-items:end;display:grid}.account-archive .account-archive-head,.account-archive.is-collapsed .account-archive-head{margin-bottom:0}.account-archive .collapse-inner>ul{padding-top:var(--space-base)}.has-indicator{isolation:isolate;position:relative}.has-indicator>:not(.tab-indicator){z-index:1;position:relative}.has-indicator>button{transition:color var(--dur) var(--ease)}.tab-indicator{z-index:0;box-sizing:border-box;pointer-events:none;position:absolute;top:0;left:0}.tab-indicator[data-ready]{transition:transform .38s var(--ease-out), width .38s var(--ease-out), height .38s var(--ease-out), opacity .16s var(--ease)}.period-range-tabs>.tab-indicator{background:var(--surface);box-shadow:0 6px 16px color-mix(in srgb, var(--accent) 10%, transparent);border-radius:7px}.period-range-tabs.has-indicator>button.active{box-shadow:none;background:0 0}.journal-mode-tabs>.tab-indicator{border-radius:var(--radius-sm);background:var(--accent-soft);border:1px solid #7c3aed3d}.journal-mode-tabs.has-indicator>button.active,:root[data-theme=dark] .journal-mode-tabs.has-indicator>button.active{background:0 0;border-color:#0000}.account-status-tabs>.tab-indicator,.firm-type-tabs>.tab-indicator{border-radius:var(--radius-sm);background:var(--accent-soft)}.firm-type-tabs>.tab-indicator{border:1px solid color-mix(in srgb, var(--accent) 50%, var(--line))}.account-status-tabs.has-indicator>button.is-active,.firm-type-tabs.has-indicator>button.is-active{background:0 0;border-color:#0000}.segmented-control>.tab-indicator{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-flat);border-radius:6px}.segmented-control.has-indicator>button.active{box-shadow:none;background:0 0;border-color:#0000}.bank-import-guide-tabs>.tab-indicator{border-radius:calc(var(--radius-sm) - 2px);background:var(--surface);box-shadow:var(--shadow-flat)}.bank-import-guide-tabs.has-indicator>button.is-active{box-shadow:none;background:0 0}.nav-list>.tab-indicator{border-radius:var(--radius-sm);background:#b496ed24}.nav-list.has-indicator .nav-group button.active,.nav-list.has-indicator .nav-group button.active:hover{background:0 0}.directory-grid>*,.account-card-grid>*,.journal-gallery>.journal-card,.movement-list>li,.account-archive-row,.journal-recent-row,.donut-legend li,.journal-errors-legend li{animation:rise-in .42s var(--ease-out) backwards}.directory-grid>:nth-child(2),.account-card-grid>:nth-child(2),.journal-gallery>.journal-card:nth-of-type(2),.movement-list>li:nth-child(2),.account-archive-row:nth-child(2),.journal-recent-row:nth-child(2),.donut-legend li:nth-child(2),.journal-errors-legend li:nth-child(2){animation-delay:30ms}.directory-grid>:nth-child(3),.account-card-grid>:nth-child(3),.journal-gallery>.journal-card:nth-of-type(3),.movement-list>li:nth-child(3),.account-archive-row:nth-child(3),.journal-recent-row:nth-child(3),.donut-legend li:nth-child(3),.journal-errors-legend li:nth-child(3){animation-delay:60ms}.directory-grid>:nth-child(4),.account-card-grid>:nth-child(4),.journal-gallery>.journal-card:nth-of-type(4),.movement-list>li:nth-child(4),.account-archive-row:nth-child(4),.journal-recent-row:nth-child(4),.donut-legend li:nth-child(4),.journal-errors-legend li:nth-child(4){animation-delay:90ms}.directory-grid>:nth-child(5),.account-card-grid>:nth-child(5),.journal-gallery>.journal-card:nth-of-type(5),.movement-list>li:nth-child(5),.account-archive-row:nth-child(5),.journal-recent-row:nth-child(5),.donut-legend li:nth-child(5),.journal-errors-legend li:nth-child(5){animation-delay:.12s}.directory-grid>:nth-child(n+6),.account-card-grid>:nth-child(n+6),.journal-gallery>.journal-card:nth-of-type(n+6),.movement-list>li:nth-child(n+6),.account-archive-row:nth-child(n+6),.journal-recent-row:nth-child(n+6),.donut-legend li:nth-child(n+6),.journal-errors-legend li:nth-child(n+6){animation-delay:.15s}.capital-svg,.journal-pnl-chart-frame>svg{animation:chart-wipe var(--dur-chart) var(--ease-out) backwards}.capital-bar{animation:bar-rise .68s var(--ease-out) backwards;animation-delay:calc(min(var(--i,0), 30) * 16ms + 60ms)}.capital-bar.income{transform-origin:bottom}.capital-bar.expense{transform-origin:top}.chart-dot.is-point,.chart-dot.is-last{animation:dot-pop .46s var(--ease-out) .52s backwards}.chart-value-badge{animation:rise-in .42s var(--ease-out) .62s backwards}.chart-value-axis span,.chart-date-axis>span{animation:fade-in .42s var(--ease) .12s backwards}.chart-hover-card,.period-month-tooltip{animation:card-in .18s var(--ease-out) backwards}.chart-hover-card{transition:left .18s var(--ease-out), top .18s var(--ease-out)}.chart-dot.is-active{animation:dot-pop .22s var(--ease-out) backwards;transition:left .18s var(--ease-out), top .18s var(--ease-out)}.capital-hover-band{transition:x .18s var(--ease-out)}.period-month-columns i{transform-origin:bottom;animation:bar-rise .62s var(--ease-out) backwards;animation-delay:calc(min(var(--i,0), 30) * 28ms);transition:filter .16s ease, transform .16s ease, height .46s var(--ease-out)}.period-month-columns i.expense{animation-delay:calc(min(var(--i,0), 30) * 28ms + 40ms)}.donut-arc,.journal-errors-arc{animation:arc-draw var(--arc-duration,.6s) linear var(--arc-delay,0s) backwards}.gauge-fill{animation:gauge-sweep 1.1s var(--ease-out) .12s backwards;transition:stroke-dasharray .6s var(--ease-out)}.journal-split-bar .positive{transform-origin:0;animation:bar-grow .9s var(--ease-out) .12s backwards}.journal-split-bar .negative{transform-origin:100%;animation:bar-grow .9s var(--ease-out) .12s backwards}.journal-split-bar i{transition:width .6s var(--ease-out)}.weekday-track i{transform-origin:bottom;animation:bar-rise .76s var(--ease-out) backwards;transition:height .6s var(--ease-out)}.weekday-track strong{animation:rise-in .38s var(--ease-out) .42s backwards;transition:bottom .6s var(--ease-out)}.journal-weekday-bar:nth-child(2) .weekday-track i{animation-delay:50ms}.journal-weekday-bar:nth-child(3) .weekday-track i{animation-delay:.1s}.journal-weekday-bar:nth-child(4) .weekday-track i{animation-delay:.15s}.journal-weekday-bar:nth-child(5) .weekday-track i{animation-delay:.2s}.journal-weekday-bar:nth-child(n+6) .weekday-track i{animation-delay:.25s}.journal-hours-track i{transform-origin:bottom;animation:bar-rise .76s var(--ease-out) calc(min(var(--i,0), 16) * 30ms) backwards}.journal-hours-track.negative i{transform-origin:top}.account-track-fill,.journal-account-bar-fill{transform-origin:0;animation:bar-grow .9s var(--ease-out) .16s backwards}.account-track.is-down .account-track-fill,.journal-account-bar.is-down .journal-account-bar-fill{transform-origin:100%}.account-track-fill,.journal-account-bar-fill,.journal-account-bar-mark{transition-duration:.6s;transition-timing-function:var(--ease-out)}.firm-card-outcome-bar span{transform-origin:0;animation:bar-grow .82s var(--ease-out) .14s backwards}.journal-folder-archive{animation:rise-in .32s var(--ease-out) backwards}.journal-calendar-grid,.journal-year-grid{animation:fade-in .26s var(--ease) backwards}.journal-calendar-grid[data-direction=next],.journal-year-grid[data-direction=next]{animation:slide-from-right .42s var(--ease-out) backwards}.journal-calendar-grid[data-direction=prev],.journal-year-grid[data-direction=prev]{animation:slide-from-left .42s var(--ease-out) backwards}.animated-number.is-counting{font-variant-numeric:tabular-nums}.app-shell :is(.metric-card strong,.amount,.chart-delta,.chart-value-axis span,.chart-value-badge,.chart-hover-card strong,.chart-hover-card small,.journal-score strong,.period-summary-list strong,.donut-legend b,.donut-center strong,.account-card-head strong,.account-card-rules strong,.account-track-floor,.account-track-ceiling,.account-archive-size,.account-archive-result,.movement-detail-money,.movement-total strong,.journal-total-value,.journal-gauge-value,.journal-gauge-counts span,.journal-split-value,.journal-split-figures strong,.journal-account-figures strong,.journal-account-bar-ends strong,.weekday-track strong,.journal-recent-row strong,.journal-card-footer>span,.journal-gallery-month-pnl){transition-property:filter,bottom;transition-duration:.26s,.6s;transition-timing-function:var(--ease)}.app-shell[data-sidebar=expanded] :is(.nav-group p,.nav-group button span,.user-card>span:nth-child(2),.wordmark){transition:opacity .22s var(--ease) 70ms}@starting-style{.app-shell[data-sidebar=expanded] :is(.nav-group p,.nav-group button span,.user-card>span:nth-child(2),.wordmark){opacity:0}}::view-transition-old(root){mix-blend-mode:normal;animation:none}::view-transition-new(root){mix-blend-mode:normal;animation:none}::view-transition-new(root){z-index:2}.donut-arc-focus{pointer-events:none;animation:arc-focus .18s var(--ease-out) backwards}@keyframes arc-focus{0%{stroke-width:var(--arc-focus-from,14px)}}.period-summary-list strong>.animated-number{color:inherit;font-size:inherit;font-weight:inherit}:where(.journal-trades-main)>.collapse{--collapse-gap:var(--space-lg)}
