/* Scoped Company Brain review presentation; existing internal importer is retained. */
body:not([data-experience="INTERNAL_RECLAIM"]) .sidebar nav button[data-internal],
body:not([data-experience="INTERNAL_RECLAIM"]) .sidebar nav #currentReviewNav,
body:not([data-experience="INTERNAL_RECLAIM"]) .side-note {display:none!important}
body:not([data-experience]) .sidebar nav {display:none}
body[data-experience="COMPANY_BRAIN_REVIEW"] .sidebar .operator {letter-spacing:.03em;text-transform:none;line-height:1.5}
body[data-experience="COMPANY_BRAIN_REVIEW"] .sidebar .brand b {font-size:17px;letter-spacing:-.02em}
body[data-experience="COMPANY_BRAIN_REVIEW"] .sidebar .brand em {font-size:10px;letter-spacing:.12em}
body[data-experience="COMPANY_BRAIN_REVIEW"] header #backendStatus {font-size:12px}
.cb-shell {max-width:1440px;margin:0 auto;color:#172026}
.cb-shell button,.cb-shell input,.cb-shell textarea {font:inherit}
.cb-shell button {cursor:pointer;border:1px solid #d9e1e6;border-radius:9px;background:#fff;padding:10px 14px;color:#20303b;font-weight:600}
.cb-shell button:disabled {opacity:.45;cursor:not-allowed}
.cb-shell button:focus-visible,.cb-shell input:focus-visible,.cb-shell textarea:focus-visible {outline:3px solid #f5ad84;outline-offset:2px}
.cb-hero {display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}
.cb-eyebrow {font-size:11px!important;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#6b7b87;margin:0 0 8px}
.cb-hero h2 {font-size:30px;letter-spacing:-.035em;line-height:1.2;margin:0 0 10px}
.cb-hero p {color:#63727e;margin-bottom:0}
.cb-pending {display:flex;align-items:center;gap:14px;padding:18px 22px;background:#fff;border:1px solid #e0e6e9;border-radius:12px;white-space:nowrap}
.cb-pending strong {font-size:32px;line-height:1;font-weight:700;color:#be491b}
.cb-pending span {font-size:13px;font-weight:600}
.cb-toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.cb-filters {display:flex;gap:7px;flex-wrap:wrap}
.cb-filters button {font-size:12px;padding:9px 12px;background:transparent}
.cb-filters button span {margin-left:6px;color:#75838d}
.cb-filters button[aria-pressed="true"] {background:#203a48;border-color:#203a48;color:#fff}
.cb-filters button[aria-pressed="true"] span {color:#dbe4e8}
.cb-refresh {font-size:12px!important}
.cb-workspace {display:grid;grid-template-columns:minmax(270px,360px) minmax(0,1fr);gap:18px;align-items:start}
.cb-queue,.cb-detail {background:#fff;border:1px solid #dfe5e9;border-radius:13px;overflow:hidden}
.cb-search {display:block;padding:18px;font-size:11px;font-weight:700;letter-spacing:.04em;color:#62727d;border-bottom:1px solid #e8edef}
.cb-search input {display:block;width:100%;box-sizing:border-box;border:1px solid #dae2e7;background:#f8fafb;border-radius:8px;padding:10px 11px;margin-top:8px;font-size:13px;letter-spacing:0}
.cb-list {max-height:75vh;overflow:auto;padding:8px}
.cb-shell .cb-item {display:block;width:100%;text-align:left;border:1px solid transparent;border-radius:9px;padding:15px 13px;margin-bottom:5px;background:#fff;font-weight:400}
.cb-shell .cb-item:hover {background:#f6f8fa}
.cb-shell .cb-item.selected {background:#fff7f1;border-color:#f0c5ac}
.cb-item b {display:block;font-size:14px;line-height:1.5;margin:8px 0}
.cb-item-meta {display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:#6c7a85}
.cb-item-summary {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#68757e;font-size:12px;line-height:1.6;margin:0 0 14px}
.cb-status {display:inline-block;font-size:10px;padding:4px 8px;border-radius:5px;background:#eef2f5;color:#516474;font-weight:700}
.status-needs_approval,.status-staged_for_owner {background:#fff0d7;color:#875c16}
.status-approved {background:#e8f4ed;color:#286645}
.status-rejected {background:#f7e9e7;color:#8b4741}
.status-project_specific {background:#e9eef8;color:#49628d}
.cb-detail {min-height:520px}
.cb-detail-heading {padding:26px 28px;border-bottom:1px solid #e6ebee}
.cb-detail-heading h3 {font-size:23px;letter-spacing:-.025em;line-height:1.35;margin:12px 0}
.cb-section {padding:22px 28px;border-bottom:1px solid #e9edef}
.cb-section h4,.cb-confirm h4 {font-size:14px;margin:0 0 13px;font-weight:700}
.cb-lesson {font-size:15px;line-height:1.85;white-space:pre-wrap;margin:0}
.cb-evidence {border:1px solid #e4e9ec;border-radius:9px;padding:16px;margin-top:12px;background:#fafbfc}
.cb-evidence header {display:flex;align-items:start;justify-content:space-between;gap:15px;padding:0!important;background:none!important;border:0!important;min-height:0!important}
.cb-evidence header b {font-size:12px;line-height:1.5}
.cb-evidence header span {font-size:10px;color:#76838c;white-space:nowrap}
.cb-evidence p,.cb-evidence blockquote {font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.cb-evidence blockquote {margin:14px 0 6px;border-left:2px solid #c7d5dd;padding-left:12px;color:#465762}
.cb-note {font-size:12px!important;line-height:1.7;color:#6d7a84;overflow-wrap:anywhere}
.cb-actions {display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}
.cb-shell .cb-action {font-size:12px;padding:12px 14px}
.cb-shell .action-approve,.cb-shell .cb-confirm-save {background:#224b3c;border-color:#224b3c;color:#fff}
.cb-shell .action-reject {color:#975044}
.cb-confirm {padding:23px 28px;background:#f5f8f6;border-top:1px solid #cce0d3}
.cb-confirm p {font-size:13px;line-height:1.7}
.cb-confirm label {display:block;font-size:12px;font-weight:600}
.cb-confirm label span {font-weight:400;color:#738078}
.cb-confirm textarea {width:100%;box-sizing:border-box;border:1px solid #cfdbd3;border-radius:8px;padding:10px;margin-top:8px;resize:vertical;background:#fff}
.cb-decision-record {padding:17px 28px;background:#f0f6f2;border-bottom:1px solid #dbe8df;font-size:13px}
.cb-decision-record p {font-size:11px;color:#65766a;margin:6px 0 0}
.cb-empty {padding:28px 22px;color:#75828a;font-size:13px;line-height:1.8}
.cb-start {max-width:360px;text-align:center;margin:110px auto 0}
.cb-start h3 {font-size:19px;color:#314650}
.cb-error,.cb-notice {padding:13px 16px;border:1px solid #e9c8c4;border-radius:8px;background:#fff3f0;color:#924f47;font-size:13px;line-height:1.6;margin:0 0 15px}
.cb-notice {background:#edf7f0;border-color:#c8e3d0;color:#286043}
.cb-footnote {font-size:11px;color:#7d8990;margin:18px 0}
@media(max-width:1000px){.cb-workspace{grid-template-columns:minmax(230px,300px) minmax(0,1fr)}.cb-hero h2{font-size:26px}.cb-section,.cb-detail-heading,.cb-confirm{padding:20px}}
@media(max-width:760px){.cb-workspace{grid-template-columns:1fr}.cb-list{max-height:350px}.cb-hero{align-items:flex-start}.cb-pending{padding:14px;flex-direction:column;gap:6px}.cb-pending strong{font-size:28px}.cb-pending span{font-size:10px}.cb-hero h2{font-size:24px}.cb-toolbar{align-items:flex-start}.cb-filters button{padding:8px;font-size:11px}.cb-start{margin:40px auto}.cb-detail{min-height:250px}.cb-actions{flex-direction:column}.cb-actions button{width:100%}.cb-evidence header{flex-direction:column;gap:4px}}

body .sidebar nav #currentReviewNav[hidden],body .sidebar nav button.nav-main[hidden] {display:none!important}

/* Query-backed review navigation; list and evidence headers size independently. */
.cb-sort{display:flex;align-items:center;gap:10px;padding:0 16px 10px;color:#52636a;font-size:13px}
.cb-sort select{flex:1;padding:8px;border:1px solid #ccd7d8;border-radius:8px;background:white;color:#173b35}
.cb-result-count{margin:0;padding:0 16px 12px;font-size:12px;color:#52636a}
.cb-pagination{display:flex;justify-content:space-between;gap:12px;padding:16px;border-top:1px solid #e3e9e7}
.cb-pagination button{border:1px solid #ccd7d8;border-radius:8px;background:white;padding:8px 16px;color:#173b35;cursor:pointer}
.cb-pagination button:disabled{opacity:.45;cursor:default}
.cb-evidence header{height:auto;min-height:0}
