*,:before,:after{box-sizing:border-box}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f6f6f7;--sidebar:#0b0b0d;--sidebar-soft:#15151a;--surface:#fff;--surface-muted:#f2f2f4;--surface-raised:#fff;--text:#08090b;--muted:#71717a;--strong-muted:#3f3f46;--line:#e4e4e7;--line-strong:#d4d4d8;--positive:#16c76f;--positive-soft:#e8f8ef;--negative:#ff5f64;--negative-soft:#fdecec;--accent:#8b5cf6;--accent-strong:#6d3ff0;--accent-soft:#8b5cf624;--warning:#d97706;--discipline-line:#0891b2;--shadow-flat:0 1px 2px #09090b0a;--shadow-raised:0 4px 12px #09090b14, 0 1px 2px #09090b0a;--shadow-overlay:0 28px 90px #00000042;--shadow:var(--shadow-flat);--radius-sm:8px;--radius-md:10px;--radius-lg:14px;--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.45;--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(.34, 1.35, .64, 1);--dur-fast:.18s;--dur:.28s;--dur-slow:.38s;font-family:DM Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0f0f12;--sidebar:#070708;--sidebar-soft:#15151a;--surface:#141418;--surface-muted:#1b1b20;--text:#f7f7fb;--muted:#9ca3af;--strong-muted:#d4d4dc;--line:#27272f;--line-strong:#363641;--positive:#1ed982;--positive-soft:#1ed98221;--negative:#ff6b73;--negative-soft:#ff6b7321;--surface-raised:#111114;--accent:#a779ff;--accent-strong:#c4a7ff;--accent-soft:#a779ff29;--warning:#f5a524;--discipline-line:#22d3ee;--shadow-flat:0 1px 2px #0000004d;--shadow-raised:0 4px 12px #00000073, 0 1px 2px #0000004d;--shadow-overlay:0 28px 90px #0009;--shadow:var(--shadow-flat)}@media (prefers-reduced-motion:reduce){*,: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(16px)}to{opacity:1;transform:translateY(0)}}@keyframes enter-pop{0%{opacity:0;transform:translateY(18px)scale(.94)}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(-8px)scaleY(.9)}to{opacity:1;transform:translateY(0)scaleY(1)}}@keyframes lift-in{0%{opacity:0;transform:translateY(8px)scaleY(.9)}to{opacity:1;transform:translateY(0)scaleY(1)}}@keyframes expand-from-toggle{0%{opacity:0;transform:scale(.82)}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(.94)}.icon-control{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);width:40px;height:40px;color:var(--strong-muted);box-shadow:none;place-items:center;display:inline-grid}.icon-control:hover{border-color:var(--line-strong);color:var(--text)}.icon-control:disabled{cursor:wait;opacity:.55}.view-stack,.firms-workspace,.settings-grid{animation:enter-up var(--dur-slow) var(--ease-entrance) backwards}.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] .export-summary span,: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-import-preview-row,: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:#111519}: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:320px;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)}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:linear-gradient(180deg, var(--sidebar-soft) 0%, var(--sidebar) 55%);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{border:1px solid var(--line);background:var(--surface);width:38px;height:38px;color:var(--strong-muted);border-radius:8px;place-items:center;display:inline-grid}.sidebar-toggle{color:#d8d2e8;background:#ffffff0b;border-color:#ffffff17;width:32px;height:32px;transition:border-color .16s,background .16s,color .16s}.sidebar-toggle:hover{color:#fff;background:#a779ff24;border-color:#a779ff57}.nav-trigger,.nav-close{border:1px solid var(--line);background:var(--surface);width:44px;height:44px;color:var(--strong-muted);border-radius:10px;place-items:center;display:none}.nav-close{color:#d8d2e8;background:#ffffff0b;border-color:#ffffff17}.nav-close:hover{color:#fff;background:#a779ff24;border-color:#a779ff57}.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{background:var(--accent-soft);color:#fff}.nav-group button svg{transition:color .16s}.nav-group button:hover svg,.nav-group button.active svg{color:var(--accent-strong)}.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:#ffffff09;border-color:#ffffff14;min-height:52px}.user-card>span:first-child{border-radius:var(--radius-sm);background:linear-gradient(135deg, var(--accent), var(--accent-strong));color:#fff;width:32px;height:32px;font-weight:var(--weight-black);flex:none;place-items:center;display:inline-grid}.user-card>span:nth-child(2){gap:var(--space-3xs);min-width:0;display:grid}.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:0;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:"";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=collapsed] .brand{grid-template-columns:1fr;justify-items:center;padding-inline:0}.app-shell[data-sidebar=collapsed] .wordmark{display:none}.app-shell[data-sidebar=collapsed] .sidebar-toggle{display:inline-grid}.app-shell[data-sidebar=collapsed] .nav-group p,.app-shell[data-sidebar=collapsed] .nav-group button span,.app-shell[data-sidebar=collapsed] .user-card>span:nth-child(2),.app-shell[data-sidebar=collapsed] .user-card svg{display:none}.app-shell[data-sidebar=collapsed] .nav-group button,.app-shell[data-sidebar=collapsed] .user-card{justify-content:center;padding:0}.app-shell[data-sidebar=collapsed] .nav-divider{border:0;border-top:1px solid #ffffff1a;margin:0;display:block}.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] .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-category-copy small,.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-recent-row strong,.app-shell[data-privacy=hidden] .journal-card-footer>span{filter:blur(.34em);-webkit-user-select:none;user-select:none;color:var(--muted)!important}.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)!important}.app-shell[data-privacy=hidden] .journal-calendar-panel .chart-delta.negative{color:var(--negative)!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);display:flex;box-shadow:0 12px 34px #1118270d}.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)}.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%, #1ed98214, 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:before{content:"";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{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)}.auth-message.success{background:var(--positive-soft);color:var(--positive)}.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:#fff;border:0;display:inline-flex;box-shadow:0 8px 18px #5b21b638}.primary-action:hover{background:var(--accent-strong)}.primary-action:disabled{cursor:not-allowed;opacity:.6}.topbar-primary{white-space:nowrap;height:38px;min-height:0;box-shadow:0 8px 20px #8b5cf64d}.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-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}.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)}.modal-body{padding:var(--space-lg) var(--space-xl) var(--space-2xl)}}.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-sm);background:var(--surface);box-shadow:var(--shadow-flat)}.metric-card{gap:var(--space-sm);min-height:120px;padding:var(--space-lg);display:grid}.metric-grid .metric-card:last-child{grid-column:span 2}.metric-card.is-featured{min-height:132px;padding:var(--space-xl);background:radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 42%), var(--surface);grid-column:span 2}.metric-card-topline{justify-content:space-between;align-items:center;gap:var(--space-md);color:var(--muted);font-size:var(--text-sm);font-weight:var(--weight-bold);display:flex}.metric-icon{border-radius:var(--radius-sm);background:var(--surface-muted);width:30px;height:30px;color:var(--strong-muted);place-items:center;display:inline-grid}.metric-card strong{color:var(--text);font-size:var(--text-xl);align-self:end;line-height:1}.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)}.metric-card.is-featured.negative strong{color:var(--negative)}.metric-card.positive .metric-icon,.positive{color:var(--positive)}.metric-card.negative .metric-icon,.negative{color:var(--negative)}.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);border:1px solid var(--line);min-height:54px;padding:0 var(--space-lg);background:var(--surface-muted);border-radius:8px;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);border-top:1px solid var(--line);padding-top:var(--space-xl);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-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-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)}.period-month-columns i.expense{background:linear-gradient(180deg, color-mix(in srgb, var(--negative) 78%, white), var(--negative));color:var(--negative)}.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)}.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))}.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-sm);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,.settings-form label{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-form input,.settings-form select,.settings-form .custom-select-trigger,.bank-import-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}.dashboard-filters input:focus,.dashboard-filters select:focus,.view-filters input:focus,.view-filters select:focus,.settings-form input:focus,.settings-form select:focus,.dashboard-filters .custom-select-trigger:focus-visible,.view-filters .custom-select-trigger:focus-visible,.settings-form .custom-select-trigger:focus-visible,.bank-import-row .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-form .custom-select-trigger:disabled,.bank-import-row .custom-select-trigger:disabled{background:var(--surface-muted);color:var(--muted);opacity:.72}.filter-toggle-button{width:20px;height:20px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:inline-grid;position:relative}.filter-toggle-button:hover,.filter-toggle-button:focus-visible{background:var(--surface-muted);color:var(--strong-muted)}.filter-toggle-button.has-active-filters{color:var(--accent)}.filter-toggle-button[aria-expanded=true]{background:var(--accent-soft);color:var(--accent)}.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(--line);border-radius:var(--radius-sm);width:max-content;max-width:min(420px,100vw - 24px);max-height:260px;padding:var(--space-2xs);background:var(--surface);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);color:var(--text);font-size:var(--text-base);font-weight:var(--weight-medium);cursor:pointer;border-radius:6px;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(--line);border-radius:var(--radius-sm);padding:var(--space-2xs);background:var(--surface);box-shadow:var(--shadow-raised);gap:2px;display:grid}.topbar-menu-panel.is-upward{transform-origin:100% 100%;animation-name:lift-in}.topbar-menu-item{align-items:center;gap:var(--space-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;border-radius:6px;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-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}.date-picker{min-width:0;position:relative}.date-picker-panel{z-index:130;gap:var(--space-md);width:268px;padding:var(--space-base);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);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{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:#fff;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:30px}.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{border-top:1px solid var(--line);padding-top:var(--space-xl)}.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-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)}.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(14px);backdrop-filter:blur(14px);background:radial-gradient(circle at 50% 15%,#8b5cf629,#0000 32%),#08090b9e;border:0;position:absolute;inset:0}.modal-card{z-index:1;animation:enter-pop var(--dur) var(--ease-overshoot) backwards;border:1px solid color-mix(in srgb, var(--line) 88%, transparent);background:color-mix(in srgb, var(--surface) 96%, transparent);width:min(100%,560px);max-height:min(92vh,880px);box-shadow:var(--shadow-overlay);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);border-radius:18px;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{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%,640px)}.plans-grid{gap:var(--space-base);grid-template-columns:repeat(2,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:#fff;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);flex-shrink:0}.plan-cta{justify-content:center;width:100%}.danger-panel{border-color:color-mix(in srgb, var(--negative) 26%, var(--line))}.danger-panel .danger-action{margin-top:var(--space-base);align-self:flex-start}.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)}.subscription-badge.is-negative{border-color:color-mix(in srgb, var(--negative) 34%, var(--line));background:var(--negative-soft);color:var(--negative)}.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);font-size:var(--text-xs);line-height:var(--leading-normal)}.subscription-notice,.account-scope-notice,.demo-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);display:flex;box-shadow:0 12px 34px #1118270d}.subscription-notice>svg,.account-scope-notice>svg,.demo-notice>svg{flex-shrink:0}.account-scope-notice>svg{color:var(--accent-strong)}.subscription-notice>div,.account-scope-notice>div,.demo-notice>div{flex:1;min-width:0}.subscription-notice strong,.account-scope-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,.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}.demo-notice{border-color:color-mix(in srgb, var(--accent) 26%, transparent);background:color-mix(in srgb, var(--accent) 7%, var(--surface))}.demo-notice>svg{color:var(--accent-strong)}.demo-notice-cta,.demo-signup-cta{white-space:nowrap;text-decoration:none}.subscription-notice.is-expired,.subscription-notice.is-pastdue{border-color:color-mix(in srgb, var(--negative) 26%, transparent);background:var(--negative-soft)}.subscription-notice.is-expired>svg,.subscription-notice.is-pastdue>svg{color:var(--negative)}.subscription-notice.is-ending{border-color:color-mix(in srgb, var(--warning) 30%, transparent);background:color-mix(in srgb, var(--warning) 9%, var(--surface))}.subscription-notice.is-ending>svg{color:var(--warning)}@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(--line);border-radius:var(--radius-md);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-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-axis.band-baseline{stroke:color-mix(in srgb, var(--muted) 34%, 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))}.chart-event-bar{opacity:.9;vector-effect:non-scaling-stroke;transition:opacity .16s,width .16s,x .16s}.chart-event-bar.income{fill:var(--positive);filter:drop-shadow(0 0 5px color-mix(in srgb, var(--positive) 28%, transparent))}.chart-event-bar.expense{fill:var(--negative);filter:drop-shadow(0 0 5px color-mix(in srgb, var(--negative) 26%, transparent))}.chart-event-bar.is-active{opacity:1;stroke:var(--surface);stroke-width:1.4px}.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-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)}.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)}.chart-value-badge.negative{color:var(--negative)}.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-base);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-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:color-mix(in srgb, var(--accent) 38%, var(--line));box-shadow:0 4px 16px color-mix(in srgb, var(--accent) 12%, transparent);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 .is-placeholder{justify-items:center;gap:var(--space-sm);color:var(--muted);font-size:.76rem;font-weight:800;display:grid}.journal-card-footer{align-items:center;gap:var(--space-sm);padding:var(--space-sm) var(--space-base);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:.84rem;font-weight:850;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(--accent-soft);color:var(--accent);letter-spacing:.04em;text-transform:uppercase;border-radius:5px;flex-shrink:0;font-size:.64rem;font-style:normal;font-weight:900}.journal-card-footer>span{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.84rem;font-weight:850}.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-handle{top:0;left:var(--space-lg);z-index:2;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);width:28px;height:20px;color:var(--muted);cursor:grab;justify-content:center;align-items:center;display:none;position:absolute;transform:translateY(-50%)}.journal-dashboard-widget:hover .journal-dashboard-widget-handle{display:flex}.journal-dashboard-widget-handle:active{cursor:grabbing}.journal-dashboard-widget.is-dragging{opacity:.5}.journal-dashboard-widget.is-drag-over>:last-child{outline:2px dashed var(--accent);outline-offset:2px;border-radius:var(--radius-sm)}.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}.journal-dashboard-widget[data-widget-size=narrow],.journal-dashboard-widget[data-widget-size=quarter]{grid-column:span 3;align-self:stretch;display:grid}.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:drop-shadow(0 0 7px color-mix(in srgb, var(--accent) 32%, transparent))}.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);transform:translate(-100%, calc(-100% - var(--space-2xs)))}.journal-pnl-chart-limit-label.is-mll{color:var(--negative);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)}.journal-errors-legend em.severity-moderate{background:color-mix(in srgb, var(--warning) 16%, transparent);color:var(--warning)}.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 .journal-pnl-chart-frame{height:220px}.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:var(--discipline-line);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{fill:#fff;stroke:var(--accent-strong);stroke-width:2.6px;vector-effect:non-scaling-stroke}.journal-pnl-chart-point.is-muted{opacity:.42}.journal-pnl-chart-point.is-last{fill:var(--accent);stroke:var(--surface);opacity:1}.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:var(--line);border:none;height:1px;margin:0}.journal-account-overview-panel{gap:var(--space-2xl);background:linear-gradient(90deg, #7c3aed0b, transparent 38%), 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)}.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)}.journal-account-bar-ends .is-ceiling strong{color:var(--positive)}.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{justify-content:space-between;align-items:center;gap:var(--space-sm);display:flex}.account-rules-head h3{font-size:var(--text-sm);font-weight:var(--weight-bold);margin:0}.account-rules-cycle{justify-content:space-between;align-items:baseline;gap:var(--space-3xs) var(--space-sm);color:var(--muted);font-size:var(--text-xs);flex-wrap:wrap;margin:0;display:flex}.account-rules-cycle em{color:var(--text);font-style:normal;font-weight:var(--weight-bold);font-variant-numeric:tabular-nums}.account-rules-list{align-items:baseline;gap:var(--space-xs) var(--space-sm);margin:var(--space-3xs) 0 0;font-size:var(--text-sm);grid-template-columns:minmax(0,1fr) auto auto;padding:0;list-style:none;display:grid}.account-rule{display:contents}.account-rule-name{align-items:center;gap:var(--space-3xs);min-width:0;color:var(--muted);font-weight:var(--weight-medium);flex:auto;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)}.account-rule.is-pending .account-rule-name svg{color:var(--line-strong)}.account-rule-value{color:var(--text);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;white-space:nowrap;justify-self:end}.account-rule-missing{color:var(--negative);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)}.account-rules-line{align-items:center;gap:var(--space-3xs) var(--space-sm);color:var(--muted);font-size:var(--text-xs);flex-wrap:wrap;margin:0;display:flex}.account-rules-line span{align-items:center;gap:var(--space-3xs);min-width:0;display:inline-flex}.account-rules-line strong{color:var(--text);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums}.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:1px solid var(--line);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)}.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}@media (width<=560px){.account-rules-list{gap:var(--space-sm);grid-template-columns:minmax(0,1fr)}.account-rule{align-items:baseline;gap:var(--space-3xs) var(--space-sm);flex-wrap:wrap;display:flex}.account-rule-name{flex:auto}.account-rule-value,.account-rule-missing{justify-self:auto}.account-rule-missing{margin-left:auto}}.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-md);flex-direction:column;display:flex}.journal-total-value-row{align-items:center;gap:var(--space-xs);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-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:var(--text-3xl)}.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);display:flex}.journal-split-figures span{gap:var(--space-3xs);display:grid}.journal-split-figures span:last-child{text-align:right}.journal-split-figures strong{font-size:var(--text-md);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);min-height:186px;color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);text-align:center;background:#fbfcfd;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-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);color:var(--text);font-size:var(--text-base);background:#fbfcfd;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:#fbfcfd}:root[data-theme=dark] .journal-error-type-row:hover,:root[data-theme=dark] .journal-error-type-row:focus-within{background:#111519}.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:38px;height:38px;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)}.journal-week-summary.negative strong{color:var(--negative)}.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);color:#fff;letter-spacing:0;border-radius:999px;justify-content:center;align-items:center;min-width:1.7em;height:1.7em;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)}.journal-detail-hero>strong.negative,.journal-detail-grid dd.negative{color:var(--negative)}.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:#fbfcfd}.journal-detail-grid dt{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-black)}.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);color:var(--strong-muted);background:#fbfcfd;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-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)}.journal-row,.account-row{border:1px solid var(--line);border-radius:var(--radius-sm);background:#fbfcfd}.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:radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 34%), var(--surface);grid-template-columns:minmax(280px,1fr) minmax(360px,1.08fr);align-items:center;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;display:flex}.accounts-overview-stats{gap:var(--space-md);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.accounts-overview-stats span{gap:var(--space-xs);border-radius:var(--radius-sm);min-height:92px;padding:var(--space-base);background:color-mix(in srgb, var(--surface-muted) 72%, transparent);display:grid}.accounts-overview-stats svg{color:var(--accent-strong)}.accounts-overview-stats strong{color:var(--text);font-size:var(--text-2xl);line-height:1}.accounts-overview-stats small{align-items:center;gap:var(--space-3xs);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold);display:flex}.accounts-overview-money{justify-content:flex-start;gap: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)}.accounts-overview-money strong.negative{color:var(--negative)}.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}.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:38px;padding:0 var(--space-base);background:var(--surface-muted);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-bold);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:24px;min-height:22px;padding:0 var(--space-xs);background:var(--surface);color:var(--muted);font-size:var(--text-xs);place-items:center;display:inline-grid}.account-card-grid{gap:var(--space-lg);grid-template-columns:repeat(auto-fill,minmax(320px,1fr));display:grid}.account-archive{margin-top:var(--space-4xl)}.account-archive>h2{align-items:center;gap:var(--space-sm);margin:0 0 var(--space-base);font-size:var(--text-sm);font-weight:var(--weight-semibold);text-transform:uppercase;letter-spacing:.08em;color:var(--muted);display:flex}.account-archive>h2 span{padding:2px var(--space-xs);background:var(--surface-muted);font-size:var(--text-2xs);letter-spacing:0;border-radius:999px}.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-sm);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:linear-gradient(180deg, color-mix(in srgb, var(--surface-muted) 28%, transparent), transparent 48%), var(--surface);box-shadow: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)}.account-track-ceiling{color:var(--positive);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);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);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);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);background:var(--surface-muted);display:grid}.account-card-rules svg{color:var(--accent-strong)}.account-card-rules small,.account-card-meta{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-meta{justify-content:space-between;align-items:center;gap:var(--space-sm) var(--space-base);flex-wrap:wrap;margin-top:auto;display:flex}.account-card:hover{box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 34%, transparent), 0 4px 16px color-mix(in srgb, var(--accent) 10%, transparent)}.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);font-weight:var(--weight-bold)}.account-card-rules strong.negative{color:var(--negative);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)}.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)}.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{border-bottom:1px solid var(--line);padding:var(--space-base) var(--space-md);text-align:left;vertical-align:middle}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)}.amount.expense{color:var(--negative)}.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)}.movement-badge.expense{background:var(--negative-soft);color:var(--negative)}.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)}.payout-calculation .negative{color:var(--negative)}.movement-category-copy{gap:var(--space-3xs);min-height:42px;display:grid}.movement-category-copy strong{color:var(--text);font-size:var(--text-sm)}.movement-category-copy small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);white-space:nowrap}.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);border-radius:var(--radius-sm);width:100%;color:var(--text);font-size:var(--text-base);background:#fbfcfd;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:36px;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-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:#fbfcfd;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.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:#fbfcfd;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)}.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)}: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:#fbfcfd;margin:0;display:grid}.journal-entry-mode-help,.journal-import-note{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 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-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);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)}}.journal-import-preview-list{gap:var(--space-sm);margin-top:var(--space-base);display:grid}.journal-import-preview-row{justify-content:space-between;align-items:center;gap:var(--space-base);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-sm) var(--space-base);background:#fbfcfd;display:flex}.journal-import-preview-row strong{align-items:center;gap:var(--space-sm);color:var(--text);font-size:var(--text-sm);display:inline-flex}.journal-import-preview-row small{color:var(--muted);font-size:var(--text-xs);margin-top:2px;display:block}.journal-import-preview-row>strong.positive{color:var(--positive)}.journal-import-preview-row>strong.negative{color:var(--negative)}.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{border-bottom:0;border-top:1px solid var(--line-strong);color:var(--text);font-size:var(--text-base)}.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}.bank-import-summary strong{color:var(--text)}.bank-import-guide{gap:var(--space-md);border-top:1px solid var(--line);padding-top:var(--space-base);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-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)}.bank-import-row-amount.income strong{color:var(--positive)}.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)}.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)}.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:end;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);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);background:#fbfcfd;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)}.mutation-message.info{background:var(--surface-muted);color:var(--strong-muted)}.mutation-message.success{background:var(--positive-soft);color:var(--positive)}.ghost-action,.secondary-action,.danger-action{justify-content:center;align-items:center;gap:var(--space-xs);border-radius:var(--radius-sm);min-height:38px;padding:0 var(--space-base);font-size:var(--text-sm);font-weight:var(--weight-bold);display:inline-flex}.ghost-action,.secondary-action{border:1px solid var(--line);background:var(--surface);color:var(--strong-muted)}.secondary-action:hover:not(:disabled),.ghost-action:hover:not(:disabled){border-color:color-mix(in srgb, var(--accent) 42%, var(--line));background:var(--surface-muted);color:var(--text)}.secondary-action,.ghost-action{transition:transform 90ms var(--ease), border-color 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);border:1px solid #c2412d38}.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}.cell-empty{color:var(--muted)}.table-pagination{justify-content:space-between;align-items:center;gap:var(--space-base);margin-top:var(--space-xl);border-top:1px solid var(--line);padding-top:var(--space-xl);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);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);color:var(--muted);text-align:center;background:#fbfcfd;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:#fbfcfd}.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:radial-gradient(circle at 6% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 32%), 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(--accent-strong);font-size:var(--text-xs);font-weight:var(--weight-black);letter-spacing:0;text-transform:uppercase}.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:repeat(4,minmax(0,1fr));display:grid}.firm-overview-stats span{gap:var(--space-xs);border-radius:var(--radius-sm);min-height:92px;padding:var(--space-base);background:color-mix(in srgb, var(--surface-muted) 72%, transparent);display:grid}.firm-overview-stats svg{color:var(--accent-strong)}.firm-overview-stats strong{color:var(--text);font-size:var(--text-2xl);line-height:1}.firm-overview-stats small{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-bold)}.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:38px;padding:0 var(--space-base);background:var(--surface);color:var(--strong-muted);font-size:var(--text-sm);font-weight:var(--weight-bold);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:24px;min-height:22px;padding:0 var(--space-xs);background:var(--surface-muted);color:var(--muted);font-size:var(--text-xs);place-items:center;display:inline-grid}.firm-type-tabs button.is-active strong{background:color-mix(in srgb, var(--accent) 20%, var(--surface));color:var(--accent-strong)}.firms-grid{grid-template-columns:repeat(auto-fit,minmax(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:color-mix(in srgb, var(--accent) 34%, var(--line));box-shadow:0 4px 16px color-mix(in srgb, var(--accent) 10%, transparent)}.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)}.firm-type-pill.crypto{background:color-mix(in srgb, var(--warning) 16%, transparent);color:var(--warning)}.firm-type-pill.other{background:var(--surface-muted);color:var(--strong-muted)}.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-card .firm-card-stats{gap:var(--space-base);grid-template-columns:repeat(3,minmax(0,1fr))}.firm-card .firm-card-stats div{background:0 0;border:0;border-radius:0;padding:0}.firm-card .firm-card-stats div+div{border-left:1px solid var(--line);padding-left:var(--space-base)}.firm-card .firm-card-stats dd{font-size:var(--text-2xl)}.firm-card-withdrawn{justify-content:space-between;align-items:baseline;gap:var(--space-md);padding-top:var(--space-base);border-top:1px solid var(--line);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)}.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 .passed{--outcome:color-mix(in srgb, var(--positive) 45%, var(--surface-muted))}.firm-card-outcomes .running{--outcome:var(--accent)}.firm-card-outcomes .failed{--outcome:var(--negative)}.firm-card-outcomes .closed{--outcome:var(--line-strong)}.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-xs);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)}.firm-history-totals .negative{color:var(--negative)}.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:1px solid var(--line);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:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);width:38px;height:38px;color:var(--muted);cursor:pointer;flex-shrink:0;place-items:center;padding:0;display:inline-grid}.card-delete:hover:not(:disabled){border-color:color-mix(in srgb, var(--negative) 32%, transparent);background:var(--negative-soft);color:var(--negative)}.card-edit:hover:not(:disabled),.card-visibility:hover:not(:disabled){border-color:color-mix(in srgb, var(--accent) 32%, transparent);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{gap:var(--space-lg);max-width:760px;margin-inline:auto;display:grid}.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:1px solid var(--line)}.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}.settings-form{gap:var(--space-lg);display:grid}.settings-form .primary-action{justify-self:start}.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-black);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:0 8px 22px #1118270f}.export-summary{gap:var(--space-md);margin-bottom:var(--space-xl);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.export-summary span{border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-base);color:var(--strong-muted);font-size:var(--text-base);font-weight:var(--weight-black);background:#fbfcfd}.preference-row{justify-content:space-between;align-items:center;gap:var(--space-base);padding:var(--space-base) 0;flex-wrap:wrap;display:flex}.preference-row+.preference-row{border-top:1px solid var(--line)}.preference-label{color:var(--strong-muted);font-size:var(--text-base);font-weight:var(--weight-semibold)}.migration-actions{gap:var(--space-md);flex-wrap:wrap;display:flex}.settings-support{align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.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}.migration-status{gap:var(--space-sm);margin:var(--space-xl) 0 0;display:grid}.migration-status span{border:1px solid var(--line);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)}.metric-card,.panel,.directory-card,.modal-card,.empty-panel,.state-notice,.firm-overview-stats span,.journal-breakdown-row,.journal-breakdown-empty,.journal-error-type-row,.journal-detail-copy,.journal-detail-grid div,.journal-row,.account-row,.export-summary span,.migration-status span{border-color:#0000!important}@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(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:1fr}.account-filter-row label{flex-basis:100%}.account-filter-row button{width:100%}.accounts-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@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}.journal-dashboard-widget-handle{display:none!important}.topbar{align-items:stretch;gap:var(--space-base);flex-direction:column}.topbar-actions{justify-content:flex-start}.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{grid-template-columns:repeat(2,minmax(0,1fr))}.account-card-rules,.accounts-overview-stats{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}.chart-date-axis>span:first-child{transform:none}.chart-date-axis>span:last-child{transform:translate(-100%)}.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-form .custom-select-trigger,.account-filter-row .custom-select-trigger,.journal-cockpit-account-filter .custom-select-trigger,.account-status-tabs button,.firm-type-tabs button,.journal-same-day button,.account-card-breach-actions button{min-height:44px}.info-hint,.filter-toggle-button{position:relative}.info-hint:after,.filter-toggle-button: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,.export-summary,.journal-detail-grid{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);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}}
