:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f6f7f9;color:#1b1f24}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}.boot,.loginShell{min-height:100vh;display:grid;place-items:center;background:#eef1f5}.loginPanel{width:min(380px,calc(100vw - 32px));background:#fff;border:1px solid #dce1e8;border-radius:8px;padding:28px;box-shadow:0 20px 50px #1b1f2414}.brandMark{width:44px;height:44px;display:grid;place-items:center;border-radius:8px;background:#1f6feb;color:#fff}.loginPanel h1,.topbar h1,.panel h2,.modal h3{margin:0;letter-spacing:0}.loginPanel h1{margin-top:18px;font-size:30px}label{display:grid;gap:7px;margin-top:20px}label span{font-size:13px;color:#59636e;font-weight:650}input,textarea,select{border:1px solid #cfd7e2;border-radius:7px;background:#fff;color:#1b1f24;outline:none}input,select{height:40px;padding:0 11px}textarea{padding:10px 11px;resize:vertical}input:focus,textarea:focus,select:focus{border-color:#1f6feb;box-shadow:0 0 0 3px #1f6feb1f}.errorText{color:#b42318;font-size:14px}.primaryButton,.ghostButton,.iconButton,.miniButton,.miniIcon{border:0;border-radius:7px;cursor:pointer}.primaryButton{height:40px;padding:0 15px;margin-top:20px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#1f6feb;color:#fff;font-weight:700}.primaryButton:disabled,.iconButton:disabled,.ghostButton:disabled{opacity:.55;cursor:not-allowed}.ghostButton{height:40px;padding:0 15px;background:#eef1f5;color:#30363d}.iconButton{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:#eef1f5;color:#30363d;text-decoration:none}.textButton{width:auto;padding:0 12px;gap:8px;font-weight:650}.appShell{min-height:100vh;display:grid;grid-template-rows:auto 1fr}.topbar{height:72px;padding:0 24px;border-bottom:1px solid #dce1e8;background:#fff;display:flex;align-items:center;justify-content:space-between}.topbar h1{font-size:22px}.topbar p,.panelHeader p{margin:4px 0 0;color:#697684;font-size:13px}.workspaceGrid{min-height:0;display:block;padding:16px}.workspacePanels{min-height:0;height:100%}.resizePane{min-width:0;min-height:0;height:100%}.resizeHandle{position:relative;width:16px;display:grid;place-items:center;flex:0 0 16px;outline:none}.resizeHandle:before{content:"";position:absolute;inset:0 6px;border-radius:999px;background:transparent;transition:background .16s ease}.resizeHandleGrip{position:relative;width:4px;height:48px;border-radius:999px;background:#c5ced9;transition:background .16s ease,height .16s ease}.resizeHandle:hover:before,.resizeHandle[data-resize-handle-active]:before,.resizeHandle:focus-visible:before{background:#e8edf3}.resizeHandle:hover .resizeHandleGrip,.resizeHandle[data-resize-handle-active] .resizeHandleGrip,.resizeHandle:focus-visible .resizeHandleGrip{height:64px;background:#1f6feb}.panel{min-height:0;height:100%;background:#fff;border:1px solid #dce1e8;border-radius:8px;overflow:hidden}.panelHeader{height:64px;padding:0 16px;border-bottom:1px solid #e5eaf0;display:flex;align-items:center;justify-content:space-between}.panelHeader h2{font-size:17px}.projectControls{display:flex;align-items:center;gap:8px;min-width:0}.panelHeaderActions{display:flex;align-items:center;gap:8px}.projectControls select{width:min(220px,28vw);min-width:150px}.chatPanel{display:grid;grid-template-rows:auto 1fr auto}.messageList{min-height:0;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.message{max-width:92%;border:1px solid #e2e8f0;border-radius:8px;padding:11px 12px;background:#f9fafb}.message.user{align-self:flex-end;background:#eef6ff;border-color:#c7dbff}.messageMeta{display:flex;align-items:center;gap:6px;font-size:12px;color:#697684;font-weight:700;margin-bottom:7px}.messageBody{line-height:1.5;font-size:14px}.markdownBody>:first-child{margin-top:0}.markdownBody>:last-child{margin-bottom:0}.markdownBody p,.markdownBody ul,.markdownBody ol,.markdownBody blockquote,.markdownBody pre,.markdownBody table{margin:0 0 10px}.markdownBody ul,.markdownBody ol{padding-left:22px}.markdownBody li{margin:3px 0}.markdownBody li>p{margin:0}.markdownBody a{color:#1f6feb;font-weight:650;overflow-wrap:anywhere}.markdownBody code{border:1px solid #dce3ec;border-radius:5px;padding:1px 5px;background:#eef2f7;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.markdownBody pre{overflow:auto;border:1px solid #dce3ec;border-radius:7px;padding:10px;background:#0f172a;color:#f8fafc}.markdownBody pre code{border:0;padding:0;background:transparent;color:inherit}.markdownBody blockquote{border-left:3px solid #cbd5e1;padding-left:10px;color:#52616f}.markdownBody table{display:block;width:100%;overflow-x:auto;border-collapse:collapse}.markdownBody th,.markdownBody td{border:1px solid #dce3ec;padding:6px 8px;text-align:left}.markdownBody th{background:#f1f5f9;font-weight:750}.markdownBody input[type=checkbox]{width:14px;height:14px;margin:0 6px 0 0;vertical-align:middle}.composer{border-top:1px solid #e5eaf0;padding:12px;display:grid;grid-template-columns:1fr auto;gap:10px}.composer textarea{min-height:76px;max-height:180px}.sendButton{width:44px;height:44px;padding:0;align-self:end}.dataPanel{display:grid;grid-template-rows:auto 1fr}.dataLayout{min-height:0;display:grid;grid-template-columns:245px 1fr}.dataLayout.fileListCollapsed{grid-template-columns:0 1fr}.fileList{min-height:0;overflow:auto;border-right:1px solid #e5eaf0;padding:10px}.fileList[aria-hidden=true]{overflow:hidden;padding:0;border-right:0;pointer-events:none}.fileRow{width:100%;min-height:52px;border-radius:7px;background:transparent;display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:6px;align-items:center}.fileItem{min-width:0;min-height:52px;border:0;border-radius:7px;background:transparent;color:#30363d;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"icon name" "icon size";column-gap:9px;align-items:center;text-align:left;padding:9px}.fileItem svg{grid-area:icon}.fileItem span{grid-area:name;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.fileItem small{grid-area:size;color:#697684}.fileDeleteButton{width:32px;height:32px;opacity:0}.fileRow:hover .fileDeleteButton,.fileRow.active .fileDeleteButton,.fileDeleteButton:focus-visible{opacity:1}.fileRow.active,.fileRow:hover{background:#eef1f5}.tableArea{min-width:0;min-height:0;display:grid;grid-template-rows:auto 1fr auto}.tableToolbar{min-height:54px;padding:8px 10px;border-bottom:1px solid #e5eaf0;display:flex;align-items:center;gap:10px}.segmented{height:38px;display:inline-grid;grid-auto-flow:column;border:1px solid #cfd7e2;border-radius:7px;overflow:hidden}.segmented button{border:0;background:#fff;color:#30363d;padding:0 12px;font-weight:700;cursor:pointer}.segmented button.active{background:#1f6feb;color:#fff}.tableToolbar select{max-width:260px}.reviewSurface{min-height:0;display:grid;grid-template-rows:auto auto 1fr auto}.metricGrid{display:grid;grid-template-columns:repeat(6,minmax(90px,1fr));gap:8px;padding:10px;border-bottom:1px solid #e5eaf0}.metric{min-height:58px;border:1px solid #e2e8f0;border-radius:7px;padding:9px;background:#f9fafb}.metric strong{display:block;font-size:20px}.metric span{color:#697684;font-size:12px;font-weight:700}.filterBar{display:flex;align-items:center;gap:8px;padding:10px;border-bottom:1px solid #e5eaf0;overflow-x:auto}.filterBar select{min-width:132px}.searchBox{height:38px;min-width:240px;flex:1;display:flex;align-items:center;gap:8px;border:1px solid #cfd7e2;border-radius:7px;padding:0 10px;background:#fff}.searchBox input{width:100%;height:34px;border:0;padding:0;box-shadow:none}.reviewTableWrap{min-height:0;overflow:auto}.reviewTable th,.reviewTable td{max-width:none}.reviewTable tbody tr{cursor:pointer}.reviewTable tbody tr:hover{background:#f7f9fb}.reviewTable tr.bucket-game_clock td:first-child{border-left:6px solid #c1121f}.reviewTable tr.bucket-jersey td:first-child{border-left:6px solid #1f6feb}.reviewTable tr.bucket-curated_milestone td:first-child{border-left:6px solid #d99000}.factText{min-width:300px;white-space:normal;line-height:1.4}.evidenceCell{min-width:240px;white-space:normal;color:#46515d}.pill{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:0 8px;background:#eef1f5;font-size:12px;font-weight:750}.reviewTable a,.sourcesList a,.drawer a{color:#1f6feb;display:inline-flex;align-items:center;gap:4px}.sourcesList{min-height:0;overflow:auto;padding:10px;display:grid;gap:10px;align-content:start}.sourceRow{border:1px solid #e2e8f0;border-radius:8px;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;background:#fff}.sourceRow h3{margin:0 0 4px;font-size:15px}.sourceRow a{overflow-wrap:anywhere}.sourceStats{display:flex;align-items:center;gap:8px;color:#59636e;font-size:12px;font-weight:700}.sourceStats span{background:#eef1f5;border-radius:999px;padding:5px 8px}.drawerBackdrop{position:fixed;inset:0;background:#1b1f2452;display:flex;justify-content:flex-end;z-index:50}.drawer{width:min(520px,100vw);height:100%;overflow:auto;background:#fff;box-shadow:-20px 0 60px #1b1f242e;padding:22px;position:relative}.drawerClose{position:absolute;right:14px;top:14px;font-size:24px}.drawerEyebrow{color:#697684;font-size:12px;font-weight:800;text-transform:uppercase}.drawer h3{margin:6px 0 18px;font-size:24px}.drawer h4{margin:22px 0 8px;font-size:13px;color:#59636e;text-transform:uppercase}.largeText{font-size:18px;line-height:1.45}.drawerGrid{display:grid;grid-template-columns:90px 1fr;gap:8px}.drawerGrid span{color:#697684}.tableWrap{min-height:0;overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{border-bottom:1px solid #edf1f5;padding:8px 10px;text-align:left;vertical-align:top;max-width:260px}th{position:sticky;top:0;background:#f7f9fb;color:#59636e;font-size:12px;z-index:2}td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rowActions{width:88px;white-space:nowrap}.reviewActions{min-width:96px}.miniButton,.miniIcon{height:28px;background:#eef1f5;color:#30363d;margin-right:5px}.miniButton{padding:0 8px}.miniIcon{width:28px}.danger{color:#b42318}.pager{height:48px;padding:0 10px;display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #e5eaf0;color:#59636e;font-size:13px}.emptyState{color:#697684;padding:18px;font-size:14px}.modalBackdrop{position:fixed;inset:0;background:#1b1f2461;display:grid;place-items:center;padding:20px;z-index:100}.modal{width:min(760px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:8px;padding:18px;box-shadow:0 20px 70px #1b1f2438}.modal h3{padding-right:24px}.fieldGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fieldGrid label{min-width:0;margin-top:0}.fieldGrid select,.fieldGrid textarea{width:100%}.fieldGrid textarea{min-height:72px}.modalActions{margin-top:18px;display:flex;align-items:center;justify-content:flex-end;gap:10px}.modalActions .ghostButton,.modalActions .primaryButton{height:40px;min-width:104px;margin-top:0;display:inline-flex;align-items:center;justify-content:center;gap:8px}.modalSubtle{margin:4px 0 14px;color:#697684;font-size:13px;font-weight:700}.wideField{grid-column:1 / -1}.drawerActions{display:flex;align-items:center;gap:10px;margin:-4px 0 18px}.compactButton{height:36px;margin-top:0;display:inline-flex;align-items:center;gap:8px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:980px){.workspaceGrid{overflow:auto}.panel{min-height:620px}}@media(max-width:720px){.topbar{padding:0 14px}.workspaceGrid{padding:10px}.resizeHandle{width:12px;flex-basis:12px}.dataLayout,.dataLayout.fileListCollapsed{grid-template-columns:1fr}.fileList{border-right:0;border-bottom:1px solid #e5eaf0;max-height:220px}.fileList[aria-hidden=true]{max-height:0;border-bottom:0}.fieldGrid{grid-template-columns:1fr}}:root{--surface: #ffffff;--surface-soft: #f8f7f4;--ink: #171b1f;--muted: #667070;--border: #d9ded8;--border-soft: #e9ece6;--blue: #2866c7;--red: #c1121f;--amber: #b77905;--green: #287a52;--shadow: 0 18px 45px rgba(31, 35, 40, .09);background:#f3f4f1;color:var(--ink)}body{background:linear-gradient(180deg,#fff 0,#f3f4f1 132px),#f3f4f1}.appShell{height:100vh;min-height:0;overflow:hidden}.topbar{height:74px;padding:0 22px;border-bottom:1px solid var(--border);background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.topbarBrand,.topbarActions,.panelTitle{display:flex;align-items:center;gap:12px}.topbarMark{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:#20252b;color:#fff;box-shadow:0 8px 22px #20252b2e}.topbar h1{font-size:22px;line-height:1}.topbar p,.panelHeader p{color:var(--muted)}.liveBadge{height:30px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #cfe5d9;border-radius:999px;background:#f1fbf5;color:var(--green);font-size:12px;font-weight:750;white-space:nowrap}.workspaceGrid{padding:18px}.panel{border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow)}.panelHeader{height:68px;padding:0 18px;border-bottom:1px solid var(--border-soft);background:linear-gradient(180deg,#fff,#fbfbf8)}.panelHeader h2{font-size:16px;line-height:1.1}.panelTitle>svg{color:var(--blue)}.messageList{padding:18px;gap:12px;background:#fbfaf7}.message{max-width:96%;border:1px solid #e3e6e1;border-radius:12px;padding:12px 13px;background:#fff;box-shadow:0 6px 18px #1f23280a}.message.user{background:#edf4ff;border-color:#bfd4f7}.composer{border-top:1px solid var(--border-soft);background:#fff}.composer textarea{min-height:82px;border-radius:11px;background:#fbfaf7}.dataLayout{grid-template-columns:270px 1fr;background:#fbfaf7}.fileList{border-right:1px solid var(--border-soft);padding:12px;background:#f5f4ef}.fileRow{min-height:62px;border-radius:11px;transition:background .14s ease,box-shadow .14s ease,transform .14s ease}.fileItem{min-height:62px;border-radius:11px;padding:10px}.fileItem span{font-size:13px}.fileItem small{color:var(--muted);font-size:12px}.fileRow.active,.fileRow:hover{background:#fff;box-shadow:0 8px 20px #1f232812}.fileRow.active{outline:1px solid #ccd7e7}.fileRow:hover{transform:translateY(-1px)}.tableToolbar{min-height:58px;padding:9px 12px;border-bottom:1px solid var(--border-soft);background:#fff}.segmented{height:36px;border:1px solid var(--border);border-radius:10px;background:#f7f7f4;padding:3px}.segmented button{border-radius:7px;background:transparent;color:#4d5758;padding:0 13px}.segmented button.active{background:#20252b;color:#fff;box-shadow:0 5px 12px #20252b2e}.metricGrid{gap:10px;padding:12px;border-bottom:1px solid var(--border-soft);background:#fff}.reviewSurface{grid-template-rows:auto auto auto minmax(0,1fr) auto}.metric{min-height:64px;border:1px solid #e1e4df;border-radius:12px;padding:10px 11px;background:linear-gradient(180deg,#fff,#f8f7f4)}.metric strong{font-size:22px;line-height:1}.filterBar{padding:10px 12px;border-bottom:1px solid var(--border-soft);background:#fff}.searchBox{border:1px solid var(--border);border-radius:10px;background:#fbfaf7}.bucketStrip{min-height:42px;padding:8px 12px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--border-soft);background:#fbfaf7;overflow-x:auto}.bucketChip{display:inline-flex;align-items:center;gap:8px;min-height:26px;border-radius:999px;padding:0 9px 0 10px;border:1px solid var(--border);border-left-width:5px;background:#fff;font-size:12px;font-weight:750;white-space:nowrap}.bucketChip b{font-size:11px;color:var(--muted)}.reviewTableWrap,.tableWrap{background:#fff}th{background:#20252b;color:#fff;font-size:12px}tbody tr:nth-child(2n) td{background-color:#fcfcfa}.reviewTable tbody tr:hover td{background:#faf7ef}.reviewTable tr.bucket-game_clock td:first-child,.bucketChip.bucket-game_clock{border-left-color:var(--red)}.reviewTable tr.bucket-jersey td:first-child,.bucketChip.bucket-jersey{border-left-color:var(--blue)}.reviewTable tr.bucket-curated_milestone td:first-child,.bucketChip.bucket-curated_milestone{border-left-color:var(--amber)}.reviewTable tr.bucket-random td:first-child,.bucketChip.bucket-random{border-left-color:var(--green)}.reviewTable tr.bucket-poc_source_review td:first-child,.bucketChip.bucket-poc_source_review{border-left-color:#6f5cc2}.factText{min-width:320px;color:#1e2429}.evidenceCell{color:#596260;line-height:1.35}.pill{background:#eff1ed}.pager{height:50px;padding:0 12px;border-top:1px solid var(--border-soft);color:var(--muted);background:#fff}.primaryButton,.iconButton,.ghostButton,.miniButton,.miniIcon{transition:transform .12s ease,box-shadow .12s ease,background .12s ease}.primaryButton:hover:not(:disabled),.iconButton:hover:not(:disabled),.ghostButton:hover:not(:disabled),.miniButton:hover,.miniIcon:hover{transform:translateY(-1px)}.primaryButton{border-radius:10px;background:var(--blue);box-shadow:0 8px 18px #2866c72e}.iconButton,.ghostButton,.miniButton,.miniIcon{background:#f0f1ed}.drawer{width:min(560px,100vw);padding:26px}.largeText{color:#171b1f;background:#fbfaf7;border:1px solid var(--border-soft);border-radius:12px;padding:14px}@media(max-width:1180px){.workspaceGrid,.appShell{overflow:auto}}@media(max-width:720px){.topbarActions .liveBadge{display:none}.projectControls{width:100%;justify-content:flex-end}.projectControls select{width:100%;min-width:0}.metricGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}:root{--navy: #0a1628;--navy-light: #111d35;--navy-mid: #0f2847;--brand-blue: #2563eb;--cyan: #06b6d4;--gold: #d4a853;--gold-light: #e8c97a;--gold-dark: #b8923f;--warm: #f5e6d0;--brand-white: #ffffff;--brand-gray-50: #f8fafc;--brand-gray-100: #f1f5f9;--brand-gray-200: #e2e8f0;--brand-gray-300: #cbd5e1;--brand-gray-400: #94a3b8;--brand-gray-500: #64748b;--brand-gray-600: #475569;--brand-gray-700: #334155;--brand-gray-800: #1e293b;--surface: var(--brand-white);--surface-soft: #fffaf1;--ink: var(--brand-gray-800);--muted: var(--brand-gray-500);--border: var(--brand-gray-200);--border-soft: #edf1f5;--blue: var(--brand-blue);--amber: var(--gold);--green: #16a37a;--shadow: 0 10px 25px rgba(10, 22, 40, .12), 0 4px 10px rgba(10, 22, 40, .06);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:var(--brand-gray-800);background:var(--brand-gray-50)}body{background:radial-gradient(circle at 12% 0%,rgba(212,168,83,.09),transparent 34%),linear-gradient(180deg,#fffaf1 0,var(--brand-gray-50) 280px),var(--brand-gray-50);color:var(--brand-gray-800);line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.boot,.loginShell{background:radial-gradient(circle at 30% 20%,rgba(212,168,83,.08),transparent 34%),radial-gradient(circle at 70% 60%,rgba(37,99,235,.08),transparent 34%),linear-gradient(160deg,var(--navy),var(--navy-light) 44%,var(--navy-mid))}.loginPanel{border:1px solid rgba(212,168,83,.22);border-radius:24px;background:#fffffff7;box-shadow:0 20px 50px #00000026,0 8px 20px #0000001a}.brandMark,.topbarMark{border-radius:16px;background:linear-gradient(135deg,var(--gold),var(--gold-dark));color:var(--navy);box-shadow:0 10px 40px #d4a8532e}.loginPanel h1,.topbar h1{color:var(--navy);font-weight:800}input,textarea,select{border-color:var(--brand-gray-300);border-radius:8px;color:var(--brand-gray-800)}input:focus,textarea:focus,select:focus{border-color:var(--gold);box-shadow:0 0 0 3px #d4a8531f}.appShell{background:transparent}.topbar{height:76px;background:#0a1628f7;border-bottom:1px solid rgba(212,168,83,.14);box-shadow:0 1px 3px #0000001a}.topbar h1{color:var(--brand-white)}.topbar p{color:var(--brand-gray-400)}.topbar .textButton{color:var(--brand-gray-200);background:#ffffff12;border:1px solid rgba(255,255,255,.11)}.topbar .textButton:hover:not(:disabled){color:var(--navy);background:linear-gradient(135deg,var(--gold-light),var(--gold))}.tableToolbar>.textButton:last-child{margin-left:auto}.liveBadge{border-color:#d4a85340;background:#d4a8531a;color:var(--gold-light)}.panel{border-color:var(--brand-gray-200);border-radius:16px;box-shadow:var(--shadow);background:var(--brand-white)}.panelHeader{background:linear-gradient(180deg,#fff,#fffdf8);border-bottom-color:var(--brand-gray-200)}.panelHeader h2{color:var(--navy);font-weight:700}.panelHeader p{color:var(--brand-gray-500)}.panelTitle>svg{color:var(--gold-dark)}.messageList,.dataLayout{background:var(--brand-gray-50)}.message{border-color:var(--brand-gray-200);border-radius:16px;box-shadow:0 4px 6px #0a16280f}.message.user{background:#eef6ff;border-color:#2563eb3d}.messageMeta{color:var(--brand-gray-500)}.composer,.tableToolbar,.filterBar,.metricGrid,.pager{background:var(--brand-white);border-color:var(--brand-gray-200)}.composer textarea,.searchBox{background:var(--brand-gray-50)}.primaryButton{background:linear-gradient(135deg,var(--gold),var(--gold-dark));color:var(--navy);border:1px solid var(--gold);border-radius:8px;box-shadow:0 10px 40px #d4a85326;font-weight:700}.primaryButton:hover:not(:disabled){background:linear-gradient(135deg,var(--gold-light),var(--gold));box-shadow:0 10px 40px #d4a85338}.ghostButton,.iconButton,.miniButton,.miniIcon{background:var(--brand-gray-100);color:var(--navy);border:1px solid var(--brand-gray-200);border-radius:8px}.ghostButton:hover:not(:disabled),.iconButton:hover:not(:disabled),.miniButton:hover,.miniIcon:hover{border-color:#d4a85361;background:#fff8ea}.fileList{background:linear-gradient(180deg,#fffaf1,#f8fafc);border-right-color:var(--brand-gray-200)}.fileRow{color:var(--brand-gray-700);border-radius:16px}.fileItem svg{color:var(--gold-dark)}.fileRow.active,.fileRow:hover{background:var(--brand-white);box-shadow:0 10px 25px #0a16281a}.fileRow.active{outline:1px solid rgba(212,168,83,.45)}.segmented{border-color:var(--brand-gray-300);background:var(--brand-gray-100);border-radius:8px}.segmented button{color:var(--brand-gray-600);border-radius:6px}.segmented button.active{background:var(--navy);color:var(--brand-white);box-shadow:0 4px 10px #0a162829}.metric{border-color:var(--brand-gray-200);border-radius:16px;background:linear-gradient(180deg,#fff,#fffaf1)}.metric strong{color:var(--navy);font-weight:800}.metric span{color:var(--brand-gray-500)}.bucketStrip{background:#fffaf1;border-bottom-color:var(--brand-gray-200)}.bucketChip{border-color:var(--brand-gray-200);background:var(--brand-white);color:var(--brand-gray-700)}th{background:linear-gradient(180deg,var(--navy-light),var(--navy));color:var(--brand-white)}td{border-bottom-color:var(--brand-gray-200)}tbody tr:nth-child(2n) td{background-color:#fcfdff}.reviewTable tbody tr:hover td{background:#fff8ea}.pill{background:#d4a8531a;color:var(--gold-dark)}.reviewTable a,.sourcesList a,.drawer a{color:var(--brand-blue)}.sourceRow{border-color:var(--brand-gray-200);border-radius:16px;box-shadow:0 1px 3px #0a162814}.sourceStats span{background:#fff8ea;color:var(--brand-gray-700)}.drawer{background:var(--brand-white);box-shadow:-20px 0 50px #0a162826}.drawerEyebrow,.drawer h4,.drawerGrid span,.pager,.emptyState{color:var(--brand-gray-500)}.largeText{background:#fffaf1;border-color:#d4a85333}.modal{border-radius:16px;box-shadow:0 20px 50px #0a162826,0 8px 20px #0a16281a}.chatPanel>.panelHeader{height:auto;min-height:108px;padding:14px 16px;display:grid;grid-template-columns:minmax(0,1fr);align-content:center;gap:10px}.chatPanel .panelTitle{min-width:0}.chatPanel .panelTitle>div{min-width:0}.chatPanel .panelTitle p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.projectControls{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 40px 40px 40px;gap:8px}.projectControls select{width:100%;min-width:0}.messageList{overflow-x:hidden}.message{min-width:0}.messageBody{overflow-wrap:anywhere}.composer{grid-template-columns:minmax(0,1fr) 44px;align-items:end}.composer textarea{min-width:0;width:100%}.compactModal{width:min(460px,100%)}.compactModal label{margin-top:18px}.dangerButton{background:linear-gradient(135deg,#c2410c,#9a3412);border-color:#c2410c;color:#fffaf1}.dangerButton:hover:not(:disabled){background:linear-gradient(135deg,#ea580c,#c2410c)}@media(max-width:720px){.topbar p{display:none}.topbar{gap:12px}.tableToolbar{flex-wrap:wrap}.tableToolbar>.textButton:last-child{margin-left:0}.modalActions{justify-content:stretch}.modalActions .ghostButton,.modalActions .primaryButton{flex:1}.drawerActions{flex-wrap:wrap}}:root{--tf-bg: #f5f6f3;--tf-bg-warm: #fffaf1;--tf-surface: #ffffff;--tf-surface-raised: #fffdf8;--tf-ink: #101828;--tf-ink-soft: #334155;--tf-muted: #64748b;--tf-border: #dfe5ec;--tf-border-strong: #cbd5e1;--tf-blue: #2563eb;--tf-blue-soft: #eaf2ff;--tf-gold: #d4a853;--tf-gold-soft: #fff4d8;--tf-green: #0f9f6e;--tf-green-soft: #ebfbf4;--tf-red: #c2410c;--tf-red-soft: #fff1e8;--tf-shadow: 0 18px 44px rgba(15, 23, 42, .1), 0 4px 12px rgba(15, 23, 42, .06);--tf-shadow-soft: 0 8px 22px rgba(15, 23, 42, .08);--tf-ring: 0 0 0 3px rgba(212, 168, 83, .18);background:var(--tf-bg);color:var(--tf-ink)}body{background:linear-gradient(180deg,#fffaf1f2 0,#f5f6f3f5 260px),var(--tf-bg)}button,select,input,textarea{transition:border-color .14s ease,background .14s ease,color .14s ease,box-shadow .14s ease}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:none;box-shadow:var(--tf-ring)}.topbar{border-bottom-color:#d4a8532e}.topbarMark{position:relative;overflow:hidden}.topbarMark:after{content:"";position:absolute;inset:3px 3px auto auto;width:9px;height:9px;border-radius:999px;background:#ffffff9e}.liveBadge{min-width:158px;justify-content:center}.liveBadge.working{border-color:#d4a8536b;background:#d4a85329}.workspacePanels{filter:drop-shadow(0 14px 28px rgba(15,23,42,.08))}.panel{box-shadow:var(--tf-shadow)}.panelHeader{background:linear-gradient(180deg,#fffffffa,#fffdf8fa),var(--tf-surface-raised)}.panelHeader h2{color:var(--tf-ink);font-weight:800}.panelHeader p{color:var(--tf-muted)}.panelHeaderActions{min-width:max-content}.dataSummary{height:30px;display:inline-flex;align-items:center;border:1px solid var(--tf-border);border-radius:999px;padding:0 10px;background:var(--tf-surface);color:var(--tf-muted);font-size:12px;font-weight:800;white-space:nowrap}.resizeHandle{width:18px;flex-basis:18px}.resizeHandle:before{inset:0 5px}.resizeHandleGrip{width:5px;height:54px;background:linear-gradient(180deg,var(--tf-border-strong),#a8b4c4);box-shadow:inset 0 0 0 1px #ffffff52}.resizeHandle:hover .resizeHandleGrip,.resizeHandle[data-resize-handle-active] .resizeHandleGrip,.resizeHandle:focus-visible .resizeHandleGrip{height:74px;background:linear-gradient(180deg,var(--tf-gold),#b8923f)}.messageList{gap:14px;scroll-behavior:smooth}.runStatus{position:sticky;top:0;z-index:3;align-self:center;min-height:34px;display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(212,168,83,.36);border-radius:999px;padding:0 13px;background:#fffaf1f5;color:#8a641e;box-shadow:var(--tf-shadow-soft);font-size:12px;font-weight:850;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.toolToggle.active{background:var(--tf-gold-soft);color:#8a641e;box-shadow:inset 0 0 0 1px #d4a85361}.toolActivityMessage{width:min(86%,520px);align-self:center;min-height:46px;display:grid;grid-template-columns:9px 16px minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid rgba(203,213,225,.82);border-radius:8px;padding:8px 11px;background:#f8fafceb;color:var(--tf-ink-soft);font-size:12px;line-height:1.2;box-shadow:0 5px 14px #0f172a0a}.toolActivityDot{align-self:center;width:7px;height:7px;border-radius:999px;background:#94a3b8}.toolActivityMessage svg{align-self:center}.toolActivityMessage.running .toolActivityDot{background:var(--tf-gold);box-shadow:0 0 0 4px #d4a85324}.toolActivityMessage.done .toolActivityDot{background:var(--tf-green)}.toolActivityMessage.error .toolActivityDot{background:var(--tf-red)}.toolActivityText{min-width:0;display:grid;align-self:center;gap:3px}.toolActivityLabel,.toolActivityDetail{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toolActivityLabel{color:var(--tf-ink);font-weight:800;line-height:1.15}.toolActivityDetail{color:#64748b;font-size:11px;font-weight:650;line-height:1.15}.toolActivityMessage time{align-self:center;color:#94a3b8;font-size:11px;font-weight:750;line-height:1}.statusPulse{width:8px;height:8px;border-radius:999px;background:var(--tf-gold);box-shadow:0 0 #d4a85394;animation:pulse 1.8s ease-out infinite}.message{position:relative;animation:messageIn .16s ease-out}.message.assistant{border-left:4px solid rgba(212,168,83,.56)}.message.user{border-right:4px solid rgba(37,99,235,.54)}.message.streaming{border-color:#d4a8537a;background:linear-gradient(180deg,#fff,#fffaf1)}.message.error{border-color:#c2410c57;background:var(--tf-red-soft)}.messageMeta{justify-content:space-between;gap:10px;color:var(--tf-muted)}.messageMeta time{margin-left:auto;color:#94a3b8;font-size:11px;font-weight:750}.messageBody{color:var(--tf-ink-soft)}.composer{box-shadow:0 -8px 18px #0f172a0a}.composer textarea{border-color:var(--tf-border)}.composer textarea:focus{background:var(--tf-surface)}.dataLayout{transition:grid-template-columns .18s ease}.fileList{min-width:0;transition:padding .18s ease,opacity .16s ease,border-color .18s ease}.fileList[aria-hidden=true]{opacity:0}.fileListHeader{height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 4px 8px;color:var(--tf-muted);font-size:11px;font-weight:900;text-transform:uppercase}.fileRow{border:1px solid transparent}.fileRow.active{border-color:#d4a8537a}.fileDeleteButton{transition:opacity .13s ease,transform .13s ease,background .13s ease}.tableArea{background:var(--tf-surface)}.tableToolbar{gap:12px;box-shadow:0 1px #0f172a0a}.selectedFilePill{min-width:0;max-width:min(320px,36%);height:36px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--tf-border);border-radius:999px;padding:0 10px;background:var(--tf-bg-warm);color:var(--tf-ink-soft);font-size:12px;font-weight:850}.selectedFilePill span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selectedFilePill small{color:var(--tf-muted);font-weight:800;white-space:nowrap}.segmented{box-shadow:inset 0 0 0 1px #ffffff6b}.segmented button{min-width:76px}.metric{position:relative;overflow:hidden}.metric:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,var(--tf-gold),var(--tf-blue));opacity:.72}.metric strong,.metric span{position:relative}.filterBar{box-shadow:0 1px #0f172a0a}.bucketChip{transition:transform .12s ease,box-shadow .12s ease}.bucketChip:hover{transform:translateY(-1px);box-shadow:0 6px 14px #0f172a14}tbody tr td{transition:background .12s ease}.reviewTable tbody tr:hover td,.tableWrap tbody tr:hover td{background:var(--tf-gold-soft)}.loadingSurface{min-height:220px;display:grid;place-items:center;align-content:center;gap:10px;color:var(--tf-muted);background:var(--tf-surface);font-size:13px;font-weight:800}.drawerBackdrop,.modalBackdrop{animation:fadeIn .12s ease-out}.drawer{animation:drawerIn .16s ease-out}.modal{animation:modalIn .15s ease-out}@keyframes pulse{0%{box-shadow:0 0 #d4a85394}70%{box-shadow:0 0 0 9px #d4a85300}to{box-shadow:0 0 #d4a85300}}@keyframes messageIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes drawerIn{0%{transform:translate(18px)}to{transform:translate(0)}}@keyframes modalIn{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
