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

    :root {
      --white: #F8F9FA;
      --red: #dc2626;
      --red-light: #fee2e2;
      --green: #388e3c;
      --green-light: #e8f5e9;
      --orange: #ea580c;
      --orange-light: #fff0e8;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--white);
      color: var(--charcoal);
      line-height: 1.6;
    }

    /* ── NAV ── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: #fff;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 48px;
      height: 64px;
    }

    .nav-logo {
      font-family: 'DM Serif Display', serif;
      font-size: 1.15rem;
      color: var(--teal);
      text-decoration: none;
      letter-spacing: -0.01em;
      white-space: nowrap;
    }

    .nav-links {
      display: flex;
      gap: 4px;
      list-style: none;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--gray);
      font-size: 0.875rem;
      font-weight: 500;
      padding: 6px 14px;
      border-radius: 6px;
      transition: background 0.15s, color 0.15s;
      white-space: nowrap;
    }

    .nav-links a:hover { background: var(--teal-light); color: var(--teal); }
    .nav-links a.active { background: var(--teal-light); color: var(--teal); }
    .nav-cta { background: var(--red) !important; color: #fff !important; border-radius: 8px !important; padding: 8px 18px !important; }
    .nav-cta:hover { opacity: 0.9; }

    /* ── PAGE HEADER ── */
    .page-header-wrap {
      background: linear-gradient(135deg, #f0fafa 0%, #fdf8f0 100%);
      border-bottom: 1px solid var(--border);
    }

    .page-header {
      max-width: 1200px;
      margin: 0 auto;
      padding: 56px 48px 48px;
    }

    .page-tag {
      display: inline-block;
      background: var(--teal-light);
      color: var(--teal);
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 4px 12px;
      border-radius: 100px;
      margin-bottom: 16px;
    }

    .page-header h1 {
      font-family: 'DM Serif Display', serif;
      font-size: 2.5rem;
      line-height: 1.15;
      color: var(--charcoal);
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }

    .page-header p {
      font-size: 1rem;
      color: var(--gray);
      line-height: 1.7;
      max-width: 580px;
    }

    /* ── SUB NAV ── */
    .sub-nav {
      background: #fff;
      border-bottom: 1px solid var(--gray-light);
      position: sticky;
      top: 64px;
      z-index: 90;
    }

    .sub-nav-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
      display: flex;
      gap: 0;
      overflow-x: auto;
    }

    .sub-nav a {
      text-decoration: none;
      color: var(--gray);
      font-size: 0.875rem;
      font-weight: 500;
      padding: 16px 20px;
      border-bottom: 2px solid transparent;
      white-space: nowrap;
      transition: color 0.15s, border-color 0.15s;
    }

    .sub-nav a:hover { color: var(--teal); }
    .sub-nav a.active { color: var(--teal); border-bottom-color: var(--teal); }

    /* ── SECTION LAYOUT ── */
    .section {
      max-width: 1200px;
      margin: 0 auto;
      padding: 64px 48px;
    }

    .section + .section { padding-top: 0; }

    .section-divider {
      border: none;
      border-top: 1px solid var(--gray-light);
      margin: 0 48px;
      max-width: 1200px;
    }

    .section-label {
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--teal);
      margin-bottom: 8px;
    }

    .section-title {
      font-family: 'DM Serif Display', serif;
      font-size: 1.9rem;
      color: var(--charcoal);
      margin-bottom: 8px;
      letter-spacing: -0.02em;
    }

    .section-sub {
      color: var(--gray);
      font-size: 0.925rem;
      max-width: 560px;
      margin-bottom: 40px;
      line-height: 1.7;
    }

    /* ── URGENCY FLOWCHART ── */
    .flowchart-start {
      background: var(--charcoal);
      color: #fff;
      border-radius: 14px;
      padding: 20px 28px;
      text-align: center;
      max-width: 340px;
      margin: 0 auto 32px;
    }

    .flowchart-start p {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      opacity: 0.6;
      margin-bottom: 4px;
    }

    .flowchart-start h3 {
      font-family: 'DM Serif Display', serif;
      font-size: 1.2rem;
    }

    .flowchart-questions {
      display: flex;
      flex-direction: column;
      gap: 16px;
      max-width: 720px;
      margin: 0 auto;
    }

    .flow-question {
      border: 1.5px solid var(--gray-light);
      border-radius: 14px;
      overflow: hidden;
      transition: border-color 0.15s;
    }

    .flow-question.active { border-color: var(--teal); }

    .flow-q-header {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 18px 22px;
      cursor: pointer;
      background: #fff;
      transition: background 0.15s;
    }

    .flow-q-header:hover { background: var(--teal-light); }

    .flow-q-num {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--teal-light);
      color: var(--teal);
      font-size: 0.75rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .flow-q-text {
      font-size: 0.925rem;
      font-weight: 600;
      color: var(--charcoal);
      flex: 1;
    }

    .flow-chevron {
      color: var(--gray);
      transition: transform 0.2s;
    }

    .flow-question.active .flow-chevron { transform: rotate(180deg); }

    .flow-answers {
      display: none;
      padding: 0 22px 18px;
      gap: 10px;
      flex-direction: column;
    }

    .flow-question.active .flow-answers { display: flex; }

    .flow-answer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      border-radius: 10px;
      cursor: pointer;
      transition: background 0.15s;
      border: 1.5px solid transparent;
    }

    .flow-answer:hover { border-color: var(--gray-light); }

    .flow-answer-text { font-size: 0.875rem; color: var(--charcoal); }

    .flow-result {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 100px;
    }

    .result-er { background: var(--red-light); color: var(--red); }
    .result-urgent { background: var(--orange-light); color: var(--orange); }
    .result-clinic { background: var(--teal-light); color: var(--teal); }
    .result-health { background: var(--green-light); color: var(--green); }
    .result-home { background: var(--gray-light); color: var(--gray); }

    /* outcome legend */
    .outcome-legend {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 32px;
    }

    .legend-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.8rem;
      color: var(--gray);
    }

    .legend-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    /* ── SYMPTOM TO SPECIALIST ── */
    .symptom-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .symptom-card {
      background: #fff;
      border: 1px solid var(--gray-light);
      border-radius: 12px;
      padding: 20px;
      transition: border-color 0.15s, box-shadow 0.15s;
    }

    .symptom-card:hover {
      border-color: var(--teal);
      box-shadow: 0 4px 16px rgba(42,127,127,0.08);
    }

    .symptom-card-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 12px;
    }

    .symptom-icon {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .symptom-card h4 {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--charcoal);
    }

    .symptom-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .symptom-list li {
      font-size: 0.8rem;
      color: var(--gray);
      padding-left: 14px;
      position: relative;
      line-height: 1.5;
    }

    .symptom-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 7px;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--teal);
    }

    .specialist-tag {
      display: inline-block;
      margin-top: 12px;
      background: var(--teal-light);
      color: var(--teal);
      font-size: 0.7rem;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 100px;
    }

    /* ── EMERGENCY REFERENCE ── */
    .emergency-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-bottom: 32px;
    }

    .emergency-card {
      border-radius: 14px;
      padding: 24px;
    }

    .emergency-card.red { background: var(--red-light); border: 1.5px solid #fca5a5; }
    .emergency-card.teal { background: var(--teal-light); border: 1.5px solid var(--border); }
    .emergency-card.amber { background: var(--amber-light); border: 1.5px solid #fcd34d; }
    .emergency-card.green { background: var(--green-light); border: 1.5px solid #86efac; }

    .emergency-card h4 {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 14px;
    }

    .emergency-card.red h4 { color: var(--red); }
    .emergency-card.teal h4 { color: var(--teal); }
    .emergency-card.amber h4 { color: #92400e; }
    .emergency-card.green h4 { color: var(--green); }

    .number-row {
      display: flex;
      align-items: baseline;
      gap: 8px;
      margin-bottom: 6px;
    }

    .big-number {
      font-family: 'DM Serif Display', serif;
      font-size: 2rem;
      color: var(--charcoal);
      line-height: 1;
    }

    .number-label {
      font-size: 0.825rem;
      color: var(--gray);
    }

    .phrase-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .phrase-item {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .phrase-en {
      font-size: 0.825rem;
      font-weight: 600;
      color: var(--charcoal);
    }

    .phrase-ja {
      font-size: 0.825rem;
      color: var(--teal);
      font-weight: 500;
    }

    .phrase-romaji {
      font-size: 0.75rem;
      color: var(--gray);
      font-style: italic;
    }

    .hospital-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .hospital-item {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .hospital-name {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--charcoal);
    }

    .hospital-detail {
      font-size: 0.775rem;
      color: var(--gray);
    }

    /* ── PRINTABLE CARD ── */
    .print-preview-wrap {
      background: var(--charcoal);
      border-radius: 16px;
      padding: 40px;
      display: flex;
      gap: 40px;
      align-items: flex-start;
    }

    .print-card {
      background: #fff;
      border-radius: 12px;
      padding: 24px;
      width: 320px;
      flex-shrink: 0;
      box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    }

    .print-card-header {
      border-bottom: 2px solid var(--teal);
      padding-bottom: 12px;
      margin-bottom: 16px;
    }

    .print-card-title {
      font-family: 'DM Serif Display', serif;
      font-size: 1rem;
      color: var(--teal);
      margin-bottom: 2px;
    }

    .print-card-sub {
      font-size: 0.7rem;
      color: var(--gray);
    }

    .print-section {
      margin-bottom: 14px;
    }

    .print-section-label {
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gray);
      margin-bottom: 6px;
    }

    .print-number-row {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .print-number {
      display: flex;
      flex-direction: column;
    }

    .print-num-value {
      font-family: 'DM Serif Display', serif;
      font-size: 1.4rem;
      color: var(--charcoal);
      line-height: 1;
    }

    .print-num-label {
      font-size: 0.6rem;
      color: var(--gray);
    }

    .print-phrase {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      font-size: 0.7rem;
      padding: 3px 0;
      border-bottom: 1px solid var(--gray-light);
    }

    .print-phrase:last-child { border-bottom: none; }

    .print-phrase-en { color: var(--charcoal); font-weight: 500; }
    .print-phrase-ja { color: var(--teal); font-weight: 600; }

    .print-footer {
      border-top: 1px solid var(--gray-light);
      padding-top: 10px;
      font-size: 0.6rem;
      color: var(--gray);
      text-align: center;
    }

    .print-cta {
      flex: 1;
      color: #fff;
    }

    .print-cta h3 {
      font-family: 'DM Serif Display', serif;
      font-size: 1.6rem;
      margin-bottom: 12px;
      letter-spacing: -0.02em;
    }

    .print-cta p {
      font-size: 0.9rem;
      opacity: 0.75;
      margin-bottom: 28px;
      line-height: 1.7;
      max-width: 360px;
    }

    .btn-print {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #fff;
      color: var(--charcoal);
      padding: 12px 24px;
      border-radius: 8px;
      border: none;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.875rem;
      font-weight: 600;
      cursor: pointer;
      transition: opacity 0.15s, transform 0.1s;
    }

    .btn-print:hover { opacity: 0.9; transform: translateY(-1px); }

    /* ── FOOTER ── */
    footer {
      background: var(--charcoal);
      color: rgba(255,255,255,0.6);
      padding: 32px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 0.8rem;
      flex-wrap: wrap;
      gap: 16px;
    }

    footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
    footer a:hover { color: #fff; }
    .footer-logo { font-family: 'DM Serif Display', serif; font-size: 1rem; color: #fff; }

    /* ── CARD BUILDER ── */
    .card-builder {
      background: #fff;
      border: 1px solid var(--gray-light);
      border-radius: 16px;
      padding: 28px;
    }

    .card-builder-search { margin-bottom: 24px; }

    .card-builder-search-inner {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--white);
      border: 1.5px solid var(--gray-light);
      border-radius: 10px;
      padding: 10px 16px;
      transition: border-color 0.15s;
    }

    .card-builder-search-inner:focus-within { border-color: var(--teal); }
    .card-builder-search-inner svg { color: var(--gray); flex-shrink: 0; }

    .card-builder-search-inner input {
      flex: 1;
      border: none;
      background: transparent;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem;
      color: var(--charcoal);
      outline: none;
    }

    .card-builder-search-inner input::placeholder { color: #9ca3af; }

    .card-builder-categories {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-bottom: 20px;
    }

    .card-builder-group-label {
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gray);
      margin-bottom: 12px;
    }

    .card-builder-items {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .card-item-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 100px;
      border: 1.5px solid var(--gray-light);
      background: #fff;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--charcoal);
      cursor: pointer;
      transition: all 0.15s;
    }

    .card-item-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
    .card-item-btn.selected { background: var(--teal); color: #fff; border-color: var(--teal); }
    .card-item-btn.hidden { display: none; }

    .selected-tags-row { display: flex; flex-wrap: wrap; gap: 8px; }

    .selected-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--teal-light);
      color: var(--teal);
      font-size: 0.775rem;
      font-weight: 600;
      padding: 5px 12px;
      border-radius: 100px;
      cursor: pointer;
      transition: background 0.15s;
    }

    .selected-tag:hover { background: #c5e8e8; }

    .generated-card-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      align-items: start;
    }

    .generated-card {
      background: #fff;
      border: 2px solid var(--charcoal);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    .gen-card-header { background: var(--charcoal); padding: 14px 18px; }
    .gen-card-title { font-family: 'DM Serif Display', serif; font-size: 0.95rem; color: #fff; margin-bottom: 2px; }
    .gen-card-sub { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
    .gen-card-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }

    .gen-card-row {
      display: flex;
      flex-direction: column;
      gap: 3px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--gray-light);
    }

    .gen-card-row:last-child { border-bottom: none; padding-bottom: 0; }
    .gen-card-row-en { font-size: 0.8rem; font-weight: 600; color: var(--charcoal); display: flex; align-items: center; gap: 5px; }
    .gen-card-row-ja { font-size: 0.875rem; color: var(--teal); font-weight: 600; }
    .gen-card-row-ro { font-size: 0.7rem; color: var(--gray); font-style: italic; }
    .gen-card-footer { background: var(--red-light); padding: 10px 18px; border-top: 1px solid #fca5a5; }
    .gen-card-numbers { display: flex; gap: 12px; flex-wrap: wrap; font-size: 0.72rem; color: var(--red); font-weight: 600; }
    .gen-card-actions { display: flex; flex-direction: column; justify-content: center; }

    .btn-print-card {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--teal);
      color: #fff;
      padding: 12px 22px;
      border-radius: 8px;
      border: none;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.875rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.15s;
      margin-bottom: 10px;
      width: fit-content;
    }

    .btn-print-card:hover { background: var(--teal-dark); }

    .btn-clear-card {
      background: transparent;
      color: var(--gray);
      padding: 10px 16px;
      border-radius: 8px;
      border: 1.5px solid var(--gray-light);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.825rem;
      cursor: pointer;
      width: fit-content;
      transition: border-color 0.15s, color 0.15s;
    }

    .btn-clear-card:hover { border-color: var(--teal); color: var(--teal); }

    /* ── CAROUSEL ── */
    .carousel-track-wrap {
      overflow: hidden;
      width: 100%;
      position: relative;
    }

    .carousel-track {
      display: flex;
      gap: 20px;
      animation: carouselScroll 40s linear infinite;
      width: max-content;
    }

    @keyframes carouselScroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    .carousel-card {
      background: #fff;
      border: 1.5px solid var(--gray-light);
      border-radius: 14px;
      padding: 20px;
      width: 220px;
      flex-shrink: 0;
      user-select: none;
    }

    .carousel-card-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 12px;
      font-size: 1.4rem;
    }

    .carousel-card-name {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--charcoal);
      margin-bottom: 6px;
    }

    .carousel-card-ja {
      font-size: 0.9rem;
      color: var(--teal);
      font-weight: 600;
      margin-bottom: 4px;
    }

    .carousel-card-ro {
      font-size: 0.72rem;
      color: var(--gray);
      font-style: italic;
      margin-bottom: 10px;
    }

    .carousel-card-phrase {
      font-size: 0.75rem;
      color: var(--gray);
      line-height: 1.5;
      padding-top: 10px;
      border-top: 1px solid var(--gray-light);
    }

    .carousel-card-phrase strong {
      color: var(--charcoal);
      display: block;
      margin-bottom: 2px;
    }

    /* Print styles for generated card */
    @media print {
      body > *:not(#printArea) { display: none !important; }
      #printArea {
        display: block !important;
        position: fixed;
        inset: 0;
        padding: 40px;
        background: #fff;
      }
    }

    /* ── PRINT STYLES ── */
    @media print {
      nav, .sub-nav, .page-header-wrap, .section:not(#print-section),
      footer, .print-preview-wrap { display: none !important; }
      #print-section { display: block !important; }
      .print-card { box-shadow: none; border: 1px solid #ccc; width: 100%; max-width: 400px; margin: 0 auto; }
    }

    /* ── RESPONSIVE ── */
    
    /* ── MOBILE NAV ── */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 6px;
      border: none;
      background: transparent;
      z-index: 200;
    }

    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--charcoal);
      border-radius: 2px;
      transition: all 0.25s ease;
    }

    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-sidebar {
      position: fixed;
      top: 0;
      right: -280px;
      width: 260px;
      height: 100vh;
      background: #fff;
      box-shadow: -4px 0 24px rgba(0,0,0,0.12);
      z-index: 999;
      transition: right 0.28s ease;
      display: flex;
      flex-direction: column;
      padding: 0;
    }

    .mobile-sidebar.open { right: 0; }

    .mobile-sidebar-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 20px 16px;
      border-bottom: 1px solid var(--gray-light);
    }

    .mobile-sidebar-logo {
      font-family: 'DM Serif Display', serif;
      font-size: 1rem;
      color: var(--teal);
      text-decoration: none;
    }

    .mobile-sidebar-close {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--gray-light);
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.15s;
    }

    .mobile-sidebar-close:hover { background: #d1d5db; }

    .mobile-sidebar-links {
      display: flex;
      flex-direction: column;
      padding: 12px 12px;
      flex: 1;
      overflow-y: auto;
      gap: 2px;
    }

    .mobile-sidebar-links a {
      text-decoration: none;
      color: var(--charcoal);
      font-size: 0.95rem;
      font-weight: 500;
      padding: 12px 14px;
      border-radius: 8px;
      transition: background 0.15s, color 0.15s;
    }

    .mobile-sidebar-links a:hover { background: var(--teal-light); color: var(--teal); }
    .mobile-sidebar-links a.active { background: var(--teal-light); color: var(--teal); font-weight: 600; }

    .mobile-sidebar-links .sidebar-cta {
      background: var(--red) !important;
      color: #fff !important;
      margin-top: 8px;
      text-align: center;
    }

    .mobile-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.4);
      z-index: 998;
      display: none;
      backdrop-filter: blur(1px);
    }

    .mobile-overlay.open { display: block; }

    @media (max-width: 900px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
    }

    @media (max-width: 900px) {
      nav { padding: 0 24px; }
      .nav-links { display: none; }
      .page-header { padding: 40px 24px 32px; }
      .sub-nav-inner { padding: 0 24px; }
      .section { padding: 48px 24px; }
      .section-divider { margin: 0 24px; }
      .symptom-grid { grid-template-columns: 1fr; }
      .emergency-grid { grid-template-columns: 1fr; }
      .print-preview-wrap { flex-direction: column; padding: 28px 24px; }
      .print-card { width: 100%; }
      footer { padding: 24px; flex-direction: column; text-align: center; }
    }
  
  /* ── MEDICAL FORMS ACCORDION ── */
  .forms-section { max-width: 800px; }
  .forms-section-label {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--gray);
    padding: 28px 0 10px; display: flex; align-items: center; gap: 8px;
  }
  .forms-section-label::after {
    content: ''; flex: 1; height: 1px; background: var(--gray-light);
  }
  .form-accordion {
    border: 1.5px solid var(--gray-light);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
  }
  .form-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    gap: 12px;
    transition: background 0.15s;
  }
  .form-accordion-header:hover { background: #f9fafb; }
  .form-accordion-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
  }
  .form-accordion-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .form-accordion-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--charcoal);
    line-height: 1.3;
  }
  .form-accordion-sub {
    font-size: 0.78rem;
    color: var(--gray);
    margin-top: 2px;
    line-height: 1.4;
  }
  .form-accordion-chevron {
    flex-shrink: 0;
    color: var(--gray);
    transition: transform 0.2s ease;
  }
  .form-accordion.open .form-accordion-chevron {
    transform: rotate(180deg);
  }
  .form-accordion-body {
    display: none;
    padding: 0 18px 18px;
    border-top: 1px solid var(--gray-light);
  }
  .form-accordion.open .form-accordion-body { display: block; }
  .form-accordion-desc {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 14px 0 12px;
  }
  .form-fields-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
  }
  .form-field-tag {
    background: var(--teal-light, #e6f4f4);
    color: var(--teal, #2A7F7F);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
  }
  .form-open-pdf {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--teal, #2A7F7F);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.15s;
    margin-top: 4px;
  }
  .form-open-pdf:hover { opacity: 0.88; }
  .form-print-note {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 8px;
    font-style: italic;
  }

  @media (max-width: 600px) {
    .form-accordion-header { padding: 12px 14px; }
    .form-accordion-body { padding: 0 14px 16px; }
    .form-accordion-title { font-size: 0.85rem; }
    .form-accordion-sub { font-size: 0.73rem; }
    .form-accordion-icon { width: 30px; height: 30px; }
  }
