/* Combined Infrastructure Report (2026-10-22): the extra mapping that puts every embedded report in the Atlas design.
   Generate-CombinedReport.ps1 inlines atlas-report.css (or atlas-docs.css for the hc-docs-palette board report) plus
   this file into each tab's document, and marks it html.hc-combined. Each report family keeps its own variable
   names; they are all pointed at the same palette here: white paper, black ink, Atlas blue links, hairline rules,
   status colours dark enough to read on white. Always light.
   Since 2026-11-07 the Reports page's viewer (/reports/view, Add-HcAtlasReportView) uses it too, for every report it
   opens: html.hc-combined.rep-view. There each report stands alone, so it keeps the black band and the docs bar. */

:root.hc-combined, :root.hc-combined[data-theme], :root.hc-combined[data-theme="light"], :root.hc-combined[data-theme="dark"] {
  /* Storage Technical / Compute Capacity / Capacity Combined shell */
  --bg:#ffffff; --panel:#ffffff; --panel2:#f4f4f4; --ink:#0a0a0a; --ink2:#3d3d3d; --mut:#5f5f5f; --line:#d8d8d8; --accent:#0000ff;
  --ok:#008a00; --warn:#c27400; --crit:#ec2127; --fail:#ec2127;
  --sans:'Archivo','Helvetica Neue',Helvetica,Arial,sans-serif; --mono:Consolas,'Cascadia Code',ui-monospace,monospace;
  /* Certificate Expiry */
  --surface:#ffffff; --surface2:#f4f4f4; --border:#d8d8d8; --text:#0a0a0a; --muted:#5f5f5f;
  --font:'Archivo','Helvetica Neue',Helvetica,Arial,sans-serif;
  /* Client / site capacity forecast */
  --surface-2:#f4f4f4; --surface-3:#ececec; --border-2:#c4c4c4; --faint:#8a8a8a;
  color-scheme:light;
}
.hc-combined body{background:#ffffff !important;color:#0a0a0a}
/* the tab bar of the combined report already carries the black band; no second one per tab */
.hc-combined:not(.rep-view) body::before{display:none !important}
.hc-combined:not(.rep-view) .hcd-bar{display:none !important}

/* Horizon: its palette lives on .hz-root */
.hc-combined .hz-root{--hz-card:#ffffff;--hz-line:#d8d8d8;--hz-well:#f4f4f4;--hz-text:#0a0a0a;--hz-soft:#3d3d3d;--hz-faint:#8a8a8a;--hz-rule:#e6e6e6;
  --hz-link:#0000ff;--hz-info:#0000ff;--hz-warn-t:#c27400;--hz-crit-t:#ec2127;--hz-ki:#ff00a3;--hz-up:#008a00;--hz-down:#ec2127;--hz-ok:#008a00}
.hc-combined .hz-root [style*="var(--hz-card)"]{border:0 !important;border-top:2px solid #0a0a0a !important}

/* Co-Pilot briefing (e-mail layout, inline slate colours; the Daily Digest rules in atlas-report.css do most of it) */
.hc-combined [style*="color:#f97316"]{color:#c25400 !important}
.hc-combined [style*="rgba(148,163,184,.06)"],.hc-combined [style*="rgba(148,163,184,.12)"]{background:#f4f4f4 !important}
.hc-combined .cp-link,.hc-combined a{color:#0000ff}
.hc-combined .cp-chip{color:#0a0a0a;background:#f4f4f4;border-color:#d8d8d8}
.hc-combined [style*="max-width:1600px"]{max-width:1240px !important}

/* the Capacity tab is itself a two-tab report: its own masthead, size labels and theme button go (the outer
   tab names it), and its tabs match the outer ones */
.hc-nested-shell .mast{display:none !important}
/* (in the Reports viewer the capacity report is the page itself: its masthead stays, its tabs look the same) */
.hc-nested-shell .tabs,.rep-view:has(.panes) .tabs{background:#ffffff !important;border-bottom:1px solid #d8d8d8 !important;padding:0 26px !important;gap:0 !important}
.hc-nested-shell .tab,.rep-view:has(.panes) .tab{font-family:'Archivo','Helvetica Neue',Helvetica,Arial,sans-serif !important;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  background:none !important;border:0 !important;border-bottom:3px solid transparent !important;color:#5f5f5f !important;padding:14px 16px 11px}
.hc-nested-shell .tab:hover,.rep-view:has(.panes) .tab:hover{color:#0a0a0a !important}
.hc-nested-shell .tab.active,.rep-view:has(.panes) .tab.active{color:#0a0a0a !important;border-bottom-color:#0a0a0a !important}
.hc-nested-shell .tab .n,.rep-view:has(.panes) .tab .n{display:none}
.hc-nested-shell .pane iframe,.rep-view:has(.panes) .pane iframe{background:#ffffff !important}
.hc-combined.atlas-doc h1{font-size:clamp(30px,4vw,48px) !important}

/* tables, headings and numbers in the Atlas voice across all tabs */
.hc-combined h1,.hc-combined h2{font-family:'Archivo','Helvetica Neue',Helvetica,Arial,sans-serif}
.hc-combined th{color:#5f5f5f;background:#ffffff}
.hc-combined .kpi,.hc-combined .card,.hc-combined .sys,.hc-combined .panel,.hc-combined .tile,.hc-combined .stat{box-shadow:none !important}
