/* ============================================================================
   operating-map.css: The governance operating map.
   Loads on top of tokens.css + site.css.

   PORTED FROM the Claude Design project, `ui_kits/poster/index.html`, whose
   styles are in a single inline <style> block. Values are transcribed verbatim.

   Two additions, both because the kit is a fixed 1200px print artifact and
   this is a web page:
     - .poster-frame scrolls horizontally below 1200px rather than reflowing.
       The poster is a designed canvas; reflowing it would break the three
       column structure the brief specifies. A note above it says so.
     - Print rules, so the page still produces the print master.
   ============================================================================ */

.poster-frame {
  background: #E3E8EF;
  padding: 40px 0;
  overflow-x: auto;
}

.poster {
  width: 1200px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 56px 56px 40px;
  font-family: var(--font-sans);
  color: var(--deep-ink);
}

/* ---- Title block ---- */
.poster .top { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid var(--gov-navy); padding-bottom: 24px; }
.poster .title { font-size: 42px; font-weight: 500; color: var(--gov-navy); line-height: 1.05; letter-spacing: -.015em; margin: 0; white-space: nowrap; }
.poster .subtitle { font-size: 18px; color: var(--slate); margin: 12px 0 0; font-weight: 400; }
.poster .subtitle b { color: var(--signal-blue); font-weight: 500; }
.poster .brandlock { display: flex; align-items: center; gap: 11px; margin-top: 4px; }
.poster .brandlock svg { width: 30px; height: 30px; flex: none; }
.poster .brandlock span { font-family: var(--font-sans); font-weight: 500; font-size: 23px; letter-spacing: -.015em; color: var(--gov-navy); }

/* ---- Flow legend ---- */
.poster .legend { display: flex; gap: 36px; padding: 18px 0 28px; flex-wrap: wrap; }
.poster .lg { display: flex; align-items: center; gap: 10px; }
.poster .lg .nm { font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; color: var(--gov-navy); }
.poster .lg .ds { font-size: 11px; color: var(--slate); }

/* ---- Main grid ---- */
.poster .main { display: grid; grid-template-columns: 236px 1fr 250px; gap: 28px; align-items: start; }
.poster .panel-h { font-size: 15px; font-weight: 500; color: var(--gov-navy); border-top: 2px solid var(--gov-navy); padding-top: 9px; margin-bottom: 16px; display: block; }

/* Left panel */
.poster .src { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px dotted var(--hairline); }
.poster .src:first-of-type { border-top: 1px dotted var(--hairline); }
.poster .src i { color: var(--gov-navy); flex: none; margin-top: 1px; }
.poster .src i svg { width: 17px; height: 17px; stroke-width: 1.6; }
.poster .src .nm { font-size: 13px; font-weight: 500; color: var(--deep-ink); line-height: 1.25; }
.poster .src .ds { font-size: 11px; color: var(--slate); line-height: 1.3; margin-top: 2px; }
.poster .panel-foot { font-size: 12px; color: var(--slate); line-height: 1.45; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hairline); }

/* Center pipeline */
.poster .pipe { display: flex; flex-direction: column; gap: 0; }
.poster .stage { background: var(--card); border: 1px solid var(--hairline); border-radius: 6px; padding: 20px 22px; display: flex; gap: 18px; }
.poster .stage .num { font-family: var(--font-mono); font-weight: 500; font-size: 38px; color: var(--gov-navy); line-height: .85; font-variant-numeric: tabular-nums; flex: none; width: 52px; }
.poster .stage .ic { flex: none; color: var(--signal-blue); margin-top: 2px; }
.poster .stage .ic svg { width: 24px; height: 24px; stroke-width: 1.6; }
.poster .stage .body { flex: 1; }
.poster .stage .ttl { font-size: 19px; font-weight: 500; color: var(--gov-navy); letter-spacing: .005em; }
.poster .stage .sub { font-size: 13px; color: var(--slate); margin: 2px 0 11px; }
.poster .stage ul { margin: 0; padding: 0; list-style: none; }
.poster .stage li { font-size: 12.5px; color: var(--deep-ink); line-height: 1.5; padding-left: 15px; position: relative; }
.poster .stage li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; background: var(--signal-blue); border-radius: 1px; }
.poster .stage .pq { flex: none; width: 176px; align-self: flex-start; background: var(--sky-wash); border-radius: 4px; padding: 13px 15px; font-family: var(--font-serif); font-size: 13.5px; line-height: 1.4; color: var(--deep-ink); }
.poster .conn { display: flex; justify-content: center; align-items: center; height: 26px; }
.poster .conn svg { display: block; }

/* Right panels */
.poster .rules { margin: 0; padding: 0; list-style: none; counter-reset: r; }
.poster .rules li { counter-increment: r; display: flex; gap: 11px; padding: 9px 0; border-bottom: 1px dotted var(--hairline); font-size: 12.5px; line-height: 1.4; color: var(--deep-ink); }
.poster .rules li:last-child { border-bottom: none; }
.poster .rules li::before { content: counter(r); font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--signal-blue); flex: none; width: 16px; }
.poster .rblock { margin-bottom: 30px; }
.poster .audit { margin: 0; padding: 0; list-style: none; counter-reset: q; }
.poster .audit li { counter-increment: q; display: flex; gap: 11px; padding: 9px 0; border-bottom: 1px dotted var(--hairline); font-size: 12px; line-height: 1.4; color: var(--deep-ink); }
.poster .audit li:last-child { border-bottom: none; }
.poster .audit li::before { content: counter(q, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--signal-blue); flex: none; width: 18px; padding-top: 1px; }

/* ---- Bottom strip: compounding ---- */
.poster .strip { margin-top: 36px; background: var(--card); border: 1px solid var(--hairline); border-radius: 8px; padding: 26px 28px; }
.poster .strip-h { text-align: center; font-size: 17px; font-weight: 500; color: var(--gov-navy); margin: 0 0 22px; }
.poster .benefits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.poster .ben { text-align: center; }
.poster .ben .ic { color: var(--verified-teal); height: 24px; margin-bottom: 9px; }
.poster .ben .ic svg { width: 23px; height: 23px; stroke-width: 1.6; }
.poster .ben .t { font-size: 12.5px; font-weight: 500; color: var(--gov-navy); line-height: 1.25; }
.poster .ben .d { font-size: 11px; color: var(--slate); line-height: 1.35; margin-top: 5px; }

/* ---- Broken vs working ---- */
.poster .compare { margin-top: 28px; border: 1px solid var(--hairline); border-radius: 8px; padding: 24px 28px; background: var(--paper); }
.poster .compare-h { font-size: 15px; font-weight: 500; color: var(--gov-navy); text-align: center; margin: 0 0 20px; border-bottom: 1px solid var(--hairline); padding-bottom: 14px; }
.poster .crow { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.poster .crow:last-child { margin-bottom: 0; }
.poster .crow .lab { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; width: 78px; flex: none; }
.poster .crow .node { font-size: 12px; padding: 7px 12px; border: 1px solid var(--hairline); border-radius: 4px; background: var(--card); display: flex; align-items: center; gap: 7px; }
.poster .crow .node i svg { width: 15px; height: 15px; stroke-width: 1.6; }
.poster .broken .lab { color: var(--slate); }
.poster .broken .node { color: var(--slate); border-style: dashed; background: transparent; }
.poster .broken .node i { color: var(--slate); }
.poster .broken .arr { color: var(--slate); }
.poster .working .lab { color: var(--signal-blue); }
.poster .working .node { color: var(--deep-ink); }
.poster .working .node i { color: var(--signal-blue); }
.poster .working .node.ok { color: var(--verified-teal); border-color: color-mix(in srgb, var(--verified-teal) 35%, var(--paper)); }
.poster .working .node.ok i { color: var(--verified-teal); }
.poster .working .arr { color: var(--signal-blue); }
.poster .arr { font-size: 14px; }

/* ---- Principles ---- */
.poster .principles { text-align: center; font-size: 13px; color: var(--gov-navy); line-height: 1.9; margin: 30px 0 22px; padding: 0 20px; }
.poster .principles .dot { color: var(--signal-blue); margin: 0 9px; }
.poster .principles b { font-weight: 500; }

/* ---- Footer ---- */
.poster .foot { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid var(--gov-navy); padding-top: 16px; }
.poster .foot .wm { font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--gov-navy); }
.poster .foot .wm .ai { color: var(--signal-blue); }
.poster .foot .meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .07em; color: var(--slate); }

/* ---- Page chrome around the poster (new) ---- */
.map-intro { padding: 48px 0 24px; }
.map-intro h1 { font-size: 38px; font-weight: 500; color: var(--gov-navy); line-height: 1.1; letter-spacing: -.02em; margin: 12px 0 0; }
.map-intro p { font-size: 17px; color: var(--slate); line-height: 1.55; max-width: 60ch; margin: 16px 0 0; }
.map-intro .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.map-hint { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; color: var(--slate); margin: 0 0 12px; }

@media (max-width: 1240px) {
  .poster-frame { padding: 24px 0; }
}
@media (max-width: 560px) {
  .map-intro { padding: 32px 0 20px; }
  .map-intro h1 { font-size: 28px; }
  .map-intro .actions .cl-btn { width: 100%; }
}

@media print {
  @page { size: 1200px 1600px; margin: 0; }
  .cl-nav, .map-intro, .cl-footer, .skip-link { display: none !important; }
  .poster-frame { background: #fff; padding: 0; overflow: visible; }
  .poster { border: 0; }
}
