/* v1.0.117 — a quieter Reports workspace with one clear visual hierarchy. */
.workspace.reports-mode>.panel-head{min-height:46px;padding:4px 0 8px}
.workspace.reports-mode>.panel-head>div:first-child{padding-left:11px}
.workspace.reports-mode>.panel-head h2{font-size:15px}
.reports-command{gap:10px}

/* Live intelligence is a compact control surface, not a second page hero. */
.reports-command .operational-intelligence{gap:0;padding:0;border-color:#1a4052;background:#081d2e;box-shadow:0 6px 16px rgba(4,24,39,.1)}
.reports-command .operational-intelligence>header{grid-template-columns:minmax(190px,.8fr) minmax(360px,1.35fr) minmax(170px,.55fr);gap:14px;min-height:62px;padding:9px 13px;border:0;border-bottom:1px solid #1d4051;background:#081d2e}
.reports-command .operational-intelligence>header:after{display:none}
.intelligence-heading span{font-size:7px!important;letter-spacing:.15em!important}
.intelligence-heading h3{margin:2px 0 1px!important;font-size:15px!important}
.intelligence-heading p{font-size:8px!important}
.reports-command .intelligence-period{display:grid;grid-template-columns:minmax(105px,1fr) minmax(105px,1fr) auto auto;gap:6px;align-items:end}
.reports-command .intelligence-period label{min-width:0}
.reports-command .intelligence-period label span{display:block;margin-bottom:3px;color:#7899aa;font-size:7px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.reports-command .intelligence-period input{width:100%;height:30px;padding:5px 7px;border:1px solid #2a5163;border-radius:3px;background:#0d293b;color:#dcebf0;font:600 9px Montserrat,sans-serif;color-scheme:dark}
.reports-command .intelligence-period button{height:30px;padding:0 10px;border:1px solid #209f9a;border-radius:3px;background:#138f88;color:#fff;font:700 8px Montserrat,sans-serif;white-space:nowrap}
.reports-command .intelligence-period button.quiet{border-color:#2a5163;background:#102c3e;color:#a9c0cb}
.reports-command .intelligence-state{min-height:38px;padding:7px 9px 7px 32px;border:0;border-left:1px solid #284a5b;background:transparent}
.reports-command .intelligence-state>i{left:13px;top:17px;width:7px;height:7px}
.reports-command .intelligence-state small{font-size:6px}.reports-command .intelligence-state b{margin-top:2px;font-size:9px}
.reports-command .intelligence-metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:0;border:0;border-bottom:1px solid #173b4d;background:#173b4d}
.reports-command .intelligence-metric{min-height:60px;padding:9px 11px;border-top-width:1px;border-right:1px solid #173b4d;background:#0a2234}
.reports-command .intelligence-metric:last-child{border-right:0}
.reports-command .intelligence-metric small{font-size:6px}.reports-command .intelligence-metric b{margin:4px 0 2px;font-size:17px}.reports-command .intelligence-metric span{padding-right:22px;font-size:7px}
.reports-command .intelligence-metric:after{right:8px;bottom:7px;font-size:5px}
.intelligence-sources{background:#081d2e;color:#fff}
.intelligence-sources>summary{display:flex;align-items:center;gap:8px;min-height:34px;padding:7px 12px;cursor:pointer;list-style:none;color:#789aaa;font-size:8px}
.intelligence-sources>summary::-webkit-details-marker{display:none}
.intelligence-sources>summary span{color:#5de2ed;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.intelligence-sources>summary b{color:#d7e6ec;font-size:8px}
.intelligence-sources>summary i{margin-left:auto;color:#7f9baa;font-size:7px;font-style:normal}
.intelligence-sources>summary i:after{content:' +'}
.intelligence-sources[open]>summary i:after{content:' −'}
.reports-command .intelligence-source-bar{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:8px 11px;border-width:1px 0 0;background:#071a29}

/* One report toolbar replaces the large hero, metric cards and explanation strip. */
.report-register-toolbar{display:grid;grid-template-columns:minmax(170px,.6fr) minmax(430px,1.6fr) minmax(130px,.45fr);align-items:center;gap:16px;min-height:58px;padding:9px 13px;border:1px solid #cbdce4;border-left:3px solid #31b9d2;border-radius:4px;background:#fff;box-shadow:0 4px 12px rgba(6,27,44,.06)}
.report-register-toolbar>div:first-child>span{display:block;color:#0b98a8;font-size:7px;font-weight:900;letter-spacing:.15em}
.report-register-toolbar h3{display:inline;margin:0;color:#10283b;font-size:15px}
.report-register-toolbar p{display:inline;margin-left:8px;color:#718896;font-size:8px}
.report-counts{display:flex;align-items:stretch;min-height:34px;border:1px solid #dbe6eb}
.report-count{display:flex;align-items:center;justify-content:center;gap:7px;min-width:78px;padding:6px 9px;border-right:1px solid #e1e9ed;background:#f8fafb}
.report-count:last-child{border-right:0}.report-count small{color:#6d8492;font-size:7px;text-transform:uppercase}.report-count b{color:#15364a;font-size:13px}.report-count.review b{color:#a26908}.report-count.published b,.report-count.client b{color:#078a83}
.report-register-state{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:#496775;font-size:8px;font-weight:800}
.report-register-state i{width:7px;height:7px;border-radius:50%;background:#2ac7b3;box-shadow:0 0 0 4px rgba(42,199,179,.11)}
.report-register-toolbar.attention .report-register-state i{background:#e0a12e;box-shadow:0 0 0 4px rgba(224,161,46,.12)}
.reports-command-head,.report-metrics,.report-control-note{display:none!important}

.reports-command .report-control-grid{gap:10px}
.reports-command .report-board{box-shadow:0 4px 14px rgba(6,27,44,.06)}
.reports-command .report-board>header{min-height:45px;padding:8px 12px;background:#092237}
.reports-command .report-board>header span{font-size:7px}.reports-command .report-board>header h3{margin-top:1px;font-size:11px}.reports-command .report-board>header>b{min-width:27px;height:27px;font-size:10px}
.reports-command .report-board>div{padding:6px}

/* The explanation panel reads as a concise record, not another dashboard. */
.intelligence-detail-panel[open]{width:min(460px,100vw)}
.intelligence-detail-shell>header{padding:16px 18px}
.intelligence-detail-shell>header h2{margin-top:3px;font-size:18px}
.intelligence-detail-body{gap:10px!important;padding:14px 18px!important}
.intelligence-detail-context{padding:9px 11px}
.intelligence-detail-summary{display:block!important;border:1px solid #d3dfe5;background:#fff}
.intelligence-detail-summary>div{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:38px!important;padding:8px 10px!important;border:0!important;border-bottom:1px solid #e3eaee!important;background:transparent!important}
.intelligence-detail-summary>div:last-child{border-bottom:0!important}
.intelligence-detail-summary small{font-size:8px!important}.intelligence-detail-summary b{margin:0!important;font-size:12px!important;text-align:right}
.intelligence-detail-note{padding:9px 11px;border-left:2px solid #35b7bd;background:#edf5f6;font-size:9px!important;line-height:1.45!important}
.intelligence-detail-actions{padding:12px 18px!important}

@media(max-width:1150px){
  .reports-command .operational-intelligence>header{grid-template-columns:1fr 1.7fr}.reports-command .intelligence-state{display:none}
  .reports-command .intelligence-metrics{grid-template-columns:repeat(3,1fr)}
  .report-register-toolbar{grid-template-columns:1fr}.report-register-state{display:none}.report-counts{width:max-content;max-width:100%}
}
@media(max-width:760px){
  .reports-command .operational-intelligence>header{grid-template-columns:1fr}
  .reports-command .intelligence-period{grid-template-columns:1fr 1fr}.reports-command .intelligence-period button{width:100%}
  .reports-command .intelligence-metrics{grid-template-columns:1fr 1fr}
  .report-register-toolbar{padding:10px}.report-counts{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.report-count{min-width:0;border-bottom:1px solid #e1e9ed}
  .reports-command .intelligence-source-bar{grid-template-columns:1fr}
}
