/* Operational workspaces share the Platinum Precision palette. */
.operations-view { min-width:0; display:grid; gap:20px; }
.operations-view .panel { min-width:0; }
.ops-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.ops-card { min-width:0; padding:22px; background:var(--paper); border:1px solid var(--line); border-radius:12px; }
.ops-card h2,.ops-card h3 { margin-bottom:12px; }
.ops-toolbar { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; }
.ops-toolbar .field { min-width:140px; flex:1; margin:0; }
.ops-form { display:grid; gap:16px; }
.ops-form .field { margin:0; }
.ops-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.ops-kpis>div { min-width:0; padding:19px; border:1px solid var(--line); border-radius:12px; background:var(--paper); }
.ops-kpis strong { display:block; font-size:28px; line-height:1.35; letter-spacing:-1px; font-weight:550; font-variant-numeric:tabular-nums; }
.ops-kpis span,.ops-kpis small { display:block; color:var(--muted); font-size:12px; }
.ops-table-wrap { max-width:100%; overflow-x:auto; }
.ops-table { width:100%; border-collapse:collapse; font-size:12px; text-align:left; }
.ops-table th { font-weight:550; background:var(--surface); color:var(--muted); }
.ops-table :is(th,td) { padding:13px 15px; border-bottom:1px solid var(--line); vertical-align:top; }
.ops-table td { overflow-wrap:anywhere; }
.ops-note { color:var(--muted); font-size:12px; line-height:1.7; }
.operations-view input,.operations-view select,.operations-view textarea { max-width:100%; }
.operations-view :is(p,pre,td,small) { overflow-wrap:anywhere; }
.operations-view pre { white-space:pre-wrap; font-family:inherit; }
.operations-view .action-buttons { flex-wrap:wrap; }
.operations-view form button[type=submit] { justify-self:start; }
.operations-view .field textarea { min-height:88px; }
@media(min-width:1301px) and (max-width:1580px) { .brand small { display:none; } .sidebar { gap:16px; padding-inline:22px; } .nav-link { padding-inline:9px; } .command-trigger span,.command-trigger kbd { display:none; } }
@media(max-width:1000px) { .ops-grid { grid-template-columns:minmax(0,1fr); } .ops-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .ops-card { padding:17px; } .ops-toolbar { align-items:stretch; } .ops-toolbar .field { flex-basis:100%; } .ops-toolbar>.button { flex:1; } .ops-table :is(th,td) { padding:10px; } .operations-view form button[type=submit] { width:100%; } .main-nav .nav-link { min-width:48px; flex-shrink:0; } }

/* Knowledge library and review queue. */
.module-tabs { display:flex; gap:6px; padding:6px; border:1px solid var(--line); border-radius:10px; background:var(--paper); width:fit-content; max-width:100%; flex-wrap:wrap; }
.module-tabs button { border:0; background:transparent; color:var(--muted); padding:10px 14px; border-radius:7px; }
.module-tabs button[aria-selected=true],.module-tabs button.active { background:var(--teal-light); color:var(--teal-dark); }
.module-toolbar { display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end; margin-block:17px; }
.module-search { display:flex; flex:1; flex-wrap:wrap; gap:10px; min-width:0; }
.module-search input { min-width:140px; flex:1; }
.module-search select { min-width:140px; }
.module-split { display:grid; grid-template-columns:minmax(260px,.85fr) minmax(0,1.4fr); gap:20px; align-items:start; }
.module-panel { min-width:0; padding:20px; }
.module-panel h2 { margin-bottom:16px; }
.module-form { display:grid; gap:15px; }
.module-form .field { margin:0; }
.module-details { min-width:0; }
.module-list-row { display:block; width:100%; text-align:left; padding:16px; margin-block:9px; background:var(--paper); border:1px solid var(--line); border-radius:10px; }
.module-list-row:hover { background:var(--surface); border-color:#bcc5ce; }
.module-list-row[aria-current=true],.module-list-row.active { border-color:var(--teal); }
.module-list-row strong { display:block; margin-bottom:5px; }
.module-list-row p,.module-list-row small { color:var(--muted); }
.module-history { margin-top:20px; padding-top:16px; border-top:1px solid var(--line); }
.module-history>div,.module-history>li { padding-block:10px; border-bottom:1px solid var(--line); }
.preserve-lines { white-space:pre-wrap; }
.form-actions,.operations-view .pagination { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:16px; }
.operations-view .info-box { border:1px solid var(--line); background:var(--surface); border-radius:10px; padding:15px 18px; font-size:12px; }
.operations-view .info-box.amber { background:var(--amber-light); color:var(--amber); border-color:#e9d9b6; }
@media(max-width:1000px) { .module-split { grid-template-columns:minmax(0,1fr); } }
@media(max-width:700px) { .module-panel { padding:16px; } .module-search { display:grid; grid-template-columns:minmax(0,1fr); } .module-search input,.module-search select { width:100%; min-width:0; } .module-toolbar>.button { width:100%; } }

.ops-toolbar.ops-form { display:flex; }
