  /* ---------- Shared ---------- */
  :root {
    --obsidian: #0a0c10;
    --ink: #11151c;
    --muted: #5b6472;
    --line: #d8dde4;
    --cyan: #00c8d7;      /* print-safe variant of tactical cyan #00f0ff */
    --cyan-bright: #00f0ff;
    --eaws-1: #ccff66;
    --eaws-2: #ffff00;
    --eaws-3: #ff9900;
    --eaws-4: #ff0000;
    --eaws-5: #000000;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background: #6b7280;
    color: var(--ink);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  @page { size: A4 portrait; margin: 0; }

  .toolbar {
    position: sticky; top: 0; z-index: 10;
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding: 12px 16px; background: #1f2430; color: #fff; font-size: 14px;
  }
  .toolbar strong { margin-right: 8px; }
  .toolbar a { color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); }
  .toolbar a:hover { background: rgba(255,255,255,.2); }
  .toolbar button { margin-left: auto; padding: 6px 14px; border-radius: 999px; border: 0; background: #fff; font-weight: 600; cursor: pointer; }

  .sheet-wrap { padding: 32px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .sheet-label { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .02em; width: 210mm; max-width: 100%; }
  .sheet-label span { font-weight: 400; opacity: .8; }
  .sheet {
    width: 210mm; height: 297mm; position: relative; overflow: hidden;
    background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.35);
    transform-origin: top center;
  }
  @media screen and (max-width: 840px) {
    .sheet { zoom: .45; }
  }
  @media print {
    body { background: none; }
    .toolbar, .sheet-label { display: none; }
    .sheet-wrap { padding: 0; gap: 0; }
    .sheet { box-shadow: none; page-break-after: always; break-after: page; zoom: 1; }
    body.print-one .sheet-wrap:not(.print-target) { display: none; }
  }

  /* QR placeholder */
  .qr { position: relative; background: #fff; display: grid; place-items: center; }
  .qr svg { width: 100%; height: 100%; display: block; }
  .qr .qr-tag {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
    background: #fff; padding: 2mm 3mm; border-radius: 2mm;
    font: 700 9pt "JetBrains Mono", monospace; letter-spacing: .08em; color: #c0262d;
    border: .4mm dashed #c0262d; white-space: nowrap;
  }
  .qr .qr-logo {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
    width: 22%; aspect-ratio: 1; border-radius: 22%; overflow: hidden;
    border: 1.6mm solid #fff; background: #000;
  }
  .qr .qr-logo img { width: 100%; height: 100%; display: block; }

  .app-badge { display: inline-flex; align-items: center; gap: 3mm; flex: none; white-space: nowrap; }
  .app-badge img { width: 12mm; height: 12mm; border-radius: 2.7mm; display: block; }
  .app-badge b { display: block; font-size: 14pt; font-weight: 800; letter-spacing: -.01em; }
  .app-badge small { display: block; font-size: 8pt; color: var(--muted); font-weight: 500; }

  .resort-slot {
    border: .4mm dashed currentColor; border-radius: 2mm; opacity: .55;
    display: grid; place-items: center; text-align: center;
    font: 600 8pt "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase;
  }

  .eaws-strip { display: flex; }
  .eaws-strip div { flex: 1; text-align: center; font-weight: 800; }

  /* =========================================================
     A — "Bulletin Board" (dark, app-native)
     ========================================================= */
  .a { background: var(--obsidian); color: #fff; padding: 16mm 16mm 0; display: flex; flex-direction: column; }
  .a .top { display: flex; justify-content: space-between; align-items: flex-start; }
  .a .resort-slot { width: 46mm; height: 16mm; color: #fff; }
  .a .live { display: inline-flex; align-items: center; gap: 2mm; font: 700 9pt "JetBrains Mono", monospace; letter-spacing: .14em; color: var(--cyan-bright); }
  .a .live i { width: 2.6mm; height: 2.6mm; border-radius: 50%; background: var(--cyan-bright); box-shadow: 0 0 0 1.2mm rgba(0,240,255,.2); }
  .a h1 { margin-top: 14mm; font-size: 40pt; line-height: 1.02; font-weight: 900; letter-spacing: -.03em; }
  .a h1 em { font-style: normal; color: var(--cyan-bright); }
  .a .sub { margin-top: 4mm; font-size: 14pt; color: rgba(255,255,255,.65); font-weight: 500; }
  .a .center { margin-top: 12mm; display: flex; gap: 10mm; align-items: center; }
  .a .qr { width: 92mm; height: 92mm; border-radius: 5mm; padding: 5mm; flex: none; }
  .a .bullets { list-style: none; display: grid; gap: 5mm; }
  .a .bullets li { display: grid; grid-template-columns: 8mm 1fr; gap: 3mm; font-size: 12pt; line-height: 1.3; }
  .a .bullets li b { display: block; font-size: 13pt; }
  .a .bullets li span { color: rgba(255,255,255,.6); font-size: 10pt; }
  .a .bullets .ic { width: 8mm; height: 8mm; border-radius: 2mm; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 11pt; }
  .a .scan { margin-top: 8mm; display: flex; align-items: center; gap: 3mm; font-size: 13pt; font-weight: 700; }
  .a .scan .arrow { font-size: 18pt; color: var(--cyan-bright); }
  .a .disclosure {
    margin-top: auto; margin-left: -16mm; margin-right: -16mm;
    background: rgba(255,255,255,.06); border-top: .3mm solid rgba(255,255,255,.15);
    padding: 7mm 16mm; display: flex; align-items: center; gap: 6mm;
  }
  .a .disclosure .app-badge small { color: rgba(255,255,255,.55); }
  .a .disclosure p { font-size: 9pt; line-height: 1.45; color: rgba(255,255,255,.7); }
  .a .disclosure p b { color: #fff; }
  .a .eaws-strip { margin: 0 -16mm; height: 7mm; font-size: 9pt; line-height: 7mm; }

  /* =========================================================
     B — "Swiss Notice" (white, ink-light, official)
     ========================================================= */
  .b { padding: 18mm; display: flex; flex-direction: column; }
  .b .rule { height: 3mm; background: var(--ink); margin: -18mm -18mm 14mm; }
  .b .head { display: flex; justify-content: space-between; align-items: center; }
  .b .resort-slot { width: 50mm; height: 18mm; color: var(--ink); }
  .b .date { font: 500 9pt "JetBrains Mono", monospace; color: var(--muted); text-align: right; line-height: 1.6; }
  .b .kicker { margin-top: 16mm; font: 700 10pt "JetBrains Mono", monospace; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
  .b h1 { margin-top: 3mm; font-size: 46pt; line-height: 1; font-weight: 900; letter-spacing: -.035em; }
  .b h2 { margin-top: 4mm; font-size: 18pt; line-height: 1.15; font-weight: 500; color: var(--muted); letter-spacing: -.01em; }
  .b .main { margin-top: 14mm; display: grid; grid-template-columns: 100mm 1fr; gap: 10mm; align-items: start; }
  .b .qr { width: 100mm; height: 100mm; border: .6mm solid var(--ink); padding: 5mm; }
  .b .steps { list-style: none; counter-reset: s; display: grid; gap: 7mm; padding-top: 2mm; }
  .b .steps li { counter-increment: s; font-size: 12pt; line-height: 1.3; }
  .b .steps li::before { content: counter(s); display: block; font: 900 26pt "Inter"; line-height: 1; margin-bottom: 1.5mm; }
  .b .steps li span { display: block; color: var(--muted); font-size: 9.5pt; margin-top: 1mm; }
  .b .what { margin-top: 12mm; display: grid; grid-template-columns: repeat(3, 1fr); border-top: .4mm solid var(--ink); }
  .b .what div { padding: 4mm 4mm 0 0; font-size: 10pt; line-height: 1.35; }
  .b .what div b { display: block; font-size: 11pt; margin-bottom: 1mm; }
  .b .foot { margin-top: auto; display: flex; gap: 6mm; align-items: center; padding-top: 6mm; border-top: .3mm solid var(--line); }
  .b .foot p { font-size: 8.5pt; line-height: 1.45; color: var(--muted); }
  .b .foot p b { color: var(--ink); }

  /* =========================================================
     C — "See what opens" (phone + App Clip card, transparency-first)
     ========================================================= */
  .c { background: linear-gradient(180deg, #eaf6fb 0%, #ffffff 55%); padding: 16mm; display: flex; flex-direction: column; }
  .c .head { display: flex; justify-content: space-between; align-items: center; }
  .c .resort-slot { width: 46mm; height: 16mm; color: var(--ink); }
  .c h1 { margin-top: 12mm; font-size: 36pt; line-height: 1.05; font-weight: 900; letter-spacing: -.03em; }
  .c .sub { margin-top: 3mm; font-size: 13pt; color: var(--muted); }
  .c .flow { margin-top: 12mm; display: grid; grid-template-columns: 82mm 18mm 1fr; align-items: center; }
  .c .qr { width: 82mm; height: 82mm; border-radius: 6mm; padding: 5mm; box-shadow: 0 0 0 .5mm var(--line), 0 4mm 10mm rgba(0,0,0,.06); }
  .c .to { text-align: center; font-size: 22pt; color: var(--cyan); font-weight: 800; }
  .c .phone {
    width: 62mm; height: 128mm; border-radius: 10mm; background: #111; padding: 2.2mm; justify-self: center;
    box-shadow: 0 6mm 14mm rgba(0,0,0,.18);
  }
  .c .screen { width: 100%; height: 100%; border-radius: 8mm; overflow: hidden; position: relative;
    background: linear-gradient(160deg, #2b3a4a, #0f1720 70%); }
  .c .shot { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
  .c .island { position: absolute; top: 2.5mm; left: 50%; transform: translateX(-50%); width: 18mm; height: 5mm; background: #000; border-radius: 3mm; }
  .c .clip-card { position: absolute; left: 1.6mm; right: 1.6mm; bottom: 1.6mm; background: #fff; border-radius: 6mm; overflow: hidden; }
  .c .clip-hero { height: 30mm; background:
      linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35)),
      linear-gradient(135deg, #ff9900 0 25%, #ffff00 25% 50%, #ccff66 50% 75%, #8fd3ff 75%);
    position: relative; }
  .c .clip-hero span { position: absolute; left: 3mm; bottom: 2.5mm; color: #fff; font-weight: 800; font-size: 8pt; }
  .c .clip-body { padding: 3mm; }
  .c .clip-body b { display: block; font-size: 9pt; }
  .c .clip-body small { display: block; font-size: 6.5pt; color: var(--muted); margin-top: .6mm; }
  .c .clip-open { margin-top: 2.5mm; background: #0a84ff; color: #fff; border-radius: 2.2mm; text-align: center; font-weight: 700; font-size: 8pt; padding: 1.8mm 0; }
  .c .clip-meta { margin-top: 2mm; display: flex; align-items: center; gap: 1.5mm; font-size: 5.5pt; color: var(--muted); }
  .c .clip-meta img { width: 3.5mm; height: 3.5mm; border-radius: .9mm; }
  .c .callouts { margin-top: 10mm; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5mm; }
  .c .callouts div { background: #fff; border: .3mm solid var(--line); border-radius: 3mm; padding: 4mm; font-size: 9.5pt; line-height: 1.35; }
  .c .callouts b { display: block; font-size: 11pt; margin-bottom: 1mm; }
  .c .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6mm; }
  .c .foot p { font-size: 8pt; color: var(--muted); line-height: 1.45; max-width: 105mm; text-align: right; }

  /* =========================================================
     D — "Danger-scale poster" (EAWS colour as hero, co-branded)
     ========================================================= */
  .d { display: flex; flex-direction: column; }
  .d .bands { display: grid; grid-template-columns: repeat(5, 1fr); height: 64mm; }
  .d .bands div { display: flex; flex-direction: column; justify-content: flex-end; padding: 4mm; }
  .d .bands b { font-size: 34pt; line-height: 1; font-weight: 900; }
  .d .bands small { font-size: 8pt; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: 1mm; }
  .d .bands div:nth-child(1) { background: var(--eaws-1); }
  .d .bands div:nth-child(2) { background: var(--eaws-2); }
  .d .bands div:nth-child(3) { background: var(--eaws-3); }
  .d .bands div:nth-child(4) { background: var(--eaws-4); color: #fff; }
  .d .bands div:nth-child(5) { background:
      repeating-conic-gradient(#000 0 25%, #ff0000 0 50%) 0 0 / 7mm 7mm; color: #fff; }
  .d .bands div:nth-child(5) b, .d .bands div:nth-child(5) small { background: #000; padding: 0 1mm; align-self: flex-start; }
  .d .body { flex: 1; padding: 12mm 16mm 0; display: flex; flex-direction: column; }
  .d .cobrand { display: flex; align-items: center; gap: 5mm; }
  .d .cobrand .x { font-size: 16pt; color: var(--muted); font-weight: 300; }
  .d .resort-slot { width: 44mm; height: 14mm; color: var(--ink); }
  .d h1 { margin-top: 9mm; font-size: 34pt; font-weight: 900; line-height: 1.04; letter-spacing: -.03em; }
  .d .sub { margin-top: 3mm; font-size: 12pt; color: var(--muted); max-width: 150mm; }
  .d .main { margin-top: 10mm; display: grid; grid-template-columns: 1fr 88mm; gap: 10mm; align-items: center; }
  .d .qr { width: 88mm; height: 88mm; padding: 4mm; border-radius: 4mm; border: 1.2mm solid var(--ink); }
  .d .today { display: grid; gap: 3.5mm; }
  .d .row { display: grid; grid-template-columns: 9mm 1fr; gap: 3mm; align-items: center; font-size: 11pt; }
  .d .row .sw { width: 9mm; height: 9mm; border-radius: 2mm; display: grid; place-items: center; font-size: 12pt; background: #f1f3f6; }
  .d .row span { display: block; color: var(--muted); font-size: 8.5pt; }
  .d .scan-cta { margin-top: 5mm; font-size: 15pt; font-weight: 800; }
  .d .foot { margin-top: auto; background: var(--ink); color: #fff; margin-left: -16mm; margin-right: -16mm; padding: 6mm 16mm; display: flex; gap: 6mm; align-items: center; }
  .d .foot .app-badge small { color: rgba(255,255,255,.6); }
  .d .foot p { font-size: 8.5pt; line-height: 1.45; color: rgba(255,255,255,.75); }
  .d .foot p b { color: #fff; }
