:root{color-scheme:light dark;--bg:light-dark(#ffffff,#000000);--sidebar:light-dark(#f9f9f9,#0d0d0d);--raised:light-dark(#ececec,#212121);--composer:light-dark(#f4f4f4,#2f2f2f);--line:light-dark(rgba(0,0,0,0.1),rgba(255,255,255,0.08));--line-strong:light-dark(rgba(0,0,0,0.16),rgba(255,255,255,0.16));--tint:light-dark(rgba(0,0,0,0.05),rgba(255,255,255,0.07));--text:light-dark(#0d0d0d,#ececec);--muted:light-dark(#6b6b6b,#8e8e8e);--faint:light-dark(#a3a3a3,#5d5d5d);--hover:light-dark(#ececec,#1c1c1c);--selected:light-dark(#e3e3e3,#2a2a2a);--up:light-dark(#15803d,#3dd68c);--send-off-bg:light-dark(#d7d7d7,#3a3a3a);--send-off-fg:light-dark(#ffffff,#8a8a8a);--chart-1:var(--text);--chart-2:var(--up);--chart-3:light-dark(#2563eb,#7aa2f7);--chart-4:light-dark(#b45309,#e0af68);--chart-5:light-dark(#7c3aed,#bb9af7);--chart-6:light-dark(#e11d48,#f7768e);--chart-7:light-dark(#4d7c0f,#9ece6a);--chart-8:light-dark(#0d9488,#73daca)}:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}*{box-sizing:border-box}body,html{margin:0;height:100%;background:var(--bg);color:var(--text);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,input,select{font:inherit;color:inherit}button{background:none;border:0;padding:0;cursor:pointer}.app{display:grid;grid-template-columns:260px minmax(0,1fr);height:100dvh;transition:grid-template-columns .2s ease}.app.is-collapsed{grid-template-columns:56px minmax(0,1fr)}.sidebar{display:flex;flex-direction:column;min-height:0;overflow:hidden;background:var(--sidebar);padding:8px}.sidebar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.brand{padding:0 8px;font-size:15px;font-weight:600;letter-spacing:-.01em}.sidebar-icon,.sidebar-search button{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:var(--muted)}.sidebar-icon:hover,.sidebar-search button:hover{background:var(--hover);color:var(--text)}.sidebar-action{display:flex;align-items:center;gap:10px;flex:0 0 auto;height:36px;padding:0 9px;border-radius:10px;color:var(--text);font-size:14px;text-align:left;white-space:nowrap}.sidebar-action:hover,.sidebar-action[aria-current=page]{background:var(--hover)}.sidebar-action svg,.sidebar-search svg{flex:0 0 auto}.sidebar-search{display:flex;align-items:center;gap:10px;height:36px;padding-left:9px;border-radius:10px;background:var(--hover);color:var(--muted)}.sidebar-search input{flex:1 1;min-width:0;border:0;outline:none;background:transparent;font-size:14px}.sidebar-search button{width:32px;height:32px}.history{flex:1 1;min-height:0;overflow:auto;margin-top:16px}.history h2{margin:0;padding:6px 9px;color:var(--muted);font-size:12px;font-weight:500}.history ul{margin:0;padding:0;list-style:none}.history-item{position:relative;display:flex;border-radius:10px}.history-item:hover{background:var(--hover)}.history-item:has([aria-current=page]){background:var(--selected)}.history-item>button:first-child{flex:1 1;min-width:0;height:36px;padding:0 9px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.history-delete{display:grid;place-items:center;width:32px;color:var(--muted);opacity:0}.history-delete:focus-visible,.history-item:hover .history-delete{opacity:1}.history-delete:hover{color:var(--text)}.theme-toggle{margin-top:auto}.sidebar-action:disabled{cursor:default}.main{display:flex;flex-direction:column;min-width:0;min-height:0}.school-filter{position:relative}.school-filter-button,.school-menu button{display:flex;align-items:center;gap:8px}.school-filter-button{position:relative;height:32px;padding:0 32px 0 8px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);font-size:13px}.school-filter-button svg{position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none}.school-logo{width:18px;height:18px;object-fit:contain;background:#fff;border-radius:2px}.school-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:5;min-width:180px;margin:0;padding:4px;list-style:none;border:1px solid var(--line);border-radius:8px;background:var(--raised)}.school-menu button{width:100%;height:32px;padding:0 8px;border-radius:6px;color:var(--text);font-size:13px;text-align:left}.school-menu button:hover,.school-menu button[aria-selected=true]{background:var(--selected)}.view-toggle{display:flex;justify-content:center;gap:4px;flex:0 0 auto;padding:16px 16px 0}.view-toggle button{height:32px;padding:0 14px;border-radius:999px;color:var(--muted);font-size:13px}.view-toggle button[aria-selected=true]{background:var(--raised);color:var(--text)}.panel-empty{margin:48px auto;color:var(--muted);font-size:14px;text-align:center}.documents{list-style:none;flex:1 1;min-height:0;overflow:auto;width:min(720px,calc(100% - 48px));margin:20px auto 0;padding:0}.documents button{display:grid;grid-template-columns:72px minmax(0,1fr) auto;grid-gap:16px;gap:16px;align-items:baseline;width:100%;padding:14px 4px;border-bottom:1px solid var(--line);color:inherit;text-align:left;font-size:14px}.documents button span:last-child{color:var(--muted);font-size:13px}.doc-overlay{position:fixed;inset:0;z-index:20;display:flex;padding:24px;background:rgba(0,0,0,.72)}.doc-overlay-panel{display:flex;flex:1 1;flex-direction:column;min-height:0;width:min(960px,100%);margin:0 auto}.doc-overlay-panel header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.doc-overlay-panel h2{margin:0;font-size:16px;font-weight:600}.doc-overlay-panel header button{height:32px;padding:0 14px;border-radius:999px;background:var(--raised);font-size:13px}.doc-overlay-panel iframe{flex:1 1;width:100%;border:0;border-radius:12px;background:var(--raised)}.statement-stack{flex:1 1;min-height:0;overflow:auto;width:min(960px,calc(100% - 48px));margin:20px auto 0}.statement{margin:0 0 32px}.statement-head{margin-bottom:16px}.statement-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.statement-filters{display:flex;align-items:center;gap:8px}.statement-head p{margin:8px 0 0}.statement-head p,.year-filter{color:var(--muted);font-size:13px}.year-filter{display:flex;align-items:center;gap:8px;white-space:nowrap}.filter-select{position:relative;display:inline-grid;color:var(--muted);font-size:13px;font-weight:400}.filter-select select,.filter-select span{grid-area:1/1;height:32px;margin:0;padding:0 32px 0 10px;border:1px solid transparent;font:inherit;line-height:30px;white-space:nowrap}.filter-select span{visibility:hidden}.filter-select select{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:var(--line);border-radius:8px;background:transparent;cursor:pointer}.filter-select svg{position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none}.year-step{display:grid;place-items:center;width:24px;height:32px;color:var(--muted)}.year-step:disabled{color:var(--faint);cursor:default}.year-step:not(:disabled):hover{color:var(--text)}.statement table{width:100%;border-collapse:collapse;font-size:13px}.statement td,.statement th{padding:7px 8px;border-bottom:1px solid var(--line);text-align:left;font-weight:400}.statement thead{position:-webkit-sticky;position:sticky;top:0;z-index:1;background:var(--bg)}.statement th{color:var(--muted);font-size:12px;background:var(--bg)}.statement tr.period th{border-bottom:none;padding-bottom:0}.statement th.period-note{text-align:right;font-weight:400}.statement .num,.statement th:not(:first-child){text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.statement td.up{color:var(--up)}.statement tr.header td{font-weight:600;padding-top:16px}.statement tr.total td{font-weight:600}.statement td:first-child{min-width:220px}.statement .note-toggle{display:inline-flex;align-items:center;gap:2px;margin-left:-18px;color:inherit;font:inherit;text-align:left}.statement .note-toggle svg{flex:none;color:var(--muted)}.statement tr.note-line td,.statement tr.note-title td{color:var(--muted);background:var(--tint)}.statement tr.note-title td{font-size:12px;border-bottom:none}.statement tr.note-line.total td{font-weight:500}.filters{display:flex;flex-wrap:wrap;gap:8px}.filter{height:32px;padding:0 12px;border:1px solid var(--line);border-radius:999px;color:var(--text);font-size:13px}.filter[aria-pressed=true]{background:var(--raised)}.chart{width:100%;height:220px;margin-top:16px}.chart-label{fill:var(--muted);font-size:12px}.chart-label.is-selected{fill:var(--text)}.chart-track{fill:var(--tint)}.chart-bar,.chart-value{fill:var(--text)}.chart-value{font-size:11px}.chart-axis{stroke:var(--line-strong)}.chart-note{margin:8px 0 0;color:var(--faint);font-size:12px}.stage{display:flex;flex:1 1;flex-direction:column;min-height:0;width:min(720px,calc(100% - 48px));margin:0 auto}.stage.is-empty{justify-content:center;padding-bottom:8vh}.statement .page-link{text-decoration:underline}.statement .page-link,.statement a,.thread a{color:inherit;text-underline-offset:3px}.headline{margin:0 0 24px;font-size:28px;font-weight:500;letter-spacing:-.02em;text-align:center}.thread{flex:1 1;overflow:auto;padding:24px 0}.message{margin:0 0 16px;font-size:15px;line-height:1.5}.message.user{white-space:pre-wrap;text-align:right}.answer p{margin:0 0 12px}.answer-table{width:100%;margin:0 0 16px;border-collapse:collapse;font-size:13px}.answer-table caption{caption-side:top;margin-bottom:8px;text-align:left;font-weight:600}.answer-table td,.answer-table th{padding:6px 8px;border-bottom:1px solid var(--line);text-align:left;font-weight:400}.answer-table .num{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.answer-chart{margin:0 0 16px}.answer-chart figcaption{margin-bottom:8px;font-weight:600}.answer-chart svg{width:100%;height:auto}.chart-legend{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 0;padding:0;list-style:none;font-size:12px}.message.assistant{color:var(--text)}.composer{display:flex;align-items:center;gap:8px;height:52px;padding:0 8px 0 16px;border-radius:999px;background:var(--composer)}.stage .composer{margin-bottom:20px}.stage.is-empty .composer{margin:0}.composer input{flex:1 1;min-width:0;border:0;outline:none;background:transparent}.composer input::placeholder{color:var(--muted)}.send{display:grid;place-items:center;width:32px;height:32px;border-radius:999px;background:var(--text);color:var(--bg)}.send:disabled{background:var(--send-off-bg);color:var(--send-off-fg);cursor:default}.suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:18px}.suggestion{height:36px;padding:0 14px;border:1px solid var(--line);border-radius:999px;color:var(--text);font-size:14px}.answer :is(ul,ol){margin:0 0 12px;padding-left:22px}.answer :is(h1,h2,h3,h4){margin:16px 0 8px;font-size:16px;font-weight:600}.answer code{padding:1px 4px;border-radius:4px;background:var(--tint);font-size:13px}.answer pre{overflow:auto;padding:12px;border-radius:8px;background:var(--tint)}.table-scroll{overflow-x:auto}.tool-status{margin:0 0 8px}.chat-error,.tool-status{color:var(--muted);font-size:13px}.chat-error button{color:var(--text);text-decoration:underline}.empty-list{padding:8px 12px;color:var(--muted);font-size:13px}