/* =========================================================
   NH INCOM — Company Profile v2.0 (Redesigned)
   A4 paginated, modern design, brand navy #0A2472
   ========================================================= */

:root {
  --navy: #0a2472;
  --navy-2: #1e3a8a;
  --navy-light: #0f2e8c;
  --blue: #3b82f6;
  --blue-soft: #dbeafe;
  --muted: #4a5568;
  --ink: #1f2937;
  --bg-soft: #f8fafc;
  --bg-warm: #fafaf8;
  --border: #e5e7eb;
  --border-soft: #f0f0ee;
  --gold: #c9a961;
  --gold-light: #d4b976;
  --gold-soft: rgba(201, 169, 97, 0.12);
  --white: #ffffff;
  --page-w: 210mm;
  --page-h: 297mm;

  /* Enhanced design tokens */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --shadow-card: none;
  --shadow-elevated: none;
  --shadow-glow: none;
  --grad-navy: #0a2472;
  --grad-navy-subtle: transparent;
  --grad-gold: #c9a961;
  /* ponytail: --transition removed — print document, no animations */
}

/* ponytail: @page rules for print output */
@page {
  size: A4;
  margin: 12mm 12.5mm 11.5mm 12.5mm;

  @top-left {
    content: 'NH INCOM';
    font-family: 'Be Vietnam Pro', Inter, system-ui, sans-serif;
    font-size: 9pt;
    font-weight: 700;
    color: #0a2472;
    letter-spacing: 0.08em;
  }

  @top-right {
    content: string(chapter-title);
    font-family: 'Be Vietnam Pro', Inter, system-ui, sans-serif;
    font-size: 8.5pt;
    font-weight: 500;
    color: #4a5568;
    letter-spacing: 0.04em;
  }

  @bottom-left {
    content: 'NH INCOM Company Profile · v1.0';
    font-family: 'Be Vietnam Pro', Inter, system-ui, sans-serif;
    font-size: 8pt;
    color: #4a5568;
  }

  @bottom-right {
    content: 'Trang ' counter(page) ' / ' counter(pages);
    font-family: 'Be Vietnam Pro', Inter, system-ui, sans-serif;
    font-size: 9pt;
    font-weight: 700;
    color: #0a2472;
  }
}

@page :first {
  margin: 0;

  @top-left {
    content: none;
  }

  @top-right {
    content: none;
  }

  @bottom-left {
    content: none;
  }

  @bottom-right {
    content: none;
  }
}

@page contact-page {
  margin: 0;

  @top-left {
    content: none;
  }

  @top-right {
    content: none;
  }

  @bottom-left {
    content: none;
  }

  @bottom-right {
    content: none;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  font-family: 'Be Vietnam Pro', Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  font-size: 8.2pt;
  line-height: 1.5;
  text-align: left;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
}

/* ============================================================
   SCREEN-ONLY A4 LAYOUT
   ============================================================ */
@media screen {
  html {
    background: linear-gradient(135deg, #e8ecf4 0%, #dde3ee 50%, #e2e8f0 100%);
  }

  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 28px;
    background: transparent;
  }

  section.page {
    width: var(--page-w);
    min-height: var(--page-h);
    background: #fff;
    box-shadow: 0 2px 12px rgba(10, 36, 114, 0.08), 0 8px 32px rgba(10, 36, 114, 0.06);
    padding: 14mm 12.5mm 16mm 12.5mm;
    position: relative;
    overflow: hidden;
    break-before: auto !important;
  }

  /* Cover + contact: full-bleed */
  section.page.cover-section,
  section.page.contact-section,
  section.page:last-child {
    padding: 0;
  }

  /* Header bar: removed */
  section.page::before {
    display: none !important;
  }

  /* Footer: page number only */
  section.page::after {
    content: var(--page-num, '');
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 2mm 12.5mm;
    font-family: 'Be Vietnam Pro', Inter, system-ui, sans-serif;
    font-size: 7.5pt;
    font-weight: 600;
    color: var(--muted);
    z-index: 10;
    letter-spacing: 0.03em;
  }

  /* Cover + contact: no footer */
  section.page.cover-section::after,
  section.page.contact-section::after,
  section.page:last-child::after {
    display: none !important;
  }
}

@media print {
  section.page {
    break-before: page;
  }

  section.page:first-child {
    break-before: auto;
  }
}

/* ============================================================
   TYPOGRAPHY — Refined hierarchy & Unified Scale
   ============================================================ */
h1,
h2,
h3,
h4 {
  font-family: 'Be Vietnam Pro', Inter, system-ui, sans-serif;
  color: var(--navy);
  margin: 0 0 3mm 0;
  line-height: 1.2;
}

p {
  margin: 0 0 2mm 0;
  font-size: 8.2pt;
  /* Unified standard body size */
  line-height: 1.5;
}

h1.page-title {
  font-size: 15pt;
  /* Unified heading size */
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.6mm 0;
  string-set: chapter-title content();
  position: relative;
}

.page-title-en {
  font-size: 8pt;
  /* Unified en subtitle */
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}

.title-rule {
  width: 40mm;
  height: 3px;
  background: var(--grad-gold);
  margin: 2mm 0 4mm 0;
  border: 0;
  border-radius: 2px;
}

.lead {
  font-size: 9pt;
  /* Unified lead paragraph size */
  color: var(--muted);
  margin-bottom: 3mm;
  line-height: 1.5;
}

/* ============================================================
   PAGE WRAPPERS & THEMES (Dynamic Page Rhythm)
   ============================================================ */
section.page {
  break-before: page;
}

section.page:first-child {
  break-before: auto;
}

/* 1. DARK THEME PAGES (Premium Navy/Gold High-Contrast) */
section.page.page-dark {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1000' height='20' viewBox='0 0 1000 20'><path d='M0 10 L150 10 L160 16 L320 16 L330 4 L480 4 L490 10 L750 10 L760 4 L900 4 L910 10 L1000 10' fill='none' stroke='%23c9a961' stroke-width='1.2' opacity='0.25'/><circle cx='150' cy='10' r='1.5' fill='%23ffffff' opacity='0.4'/><circle cx='320' cy='16' r='1.5' fill='%23c9a961' opacity='0.4'/><circle cx='480' cy='4' r='1.5' fill='%23ffffff' opacity='0.4'/><circle cx='750' cy='10' r='1.5' fill='%23c9a961' opacity='0.4'/><circle cx='900' cy='4' r='1.5' fill='%23ffffff' opacity='0.4'/></svg>") no-repeat bottom center,
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 100 100'><path d='M0 10 L20 10 L30 20 L30 50 L50 70 L80 70 L90 80 L100 80' fill='none' stroke='%23c9a961' stroke-width='0.4' opacity='0.12'/><circle cx='20' cy='10' r='1.0' fill='%23c9a961' opacity='0.2'/><circle cx='50' cy='70' r='1.0' fill='%23c9a961' opacity='0.2'/><circle cx='90' cy='80' r='1.0' fill='%23c9a961' opacity='0.2'/><path d='M10 0 L10 30 L20 40 L50 40 L60 50 L60 90 L70 100' fill='none' stroke='%23c9a961' stroke-width='0.4' opacity='0.08'/><circle cx='20' cy='40' r='1.0' fill='%23c9a961' opacity='0.15'/></svg>") no-repeat bottom right,
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 100 100'><path d='M100 90 L80 90 L70 80 L70 50 L50 30 L20 30 L10 20 L0 20' fill='none' stroke='%23c9a961' stroke-width='0.4' opacity='0.12'/><circle cx='80' cy='90' r='1.0' fill='%23c9a961' opacity='0.2'/><circle cx='50' cy='30' r='1.0' fill='%23c9a961' opacity='0.2'/><circle cx='10' cy='20' r='1.0' fill='%23c9a961' opacity='0.2'/></svg>") no-repeat top left,
    linear-gradient(135deg, #05143b 0%, #0a2472 50%, #030d29 100%) !important;
  background-size: 100% 8mm, 80mm 80mm, 80mm 80mm, 100% 100% !important;
  color: #f1f5f9 !important;
}

section.page.page-dark h1.page-title,
section.page.page-dark h2,
section.page.page-dark h3,
section.page.page-dark h4,
section.page.page-dark .sub-h {
  color: #ffffff !important;
}

section.page.page-dark .sub-h {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, rgba(201, 169, 97, 0.04) 50%, transparent 100%) !important;
  border-left-color: #ffffff !important;
}

section.page.page-dark .sub-h::after {
  background: var(--gold) !important;
}

section.page.page-dark p {
  color: #cbd5e1 !important;
}

section.page.page-dark .page-title-en,
section.page.page-dark .sub-h-en,
section.page.page-dark .card-title-en {
  color: #94a3b8 !important;
}

section.page.page-dark .title-rule {
  background: var(--grad-gold) !important;
}

/* Cards on dark pages: glassmorphism */
section.page.page-dark .card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-left: 3px solid var(--gold) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
  color: #f1f5f9 !important;
}

section.page.page-dark .card-title {
  color: #ffffff !important;
}

section.page.page-dark .card-num {
  color: var(--gold) !important;
}

section.page.page-dark .card-body {
  color: #cbd5e1 !important;
}

/* Lists on dark pages */
section.page.page-dark ul.bullet li {
  color: #cbd5e1 !important;
}

section.page.page-dark ul.bullet li::before {
  background: var(--gold) !important;
}

/* Accent/Soft boxes on dark pages */
section.page.page-dark .accent-box {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

section.page.page-dark .soft-box {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Footer counter on dark pages */
section.page.page-dark::after {
  color: #94a3b8 !important;
}

/* 2. LIGHT ACCENT THEME PAGES (Modern Slate/Blue-Gray with Running Sidebar) */
section.page.page-light-accent {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1000' height='20' viewBox='0 0 1000 20'><path d='M0 10 L150 10 L160 16 L320 16 L330 4 L480 4 L490 10 L750 10 L760 4 L900 4 L910 10 L1000 10' fill='none' stroke='%230a2472' stroke-width='1.2' opacity='0.08'/><circle cx='150' cy='10' r='1.5' fill='%23c9a961' opacity='0.2'/><circle cx='320' cy='16' r='1.5' fill='%230a2472' opacity='0.2'/><circle cx='480' cy='4' r='1.5' fill='%23c9a961' opacity='0.2'/><circle cx='750' cy='10' r='1.5' fill='%230a2472' opacity='0.2'/><circle cx='900' cy='4' r='1.5' fill='%23c9a961' opacity='0.2'/></svg>") no-repeat bottom center,
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='600' viewBox='0 0 50 150'><path d='M 0,20 L 15,20 L 25,30 L 25,60 L 35,70 L 35,110 L 0,110' fill='none' stroke='%230a2472' stroke-width='0.3' opacity='0.04'/><circle cx='15' cy='20' r='1.0' fill='%230a2472' opacity='0.06'/><circle cx='25' cy='60' r='1.0' fill='%230a2472' opacity='0.06'/><circle cx='35' cy='110' r='1.0' fill='%230a2472' opacity='0.06'/></svg>") no-repeat top left,
    linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
  background-size: 100% 8mm, 45mm 135mm, 100% 100% !important;
  padding-left: 20mm !important;
}

/* Running sidebar ornament */
section.page.page-light-accent::before {
  display: block !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 4mm !important;
  background: var(--navy) !important;
  border-right: 1.5mm solid var(--gold) !important;
  z-index: 5 !important;
}

/* Cards on light accent pages: elevated white decks */
section.page.page-light-accent .card {
  background: #ffffff !important;
  border: 1px solid var(--border-soft) !important;
  border-left: 3px solid var(--navy) !important;
  box-shadow: 0 4px 12px rgba(10, 36, 114, 0.05) !important;
}

section.page.page-light-accent .card-gold {
  border-left-color: var(--gold) !important;
}

/* 3. LIGHT STANDARD THEME PAGES (Soft Warm Cream / Premium Editorial) */
section.page.page-light-standard {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1000' height='20' viewBox='0 0 1000 20'><path d='M0 10 L150 10 L160 16 L320 16 L330 4 L480 4 L490 10 L750 10 L760 4 L900 4 L910 10 L1000 10' fill='none' stroke='%230a2472' stroke-width='1.2' opacity='0.08'/><circle cx='150' cy='10' r='1.5' fill='%23c9a961' opacity='0.2'/><circle cx='320' cy='16' r='1.5' fill='%230a2472' opacity='0.2'/><circle cx='480' cy='4' r='1.5' fill='%23c9a961' opacity='0.2'/><circle cx='750' cy='10' r='1.5' fill='%230a2472' opacity='0.2'/><circle cx='900' cy='4' r='1.5' fill='%23c9a961' opacity='0.2'/></svg>") no-repeat bottom center,
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 100 100'><path d='M10 0 L10 20 L30 40 L60 40 L70 50 L70 80 L90 100' fill='none' stroke='%230a2472' stroke-width='0.25' opacity='0.015'/><circle cx='30' cy='40' r='0.8' fill='%230a2472' opacity='0.02'/><circle cx='70' cy='50' r='0.8' fill='%230a2472' opacity='0.02'/><path d='M90 0 L90 30 L70 50 L40 50 L30 60 L30 90 L10 100' fill='none' stroke='%230a2472' stroke-width='0.25' opacity='0.012'/><circle cx='70' cy='50' r='0.8' fill='%230a2472' opacity='0.02'/></svg>") no-repeat center center,
    linear-gradient(135deg, #fafaf8 0%, #f4f4f0 100%) !important;
  background-size: 100% 8mm, 110mm 110mm, 100% 100% !important;
}

/* Cards on light standard pages: warm gold-bordered decks */
section.page.page-light-standard .card {
  background: #ffffff !important;
  border: 1px solid var(--border-soft) !important;
  border-left: 3px solid var(--gold) !important;
  box-shadow: 0 4px 12px rgba(10, 36, 114, 0.03) !important;
}

section.page.page-light-standard .card-gold {
  border-left-color: var(--gold) !important;
}

/* 4. PRINT OVERRIDES (Clean black & white for printing) */
@media print {
  section.page {
    background: #ffffff !important;
    color: #1f2937 !important;
    padding-left: 12.5mm !important;
    /* Reset sidebar offset */
  }

  section.page::before {
    display: none !important;
    /* Hide sidebar in print */
  }

  section.page.page-dark {
    background: #ffffff !important;
    color: #1f2937 !important;
  }

  section.page.page-dark h1.page-title,
  section.page.page-dark h2,
  section.page.page-dark h3,
  section.page.page-dark h4,
  section.page.page-dark .sub-h {
    color: var(--navy) !important;
  }

  section.page.page-dark p,
  section.page.page-dark ul.bullet li {
    color: #1f2937 !important;
  }

  section.page.page-dark .card {
    background: #ffffff !important;
    border: 1px solid var(--border) !important;
    border-left: 3px solid var(--navy) !important;
    color: #1f2937 !important;
  }

  section.page.page-dark .card-title {
    color: var(--navy) !important;
  }

  section.page.page-dark .card-body {
    color: #4a5568 !important;
  }

  section.page.page-dark .accent-box {
    background: var(--navy) !important;
    color: #ffffff !important;
  }
}

/* ============================================================
   COVER PAGE (P1) — Premium glassmorphism
   ============================================================ */
.cover {
  min-height: 0;
  height: 297mm;
  width: 100%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(59, 130, 246, 0.25), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(30, 58, 138, 0.4), transparent 50%),
    radial-gradient(ellipse at top right, rgba(201, 169, 97, 0.08), transparent 40%),
    linear-gradient(160deg, #071b5e 0%, #0a2472 30%, #1e3a8a 60%, #0f2b6e 100%);
  color: #fff;
  padding: 25mm 20mm 22mm 20mm;
  position: relative;
  overflow: hidden;
}

/* Gold corner ornaments */
.cover::before {
  content: '';
  position: absolute;
  inset: 14mm 14mm auto auto;
  width: 55mm;
  height: 55mm;
  border: 1px solid rgba(201, 169, 97, 0.30);
  border-right: none;
  border-bottom: none;
}

.cover::after {
  content: '';
  position: absolute;
  inset: auto auto 26mm 14mm;
  width: 55mm;
  height: 55mm;
  border: 1px solid rgba(201, 169, 97, 0.30);
  border-left: none;
  border-top: none;
}

.cover-top {
  display: block;
  text-align: left;
}

.cover-eyebrow {
  font-size: 9pt;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}

.cover-logo-wrap {
  margin-top: 18mm;
  max-width: 130mm;
  position: relative;
  z-index: 2;
}

.cover-brand {
  display: none;
}

.cover-logo {
  display: block;
  max-width: 60mm;
  height: auto;
  max-height: 20mm;
  margin: 0 0 5mm 0;
  object-fit: contain;
  object-position: left center;
}

.cover-gold-line {
  width: 50px;
  height: 3px;
  background: var(--grad-gold);
  margin: 6mm 0;
  display: block;
  border-radius: 2px;
}

.cover-title-main {
  font-size: 34pt;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.14em;
  line-height: 1.05;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.cover-title-vi {
  font-size: 18pt;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-top: 3mm;
  text-transform: uppercase;
}

.cover-slogan-vi {
  margin-top: 14mm;
  font-size: 16pt;
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.cover-slogan-en {
  margin-top: 2mm;
  font-size: 10.5pt;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.05em;
}

.cover-tagline {
  margin-top: 5mm;
  font-size: 10pt;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.06em;
}

.cover-version {
  position: absolute;
  right: 22mm;
  bottom: 37mm;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8pt;
  letter-spacing: 0.35em;
  z-index: 2;
}

.cover-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12mm;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(201, 169, 97, 0.35) 60%, rgba(201, 169, 97, 0.08) 100%);
  z-index: 3;
}

.cover-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  opacity: 0.38;
  z-index: 0;
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      rgba(10, 36, 114, 0.96) 0%,
      rgba(10, 36, 114, 0.90) 35%,
      rgba(10, 36, 114, 0.60) 70%,
      rgba(10, 36, 114, 0.45) 100%);
  z-index: 1;
}

.cover-banner-img {
  position: absolute;
  right: 18mm;
  bottom: 19mm;
  width: 84mm;
  height: 18mm;
  object-fit: contain;
  object-position: center;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

/* ============================================================
   BRAND MESSAGE (P2) — Refined typography + styled quote
   ============================================================ */
.brand-message-heading {
  font-size: 20pt;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 5mm;
}

.brand-message-heading span {
  display: block;
}

.brand-body p {
  font-size: 9.2pt;
  margin-bottom: 3.5mm;
  color: var(--ink);
  line-height: 1.6;
}

.brand-quote {
  margin-top: 6mm;
  padding: 5mm 6mm 5mm 7mm;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: linear-gradient(135deg, var(--gold-soft) 0%, rgba(248, 250, 252, 0.8) 100%);
  color: var(--navy);
  font-size: 9.5pt;
  font-weight: 600;
  font-style: italic;
  line-height: 1.55;
  position: relative;
}

.brand-quote::before {
  content: '"';
  position: absolute;
  top: -2mm;
  left: 2mm;
  font-size: 32pt;
  color: var(--gold);
  opacity: 0.4;
  font-family: Georgia, serif;
  line-height: 1;
}

/* ============================================================
   TABLE OF CONTENTS (P3) — Modern grid
   ============================================================ */
.toc-group {
  margin-bottom: 5mm;
}

.toc-group-header {
  display: block;
  background: var(--grad-navy);
  color: #fff;
  padding: 2.5mm 5mm;
  font-size: 9pt;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.toc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2mm 5mm 2mm 5mm;
  border-bottom: 1px solid var(--border-soft);
  color: var(--ink);
  font-size: 9.5pt;

}

.toc-item:last-child {
  border-bottom: none;
}

.toc-item .toc-num {
  color: var(--navy);
  font-weight: 700;
  font-size: 10pt;
  min-width: 8mm;
  text-align: right;
}

.toc-item .toc-text {
  flex: 1;
}

/* ============================================================
   LETTER PAGE (P4)
   ============================================================ */
.letter-body p {
  font-size: 9.2pt;
  margin-bottom: 3.2mm;
  text-indent: 0;
  line-height: 1.6;
}

.letter-signature {
  margin-top: 10mm;
  text-align: right;
  color: var(--navy);
}

.letter-signature .sig-name {
  font-weight: 700;
  font-size: 11pt;
  margin-top: 8mm;
}

.letter-signature .sig-role {
  color: var(--muted);
  font-size: 10pt;
}

/* ============================================================
   CARDS — Redesigned with subtle elevation
   ============================================================ */
.card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  background: #fff;
  padding: 3mm 4mm;
  margin-bottom: 2.2mm;
  border-radius: var(--radius-md);
  break-inside: avoid;
  page-break-inside: avoid;
  position: relative;
  box-sizing: border-box;
}

.card-gold {
  border-left-color: var(--gold);
}

.card-num {
  display: inline-block;
  color: var(--navy);
  font-size: 11pt;
  font-weight: 800;
  margin-right: 2.5mm;
  letter-spacing: 0.05em;
}

.card-title {
  display: inline;
  font-weight: 700;
  color: var(--navy);
  font-size: 9.5pt;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card-title-en {
  color: var(--muted);
  font-weight: 500;
  font-size: 8pt;
  text-transform: none;
  margin-left: 2mm;
  letter-spacing: 0;
}

.card-body {
  margin-top: 1.2mm;
  color: var(--ink);
  font-size: 8.2pt;
  line-height: 1.4;
}

/* Card row flex container for equal height columns */
.card-row,
.card-row-3 {
  display: flex !important;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  /* Stretch children to equal height */
  margin-bottom: 2mm;
  width: 100%;
}

.card-row .card-col,
.card-row-3 .card-col {
  display: flex !important;
  flex-direction: column;
}

.card-row .card-col {
  width: 49% !important;
  flex: 0 0 49%;
}

.card-row-3 .card-col {
  width: 32% !important;
  flex: 0 0 32%;
}

.card-row .card-col .card,
.card-row-3 .card-col .card {
  flex: 1;
  /* Stretch card to fill column height */
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
}

.card-row .card-col .card .card-body,
.card-row-3 .card-col .card .card-body {
  flex: 1;
  /* Stretch card body to fill card height */
}

/* ============================================================
   GRIDS (layout utilities)
   ============================================================ */
.grid-2,
.grid-3,
.grid-4 {
  display: block;
}

/* ============================================================
   BULLET LISTS — Refined
   ============================================================ */
ul.bullet {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5mm 0;
}

ul.bullet li {
  position: relative;
  padding: 1.2mm 3mm 1.2mm 5.5mm !important;
  font-size: 8.2pt;
  color: var(--ink);
  break-inside: avoid;
  line-height: 1.45;
  background: rgba(10, 36, 114, 0.03);
  border: 1px solid rgba(10, 36, 114, 0.05);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  margin-bottom: 1.2mm;
  box-sizing: border-box;
}

ul.bullet li::before {
  content: '';
  position: absolute;
  left: 2.2mm;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 0;
}

ul.bullet.tight li {
  padding: 1mm 3mm 1mm 5.5mm !important;
  margin-bottom: 0.8mm;
}

ul.bullet.two-col {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

ul.bullet.two-col li {
  width: 49.2%;
  margin-right: 0;
}

/* Bullet list overrides for dark theme */
section.page.page-dark ul.bullet li {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: 3px solid var(--gold) !important;
  color: #e2e8f0 !important;
}

section.page.page-dark ul.bullet li::before {
  background: var(--gold) !important;
}

/* Chip list */
.chip-list {
  margin: 0 0 2mm 0;
  padding: 0;
  list-style: none;
}

.chip-list li {
  display: inline-block;
  padding: 1.2mm 3.5mm;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 8.5pt;
  margin: 0 2mm 2mm 0;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* ============================================================
   SUB-HEADINGS — Enhanced
   ============================================================ */
.sub-h {
  font-size: 9.5pt;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 2mm 0 1.5mm 0;
  padding: 1.5mm 4mm;
  background: linear-gradient(90deg, rgba(10, 36, 114, 0.06) 0%, rgba(201, 169, 97, 0.02) 50%, transparent 100%);
  border-left: 4px solid var(--navy);
  position: relative;
}

.sub-h::after {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  height: 35%;
  width: 4px;
  background: var(--gold);
}

.sub-h .sub-h-en {
  display: inline;
  color: var(--muted);
  font-weight: 500;
  font-size: 8pt;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 3mm;
}

/* ============================================================
   ACCENT BOXES — Modernized
   ============================================================ */
.accent-box {
  background: var(--grad-navy);
  color: #fff;
  padding: 3.5mm 5mm;
  margin: 3mm 0 0 0;
  border-radius: var(--radius-sm);
}

.accent-box .accent-label {
  display: block;
  color: var(--gold);
  font-size: 8pt;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5mm;
}

.accent-box .accent-text {
  font-size: 9.5pt;
  font-weight: 500;
  line-height: 1.45;
}

.soft-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 4mm 5mm;
  margin-bottom: 3mm;
  break-inside: avoid;
  border-radius: var(--radius-sm);
}

.note-italic {
  color: var(--muted);
  font-size: 9pt;
  font-style: italic;
  margin-top: 3mm;
}

/* ============================================================
   NUMBERED BADGE CIRCLES
   ============================================================ */
.badge-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 9mm;
  height: 9mm;
  background: var(--grad-navy);
  color: #fff;
  font-weight: 700;
  font-size: 10pt;
  border-radius: 50%;
  margin-right: 3mm;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(10, 36, 114, 0.15);
}

/* ============================================================
   TIMELINE — Modernized
   ============================================================ */
.timeline {
  display: block;
  padding-left: 7mm;
  margin: 1.5mm 0 2mm 4mm;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3mm;
  bottom: 3mm;
  width: 2px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--gold) 100%);
  border-radius: 1px;
}

.timeline-step {
  position: relative;
  padding: 0.3mm 0 1.5mm 0;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -10mm;
  top: 1.5mm;
  width: 6mm;
  height: 6mm;
  background: var(--navy);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--navy), 0 2px 4px rgba(10, 36, 114, 0.15);
  border-radius: 50%;
}

.timeline-step .ts-num {
  color: var(--gold);
  font-weight: 700;
  font-size: 8pt;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.timeline-step .ts-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 9pt;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0.3mm 0 0.8mm 0;
}

.timeline-step .ts-body {
  font-size: 8.2pt;
  line-height: 1.4;
  color: var(--ink);
}

/* Coming soon badge */
.coming-soon-badge {
  display: inline-block;
  background: var(--grad-gold);
  color: var(--navy);
  padding: 1.5mm 4mm;
  font-size: 8.5pt;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-glow);
}

/* ============================================================
   HERO QUOTE — Enhanced
   ============================================================ */
.hero-quote {
  margin: 6mm 0;
  padding: 7mm 8mm;
  background: var(--grad-navy);
  color: #fff;
  text-align: center;
  font-size: 13pt;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: 0.02em;
  break-inside: avoid;
  border-radius: var(--radius-sm);
  position: relative;
}

.hero-quote::before,
.hero-quote::after {
  content: '';
  display: block;
  width: 28mm;
  height: 2px;
  background: var(--grad-gold);
  margin: 0 auto 4mm;
  border-radius: 1px;
}

.hero-quote::after {
  margin: 4mm auto 0;
}

/* ============================================================
   PRODUCT CARDS — Enhanced catalog look
   ============================================================ */
.product-card {
  border: 1px solid var(--border);
  background: #fff;
  padding: 0;
  margin-bottom: 2.2mm;
  break-inside: avoid;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-card .pc-header {
  background: var(--grad-navy);
  color: #fff;
  padding: 2mm 4mm;
  font-size: 8.5pt;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card .pc-header .pc-num {
  color: var(--gold);
  margin-right: 3mm;
}

.product-card .pc-body {
  padding: 2mm 3.5mm;
}

.product-card .pc-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0;
}

.product-card .pc-body li {
  position: relative;
  padding: 0.4mm 3mm 0.4mm 3.5mm;
  font-size: 8.2pt;
  display: inline-block;
  width: 49%;
  vertical-align: top;
  box-sizing: border-box;
}

.product-card .pc-body li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 7pt;
}

/* ============================================================
   CONTACT PAGE (P24) — Premium dark theme
   ============================================================ */
.contact-page {
  page: contact-page;
  min-height: 0;
  height: 297mm;
  width: 100%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(59, 130, 246, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(201, 169, 97, 0.08), transparent 40%),
    linear-gradient(160deg, #071b5e 0%, #0a2472 35%, #1e3a8a 65%, #0f2b6e 100%);
  color: #fff;
  padding: 16mm 16mm 12mm 16mm;
  position: relative;
  overflow: hidden;
}

.contact-page::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 10mm;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(201, 169, 97, 0.25) 60%, rgba(201, 169, 97, 0.05) 100%);
}

.contact-title {
  color: #fff;
  font-size: 18pt;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 2.5mm 0;
}

.contact-questions {
  list-style: none;
  padding: 0;
  margin: 2mm 0 3mm 0;
}

.contact-questions li {
  padding: 1mm 0 1mm 7mm;
  position: relative;
  font-size: 9pt;
  color: rgba(255, 255, 255, 0.9);
}

.contact-questions li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1mm;
  color: var(--gold);
  font-weight: 700;
  font-size: 11pt;
}

.contact-gold-line {
  width: 50mm;
  height: 2px;
  background: var(--grad-gold);
  border: 0;
  margin: 3.5mm 0;
  border-radius: 1px;
}

.contact-transition {
  color: var(--gold);
  font-size: 10.5pt;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2mm;
}

.contact-grid {
  display: block;
  font-size: 0;
  margin-bottom: 3mm;
}

.contact-col {
  display: inline-block;
  vertical-align: top;
  width: 49%;
  font-size: 8.8pt;
  color: rgba(255, 255, 255, 0.9);
}

.contact-col+.contact-col {
  margin-left: 2%;
}

.contact-col .cc-item {
  display: block;
  padding: 1mm 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.contact-col .cc-label {
  display: block;
  color: var(--gold);
  font-size: 7pt;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.3mm;
}

.contact-col .cc-value {
  color: #fff;
  font-size: 8.8pt;
}

.qr-row {
  display: block;
  font-size: 0;
  margin: 2.5mm 0 3mm 0;
}

.qr-box {
  display: inline-block;
  width: 20mm;
  height: 20mm;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 7pt;
  line-height: 20mm;
  letter-spacing: 0.05em;
  margin-right: 4mm;
  background: rgba(255, 255, 255, 0.04);
  vertical-align: top;
  border-radius: var(--radius-sm);
}

.qr-box .qr-label {
  display: block;
  margin-top: 0;
  line-height: 1.3;
  padding-top: 6.5mm;
}

.contact-footer {
  margin-top: 2mm;
  text-align: center;
  color: #fff;
}

.contact-footer .cf-brand {
  font-size: 24pt;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.contact-footer .cf-slogan-vi {
  font-size: 10.5pt;
  color: var(--gold);
  font-style: italic;
  margin-top: 1.5mm;
}

.contact-footer .cf-slogan-en {
  font-size: 8.5pt;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1mm;
}

.contact-footer .cf-tagline {
  font-size: 8.8pt;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.08em;
  margin-top: 2.5mm;
}

.contact-footer-logo {
  display: block;
  width: 55mm;
  height: 18mm;
  margin: 0 auto 3mm auto;
  object-fit: contain;
  object-position: center;
}

.contact-banner-img {
  display: none !important;
}

/* ============================================================
   END BANNER (P23) — Refined
   ============================================================ */
.end-banner {
  background: var(--grad-navy);
  color: #fff;
  padding: 4mm 6mm;
  margin-top: 3mm;
  text-align: center;
  border-radius: var(--radius-sm);
}

.end-banner .eb-label {
  display: block;
  color: var(--gold);
  font-size: 7.5pt;
  letter-spacing: 0.25em;
  font-weight: 700;
  margin-bottom: 1.5mm;
  text-transform: uppercase;
}

.end-banner .eb-text {
  font-size: 10pt;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
}

/* ============================================================
   IMAGES & MEDIA — Refined borders
   ============================================================ */
.doc-running-header {
  display: none;
}

@page {
  @top-left {
    content: 'NH INCOM';
  }
}

.media-hero,
.media-thumb {
  display: block;
  width: 100%;
  object-fit: cover;
  /* Crop nicely instead of stretching */
  object-position: center;
  border: 1px solid rgba(10, 36, 114, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.media-hero {
  height: 18mm;
  margin: 1.5mm 0 2mm 0;
}

.media-hero.sm {
  height: 26mm;
}

.media-hero.md {
  height: 32mm;
}

.media-hero.lg {
  height: 38mm;
}

.media-grid-2,
.media-strip-3,
.media-aside,
.legal-mini {
  display: block;
  font-size: 0;
}

.media-grid-2 {
  display: flex !important;
  gap: 2%;
  margin: 2mm 0;
}

.media-grid-2 .media-hero {
  display: inline-block;
  width: 49%;
  margin: 0;
  vertical-align: top;
}

.media-grid-2 .media-hero+.media-hero {
  margin-left: 2%;
}

.media-strip-3 {
  margin: 1mm 0 1.8mm 0;
}

.media-strip-3 .media-thumb {
  display: inline-block;
  width: 32%;
  height: 12mm;
  vertical-align: top;
}

.media-strip-3 .media-thumb+.media-thumb {
  margin-left: 2%;
}

.media-aside {
  display: flex !important;
  gap: 4mm;
  margin: 2mm 0;
  align-items: stretch;
}

.media-aside .media-copy {
  flex: 1;
  font-size: 8pt;
  vertical-align: top;
}

.media-aside .media-art {
  display: block !important;
  width: 42% !important;
  height: 18mm !important;
  object-fit: cover !important;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(10, 36, 114, 0.08);
}

.media-kicker {
  display: block;
  color: var(--muted);
  font-size: 7pt;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2mm;
}

/* Legal mini info boxes */
.legal-mini {
  margin-top: 1.5mm;
}

.legal-mini .lm-item {
  display: inline-block;
  width: 49%;
  vertical-align: top;
  padding: 2mm 2.5mm;
  margin: 0 0 1.5mm 0;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 7.8pt;
}

.legal-mini .lm-item:nth-child(2n) {
  margin-left: 2%;
}

.legal-mini .lm-label {
  display: block;
  color: var(--muted);
  font-size: 6.5pt;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5mm;
}

.legal-mini .lm-value {
  color: var(--navy);
  font-weight: 600;
  line-height: 1.25;
}

/* ============================================================
   ICONS
   ============================================================ */
.icon-sm {
  width: 14px;
  height: 14px;
  vertical-align: -3px;
  margin-right: 2mm;
  color: var(--navy);
}

.icon-md {
  width: 18px;
  height: 18px;
  vertical-align: -4px;
  margin-right: 2mm;
  color: var(--gold);
}

/* ============================================================
   LAYOUT OVERRIDES FOR TIGHT FIT
   ============================================================ */
.card,
.product-card,
.soft-box,
.accent-box,
.hero-quote,
.timeline-step {
  break-inside: auto;
  page-break-inside: auto;
}

/* ============================================================
   STAT GRID — data-highlight blocks
   ============================================================ */
.stat-grid {
  display: flex;
  gap: 4mm;
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 4mm 0;
}

.stat-grid > .stat {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-top: 2px solid var(--gold);
  border-radius: 2px;
  padding: 4mm 3mm 3.5mm;
  text-align: center;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
  break-inside: avoid;
}

.stat-num {
  font-size: 24pt;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
}

.stat-unit {
  font-size: 14pt;
  font-weight: 600;
  color: var(--gold);
}

.stat-label {
  display: block;
  margin-top: 1.5mm;
  font-size: 8pt;
  color: #5b6472;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* column variants */
.stat-grid.cols-3 > .stat { flex-basis: calc(33.333% - 3mm); }
.stat-grid.cols-4 > .stat { flex-basis: calc(25% - 3mm); }

/* dark page variant */
section.page.page-dark .stat {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  border-top-color: var(--gold);
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

section.page.page-dark .stat-num {
  color: #fff;
}

section.page.page-dark .stat-label {
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   FLOW DIAGRAM — vertical process flow
   ============================================================ */
.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 4mm 0;
}

.flow-node {
  width: 80%;
  max-width: 100mm;
  border: 1px solid var(--navy);
  border-radius: 2px;
  padding: 3mm 4mm;
  text-align: center;
  background: #fff;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.flow-node-title {
  font-size: 9.5pt;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.flow-node-sub {
  font-size: 7.5pt;
  color: #5b6472;
  margin-top: 1mm;
  line-height: 1.35;
}

/* emphasized node — NH INCOM */
.flow-node.flow-emphasis {
  background: var(--navy);
  border-color: var(--navy);
  border-left: 3px solid var(--gold);
  border-top: 2px solid var(--gold);
}

.flow-node.flow-emphasis .flow-node-title {
  color: #fff;
}

.flow-node.flow-emphasis .flow-node-sub {
  color: rgba(255,255,255,0.65);
}

/* arrow between nodes */
.flow-arrow {
  display: flex;
  justify-content: center;
  padding: 1.5mm 0;
  color: var(--gold);
  font-size: 12pt;
  line-height: 1;
}

/* footnote below diagram */
.flow-note {
  margin-top: 2mm;
  font-size: 7.5pt;
  color: #5b6472;
  text-align: center;
  font-style: italic;
  max-width: 120mm;
}

/* ============================================================
   PROCESS BAR — horizontal step summary
   ============================================================ */
.process-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 3mm 0 5mm;
  padding: 3mm 0 1mm;
  border-bottom: 1px solid #e6e8ee;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
  width: 18mm;
  margin-bottom: 2mm;
}

/* connector line between steps */
.process-step + .process-step::before {
  content: "";
  position: absolute;
  top: 4.5mm;
  right: 100%;
  width: calc(100% - 10mm);
  height: 0;
  border-top: 1px solid var(--gold);
  /* ponytail: shift left so line touches circle edge */
  transform: translateX(5mm);
}

.process-dot {
  width: 9mm;
  height: 9mm;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7pt;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  position: relative;
  z-index: 1;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.process-lbl {
  margin-top: 1.5mm;
  font-size: 6.5pt;
  color: #5b6472;
  text-align: center;
  line-height: 1.25;
  max-width: 20mm;
}

/* ============================================================
   INPUT MATRIX — request input types grid
   ============================================================ */
.input-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3mm;
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 4mm 0;
}

.input-matrix-cell {
  border: 1px solid #e6e8ee;
  border-radius: 2px;
  padding: 3.5mm 4mm;
  display: flex;
  align-items: flex-start;
  gap: 3mm;
  background: #fff;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.input-matrix-icon {
  flex: 0 0 10mm;
  height: 10mm;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-matrix-icon svg {
  width: 9mm;
  height: 9mm;
}

.input-matrix-body {
  flex: 1;
  min-width: 0;
}

.input-matrix-title {
  font-size: 9pt;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.input-matrix-title-en {
  font-size: 7.5pt;
  font-weight: 400;
  color: #5b6472;
}

.input-matrix-desc {
  font-size: 8pt;
  color: #5b6472;
  margin-top: 1mm;
  line-height: 1.35;
}

/* ============================================================
   SCREEN-ONLY FLOATING CONTROL BAR
   ============================================================ */
.profile-control-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(10, 36, 114, 0.95);
  backdrop-filter: blur(8px);
  color: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #c9a961;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.profile-control-bar__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-control-bar__title {
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 11pt;
  color: #c9a961;
}

.profile-control-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 8px 16px;
  font-size: 9.5pt;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.profile-control-bar__btn:hover {
  background: #c9a961;
  border-color: #c9a961;
  color: #0a2472;
}

.profile-control-bar__btn svg {
  width: 16px;
  height: 16px;
}

/* Hide when printing */
@media print {
  .no-print {
    display: none !important;
  }
}

/* Screen only: offset body to prevent header overlap */
@media screen {
  body {
    padding-top: 80px !important;
  }
}