/*
  Networking 7 — supplemental stylesheet
  Layered on top of peters-course.css (must be linked first).

  Networking 7's pages were originally built by several different chat
  sessions and never converged on one set of class names the way the
  AOS/OSF pages did. Rather than rewrite the markup of every page, this
  file re-points the class names that already exist in the Networking 7
  HTML at the same colours, type and shapes peters-course.css defines —
  so the page looks identical to an AOS/OSF page without every div
  needing to be renamed by hand. New rules only; nothing here overrides
  peters-course.css's own classes.
*/

/* ── Block chrome aliases ─────────────────────────────────────── */
.block-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
h3.block-title, .block-title { font-family: var(--font-sub); font-size: 14px; font-weight: bold; color: var(--black95); margin: 0 0 6px; }
.block-desc { font-size: 13px; color: var(--muted); margin: 0 0 10px; line-height: 1.6; }
.tb, .time-badge { font-family: var(--font-head); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
/* Fallback for any badge/tb that never got a semantic badge-* variant (e.g. loose info chips) */
.badge:not(.badge-recap):not(.badge-lecture):not(.badge-lab):not(.badge-bonus):not(.badge-debrief):not(.badge-assess),
.tb:not(.badge-recap):not(.badge-lecture):not(.badge-lab):not(.badge-bonus):not(.badge-debrief):not(.badge-assess) {
  background: var(--lilac-light); color: var(--purple);
}
.tl, .type-label, .label, .section-label { font-family: var(--font-head); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.section-label { margin: 22px 0 10px; }

/* ── Timeline aliases (tln/ts/tl-seg/arc/arc-seg → timeline/seg) ─ */
.tln, .arc { display: flex; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.ts, .tl-seg, .arc-seg { flex: 1; padding: 8px 6px; text-align: center; font-family: var(--font-head); font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; }
/* Fallback colour for any segment that never got a semantic seg-* variant */
.ts:not([class*="seg-"]), .tl-seg:not([class*="seg-"]), .arc-seg:not([class*="seg-"]) {
  background: var(--lilac-light); color: var(--purple);
}
.trow:last-of-type .tday { background: var(--gold-light); color: #7A5C1A; }

/* ── Checklist aliases ────────────────────────────────────────── */
ul.checklist, .checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { font-size: 13px; color: var(--body-text); padding: 6px 0; display: flex; gap: 10px; align-items: flex-start; border-bottom: 1px solid #F3EFF8; line-height: 1.55; }
.checklist li:last-child { border-bottom: none; }
.cd, .check-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--lilac); flex-shrink: 0; margin-top: 2px; }

/* ── Callout aliases ──────────────────────────────────────────── */
.it, .instructor-tip { background: var(--purple-light); border-left: 3px solid var(--purple); color: var(--purple); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 10px 14px; font-size: 13px; margin-top: 12px; line-height: 1.55; }
.wt, .ut, .warning-tip { background: var(--gold-light); border-left: 3px solid var(--gold); color: #5C3D08; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 10px 14px; font-size: 13px; margin-top: 12px; line-height: 1.55; }
.bt2, .success-tip { background: var(--green-light); border-left: 3px solid var(--green); color: var(--green); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 10px 14px; font-size: 13px; margin-top: 12px; line-height: 1.55; }
.teal { background: var(--cyan-light); border-left: 3px solid var(--cyan); color: #0E5558; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 10px 14px; font-size: 13px; margin-top: 12px; line-height: 1.55; }
.danger { background: #FEE2E2; border-left: 3px solid #B91C1C; color: #B91C1C; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 10px 14px; font-size: 13px; margin-top: 12px; line-height: 1.55; }
.danger strong { color: #B91C1C; }

/* ── Outcomes / review-card aliases ───────────────────────────── */
.og, .outcome-grid, .review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin-top: 4px; }
.oc, .outcome-card, .review-card { background: var(--purple-xlight); border: 1px solid var(--lilac-light); border-top: 3px solid var(--purple); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.oc strong, .outcome-card strong, .review-card strong { display: block; font-family: var(--font-sub); font-size: 12px; color: var(--black95); margin-bottom: 3px; }

/* ── Pills / mono / points aliases ────────────────────────────── */
.dp, .domain-pill, .lp { font-family: var(--font-body); font-size: 12px; padding: 4px 10px; border-radius: 14px; background: var(--white); color: var(--purple); border: 1px solid var(--lilac); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.mo { font-family: var(--font-mono); font-size: 11px; background: var(--mono-bg); color: var(--purple); padding: 1px 5px; border-radius: 3px; border: 1px solid var(--lilac-light); }
.pts, .marks { display: inline-block; font-family: var(--font-head); font-size: 10px; font-weight: 900; letter-spacing: .04em; padding: 3px 9px; border-radius: 12px; background: var(--purple-light); color: var(--purple); }

/* ── Assessment block aliases ─────────────────────────────────── */
.assess { background: var(--card-bg); border: 1px solid var(--border); border-left: 4px solid var(--purple); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
.assess-hdr { font-family: var(--font-head); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); margin: 0 0 8px; }

/* ── Week-overview "day schedule" card aliases (grid/card/day-*) ─ */
.grid, .sites-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin-top: 10px; }
.card, .site-box { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--lilac); border-radius: var(--radius-sm); padding: 10px 12px; }
.day-badge { font-family: var(--font-head); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.day-title { font-family: var(--font-sub); font-size: 12px; color: var(--black95); font-weight: bold; margin: 0 0 4px; }
.day-sub { font-size: 11px; color: var(--muted); line-height: 1.5; margin: 0; }

/* ── Week-overview "daily breakdown" row aliases (trow/tblocks) ── */
.trow { display: flex; gap: 8px; align-items: stretch; margin-bottom: 6px; }
.tday { width: 84px; flex-shrink: 0; border-radius: var(--radius-sm); padding: 8px 8px; font-family: var(--font-head); font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; text-align: center; display: flex; flex-direction: column; justify-content: center; background: var(--purple-light); color: var(--purple); }
.tblocks { flex: 1; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tblock { border-radius: var(--radius-sm); padding: 6px 10px; font-size: 12px; font-weight: bold; background: var(--lilac-xlight); color: var(--purple); }

/* ── People / roster card aliases ─────────────────────────────── */
.users { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 12px 0; }
.user { border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px; line-height: 1.5; background: var(--purple-xlight); border: 1px solid var(--lilac-light); color: var(--muted); }
.user strong { color: var(--black95); }

/* ── Generic flow-diagram aliases (all the one-off mini diagrams) ─ */
.chain, .stack, .stack-row, .cascade, .cascade-row, .storage-flow,
.ca-flow, .ca-stack, .win32-flow, .mail-flow, .onboard-flow, .dlp-flow,
.ret-flow, .ediscovery-flow, .lifecycle, .compare, .pairing,
.env-row, .label-stack, .teams-stack, .defender-stack, .purview-stack {
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 12px 0;
}
.chain-box, .stack-box, .cascade-box, .sf, .flow-box, .ca-box, .kfm, .kfm-box,
.wbox, .mf, .of, .df, .rf, .ef, .lc-box, .tier, .tier-box, .compare-box,
.pairing-hdr, .env-box, .ls-row, .tbox, .def-box, .pbox {
  border-radius: var(--radius-sm); padding: 8px 10px; font-family: var(--font-body);
  font-size: 11px; font-weight: bold; text-align: center; flex: 1; min-width: 100px;
  line-height: 1.4; background: var(--purple-xlight); color: var(--purple);
  border: 1px solid var(--lilac-light);
}
.chain-arrow, .stack-arrow, .cascade-arrow, .ca-arr, .warr, .oarr, .darr,
.rarr, .earr {
  font-size: 16px; color: var(--lilac); flex-shrink: 0; font-weight: bold;
}

/* ── Misc labels ──────────────────────────────────────────────── */
.subtitle { font-family: var(--font-body); font-size: 13px; color: var(--lilac); margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
