/* Morning-Rounds stand-alone reports in the Atlas design (2026-10-21): Avi upgrade runbook, VMSA-2026-0006 runbook,
   Daily Digest, SLA report, System snapshot (/target/snapshot) and Certificates snapshot. Added by the routes when
   they send the page (Add-HcAtlasDocStyle -Kind report); the files and the e-mailed copies are unchanged.
   Switched on by html.atlas-report. Same language as the app: white paper, black ink, a black band with the
   Atlas logo, Archivo, 900 uppercase headings, square corners, the green / pink / blue stripe. Always light. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('/public/fonts/Archivo.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/public/fonts/JetBrainsMono.woff2') format('woff2'); }

/* the pages' own palettes (two families: runbooks --text2/--surfaceSolid, snapshots --muted/--font) */
:root.atlas-report, :root.atlas-report[data-theme], :root.atlas-report[data-theme="light"], :root.atlas-report[data-theme="dark"] {
  --bg:#ffffff; --surface:#ffffff; --surface2:#f4f4f4; --surfaceSolid:#ffffff; --border:#d8d8d8;
  --text:#0a0a0a; --text2:#5f5f5f; --text3:#8a8a8a; --muted:#5f5f5f;
  --accent:#0a0a0a; --info:#0000ff; --glow:transparent; --glassBorder:#d8d8d8;
  --ok:#00a000; --warn:#c27400; --fail:#ec2127; --crit:#ec2127;
  --code-bg:#f4f4f4; --code-border:#d8d8d8;
  --font:'Archivo','Helvetica Neue',Helvetica,Arial,sans-serif;
  --e-stripe:linear-gradient(90deg,#00d400 0 33.3%,#ff00a3 33.3% 66.6%,#0000ff 66.6%);
  color-scheme:light;
}
.atlas-report body{background:#fff !important;color:#0a0a0a;font-family:'Archivo','Helvetica Neue',Helvetica,Arial,sans-serif !important;-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}
.atlas-report code,.atlas-report pre,.atlas-report kbd,.atlas-report [class*="mono"]{font-family:'JetBrains Mono',Consolas,monospace}
.atlas-report ::selection{background:#0a0a0a;color:#fff}
.atlas-report a{color:#0000ff;text-underline-offset:3px}
.atlas-report :focus-visible{outline:2px solid #0000ff;outline-offset:2px}

/* black band with the Atlas logo across the top (these pages have no app shell). In the Reports page's viewer
   (rep-view) it is drawn on the page itself, so a report's own padding or fixed side menu cannot cut into it. */
.atlas-report:not(.rep-view) body::before,:root.atlas-report.rep-view::before{content:'';display:block;height:52px;margin:0 0 0;background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 15'%3E%3Ctext x='0' y='13' textLength='150' lengthAdjust='spacingAndGlyphs' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='15' fill='%23fff'%3EMORNING-ROUNDS%3C/text%3E%3C/svg%3E") clamp(16px,3vw,40px) center / 150px 15px no-repeat,
  #0a0a0a;border-bottom:3px solid transparent;border-image:var(--e-stripe) 1}
.atlas-report .theme-toggle,.atlas-report #theme-toggle,.atlas-report [onclick*="oggleTheme"],.atlas-report [data-theme-toggle]{display:none !important}

/* square, flat, hairline */
.atlas-report *:not(svg *):not(img):not([class*="dot"]):not([class*="ring"]):not([class*="donut"]):not([class*="gauge"]):not([style*="50%"]){border-radius:0 !important}
.atlas-report *{box-shadow:none !important;text-shadow:none !important;backdrop-filter:none !important}

/* type: the Atlas headline voice */
.atlas-report h1{font-weight:900 !important;text-transform:uppercase;letter-spacing:-.035em;line-height:.95}
.atlas-report h2{font-weight:900 !important;text-transform:uppercase;letter-spacing:-.025em}
.atlas-report h3{font-weight:900;text-transform:uppercase;letter-spacing:-.01em}
.atlas-report th{color:#5f5f5f;background:#fff;font-weight:700;font-size:11px;letter-spacing:.14em;text-transform:uppercase;border-bottom:1px solid #d8d8d8}
.atlas-report td{border-color:#e6e6e6}
.atlas-report tr:hover td{background:#f4f4f4}

/* buttons: square, outlined, uppercase; black when it is the main action */
.atlas-report .btn,.atlas-report .tp-btn,.atlas-report .cp-btn,.atlas-report select{border:1px solid #0a0a0a !important;background:#fff;color:#0a0a0a !important;font-family:inherit;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:11.5px}
.atlas-report .btn:hover,.atlas-report .tp-btn:hover,.atlas-report .cp-btn:hover{background:#0a0a0a !important;color:#fff !important}

/* ---- runbooks (Avi upgrade, VMSA-2026-0006) ---- */
.atlas-report .page{padding-top:40px}
.atlas-report .doc-hdr{border-bottom:2px solid #0a0a0a}
.atlas-report .doc-badge{background:#0a0a0a;color:#fff;border:0;font-weight:700;letter-spacing:.14em}
.atlas-report .doc-hdr h1{font-size:clamp(34px,4.6vw,64px)}

/* ---- System and Certificates snapshots: cards become open sections under an ink rule ---- */
.atlas-report .tp-card,.atlas-report .cp-card{background:transparent;border:0 !important;border-top:2px solid #0a0a0a !important}
.atlas-report .tp-num,.atlas-report .cp-num{font-weight:900;letter-spacing:-.04em}
.atlas-report .tp-banner,.atlas-report .cp-banner{background:#f4f4f4;border:0;border-left:5px solid #0a0a0a}
.atlas-report .tp-chip,.atlas-report .tp-tag,.atlas-report .cp-chip{font-weight:700;letter-spacing:.06em;text-transform:uppercase}

/* ---- SLA report ---- */
.atlas-report.rep-sla body{padding:0 !important}
.atlas-report.rep-sla body > *:not(script){margin-left:clamp(16px,3vw,40px);margin-right:clamp(16px,3vw,40px)}
.atlas-report.rep-sla body > :first-child:not(script),.atlas-report.rep-sla .print-btn{margin-top:28px}
.atlas-report.rep-sla .print-btn{background:#0a0a0a;color:#fff;font-family:inherit;font-weight:700;letter-spacing:.1em;text-transform:uppercase;font-size:11.5px;padding:10px 16px}
.atlas-report.rep-sla a,.atlas-report.rep-sla [style*="color:#0ea5e9"]{color:#0a0a0a !important}

/* ---- Daily Digest: an e-mail layout with inline colours, re-inked here for the web view ---- */
.atlas-report body:has(.eth-mailband)::before{display:none}   /* the digest now carries its own band (e-mail safe) */
.atlas-report .wrap{max-width:1100px}
.atlas-report .card{background:#fff;border:0;border-top:2px solid #0a0a0a;padding-left:0;padding-right:0}
.atlas-report .h2,.atlas-report .sec-label{color:#0a0a0a;font-weight:900;letter-spacing:.12em}
.atlas-report .sec-label{border-left-color:#0a0a0a}
.atlas-report [style*="background:#0b1220"],.atlas-report [style*="background:#1e293b"],.atlas-report [style*="background:#0f172a"],
.atlas-report [style*="background:linear-gradient(135deg,#0f172a"],.atlas-report [style*="background:linear-gradient(135deg,rgba(56,189,248"]{background:#fff !important}
.atlas-report [style*="color:#e2e8f0"],.atlas-report [style*="color:#cbd5e1"],.atlas-report [style*="color:#04121f"]{color:#0a0a0a !important}
.atlas-report [style*="color:#94a3b8"],.atlas-report [style*="color:#64748b"]{color:#5f5f5f !important}
.atlas-report [style*="color:#38bdf8"]{color:#0000ff !important}
.atlas-report [style*="color:#22c55e"]{color:#008a00 !important}
.atlas-report [style*="color:#f59e0b"]{color:#c27400 !important}
.atlas-report [style*="color:#ef4444"]{color:#ec2127 !important}
.atlas-report [style*="#334155"]{border-color:#d8d8d8 !important}
.atlas-report [style*="background:#22c55e;"],.atlas-report [style*="background:#ef4444;"],.atlas-report [style*="background:#f59e0b;"]{color:#fff !important}

/* ---- Reports page tiles (/reports/view): Daily Summary, Email Report, Weekly Digest ---- */
/* Daily Summary: its own fixed top bar takes the place of the black band */
.atlas-report.rep-summary body::before{display:none}
.atlas-report.rep-summary .topnav{background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 15'%3E%3Ctext x='0' y='13' textLength='150' lengthAdjust='spacingAndGlyphs' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='15' fill='%23fff'%3EMORNING-ROUNDS%3C/text%3E%3C/svg%3E") 20px center / 150px 15px no-repeat,
  #0a0a0a !important;height:52px;padding-left:110px;border-bottom:3px solid transparent;border-image:var(--e-stripe) 1}
.atlas-report.rep-summary .topnav .tnav-link{color:#fff !important;background:transparent !important;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:11.5px}
.atlas-report.rep-summary .topnav .tnav-link.active,.atlas-report.rep-summary .topnav .tnav-link:hover{box-shadow:inset 0 -3px 0 #fff !important}
.atlas-report.rep-summary .topnav .tnav-sep{color:#5f5f5f}
.atlas-report.rep-summary .last-run-badge{background:transparent !important;color:#fff !important;border:1px solid #fff !important;font-family:'JetBrains Mono',Consolas,monospace}
.atlas-report.rep-summary .sidebar{top:55px;height:calc(100vh - 55px);background:#fff;border-right:1px solid #d8d8d8}
.atlas-report.rep-summary .nav-logo{display:none}
.atlas-report.rep-summary .page{padding-top:80px}
.atlas-report.rep-summary .hdr-badge{background:#0a0a0a;color:#fff;border:0;letter-spacing:.14em}
.atlas-report.rep-summary .hdr h1{font-size:clamp(34px,4.6vw,64px);background:none;-webkit-text-fill-color:#0a0a0a;color:#0a0a0a}
.atlas-report.rep-summary .card,.atlas-report.rep-summary .pcard,.atlas-report.rep-summary .oscore,.atlas-report.rep-summary .sc{background:#fff;border:0 !important;border-top:2px solid #0a0a0a !important}
.atlas-report.rep-summary .pcard:hover{transform:none;background:#f4f4f4}
.atlas-report.rep-summary .pch{background:#0a0a0a !important;color:#fff}
.atlas-report.rep-summary .pcsr > div{text-shadow:none;letter-spacing:-.04em}
.atlas-report.rep-summary .sv{font-weight:900;letter-spacing:-.04em}
.atlas-report.rep-summary .sl{color:#5f5f5f;letter-spacing:.14em}
.atlas-report.rep-summary .hmc{color:#fff}
.atlas-report.rep-summary .hms{font-weight:900}

/* Email Report: an e-mail layout with inline colours; cards become open sections under an ink rule */
.atlas-report.rep-email body > table{padding:16px clamp(16px,3vw,40px) 40px !important;max-width:1200px;margin:0 auto}
.atlas-report.rep-email [style*="border:1px solid #334155"]{border:0 !important;border-top:2px solid #0a0a0a !important;background:#fff !important}
.atlas-report.rep-email [style*="border-left:4px solid #ef4444"]{border-left:5px solid #ec2127 !important;background:#f4f4f4 !important}
.atlas-report.rep-email [style*="border-left:3px solid"]{border:0 !important;border-top:1px solid #d8d8d8 !important;background:#f4f4f4 !important}
.atlas-report.rep-email [style*="border-left:4px solid #3b82f6"]{border-left:5px solid #0a0a0a !important}
.atlas-report.rep-email [style*="font-size:22px;font-weight:900;color:#e2e8f0"]{font-size:clamp(28px,3.6vw,48px) !important;text-transform:uppercase;letter-spacing:-.035em;line-height:.95}
.atlas-report.rep-email [style*="letter-spacing:1.2px"],.atlas-report.rep-email [style*="letter-spacing:2.5px"]{color:#0a0a0a !important;font-weight:900 !important;letter-spacing:.14em !important}
.atlas-report.rep-email [style*="linear-gradient(90deg,#0ea5e9"]{background:var(--e-stripe) !important}
.atlas-report.rep-email [style*="color:#3b82f6"]{color:#0000ff !important}
.atlas-report.rep-email [style*="color:#a855f7"]{color:#ff00a3 !important}
.atlas-report.rep-email [style*="background:#22c55e;color:#0f172a"]{color:#fff !important}
.atlas-report.rep-email [style*="font-size:46px"],.atlas-report.rep-email [style*="font-size:24px;font-weight:900"],.atlas-report.rep-email [style*="font-size:22px;font-weight:900"]{letter-spacing:-.04em}
.atlas-report.rep-email td[style*="background:#0f172a;border-radius:6px"]{background:#e6e6e6 !important}

/* Weekly Digest: same family as the Daily Digest (rules above); its header and tiles */
.atlas-report.rep-weekly [style*="border:1px solid #334155"],.atlas-report.rep-weekly [style*="border:1px solid #1e293b"]{border-color:#d8d8d8 !important}
.atlas-report.rep-weekly [style*="color:#a78bfa"],.atlas-report.rep-weekly [style*="color:#c4b5fd"]{color:#0a0a0a !important}
.atlas-report.rep-weekly [style*="border-left:3px solid #a78bfa"],.atlas-report.rep-weekly [style*="border-left:4px solid #a78bfa"]{border-left-color:#0a0a0a !important}

/* ---- Reports page viewer (/reports/view, 2026-11-07): every report the Reports page opens, html.rep-view ---- */
:root.atlas-report.rep-view::before{position:relative;z-index:2147483000}
:root.atlas-report.rep-view:has(.eth-mailband)::before{display:none}
/* Tenant and Performance snapshots: the performance family keeps its colours in --card / --card2 */
:root.atlas-report.rep-tenant{--card:#ffffff;--card2:#f4f4f4}
.atlas-report.rep-tenant .kpi{background:#fff;border:0 !important;border-top:2px solid #0a0a0a !important}
.atlas-report.rep-tenant .watch-card{background:#fff;border:0 !important;border-top:2px solid #c27400 !important}
.atlas-report.rep-tenant .note{background:#f4f4f4;border:0 !important;border-left:5px solid #0a0a0a !important}
.atlas-report.rep-tenant .note.warn2{border-left-color:#c27400 !important}
/* SLA report: its table and tiles are coloured by class rules (the /sla-report page has the same) */
.atlas-report.rep-sla table,.atlas-report.rep-sla thead tr{background:#fff !important}
.atlas-report.rep-sla .kpi{background:#fff !important;border-top:2px solid #0a0a0a}
.atlas-report.rep-sla h1{color:#0a0a0a !important}
.atlas-report.rep-sla .sub,.atlas-report.rep-sla .kpi-lbl{color:#5f5f5f !important}

@media print{ .atlas-report body::before,:root.atlas-report.rep-view::before{display:none} }
