/* Compact history and record-local assignment controls. */
html body .cb-site .case-history-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px 0;border-bottom:1px solid #405969;margin-bottom:12px}
html body .cb-site .case-history-filters label{display:grid;gap:4px;margin:0;min-width:0;font-size:11px}
html body .cb-site .case-history-filters input,html body .cb-site .case-history-filters select{box-sizing:border-box;min-width:0;width:100%;height:28px;padding:4px 6px;font-size:12px;background:#f1f4f6;color:#14222d}
.history-filter-actions{display:flex;gap:6px;align-items:end;flex-wrap:wrap}.case-history-help{font-size:11px;color:#b4c3cb}
.case-history-table{width:100%;overflow:auto}.case-history-table table{width:100%;table-layout:fixed;border-collapse:collapse}.case-history-table th,.case-history-table td{padding:8px;text-align:left;vertical-align:top;border-bottom:1px solid #405969;overflow-wrap:anywhere;font-size:11px}.case-history-table th{background:#10212b}.case-history-table th:first-child{width:115px}.case-history-table th:nth-child(2){width:110px}.case-history-table th:nth-child(4){width:135px}.case-history-table td p{margin:5px 0}.case-history-table td small{display:block;margin-top:4px}.case-history-table summary{cursor:pointer;color:#86bdd6;margin-top:5px}.case-history-table pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;font-size:11px}.case-history-table dl{margin:8px 0}.case-history-table dt{font-weight:bold}.case-history-table dd{margin:2px 0 8px}.case-history-browser .ops-pagination{margin-top:10px;gap:10px;flex-wrap:wrap}
html body .cb-site .case-workflow-workspace:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;padding:12px!important}
html body .cb-site .case-workflow-workspace>section{min-width:0;margin:0!important;padding:12px!important;border:1px solid #405969;background:#202c33;align-self:start}
html body .cb-site .case-workflow-workspace>section>h3{margin:0 0 10px!important;font-size:12px}
html body .cb-site .case-workflow-workspace .case-v3-owner{margin:0 0 10px!important;font-size:12px}
html body .cb-site .case-workflow-workspace .ops-case-controls{border:0!important;margin:0!important;padding:0!important;background:transparent!important}
html body .cb-site .assignment-expanded>summary{display:none!important}
html body .cb-site .case-workflow-workspace .ops-control-form,html body .cb-site .case-workflow-workspace .case-v3-form{display:block!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important}
html body .cb-site .case-workflow-workspace fieldset,html body .cb-site .case-workflow-workspace .ops-staff-picker{display:grid!important;gap:8px;min-width:0;margin:0!important;padding:0!important;border:0!important}
html body .cb-site .case-workflow-workspace label{display:grid;gap:4px;margin:0 0 8px;min-width:0;font-size:11px}
html body .cb-site .case-workflow-workspace input,html body .cb-site .case-workflow-workspace select,html body .cb-site .case-workflow-workspace textarea{box-sizing:border-box;width:100%;min-width:0;margin:0;font-size:12px}
html body .cb-site .case-workflow-workspace button{justify-self:start;width:auto!important}
html body .cb-site .case-workflow-workspace .case-workflow-match{grid-column:1/-1}
html body .cb-site .case-workflow-match .case-v3-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 10px}.case-workflow-match .case-v3-meta>div{border:0!important;margin:0!important;padding:0!important}
@media(max-width:700px){html body .cb-site .case-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}html body .cb-site .case-workflow-workspace:not([hidden]){grid-template-columns:minmax(0,1fr)}html body .cb-site .case-workflow-match .case-v3-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Shared admin record controls. Hidden rows retain unsaved form values. */
.admin-paged-records{min-width:0;width:100%}
.admin-paged-records [hidden]{display:none!important}
.admin-record-table-scroll{max-width:100%;overflow-x:auto}
.admin-record-search,.admin-record-pagination,.admin-record-pagination>div{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.admin-record-search{padding:10px 0}
.admin-record-search label,.admin-list-search{display:grid;gap:4px;font-size:12px;min-width:130px}
.admin-record-search label:first-child{flex:1;max-width:360px}
.admin-record-search input,.admin-record-search select,.admin-list-search input{width:100%;min-height:28px;color:#17252e;background:#f1f5f7}
.admin-list-search{max-width:360px;margin:8px 0}
.admin-record-pagination{justify-content:space-between;padding:10px 0;border-top:1px solid #3a5260;font-size:12px;color:#b8cbd5}
.admin-record-pagination label{display:flex;align-items:center;gap:6px}
.admin-record-pagination select{width:64px;min-height:26px;color:#17252e;background:#f1f5f7}
.admin-record-pagination button{min-height:26px;padding:3px 10px}
.admin-record-pagination button:disabled{opacity:.5}

/* Decision and conversation share one compact working view. */
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-resolution-workspace:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px;align-items:start;padding:12px!important}
.dispute-resolution-workspace>div{min-width:0}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-messages-column{border-left:1px solid #455b69;padding-left:18px}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-resolution-workspace .case-v3-form{margin:0!important;min-width:0}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-resolution-workspace .case-v3-conversation{max-height:260px;overflow:auto;margin:10px 0 14px}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-resolution-workspace select,html body .cb-site .admin-page.admin-v3.admin-v3 .case-workflow-workspace select{width:auto!important;max-width:100%!important;min-width:0!important;justify-self:start}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-score-entry{display:flex!important;flex-wrap:wrap;gap:18px!important;justify-content:flex-start}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-score-entry label{flex:0 1 180px;min-width:0}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-score-entry input{display:block;width:76px!important;max-width:100%;text-align:center}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-resolution-workspace .check{display:flex!important;align-items:center;justify-content:flex-start;gap:7px}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-resolution-workspace .check input{width:auto!important;margin:0!important}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-resolution-workspace .case-v3-form-footer{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start}
.dispute-back-nav{margin:0 0 8px}
html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-back-link{background:none!important;border:0!important;box-shadow:none!important;color:#8fc7df!important;padding:0!important;text-decoration:underline;min-height:0!important}
@media(max-width:760px){html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-resolution-workspace:not([hidden]){grid-template-columns:minmax(0,1fr)!important}html body .cb-site .admin-page.admin-v3.admin-v3 .dispute-messages-column{border-left:0;border-top:1px solid #455b69;padding:14px 0 0}}
