:root{--ink-950:#0e0f11;--ink-900:#191c1f;--ink-800:#24272b;--ink-700:#2f3338;--ink-600:#474c53;--ink-100:#e6e8eb;--ink-50:#f1f2f4;--brand-from:#059669;--brand-to:#84cc16;--brand-700:#0a6444;--brand-600:#0e7c55;--brand-300:#7fd6ae;--brand-100:#d3f3e3;--brand-50:#eefaf4;--white:#fff;--gray-50:#f7f7f8;--gray-100:#f0f1f3;--gray-200:#e6e8eb;--gray-300:#d3d6db;--gray-500:#717680;--gray-600:#5a606b;--gray-900:#191c1f;--green-700:#0b7a52;--green-50:#e7f6ef;--red-700:#b42318;--red-50:#fdecea;--amber-700:#9a6100;--amber-50:#fff5e0;--green-500:#12b76a;--green-300:#6ce9a6;--amber-500:#f79009;--amber-300:#fec84b;--red-500:#f04438;--red-300:#fda29b;--series-1:#1d5fd6;--series-2:#d92b2b;--series-3:#f2b705;--series-4:#1e9e4a;--series-5:#f07a12;--series-6:#7a3fd0;--series-7:#14a3d8;--series-8:#e0418d;--chart-1:#0e7c55;--chart-2:#2563c9;--color-bg:var(--gray-50);--color-surface:var(--white);--color-surface-alt:var(--gray-50);--color-control:var(--gray-100);--color-border:var(--gray-200);--color-border-strong:var(--gray-300);--color-scrim:#191c1f6b;--color-text:var(--gray-900);--color-text-muted:var(--gray-600);--color-text-subtle:var(--gray-500);--color-heading:var(--color-text);--color-sidebar:var(--color-bg);--color-nav-active:var(--color-surface);--color-nav-active-text:var(--color-text);--color-nav-icon:var(--color-accent);--color-brand:var(--ink-900);--color-brand-hover:var(--ink-700);--color-on-brand:var(--white);--color-on-brand-muted:#a4a9b2;--color-accent:var(--brand-600);--color-accent-hover:var(--brand-700);--color-accent-soft:var(--brand-50);--color-focus:var(--brand-600);--color-positive:var(--green-700);--color-positive-soft:var(--green-50);--color-negative:var(--red-700);--color-negative-soft:var(--red-50);--color-info:#1d4fa3;--color-info-soft:#edf3fc;--color-info-vivid:#3b6fd4;--color-warning:var(--amber-700);--color-warning-soft:var(--amber-50);--color-positive-vivid:var(--green-500);--color-positive-light:var(--green-300);--color-warning-vivid:var(--amber-500);--color-warning-light:var(--amber-300);--color-negative-vivid:var(--red-500);--color-negative-light:var(--red-300);--color-accent-light:var(--brand-300);--gradient-brand:linear-gradient(90deg, var(--brand-from), var(--brand-to));--hero-from:#047857;--hero-to:#3f8f1c;--gradient-hero:radial-gradient(120% 140% at 100% 0%, #a3e63573, transparent 55%), linear-gradient(135deg, var(--hero-from), var(--hero-to));--shadow-hero:0 18px 40px -12px #05785766;--color-on-hero-muted:#ffffffdb;--color-on-hero-line:#ffffff47;--color-on-hero-fill:#ffffff29;--font-sans:"Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--text-2xs:.5625rem;--text-xs:.75rem;--text-sm:.8125rem;--text-md:.9375rem;--text-lg:1.125rem;--text-xl:1.375rem;--text-2xl:1.75rem;--text-3xl:2.25rem;--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--leading-tight:1.2;--leading-normal:1.5;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--space-7:3rem;--radius-sm:8px;--radius-md:12px;--radius-lg:20px;--radius-full:999px;--shadow-sm:0 1px 2px #191c1f0a;--shadow-md:0 4px 16px #191c1f14;--shadow-lg:0 16px 40px #191c1f29;--sidebar-width:248px;--topbar-height:56px;--content-max:1180px;--control-height:2.75rem;--transition:.14s ease}
*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--color-bg);color:var(--color-text);font-family:var(--font-sans);font-size:var(--text-md);line-height:var(--leading-normal);-webkit-font-smoothing:antialiased;margin:0}h1,h2,h3,p{margin:0}a{color:var(--color-accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}.num{font-variant-numeric:tabular-nums;white-space:nowrap}.text-muted{color:var(--color-text-muted)}.text-subtle{color:var(--color-text-subtle);font-size:var(--text-sm)}.text-accent{color:var(--color-accent)}.text-positive{color:var(--color-positive)}.text-negative{color:var(--color-negative)}.text-strong{font-weight:var(--weight-semibold)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}
.btn{justify-content:center;align-items:center;gap:var(--space-2);height:var(--control-height);padding:0 var(--space-5);border-radius:var(--radius-full);font-size:var(--text-md);font-weight:var(--weight-semibold);white-space:nowrap;cursor:pointer;transition:background var(--transition), border-color var(--transition), color var(--transition);border:1px solid #0000;display:inline-flex}.btn:hover{text-decoration:none}.btn:disabled{opacity:.55;cursor:not-allowed}.btn--primary{background:var(--color-accent);color:var(--color-on-brand)}.btn--primary:hover:not(:disabled){background:var(--color-accent-hover)}.btn--accent{background:var(--color-brand);color:var(--color-on-brand)}.btn--accent:hover:not(:disabled){background:var(--color-brand-hover)}.btn--secondary{background:var(--color-control);color:var(--color-text)}.btn--secondary:hover:not(:disabled){background:var(--gray-200)}.btn--ghost{color:var(--color-text-muted);background:0 0}.btn--ghost:hover:not(:disabled){background:var(--gray-100);color:var(--color-text)}.btn--danger{background:var(--color-negative-soft);color:var(--color-negative)}.btn--danger:hover:not(:disabled){background:var(--color-negative-soft);border-color:var(--color-negative)}.btn--sm{height:2.25rem;padding:0 var(--space-4);font-size:var(--text-sm)}.btn--block{width:100%}.card{background:var(--color-surface);border-radius:var(--radius-lg)}.card__header{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--color-border);display:flex}.card__title{font-size:var(--text-lg);font-weight:var(--weight-semibold);letter-spacing:-.01em}.card__body{padding:var(--space-5)}.card__body--flush{border-radius:0 0 var(--radius-lg) var(--radius-lg);padding:0;overflow:hidden}.card__body--flush:first-child{border-radius:var(--radius-lg)}.card--brand{background:var(--color-brand);color:var(--color-on-brand)}.card--brand .text-muted,.card--brand .stat__label{color:var(--color-on-brand-muted)}.stat__label{font-size:var(--text-sm);color:var(--color-text-muted)}.stat__value{font-size:var(--text-2xl);font-weight:var(--weight-bold);line-height:var(--leading-tight);font-variant-numeric:tabular-nums}.stat__value--lg{font-size:var(--text-3xl)}.stat__hint{margin-top:var(--space-1);font-size:var(--text-sm);color:var(--color-text-subtle)}.badge{align-items:center;gap:var(--space-1);padding:.125rem var(--space-2);border-radius:var(--radius-full);background:var(--gray-100);color:var(--color-text-muted);font-size:var(--text-xs);font-weight:var(--weight-medium);white-space:nowrap;display:inline-flex}.badge--positive{background:var(--color-positive-soft);color:var(--color-positive)}.badge--negative{background:var(--color-negative-soft);color:var(--color-negative)}.badge--info{background:var(--color-info-soft);color:var(--color-info)}.badge--warning{background:var(--color-warning-soft);color:var(--color-warning)}.badge--accent{background:var(--ink-50);color:var(--color-text)}.field{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.field__label{font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--color-text-muted)}.input,.select,.textarea{width:100%;height:var(--control-height);padding:0 var(--space-3);background:var(--color-control);border-radius:var(--radius-md);transition:border-color var(--transition), box-shadow var(--transition), background var(--transition);border:1px solid #0000}.textarea{height:auto;min-height:5rem;padding:var(--space-2) var(--space-3);resize:vertical}.input:focus,.select:focus,.textarea:focus{background:var(--color-surface);border-color:var(--color-accent);box-shadow:0 0 0 3px var(--brand-100);outline:none}.select--sm,.input--sm{height:2rem;font-size:var(--text-sm);border-radius:var(--radius-sm)}.table .select--sm{min-width:11rem}.checkbox{align-items:center;gap:var(--space-2);font-size:var(--text-sm);display:inline-flex}.table{border-collapse:collapse;width:100%;font-size:var(--text-md)}.table th{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);color:var(--color-text-subtle);font-size:var(--text-xs);font-weight:var(--weight-semibold);letter-spacing:.04em;text-align:left;text-transform:uppercase;white-space:nowrap}.table td{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);vertical-align:middle}.table tbody tr:last-child td{border-bottom:0}.table tbody tr:hover{background:var(--color-surface-alt)}.table .is-right{text-align:right}.table__primary{font-weight:var(--weight-medium);color:var(--color-text)}.table__secondary{font-size:var(--text-sm);color:var(--color-text-subtle)}.table__divider td{padding-top:var(--space-2);padding-bottom:var(--space-2);border-bottom-color:var(--color-border-strong);background:var(--ink-50);color:var(--color-brand);font-size:var(--text-sm);font-weight:var(--weight-semibold)}.table__divider td:first-letter{text-transform:uppercase}@media (max-width:760px){.table--stack thead{display:none}.table--stack tr{gap:var(--space-1) var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);grid-template-columns:1fr auto;display:grid}.table--stack td{border:0;padding:0}.table--stack td[data-full],.table--stack .table__divider td{grid-column:1/-1}.table--stack .table__divider{padding-top:var(--space-2);padding-bottom:var(--space-2);background:var(--ink-50)}.table--stack td[data-hide-mobile]{display:none}}.alert{gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--ink-50);color:var(--color-text);font-size:var(--text-md);display:flex}.alert--warning{background:var(--color-warning-soft);color:var(--color-warning)}.alert--negative{background:var(--color-negative-soft);color:var(--color-negative)}.alert--positive{background:var(--color-positive-soft);color:var(--color-positive)}.empty{align-items:center;gap:var(--space-3);padding:var(--space-7) var(--space-5);text-align:center;flex-direction:column;display:flex}.empty__icon{border-radius:var(--radius-full);background:var(--ink-50);width:3.5rem;height:3.5rem;color:var(--ink-700);place-items:center;display:grid}.empty__title{font-size:var(--text-lg);font-weight:var(--weight-semibold)}.empty__text{max-width:28rem;color:var(--color-text-muted)}.rows{flex-direction:column;display:flex}.row{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-5);border-bottom:1px solid var(--color-border);color:inherit;display:flex}.row:last-child{border-bottom:0}a.row:hover{background:var(--color-surface-alt);text-decoration:none}.row__main{flex:1;min-width:0}.row__end{align-items:center;gap:var(--space-2);flex-shrink:0;display:flex}.avatar{border-radius:var(--radius-md);background:var(--ink-50);width:2.5rem;height:2.5rem;color:var(--ink-700);font-size:var(--text-sm);font-weight:var(--weight-bold);flex-shrink:0;place-items:center;display:grid;overflow:hidden}.avatar img{object-fit:contain;width:100%;height:100%}.bar{border-radius:var(--radius-full);background:var(--gray-100);height:.5rem;overflow:hidden}.bar__fill{border-radius:var(--radius-full);background:var(--ink-700);height:100%}.steps{gap:var(--space-2);flex:1;margin:0;padding:0;list-style:none;display:flex}.steps__item{padding-top:var(--space-2);border-top:3px solid var(--gray-200);color:var(--color-text-subtle);font-size:var(--text-sm);flex:1}.steps__item--done{border-color:var(--ink-700);color:var(--color-text-muted)}.steps__item--current{border-color:var(--color-accent);color:var(--color-text);font-weight:var(--weight-semibold)}@media (max-width:760px){.steps__item span{display:none}}.tabs{gap:var(--space-5);border-bottom:1px solid var(--color-border-strong);scrollbar-width:none;display:flex;overflow-x:auto}.tabs__item{align-items:center;gap:var(--space-2);padding:var(--space-3) 0;color:var(--color-text-subtle);font-weight:var(--weight-medium);white-space:nowrap;border-bottom:2px solid #0000;margin-bottom:-1px;display:inline-flex}.tabs__item:hover{color:var(--color-text);text-decoration:none}.tabs__item--active,.tabs__item--active:hover{border-bottom-color:var(--color-accent);color:var(--color-text);font-weight:var(--weight-semibold)}.tabs__count{padding:0 var(--space-2);border-radius:var(--radius-full);background:var(--color-accent);color:var(--color-on-brand);font-size:var(--text-xs)}.spinner{border:3px solid var(--ink-100);border-top-color:var(--ink-700);border-radius:var(--radius-full);width:2.5rem;height:2.5rem;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:2.4s}}.pagination{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-5);border-top:1px solid var(--color-border);font-size:var(--text-sm);color:var(--color-text-muted);display:flex}.link-plain,.link-plain:hover{color:inherit;text-decoration:none}.search-bar{flex-wrap:nowrap}.search-bar .input{flex:1;min-width:0}.report{padding:var(--space-4);background:var(--color-surface-alt);border:1px solid var(--color-border);border-radius:var(--radius-md);max-height:70vh;color:var(--color-text);font-family:var(--font-mono);font-size:var(--text-xs);line-height:var(--leading-normal);white-space:pre;margin:0;overflow:auto}.switch{--switch-width:calc(var(--space-6) + var(--space-3));align-items:center;gap:var(--space-2);cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex}.switch__input{opacity:0;width:1px;height:1px;position:absolute}.switch__track{width:var(--switch-width);height:var(--space-5);border-radius:var(--radius-full);background:var(--gray-300);transition:background var(--transition);flex:none;position:relative}.switch__track:after{content:"";top:var(--space-1);left:var(--space-1);width:var(--space-4);height:var(--space-4);border-radius:var(--radius-full);background:var(--white);box-shadow:var(--shadow-sm);transition:transform var(--transition);position:absolute}.switch__input:checked+.switch__track{background:var(--color-accent)}.switch__input:checked+.switch__track:after{transform:translateX(calc(var(--switch-width) - var(--space-4) - 2 * var(--space-1)))}.switch__input:focus-visible+.switch__track{outline:2px solid var(--color-focus);outline-offset:2px}html[data-privacy=on] .sensitive{filter:blur(.32em);-webkit-user-select:none;user-select:none;display:inline-block}html[data-privacy=on] .input[inputmode=decimal]:not(:focus){color:#0000;text-shadow:0 0 .5em var(--color-text)}.spinner--inline{vertical-align:-.125em;border-width:2px;border-color:currentColor #0000 currentColor currentColor;flex:none;width:1em;height:1em;display:inline-block}.status-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.status-item{gap:var(--space-3);padding:var(--space-3) 0;border-top:1px solid var(--color-border);align-items:flex-start;display:flex}.status-item:first-child{border-top:0;padding-top:0}.status-item__icon{width:var(--space-5);height:var(--space-5);border-radius:var(--radius-full);font-size:var(--text-sm);flex:none;justify-content:center;align-items:center;display:inline-flex}.status-item__body{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.status-item__title{font-weight:var(--weight-medium)}.status-item__detail{color:var(--color-text-muted);font-size:var(--text-sm);overflow-wrap:anywhere}.status-item--neutral .status-item__icon{background:var(--color-surface-alt);color:var(--color-text-muted)}.status-item--accent .status-item__icon{background:var(--color-accent-soft);color:var(--color-accent)}.status-item--positive .status-item__icon{background:var(--color-positive-soft);color:var(--color-positive)}.status-item--warning .status-item__icon{background:var(--color-warning-soft);color:var(--color-warning)}.status-item--negative .status-item__icon{background:var(--color-negative-soft);color:var(--color-negative)}.icon-btn{width:calc(var(--space-6) + var(--space-1));height:calc(var(--space-6) + var(--space-1));border-radius:var(--radius-sm);color:var(--color-text-muted);cursor:pointer;transition:background var(--transition), color var(--transition);background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-btn:hover:not(:disabled){background:var(--color-surface-alt);color:var(--color-text)}.icon-btn--danger:hover:not(:disabled){background:var(--color-negative-soft);color:var(--color-negative)}.icon-btn--accent:hover:not(:disabled){background:var(--color-accent-soft);color:var(--color-accent)}.icon-btn:disabled{opacity:.35;cursor:not-allowed}.icon-btn:focus-visible{outline:2px solid var(--color-focus);outline-offset:1px}.tree{gap:var(--space-3);flex-direction:column;display:flex}.tree-list{flex-direction:column;display:flex}.tree-list__empty{padding:var(--space-4) var(--space-5);color:var(--color-text-subtle)}.tree-group+.tree-group{border-top:1px solid var(--color-border)}.tree-group>summary{cursor:pointer;list-style:none}.tree-group>summary::-webkit-details-marker{display:none}.tree-row{align-items:center;gap:var(--space-3);min-height:calc(var(--space-7) + var(--space-1));padding:var(--space-1) var(--space-4) var(--space-1) var(--space-5);display:flex}.tree-row+.tree-row,.tree-group__body>.tree-row:first-child{border-top:1px solid var(--color-border)}.tree-row--group{background:var(--color-surface-alt);font-weight:var(--weight-semibold)}.tree-row__chevron{color:var(--color-text-subtle);transition:transform var(--transition);display:inline-flex}.tree-group:not([open]) .tree-row__chevron{transform:rotate(-90deg)}.tree-row__name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.tree-row__meta{color:var(--color-text-subtle);font-size:var(--text-sm);font-variant-numeric:tabular-nums;flex:none}.tree-row__actions{gap:var(--space-1);flex:none;display:flex}@media (hover:hover){.tree-row .tree-row__actions{opacity:0;transition:opacity var(--transition)}.tree-row:hover .tree-row__actions,.tree-row:focus-within .tree-row__actions,.tree-row .tree-row__actions--visible{opacity:1}}.tree-row__edit{gap:var(--space-2);flex-wrap:wrap;flex:1;align-items:center;min-width:0;display:flex}.tree-row__edit .input{min-width:calc(var(--space-7) * 3);flex:1}.tree-row__edit .select{flex:0 auto;width:auto}.tree-row__more{display:none}@media (hover:none){.tree-row__more{display:inline-flex}.tree-row__actions{display:none}.tree-row--selected .tree-row__actions,.tree-row__actions--visible{display:flex}.tree-row--selected .tree-row__meta{display:none}}.bar{position:relative}.bar--thin{height:.375rem}.bar__fill--positive{background:var(--color-positive-vivid)}.bar__fill--warning{background:var(--color-warning-vivid)}.bar__fill--negative{background:var(--color-negative-vivid)}.bar__fill--accent{background:var(--color-accent)}.bar__marker{background:var(--color-text);opacity:.45;width:2px;position:absolute;top:0;bottom:0}.card--brand .bar{background:var(--ink-600)}.card--brand .bar__fill{background:var(--color-on-brand)}.card--brand .bar__marker{background:var(--color-on-brand);opacity:.8}.segmented{padding:var(--space-1);border-radius:var(--radius-full);background:var(--color-control);flex:none;display:inline-flex}.segmented__item{height:calc(var(--control-height) - 2 * var(--space-1));padding:0 var(--space-4);border-radius:var(--radius-full);color:var(--color-text-muted);font-size:var(--text-sm);font-weight:var(--weight-semibold);align-items:center;text-decoration:none;display:inline-flex}button.segmented__item{white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;font-family:inherit}.segmented__item--active{background:var(--color-surface);box-shadow:var(--shadow-sm);color:var(--color-text)}.period-nav{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.table-scroll{overflow-x:auto}.statement{font-variant-numeric:tabular-nums;white-space:nowrap}.statement th,.statement td{padding:var(--space-2) var(--space-3)}.statement th:first-child,.statement td:first-child{z-index:1;padding-left:var(--space-4);background:var(--color-surface);position:sticky;left:0}.statement thead th:first-child{background:var(--color-surface-alt)}.statement__section{--section:var(--color-text-muted);--section-soft:var(--color-control)}.statement__section--income{--section:var(--color-positive);--section-soft:var(--color-positive-soft)}.statement__section--expense{--section:var(--color-negative);--section-soft:var(--color-negative-soft)}.statement__section--savings{--section:var(--color-info);--section-soft:var(--color-info-soft)}.statement .statement__section td{padding-top:var(--space-3);padding-bottom:var(--space-3);background:var(--section-soft);color:var(--section);font-weight:var(--weight-bold);border-bottom:0}.statement .statement__section td:first-child{box-shadow:inset var(--space-1) 0 0 var(--section);font-size:var(--text-xs);letter-spacing:.06em;text-transform:uppercase}.statement .statement__group td{background:var(--color-surface-alt);font-weight:var(--weight-semibold)}.statement__category td{color:var(--color-text-muted);font-size:var(--text-sm)}.statement__category td:first-child{padding-left:var(--space-6)}.statement .statement__group:hover td,.statement .statement__category:hover td{background:var(--color-control)}.statement__category a,.statement__group a{color:inherit;text-decoration:none}.statement__category a:hover,.statement__group a:hover{text-decoration:underline}.statement .statement__result td{background:var(--color-brand);color:var(--color-on-brand);font-size:var(--text-md);font-weight:var(--weight-bold);border:0}.statement .statement__result .is-up{color:var(--color-positive-light)}.statement .statement__result .is-down{color:var(--color-negative-light)}.statement .is-reference{color:var(--color-text-subtle);font-weight:var(--weight-regular)}.statement .statement__section .is-reference{color:var(--section)}.statement .statement__result .is-reference{color:var(--color-on-brand-muted)}.statement .is-total-col{border-left:1px solid var(--color-border-strong);font-weight:var(--weight-semibold)}.trend{margin-right:var(--space-2);padding-right:var(--space-1);font-size:var(--text-xs);font-weight:var(--weight-bold);letter-spacing:-.1em;cursor:help;display:inline-block}.trend--good{color:var(--color-positive)}.trend--bad{color:var(--color-negative)}.statement__result .trend--good{color:var(--color-positive-light)}.statement__result .trend--bad{color:var(--color-negative-light)}.statement thead th{background:var(--color-surface-alt)}.ring-gauge{--ring:var(--color-accent);--ring-strong:var(--color-accent-hover);width:100%;height:auto;display:block;overflow:visible}.ring-gauge--positive{--ring:var(--color-positive-vivid);--ring-strong:var(--color-positive)}.ring-gauge--warning{--ring:var(--color-warning-vivid);--ring-strong:var(--color-warning)}.ring-gauge--negative{--ring:var(--color-negative-vivid);--ring-strong:var(--color-negative)}.ring-gauge circle{fill:none;stroke-width:13px;transform-origin:60px 60px;transform:rotate(-90deg)}.ring-gauge__track{stroke:var(--gray-100)}.ring-gauge__value{stroke:var(--ring);stroke-linecap:round}.ring-gauge__excess{stroke:var(--ring-strong);stroke-linecap:round}.ring-gauge__label{fill:var(--color-text);font-size:22px;font-weight:var(--weight-bold);font-variant-numeric:tabular-nums}.ring-gauge--neutral .ring-gauge__track{stroke:var(--color-border-strong);stroke-width:2px;stroke-dasharray:5 5}.budget-hero{grid-template-columns:calc(var(--space-7) * 3.5) 1fr;gap:var(--space-6);padding:var(--space-5) var(--space-6);border-radius:var(--radius-lg);background:var(--color-brand);color:var(--color-on-brand);align-items:center;display:grid}.budget-hero .ring-gauge__track{stroke:var(--ink-600)}.budget-hero .ring-gauge__label{fill:var(--color-on-brand)}.budget-hero .ring-gauge--negative{--ring-strong:var(--color-negative-light)}.budget-hero__body{gap:var(--space-3);flex-direction:column;min-width:0;display:flex}.budget-hero__eyebrow{color:var(--color-on-brand-muted);font-size:var(--text-sm);font-weight:var(--weight-semibold);letter-spacing:.06em;text-transform:uppercase}.budget-hero__figure{font-size:calc(var(--text-3xl) * 1.35);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;letter-spacing:-.02em;line-height:1}.budget-hero__figure--positive{color:var(--color-positive-light)}.budget-hero__figure--warning{color:var(--color-warning-light)}.budget-hero__figure--negative{color:var(--color-negative-light)}.budget-hero__detail{color:var(--color-on-brand-muted);font-variant-numeric:tabular-nums}.budget-hero__detail strong{color:var(--color-on-brand)}.chips{gap:var(--space-2);flex-wrap:wrap;display:flex}.chip{align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-3);border-radius:var(--radius-full);background:var(--ink-800);color:var(--color-on-brand);font-size:var(--text-sm);font-weight:var(--weight-semibold);display:inline-flex}.chip:before{width:var(--space-2);height:var(--space-2);border-radius:var(--radius-full);background:var(--color-on-brand-muted);content:""}.chip--positive:before{background:var(--color-positive-vivid)}.chip--warning:before{background:var(--color-warning-vivid)}.chip--negative:before{background:var(--color-negative-vivid)}.wealth{gap:var(--space-7);padding:var(--space-5) var(--space-6);border-radius:var(--radius-lg);background:var(--color-brand);color:var(--color-on-brand);grid-template-columns:2fr 1fr;align-items:start;display:grid}.wealth__total{gap:var(--space-3);flex-direction:column;min-width:0;display:flex}.wealth__eyebrow{color:var(--color-on-brand-muted);font-size:var(--text-sm);font-weight:var(--weight-semibold);letter-spacing:.06em;text-transform:uppercase}.wealth__figure{font-size:calc(var(--text-3xl) * 1.35);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;letter-spacing:-.02em;line-height:1}.wealth__detail{color:var(--color-on-brand-muted);font-variant-numeric:tabular-nums}.wealth__detail strong{color:var(--color-on-brand)}.wealth__accounts{flex-direction:column;min-width:0;display:flex}.wealth__account{justify-content:space-between;gap:var(--space-4);padding:var(--space-2) 0;border-bottom:1px solid var(--ink-600);color:var(--color-on-brand-muted);font-size:var(--text-sm);display:flex}.wealth__account:last-child{border-bottom:0}.wealth__account .num{color:var(--color-on-brand);font-weight:var(--weight-semibold);white-space:nowrap}.wealth__accounts .wealth__eyebrow{padding-bottom:var(--space-2)}.wealth__account{font-size:var(--text-md)}.wealth__note{margin-top:var(--space-3);color:var(--color-on-brand-muted);font-size:var(--text-xs)}.trend{margin:var(--space-3) 0 0}.trend__plot{height:calc(var(--space-7) * 2.5);margin:var(--space-2) var(--space-2) 0;position:relative}.trend__plot svg{width:100%;height:100%;display:block;overflow:visible}.trend__line{fill:none;stroke:var(--color-accent-light);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.trend__area{fill:var(--color-accent-light);opacity:.1}.trend__dot{width:var(--space-3);height:var(--space-3);border:2px solid var(--ink-800);border-radius:var(--radius-full);background:var(--color-accent-light);pointer-events:none;position:absolute;transform:translate(-50%,-50%)}.trend__tooltip{padding:var(--space-1) var(--space-3);border-radius:var(--radius-sm);background:var(--color-surface);box-shadow:var(--shadow-md);color:var(--color-text);font-size:var(--text-sm);font-weight:var(--weight-semibold);font-variant-numeric:tabular-nums;white-space:nowrap;transform:translate(-50%, calc(-100% - var(--space-3)));pointer-events:none;flex-direction:column;display:flex;position:absolute}.trend__tooltip[data-edge=start]{transform:translate(0, calc(-100% - var(--space-3)))}.trend__tooltip[data-edge=end]{transform:translate(-100%, calc(-100% - var(--space-3)))}.trend__tooltip-label{color:var(--color-text-muted);font-size:var(--text-xs);font-weight:var(--weight-regular)}.trend__hits{inset:0 calc(var(--space-4) * -1);display:flex;position:absolute}.trend__hit{cursor:default;background:0 0;border:0;flex:1;padding:0}.trend__axis{margin-top:var(--space-2);color:var(--color-on-brand-muted);font-size:var(--text-xs);justify-content:space-between;display:flex}.trend__tick{white-space:nowrap;justify-content:center;width:0;display:flex}.trend__axis .trend__tick{margin:0 var(--space-2)}.trend__tick--active{color:var(--color-on-brand);font-weight:var(--weight-semibold)}.wealth-value{white-space:nowrap;flex-direction:column;align-items:flex-end;display:flex}.wealth-value__gain{font-size:var(--text-sm)}@media (max-width:760px){.wealth{gap:var(--space-4);padding:var(--space-4);grid-template-columns:1fr}.wealth__figure{font-size:var(--text-3xl)}}.bucket-grid{grid-template-columns:repeat(auto-fill, minmax(calc(var(--space-7) * 6), 1fr));gap:var(--space-4);align-items:start;display:grid}.bucket{border-top:var(--space-1) solid var(--color-border-strong);border-radius:var(--radius-lg);background:var(--color-surface);flex-direction:column;display:flex;overflow:hidden}.bucket--positive{border-top-color:var(--color-positive-vivid)}.bucket--warning{border-top-color:var(--color-warning-vivid)}.bucket--negative{border-top-color:var(--color-negative-vivid)}.bucket__main{grid-template-columns:calc(var(--space-7) * 1.75) 1fr;gap:var(--space-4);padding:var(--space-4);align-items:center;display:grid}.bucket__info{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.bucket__title{font-weight:var(--weight-semibold)}.bucket__figure{font-size:var(--text-lg);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;line-height:var(--leading-tight);white-space:nowrap}.bucket--positive .bucket__figure{color:var(--color-positive)}.bucket--warning .bucket__figure{color:var(--color-warning)}.bucket--negative .bucket__figure{color:var(--color-negative)}.bucket__caption{color:var(--color-text-muted);font-size:var(--text-sm);font-variant-numeric:tabular-nums}.bucket__details>summary{padding:var(--space-2) var(--space-4);border-top:1px solid var(--color-border);color:var(--color-text-muted);font-size:var(--text-sm);font-weight:var(--weight-medium);cursor:pointer;justify-content:space-between;align-items:center;list-style:none;display:flex}.bucket__details>summary::-webkit-details-marker{display:none}.bucket__details>summary:hover{color:var(--color-text)}.bucket__details[open]>summary svg{transform:rotate(180deg)}.bucket__rows{gap:var(--space-3);padding:var(--space-2) var(--space-4) var(--space-4);flex-direction:column;display:flex}.bucket__row{gap:var(--space-1) var(--space-3);color:inherit;font-size:var(--text-sm);grid-template-columns:1fr auto;align-items:baseline;text-decoration:none;display:grid}.bucket__row .bar{grid-column:1/-1}.bucket__row-name{font-weight:var(--weight-medium);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bucket__row-amounts{color:var(--color-text-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.bucket__row:hover .bucket__row-name{text-decoration:underline}.legend{gap:var(--space-2) var(--space-4);color:var(--color-text-muted);font-size:var(--text-sm);flex-wrap:wrap;display:flex}.legend__item{align-items:center;gap:var(--space-2);display:inline-flex}@media (max-width:760px){.budget-hero{grid-template-columns:calc(var(--space-7) * 2.25) 1fr;gap:var(--space-4);padding:var(--space-4)}.budget-hero__figure{font-size:var(--text-3xl)}}.text-over{color:var(--color-negative);font-weight:var(--weight-semibold)}.input--amount{width:calc(var(--space-7) * 2);text-align:right;font-variant-numeric:tabular-nums;flex:none}.toolbar{align-items:flex-end;gap:var(--space-3);padding:var(--space-4);border-radius:var(--radius-lg);background:linear-gradient(var(--color-surface), var(--color-surface)) padding-box, var(--gradient-brand) border-box;border:2px solid #0000;flex-wrap:wrap;display:flex}.toolbar>.field{flex:9rem}.toolbar>.toolbar__search{flex:3 16rem}.toolbar__spacer{flex:1 1 0}.toolbar__group{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.toolbar__row{flex-basis:100%}.toolbar__label{min-width:9rem;font-size:var(--text-lg);font-weight:var(--weight-semibold);text-align:center}.toolbar__label:first-letter{text-transform:uppercase}.btn--icon{width:var(--control-height);padding:0}.pill{align-items:center;gap:var(--space-2);height:var(--control-height);padding:0 var(--space-4);border-radius:var(--radius-full);background:var(--color-control);color:var(--color-text);font-size:var(--text-sm);font-weight:var(--weight-semibold);white-space:nowrap;display:inline-flex}.pill:hover{background:var(--gray-200);text-decoration:none}.pill--active,.pill--active:hover{background:var(--color-brand);color:var(--color-on-brand)}.pill__count{color:var(--color-accent)}.pill--active .pill__count{color:var(--color-accent-light)}.option-grid{grid-template-columns:repeat(auto-fill, minmax(calc(var(--space-7) * 5.5), 1fr));gap:var(--space-4);display:grid}.option{gap:var(--space-2);padding:var(--space-5);border-radius:var(--radius-lg);background:var(--color-surface);color:var(--color-text);transition:box-shadow var(--transition);flex-direction:column;display:flex}.option:hover{box-shadow:var(--shadow-md);text-decoration:none}.option__icon{width:var(--space-7);height:var(--space-7);margin-bottom:var(--space-2);border-radius:var(--radius-full);background:var(--color-accent-soft);color:var(--color-accent);place-items:center;display:grid}.option__title{align-items:center;gap:var(--space-2);font-size:var(--text-lg);font-weight:var(--weight-semibold);display:flex}.option__text{color:var(--color-text-muted);font-size:var(--text-sm)}.wealth,.budget-hero,.card--brand{--color-on-brand-muted:var(--color-on-hero-muted);background:var(--gradient-hero);box-shadow:var(--shadow-hero);color:var(--color-on-brand)}.card--brand .stat__hint{color:var(--color-on-hero-muted)}.card--brand .bar,.budget-hero .ring-gauge__track{background:var(--color-on-hero-fill);stroke:var(--color-on-hero-fill)}.budget-hero .ring-gauge{--ring:var(--white);--ring-strong:var(--color-on-hero-muted)}.budget-hero__figure--positive,.budget-hero__figure--warning,.budget-hero__figure--negative{color:var(--color-on-brand)}.wealth .chip,.budget-hero .chip{background:var(--color-on-hero-fill)}.budget-hero .chip:before{box-shadow:0 0 0 2px var(--white)}.wealth__account{border-bottom-color:var(--color-on-hero-line)}.wealth .trend__line{stroke:var(--white)}.wealth .trend__area{fill:var(--white);opacity:.16}.wealth .trend__dot{border-color:var(--hero-to);background:var(--white)}.split-bar{height:var(--space-5);gap:2px;display:flex}.split-bar__part{min-width:var(--space-1);border-radius:var(--radius-sm)}.split-bar__part--1{background:var(--chart-1)}.split-bar__part--2{background:var(--chart-2)}.split-legend{gap:var(--space-4);margin-top:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.split-legend__item{gap:var(--space-1);padding-left:var(--space-3);border-left:var(--space-1) solid var(--color-border-strong);flex-direction:column;display:flex}.split-legend__item--1{border-left-color:var(--chart-1)}.split-legend__item--2{border-left-color:var(--chart-2)}.advisor{z-index:40;background:var(--color-surface);width:min(100vw,27rem);box-shadow:var(--shadow-lg);flex-direction:column;display:flex;position:fixed;top:0;bottom:0;right:0}.advisor__header{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);display:flex}.advisor__title{align-items:center;gap:var(--space-2);font-size:var(--text-lg);font-weight:var(--weight-semibold);display:inline-flex}.advisor__title svg{color:var(--color-accent)}.advisor__actions{gap:var(--space-1);display:flex}.advisor__body{gap:var(--space-3);padding:var(--space-4);flex-direction:column;flex:1;display:flex;overflow-y:auto}.advisor__welcome{gap:var(--space-2);color:var(--color-text-muted);flex-direction:column;display:flex}.advisor__welcome p{margin-bottom:var(--space-2)}.advisor__suggestion{padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--color-control);color:var(--color-text);font-size:var(--text-sm);font-weight:var(--weight-medium);text-align:left;cursor:pointer;border:0}.advisor__suggestion:hover{background:var(--gray-200)}.advisor__suggestion--accent{background:var(--color-accent-soft);color:var(--color-accent-hover)}.advisor__msg{gap:var(--space-2);overflow-wrap:anywhere;flex-direction:column;max-width:100%;display:flex}.advisor__msg ul{padding-left:var(--space-5);margin:0}.advisor__msg li+li{margin-top:var(--space-1)}.advisor__msg--user{max-width:85%;padding:var(--space-2) var(--space-4);border-radius:var(--radius-lg);background:var(--color-brand);color:var(--color-on-brand);white-space:pre-wrap;align-self:flex-end}.advisor__note{align-items:center;gap:var(--space-2);color:var(--color-text-muted);font-size:var(--text-sm);display:flex}.advisor__note--error{color:var(--color-negative)}.advisor__meta{margin:var(--space-2) 0 0;color:var(--color-text-muted);font-size:var(--text-xs)}.advisor__modes{padding:var(--space-3) var(--space-4) 0;border-top:1px solid var(--color-border);justify-content:center;display:flex}.advisor__modes .segmented__item{cursor:pointer;font:inherit;font-size:var(--text-sm);font-weight:var(--weight-semibold);background:0 0;border:0}.advisor__modes .segmented__item--active{background:var(--color-surface)}.advisor__steps ol{gap:var(--space-1);margin:var(--space-1) 0 0;flex-direction:column;padding:0;list-style:none;display:flex}.advisor__step{align-items:center;gap:var(--space-2);color:var(--color-text-muted);font-size:var(--text-sm);display:flex}.advisor__step--running{color:var(--color-text)}.advisor__step-time{white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto}.advisor__deeper{align-items:center;gap:var(--space-1);margin-top:var(--space-2);color:var(--color-accent);font:inherit;font-size:var(--text-sm);font-weight:var(--weight-semibold);cursor:pointer;background:0 0;border:0;padding:0;display:inline-flex}.advisor__deeper:hover{text-decoration:underline}.advisor__form{align-items:flex-end;gap:var(--space-2);padding:var(--space-3) var(--space-4) var(--space-4);display:flex}.advisor__input{min-height:var(--control-height);resize:none;flex:1}.advisor__history{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.advisor__history li{align-items:center;gap:var(--space-2);border-bottom:1px solid var(--color-border);display:flex}.advisor__history-item{min-width:0;padding:var(--space-3) 0;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:flex-start;display:flex}.advisor__history-item .truncate{max-width:100%;font-weight:var(--weight-medium)}.insights{grid-template-columns:repeat(auto-fill, minmax(calc(var(--space-7) * 6), 1fr));gap:var(--space-4);display:grid}.insight{gap:var(--space-2);padding:var(--space-4);border-left:var(--space-1) solid var(--color-border-strong);border-radius:var(--radius-md);background:var(--color-surface-alt);flex-direction:column;display:flex}.insight--opportunity{border-left-color:var(--color-positive-vivid)}.insight--warning{border-left-color:var(--color-warning-vivid)}.insight__head{justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.insight__title{font-size:var(--text-md);font-weight:var(--weight-semibold);line-height:var(--leading-tight);margin:0}.insight__body{color:var(--color-text-muted);font-size:var(--text-sm);flex:1}.insight__actions{gap:var(--space-2);margin-top:var(--space-1);display:flex}.edge-tab{align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-2);border-radius:var(--radius-md) 0 0 var(--radius-md);color:var(--color-on-brand);font-size:var(--text-sm);font-weight:var(--weight-semibold);cursor:pointer;border:0;flex-direction:column;display:flex}.edge-tab--insights{background:var(--gradient-hero);box-shadow:var(--shadow-hero)}.edge-tab--advisor{background:var(--color-brand);box-shadow:var(--shadow-md)}.edge-tab__label{writing-mode:vertical-rl}.edge-tab__count{width:var(--space-5);height:var(--space-5);border-radius:var(--radius-full);background:var(--white);color:var(--color-accent);font-size:var(--text-xs);place-items:center;display:grid}.advisor-tab{top:calc(50% + var(--space-2));z-index:25;position:fixed;right:0}.insight-peek{right:0;bottom:calc(50% + var(--space-2));z-index:26;align-items:flex-end;display:flex;position:fixed}.insight-peek__panel{width:0;max-height:calc(50dvh - var(--space-5));border-radius:var(--radius-lg) 0 0 var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-lg);transition:width var(--transition);overflow:hidden auto}.insight-peek:hover .insight-peek__panel,.insight-peek:focus-within .insight-peek__panel,.insight-peek--open .insight-peek__panel{width:min(calc(var(--space-7) * 8), 80vw)}.insight-peek__content{gap:var(--space-3);width:min(calc(var(--space-7) * 8), 80vw);padding:var(--space-4);flex-direction:column;display:flex}.insight-peek__title{font-size:var(--text-lg);font-weight:var(--weight-semibold);margin:0}.insight-peek .insights{grid-template-columns:minmax(0,1fr)}.chart{margin:0}.chart__svg{width:100%;height:auto;display:block;overflow:visible}.chart__grid{stroke:var(--color-border);stroke-width:1px}.chart__grid--year{stroke-dasharray:2 4}.chart__tick{fill:var(--color-text-subtle);font-size:var(--text-xs)}.chart__band{fill:var(--gray-100)}.chart__limits path{fill:none;stroke:var(--gray-500);stroke-width:1.5px;stroke-dasharray:5 4;opacity:.7}.chart__limit-label{fill:var(--color-text-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold)}.chart__value{fill:var(--color-text);font-size:var(--text-xs);font-weight:var(--weight-semibold);paint-order:stroke;stroke:var(--color-surface);stroke-width:3px}.chart__value--out{fill:var(--color-negative)}.chart__line{fill:none;stroke:var(--chart-1);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.chart__dot{fill:var(--color-surface);stroke:var(--chart-1);stroke-width:2px}.chart__series--2 .chart__line,.chart__series--2 .chart__dot{stroke:var(--chart-2)}.chart__dot--out{fill:var(--color-negative-vivid);stroke:var(--color-negative)}.chart a .chart__dot{cursor:pointer}.chart a:hover .chart__dot,.chart a:focus-visible .chart__dot{stroke-width:4px}.chart__span rect{fill:var(--color-info-soft);stroke:var(--color-info-vivid);stroke-width:1px}.chart__span text{fill:var(--color-info);font-size:var(--text-2xs);font-weight:var(--weight-semibold)}.chart__legend{gap:var(--space-2) var(--space-4);margin-top:var(--space-2);color:var(--color-text-muted);font-size:var(--text-xs);flex-wrap:wrap;display:flex}.chart__legend-item{align-items:center;gap:var(--space-2);display:inline-flex}.chart__swatch{width:var(--space-3);height:var(--space-3);border-radius:var(--radius-full);display:inline-block}.chart__swatch--band{border-radius:var(--radius-sm);border:1px dashed var(--gray-500);background:var(--gray-100)}.chart__swatch--out{background:var(--color-negative-vivid)}.sparkline{width:calc(var(--space-7) * 2);height:var(--space-6);display:block;overflow:visible}.sparkline__band rect{fill:var(--gray-100)}.sparkline__band line{stroke:var(--gray-500);stroke-width:1px;stroke-dasharray:3 2;vector-effect:non-scaling-stroke}.sparkline polyline{fill:none;stroke:var(--color-accent-light);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.dropzone{align-items:center;gap:var(--space-2);padding:var(--space-5) var(--space-4);border:2px dashed var(--color-border-strong);border-radius:var(--radius-md);background:var(--color-surface-alt);color:var(--color-text-muted);text-align:center;cursor:pointer;transition:border-color var(--transition), background var(--transition);flex-direction:column;display:flex}.dropzone:hover,.dropzone--over,.dropzone:focus-within{border-color:var(--color-accent);background:var(--color-accent-soft)}.dropzone__title{color:var(--color-text);font-weight:var(--weight-semibold)}.dropzone__icon{color:var(--color-accent)}.doc-split{gap:var(--space-4);grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;display:grid}.doc-viewer{top:var(--space-4);width:100%;height:calc(100dvh - var(--space-7));min-height:calc(var(--space-7) * 8);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);display:block;position:sticky}img.doc-viewer{object-fit:contain;height:auto;min-height:0}@media (max-width:1100px){.doc-split{grid-template-columns:minmax(0,1fr)}.doc-viewer{height:70dvh;position:static}}.table tr:target{background:var(--color-accent-soft)}.source{color:var(--color-text-muted);font-family:var(--font-mono);font-size:var(--text-xs)}.profile-switch{padding:0 var(--space-4) var(--space-3)}.profile-switch .select{width:100%;font-weight:var(--weight-semibold)}.inline-form{align-items:flex-end;gap:var(--space-3);flex-wrap:wrap;display:flex}.inline-form .field{flex:8rem;min-width:0}.result-row{gap:var(--space-3) var(--space-4);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:start;display:grid}.result-row:last-child{border-bottom:0}.result-row:target{background:var(--color-accent-soft)}.result-row--discarded{opacity:.6}.result-row .select{width:100%}.result-value{gap:var(--space-2);display:flex}.result-value .input{flex:1 1 0;min-width:0}.result-actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}@media (max-width:700px){.result-row{grid-template-columns:minmax(0,1fr)}}.timeline{flex-direction:column;display:flex}.timeline__item{grid-template-columns:calc(var(--space-7) * 2) var(--space-5) minmax(0, 1fr);gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);align-items:start;display:grid}.timeline__item:last-child{border-bottom:0}.timeline__date{color:var(--color-text-muted);font-size:var(--text-sm);font-variant-numeric:tabular-nums}.timeline__icon{color:var(--color-accent)}.timeline__icon--info{color:var(--color-info-vivid)}.timeline__icon--warning{color:var(--color-warning)}@media (max-width:700px){.timeline__item{grid-template-columns:var(--space-5) minmax(0, 1fr)}.timeline__date{grid-area:1/2}.timeline__icon{grid-row:1/span 2}}.intensity{align-items:center;gap:var(--space-2);font-variant-numeric:tabular-nums;display:inline-flex}.intensity__bar{width:var(--space-7);height:var(--space-2);border-radius:var(--radius-full);background:var(--color-control);display:inline-block;overflow:hidden}.intensity__fill{border-radius:var(--radius-full);background:var(--color-warning-vivid);height:100%;display:block}.intensity__fill--high{background:var(--color-negative-vivid)}.dropzone--busy{cursor:progress;border-color:var(--color-accent);background:var(--color-accent-soft)}.dropzone__icon .spinner--inline{font-size:var(--text-2xl)}.upload-list{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.upload-item{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);display:flex}.upload-item:last-child{border-bottom:0}.upload-item__icon{color:var(--color-text-subtle);flex:none;display:inline-flex}.upload-item--positive .upload-item__icon{color:var(--color-positive)}.upload-item--warning .upload-item__icon{color:var(--color-warning)}.upload-item--negative .upload-item__icon{color:var(--color-negative)}.upload-item__main{flex-direction:column;flex:1;min-width:0;display:flex}.upload-item__name{font-weight:var(--weight-semibold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.upload-item__status{color:var(--color-text-muted);font-size:var(--text-sm)}.upload-item__time{color:var(--color-text-subtle);font-size:var(--text-sm);font-variant-numeric:tabular-nums;flex:none}.summary{gap:var(--space-5);flex-direction:column;display:flex}.summary section{gap:var(--space-3);flex-direction:column;display:flex}.summary__title{color:var(--color-text-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);letter-spacing:.04em;text-transform:uppercase;margin:0}.summary-block p{line-height:var(--leading-normal);margin:0}.summary__list{gap:var(--space-2);padding-left:var(--space-5);flex-direction:column;margin:0;display:flex}.source-link{align-items:center;gap:var(--space-1);color:var(--color-text-subtle);font-size:var(--text-xs);display:inline-flex}.source-link:hover{color:var(--color-accent)}.review-group{gap:var(--space-2);flex-direction:column;display:flex}.review-item{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-3);padding:var(--space-2) var(--space-3);border:1px solid var(--color-border);border-left:3px solid var(--color-accent);border-radius:var(--radius-sm);flex-wrap:wrap;display:flex}.review-item--context{border-left-color:var(--color-border-strong);background:var(--color-surface-alt);color:var(--color-text-muted)}.review-item__text{flex:14rem;min-width:0}.review-item__text .source-link{margin-left:var(--space-2)}.scope-toggle{border-radius:var(--radius-full);background:var(--color-control);border:0;flex:none;margin:0;padding:2px;display:inline-flex}.scope-toggle__option{padding:var(--space-1) var(--space-3);border-radius:var(--radius-full);color:var(--color-text-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);cursor:pointer}.scope-toggle__option input{opacity:0;pointer-events:none;position:absolute}.scope-toggle__option:has(input:checked){background:var(--color-surface);box-shadow:var(--shadow-sm);color:var(--color-text)}.scope-toggle__option:has(input:focus-visible){outline:2px solid var(--color-focus);outline-offset:1px}.dropzone--blocked{cursor:default;border-color:var(--color-border)}.dropzone--blocked:hover{border-color:var(--color-border);background:var(--color-surface-alt)}.review-item__select{flex:0 15rem;min-width:10rem}.review-item--discarded{border-left-color:var(--color-negative-light);background:var(--color-surface-alt);color:var(--color-text-subtle)}.review-item--discarded .review-item__text{text-decoration:line-through}.life-graph{margin:0}.life-graph__toolbar{justify-content:flex-end;align-items:center;gap:var(--space-3);margin-bottom:var(--space-3);flex-wrap:wrap;display:flex}.life-graph__toolbar .segmented{max-width:100%;overflow-x:auto}.life-graph__scroller{scrollbar-width:thin;border-radius:var(--radius-md);background:radial-gradient(120% 80% at 50% 50%, var(--color-surface), var(--color-surface-alt));overflow:auto hidden}.life-graph__canvas{position:relative}.life-graph__svg{display:block;overflow:visible}.life-graph__branch--c1{--branch:var(--series-1)}.life-graph__branch--c2{--branch:var(--series-2)}.life-graph__branch--c3{--branch:var(--series-3)}.life-graph__branch--c4{--branch:var(--series-4)}.life-graph__branch--c5{--branch:var(--series-5)}.life-graph__branch--c6{--branch:var(--series-6)}.life-graph__branch--c7{--branch:var(--series-7)}.life-graph__branch--c8{--branch:var(--series-8)}.life-graph__grid{stroke:var(--color-border);stroke-width:1px;stroke-dasharray:1 6;stroke-linecap:round}.life-graph__spine-past{stroke:var(--ink-800);stroke-width:5px;stroke-linecap:round}.life-graph__spine-future{stroke:var(--color-border-strong);stroke-width:3px;stroke-dasharray:2 7;stroke-linecap:round}.life-graph__month{stroke:var(--color-border-strong);stroke-width:1.5px;stroke-linecap:round}.life-graph__year-dot{fill:var(--color-surface);stroke:var(--ink-800);stroke-width:2.5px}.life-graph__year{fill:var(--color-text);font-size:var(--text-sm);font-weight:var(--weight-bold);letter-spacing:.02em}.life-graph__age{fill:var(--color-text-subtle);font-size:var(--text-xs)}.life-graph__today text{fill:var(--color-negative);font-size:var(--text-xs);font-weight:var(--weight-bold);text-transform:uppercase;letter-spacing:.08em}.life-graph__today-ring{fill:var(--color-surface);stroke:var(--color-negative-vivid);stroke-width:2px}.life-graph__today-dot{fill:var(--color-negative-vivid)}.life-graph__branch{cursor:pointer}.life-graph__halo{fill:none;stroke:var(--branch);stroke-width:14px;stroke-linecap:round;stroke-linejoin:round;opacity:.1;transition:opacity var(--transition)}.life-graph__line{fill:none;stroke:var(--branch);stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0;animation:1.1s ease-out both life-graph-draw}.life-graph__branch:hover .life-graph__halo{opacity:.22}.life-graph__node{fill:var(--color-surface);stroke:var(--branch);stroke-width:2.5px}.life-graph__end{fill:var(--branch)}.life-graph__pulse{fill:var(--branch);opacity:.35;transform-box:fill-box;transform-origin:50%;animation:2.2s ease-out infinite life-graph-pulse}.life-graph__mark .life-graph__group{fill:var(--branch);stroke:var(--color-surface);stroke-width:1.5px}.life-graph__mark .life-graph__cluster{transition:transform var(--transition)}.life-graph__mark:hover .life-graph__cluster,.life-graph__mark:focus-visible .life-graph__cluster{transform:scale(1.25)}.life-graph__group-count{fill:var(--color-surface);font-size:8px;font-weight:var(--weight-bold);pointer-events:none}.life-graph__title{fill:color-mix(in srgb, var(--branch) 78%, var(--color-text));font-size:var(--text-md);font-weight:var(--weight-bold)}.life-graph__period{fill:var(--color-text-muted);font-size:var(--text-xs)}.life-graph__label-link:hover .life-graph__title,.life-graph__label-link:focus-visible .life-graph__title{text-decoration:underline}.life-graph__mark{cursor:pointer}.life-graph__mark circle:not(.life-graph__hit),.life-graph__mark rect,.life-graph__mark path{fill:var(--branch);stroke:var(--color-surface);stroke-width:3px}.life-graph__mark--event circle:not(.life-graph__hit){fill:var(--color-surface);stroke:var(--branch);stroke-width:4.5px}.life-graph__hit{fill:#0000;stroke:none}.life-graph__mark .life-graph__icon,.life-graph__mark .life-graph__cluster{transform-box:fill-box;transform-origin:50%}.life-graph__mark .life-graph__icon{transition:transform var(--transition)}.life-graph__mark:hover .life-graph__icon,.life-graph__mark:focus-visible .life-graph__icon{transform:scale(.8)}.life-graph__mark:focus-visible{outline:none}.life-graph__tip{z-index:2;width:max-content;max-width:18rem;padding:var(--space-3) var(--space-4);border-top:3px solid var(--branch);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-lg);pointer-events:none;animation:.12s ease-out life-graph-tip;position:absolute;transform:translate(-50%,-100%)}.life-graph__tip--below{transform:translate(-50%)}.life-graph__tip-title{color:var(--color-text);font-weight:var(--weight-bold)}.life-graph__tip-subtitle{color:color-mix(in srgb, var(--branch) 78%, var(--color-text));font-size:var(--text-xs);font-weight:var(--weight-semibold)}.life-graph__tip-lines{margin:var(--space-2) 0 0;color:var(--color-text);font-size:var(--text-sm);flex-direction:column;gap:2px;padding:0;list-style:none;display:flex}.life-graph__tip-line--negative{color:var(--color-negative);font-weight:var(--weight-semibold)}.life-graph__tip-line--muted{color:var(--color-text-muted)}.life-graph__legend{align-items:center;gap:var(--space-2) var(--space-4);margin-top:var(--space-3);color:var(--color-text-muted);font-size:var(--text-xs);flex-wrap:wrap;display:flex}.life-graph__legend-item{align-items:center;gap:var(--space-1);display:inline-flex}.life-graph__legend-icon>*{fill:var(--color-text-muted)}.life-graph__legend-icon circle{fill:none;stroke:var(--color-text-muted);stroke-width:3px}.life-graph__legend-hint{color:var(--color-text-subtle);margin-left:auto}@keyframes life-graph-draw{0%{stroke-dashoffset:1px}}@keyframes life-graph-pulse{0%{opacity:.45;transform:scale(1)}to{opacity:0;transform:scale(2.6)}}@keyframes life-graph-tip{0%{opacity:0}}@media (prefers-reduced-motion:reduce){.life-graph__line,.life-graph__pulse,.life-graph__tip{animation:none}}.chips{gap:var(--space-2);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.chip-item{align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-1) var(--space-1) var(--space-3);border-radius:var(--radius-full);background:var(--color-control);font-size:var(--text-sm);display:inline-flex}.chip-item form{display:inline-flex}.timeline__item--form{background:var(--color-surface);display:block}.change-dose{margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px dashed var(--color-border-strong)}.dialog{width:min(640px, calc(100vw - 2 * var(--space-4)));max-height:calc(100dvh - 2 * var(--space-6));border-radius:var(--radius-lg);background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-lg);border:0;padding:0;overflow:auto}.dialog::backdrop{background:var(--color-scrim)}.dialog[open]{animation:dialog-in var(--transition) both}@keyframes dialog-in{0%{opacity:0;transform:translateY(var(--space-2)) scale(.98)}}.dialog__header{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--color-border);display:flex}.dialog__title{font-size:var(--text-lg);font-weight:var(--weight-semibold);letter-spacing:-.01em}.dialog__body{padding:var(--space-5)}@media (prefers-reduced-motion:reduce){.dialog[open]{animation:none}}.doctor{z-index:40;background:var(--color-surface);width:min(100vw,27rem);box-shadow:var(--shadow-lg);flex-direction:column;display:flex;position:fixed;top:0;bottom:0;right:0}.doctor__header{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);display:flex}.doctor__title{align-items:center;gap:var(--space-2);font-size:var(--text-lg);font-weight:var(--weight-semibold);display:inline-flex}.doctor__title svg{color:var(--color-accent)}.doctor__actions{gap:var(--space-1);display:flex}.doctor__body{gap:var(--space-3);padding:var(--space-4);flex-direction:column;flex:1;display:flex;overflow-y:auto}.doctor__welcome{gap:var(--space-2);color:var(--color-text-muted);flex-direction:column;display:flex}.doctor__welcome p{margin-bottom:var(--space-2)}.doctor__suggestion{padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--color-control);color:var(--color-text);font-size:var(--text-sm);font-weight:var(--weight-medium);text-align:left;cursor:pointer;border:0}.doctor__suggestion:hover{background:var(--gray-200)}.doctor__suggestion--accent{background:var(--color-accent-soft);color:var(--color-accent-hover)}.doctor__msg{gap:var(--space-2);overflow-wrap:anywhere;flex-direction:column;max-width:100%;display:flex}.doctor__msg ul{padding-left:var(--space-5);margin:0}.doctor__msg li+li{margin-top:var(--space-1)}.doctor__msg--user{max-width:85%;padding:var(--space-2) var(--space-4);border-radius:var(--radius-lg);background:var(--color-brand);color:var(--color-on-brand);white-space:pre-wrap;align-self:flex-end}.doctor__note{align-items:center;gap:var(--space-2);color:var(--color-text-muted);font-size:var(--text-sm);display:flex}.doctor__note--error{color:var(--color-negative)}.doctor__meta{margin:var(--space-2) 0 0;color:var(--color-text-muted);font-size:var(--text-xs)}.doctor__steps{gap:var(--space-1);margin:var(--space-1) 0 0;flex-direction:column;padding:0;list-style:none;display:flex}.doctor__step{align-items:center;gap:var(--space-2);color:var(--color-text-muted);font-size:var(--text-sm);display:flex}.doctor__step--running{color:var(--color-text)}.doctor__step-time{white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto}.doctor__deeper{align-items:center;gap:var(--space-1);margin-top:var(--space-2);color:var(--color-accent);font:inherit;font-size:var(--text-sm);font-weight:var(--weight-semibold);cursor:pointer;background:0 0;border:0;padding:0;display:inline-flex}.doctor__deeper:hover{text-decoration:underline}.doctor__form{align-items:flex-end;gap:var(--space-2);padding:var(--space-3) var(--space-4) var(--space-4);display:flex}.doctor__input{min-height:var(--control-height);resize:none;flex:1}.doctor__history{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.doctor__history li{align-items:center;gap:var(--space-2);border-bottom:1px solid var(--color-border);display:flex}.doctor__history-item{min-width:0;padding:var(--space-3) 0;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:flex-start;display:flex}.doctor__history-item .truncate{max-width:100%;font-weight:var(--weight-medium)}.doctor__who{color:var(--color-text-muted);font-weight:var(--weight-medium)}.doctor__disclaimer{margin-top:var(--space-2);color:var(--color-text-subtle);font-size:var(--text-xs)}.doctor__form{border-top:1px solid var(--color-border)}.doctor-tab{z-index:25;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-2);border-radius:var(--radius-md) 0 0 var(--radius-md);background:var(--color-brand);box-shadow:var(--shadow-md);color:var(--color-on-brand);font-size:var(--text-sm);font-weight:var(--weight-semibold);cursor:pointer;border:0;flex-direction:column;display:flex;position:fixed;top:50%;right:0;transform:translateY(-50%)}.doctor-tab__label{writing-mode:vertical-rl}.ask-doctor{width:var(--space-6);height:var(--space-6);border:1px solid var(--color-border-strong);border-radius:var(--radius-full);background:var(--color-surface);color:var(--color-text-muted);font:inherit;font-size:var(--text-sm);font-weight:var(--weight-bold);cursor:pointer;transition:background var(--transition), color var(--transition), border-color var(--transition);flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.ask-doctor:hover,.ask-doctor:focus-visible{border-color:var(--color-brand);background:var(--color-brand);color:var(--color-on-brand)}.result-row__name{justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.doctor__proposal{gap:var(--space-2);padding:var(--space-3) var(--space-4);border:1px solid var(--color-border-strong);border-left:3px solid var(--color-info-vivid);border-radius:var(--radius-md);background:var(--color-surface-alt);font-size:var(--text-sm);flex-direction:column;display:flex}.doctor__proposal-label{align-items:center;gap:var(--space-1);color:var(--color-text-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);text-transform:uppercase;letter-spacing:.04em;display:inline-flex}.doctor__proposal-status{align-items:center;gap:var(--space-1);color:var(--color-text-muted);font-weight:var(--weight-semibold);display:inline-flex}.doctor__proposal--applied{border-left-color:var(--color-positive)}.doctor__proposal--applied .doctor__proposal-status{color:var(--color-positive)}.doctor__proposal--dismissed{border-left-color:var(--color-border-strong);opacity:.75}.doctor__proposal--failed{border-left-color:var(--color-negative)}.doctor__proposal--failed .doctor__proposal-status{color:var(--color-negative)}.landing{background:var(--color-bg);flex-direction:column;min-height:100dvh;display:flex}.landing__bar{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-4) var(--space-5);display:flex}.landing__brand{align-items:center;gap:var(--space-2);font-weight:700;font-size:var(--text-lg);color:var(--color-heading);text-decoration:none;display:inline-flex}.landing__main{width:100%;max-width:64rem;padding:var(--space-5);gap:var(--space-6);flex-direction:column;flex:1;margin:0 auto;display:flex}.landing__hero{align-items:flex-start;gap:var(--space-4);padding:var(--space-6) 0 var(--space-4);flex-direction:column;display:flex}.landing__title{font-size:var(--text-3xl);line-height:var(--leading-tight);color:var(--color-heading);margin:0}.landing__lead{max-width:42rem;font-size:var(--text-lg);line-height:var(--leading-normal);color:var(--color-text-muted);margin:0}.landing__actions{flex-wrap:wrap}.landing__features{gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));display:grid}.landing__narrow{width:100%;max-width:30rem;padding-top:var(--space-6);margin:0 auto}.landing__footer{padding:var(--space-5);text-align:center;font-size:var(--text-sm);color:var(--color-text-muted)}.prose{gap:var(--space-3);line-height:var(--leading-normal);flex-direction:column;display:flex}.prose p,.prose ul,.prose ol{margin:0}.prose ul,.prose ol{padding-left:var(--space-5);gap:var(--space-2);flex-direction:column;display:flex}.prose strong{color:var(--color-heading)}.cite{align-items:center;gap:var(--space-1);padding:0 var(--space-2);border-radius:var(--radius-full);background:var(--color-control);color:var(--color-text-muted);font-size:var(--text-xs);font-weight:var(--weight-medium);white-space:nowrap;vertical-align:baseline;text-decoration:none;display:inline-flex}.cite:hover{background:var(--color-accent-soft);color:var(--color-accent-hover)}.summary__toolbar{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.summary__sheet{gap:var(--space-5);padding:var(--space-6);border-radius:var(--radius-lg);background:var(--color-surface);flex-direction:column;display:flex}.summary__head{justify-content:space-between;align-items:flex-end;gap:var(--space-4);padding-bottom:var(--space-4);border-bottom:2px solid var(--color-text);flex-wrap:wrap;display:flex}.summary__kicker{color:var(--color-text-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);letter-spacing:.06em;text-transform:uppercase}.summary__name{font-size:var(--text-2xl);font-weight:var(--weight-bold)}.summary__meta{color:var(--color-text-muted);font-size:var(--text-xs);text-align:right}.summary__section{gap:var(--space-2);break-inside:avoid-page;flex-direction:column;display:flex}.summary__section h2{padding-bottom:var(--space-1);border-bottom:1px solid var(--color-border);font-size:var(--text-md);font-weight:var(--weight-bold)}.summary__item+.summary__item{margin-top:var(--space-3)}.summary__item h3{font-size:var(--text-md);font-weight:var(--weight-semibold)}.summary__aside{color:var(--color-text-muted);font-size:var(--text-sm);font-weight:var(--weight-regular)}.summary__line{font-size:var(--text-sm)}.summary__date{min-width:6.5em;color:var(--color-text-muted);font-variant-numeric:tabular-nums;display:inline-block}.summary__about{white-space:pre-wrap;font-size:var(--text-sm)}.summary__table{border-collapse:collapse;width:100%;font-size:var(--text-sm)}.summary__table th{padding:var(--space-1) var(--space-2);border-bottom:1px solid var(--color-border-strong);color:var(--color-text-muted);font-size:var(--text-xs);font-weight:var(--weight-semibold);text-align:left}.summary__table td{padding:var(--space-1) var(--space-2);border-bottom:1px solid var(--color-border)}.summary__table .is-right{text-align:right}.summary__table tr{break-inside:avoid}.summary__docs{padding-left:var(--space-4);font-size:var(--text-sm);margin:0}.summary__foot{padding-top:var(--space-3);border-top:1px solid var(--color-border);color:var(--color-text-muted);font-size:var(--text-xs)}@media print{.no-print,.sidebar,.topbar,.doctor,.doctor-tab,.summary~*,.summary>.alert{display:none!important}body,.main,.shell{background:var(--white);margin:0;padding:0;display:block}.summary__sheet{border-radius:0;padding:0}.sensitive{filter:none!important}}.check-row{align-items:flex-start;gap:var(--space-2);display:flex}.check-row input{flex:none;margin-top:.25em}.folders{gap:var(--space-3);flex-direction:column;display:flex}.folder{border-radius:var(--radius-lg);background:var(--color-surface);overflow:hidden}.folder__summary{align-items:center;gap:var(--space-2) var(--space-3);padding:var(--space-4) var(--space-5);cursor:pointer;flex-wrap:wrap;list-style:none;display:flex}.folder__summary::-webkit-details-marker{display:none}.folder__summary:hover{background:var(--color-surface-alt)}.folder__icon{color:var(--color-accent);place-items:center;display:inline-grid}.folder__title{font-size:var(--text-md);font-weight:var(--weight-semibold)}.folder__chevron{color:var(--color-text-muted);transition:transform var(--transition);margin-left:auto;display:inline-grid}.folder[open] .folder__chevron{transform:rotate(180deg)}.folder[open] .folder__summary{border-bottom:1px solid var(--color-border)}
.shell{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);min-height:100dvh;display:grid}.sidebar{gap:var(--space-5);height:100dvh;padding:var(--space-5) var(--space-3);background:var(--color-sidebar);color:var(--color-text);flex-direction:column;display:flex;position:sticky;top:0;overflow-y:auto}.brand{align-items:center;gap:var(--space-3);padding:0 var(--space-3);color:var(--color-text);font-size:var(--text-lg);font-weight:var(--weight-bold);letter-spacing:.02em;display:flex}.account-email{font-size:var(--text-lg);overflow-wrap:anywhere}.brand:hover{text-decoration:none}.brand__theme{align-items:center;gap:var(--space-3);display:flex}.brand__mark{width:2rem;height:2rem;display:block}.nav{gap:var(--space-1);flex-direction:column;display:flex}.nav__item{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-full);color:var(--color-text-muted);font-weight:var(--weight-semibold);transition:background var(--transition), color var(--transition);display:flex}.nav__item:hover{background:var(--gray-100);color:var(--color-text);text-decoration:none}.nav__item--active{background:var(--color-nav-active);color:var(--color-nav-active-text)}.nav__item--active:hover{background:var(--color-nav-active)}.nav__item--active svg{color:var(--color-nav-icon)}.nav__badge{padding:0 var(--space-2);border-radius:var(--radius-full);background:var(--color-info-vivid);color:var(--color-on-brand);font-size:var(--text-xs);font-weight:var(--weight-semibold);margin-left:auto}.sidebar__footer{padding:var(--space-3) var(--space-4);border-top:1px solid var(--color-border);color:var(--color-text-muted);font-size:var(--text-sm);margin-top:auto}.sidebar__footer>a,.sidebar__footer button{color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.main{min-width:0}.topbar{display:none}.page{gap:var(--space-5);max-width:var(--content-max);padding:var(--space-6) var(--space-6) var(--space-7);flex-direction:column;margin:0 auto;display:flex}.page--narrow{max-width:46rem}.page-header{justify-content:space-between;align-items:flex-end;gap:var(--space-4);flex-wrap:wrap;display:flex}.page-header__title{color:var(--color-heading);font-size:var(--text-3xl);font-weight:var(--weight-bold);letter-spacing:-.03em;line-height:var(--leading-tight)}.page-header>div{flex:24rem;min-width:0}.page-header__subtitle{margin-top:var(--space-1);color:var(--color-text-muted)}.page-header__meta{margin-top:var(--space-1);color:var(--color-text-subtle);font-size:var(--text-sm);display:block}.grid{gap:var(--space-5);display:grid}.grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}@media (max-width:1280px){.grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}}.grid--end{align-items:end}.grid--main-aside{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.grid--tiles{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(13rem,1fr))}.stack{gap:var(--space-4);flex-direction:column;display:flex}.stack--sm{gap:var(--space-2)}.cluster{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.cluster--end{justify-content:flex-end}.cluster--between{justify-content:space-between}.filters{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));align-items:end;display:grid}.tile{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);background:var(--color-control);border-radius:var(--radius-md);color:var(--color-text);font-weight:var(--weight-semibold);transition:background var(--transition);display:flex}.tile:hover{background:var(--gray-200);text-decoration:none}.center-screen{min-height:100dvh;padding:var(--space-5);background:var(--color-bg);place-items:center;display:grid}.center-screen__card{width:100%;max-width:26rem;padding:var(--space-6);background:var(--color-surface);border-radius:var(--radius-lg)}@media (max-width:960px){.shell{grid-template-columns:minmax(0,1fr)}.topbar{z-index:20;height:var(--topbar-height);padding:0 var(--space-4);background:var(--color-bg);color:var(--color-text);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.topbar__toggle{border-radius:var(--radius-full);background:var(--color-surface);width:2.5rem;height:2.5rem;color:var(--color-text);cursor:pointer;place-items:center;display:grid}.sidebar{inset:var(--topbar-height) 0 0 0;z-index:15;height:auto;display:none;position:fixed}.sidebar .brand{display:none}.nav-toggle:checked~.sidebar{display:flex}.page{padding:var(--space-4) var(--space-4) var(--space-6)}.grid--2,.grid--3,.grid--4,.grid--main-aside{grid-template-columns:minmax(0,1fr)}}.nav__activity{color:var(--color-text-muted);margin-left:auto;display:inline-flex}.nav__activity+.nav__badge{margin-left:var(--space-2)}

