*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blue: #005EB8; --blue-dark: #003F7F; --blue-mid: #1A7AD4; --blue-light: #E6F2FB;
    --yellow: #FFC72C; --yellow-dark: #D4A000; --red: #C0392B; --green: #1E7D47;
    --green-light: #EDFAF3; --teal: #0D7377; --teal-light: #E0F5F5;
    --gray-900: #111827; --gray-700: #374151; --gray-500: #6B7280;
    --gray-300: #D1D5DB; --gray-100: #F3F4F6; --gray-50: #F9FAFB; --white: #ffffff;
  }

  @page { size: A4 landscape; margin: 0; }

  body {
    font-family: 'DM Sans', sans-serif; background: var(--white);
    color: var(--gray-900); font-size: 11px; line-height: 1.5;
    width: 297mm; min-height: 210mm; margin: 0 auto; overflow-x: hidden;
  }

  /* ── HEADER ── */
  .header { background: var(--blue-dark); color: white; padding: 18px 32px 0; position: relative; overflow: hidden; }
  .header::before { content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(-45deg, transparent, transparent 24px, rgba(255,255,255,0.025) 24px, rgba(255,255,255,0.025) 25px); }
  .header-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
  .header-left { flex: 1; padding-bottom: 16px; }
  .header-eyebrow { font-size: 8.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 5px; }
  .header-title { font-family: 'DM Serif Display', serif; font-size: 24px; line-height: 1.15; color: white; margin-bottom: 4px; }
  .header-title em { font-style: italic; color: var(--yellow); }
  .header-sub { font-size: 9.5px; color: rgba(255,255,255,0.6); font-weight: 300; }
  .header-kpi-strip { display: flex; gap: 2px; align-items: stretch; }
  .kpi-block { background: rgba(255,255,255,0.08); border-top: 2px solid rgba(255,255,255,0.12); padding: 12px 16px; text-align: center; min-width: 76px; }
  .kpi-block.accent { background: var(--yellow); border-top-color: var(--yellow-dark); }
  .kpi-block.accent .kpi-val { color: var(--blue-dark); }
  .kpi-block.accent .kpi-lbl { color: var(--blue-dark); opacity: .75; }
  .kpi-val { font-family: 'DM Serif Display', serif; font-size: 26px; line-height: 1; color: white; display: block; }
  .kpi-lbl { font-size: 8px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 3px; display: block; font-weight: 400; }

  /* ── SECTION DIVIDERS ── */
  .section-rule { height: 5px; display: flex; }
  .section-rule.ss4a { background: linear-gradient(90deg, #1E7D47 0%, #27AE60 100%); }
  .section-rule.hsip { background: linear-gradient(90deg, #003F7F 0%, #005EB8 100%); }

  /* ── SECTION HEADER BAND ── */
  .section-band { padding: 8px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .section-band.ss4a { background: linear-gradient(90deg, #1E7D47, #27AE60); }
  .section-band.hsip { background: linear-gradient(90deg, #003F7F, #005EB8); }
  .section-band-left { display: flex; align-items: center; gap: 12px; }
  .section-icon { width: 32px; height: 32px; background: rgba(255,255,255,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
  .section-label { font-family: 'DM Serif Display', serif; font-size: 15px; color: white; font-weight: 400; }
  .section-sub { font-size: 9px; color: rgba(255,255,255,0.7); margin-top: 1px; }
  .section-deadline { font-size: 9px; font-weight: 700; padding: 4px 12px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
  .section-deadline.urgent { background: var(--yellow); color: var(--blue-dark); }
  .section-deadline.standard { background: rgba(255,255,255,0.2); color: white; border: 1px solid rgba(255,255,255,0.3); }
  .section-kpis { display: flex; gap: 16px; }
  .sband-kpi { text-align: center; }
  .sband-kpi-val { font-family: 'DM Serif Display', serif; font-size: 18px; color: white; line-height: 1; }
  .sband-kpi-lbl { font-size: 7.5px; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: .05em; }

  /* ── BODY GRID ── */
  .body-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; }
  .col { padding: 14px 18px; border-right: 1px solid var(--gray-100); }
  .col:last-child { border-right: none; }

  /* ── COL TITLE ── */
  .col-title { font-size: 8px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue);
    padding-bottom: 7px; border-bottom: 1.5px solid var(--blue); margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
  .col-title.green { color: var(--green); border-bottom-color: var(--green); }
  .col-title::before { content: ''; width: 3px; height: 10px; background: var(--yellow); border-radius: 2px; flex-shrink: 0; }

  /* ── CARDS ── */
  .adv-card { border-left: 3px solid var(--blue); background: var(--blue-light); padding: 7px 9px; margin-bottom: 7px; border-radius: 0 4px 4px 0; }
  .adv-card.gold { border-left-color: var(--yellow-dark); background: #FFF9E8; }
  .adv-card.green { border-left-color: var(--green); background: var(--green-light); }
  .adv-card.red { border-left-color: var(--red); background: #FEF2F2; }
  .adv-title { font-weight: 600; font-size: 9.5px; color: var(--gray-900); margin-bottom: 2px; }
  .adv-body { font-size: 9px; color: var(--gray-700); line-height: 1.5; }
  .adv-body strong { color: var(--blue-dark); font-weight: 600; }

  /* WARN BOX */
  .warn-box { border: 1px solid #FECACA; border-left: 3px solid var(--red); background: #FEF2F2;
    padding: 7px 9px; border-radius: 0 4px 4px 0; margin-top: 8px; }
  .warn-title { font-size: 8.5px; font-weight: 600; color: var(--red); margin-bottom: 2px; }
  .warn-body { font-size: 8.5px; color: #7F1D1D; line-height: 1.5; }

  /* ── CORRIDOR TABLE ── */
  .ctable { width: 100%; border-collapse: collapse; font-size: 9px; }
  .ctable th { font-size: 7.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
    color: var(--gray-500); padding: 4px 5px; border-bottom: 1px solid var(--gray-300); text-align: left; }
  .ctable td { padding: 5px 5px; border-bottom: 1px solid var(--gray-100); vertical-align: top; color: var(--gray-700); }
  .ctable tr:nth-child(even) td { background: var(--gray-50); }
  .ctable tr:last-child td { border-bottom: none; }
  .corridor-name { font-weight: 600; color: var(--gray-900); font-size: 9px; }
  .rank-badge { display: inline-block; background: var(--blue); color: white; font-size: 7px; font-weight: 600;
    padding: 1px 4px; border-radius: 8px; letter-spacing: .03em; margin-left: 3px; vertical-align: middle; }
  .rank-badge.red { background: var(--red); }
  .rank-badge.green { background: var(--green); }
  .badge { display: inline-block; font-size: 7.5px; font-weight: 500; padding: 1px 4px; border-radius: 6px; line-height: 1.4; }
  .badge.bcr { background: #DBEAFE; color: #1E40AF; }
  .badge.sa-ped { background: #D1FAE5; color: #065F46; }
  .badge.sa-bike { background: #FEF3C7; color: #92400E; }
  .badge.ss4a { background: #D1FAE5; color: #065F46; }
  .badge.vru { background: #EDE9FE; color: #4C1D95; }
  .amt { font-weight: 600; color: var(--blue-dark); white-space: nowrap; font-size: 9px; }

  /* ── PROJECT CARDS ── */
  .p-card { border: 1px solid #E5E7EB; border-radius: 5px; padding: 8px 10px; background: var(--white); margin-bottom: 6px; }
  .p-card.lead { border-color: var(--green); border-width: 1.5px; background: var(--green-light); }
  .p-card.lead-blue { border-color: var(--blue); border-width: 1.5px; background: var(--blue-light); }
  .p-card-eyebrow { font-size: 7px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 2px; }
  .p-card.lead .p-card-eyebrow { color: var(--green); }
  .p-card.lead-blue .p-card-eyebrow { color: var(--blue); }
  .p-card-name { font-size: 9.5px; font-weight: 600; color: var(--gray-900); margin-bottom: 2px; line-height: 1.3; }
  .p-card-amt { font-size: 11px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
  .p-card.lead .p-card-amt { color: var(--green); }
  .p-card-body { font-size: 8.5px; color: var(--gray-700); line-height: 1.5; }
  .p-card-body strong { color: var(--blue-dark); font-weight: 600; }

  /* ── MINI STAT STRIP ── */
  .stat-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; margin-bottom: 9px; }
  .stat-cell { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 5px; padding: 5px 7px; text-align: center; }
  .stat-val { font-family: 'DM Serif Display', serif; font-size: 15px; line-height: 1.1; }
  .stat-val.red { color: var(--red); } .stat-val.green { color: var(--green); } .stat-val.blue { color: var(--blue); }
  .stat-lbl { font-size: 7.5px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; line-height: 1.3; }

  /* ── CAPABILITY LIST ── */
  .capability-list { list-style: none; }
  .capability-list li { display: flex; gap: 7px; padding: 5px 0; border-bottom: 1px solid var(--gray-100);
    font-size: 9px; color: var(--gray-700); line-height: 1.45; }
  .capability-list li:last-child { border-bottom: none; }
  .cap-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; margin-top: 1px; }
  .cap-dot.green { background: var(--green); } .cap-dot.blue { background: var(--blue); }
  .cap-dot svg { width: 8px; height: 8px; fill: none; stroke: white; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .cap-strong { font-weight: 600; color: var(--gray-900); }

  /* ── COMPARABLES ── */
  .comp-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; margin-top: 6px; }
  .comp { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 4px; padding: 6px 8px; }
  .comp-name { font-size: 8.5px; font-weight: 600; color: var(--gray-900); margin-bottom: 1px; }
  .comp-amt { font-family: 'DM Serif Display', serif; font-size: 14px; color: var(--blue); line-height: 1.2; margin-bottom: 2px; }
  .comp-note { font-size: 8px; color: var(--gray-500); line-height: 1.4; }

  /* ── MID LABEL ── */
  .mid-label { font-size: 7.5px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .08em; margin: 8px 0 5px; }

  /* ── DIVIDER ── */
  .section-sep { height: 1px; background: var(--gray-300); margin: 0; }

  /* ── TAGS ── */
  .tag-row { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 7px; }
  .tag { font-size: 7.5px; padding: 2px 6px; border-radius: 8px; font-weight: 500;
    background: var(--gray-100); color: var(--gray-700); border: 1px solid #E5E7EB; }
  .tag.blue { background: var(--blue-light); color: var(--blue-dark); border-color: #B3D4F0; }
  .tag.green { background: #D1FAE5; color: #065F46; border-color: #6EE7B7; }
  .tag.yellow { background: #FFF9E0; color: #7A5A00; border-color: #FFE082; }
  .tag.red { background: #FEE2E2; color: #991B1B; border-color: #FCA5A5; }

  /* ── FOOTER ── */
  .footer { background: var(--gray-900); color: white; padding: 9px 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .footer-left { font-size: 9px; color: rgba(255,255,255,0.7); line-height: 1.5; }
  .footer-left strong { color: white; font-weight: 600; }
  .footer-cta { display: inline-block; background: var(--yellow); color: var(--blue-dark);
    font-size: 9px; font-weight: 700; padding: 5px 14px; border-radius: 4px;
    text-decoration: none; letter-spacing: .04em; white-space: nowrap; flex-shrink: 0; }
  .footer-right { font-size: 8px; color: rgba(255,255,255,0.35); text-align: right; line-height: 1.6; max-width: 44%; }
