/* Terminal palette, existing ticker geometry. */
.tv3-ingestion-review{padding:12px;border-bottom:2px solid var(--border2);font-size:12px;line-height:1.6}.tv3-ingestion-review summary{cursor:pointer}.tv3-ingestion-review form{display:grid;gap:10px;padding:12px 0;border-block:1px solid var(--border2)}.tv3-ingestion-review label{display:grid;gap:4px}.tv3-ingestion-review input,.tv3-ingestion-review select,.tv3-ingestion-review textarea,.tv3-ingestion-review button{font:inherit;background:var(--surface2);color:var(--text);border:1px solid var(--border2);border-radius:5px;padding:8px;max-width:100%;box-sizing:border-box}.tv3-ingestion-review textarea{min-height:75px}.tv3-ingestion-review button{cursor:pointer;text-align:left}.tv3-ingestion-review button:disabled{opacity:.5;cursor:default}.tv3-ingestion-review [data-iq-list]{display:grid;gap:6px;margin:10px 0}.tv3-ingestion-review [data-iq-detail]{margin-top:16px}.tv3-ingestion-review pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px}.tv3-ingestion-review article{padding:10px 0;border-bottom:1px solid var(--border)}.tv3-ingestion-review p{overflow-wrap:anywhere}.tv3-ingestion-review a{color:var(--brand-hover)}
:root{--bg:#0F1520;--surface:#141C2E;--surface2:#101827;--surface3:#1B263B;--border:#1E2D45;--border2:#2D415F;--text:#E2E8F0;--muted:#94A3B8;--dim:#71839D;--brand-blue:#2E75B6;--brand-soft:#3B82B8;--brand-hover:#60A5FA;--sans:-apple-system,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif}
[data-theme=light]{--bg:#F7F7F5;--surface:#FFFFFF;--surface2:#EEF1F5;--surface3:#E7EDF5;--border:#E2E8F0;--border2:#CBD5E1;--text:#0F1520;--muted:#526175;--dim:#63748A;--brand-blue:#1B4F8A;--brand-hover:#1D4ED8;--brand-green:#047857}
.main.management-review.tv3-integrated{grid-template-columns:minmax(300px,35%) minmax(0,1fr)}
.main.management-review.tv3-integrated>.right-panel{display:flex!important}.main.management-review.tv3-integrated>.left-panel>.panel-hdr{display:flex!important}
.tv3-bar,.tv3-tools,[data-v3-selection]{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px;border-bottom:1px solid var(--border)}.tv3-bar button{margin-left:auto}.tv3-tools input{flex:1;min-width:100px}
.tv3-bar button,.tv3-tools button,[data-v3-selection] button,.tv3-menu button{font:11px var(--sans);padding:7px 10px;border:1px solid var(--border2);border-radius:5px;background:var(--surface2);color:var(--text);cursor:pointer}.tv3-tools input{font:12px var(--sans);padding:8px;border:1px solid var(--border2);border-radius:5px;background:var(--surface2);color:var(--text)}
.tv3-row{display:flex;gap:9px;padding:12px;margin:6px;border:1px solid var(--border);border-radius:6px;cursor:pointer}.tv3-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.tv3-row input{width:17px;flex-shrink:0}.tv3-row.sel{border-color:var(--brand-hover)}[data-v3-status]{padding:8px;color:var(--muted);font-size:11px}
.tv3-knowledge{padding:12px 0;border-bottom:1px solid var(--border);margin-bottom:16px}.tv3-magic{background:#E8A020;color:#111827;border-color:#E8A020;padding:8px 12px;font-weight:700}.tv3-menu{display:flex;gap:8px;flex-wrap:wrap;padding:10px 0}.tv3-menu[hidden],[data-v3-selection][hidden]{display:none!important}.tv3-knowledge p{font-size:12px;line-height:1.6;color:var(--muted)}.tv3-evidence{border-top:1px solid var(--border);padding-top:18px;margin-top:18px}.tv3-evidence h3,.tv3-evidence h4{margin:12px 0}.tv3-evidence p{font-size:11px;line-height:1.6;color:var(--muted)}
.tv3-party small{display:block;color:var(--muted);margin-top:5px}.tv3-party details{font-size:11px;margin-top:6px}.tv3-party details p{margin:5px 0;overflow-wrap:anywhere}.tv3-collision{color:var(--amber)!important}.tv3-comparison>.mw-header,.tv3-comparison .mw-queue{display:none}.tv3-comparison .mw-layout{display:block}.tv3-comparison .mw-detail{padding:12px}.tv3-comparison .mw-table{max-width:100%;overflow:auto}
.tv3-theme{display:flex;gap:6px;align-items:center;font-size:11px;color:var(--muted)}.tv3-theme select{background:var(--surface2);color:var(--text);border:1px solid var(--border2);border-radius:4px;padding:4px;font:inherit}
.tv3-knowledge a,.tv3-evidence a{color:var(--brand-hover)}
.tv3-approved{padding:12px;border:1px solid var(--green-border);border-radius:6px;margin:12px 0;color:var(--text);font-size:12px;line-height:1.7}.tv3-approved a{color:var(--brand-hover)}.tv3-approved ul,.tv3-approved ol{padding-left:18px}.tv3-approved details{margin-top:8px}
@media(max-width:900px){.main.management-review.tv3-integrated{grid-template-columns:1fr}.main.management-review.tv3-integrated>.right-panel:not(.mobile-open){display:none!important}.main.management-review.tv3-integrated>.right-panel.mobile-open{display:flex!important}}

.tv3-knowledge-editor{border-top:1px solid var(--border,#334155);padding:14px 0}.tv3-knowledge-editor form{display:grid;gap:10px}.tv3-knowledge-editor label{display:grid;gap:5px}.tv3-knowledge-editor input,.tv3-knowledge-editor select,.tv3-knowledge-editor textarea{width:100%;box-sizing:border-box;background:var(--bg,#101827);color:inherit;border:1px solid #52647c;border-radius:5px;padding:8px}.tv3-knowledge-editor textarea{min-height:65px}.tv3-before-after{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tv3-before-after section{min-width:0;border:1px solid #52647c;padding:10px;border-radius:5px}.tv3-before-after pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.tv3-knowledge-editor blockquote{margin:10px 0;padding-left:10px;border-left:3px solid #f59e0b}.tv3-knowledge-editor [hidden]{display:none}.tv3-knowledge-editor button{padding:8px 12px}html[data-theme=light] .tv3-knowledge-editor input,html[data-theme=light] .tv3-knowledge-editor select,html[data-theme=light] .tv3-knowledge-editor textarea{background:white;color:#182638}@media(max-width:600px){.tv3-before-after{grid-template-columns:1fr}}

.tv3-ingestion-review [data-ops-list],.tv3-ingestion-review [data-p-list]{display:grid;gap:6px;margin:10px 0}.tv3-ingestion-review [data-ops-detail]{margin-top:12px}.tv3-ingestion-review blockquote{margin:8px 0;padding-left:10px;border-left:3px solid var(--brand-hover)}
