tr.total td{font-weight:600}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f5f7;--bg-glow:#0071e312;--bg-elevated:#fbfbfd;--surface:#fff;--surface-2:#f4f4f6;--surface-3:#e9e9ed;--glass:#f5f5f7bd;--hover:#0000000b;--segment-active:#fff;--border:#00000014;--border-strong:#00000029;--text:#1d1d1f;--text-muted:#6e6e73;--text-faint:#8e8e93;--accent:#0071e3;--accent-hover:#0077ed;--accent-soft:#0071e31a;--accent-text:#0058b0;--accent-ring:#0071e34d;--positive:#248a3d;--positive-soft:#34c75924;--negative:#d70015;--negative-soft:#ff3b301f;--caution:#b25000;--caution-soft:#ff950026;--radius-lg:14px;--radius:12px;--radius-md:9px;--radius-sm:7px;--shadow-sm:0 1px 1px #0000000a, 0 1px 3px #0000000d;--shadow:0 1px 2px #0000000a, 0 4px 16px #0000000f;--shadow-lg:0 8px 40px #0000002e, 0 1px 3px #00000014;--sans:-apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Helvetica, system-ui, sans-serif;--mono:ui-monospace, "SF Mono", "SFMono-Regular", Menlo, "Cascadia Mono", Consolas, monospace;--sidebar-w:240px;--chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E")}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#1c1c1e;--bg-glow:#0a84ff17;--bg-elevated:#232326;--surface:#2a2a2d;--surface-2:#323236;--surface-3:#3a3a3f;--glass:#1c1c1eb8;--hover:#ffffff0f;--segment-active:#56565c;--border:#ffffff17;--border-strong:#ffffff2e;--text:#f5f5f7;--text-muted:#a1a1a6;--text-faint:#8e8e93;--accent:#0a84ff;--accent-hover:#2693ff;--accent-soft:#0a84ff2b;--accent-text:#6cb4ff;--accent-ring:#0a84ff66;--positive:#30d158;--positive-soft:#30d15824;--negative:#ff453a;--negative-soft:#ff453a24;--caution:#ffb340;--caution-soft:#ff9f0a26;--shadow-sm:0 1px 1px #0000004d, 0 1px 3px #00000059;--shadow:0 1px 2px #00000059, 0 6px 20px #00000059;--shadow-lg:0 12px 48px #0009, 0 0 0 1px #ffffff0f;--chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E")}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{color:var(--text);background:radial-gradient(1100px 520px at 8% -8%, var(--bg-glow), transparent 62%), var(--bg);font-family:var(--sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"kern" 1, "liga" 1;background-attachment:fixed;margin:0;font-size:13.5px;line-height:1.5}h1,h2,h3,h4{letter-spacing:-.015em;margin:0;font-weight:600}h1{letter-spacing:-.022em;font-size:1.5rem}h2{font-size:1.05rem}h3{font-size:.92rem}p{margin:0 0 .75rem}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}code{font-family:var(--mono);background:var(--surface-2);border:1px solid var(--border);border-radius:4px;padding:1px 5px;font-size:.82em}strong{font-weight:600}::selection{background:var(--accent-soft)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--border-strong);background-clip:padding-box;border:3px solid #0000;border-radius:999px}::-webkit-scrollbar-thumb:hover{background-color:var(--text-faint)}:focus-visible{outline:3px solid var(--accent-ring);outline-offset:1px}.app{--assistant-w:360px;grid-template-columns:var(--sidebar-w) minmax(0, 1fr) var(--assistant-w);min-height:100vh;display:grid}.app[data-nav=collapsed]{--sidebar-w:60px}.app[data-assistant=collapsed]{--assistant-w:52px}.app[data-nav=collapsed] .sidebar{align-items:center;padding:20px 8px 16px}.app[data-nav=collapsed] .brand{flex-direction:column;gap:12px;padding:0}.app[data-nav=collapsed] .brand-text,.app[data-nav=collapsed] .sidebar-full,.app[data-nav=collapsed] .nav-group,.app[data-nav=collapsed] .nav-label{display:none}.app[data-nav=collapsed] .nav a{justify-content:center;padding:8px}.app[data-nav=collapsed] .nav>div+div{border-top:1px solid var(--border);margin-top:6px;padding-top:6px}.brand .nav-toggle{margin-left:auto}.app[data-nav=collapsed] .brand .nav-toggle{margin-left:0}.sidebar{background:var(--glass);-webkit-backdrop-filter:saturate(180%)blur(22px);backdrop-filter:saturate(180%)blur(22px);border-right:1px solid var(--border);flex-direction:column;gap:16px;height:100vh;padding:20px 12px 16px;display:flex;position:sticky;top:0;overflow-y:auto}.brand{align-items:center;gap:10px;padding:0 6px;display:flex}.brand strong{letter-spacing:-.01em;font-size:.92rem;line-height:1.2;display:block}.brand span{color:var(--text-faint);margin-top:1px;font-size:.7rem;display:block}.app-mark{color:#fff;background:linear-gradient(145deg,#3aa0ff 0%,#0a63d6 100%);border-radius:9px;flex:none;place-items:center;width:32px;height:32px;display:grid;box-shadow:0 1px 2px #0000002e,inset 0 1px #ffffff40}.app-mark svg{width:18px;height:18px}.app-mark.large{border-radius:15px;width:60px;height:60px}.app-mark.large svg{width:32px;height:32px}.sidebar-section{padding:0 6px}.sidebar-label{color:var(--text-faint);margin-bottom:5px;font-size:.72rem;font-weight:600;display:block}.sidebar-note{color:var(--text-faint);margin-top:6px;font-size:.74rem;line-height:1.4}.sidebar-actions{flex-wrap:wrap;gap:2px;margin-top:6px;display:flex}.sidebar-spacer{flex:1}.sidebar-foot{flex-direction:column;gap:10px;display:flex}.sidebar select{font-size:.84rem}.nav{flex-direction:column;gap:2px;display:flex}.nav a{border-radius:var(--radius-sm);color:var(--text);align-items:center;gap:10px;padding:6px 10px;font-size:.86rem;text-decoration:none;transition:background .12s;display:flex}.nav a:hover{background:var(--hover);text-decoration:none}.nav a.active{background:var(--accent-soft);color:var(--accent-text);font-weight:500}.nav-icon{width:18px;height:18px;color:var(--accent);flex:none;justify-content:center;align-items:center;display:inline-flex}.nav-icon svg{width:17px;height:17px}.nav-group{text-transform:uppercase;letter-spacing:.07em;color:var(--text-faint);padding:12px 10px 4px;font-size:.68rem;font-weight:600}.content{width:100%;min-width:0;max-width:1280px;padding:0 32px 64px}.content>*+*{margin-top:16px}.page-head{z-index:5;background:var(--glass);-webkit-backdrop-filter:saturate(180%)blur(20px);backdrop-filter:saturate(180%)blur(20px);border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 -32px 20px;padding:18px 32px 14px;display:flex;position:sticky;top:0}.page-head p{color:var(--text-muted);max-width:70ch;margin:4px 0 0;font-size:.86rem}.entry{place-items:center;min-height:100vh;padding:32px 16px;display:grid}.entry-panel{width:min(440px,100%)}.entry-panel.wide{width:min(720px,100%)}.entry-brand{text-align:center;flex-direction:column;align-items:center;gap:10px;margin-bottom:20px;display:flex}.entry-brand h1{font-size:1.35rem}.entry-brand p{color:var(--text-muted);max-width:52ch;margin:0;font-size:.86rem}.entry-panel>*+*{margin-top:16px}.centered-narrow{max-width:440px;margin:10vh auto 0}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:18px 20px}.card-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;display:flex}.card-head .hint{color:var(--text-faint);margin-top:2px;font-size:.78rem}.card .grid+.grid{margin-top:10px}.grid{gap:14px;display:grid}.grid>.card{margin-top:0}.grid.cols-2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.grid.cols-3{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.grid.cols-4{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.stat{flex-direction:column;gap:4px;display:flex}.card.stat{padding:16px 18px}.stat .label{color:var(--text-muted);font-size:.78rem;font-weight:500}.stat .value{letter-spacing:-.025em;font-variant-numeric:tabular-nums;font-size:1.55rem;font-weight:600;line-height:1.15}.stat .value.text{letter-spacing:-.01em;font-size:1.1rem}.stat .sub{color:var(--text-faint);font-size:.76rem;line-height:1.35}.stat.positive .value{color:var(--positive)}.stat.negative .value{color:var(--negative)}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.85rem}th,td{text-align:left;border-bottom:1px solid var(--border);padding:8px 10px}th{color:var(--text-faint);text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;background:var(--surface);z-index:1;font-size:.72rem;font-weight:600;position:sticky;top:0}tbody tr:last-child td{border-bottom:none}td.num,th.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}tbody tr:hover{background:var(--hover)}table.is-clickable tbody tr{cursor:pointer}tr.is-deficit td.num.withdraw{color:var(--negative)}tr.is-past{opacity:.55}tr.is-ended{opacity:.6}tr.is-inactive{opacity:.5}th .faint{text-transform:none;letter-spacing:0;font-weight:400}tr.is-retirement,tr.is-retirement:hover{background:var(--accent-soft)}.scroll-y{max-height:60vh;overflow-y:auto}td input.cell{text-align:right;font-variant-numeric:tabular-nums;min-width:72px;padding:3px 6px;font-size:.82rem}td .cell-wrap{justify-content:flex-end;align-items:center;gap:4px;display:flex}td .cell-wrap.is-muted{opacity:.55}td .cell-unit{color:var(--text-faint);font-size:.78rem}@keyframes card-flash{0%{box-shadow:0 0 0 4px var(--accent-ring)}to{box-shadow:var(--shadow-sm)}}.card[data-flash=true]{animation:1.8s ease-out card-flash}.field{flex-direction:column;gap:5px;margin-bottom:12px;display:flex}.field label{color:var(--text);font-size:.8rem;font-weight:500}.field .help{color:var(--text-faint);font-size:.74rem;line-height:1.4}.field .error{color:var(--negative);font-size:.75rem}.field-note{color:var(--text-faint);margin:-6px 0 12px;font-size:.78rem}.form-error{color:var(--negative);margin:0 0 10px;font-size:.8rem}input[type=text],input[type=number],input[type=password],select,textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);width:100%;padding:6px 10px;transition:border-color .12s,box-shadow .12s;box-shadow:inset 0 1px 1px #00000008}:root[data-theme=dark] input[type=text],:root[data-theme=dark] input[type=number],:root[data-theme=dark] input[type=password],:root[data-theme=dark] select,:root[data-theme=dark] textarea{background:var(--surface-2);box-shadow:none}select{appearance:none;background-image:var(--chevron);cursor:pointer;background-position:right 9px center;background-repeat:no-repeat;padding-right:30px}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3.5px var(--accent-ring);outline:none}input[aria-invalid=true]{border-color:var(--negative)}input:disabled,select:disabled,textarea:disabled{background:var(--surface-2);color:var(--text-faint);cursor:not-allowed}input::placeholder{color:var(--text-faint)}input[type=checkbox]{accent-color:var(--accent);width:15px;height:15px}.checkbox{cursor:pointer;align-items:flex-start;gap:8px;margin-bottom:12px;display:flex}.checkbox input{margin:3px 0 0}.checkbox span{font-size:.83rem}.checkbox .help{color:var(--text-faint);font-size:.74rem;line-height:1.4;display:block}.toolbar .checkbox{margin-bottom:0}.field-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.section-title{text-transform:uppercase;letter-spacing:.07em;color:var(--text-faint);border-bottom:1px solid var(--border);margin:18px 0 10px;padding-bottom:6px;font-size:.72rem;font-weight:600}.section-title:first-child{margin-top:0}textarea.formula-input{font-family:var(--mono);resize:vertical;padding:8px 10px;font-size:.85rem;line-height:1.5}.formula-result{margin:6px 0 0;font-size:.85rem}.formula-example{border-top:1px solid var(--border);color:var(--text-faint);margin-top:10px;padding-top:8px;font-size:.78rem;line-height:1.6}button{font:inherit;cursor:pointer;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm);padding:6px 12px;font-size:.85rem;font-weight:500;transition:background .12s,box-shadow .12s,transform 50ms}button:hover:not(:disabled){background:var(--surface-2)}button:active:not(:disabled){transform:translateY(.5px)}button:disabled{opacity:.5;cursor:not-allowed}:root[data-theme=dark] button{background:var(--surface-2)}:root[data-theme=dark] button:hover:not(:disabled){background:var(--surface-3)}button.primary{background:var(--accent);color:#fff;border-color:#0000;box-shadow:0 1px 2px #00000024,inset 0 1px #ffffff2e}button.primary:hover:not(:disabled){background:var(--accent-hover)}:root[data-theme=dark] button.primary{background:var(--accent)}:root[data-theme=dark] button.primary:hover:not(:disabled){background:var(--accent-hover)}button.danger{color:var(--negative)}button.danger:hover:not(:disabled){background:var(--negative-soft)}button.subtle{box-shadow:none;color:var(--text-muted);background:0 0;border-color:#0000;padding:4px 8px}button.subtle:hover:not(:disabled){background:var(--hover);color:var(--text)}:root[data-theme=dark] button.subtle{background:0 0}:root[data-theme=dark] button.subtle:hover:not(:disabled){background:var(--hover)}button.subtle.danger:hover:not(:disabled){color:var(--negative);background:var(--negative-soft)}button.link{box-shadow:none;color:var(--accent);text-underline-offset:2px;background:0 0;border:none;padding:0;font-weight:500;text-decoration:underline}button.link:hover:not(:disabled){color:var(--accent-hover);background:0 0}.button-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.segmented{background:var(--surface-3);border-radius:8px;gap:2px;padding:2px;display:inline-flex}.segmented button{box-shadow:none;color:var(--text-muted);background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:4px 10px;font-size:.8rem;display:inline-flex}.segmented button:hover:not(:disabled){color:var(--text);background:0 0}.segmented button.is-active,.segmented button.is-active:hover:not(:disabled){background:var(--segment-active);color:var(--text);box-shadow:var(--shadow-sm)}.segmented button svg{width:14px;height:14px}.segmented.block{display:flex}.segmented.block button{flex:1}button.icon-button{width:30px;height:30px;box-shadow:none;color:var(--text-muted);background:0 0;border-color:#0000;flex:none;place-items:center;padding:0;display:inline-grid}button.icon-button:hover:not(:disabled){background:var(--hover);color:var(--text)}:root[data-theme=dark] button.icon-button{background:0 0}:root[data-theme=dark] button.icon-button:hover:not(:disabled){background:var(--hover)}.badge{white-space:nowrap;background:var(--surface-2);color:var(--text-muted);border:1px solid var(--border);vertical-align:middle;border-radius:999px;padding:1px 8px;font-size:.7rem;font-weight:600;line-height:1.6;display:inline-block}.badge.generated{background:var(--accent-soft);color:var(--accent-text);border-color:#0000}.badge.user{background:var(--positive-soft);color:var(--positive);border-color:#0000}.badge.fixed,.badge.caution{background:var(--caution-soft);color:var(--caution);border-color:#0000}.notice{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-2);color:var(--text);margin:0 0 14px;padding:12px 14px;font-size:.84rem;line-height:1.5}.content>.notice{margin-bottom:0}.notice strong{margin-bottom:2px;display:block}.notice.warning{background:var(--caution-soft);border-color:#0000}.notice.warning strong{color:var(--caution)}.notice.error{background:var(--negative-soft);border-color:#0000}.notice.error strong{color:var(--negative)}.notice.info{background:var(--accent-soft);border-color:#0000}.notice.info strong{color:var(--accent-text)}.notice.success{background:var(--positive-soft);border-color:#0000}.notice.success strong{color:var(--positive)}.notice ul{margin:6px 0 0;padding-left:18px}.muted{color:var(--text-muted)}.faint{color:var(--text-faint);font-size:.78rem}.derivation{color:var(--text-faint);max-width:56ch;margin:10px 0 0;font-size:.77rem;line-height:1.5}.empty{text-align:center;color:var(--text-faint);padding:36px}.loading{text-align:center;color:var(--text-faint);padding:48px}.tone-positive{color:var(--positive)}.tone-negative{color:var(--negative)}.tone-caution{color:var(--caution)}.mt-0{margin-top:0}.mt-4{margin-top:4px}.mt-6{margin-top:6px}.mt-8{margin-top:8px}.mt-10{margin-top:10px}.mb-0{margin-bottom:0}.mb-8{margin-bottom:8px}.ml-6{margin-left:6px}.ml-8{margin-left:8px}.flex-1{flex:1}.justify-end{justify-content:flex-end}.timeline{flex-direction:column;gap:0;display:flex}.timeline-item{grid-template-columns:74px 20px 1fr;align-items:start;gap:10px;padding:7px 0;display:grid}.timeline-year{font-variant-numeric:tabular-nums;font-size:.85rem;font-weight:600}.timeline-year span{color:var(--text-faint);font-size:.72rem;font-weight:400;display:block}.timeline-rail{justify-content:center;height:100%;display:flex;position:relative}.timeline-rail:before{content:"";background:var(--border);border-radius:1px;width:2px;position:absolute;top:0;bottom:-14px}.timeline-dot{background:var(--accent);z-index:1;width:9px;height:9px;box-shadow:0 0 0 3px var(--surface);border-radius:50%;margin-top:5px;position:relative}.timeline-dot.retirement{background:var(--accent)}.timeline-dot.income{background:var(--positive)}.timeline-dot.expense{background:var(--caution)}.timeline-dot.tax{background:var(--negative)}.timeline-dot.portfolio{background:var(--text-muted)}.timeline-body strong{font-size:.86rem}.timeline-body p{color:var(--text-muted);margin:1px 0 0;font-size:.78rem}.phase{border-left:3px solid var(--accent);border-radius:2px;margin-bottom:14px;padding:2px 0 2px 12px}.phase h3{font-size:.88rem}.phase .years{color:var(--text-faint);font-size:.76rem}.phase p{color:var(--text-muted);margin:4px 0 6px;font-size:.8rem}.bar{background:var(--surface-3);border-radius:999px;min-width:90px;height:7px;display:flex;overflow:hidden}.bar span{height:100%;display:block}.bar .income{background:var(--positive)}.bar .portfolio{background:var(--caution)}.toolbar{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.toolbar .spacer{flex:1}dialog{color:inherit;background:0 0;border:none;padding:0}dialog::backdrop{background:#00000061}.modal{background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);width:min(560px,92vw);max-height:86vh;padding:22px 24px;overflow-y:auto}@keyframes sheet-in{0%{opacity:0;transform:translateY(6px)scale(.985)}to{opacity:1;transform:none}}dialog[open] .modal{animation:.18s ease-out sheet-in}.modal h2{margin-bottom:14px;font-size:1.1rem}.modal-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.assistant{background:var(--glass);-webkit-backdrop-filter:saturate(180%)blur(22px);backdrop-filter:saturate(180%)blur(22px);border-left:1px solid var(--border);flex-direction:column;min-width:0;height:100vh;display:flex;position:sticky;top:0}.assistant.collapsed{align-items:center;padding-top:16px}.assistant-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;padding:14px 12px 12px 16px;display:flex}.assistant-title{color:var(--accent);align-items:center;gap:8px;display:flex}.assistant-title strong{color:var(--text);font-size:.92rem}.assistant-tools{align-items:center;gap:2px;display:flex}.assistant-tools .segmented{margin-right:4px}.assistant-body{flex-direction:column;flex:1;gap:10px;padding:14px 14px 8px;display:flex;overflow-y:auto}.assistant-empty{color:var(--text-muted);font-size:.86rem;line-height:1.5}.assistant-empty p{margin:0 0 12px}.assistant-suggestions{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.assistant-suggestions button{text-align:left;white-space:normal;color:var(--accent-text);font-weight:400}.bubble{overflow-wrap:anywhere;border-radius:14px;max-width:92%;padding:8px 12px;font-size:.86rem;line-height:1.5}.bubble p{margin:0}.bubble p+p,.bubble p+ul,.bubble ul+p{margin-top:8px}.bubble ul{margin:0;padding-left:18px}.bubble.from-user{background:var(--accent);color:#fff;white-space:pre-wrap;border-bottom-right-radius:4px;align-self:flex-end}.bubble.from-assistant{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-bottom-left-radius:4px;align-self:flex-start}.bubble.from-note{max-width:100%;color:var(--text-muted);background:var(--hover);border-radius:999px;align-self:center;padding:4px 10px;font-size:.76rem}.bubble.from-note.positive{color:var(--positive);background:var(--positive-soft)}.bubble.from-note.negative{color:var(--text-muted)}.bubble.thinking{gap:4px;padding:12px 14px;display:flex}.bubble.thinking span{background:var(--text-faint);border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite assistant-dot}.bubble.thinking span:nth-child(2){animation-delay:.15s}.bubble.thinking span:nth-child(3){animation-delay:.3s}@keyframes assistant-dot{0%,80%,to{opacity:.3}40%{opacity:1}}.proposal{border:1px solid var(--accent);border-radius:var(--radius-md);background:var(--accent-soft);padding:10px 12px;font-size:.84rem}.proposal-title{color:var(--accent-text);margin-bottom:4px;font-weight:600}.proposal ul{margin:0 0 10px;padding-left:18px;line-height:1.45}.assistant-problem{color:var(--negative);margin:0 14px 6px;font-size:.78rem}.assistant-input{border-top:1px solid var(--border);padding:10px 12px 14px}.text-row{align-items:flex-end;gap:8px;display:flex}.text-row textarea{resize:none;flex:1;min-height:40px;max-height:140px;font-size:.86rem}.text-row button.send{flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}.voice-row{align-items:center;gap:10px;margin-bottom:10px;display:flex}.voice-status{color:var(--text-muted);flex:1;align-items:center;min-height:2.7em;font-size:.8rem;line-height:1.35;display:flex}button.mic{background:var(--accent);color:#fff;border-color:#0000;border-radius:50%;flex:none;place-items:center;width:48px;height:48px;padding:0;display:grid}button.mic:hover:not(:disabled){background:var(--accent-hover)}:root[data-theme=dark] button.mic{background:var(--accent)}button.mic.live{background:var(--negative);animation:1.4s ease-in-out infinite mic-pulse}:root[data-theme=dark] button.mic.live{background:var(--negative)}@keyframes mic-pulse{0%,to{box-shadow:0 0 #ff3b3059}50%{box-shadow:0 0 0 8px #ff3b3000}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}.card[data-flash=true]{outline:2px solid var(--accent)}}@media (width<=1024px){.page-head{position:static}}@media (width<=1100px){.app,.app[data-assistant=collapsed]{grid-template-columns:var(--sidebar-w) minmax(0, 1fr)}.assistant{z-index:20;width:min(380px,100vw);box-shadow:var(--shadow-lg);background:var(--bg,var(--surface-2));-webkit-backdrop-filter:none;backdrop-filter:none;position:fixed;top:0;bottom:0;right:0}.assistant.collapsed{width:auto;height:auto;box-shadow:none;background:0 0;border:none;padding:0;top:auto;bottom:16px;right:16px}.assistant.collapsed .icon-button{background:var(--accent);color:#fff;width:52px;height:52px;box-shadow:var(--shadow-lg);border-radius:50%}}@media (width<=820px){.app,.app[data-assistant=collapsed]{grid-template-columns:1fr}.app[data-nav=collapsed] .sidebar-full,.app[data-nav=collapsed] .nav-label{display:revert}.sidebar{flex-flow:wrap;align-items:center;gap:12px;height:auto;padding:12px;position:static}.sidebar-spacer{display:none}.nav{flex-flow:wrap}.nav-group{display:none}.content{padding:0 16px 48px}.page-head{margin:0 -16px 16px;padding:14px 16px 12px}.field-row{grid-template-columns:1fr}}.google-button{color:#3c4043;background:#fff;border:1px solid #dadce0;border-radius:8px;justify-content:center;align-items:center;gap:10px;width:100%;margin:4px 0 12px;padding:10px 16px;font-weight:500;text-decoration:none;display:inline-flex}.google-button:hover{background:#f8f9fa;border-color:#c6c9cc}a.button{border:1px solid var(--border-strong,var(--border));background:var(--surface);color:var(--text);border-radius:7px;align-items:center;padding:6px 12px;font-size:.85rem;text-decoration:none;display:inline-flex}a.button:hover{background:var(--surface-2)}@media (width>=821px){.app[data-assistant=none]{grid-template-columns:var(--sidebar-w) minmax(0, 1fr)}}.order-list{margin:0 0 12px;padding-left:22px}.order-list li{justify-content:space-between;align-items:center;gap:8px;padding:3px 0;display:flex}.order-list li::marker{color:var(--text-faint)}.order-list .button-row button{padding:2px 8px}.sidebar-note.save-error{color:var(--negative)}.sidebar-note.save-saving,.sidebar-note.save-unsaved{color:var(--text-faint)}tr.is-selected td{background:var(--accent-soft)}.section-title{margin:22px 0 6px;font-size:1rem}.assistant-allowance{color:var(--text-faint);margin:0;padding:4px 14px 0;font-size:.75rem}.invite-code{letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:1.05rem}
