.m-app{--m-max: 480px;--m-gutter: 16px;--m-cta-h: 64px;min-height:100dvh;max-width:var(--m-max);margin:0 auto;background:var(--surface-page);color:var(--ink);font-family:var(--font-sans);font-size:1rem;line-height:1.6;padding-bottom:calc(var(--m-cta-h) + 32px + env(safe-area-inset-bottom));word-break:keep-all;overflow-wrap:anywhere}.m-app *,.m-app *:before,.m-app *:after{box-sizing:border-box}.m-app button{font:inherit;color:inherit}.m-app.m-tone-warm{background:linear-gradient(180deg,var(--brand-gold-soft) 0,var(--surface-page) 360px)}.m-top{position:sticky;top:0;z-index:var(--z-header);display:flex;align-items:center;gap:8px;height:56px;padding:0 8px;background:var(--surface-card);border-bottom:1px solid var(--line)}.m-top-title{flex:1;margin:0;font-size:1.0625rem;font-weight:600}.m-icon-btn{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:var(--radius-md);background:transparent;cursor:pointer}.m-icon-btn:focus-visible{box-shadow:var(--focus-ring);outline:none}.m-progress{padding:12px var(--m-gutter) 0}.m-progress-bar{height:4px;border-radius:var(--radius-pill);background:var(--line);overflow:hidden}.m-progress-bar span{display:block;height:100%;background:var(--brand-gold);transition:width var(--motion-slow)}.m-progress-count{margin-top:4px;text-align:right;font-size:.875rem;color:var(--ink-faint)}.m-progress-count b{color:var(--ink)}.m-body{display:flex;flex-direction:column;gap:16px;padding:16px var(--m-gutter)}.m-heading{margin:8px 0 4px}.m-eyebrow{margin:0 0 4px;font-size:.9375rem;color:var(--ink-muted)}.m-title{margin:0;font-size:1.5rem;font-weight:700;line-height:var(--leading-tight)}.m-help{margin:4px 0 0;font-size:.875rem;color:var(--ink-faint)}.m-label{margin:12px 0 6px;font-size:.875rem;font-weight:600;color:var(--ink-muted)}.m-note{margin:8px 0 0;padding:10px 12px;border-radius:var(--radius-md);background:var(--brand-gold-soft);color:var(--ink);font-size:.9375rem}.m-section-label{margin:8px 0 -4px;font-size:.9375rem;color:var(--ink-muted);font-weight:600}.m-center{align-self:center}.m-row{display:flex;gap:8px;flex-wrap:wrap}.m-row-2>*{flex:1 1 0}.m-card{padding:20px;border-radius:var(--radius-lg);background:var(--surface-card);border:1px solid var(--line);box-shadow:var(--shadow-sm)}.m-card-title{margin:0 0 12px;font-size:1.0625rem;font-weight:700}.m-card-h{margin:0 0 12px;font-size:1.25rem;font-weight:700}.m-card-agent{background:var(--surface-sunken);border-style:dashed}.m-card-focus{border:2px solid var(--brand-gold)}.m-sunken{padding:20px;border-radius:var(--radius-lg);background:var(--surface-sunken)}.m-cta-bar{position:fixed;left:50%;bottom:0;transform:translate(-50%);z-index:var(--z-header);width:100%;max-width:var(--m-max);display:flex;gap:8px;padding:12px var(--m-gutter) calc(12px + env(safe-area-inset-bottom));background:linear-gradient(180deg,transparent,var(--surface-page) 30%)}.m-cta{flex:1 1 auto;min-height:var(--m-cta-h);padding:0 16px;border:0;border-radius:var(--radius-lg);font-size:1.125rem!important;font-weight:700;cursor:pointer;transition:background var(--motion-fast)}.m-cta-primary{background:var(--brand-gold);color:#fff!important}.m-cta-primary:hover:not(:disabled){background:var(--brand-gold-hover)}.m-cta-ghost{flex:0 1 auto}.m-cta-ghost:only-child{flex:1 1 auto}.m-cta-ghost{background:var(--surface-card);border:1px solid var(--line-strong)}.m-cta:disabled{background:var(--line);color:var(--ink-faint)!important;cursor:not-allowed}.m-cta:focus-visible,.m-choice:focus-visible,.m-chip:focus-visible,.m-next:focus-visible{box-shadow:var(--focus-ring);outline:none}.m-choices{display:grid;gap:8px}.m-cols-2{grid-template-columns:1fr 1fr}.m-cols-3{grid-template-columns:repeat(3,1fr)}.m-choice{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;min-height:var(--control-min);padding:12px 16px;border:1px solid var(--line-strong);border-radius:var(--radius-lg);background:var(--surface-card);font-size:1.0625rem;text-align:left;cursor:pointer}.m-cols-2 .m-choice,.m-cols-3 .m-choice{align-items:center;text-align:center;padding:12px 8px}.m-choice small{color:var(--ink-faint);font-size:.8125rem}.m-choice.is-on{border:2px solid var(--brand-gold);background:var(--brand-gold-soft);font-weight:700}.m-choice:disabled{opacity:.55}.m-chip-wrap{display:flex;flex-wrap:wrap;gap:8px}.m-chip{display:inline-flex;align-items:center;min-height:40px;padding:6px 14px;border:1px solid var(--line-strong);border-radius:var(--radius-pill);background:var(--surface-card);font-size:.9375rem;text-decoration:none;color:var(--ink);cursor:pointer}.m-chip.is-on{border-color:var(--brand-gold);background:var(--brand-gold-soft);font-weight:600}.m-chip-strong{margin-top:8px;background:var(--brand-navy);border-color:var(--brand-navy);color:var(--surface-card)!important;font-weight:600}.m-chip:disabled{opacity:.5;cursor:not-allowed}.m-outline-btn{min-height:var(--control-min);width:100%;margin-top:8px;padding:8px 12px;border:1px solid var(--line-strong);border-radius:var(--radius-lg);background:var(--surface-card);font-size:.9375rem;cursor:pointer}.m-outline-btn:disabled{opacity:.5}.m-link-btn{padding:8px 0;border:0;background:none;color:var(--ink-muted);font-size:.9375rem;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.m-amount-label{display:block;font-size:.9375rem;color:var(--ink-muted)}.m-amount-input{display:flex;align-items:baseline;gap:6px;margin-top:6px;border-bottom:2px solid var(--line-strong);transition:border-color var(--motion-fast)}.m-amount-input.is-focus{border-color:var(--brand-gold)}.m-amount-input input{flex:1;min-width:0;padding:6px 0;border:0;background:transparent;color:var(--ink);font:700 1.75rem/1.3 var(--font-sans);text-align:right;outline:none}.m-amount-input span{font-size:1.25rem;font-weight:600}.m-quick{display:flex;gap:6px;margin-top:8px}.m-quick button{flex:1;min-height:36px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-card);font-size:.875rem;cursor:pointer}.m-textarea,.m-date{width:100%;margin-top:8px;padding:12px;border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface-card);color:var(--ink);font:inherit;font-size:1rem;resize:vertical}.m-counter{display:flex;align-items:center;justify-content:space-between;gap:12px}.m-counter button{width:56px;height:56px;border:1px solid var(--line-strong);border-radius:var(--radius-pill);background:var(--surface-card);font-size:1.5rem;cursor:pointer}.m-counter button:disabled{opacity:.4}.m-counter output{font-size:2rem;font-weight:700}.m-counter output small{margin-left:2px;font-size:1rem;font-weight:500}.m-stat-row{display:grid;grid-template-columns:1fr 1fr;padding:16px 0;border-block:1px solid var(--line);text-align:center}.m-stat-row>div+div{border-left:1px solid var(--line)}.m-stat-row small{display:block;color:var(--ink-muted);font-size:.875rem}.m-stat-row b{font-size:1.25rem}.m-stat-row b small{display:inline}.is-ok{color:var(--state-ok)}.is-warn{color:var(--state-warn)}.m-share-card{padding:16px 20px 12px}.m-share-top{display:flex;align-items:center;gap:16px}.m-share-who{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:64px}.m-share-who-row{flex-direction:row;align-items:center;gap:12px;margin-bottom:12px}.m-share-who-row b{font-size:1.125rem}.m-share-input{flex:1;text-align:right}.m-share-input label{display:flex;align-items:baseline;justify-content:flex-end;gap:4px;border-bottom:2px solid var(--brand-gold)}.m-share-input input{width:100%;min-width:0;border:0;background:transparent;color:var(--ink);font:700 1.75rem/1.3 var(--font-sans);text-align:right;outline:none}.m-share-input small{display:block;margin-top:4px;color:var(--ink-faint)}.m-range{--fill: 0%;--thumb: var(--brand-gold);display:block;width:100%;height:44px;margin:8px 0 0;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;touch-action:pan-y}.m-range:focus-visible{outline:none}.m-range::-webkit-slider-runnable-track{height:8px;border-radius:var(--radius-pill);background:linear-gradient(90deg,var(--brand-gold) var(--fill),var(--line) var(--fill))}.m-range::-moz-range-track{height:8px;border-radius:var(--radius-pill);background:var(--line)}.m-range::-moz-range-progress{height:8px;border-radius:var(--radius-pill);background:var(--brand-gold)}.m-range::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;margin-top:-10px;border:4px solid var(--thumb);border-radius:50%;background:var(--surface-card);box-shadow:var(--shadow-card)}.m-range::-moz-range-thumb{width:20px;height:20px;border:4px solid var(--thumb);border-radius:50%;background:var(--surface-card);box-shadow:var(--shadow-card)}.m-range:focus-visible::-webkit-slider-thumb{box-shadow:var(--focus-ring)}.m-range-scale{display:flex;justify-content:space-between;margin-top:-4px;color:var(--ink-faint);font-size:.75rem}.m-avatar{position:relative;display:grid;place-items:center;width:48px;height:48px;border:3px solid;border-radius:50%;background:var(--surface-sunken);font-size:1.5rem}.m-avatar i{position:absolute;right:-3px;bottom:-3px;width:14px;height:14px;border:2px solid var(--surface-card);border-radius:50%}.m-filter{display:flex;gap:8px;overflow-x:auto}.m-pill{flex:none;padding:6px 14px;border:1px solid var(--line-strong);border-radius:var(--radius-pill);font-size:.9375rem;background:var(--surface-card)}.m-pill.is-on{background:var(--brand-gold);border-color:var(--brand-gold);color:#fff;font-weight:700}.m-pill-ok{color:var(--state-ok)}.m-pill-bad{color:var(--state-bad)}.m-sig{margin:2px 0 0;font-size:.9375rem}.m-sig-ok{color:var(--state-ok)}.m-sig-bad{color:var(--state-bad);font-weight:600}.m-dl{margin:0;padding:16px;border-radius:var(--radius-md);background:var(--surface-sunken)}.m-dl>div{display:flex;justify-content:space-between;gap:12px;padding:3px 0;color:var(--ink-muted);font-size:.9375rem}.m-dl dt:before{content:"· "}.m-dl dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.m-dl .m-dl-strong{color:var(--ink);font-weight:700;font-size:1.0625rem;padding-bottom:6px}.m-dl .m-dl-strong dt:before{content:""}.m-donut{margin:16px 0}.m-donut svg{display:block;width:min(240px,70vw);margin:0 auto}.m-donut-label{fill:var(--ink);font:700 20px var(--font-sans)}.m-legend{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;margin-top:16px;color:var(--ink-muted);font-size:.9375rem}.m-legend i{display:inline-block;width:12px;height:12px;margin-right:6px;border-radius:50%;vertical-align:-1px}.m-detail-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0 10px 12px;border-left:4px solid;margin-bottom:8px}.m-detail-row small{color:var(--ink-faint)}.m-app .m-hero-amount{text-align:center;background:var(--surface-inverse);color:var(--ink-inverse);border:0}.m-hero-amount small{color:var(--ink-inverse-muted)}.m-hero-amount b{display:block;margin:4px 0;font:700 2rem/1.3 var(--font-serif)}.m-hero-amount .m-help{color:var(--ink-inverse-muted)}.m-agent-note{padding:16px;border-radius:var(--radius-lg);border-left:4px solid;background:var(--surface-card);box-shadow:var(--shadow-sm)}.m-agent-note-head{display:flex;gap:12px}.m-agent-dot{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;font-size:1.25rem}.m-agent-name{margin:0;font-size:.8125rem;font-weight:700;color:var(--ink-muted)}.m-agent-summary{margin:2px 0 0}.m-agent-reply{margin-top:8px;padding-top:8px;border-top:1px solid var(--line);font-size:.9375rem}.m-agent-reply h2,.m-agent-reply h3{font-size:1rem}.m-thinking{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:16px;border-radius:var(--radius-lg);background:var(--surface-sunken)}.m-thinking p{margin:0;flex:1}.m-thinking .m-help{flex-basis:100%}.m-pulse{animation:m-pulse 1.2s ease-in-out infinite}@keyframes m-pulse{50%{transform:scale(1.12);opacity:.7}}@media (prefers-reduced-motion: reduce){.m-pulse{animation:none}}.m-error,.m-alert{padding:16px;border-radius:var(--radius-lg);background:var(--state-bad-bg);color:var(--state-bad)}.m-error p{margin:0 0 8px}.m-alert{font-weight:600}.m-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--z-dialog);display:flex;align-items:flex-end;justify-content:center;background:var(--overlay)}.m-sheet{width:100%;max-width:var(--m-max);max-height:85dvh;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:12px var(--m-gutter) calc(16px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:var(--surface-card);box-shadow:var(--shadow-panel)}.m-sheet-grip{align-self:center;width:40px;height:4px;border-radius:2px;background:var(--line-strong)}.m-sheet-q{margin:0;font-size:1.125rem;font-weight:700}.m-next{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:64px;padding:14px 18px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-card);text-align:left;font-size:1.0625rem;font-weight:600;cursor:pointer}.m-card .m-next{margin-top:8px;background:var(--surface-sunken);border:0}.m-next small{display:block;font-size:.8125rem;font-weight:400;color:var(--ink-muted)}.m-next-arrow{font-size:1.5rem;color:var(--ink-faint)}.m-next-gold{background:var(--brand-gold-soft);border-color:var(--brand-gold)}.m-app .m-next-navy{background:var(--surface-inverse);border-color:var(--surface-inverse);color:var(--ink-inverse)}.m-next-navy small,.m-next-navy .m-next-arrow{color:var(--ink-inverse-muted)}.m-dday-strip{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:var(--radius-md);background:var(--state-warn-bg);color:var(--state-warn);font-size:.9375rem}.m-dday-strip b,.m-dday{flex:none;padding:2px 8px;border-radius:var(--radius-sm);background:var(--state-warn);color:#fff;font-weight:700;font-size:.875rem}.m-focus-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.m-focus-head .m-card-h{margin-bottom:4px}.m-deadline{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.m-deadline b{flex:none;min-width:64px;padding:4px 6px;border-radius:var(--radius-sm);background:var(--surface-sunken);text-align:center;font-size:.9375rem}.m-deadline.is-urgent b{background:var(--state-warn);color:#fff}.m-deadline small{display:block;color:var(--ink-faint);font-size:.8125rem}.m-action-detail ul{margin:0;padding-left:20px}.m-action-detail .m-chip-wrap{margin-top:12px}.m-acc{border-bottom:1px solid var(--line)}.m-acc-head{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:var(--control-min);padding:8px 0;border:0;background:none;font-size:1rem;font-weight:600;text-align:left;cursor:pointer}.m-acc-head small{color:var(--state-warn)}.m-acc-body{padding-bottom:12px}.m-timeline{margin:0;padding:0;list-style:none}.m-timeline li{display:flex;align-items:center;gap:10px;padding:8px 0;color:var(--ink-faint)}.m-timeline li small{margin-left:auto;font-size:.8125rem}.m-timeline li.is-done{color:var(--state-ok);text-decoration:line-through}.m-timeline li.is-ready{color:var(--ink);font-weight:600}.m-home-hero{padding:32px var(--m-gutter) 24px;background:var(--surface-inverse);color:var(--ink-inverse)}.m-home-brand{margin:0 0 16px;font-weight:800;letter-spacing:.12em;color:var(--brand-gold-soft)}.m-home-hero h1{margin:0;font:700 1.875rem/1.35 var(--font-serif)}.m-home-hero em{font-style:normal;color:var(--brand-gold-soft);border-bottom:3px solid var(--brand-gold)}.m-home-sub{margin:12px 0 0;color:var(--ink-inverse-muted)}.m-banner{display:block;width:100%;margin-top:20px;padding:16px;border:1px solid var(--ink-inverse-muted);border-radius:var(--radius-lg);background:#ffffff14;color:var(--ink-inverse)!important;font-weight:700;text-align:left;cursor:pointer}.m-home-body{margin-top:-8px}.m-entry{display:flex;flex-direction:column;gap:2px;width:100%;margin-top:10px;padding:18px;border:0;border-radius:var(--radius-lg);text-align:left;cursor:pointer}.m-entry small{font-size:.8125rem}.m-entry b{font-size:1.1875rem}.m-entry span{font-size:.9375rem}.m-entry-gold{background:var(--brand-gold-soft)}.m-entry-navy{background:var(--surface-sunken)}.m-article-title{margin:0;font:700 1.75rem/1.35 var(--font-serif)}.m-tags{margin:6px 0 16px;color:var(--ink-faint)}.m-lead{font-size:1.0625rem}.m-toc{display:flex;flex-direction:column;gap:8px;margin:16px 0 24px}.m-toc a{padding:14px 16px;border-radius:var(--radius-md);background:var(--surface-sunken);color:var(--ink);font-weight:600;text-decoration:none}.m-article section h3{margin:24px 0 8px;font-size:1.25rem}.m-article section p{margin:0;font-size:1.0625rem;line-height:1.8}@media (min-width: 481px){.m-app{border-inline:1px solid var(--line)}}:root{color-scheme:light;--surface-page: #faf8f4;--surface-card: #ffffff;--surface-sunken: #f1ede6;--surface-inverse: #1b2a4a;--overlay: rgba(28, 25, 20, .42);--ink: #17181d;--ink-muted: #48453f;--ink-faint: #726d63;--ink-inverse: #f7f1e6;--ink-inverse-muted: #d6ccb8;--line: #e4ded2;--line-strong: #cfc7b7;--brand-navy: #1b2a4a;--brand-navy-hover: #24365c;--brand-gold: #b0893d;--brand-gold-hover: #987534;--brand-gold-soft: #f3e6c8;--state-ok: #2c6e49;--state-ok-bg: #e5f0e8;--state-bad: #8f2d2d;--state-bad-bg: #f6ece8;--state-warn: #8a5a10;--state-warn-bg: #f7edd8;--state-info: #4a5a86;--state-info-bg: #e9edf6;--agent-heir: #2563eb;--agent-heir-bg: #eaf1fe;--agent-share: #0e7490;--agent-share-bg: #e2f1f4;--agent-estate: #7c3aed;--agent-estate-bg: #f2ecfe;--agent-tax: #0f7a53;--agent-tax-bg: #e3f2ea;--agent-asset: #a9752f;--agent-asset-bg: #f6ecda;--font-serif: "Noto Serif KR", "Apple SD Gothic Neo", serif;--font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", Roboto, "Noto Sans KR", sans-serif;--font-scale: 1;--text-display: calc(2.25rem * var(--font-scale));--text-h1: calc(1.625rem * var(--font-scale));--text-h2: calc(1.375rem * var(--font-scale));--text-h3: calc(1.125rem * var(--font-scale));--text-body: calc(1.125rem * var(--font-scale));--text-sm: calc(1rem * var(--font-scale));--text-caption: calc(.875rem * var(--font-scale));--leading-body: 1.8;--leading-tight: 1.35;--sp-1: 4px;--sp-2: 8px;--sp-3: 12px;--sp-4: 16px;--sp-5: 20px;--sp-6: 24px;--sp-8: 32px;--sp-10: 40px;--sp-12: 48px;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 14px;--radius-pill: 999px;--control-min: 48px;--shadow-sm: 0 1px 2px rgba(28, 25, 20, .06);--shadow-card: 0 1px 3px rgba(28, 25, 20, .06), 0 8px 24px rgba(28, 25, 20, .06);--shadow-panel: 0 -8px 40px rgba(28, 25, 20, .14);--shadow-dialog: 0 24px 60px rgba(28, 25, 20, .22);--focus-ring: 0 0 0 3px rgba(37, 99, 235, .4);--z-header: 100;--z-panel: 200;--z-dialog: 400;--z-toast: 600;--motion-fast: .12s ease;--motion-base: .2s ease;--motion-slow: .32s ease;--chat-measure: 48em;--shell-max: 1600px;--context-panel-w: 340px;--schedule-panel-w: 320px}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){color-scheme:dark;--surface-page: #16171c;--surface-card: #1e2027;--surface-sunken: #24262e;--surface-inverse: #24365c;--overlay: rgba(0, 0, 0, .6);--ink: #e8e9ec;--ink-muted: #a7a49c;--ink-faint: #7d7a72;--ink-inverse: #f6efe3;--ink-inverse-muted: #cbbfaa;--line: #33353d;--line-strong: #45474f;--brand-navy: #8fa8e6;--brand-navy-hover: #a7bbee;--brand-gold: #d8b877;--brand-gold-hover: #e4c98f;--brand-gold-soft: #3a3320;--state-ok: #6cc596;--state-ok-bg: #1c2f26;--state-bad: #e08a8a;--state-bad-bg: #33211f;--state-warn: #d8b877;--state-warn-bg: #322a1a;--state-info: #9db0e6;--state-info-bg: #1f2434;--agent-heir-bg: #1a2436;--agent-share-bg: #14282d;--agent-estate-bg: #241a36;--agent-tax-bg: #14291f;--agent-asset-bg: #2c2416;--focus-ring: 0 0 0 3px rgba(143, 168, 230, .5);--shadow-card: 0 1px 3px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);--shadow-dialog: 0 24px 60px rgba(0, 0, 0, .5)}}:root[data-theme=dark]{color-scheme:dark;--surface-page: #16171c;--surface-card: #1e2027;--surface-sunken: #24262e;--surface-inverse: #24365c;--overlay: rgba(0, 0, 0, .6);--ink: #e8e9ec;--ink-muted: #a7a49c;--ink-faint: #7d7a72;--ink-inverse: #f6efe3;--ink-inverse-muted: #cbbfaa;--line: #33353d;--line-strong: #45474f;--brand-navy: #8fa8e6;--brand-navy-hover: #a7bbee;--brand-gold: #d8b877;--brand-gold-hover: #e4c98f;--brand-gold-soft: #3a3320;--state-ok: #6cc596;--state-ok-bg: #1c2f26;--state-bad: #e08a8a;--state-bad-bg: #33211f;--state-warn: #d8b877;--state-warn-bg: #322a1a;--state-info: #9db0e6;--state-info-bg: #1f2434;--agent-heir-bg: #1a2436;--agent-share-bg: #14282d;--agent-estate-bg: #241a36;--agent-tax-bg: #14291f;--agent-asset-bg: #2c2416;--focus-ring: 0 0 0 3px rgba(143, 168, 230, .5);--shadow-card: 0 1px 3px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);--shadow-dialog: 0 24px 60px rgba(0, 0, 0, .5)}:root[data-contrast=high]{--ink-muted: var(--ink);--ink-faint: var(--ink);--line: var(--ink);--line-strong: var(--ink);--focus-ring: 0 0 0 3px #000, 0 0 0 6px #fff}@media (prefers-reduced-motion: reduce){:root{--motion-fast: 0ms;--motion-base: 0ms;--motion-slow: 0ms}}*,*:before,*:after{box-sizing:border-box}*{margin:0}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}html,body,#root{height:100%}body{overflow-x:hidden}body{background:var(--surface-page);color:var(--ink);font-family:var(--font-sans);font-size:var(--text-body);line-height:var(--leading-body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;word-break:keep-all;overflow-wrap:anywhere}h1,h2,h3,h4{font-family:var(--font-serif);font-weight:600;line-height:var(--leading-tight);letter-spacing:-.01em}h1{font-size:var(--text-h1)}h2{font-size:var(--text-h2)}h3{font-size:var(--text-h3)}p{line-height:var(--leading-body)}button,input,select,textarea{font:inherit;color:inherit}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,textarea:-webkit-autofill,select:-webkit-autofill{-webkit-text-fill-color:var(--ink);-webkit-box-shadow:0 0 0 1000px var(--surface-card) inset;box-shadow:0 0 0 1000px var(--surface-card) inset;caret-color:var(--ink)}button{cursor:pointer;background:none;border:none;padding:0}a{color:var(--agent-heir);text-underline-offset:3px;text-decoration:none}ul,ol{padding-left:1.2em}img,svg{max-width:100%}:focus-visible{outline:none;box-shadow:var(--focus-ring);border-radius:var(--radius-sm)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;left:var(--sp-4);top:-100px;z-index:var(--z-toast);background:var(--brand-navy);color:var(--ink-inverse);padding:var(--sp-3) var(--sp-4);border-radius:var(--radius-md);transition:top var(--motion-fast)}.skip-link:focus{top:var(--sp-4)}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}*{scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}.app-shell{display:flex;flex-direction:column;min-height:100dvh;background:var(--surface-page)}.app-header{position:sticky;top:0;z-index:var(--z-header);display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-3) var(--sp-5);background:var(--surface-card);border-bottom:1px solid var(--line)}.app-header-brand{display:inline-flex}.app-header-actions{display:flex;align-items:center;gap:var(--sp-2);flex-wrap:wrap;justify-content:flex-end}.app-header-axis{font-size:var(--text-caption);font-weight:700;color:var(--brand-gold);padding:2px 8px;border:1px solid var(--brand-gold);border-radius:var(--radius-pill);background:none;cursor:pointer;transition:background-color .15s ease}.app-header-axis:hover,.app-header-axis:focus-visible{background:var(--brand-gold-soft)}.app-header-user{font-size:var(--text-caption);color:var(--ink-muted)}.app-header-btn{min-height:40px;padding:0 var(--sp-3);border-radius:var(--radius-md);font-size:var(--text-caption);font-weight:600;color:var(--ink-muted)}.app-header-btn:hover{background:var(--surface-sunken);color:var(--ink)}.app-body{flex:1;display:grid;grid-template-columns:minmax(0,1fr) var(--context-panel-w);grid-template-areas:"main panel";gap:0;max-width:var(--shell-max);width:100%;margin:0 auto}.app-body.has-schedule{grid-template-columns:var(--schedule-panel-w) minmax(0,1fr) var(--context-panel-w);grid-template-areas:"schedule main panel"}.app-main{grid-area:main;min-width:0;display:flex;flex-direction:column}.context-panel-wrap{grid-area:panel;border-left:1px solid var(--line);background:var(--surface-card)}.schedule-panel-wrap{grid-area:schedule;border-right:1px solid var(--line);background:var(--surface-card)}.context-panel-toggle{display:none}.schedule-panel{position:sticky;top:58px;max-height:calc(100dvh - 58px);overflow-y:auto;padding:var(--sp-5);display:grid;gap:var(--sp-3);align-content:start}.schedule-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp-2)}.schedule-panel-head h2{font-size:var(--text-caption);font-weight:700;letter-spacing:.04em;color:var(--ink-muted);text-transform:uppercase;font-family:var(--font-sans)}.schedule-panel-count{font-size:var(--text-caption);font-weight:700;color:var(--brand-gold)}.schedule-panel-lede{font-size:var(--text-caption);color:var(--ink-muted);line-height:1.55}.context-panel{position:sticky;top:58px;max-height:calc(100dvh - 58px);overflow-y:auto;padding:var(--sp-5);display:grid;gap:var(--sp-5);align-content:start}.ctx-ledger{background:var(--brand-navy);color:var(--ink-inverse);border-radius:var(--radius-lg);padding:var(--sp-5)}.ctx-ledger-hello{font-size:var(--text-caption);color:var(--ink-inverse-muted);margin-bottom:var(--sp-3)}.ctx-block-head{display:flex;justify-content:space-between;align-items:baseline}.ctx-block h3{font-size:var(--text-caption);font-weight:700;letter-spacing:.04em;color:var(--ink-muted);text-transform:uppercase;font-family:var(--font-sans);margin-bottom:var(--sp-2)}.ctx-link{font-size:var(--text-caption);font-weight:700;color:var(--brand-navy);text-decoration:underline;text-underline-offset:2px}.ctx-empty{font-size:var(--text-caption);color:var(--ink-muted)}.ctx-member-list,.ctx-prep-list,.ctx-fin-list{list-style:none;padding:0;display:grid;gap:var(--sp-2)}.ctx-member-list li{display:flex;align-items:center;gap:var(--sp-2);font-size:var(--text-sm)}.ctx-member-rel{color:var(--ink-muted);font-size:var(--text-caption);min-width:3em}.ctx-member-name{font-weight:600}.ctx-tag{font-size:.7rem;font-weight:700;padding:1px 6px;border-radius:var(--radius-pill);background:var(--surface-sunken);color:var(--ink-muted)}.ctx-prep-item{display:grid;grid-template-columns:1fr auto;gap:2px var(--sp-2);width:100%;text-align:left;padding:var(--sp-2);border-radius:var(--radius-sm)}.ctx-prep-item:hover{background:var(--surface-sunken)}.ctx-prep-title{font-weight:600;font-size:var(--text-sm)}.ctx-prep-desc{grid-column:1 / -1;font-size:var(--text-caption);color:var(--ink-muted)}.ctx-fin-list li{display:flex;justify-content:space-between;font-size:var(--text-caption)}.ctx-fin-amount{font-family:var(--font-serif)}.ctx-fin-gap{border-top:1px solid var(--line);padding-top:var(--sp-2);font-weight:700}@media (max-width: 1024px){.app-body,.app-body.has-schedule{grid-template-columns:1fr;grid-template-areas:"toggle" "panel" "schedule" "main"}.schedule-panel-wrap{grid-area:schedule;border-right:none;border-bottom:1px solid var(--line)}.schedule-panel{position:static;max-height:none}.context-panel-toggle{grid-area:toggle;display:block;width:100%;min-height:48px;padding:0 var(--sp-5);text-align:left;font-weight:700;color:var(--ink-muted);background:var(--surface-card);border-bottom:1px solid var(--line)}.context-panel-wrap{grid-area:panel;border-left:none;border-bottom:1px solid var(--line);max-height:0;overflow:hidden;transition:max-height var(--motion-base)}.context-panel-wrap.expanded{max-height:80vh;overflow-y:auto}.context-panel{position:static;max-height:none}}@media (min-width: 1025px){.app-shell{height:100dvh;min-height:0;overflow:hidden}.app-body,.app-main,.context-panel-wrap,.schedule-panel-wrap{min-height:0}.app-main{overflow-y:auto}.context-panel-wrap,.schedule-panel-wrap{overflow:hidden}.context-panel,.schedule-panel{position:static;top:auto;height:100%;max-height:100%}}@media (max-width: 768px){.app-header{padding:var(--sp-3)}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--sp-2);min-height:var(--control-min);padding:0 var(--sp-5);border-radius:var(--radius-md);font-size:var(--text-sm);font-weight:700;letter-spacing:.01em;transition:background var(--motion-fast),border-color var(--motion-fast),opacity var(--motion-fast)}.btn-block{width:100%}.btn-lg{min-height:54px;padding:0 var(--sp-6);font-size:var(--text-body)}.btn-on-dark{border-color:#ffffff80;color:var(--ink-inverse);background:transparent}.btn-on-dark:hover:not(:disabled){background:#ffffff1f;border-color:#fff}.btn:disabled{opacity:.42;cursor:not-allowed}.btn-primary{background:var(--brand-navy);color:var(--ink-inverse)}.btn-primary:hover:not(:disabled){background:var(--brand-navy-hover)}.btn-gold{background:var(--brand-gold);color:#fff}.btn-gold:hover:not(:disabled){background:var(--brand-gold-hover)}.btn-outline{border:1px solid var(--line-strong);color:var(--ink);background:var(--surface-card)}.btn-outline:hover:not(:disabled){border-color:var(--brand-navy)}.btn-ghost{color:var(--brand-navy);background:transparent}.btn-ghost:hover:not(:disabled){background:var(--surface-sunken)}.wordmark{display:inline-flex;align-items:center;gap:var(--sp-2);font-family:var(--font-serif);font-weight:600;color:var(--ink);letter-spacing:.04em}.wordmark-mark{display:inline-flex;font-size:1.15em;line-height:1}.wordmark-text{letter-spacing:.06em}.wordmark-sm{font-size:1.28rem}.wordmark-md{font-size:1.4rem}.wordmark-lg{font-size:1.9rem}.wordmark-tagline{font-family:var(--font-sans);font-weight:500;font-size:.8125rem;letter-spacing:0;color:var(--ink-muted);margin-left:var(--sp-2)}.wordmark-lg{flex-wrap:wrap}.wordmark-lg .wordmark-tagline{flex-basis:100%;margin-left:0;margin-top:var(--sp-2)}.gold-rule{display:block;width:36px;height:1px;background:var(--brand-gold);margin:var(--sp-3) 0 var(--sp-4)}.eyebrow{display:inline-block;font-size:.8125rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--brand-gold)}.card{background:var(--surface-card);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.result-card{background:var(--surface-card);border:1px solid var(--line);border-left:3px solid var(--brand-gold);border-radius:0 var(--radius-md) var(--radius-md) 0;padding:var(--sp-3) var(--sp-4);margin:var(--sp-2) 0}.result-card-title{font-family:var(--font-sans);font-size:var(--text-caption);font-weight:700;letter-spacing:.04em;color:var(--ink-muted);margin-bottom:var(--sp-2)}.result-card-body{font-size:var(--text-sm);line-height:1.6}.result-card-body ul{margin:0}.result-card-meta{margin-top:var(--sp-2);font-size:var(--text-caption);color:var(--ink-faint)}.status-pill{display:inline-flex;align-items:center;gap:var(--sp-1);font-size:.75rem;font-weight:700;letter-spacing:.03em;white-space:nowrap}.status-pill-dot{font-size:.7em}.status-pill-done{color:var(--state-ok)}.status-pill-wip{color:var(--state-warn)}.status-pill-todo{color:var(--ink-faint)}.status-pill-attention{color:var(--state-bad)}.signal-row{border-bottom:1px solid var(--line);padding:var(--sp-3) 0}.signal-row:last-child{border-bottom:none}.signal-row-head{display:flex;justify-content:space-between;align-items:center;gap:var(--sp-2)}.signal-name{display:inline-flex;align-items:center;gap:var(--sp-2);font-size:var(--text-sm);font-weight:600}.signal-icon{display:inline-flex;align-items:center;justify-content:center;width:1.35em;height:1.35em;border-radius:var(--radius-pill);font-size:.8em;color:#fff}.signal-badge{font-size:.75rem;font-weight:700;letter-spacing:.04em;padding:2px 8px;border-radius:var(--radius-pill)}.signal-green .signal-icon{background:var(--state-ok)}.signal-green .signal-badge{color:var(--state-ok);background:var(--state-ok-bg)}.signal-red .signal-icon{background:var(--state-bad)}.signal-red .signal-badge{color:var(--state-bad);background:var(--state-bad-bg)}.signal-yellow .signal-icon{background:var(--state-warn)}.signal-yellow .signal-badge{color:var(--state-warn);background:var(--state-warn-bg)}.signal-gray .signal-icon,.signal-pending .signal-icon{background:var(--state-info)}.signal-gray .signal-badge,.signal-pending .signal-badge{color:var(--state-info);background:var(--state-info-bg)}.signal-body{margin-top:var(--sp-2);font-size:var(--text-caption);color:var(--ink-muted);line-height:1.55}.signal-why{margin-top:var(--sp-2);font-size:var(--text-caption);font-weight:700;color:var(--brand-navy)}.precedent-cards{margin-top:var(--sp-3);display:grid;gap:var(--sp-2)}.precedent-cards-two{grid-template-columns:1fr 1fr}.precedent-card{background:var(--brand-gold-soft);border-left:3px solid var(--brand-gold);border-radius:0 var(--radius-sm) var(--radius-sm) 0;padding:var(--sp-3)}.precedent-case{font-weight:700;font-size:var(--text-caption);color:var(--ink)}.precedent-summary{margin-top:var(--sp-1);font-size:var(--text-caption);color:var(--ink-muted);line-height:1.55}@media (max-width: 560px){.precedent-cards-two{grid-template-columns:1fr}}.stepper{margin-bottom:var(--sp-4)}.stepper-bars{display:flex;gap:var(--sp-1)}.stepper-bar{flex:1;height:3px;border-radius:var(--radius-pill);background:var(--line)}.stepper-bar.on{background:var(--brand-gold)}.stepper-label{margin-top:var(--sp-2);font-size:var(--text-caption);color:var(--ink-muted)}.timeline-deadlines{list-style:none;padding:0;margin:0 0 var(--sp-4);display:grid;gap:var(--sp-2)}.timeline-deadlines li{display:grid;gap:2px;padding:var(--sp-2) var(--sp-3);background:var(--surface-sunken);border-radius:var(--radius-sm)}.timeline-deadline-label{font-size:var(--text-caption);font-weight:700}.timeline-deadline-date{display:flex;align-items:baseline;gap:var(--sp-2);font-family:var(--font-serif);font-size:var(--text-sm)}.timeline-daysleft{font-family:var(--font-sans);font-size:.75rem;font-weight:700;color:var(--brand-gold)}.timeline-daysleft.overdue{color:var(--state-bad)}.timeline-deadline-basis{font-size:var(--text-caption);color:var(--ink-faint)}.timeline-steps{list-style:none;padding:0;margin:0;display:grid;gap:var(--sp-1)}.timeline-step-check{display:flex;gap:var(--sp-3);padding:var(--sp-3);border-radius:var(--radius-sm);cursor:pointer}.timeline-step-check:hover{background:var(--surface-sunken)}.timeline-step-check input{margin-top:3px;width:20px;height:20px;flex-shrink:0;accent-color:var(--state-ok)}.timeline-step-body{display:grid;gap:3px}.timeline-step-title{font-size:var(--text-sm);font-weight:600}.timeline-step-day{display:inline-block;margin-right:var(--sp-2);font-family:var(--font-serif);color:var(--brand-gold)}.timeline-step.done .timeline-step-title{color:var(--ink-faint);text-decoration:line-through}.timeline-step-detail,.timeline-step-period{font-size:var(--text-caption);color:var(--ink-muted)}.timeline-step-period{color:var(--ink-faint)}.timeline-ics{margin-top:var(--sp-4)}.amount-display{padding:var(--sp-4);border-radius:var(--radius-lg);background:var(--brand-navy);color:var(--ink-inverse);margin:var(--sp-2) 0}.amount-default{background:var(--surface-card);color:var(--ink);border:1px solid var(--line)}.amount-label{font-size:.6875rem;letter-spacing:.14em;text-transform:uppercase;color:var(--brand-gold)}.amount-value{font-family:var(--font-serif);font-size:1.55rem;font-weight:600;letter-spacing:-.02em;line-height:1.25;margin-top:var(--sp-1)}.amount-note{margin-top:var(--sp-2);font-size:var(--text-caption);color:var(--ink-inverse-muted);line-height:1.55}.amount-default .amount-note{color:var(--ink-muted)}.tax-breakdown{border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden;margin:var(--sp-3) 0}.tax-breakdown table{width:100%;border-collapse:collapse}.tax-breakdown th,.tax-breakdown td{padding:var(--sp-2) var(--sp-3);font-size:var(--text-caption);line-height:1.4;text-align:left;border-bottom:1px solid var(--line)}.tax-breakdown td{text-align:right;font-family:var(--font-serif)}.tax-breakdown th{color:var(--ink-muted);font-weight:500}.tax-row-final th,.tax-row-final td{border-bottom:none;background:var(--surface-sunken);font-weight:700;color:var(--ink)}.tax-filing-due{padding:var(--sp-3);font-size:var(--text-caption);color:var(--ink-muted)}.tax-notes{padding:0 var(--sp-5) var(--sp-3);font-size:var(--text-caption);color:var(--ink-faint)}.gauge{display:grid;gap:var(--sp-2)}.gauge-head{display:flex;justify-content:space-between;align-items:baseline}.gauge-label{font-size:.6875rem;letter-spacing:.12em;text-transform:uppercase;color:var(--brand-gold)}.gauge-value{font-family:var(--font-serif);font-size:1.6rem;font-weight:600;letter-spacing:-.03em}.gauge-track{height:4px;border-radius:var(--radius-pill);background:var(--line);overflow:hidden}.gauge-inverse .gauge-track{background:#ffffff29}.gauge-fill{display:block;height:100%;background:var(--brand-gold);transition:width var(--motion-slow)}.choice-group{display:flex;flex-wrap:wrap;gap:var(--sp-2);margin:var(--sp-3) 0}.choice-cols-2,.choice-cols-3{display:grid}.choice-cols-2{grid-template-columns:1fr 1fr}.choice-cols-3{grid-template-columns:repeat(3,1fr)}.choice-btn{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:var(--control-min);padding:var(--sp-2) var(--sp-4);border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface-card);color:var(--ink);font-size:var(--text-sm);font-weight:600;transition:border-color var(--motion-fast),background var(--motion-fast)}.choice-cols-2 .choice-btn,.choice-cols-3 .choice-btn{align-items:center;justify-content:center;text-align:center}.choice-btn:hover:not(:disabled){border-color:var(--brand-navy)}.choice-btn.choice-on{border-color:var(--brand-navy);background:var(--brand-navy);color:var(--ink-inverse)}.choice-btn:disabled{opacity:.42;cursor:not-allowed}.choice-btn-hint{font-size:.75rem;font-weight:500;color:var(--ink-faint)}.choice-on .choice-btn-hint{color:var(--ink-inverse-muted)}.field-block{display:grid;gap:var(--sp-1);margin:var(--sp-3) 0}.field-label{font-size:var(--text-caption);font-weight:700;color:var(--ink-muted)}.agent-pill{display:inline-flex;align-items:center;gap:var(--sp-1);padding:2px 10px;border-radius:var(--radius-pill);font-size:.75rem;font-weight:700;letter-spacing:.02em}.needs-review{display:flex;align-items:flex-start;gap:var(--sp-2);padding:var(--sp-3);border-radius:var(--radius-md);background:var(--state-warn-bg);color:var(--state-warn);font-size:var(--text-caption);font-weight:600;margin:var(--sp-2) 0}.needs-review-icon{font-size:1rem}.disclaimer{font-size:var(--text-caption);color:var(--ink-faint);line-height:1.55}.disclaimer-inline{margin-top:var(--sp-3)}.disclaimer-global{padding:var(--sp-3) var(--sp-4);border-top:1px solid var(--line);text-align:center}.voice-btn{display:inline-flex;align-items:center;gap:var(--sp-1);min-height:var(--control-min);min-width:var(--control-min);padding:0 var(--sp-3);border-radius:var(--radius-md);border:1px solid var(--line-strong);background:var(--surface-card);font-size:var(--text-caption);font-weight:700;color:var(--ink-muted)}.voice-btn.listening{border-color:var(--state-bad);color:var(--state-bad);background:var(--state-bad-bg)}.voice-btn-text{white-space:nowrap}.dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--z-dialog);background:var(--overlay);display:flex}.dialog-center{align-items:center;justify-content:center;padding:var(--sp-4)}.dialog-sheet{align-items:flex-end;justify-content:center}.dialog-panel{background:var(--surface-card);width:100%;max-width:520px;max-height:88vh;display:flex;flex-direction:column;box-shadow:var(--shadow-dialog)}.dialog-center .dialog-panel{border-radius:var(--radius-lg)}.dialog-sheet .dialog-panel{max-width:640px;border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding-bottom:env(safe-area-inset-bottom)}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:var(--sp-4);border-bottom:1px solid var(--line)}.dialog-close{width:var(--control-min);height:var(--control-min);border-radius:var(--radius-md);color:var(--ink-muted);font-size:1rem}.dialog-close:hover{background:var(--surface-sunken)}.dialog-body{padding:var(--sp-4);overflow-y:auto}.dialog-footer{padding:var(--sp-4);border-top:1px solid var(--line);display:flex;gap:var(--sp-2);justify-content:flex-end}.upload-notice{display:flex;flex-direction:column;gap:var(--sp-3)}.upload-notice-intro{display:flex;gap:var(--sp-2);align-items:flex-start;margin:0;font-size:var(--text-sm);line-height:var(--leading-body);color:var(--ink-muted)}.upload-notice-rule{display:flex;gap:var(--sp-3);padding:var(--sp-3) var(--sp-4);border-radius:var(--radius-md)}.upload-notice-rule strong{display:block;font-size:var(--text-sm);margin-bottom:var(--sp-1)}.upload-notice-rule p{margin:0;font-size:var(--text-caption);color:var(--ink-muted);line-height:1.6}.upload-notice-rule p+p{margin-top:var(--sp-1)}.upload-notice-icon{flex:none;width:26px;height:26px;border-radius:var(--radius-pill);display:flex;align-items:center;justify-content:center;font-size:.85rem;line-height:1}.upload-notice-warn{background:var(--state-warn-bg)}.upload-notice-warn .upload-notice-icon{background:var(--state-warn);color:var(--surface-card)}.upload-notice-warn strong{color:var(--state-warn)}.upload-notice-keep{background:var(--state-info-bg)}.upload-notice-keep .upload-notice-icon{background:var(--state-info);color:var(--surface-card)}.upload-notice-keep strong{color:var(--state-info)}.upload-notice-tag{display:inline-block;margin-right:var(--sp-2);padding:1px 7px;border-radius:var(--radius-pill);background:var(--surface-sunken);color:var(--ink-muted);font-size:.72rem;font-weight:700}.md{font-size:var(--text-body);line-height:var(--leading-body)}.md>*:first-child{margin-top:0}.md>*:last-child{margin-bottom:0}.md p{margin:var(--sp-3) 0}.md ul,.md ol{margin:var(--sp-3) 0;padding-left:1.3em}.md li{margin:var(--sp-1) 0}.md strong{font-weight:700}.md h1,.md h2,.md h3{font-size:var(--text-h3);margin:var(--sp-4) 0 var(--sp-2)}.md a{color:var(--agent-heir);font-weight:600}.md table{width:100%;border-collapse:collapse;font-size:var(--text-caption);margin:var(--sp-3) 0}.md th,.md td{border:1px solid var(--line);padding:var(--sp-2);text-align:left}.md code{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.9em;background:var(--surface-sunken);padding:1px 5px;border-radius:4px}.md blockquote{border-left:3px solid var(--line-strong);padding-left:var(--sp-3);color:var(--ink-muted);margin:var(--sp-3) 0}.auth-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:var(--sp-6) var(--sp-4);background:radial-gradient(circle at top,var(--surface-card),var(--surface-page) 60%)}.auth-card{width:100%;max-width:420px;background:var(--surface-card);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:var(--sp-8) var(--sp-6)}.auth-brand{margin-bottom:var(--sp-4)}.auth-hero{font-family:var(--font-serif);font-size:1.25rem;font-weight:600;line-height:1.5;letter-spacing:-.01em;margin-bottom:var(--sp-5)}.auth-title{font-size:var(--text-h2);margin-bottom:var(--sp-2)}.auth-lede{font-size:var(--text-caption);color:var(--ink-muted);line-height:1.6;margin-bottom:var(--sp-5)}.auth-form{display:grid;gap:var(--sp-3)}.auth-field{display:grid;gap:var(--sp-1)}.auth-field span{font-size:var(--text-caption);font-weight:700;color:var(--ink-muted)}.auth-field input{min-height:var(--control-min);padding:0 var(--sp-3);border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface-card);font-size:var(--text-sm)}.auth-field input:focus{outline:none;border-color:var(--brand-navy)}.auth-error{padding:var(--sp-2) var(--sp-3);border-radius:var(--radius-md);background:var(--state-bad-bg);color:var(--state-bad);font-size:var(--text-caption);font-weight:600}.auth-switch{margin-top:var(--sp-5);text-align:center;font-size:var(--text-caption);color:var(--ink-muted)}.auth-switch button{font-weight:700;color:var(--brand-navy);text-decoration:underline;text-underline-offset:3px}.auth-skip{display:block;width:100%;margin-top:var(--sp-4);padding:var(--sp-2);font-size:var(--text-caption);color:var(--ink-faint);text-decoration:underline;text-underline-offset:3px}.onboarding-screen{min-height:100dvh;display:flex;justify-content:center;padding:var(--sp-8) var(--sp-4);background:var(--surface-page)}.onboarding-inner{width:100%;max-width:640px}.onboarding-inner h1{font-size:var(--text-h1);margin-bottom:var(--sp-3)}.onboarding-lede{color:var(--ink-muted);font-size:var(--text-sm);line-height:1.6;margin-bottom:var(--sp-6)}.role-grid{display:grid;gap:var(--sp-3);margin-bottom:var(--sp-6)}.role-card{display:grid;gap:var(--sp-2);text-align:left;padding:var(--sp-5);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-card);transition:border-color var(--motion-fast),box-shadow var(--motion-fast)}.role-card:hover{border-color:var(--line-strong)}.role-card-on{border-color:var(--brand-gold);box-shadow:inset 0 0 0 1px var(--brand-gold)}.role-card-eyebrow{font-size:.6875rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--brand-gold)}.role-card-title{font-family:var(--font-serif);font-size:1.2rem;font-weight:600}.role-card-body{font-size:var(--text-sm);color:var(--ink-muted);line-height:1.6}.family-consent{padding:var(--sp-3) var(--sp-4);border-radius:var(--radius-md);background:var(--brand-gold-soft);font-size:var(--text-caption);color:var(--ink-muted);line-height:1.55;margin-bottom:var(--sp-5)}.intake-panel{margin-top:var(--sp-5);padding:var(--sp-5);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-card)}.intake-question{font-family:var(--font-serif);font-size:1.15rem;font-weight:600;margin-bottom:var(--sp-2)}.intake-resume{font-size:var(--text-caption);color:var(--ink-muted);margin-bottom:var(--sp-3);padding-bottom:var(--sp-3);border-bottom:1px solid var(--line)}.intake-actions{display:flex;gap:var(--sp-2);flex-wrap:wrap}.intake-actions--split{justify-content:space-between;margin-top:var(--sp-4)}.intake-history{list-style:none;padding:0;margin-top:var(--sp-4);border-top:1px solid var(--line)}.intake-history li{display:flex;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-2) 0;font-size:var(--text-caption);color:var(--ink-muted)}.intake-history strong{color:var(--ink)}.family-tree{display:flex;flex-direction:column;align-items:center;gap:var(--sp-2);padding:var(--sp-5);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-sunken)}.ft-row{display:flex;gap:var(--sp-3);flex-wrap:wrap;justify-content:center;align-items:center}.ft-node,.ft-center-node{display:grid;gap:2px;justify-items:center;min-width:92px;padding:var(--sp-2) var(--sp-3);border-radius:var(--radius-md);background:var(--surface-card);border:1px solid var(--line-strong);text-align:center}.ft-center-node{background:var(--brand-navy);color:var(--ink-inverse);border-color:var(--brand-navy)}.ft-node-deceased{background:var(--state-bad-bg);border-color:var(--state-bad)}.ft-node-rel{font-size:.7rem;font-weight:700;letter-spacing:.06em;color:var(--ink-muted)}.ft-center-node{min-width:104px}.ft-center-node .ft-node-rel{color:var(--brand-gold);font-size:.62rem}.ft-node-name{font-size:var(--text-sm);font-weight:600}.ft-center-node .ft-node-name{font-size:var(--text-body);font-weight:700;color:#fff}.ft-node-tag{font-size:.65rem;font-weight:700;padding:0 5px;border-radius:var(--radius-pill);background:var(--surface-sunken);color:var(--ink-muted)}.ft-connector{background:var(--line-strong)}.ft-vert{width:2px;height:16px}.ft-horiz{width:28px;height:2px}.ft-dashed{background:repeating-linear-gradient(to right,var(--line-strong) 0 4px,transparent 4px 8px)}.ft-empty{font-size:var(--text-caption);color:var(--ink-muted)}.home-screen{flex:1;padding:var(--sp-6);max-width:760px;width:100%;margin:0 auto;display:grid;gap:var(--sp-5);align-content:start}.ledger-card{background:var(--brand-navy);color:var(--ink-inverse);border-radius:var(--radius-lg);padding:var(--sp-6)}.ledger-hello{display:flex;justify-content:space-between;font-size:var(--text-caption);color:var(--ink-inverse-muted)}.ledger-axis{color:var(--brand-gold);font-weight:700}.ledger-title{font-size:1.4rem;margin:var(--sp-2) 0 var(--sp-5);color:#fff}.home-next{border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--sp-5);background:var(--surface-card);display:grid;gap:var(--sp-2)}.home-next-title{font-family:var(--font-serif);font-size:1.15rem;font-weight:600}.home-next-desc{font-size:var(--text-sm);color:var(--ink-muted)}.home-next .btn{justify-self:start;margin-top:var(--sp-2)}.home-prep h2{font-size:var(--text-h3);margin-bottom:var(--sp-3)}.home-prep-list{list-style:none;padding:0;border-top:1px solid var(--line)}.home-prep-item{display:grid;grid-template-columns:1fr auto;gap:4px var(--sp-3);width:100%;text-align:left;padding:var(--sp-4) var(--sp-2);border-bottom:1px solid var(--line)}.home-prep-item:hover{background:var(--surface-sunken)}.home-prep-title{font-weight:650;font-size:var(--text-sm)}.home-prep-desc{grid-column:1 / -1;font-size:var(--text-caption);color:var(--ink-muted)}.chat-screen{flex:1;display:flex;flex-direction:column;min-height:0;--font-scale: .96;--leading-body: 1.65}.fn-rail-head.compact{padding:var(--sp-3) var(--sp-6) var(--sp-2);border-bottom:1px solid var(--line)}.fn-rail-head.compact h1,.fn-rail-head.compact .fn-rail-lede,.fn-rail-head.compact .fn-tile-blurb,.fn-rail-head.compact .fn-rail-extra{display:none}.fn-rail-head.compact .fn-tile{min-height:0;padding:var(--sp-2) var(--sp-3)}.fn-rail-head.compact .fn-rail{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:var(--sp-2)}.fn-rail-head.compact .eyebrow{display:block;margin-bottom:var(--sp-2)}.fn-rail-head{padding:var(--sp-6) var(--sp-6) var(--sp-4);max-width:900px;width:100%;margin:0 auto}.fn-rail-head h1{font-size:var(--text-h1);margin:var(--sp-2) 0 var(--sp-2)}.fn-rail-lede{color:var(--ink-muted);font-size:var(--text-sm);line-height:1.6;margin-bottom:var(--sp-5);max-width:52ch}.fn-rail{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:var(--sp-3)}.fn-tile{display:grid;gap:var(--sp-1);align-content:start;text-align:left;padding:var(--sp-4);border-radius:var(--radius-md);border:1px solid var(--line-strong);background:var(--surface-card);min-height:118px;transition:transform var(--motion-fast),border-color var(--motion-fast),box-shadow var(--motion-fast)}.fn-tile:hover:not(:disabled){transform:translateY(-2px);border-color:var(--brand-navy)}.fn-tile:disabled{opacity:.5;cursor:default}.fn-tile-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--sp-1)}.fn-tile-status{font-size:.65rem;font-weight:800;letter-spacing:.08em;padding:1px 7px;border-radius:var(--radius-pill);background:var(--brand-gold-soft);color:var(--brand-gold)}.fn-tile-name{font-family:var(--font-serif);font-size:1.08rem;font-weight:600}.fn-tile-blurb{font-size:var(--text-caption);color:var(--ink-muted);line-height:1.5}.fn-rail-extra{margin-top:var(--sp-4);font-size:var(--text-sm);font-weight:700;color:var(--brand-navy)}.chat-empty-hint{flex:1;padding:var(--sp-5) var(--sp-6);max-width:900px;width:100%;margin:0 auto}.chat-empty-hint p{font-size:var(--text-caption);color:var(--ink-faint);line-height:1.6;padding:var(--sp-3) var(--sp-4);border:1px dashed var(--line-strong);border-radius:var(--radius-md)}.user-note{align-self:flex-end;display:inline-flex;align-items:baseline;gap:var(--sp-2);max-width:32em;padding:var(--sp-2) var(--sp-3);border-radius:var(--radius-md);background:var(--surface-sunken);border:1px solid var(--line);font-size:var(--text-sm);color:var(--ink-muted)}.user-note-tag{font-size:.65rem;font-weight:800;letter-spacing:.08em;color:var(--ink-faint);flex-shrink:0}.chat-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:var(--sp-5)}.chat-log{max-width:860px;margin:0 auto;display:flex;flex-direction:column;gap:var(--sp-5)}.msg-row{display:flex;flex-direction:column}.msg-user{align-items:flex-end}.bubble{padding:var(--sp-3) var(--sp-4);font-size:var(--text-body);line-height:var(--leading-body);max-width:var(--chat-measure)}.bubble-user{background:var(--brand-navy);color:var(--ink-inverse);border-radius:var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-lg)}.bubble-assistant{background:var(--surface-card);border:1px solid var(--line);border-radius:var(--radius-sm) var(--radius-lg) var(--radius-lg) var(--radius-lg)}.bubble-error{background:var(--state-bad-bg);border-color:var(--state-bad);color:var(--state-bad);white-space:pre-line}.bubble-typing{display:inline-flex;gap:5px;padding:var(--sp-3) var(--sp-4);background:var(--surface-card);border:1px solid var(--line);border-radius:var(--radius-lg)}.bubble-typing .dot{width:7px;height:7px;border-radius:50%;background:var(--ink-faint);animation:typing-blink 1.2s infinite ease-in-out}.bubble-typing .dot:nth-child(2){animation-delay:.2s}.bubble-typing .dot:nth-child(3){animation-delay:.4s}@keyframes typing-blink{0%,80%,to{opacity:.3}40%{opacity:1}}.assistant-response{display:grid;gap:var(--sp-2);max-width:100%}.assistant-agents{display:flex;flex-wrap:wrap;gap:var(--sp-2)}.assistant-bubble{background:var(--surface-card);border:1px solid var(--line);border-radius:var(--radius-sm) var(--radius-lg) var(--radius-lg) var(--radius-lg);padding:var(--sp-4);max-width:var(--chat-measure)}.assistant-bubble .md{font-size:var(--text-sm);line-height:1.7}.assistant-bubble .md h1,.assistant-bubble .md h2,.assistant-bubble .md h3{font-size:var(--text-body)}.confirm-checklist{display:grid;gap:var(--sp-3);padding:var(--sp-4);border:1px solid var(--brand-gold);border-radius:var(--radius-lg);background:var(--brand-gold-soft)}.confirm-checklist-intro{font-size:var(--text-sm)}.confirm-checklist-items{list-style:none;margin:0;padding:0;display:grid;gap:var(--sp-2)}.confirm-checklist-item{display:grid;grid-template-columns:28px 1fr;gap:var(--sp-3);padding:var(--sp-3);background:var(--surface-card);border:1px solid var(--line);border-radius:var(--radius-md)}.confirm-checklist-item strong{display:block;font-size:var(--text-sm);margin-bottom:2px}.confirm-checklist-item p{margin:0;font-size:var(--text-caption);color:var(--ink-muted);line-height:1.5}.confirm-checklist-icon{width:28px;height:28px;border-radius:50%;background:var(--brand-gold);color:#1e1b15;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:.9rem}.confirm-checklist-hint{font-size:var(--text-caption);color:var(--ink-muted);margin:0;padding:var(--sp-2) var(--sp-3);background:var(--surface-card);border-radius:var(--radius-md)}.confirm-checklist-hint em{color:var(--brand-navy);font-style:normal;font-weight:600}.confirm-checklist-rest{font-size:var(--text-caption);color:var(--ink-muted);border-top:1px solid var(--line-strong);padding-top:var(--sp-3)}.reply-carousel{display:grid;gap:var(--sp-3)}.reply-carousel-intro{font-size:var(--text-sm)}.reply-carousel-card{border:1px solid var(--line-strong);border-top:4px solid var(--brand-gold);border-radius:var(--radius-lg);background:var(--surface-sunken);padding:var(--sp-4);display:grid;gap:var(--sp-3);box-shadow:var(--shadow-card)}.reply-carousel-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:var(--sp-2);padding-bottom:var(--sp-3);border-bottom:1px solid var(--line)}.reply-carousel-title-wrap{text-align:center;min-width:0}.reply-carousel-count{display:block;font-size:var(--text-caption);font-weight:700;color:var(--brand-gold);letter-spacing:.04em}.reply-carousel-title{font-family:var(--font-serif);font-size:var(--text-body);margin:2px 0 0}.reply-carousel-nav{width:var(--control-min);height:var(--control-min);border-radius:50%;background:var(--surface-card);border:1px solid var(--line-strong);font-size:1.25rem;line-height:1;flex:none}.reply-carousel-nav:hover:not(:disabled){border-color:var(--brand-gold);color:var(--brand-gold)}.reply-carousel-nav:disabled{opacity:.35}.reply-carousel-body{font-size:var(--text-sm);line-height:1.7}.reply-carousel-dots{display:flex;justify-content:center;gap:var(--sp-2)}.reply-carousel-dot{width:8px;height:8px;border-radius:50%;background:var(--line-strong);padding:0}.reply-carousel-dot.on{background:var(--brand-gold);width:20px;border-radius:var(--radius-pill)}.reply-carousel-footer{font-size:var(--text-caption);color:var(--ink-faint);margin:0}.followup-block{display:grid;gap:var(--sp-2);padding:var(--sp-4);border:1px solid var(--brand-gold);border-radius:var(--radius-lg);background:var(--brand-gold-soft)}.followup-head{font-family:var(--font-serif);font-size:var(--text-sm);font-weight:700;color:var(--ink)}.followup-q{display:grid;gap:var(--sp-2);padding:var(--sp-3);background:var(--surface-card);border-radius:var(--radius-md)}.followup-q+.followup-q{margin-top:var(--sp-2)}.agent-cards{display:grid;gap:var(--sp-2)}.suggested-action-card{display:grid;gap:var(--sp-3);justify-items:start}.suggested-action-prompt{margin:0;font-size:var(--text-sm);line-height:1.6}.signal-list{margin-top:var(--sp-1)}.share-table,.md table{width:100%;border-collapse:collapse;font-size:var(--text-caption)}.share-table th,.share-table td{border:1px solid var(--line);padding:var(--sp-1) var(--sp-2);line-height:1.4;text-align:left}.pending-q{font-size:var(--text-sm);font-weight:600;margin-bottom:var(--sp-2)}.composer{border-top:1px solid var(--line);background:var(--surface-card);padding:var(--sp-3) var(--sp-5) calc(var(--sp-3) + env(safe-area-inset-bottom))}.composer-suggestions{display:flex;flex-wrap:wrap;gap:var(--sp-2);margin-bottom:var(--sp-3);max-width:760px;margin-left:auto;margin-right:auto}.suggestion-chip{min-height:40px;padding:0 var(--sp-3);border:1px solid var(--line-strong);border-radius:var(--radius-pill);font-size:var(--text-caption);color:var(--ink-muted);background:var(--surface-card)}.suggestion-chip:hover:not(:disabled){border-color:var(--brand-navy);color:var(--ink)}.composer-row{display:flex;gap:var(--sp-2);max-width:760px;margin:0 auto}.composer-input{flex:1;min-height:var(--control-min);padding:0 var(--sp-4);border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface-page);font-size:var(--text-body)}.composer-input:focus{outline:none;border-color:var(--brand-navy)}.composer-send{flex-shrink:0}.composer-attach{flex-shrink:0;min-width:var(--control-min);min-height:var(--control-min);border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface-page);font-size:1.1rem}.composer-attach:hover:not(:disabled){border-color:var(--brand-navy)}.composer-attach:disabled{opacity:.5}.composer-attachment{display:inline-flex;align-items:center;gap:var(--sp-2);max-width:760px;margin:0 auto var(--sp-2);padding:var(--sp-1) var(--sp-3);border:1px solid var(--line-strong);border-radius:var(--radius-pill);font-size:var(--text-caption);color:var(--ink-muted)}.composer-attachment-x{color:var(--ink-faint);font-size:.8rem}.composer-img-error{max-width:760px;margin:0 auto var(--sp-2);font-size:var(--text-caption);color:var(--danger, #b4232a)}.user-note-img{font-size:.7rem;font-weight:700;color:var(--ink-faint);margin-left:var(--sp-2)}.inst-wizard{display:grid;gap:var(--sp-3);padding:var(--sp-4);border:1px solid var(--brand-gold);border-radius:var(--radius-lg);background:var(--surface-card)}.inst-wizard-head h3{font-size:1.1rem}.inst-wizard-head p{font-size:var(--text-caption);color:var(--ink-muted);margin-top:var(--sp-1)}.inst-card{padding:var(--sp-3);display:grid;gap:var(--sp-2)}.inst-card-label{font-weight:700;font-size:var(--text-sm)}.inst-note,.inst-amount{min-height:44px;padding:0 var(--sp-3);border:1px solid var(--line-strong);border-radius:var(--radius-sm);font-size:var(--text-caption)}.inst-amount{border-color:var(--brand-navy);font-size:var(--text-sm)}.inst-example{font-size:var(--text-caption);color:var(--ink-faint)}.inst-wizard-actions{display:flex;justify-content:flex-end;gap:var(--sp-2)}.amount-input-card{display:grid;gap:var(--sp-3);padding:var(--sp-3) var(--sp-4);border:1px solid var(--agent-asset);border-radius:var(--radius-lg);background:var(--surface-card)}.amount-input-head{font-weight:700;font-size:var(--text-body)}.amount-unit-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--sp-2)}.amount-unit-field{display:grid;gap:var(--sp-1);justify-items:center}.amount-unit-name{font-size:var(--text-caption);font-weight:700;color:var(--ink-muted)}.amount-unit-input{width:100%;min-height:44px;text-align:center;font-size:var(--text-body);font-weight:700;border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface-page);color:var(--ink)}.amount-unit-input:focus-visible{border-color:var(--brand-navy)}.amount-unit-input:-webkit-autofill,.amount-direct-input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--surface-page) inset;box-shadow:0 0 0 1000px var(--surface-page) inset}.amount-preview{display:grid;gap:2px;padding:var(--sp-2) var(--sp-3);border-radius:var(--radius-md);background:var(--surface-sunken);text-align:center}.amount-preview-ko{font-family:var(--font-serif);font-size:var(--text-h3);font-weight:700;line-height:1.3;color:var(--brand-navy)}.amount-preview-exact{font-size:var(--text-sm);color:var(--ink-muted)}.amount-quick-adds{display:grid;grid-template-columns:repeat(auto-fit,minmax(64px,1fr));gap:var(--sp-2)}.amount-quick-btn{min-height:44px;padding:0 var(--sp-2);border:1px solid var(--agent-asset);border-radius:var(--radius-pill);background:var(--agent-asset-bg);color:var(--agent-asset);font-size:var(--text-caption);font-weight:700;white-space:nowrap}.amount-tool-row{display:flex;gap:var(--sp-2)}.amount-tool-row .btn{flex:1}.amount-direct-toggle{justify-self:start;min-height:36px;padding:0 var(--sp-2);background:none;border:none;color:var(--ink-muted);font-size:var(--text-caption);text-decoration:underline}.amount-direct-input{width:100%;min-height:var(--control-min);padding:0 var(--sp-3);border:1px solid var(--line-strong);border-radius:var(--radius-sm);font-size:var(--text-sm);background:var(--surface-page);color:var(--ink)}.amount-direct-input:focus-visible{outline:none;border-color:var(--brand-navy)}.amount-direct-input::placeholder{color:var(--ink-faint)}.amount-input-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--sp-2)}.amount-input-actions .btn{flex:1 1 auto;padding:0 var(--sp-3);white-space:nowrap}.amount-unknown-note{font-size:var(--text-caption);color:var(--ink-faint)}.category-select-card{display:grid;gap:var(--sp-3);padding:var(--sp-4);border:1px solid var(--agent-asset);border-radius:var(--radius-lg);background:var(--surface-card)}.category-select-hint{font-size:var(--text-caption);color:var(--ink-muted)}.category-select-grid{display:flex;flex-wrap:wrap;gap:var(--sp-2)}.category-select-btn{min-height:var(--control-min);padding:0 var(--sp-4);border:1px solid var(--line-strong);border-radius:var(--radius-pill);background:var(--surface-page);color:var(--ink);font-size:var(--text-sm);font-weight:600}.category-select-on{border-color:var(--agent-asset);background:var(--agent-asset-bg);color:var(--agent-asset);font-weight:700}.category-select-actions{display:flex;justify-content:flex-end}.remaining-categories-card{display:grid;gap:var(--sp-3);padding:var(--sp-4);border:1px solid var(--agent-asset);border-radius:var(--radius-lg);background:var(--surface-card)}.remaining-categories-question{font-size:var(--text-sm);color:var(--ink)}.remaining-categories-actions{display:flex;gap:var(--sp-2)}.remaining-categories-actions .btn{flex:1}.asset-review-card{display:grid;gap:var(--sp-3);padding:var(--sp-4);border:1px solid var(--agent-asset);border-radius:var(--radius-lg);background:var(--surface-card)}.asset-review-list{display:grid;gap:var(--sp-2)}.asset-review-row{display:flex;align-items:center;gap:var(--sp-3);padding:var(--sp-2) 0;border-bottom:1px solid var(--line)}.asset-review-label{flex:1;font-size:var(--text-sm);color:var(--ink)}.asset-review-value{font-size:var(--text-sm);color:var(--ink-muted);white-space:nowrap}.asset-review-exclusion-note{font-size:var(--text-caption);color:var(--ink-faint)}.asset-review-actions{display:flex;justify-content:flex-end}.fp-note{font-size:var(--text-caption);color:var(--ink-muted);padding:var(--sp-2) 0}.fp-member-list{list-style:none;padding:0;display:grid;gap:var(--sp-2)}.fp-member{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--sp-3);padding:var(--sp-3);border:1px solid var(--line);border-radius:var(--radius-md)}.fp-member-main{display:grid;gap:var(--sp-2);flex:1}.fp-member-name{min-height:40px;padding:0 var(--sp-2);border:1px solid var(--line-strong);border-radius:var(--radius-sm);font-weight:600}.fp-member-meta{display:flex;align-items:center;gap:var(--sp-3);font-size:var(--text-caption);color:var(--ink-muted);flex-wrap:wrap}.fp-member-meta label{display:inline-flex;align-items:center;gap:var(--sp-1)}.fp-rel{font-weight:700;color:var(--ink)}.fp-delete{color:var(--state-bad);font-size:var(--text-caption);font-weight:700;padding:var(--sp-2)}.fp-error{color:var(--state-bad);font-size:var(--text-caption);margin-top:var(--sp-2)}.fp-add{margin-top:var(--sp-4);padding-top:var(--sp-4);border-top:1px solid var(--line);display:grid;gap:var(--sp-2)}.fp-add-row{display:flex;gap:var(--sp-2);align-items:center}.fp-add-row select,.fp-add-row input{min-height:44px;padding:0 var(--sp-2);border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface-card);color:var(--ink)}.fp-add-row input::placeholder{color:var(--ink-faint)}.fp-add-row input{flex:1}.starter-prompts{margin:var(--sp-2) 0 var(--sp-5)}.starter-prompts-label{font-size:var(--text-caption);font-weight:700;color:var(--ink-muted);letter-spacing:.02em;margin-bottom:var(--sp-2)}.starter-prompts-list{display:flex;flex-direction:column;gap:var(--sp-2)}.starter-chip{text-align:left;padding:var(--sp-3) var(--sp-4);border:1px solid var(--line-strong);border-left:3px solid var(--brand-gold);border-radius:var(--radius-md);background:var(--surface-sunken);font-size:var(--text-sm);line-height:1.5;color:var(--ink);transition:transform var(--motion-fast),border-color var(--motion-fast),background var(--motion-fast)}.starter-chip:before{content:"“";color:var(--brand-gold);font-weight:700;margin-right:2px}.starter-chip:hover:not(:disabled){transform:translateY(-1px);border-color:var(--brand-navy);background:var(--brand-gold-soft)}.starter-chip:disabled{opacity:.5;cursor:default}.fn-rail-or{font-size:var(--text-caption);font-weight:700;color:var(--ink-faint);letter-spacing:.04em;margin:var(--sp-4) 0 var(--sp-2)}.family-anchor{margin:var(--sp-4) 0 var(--sp-5);padding:var(--sp-4);border:1.5px solid var(--brand-navy);border-radius:var(--radius-lg);background:var(--surface-card)}.family-anchor-label{display:block;font-family:var(--font-serif);font-size:1.05rem;font-weight:700;margin-bottom:var(--sp-2)}.family-anchor-input{width:100%;min-height:46px;padding:0 var(--sp-3);border:1px solid var(--line-strong);border-radius:var(--radius-sm);font-size:var(--text-body);background:var(--surface-card);color:var(--ink)}.family-anchor-input:focus-visible{outline:none;border-color:var(--brand-navy)}.family-anchor-hint{margin-top:var(--sp-2);font-size:var(--text-caption);color:var(--ink-muted);line-height:1.5}.family-add-row{display:flex;flex-wrap:wrap;gap:var(--sp-2);align-items:center;margin-top:var(--sp-2)}.family-name-input{flex:1 1 160px;min-height:44px;padding:0 var(--sp-3);border:1px solid var(--line-strong);border-radius:var(--radius-sm);font-size:var(--text-sm);background:var(--surface-card);color:var(--ink)}.family-name-input:focus-visible{outline:none;border-color:var(--brand-navy)}.family-anchor-input::placeholder,.family-name-input::placeholder{color:var(--ink-faint)}.family-minor-check{display:inline-flex;align-items:center;gap:4px;font-size:var(--text-caption);color:var(--ink-muted);white-space:nowrap}.family-list{list-style:none;padding:0;margin:var(--sp-2) 0 var(--sp-3);display:flex;flex-direction:column;gap:var(--sp-1)}.family-list li,.family-added-line{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);padding:var(--sp-2) var(--sp-3);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-sunken);font-size:var(--text-sm)}.family-tag{margin-left:var(--sp-2);font-size:.65rem;font-weight:800;padding:1px 6px;border-radius:var(--radius-pill);background:var(--brand-gold-soft);color:var(--brand-gold)}.family-remove{font-size:var(--text-caption);color:var(--ink-faint);text-decoration:underline;padding:2px 4px}.family-remove:hover:not(:disabled){color:var(--brand-navy)}.site{display:flex;flex-direction:column;min-height:100dvh;background:var(--surface-page);overflow-x:hidden}.site-main{flex:1}.bw{filter:grayscale(1) contrast(1.05) brightness(.98);object-fit:cover}.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1)}.reveal.is-visible{opacity:1;transform:none}@media (prefers-reduced-motion: reduce){.reveal{opacity:1;transform:none;transition:none}.parallax-img{top:0;right:0;bottom:0;left:0;height:100%;transform:none!important}}.site-header{position:sticky;top:0;z-index:var(--z-header)}.site-utility{background:var(--brand-navy);color:var(--ink-inverse-muted)}.site-utility-inner{max-width:1120px;margin:0 auto;padding:6px var(--sp-4);display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:2px var(--sp-2);font-size:.72rem}.site-utility-link{color:var(--ink-inverse-muted);padding:4px 2px}.site-utility-link:hover{color:#fff;text-decoration:underline;text-underline-offset:2px}.link-underline{text-decoration:underline;text-underline-offset:2px}.site-utility-text{color:var(--ink-inverse-muted);padding:4px 2px}.site-utility-user{color:var(--brand-gold);font-weight:600}.site-utility-sep{opacity:.4}.site-nav-bar{background:var(--surface-card);border-bottom:1px solid var(--line)}.site-nav-inner{max-width:1120px;margin:0 auto;padding:var(--sp-3) var(--sp-5);display:flex;align-items:center;justify-content:space-between;gap:var(--sp-4)}.site-logo{display:inline-flex;flex-shrink:0;text-decoration:none}.site-logo .wordmark{text-decoration:none}.site-nav{display:flex;align-items:center;gap:0}.site-nav-link{position:relative;font-size:var(--text-sm);font-weight:600;color:var(--ink-muted);padding:var(--sp-2) var(--sp-4);text-decoration:none}.site-nav-link+.site-nav-link:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:1px;height:13px;background:var(--line-strong)}.site-nav-link:hover{color:var(--ink)}.site-nav-link.active{color:var(--brand-navy)}.site-nav-cta{margin-left:var(--sp-4);min-height:44px}.site-nav-toggle{display:none;flex-direction:column;gap:4px;padding:var(--sp-2)}.site-nav-toggle span{width:22px;height:2px;background:var(--ink)}@media (max-width: 860px){.site-nav-toggle{display:flex}.site-nav{position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;background:var(--surface-card);border-bottom:1px solid var(--line);padding:var(--sp-3) var(--sp-5) var(--sp-4);box-shadow:var(--shadow-card);display:none}.site-nav.open{display:flex}.site-nav-link{padding:var(--sp-3) 0;border-bottom:1px solid var(--line)}.site-nav-link+.site-nav-link:before{display:none}.site-nav-cta{margin-left:0;margin-top:var(--sp-3)}.site-nav-inner{position:relative}}.site-section{padding:clamp(60px,8.5vw,108px) var(--sp-5)}.site-section.alt{background:var(--surface-card);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.section-inner{max-width:1120px;margin:0 auto}.section-narrow{max-width:780px}.section-head{max-width:680px;margin-bottom:var(--sp-8)}.section-head h2{font-size:clamp(1.65rem,3.2vw,2.25rem);line-height:1.3;letter-spacing:-.02em;margin:var(--sp-3) 0 var(--sp-4);color:var(--ink)}.section-lead{color:var(--ink-muted);font-size:clamp(1.05rem,1.4vw,1.15rem);line-height:1.8}.section-more{display:inline-block;margin-top:var(--sp-6);font-size:var(--text-sm);font-weight:700;color:var(--brand-navy)}.parallax-img{position:absolute;top:-12%;right:0;bottom:-12%;left:0;width:100%;height:124%;object-fit:cover;will-change:transform}.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line)}.hero-photo{background:var(--brand-navy);padding:clamp(44px,7vw,88px) var(--sp-5)}.hero-bg-wrap{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.hero-bg-wrap .parallax-img{opacity:.42}.hero-photo:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(110deg,#111a2eeb,#16223dc7,#1b2a4a99)}.hero-inner{position:relative;z-index:1;max-width:1120px;margin:0 auto}.hero-tagline{font-family:var(--font-serif);font-size:clamp(1.05rem,1.8vw,1.35rem);font-weight:600;color:var(--brand-gold);letter-spacing:.01em}.hero-title{font-size:clamp(2rem,4.6vw,3.1rem);line-height:1.32;margin:var(--sp-4) 0 var(--sp-4);max-width:22ch;letter-spacing:-.02em;color:#fff}.hero-br{display:none}@media (min-width: 720px){.hero-br{display:inline}}.hero-lead{font-size:clamp(1.1rem,1.7vw,1.28rem);color:#ece6d9;line-height:1.8;max-width:48ch}.hero-actions{display:flex;flex-wrap:wrap;gap:var(--sp-3);margin:var(--sp-6) 0 var(--sp-3)}.hero-note{font-size:var(--text-caption);color:var(--ink-inverse-muted)}.photo-band{position:relative;width:100%;overflow:hidden}.photo-band-bg{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.photo-band-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#17181db8,#17181d59 55%,#17181d26)}.photo-band-caption{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;max-width:1120px;margin:0 auto;padding:0 var(--sp-6)}.photo-band-caption p{color:#fff;font-family:var(--font-serif);font-size:clamp(1.25rem,2.8vw,2rem);font-weight:600;line-height:1.45;max-width:20ch;text-shadow:0 2px 12px rgba(0,0,0,.4)}.photo-attr{position:absolute;right:var(--sp-3);bottom:var(--sp-2);font-size:.7rem;color:#fff9}.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--sp-4)}.feature-card{background:var(--surface-page);border:1px solid var(--line);border-top:3px solid var(--brand-gold);border-radius:var(--radius-md);padding:var(--sp-5)}.site-section.alt .feature-card{background:var(--surface-card)}.feature-icon{font-size:1.6rem}.feature-card h3{font-size:1.25rem;margin:var(--sp-3) 0 var(--sp-2)}.feature-card p{font-size:var(--text-sm);color:var(--ink-muted);line-height:1.72}.usage-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--sp-4);counter-reset:none}.usage-steps li{padding:var(--sp-5);background:var(--surface-page);border:1px solid var(--line);border-radius:var(--radius-md)}.usage-step-n{font-family:var(--font-serif);font-size:1.4rem;font-weight:700;color:var(--brand-gold)}.usage-steps h3{font-size:1.1rem;margin:var(--sp-2) 0}.usage-steps p{font-size:var(--text-sm);color:var(--ink-muted);line-height:1.65}.procedure-preview{list-style:none;padding:0;display:grid;gap:var(--sp-2)}.procedure-preview li{display:flex;gap:var(--sp-4);padding:var(--sp-4);background:var(--surface-card);border:1px solid var(--line);border-radius:var(--radius-md)}.site-section.alt .procedure-preview li{background:var(--surface-page)}.procedure-order{flex-shrink:0;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-pill);background:var(--brand-navy);color:var(--ink-inverse);font-family:var(--font-sans);font-weight:700;font-size:.95rem;line-height:1}.procedure-body h3{font-size:1.15rem;font-family:var(--font-sans);font-weight:700}.procedure-deadline{display:inline-block;margin:var(--sp-1) 0;font-size:var(--text-sm);font-weight:700;color:var(--brand-gold)}.procedure-body p{font-size:var(--text-sm);color:var(--ink-muted);line-height:1.65}.trust-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--sp-6)}.trust-item h3{font-size:1.2rem;margin-bottom:var(--sp-3);padding-left:var(--sp-3);border-left:3px solid var(--brand-gold)}.trust-item p{font-size:var(--text-sm);color:var(--ink-muted);line-height:1.75}.agency-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--sp-3)}.agency-card{display:block;padding:var(--sp-4);background:var(--surface-page);border:1px solid var(--line);border-radius:var(--radius-md);color:inherit}.agency-card:hover{border-color:var(--brand-navy)}.agency-card h3{font-size:1.08rem;font-family:var(--font-sans);font-weight:700;color:var(--brand-navy)}.agency-card p{font-size:var(--text-sm);color:var(--ink-muted);margin:var(--sp-2) 0;line-height:1.6}.agency-contact{font-size:var(--text-caption);color:var(--ink-faint)}.cta-band{position:relative;background:var(--brand-navy);color:var(--ink-inverse);padding:var(--sp-12) var(--sp-5);text-align:center;overflow:hidden}.cta-band h2{font-size:clamp(1.5rem,3vw,2rem);color:#fff}.cta-band p{margin:var(--sp-3) 0 var(--sp-6);color:var(--ink-inverse-muted)}.cta-band .hero-actions{justify-content:center}.cta-band-photo{padding:var(--sp-10) var(--sp-5)}.cta-band-bg-wrap{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.cta-band-bg-wrap .parallax-img{opacity:.3}.cta-band-photo:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#1b2a4ac7,#141e36eb)}.cta-band-inner{position:relative;z-index:1;max-width:640px;margin:0 auto}.cta-band-inner h2{font-size:clamp(1.5rem,3vw,2rem);color:#fff}.cta-band-inner p{margin:var(--sp-3) 0 var(--sp-6);color:var(--ink-inverse-muted)}.page-hero{position:relative;background:var(--brand-navy);color:var(--ink-inverse);padding:var(--sp-8) var(--sp-5) var(--sp-6);overflow:hidden}.page-hero-bg-wrap{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.page-hero-bg-wrap .parallax-img{opacity:.32}.page-hero-photo:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(120deg,#141e36eb,#1b2a4ab3)}.page-hero-inner{position:relative;z-index:1}.page-hero .eyebrow{color:var(--brand-gold)}.page-hero h1{font-size:clamp(1.9rem,4vw,2.6rem);color:#fff;margin:var(--sp-3) 0 var(--sp-3);letter-spacing:-.02em}.page-hero-lead{color:#ede7da;font-size:clamp(1.05rem,1.5vw,1.18rem);line-height:1.75;max-width:54ch}.page-hero-lead a{color:var(--brand-gold);text-decoration:underline}.guide-h2{font-size:clamp(1.5rem,2.8vw,2rem);letter-spacing:-.02em;margin-bottom:var(--sp-6);padding-bottom:var(--sp-3);border-bottom:2px solid var(--brand-navy);color:var(--ink)}.guide-timeline{list-style:none;padding:0;display:grid;gap:0}.guide-timeline li{display:grid;grid-template-columns:40px 1fr;gap:var(--sp-4);padding-bottom:var(--sp-6)}.guide-timeline-marker{display:flex;flex-direction:column;align-items:center}.guide-timeline-marker span{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-pill);background:var(--brand-navy);color:var(--ink-inverse);font-family:var(--font-sans);font-weight:700;font-size:1rem;line-height:1;flex-shrink:0}.guide-timeline li:not(:last-child) .guide-timeline-marker:after{content:"";flex:1;width:2px;background:var(--line-strong);margin-top:var(--sp-2)}.guide-timeline-body h3{font-size:1.2rem;font-family:var(--font-sans);font-weight:700;margin-bottom:var(--sp-2)}.guide-meta{display:grid;gap:var(--sp-1);margin:var(--sp-2) 0;padding:var(--sp-3);background:var(--surface-card);border:1px solid var(--line);border-radius:var(--radius-sm)}.guide-meta div{display:flex;gap:var(--sp-2);font-size:var(--text-caption)}.guide-meta dt{font-weight:700;color:var(--brand-gold);min-width:3em}.guide-meta dd{color:var(--ink-muted)}.guide-timeline-body p{font-size:var(--text-sm);color:var(--ink-muted);line-height:1.75}.info-block{margin-bottom:var(--sp-6)}.info-block h3{font-size:1.1rem;font-family:var(--font-sans);font-weight:700;margin-bottom:var(--sp-2)}.info-block p{font-size:var(--text-sm);color:var(--ink-muted);line-height:1.75}.info-list{margin:var(--sp-2) 0;padding-left:1.3em;font-size:var(--text-sm);color:var(--ink-muted);line-height:1.8}.info-list-flow{list-style:decimal}.info-note{font-size:var(--text-caption);color:var(--ink-faint);line-height:1.65;margin-top:var(--sp-3)}.will-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--sp-3);margin-bottom:var(--sp-6)}.will-card{padding:var(--sp-4);background:var(--surface-card);border:1px solid var(--line);border-left:3px solid var(--brand-gold);border-radius:0 var(--radius-sm) var(--radius-sm) 0}.will-card h3{font-size:1rem;font-family:var(--font-sans);font-weight:700}.will-card p{margin-top:var(--sp-2);font-size:var(--text-sm);color:var(--ink-muted);line-height:1.65}.agent-detail-list{display:grid;gap:var(--sp-4)}.agent-detail{padding:var(--sp-5);background:var(--surface-page);border:1px solid var(--line);border-radius:var(--radius-md)}.agent-detail h3{font-size:1.1rem;font-family:var(--font-sans);font-weight:700;margin-bottom:var(--sp-2)}.agent-detail p{font-size:var(--text-sm);color:var(--ink-muted);line-height:1.7}.guide-cta{text-align:center}.guide-cta p{color:var(--ink-muted);margin:var(--sp-3) 0 var(--sp-5)}.guide-cta .disclaimer{margin-top:var(--sp-6);text-align:left}.faq-list{list-style:none;padding:0;border-top:1px solid var(--line)}.faq-item{border-bottom:1px solid var(--line)}.faq-q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:var(--sp-3);text-align:left;padding:var(--sp-4) 0;font-size:var(--text-sm);font-weight:700}.faq-toggle{flex-shrink:0;font-size:1.2rem;color:var(--brand-gold)}.faq-a{padding:0 0 var(--sp-4);font-size:var(--text-sm);color:var(--ink-muted);line-height:1.8}.floating-cta{position:fixed;right:clamp(16px,3vw,32px);bottom:clamp(16px,3vw,32px);z-index:var(--z-panel);display:inline-flex;align-items:center;gap:var(--sp-2);min-height:54px;padding:0 var(--sp-5);border-radius:var(--radius-pill);background:var(--brand-gold);color:#fff;font-weight:700;font-size:var(--text-sm);letter-spacing:.01em;box-shadow:0 10px 28px #b0893d6b;transition:background var(--motion-fast),transform var(--motion-fast)}.floating-cta:before{content:"→";font-weight:700}@media (max-width: 560px){.floating-cta{min-height:48px;padding:0 var(--sp-4);font-size:var(--text-caption)}}.floating-cta:hover{background:var(--brand-gold-hover);transform:translateY(-2px)}.site-footer{background:var(--brand-navy);color:var(--ink-inverse-muted);margin-top:auto}.site-footer-inner{max-width:1120px;margin:0 auto;padding:var(--sp-10) var(--sp-5) var(--sp-6);display:grid;grid-template-columns:1fr 2fr;gap:var(--sp-8)}.site-footer-brand .wordmark{color:#fff}.site-footer-brand p{margin-top:var(--sp-2);font-size:var(--text-caption)}.site-footer-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--sp-5)}.site-footer-col{display:grid;gap:var(--sp-2);align-content:start}.site-footer-col h3{font-size:var(--text-caption);font-family:var(--font-sans);font-weight:700;color:#fff;letter-spacing:.04em;margin-bottom:var(--sp-1)}.site-footer-col a{font-size:var(--text-caption);color:var(--ink-inverse-muted)}.site-footer-col a:hover{color:#fff;text-decoration:underline;text-underline-offset:2px}.site-footer-legal{border-top:1px solid rgba(255,255,255,.12)}.site-footer-legal p{max-width:1120px;margin:0 auto;padding:var(--sp-4) var(--sp-5) 0;font-size:.75rem;line-height:1.6;color:var(--ink-inverse-muted)}.site-footer-copy{padding-bottom:var(--sp-6)!important;padding-top:var(--sp-2)!important;opacity:.7}@media (max-width: 720px){.site-section,.hero,.page-hero,.cta-band{padding-left:var(--sp-4);padding-right:var(--sp-4)}.site-section{padding-top:var(--sp-10);padding-bottom:var(--sp-10)}.hero{padding-top:var(--sp-8);padding-bottom:var(--sp-8)}.hero-inner{padding:var(--sp-4) 0}.site-nav-inner{padding:var(--sp-3) var(--sp-4)}.site-footer-inner{grid-template-columns:1fr;gap:var(--sp-6);padding-left:var(--sp-4);padding-right:var(--sp-4)}.site-footer-legal p{padding-left:var(--sp-4);padding-right:var(--sp-4)}.site-footer-cols{grid-template-columns:1fr 1fr}.guide-timeline li{grid-template-columns:32px 1fr;gap:var(--sp-3)}}.app-shell{--font-scale: 1.08}.app-shell[data-app-theme=light]{color-scheme:light}.app-shell[data-app-theme=dark]{color-scheme:dark}.app-shell .btn-primary,.app-shell .btn-gold{background:var(--brand-gold);color:#fff;border:none}.app-shell .btn-primary:hover:not(:disabled),.app-shell .btn-gold:hover:not(:disabled){background:var(--brand-gold-hover)}.app-shell .btn-primary:disabled,.app-shell .btn-gold:disabled{opacity:.45}.app-shell .context-panel-toggle{color:var(--brand-gold);font-weight:700}.app-shell .ctx-link{color:var(--brand-gold)}.app-shell .fn-tile-status{background:var(--brand-gold-soft);color:var(--brand-gold)}.app-shell .fn-rail-extra,.app-shell .chat-entry-secondary{color:var(--brand-gold)}.agent-avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--radius-pill);flex-shrink:0;line-height:1;position:relative;background:var(--surface-card);border:1.5px solid currentColor;background-clip:padding-box}.agent-avatar-sm{width:28px;height:28px;font-size:.85rem}.agent-avatar-md{width:36px;height:36px;font-size:1rem}.agent-avatar-lg{width:46px;height:46px;font-size:1.2rem}.agent-avatar-pulse{animation:agent-glow 1.6s ease-in-out infinite;color:var(--brand-gold)}@keyframes agent-glow{0%,to{box-shadow:0 0 6px #b0893d66}50%{box-shadow:0 0 20px #b0893dbf}}.agent-header{display:flex;align-items:center;gap:var(--sp-2)}.agent-header-avatars{display:inline-flex}.agent-header-avatars .agent-avatar+.agent-avatar{margin-left:-9px}.agent-header-label{font-size:var(--text-caption);font-weight:700;letter-spacing:.02em;color:var(--brand-gold)}.agent-header-sub{color:var(--ink-faint);font-weight:600}.agent-thinking{display:inline-flex;align-items:center;gap:var(--sp-2)}.agent-thinking-text{font-size:var(--text-caption);color:var(--ink-muted);font-weight:600}.topic-card-icon{font-size:1.5rem;line-height:1}@media (prefers-reduced-motion: reduce){.agent-avatar-pulse{animation:none}}.app-shell[data-app-theme=dark]{--surface-page: #0e1626;--surface-card: rgba(26, 38, 62, .62);--surface-solid: #17233c;--surface-sunken: rgba(10, 18, 32, .72);--overlay: rgba(4, 8, 18, .66);--ink: #eef1f8;--ink-muted: #aab3c9;--ink-faint: #7a86a0;--ink-inverse: #f2ede0;--ink-inverse-muted: #b9c0d6;--line: rgba(210, 180, 120, .16);--line-strong: rgba(220, 190, 130, .32);--holo-rgb: 226, 192, 120;--holo: linear-gradient(115deg, #c89a4c 0%, #f4e4bb 46%, #b58637 100%);--holo-soft: linear-gradient( 115deg, rgba(226, 192, 120, .26) 0%, rgba(244, 228, 187, .12) 50%, rgba(185, 138, 63, .26) 100% );--holo-3: #b98a3f;--brand-gold: #d8b877;--brand-gold-hover: #e6c98f;--brand-gold-soft: rgba(216, 184, 119, .16);--state-ok: #6fe0b0;--state-ok-bg: rgba(31, 74, 55, .5);--state-bad: #f29a9a;--state-bad-bg: rgba(74, 34, 34, .5);--state-warn: #ecc987;--state-warn-bg: rgba(70, 56, 28, .5);--state-info: #9db6f0;--state-info-bg: rgba(28, 42, 70, .55);--agent-heir: #8ab6ff;--agent-share: #63d3e4;--agent-estate: #c1a6ff;--agent-tax: #79dfae;--agent-asset: #ecc987;--focus-ring: 0 0 0 2px var(--surface-page), 0 0 0 4px var(--brand-gold), 0 0 16px rgba(var(--holo-rgb), .5);--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);--shadow-card: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 14px 44px rgba(0, 0, 0, .4);--shadow-dialog: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(var(--holo-rgb), .12);--radius-md: 12px;--radius-lg: 18px;position:relative;color:var(--ink);background:radial-gradient(1100px 620px at 80% -10%,rgba(226,192,120,.13),transparent 62%),radial-gradient(880px 520px at 2% 6%,rgba(226,192,120,.07),transparent 60%),var(--surface-page)}.app-shell[data-app-theme=dark]:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:0;background-image:linear-gradient(rgba(210,180,120,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(210,180,120,.05) 1px,transparent 1px);background-size:46px 46px;mask-image:radial-gradient(circle at 62% 0%,#000 0%,transparent 72%);-webkit-mask-image:radial-gradient(circle at 62% 0%,#000 0%,transparent 72%)}.app-shell[data-app-theme=dark]>*{position:relative;z-index:1}.app-shell[data-app-theme=dark] h1,.app-shell[data-app-theme=dark] h2,.app-shell[data-app-theme=dark] h3,.app-shell[data-app-theme=dark] h4{color:var(--ink)}.app-shell[data-app-theme=dark] .app-header,.app-shell[data-app-theme=dark] .context-panel-wrap,.app-shell[data-app-theme=dark] .composer,.app-shell[data-app-theme=dark] .bubble-assistant,.app-shell[data-app-theme=dark] .assistant-bubble,.app-shell[data-app-theme=dark] .bubble-typing,.app-shell[data-app-theme=dark] .card,.app-shell[data-app-theme=dark] .result-card,.app-shell[data-app-theme=dark] .tax-breakdown,.app-shell[data-app-theme=dark] .dialog-panel,.app-shell[data-app-theme=dark] .inst-wizard,.app-shell[data-app-theme=dark] .fn-tile{background:var(--surface-card);-webkit-backdrop-filter:blur(16px) saturate(1.25);backdrop-filter:blur(16px) saturate(1.25);border:1px solid var(--line);box-shadow:var(--shadow-card)}.app-shell[data-app-theme=dark] .result-card,.app-shell[data-app-theme=dark] .assistant-bubble,.app-shell[data-app-theme=dark] .dialog-panel,.app-shell[data-app-theme=dark] .inst-wizard,.app-shell[data-app-theme=dark] .fn-tile{position:relative;border-color:transparent;background-clip:padding-box}.app-shell[data-app-theme=dark] .result-card:after,.app-shell[data-app-theme=dark] .assistant-bubble:after,.app-shell[data-app-theme=dark] .dialog-panel:after,.app-shell[data-app-theme=dark] .inst-wizard:after,.app-shell[data-app-theme=dark] .fn-tile:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;padding:1px;background:var(--holo-soft);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;transition:background var(--motion-base)}.app-shell[data-app-theme=dark] .fn-tile:hover:not(:disabled):after,.app-shell[data-app-theme=dark] .fn-tile-active:after{background:var(--holo)}.app-shell[data-app-theme=dark] .app-header{border-radius:0;border-left:none;border-right:none;border-top:none}.app-shell[data-app-theme=dark] .app-header .wordmark-text{background:var(--holo);-webkit-background-clip:text;background-clip:text;color:transparent}.app-shell[data-app-theme=dark] .app-header-btn:hover{background:var(--surface-sunken);color:var(--ink)}.app-shell[data-app-theme=dark] .app-header-axis{color:var(--brand-gold);border-color:rgba(var(--holo-rgb),.5)}.app-shell[data-app-theme=dark] .context-panel-wrap{border-top:none;border-bottom:none;border-right:none}.app-shell[data-app-theme=dark] .context-panel-toggle{background:var(--surface-card);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.app-shell[data-app-theme=dark] .ctx-block h3{color:var(--ink-faint)}.app-shell[data-app-theme=dark] .ctx-tag{background:var(--surface-sunken);color:var(--ink-muted)}.app-shell[data-app-theme=dark] .ctx-prep-item:hover{background:var(--surface-sunken)}.app-shell[data-app-theme=dark] .gauge-track{background:rgba(var(--holo-rgb),.16)}.app-shell[data-app-theme=dark] .gauge-fill{background:var(--brand-gold);box-shadow:0 0 10px rgba(var(--holo-rgb),.5)}.app-shell[data-app-theme=dark] .chat-scroll{background:transparent}.app-shell[data-app-theme=dark] .bubble-user{background:var(--brand-gold);color:#1e1b15;border:none;box-shadow:0 6px 18px rgba(var(--holo-rgb),.28)}.app-shell[data-app-theme=dark] .bubble-error{background:var(--state-bad-bg);border:1px solid var(--state-bad);color:var(--state-bad);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.app-shell[data-app-theme=dark] .bubble-typing .dot{background:var(--brand-gold);box-shadow:0 0 8px rgba(var(--holo-rgb),.8)}.app-shell[data-app-theme=dark] .fn-rail-head h1,.app-shell[data-app-theme=dark] .chat-entry h1{background:var(--holo);-webkit-background-clip:text;background-clip:text;color:transparent}.app-shell[data-app-theme=dark] .fn-tile:hover:not(:disabled){box-shadow:var(--shadow-card),0 0 22px rgba(var(--holo-rgb),.28)}.app-shell[data-app-theme=dark] .chat-empty-hint p{border-color:var(--line-strong);color:var(--ink-faint)}.app-shell[data-app-theme=dark] .user-note{background:var(--surface-sunken);border-color:var(--line);color:var(--ink-muted)}.app-shell[data-app-theme=dark] .gold-rule{background:var(--holo);height:2px;box-shadow:0 0 10px rgba(var(--holo-rgb),.6)}.app-shell[data-app-theme=dark] .eyebrow,.app-shell[data-app-theme=dark] .agent-header-label{background:var(--holo);-webkit-background-clip:text;background-clip:text;color:transparent}.app-shell[data-app-theme=dark] .agent-avatar{background:#0e1626e6}.app-shell[data-app-theme=dark] .composer{border-radius:0;border-left:none;border-right:none;border-bottom:none}.app-shell[data-app-theme=dark] .composer-input{background:var(--surface-sunken);border-color:var(--line-strong);color:var(--ink)}.app-shell[data-app-theme=dark] .composer-input:focus{outline:none;border-color:transparent;box-shadow:var(--focus-ring),inset 0 0 14px rgba(var(--holo-rgb),.12)}.app-shell[data-app-theme=dark] .composer-input::placeholder{color:var(--ink-faint)}.app-shell[data-app-theme=dark] .voice-btn{background:var(--surface-sunken);border-color:var(--line-strong);color:var(--ink-muted)}.app-shell[data-app-theme=dark] .voice-btn.listening{border-color:var(--brand-gold);color:var(--brand-gold)}.app-shell[data-app-theme=dark] .suggestion-chip{background:var(--surface-sunken);border-color:var(--line-strong);color:var(--ink-muted)}.app-shell[data-app-theme=dark] .result-card-title{color:var(--ink-faint)}.app-shell[data-app-theme=dark] .choice-btn{background:var(--surface-sunken);border-color:var(--line-strong);color:var(--ink)}.app-shell[data-app-theme=dark] .choice-btn:hover:not(:disabled){border-color:var(--brand-gold)}.app-shell[data-app-theme=dark] .choice-btn.choice-on{background:var(--brand-gold);color:#1e1b15;border-color:transparent}.app-shell[data-app-theme=dark] .stepper-bar{background:rgba(var(--holo-rgb),.16)}.app-shell[data-app-theme=dark] .stepper-bar.on{background:var(--brand-gold)}.app-shell[data-app-theme=dark] .tax-row-final th,.app-shell[data-app-theme=dark] .tax-row-final td{background:var(--surface-sunken)}.app-shell[data-app-theme=dark] .disclaimer-global{border-top-color:var(--line);background:transparent}.app-shell[data-app-theme=dark] .md code{background:var(--surface-sunken);color:var(--brand-gold)}.app-shell[data-app-theme=dark] .md a{color:var(--brand-gold)}.app-shell[data-app-theme=dark] .precedent-card{background:var(--brand-gold-soft);border-left-color:var(--brand-gold)}.app-shell[data-app-theme=dark] .needs-review{background:var(--state-warn-bg);color:var(--brand-gold);border:1px solid rgba(var(--holo-rgb),.32)}.app-shell[data-app-theme=dark] .ctx-ledger,.app-shell[data-app-theme=dark] .amount-display,.app-shell[data-app-theme=dark] .ledger-card{background:linear-gradient(150deg,#2e3e6cbf,#18264499);border:1px solid var(--line-strong)}.app-shell[data-app-theme=dark] .btn-ghost{color:var(--brand-gold)}.app-shell[data-app-theme=dark] .btn-ghost:hover:not(:disabled){background:var(--surface-sunken);color:var(--brand-gold-hover)}.app-shell[data-app-theme=dark] .amount-preview-ko{color:var(--brand-gold)}
