/* ==========================================================================
   VISA_GUIDE_STAGE18_2026 — Visa Guide design system (structural realignment)
   ==========================================================================
   This REPLACES the Stage 17 version. Stage 17 fixed colours/fonts but kept
   an invented page shell (.visa-hero, .visa-country__header, custom section
   borders) instead of using the site's REAL, already-built shell:

       <section class="hero hero--compact">
         <div class="container">
           <div class="kicker">...</div>
           <h1>...</h1>
           <p>...</p>
         </div>
       </section>
       <section>
         <div class="container"> ...rest of the page... </div>
       </section>

   confirmed directly from views/knowledge-index.ejs and public/css/style.css:
     - .container            { max-width: 960px; margin: 0 auto; padding: 0 24px; }
     - section                { padding: 56px 0; }
     - section + section      { border-top: 1px solid var(--line); }  <- the
       real divider mechanism; nothing custom needed for it at all.
     - .hero                  { padding: 36px 0 60px; border-bottom: 1px solid var(--line); }
     - .hero.hero--compact    { padding-bottom: 32px; }
     - .breadcrumb + section.hero { padding-top: 26px; }
     - .hero + section        { padding-top: 24px; }
     - .hero-text .kicker     { font-family: 'IBM Plex Mono'; font-size: 13px;
                                 color: var(--stamp); letter-spacing: 0.08em;
                                 text-transform: uppercase; margin-bottom: 14px; }
       NOTE: the Knowledge page's kicker is NOT wrapped in .hero-text, so it
       renders as plain, unstyled text — this is why "Knowledge Archive" looks
       quiet/grey rather than bold/uppercase/coloured. This file does NOT
       give .kicker its own override, so visa pages match that same quiet
       default rather than re-adding the mono/stamp/uppercase treatment.
     - .hero h1               { font-size: 44px; line-height: 1.15; margin: 0 0 20px; }
     - .hero p                { font-size: 18px; color: var(--ink-soft); }
     - responsive: .hero h1 { font-size: 28px } / .hero p { font-size: 16px }
       at the same breakpoint style.css already uses.

   views/visa-index.ejs and views/visa-country.ejs were rewritten (Stage 18)
   to use this exact shell. This CSS file therefore no longer defines
   .visa-hero, .visa-hero__kicker, .visa-hero__intro, .visa-country__header,
   .visa-country__kicker, main.visa-landing/main.visa-country max-width or
   padding, or any custom section-divider rule — all of that now comes
   directly from the site's own style.css, automatically, for free.

   views/visa-audit.ejs, views/visa-ds160-prep.ejs, and views/visa-checklists.ejs
   have NOT been restructured in this pass (no screenshots of those pages were
   reviewed), so their existing scoped styles are kept below largely as-is —
   flagged clearly in their own section — to avoid breaking pages that were
   not part of this specific fix.
   ========================================================================== */

:root {
  --visa-bg: var(--paper, #ede6d2);
  --visa-text: var(--ink, #202b32);
  --visa-text-muted: var(--ink-soft, #4b5860);
  --visa-border: var(--line, #c7bb9a);
  --visa-accent: var(--stamp, #9c3b2e);
  --visa-accent-contrast: var(--paper, #ede6d2);
  --visa-gold: var(--gold, #a8791f);

  --visa-success: #3f5a37;
  --visa-success-bg: rgba(91, 117, 83, 0.14);
  --visa-success-border: #5b7553;

  --visa-warning: #7a5713;
  --visa-warning-bg: rgba(168, 121, 31, 0.14);
  --visa-warning-border: #a8791f;

  --visa-danger: var(--stamp, #9c3b2e);
  --visa-danger-bg: rgba(156, 59, 46, 0.12);
  --visa-danger-border: rgba(160, 70, 40, 0.35);

  --visa-neutral: var(--ink-soft, #4b5860);
  --visa-neutral-bg: rgba(75, 88, 96, 0.12);
  --visa-neutral-border: var(--line, #c7bb9a);

  --visa-card-bg: color-mix(in srgb, var(--paper-dark, #e2d8bc) 84%, white 16%);

  --visa-mono: 'IBM Plex Mono', monospace;
  --visa-radius: 0px;
  --visa-radius-pill: 999px;
}

/* --------------------------------------------------------------------------
   Links inside visa content — same "colour signals a link, underline on
   hover" convention used across the rest of the site.
   -------------------------------------------------------------------------- */
.visa-country__body a,
.visa-country__tools a,
.visa-country__sources a,
.visa-country__official-links a,
.visa-country__coming-soon a,
.visa-feature-card a {
  color: var(--visa-accent);
  text-decoration: none;
}
.visa-country__body a:hover,
.visa-country__tools a:hover,
.visa-country__sources a:hover,
.visa-country__official-links a:hover,
.visa-country__coming-soon a:hover,
.visa-feature-card a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Disclaimer panel (partials/visa-disclaimer.ejs) — used on every page.
   Left-border accent + tinted background, matching the site's existing
   .visa-check-box treatment (an older, related visa-checker feature) rather
   than a fully-bordered box.
   -------------------------------------------------------------------------- */
.visa-disclaimer {
  margin: 14px 0 26px;
  padding: 16px 18px;
  border: 1px solid var(--visa-border);
  border-left: 3px solid var(--visa-accent);
  background: var(--visa-card-bg);
  border-radius: 2px;
}
.visa-disclaimer p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--visa-text);
}
.visa-disclaimer p:last-child {
  margin-bottom: 0;
}
.visa-disclaimer__meta {
  font-size: 13px !important;
  color: var(--visa-text-muted) !important;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px dashed var(--visa-border);
}
.visa-disclaimer__meta a {
  color: var(--visa-accent);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Summary stat strip (visa-index.ejs) — plain inline stats, no boxed
   wrapper (the previous version wrapped this in its own bordered/background
   panel, which the real site doesn't do for equivalent simple stat rows).
   -------------------------------------------------------------------------- */
.visa-summary__stats {
  list-style: none;
  margin: 0 0 32px;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  border-top: 1px solid var(--visa-border);
  border-bottom: 1px solid var(--visa-border);
}
.visa-summary__stats li {
  font-size: 13px;
  color: var(--visa-text-muted);
}
.visa-summary__stats li strong {
  display: block;
  font-size: 28px;
  color: var(--visa-text);
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   "Start with the United States" feature card (visa-index.ejs)
   -------------------------------------------------------------------------- */
.visa-feature-card {
  margin: 0 0 32px;
  padding: 24px 28px;
  border: 1px solid var(--visa-border);
  background: var(--visa-card-bg);
  border-radius: 2px;
}
.visa-feature-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.visa-feature-card p {
  margin: 0 0 16px;
  color: var(--visa-text-muted);
  max-width: 60ch;
}
.visa-feature-card__cta {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--visa-accent);
  border-radius: 2px;
  background: var(--visa-accent);
  color: var(--visa-accent-contrast) !important;
  text-decoration: none !important;
  font-size: 14px;
}
.visa-feature-card__cta:hover {
  filter: brightness(0.95);
}

/* --------------------------------------------------------------------------
   Region filter (visa-index.ejs)
   -------------------------------------------------------------------------- */
.visa-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.visa-filters label {
  font-size: 14px;
  color: var(--visa-text-muted);
}
.visa-filters select {
  font: inherit;
  font-size: 14px;
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--visa-border);
  border-radius: 2px;
  background-color: #fff;
  color: var(--visa-text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234b5860'><path fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
}
.visa-filters select:focus-visible {
  outline: 2px solid var(--visa-accent);
  outline-offset: 1px;
}
.visa-filters__available {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--visa-text-muted);
  cursor: pointer;
  margin-left: 8px;
}
.visa-filters__available input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--visa-accent);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Destination grid + cards (visa-index.ejs / partials/visa-country-card.ejs)
   -------------------------------------------------------------------------- */
.visa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.visa-card {
  display: block;
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--visa-border);
  border-radius: 2px;
  background: var(--visa-bg);
  text-decoration: none !important;
  color: var(--visa-text) !important;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.visa-card:hover,
.visa-card:focus-visible {
  border-color: var(--visa-accent);
  transform: translateY(-2px);
}
.visa-card__title {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 6px;
}
.visa-card__region {
  font-size: 12.5px;
  color: var(--visa-text-muted);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Status badges — colours match the site's own .visa-chip.ok / .warn / .bad
   values (an earlier, different visa-checker widget already on the site).
   -------------------------------------------------------------------------- */
.visa-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--visa-radius-pill);
  border: 1px solid transparent;
  line-height: 1.2;
}
.visa-badge--complete { color: var(--visa-success); background: var(--visa-success-bg); border-color: var(--visa-success-border); }
.visa-badge--draft { color: var(--visa-warning); background: var(--visa-warning-bg); border-color: var(--visa-warning-border); }
.visa-badge--stale { color: var(--visa-danger); background: var(--visa-danger-bg); border-color: var(--visa-danger-border); }
.visa-badge--pending { color: var(--visa-neutral); background: var(--visa-neutral-bg); border-color: var(--visa-neutral-border); }

/* --------------------------------------------------------------------------
   Country detail page (visa-country.ejs) — content BELOW the hero, inside
   the plain <section><div class="container">.
   -------------------------------------------------------------------------- */
.visa-flag {
  display: inline-block;
  font-size: 0.8em;
  line-height: 1;
  margin-right: 0.15em;
  vertical-align: 0.02em;
}

.visa-country__status-note {
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--visa-border);
  border-left: 3px solid var(--visa-gold);
  background: var(--visa-card-bg);
  border-radius: 2px;
  font-size: 14.5px;
  color: var(--visa-warning);
}

.visa-country__tools,
.visa-country__at-a-glance {
  margin: 0 0 24px;
  padding: 20px 24px;
  border: 1px solid var(--visa-border);
  background: var(--visa-card-bg);
  border-radius: 2px;
}
.visa-country__tools h2,
.visa-country__at-a-glance h2 {
  margin-top: 0;
  font-size: 18px;
}
.visa-country__tools ul {
  margin: 0;
  padding-left: 20px;
}
.visa-country__tools li {
  margin-bottom: 8px;
  line-height: 1.55;
}
.visa-country__tools li:last-child { margin-bottom: 0; }

.visa-country__at-a-glance dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
  margin: 0;
}
.visa-country__at-a-glance dt {
  font-weight: 600;
  color: var(--visa-text-muted);
  font-size: 13px;
  white-space: nowrap;
  padding-top: 2px;
}
.visa-country__at-a-glance dd {
  margin: 0;
  padding-top: 2px;
}

/* Rendered Markdown body content (destination.html). Deliberately does NOT
   override h2/h3 — those inherit whatever the site's own base heading
   styles already are, matching how journal/guidance/article content
   elsewhere on the site is styled without a page-specific override. Only
   list/table/blockquote spacing is set here, since those are more likely to
   need visa-specific density tweaks. */
.visa-country__body {
  font-size: 15.5px;
  line-height: 1.7;
}
.visa-country__body p { margin: 0 0 16px; }
.visa-country__body ul,
.visa-country__body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.visa-country__body li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.visa-country__body blockquote {
  margin: 20px 0;
  padding: 12px 18px;
  border-left: 3px solid var(--visa-accent);
  background: var(--visa-card-bg);
  color: var(--visa-text-muted);
}
.visa-country__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14.5px;
}
.visa-country__body th,
.visa-country__body td {
  border: 1px solid var(--visa-border);
  padding: 10px 12px;
  text-align: left;
}
.visa-country__body th {
  background: var(--visa-card-bg);
}

.visa-country__sources,
.visa-country__official-links {
  margin: 24px 0;
  padding-top: 24px;
  border-top: 1px solid var(--visa-border);
}
.visa-country__sources h2,
.visa-country__official-links h2 {
  font-size: 17px;
}
.visa-country__sources ul,
.visa-country__official-links ul {
  margin: 0;
  padding-left: 20px;
}
.visa-country__sources li,
.visa-country__official-links li {
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--visa-text-muted);
}
.visa-country__sources a,
.visa-country__official-links a {
  font-weight: 600;
}

.visa-country__coming-soon {
  margin: 0 0 24px;
  padding: 28px 32px;
  border: 1px dashed var(--visa-border);
  background: var(--visa-card-bg);
  border-radius: 2px;
}
.visa-country__coming-soon h2 { margin-top: 0; }

.visa-country__print-bar { margin: 0 0 24px; }
.visa-country__print-bar button {
  font-size: 13.5px;
  padding: 8px 16px;
  border: 1px solid var(--visa-accent);
  border-radius: 2px;
  background: transparent;
  color: var(--visa-accent);
  cursor: pointer;
}
.visa-country__print-bar button:hover {
  background: var(--visa-accent);
  color: var(--visa-accent-contrast);
}
@media print {
  /* VISA_GUIDE_STAGE19_2026: widened from ".visa-country .no-print" to a
     general ".no-print" rule, since the checklists page's print button also
     relies on this class and previously depended on its own now-removed
     inline <style> block for the equivalent rule. */
  .no-print { display: none !important; }
}

/* --------------------------------------------------------------------------
   VISA_GUIDE_STAGE19_2026: coloured status pills for "At a glance" — reuses
   the exact success/warning/danger/neutral colours already established for
   the destination-card badges (.visa-badge--*), so the single most
   important fact in the guide (visa required / visa-free / depends) is
   visible at a glance, using the site's existing colour language rather
   than a new one.
   -------------------------------------------------------------------------- */
.visa-status {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  line-height: 1.3;
}
.visa-status--free { color: var(--visa-success); background: var(--visa-success-bg); border-color: var(--visa-success-border); }
.visa-status--required { color: var(--visa-danger); background: var(--visa-danger-bg); border-color: var(--visa-danger-border); }
.visa-status--depends { color: var(--visa-warning); background: var(--visa-warning-bg); border-color: var(--visa-warning-border); }
.visa-status--unknown { color: var(--visa-neutral); background: var(--visa-neutral-bg); border-color: var(--visa-neutral-border); }

/* --------------------------------------------------------------------------
   VISA_GUIDE_STAGE19_2026: auto-generated "Jump to section" nav, built from
   the guide's own ## headings. Styled quietly (mono label, thin bordered
   box) so it reads as a utility, not another hero-style callout.
   -------------------------------------------------------------------------- */
.visa-jumpnav {
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--visa-border);
  background: var(--visa-card-bg);
}
.visa-jumpnav__label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--visa-text-muted);
  margin-bottom: 8px;
}
.visa-jumpnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.visa-jumpnav li { font-size: 13.5px; }
.visa-jumpnav a { color: var(--visa-accent); text-decoration: none; }
.visa-jumpnav a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   VISA_GUIDE_STAGE19_2026: contextual help disclosures on the DS-160 prep
   workspace, matching the spirit of the official DS-160's own "Help:" side
   panel (see the reference screenshot) adapted to this site's single-column
   layout as a native <details>/<summary> element — no new JS required,
   accessible and keyboard-operable by default.
   -------------------------------------------------------------------------- */
.visa-ds160-prep__help {
  margin: 8px 0 4px;
  padding: 2px 0;
  font-size: 13px;
}
.visa-ds160-prep__help summary {
  cursor: pointer;
  color: var(--visa-accent);
  font-weight: 600;
  list-style: none;
}
.visa-ds160-prep__help summary::-webkit-details-marker { display: none; }
.visa-ds160-prep__help summary::before {
  content: '+ ';
}
.visa-ds160-prep__help[open] summary::before {
  content: '– ';
}
.visa-ds160-prep__help p {
  margin: 6px 0 0;
  padding: 8px 12px;
  background: var(--visa-card-bg);
  border-left: 3px solid var(--visa-accent);
  color: var(--visa-text-muted);
  line-height: 1.5;
}

/* "Copy full summary" sits alongside Save/Export/Clear — same button
   treatment as those, just a different (accent-outline) colour so it reads
   as "informational output" rather than a state-changing action. */
#ds160-prep-copy-summary {
  background: transparent;
  color: var(--visa-accent);
  border-color: var(--visa-accent);
}
#ds160-prep-copy-summary:hover {
  background: var(--visa-card-bg);
}

/* --------------------------------------------------------------------------
   Wait-time module (partials/visa-wait-time-module.ejs)
   -------------------------------------------------------------------------- */
.visa-wait-time {
  margin: 24px 0;
  padding: 22px 26px;
  border: 1px solid var(--visa-border);
  background: var(--visa-card-bg);
  border-radius: 2px;
}
.visa-wait-time h2 { margin-top: 0; font-size: 18px; }
.visa-wait-time__disclaimer {
  padding: 12px 16px;
  border-left: 3px solid var(--visa-gold);
  background: var(--visa-bg);
  font-size: 14px;
  color: var(--visa-warning);
}
.visa-wait-time__meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  font-size: 14px;
  margin: 16px 0;
}
.visa-wait-time__meta dt { font-weight: 600; color: var(--visa-text-muted); }
.visa-wait-time__meta dd { margin: 0; }
.visa-wait-time__cta {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--visa-accent);
  border-radius: 2px;
  color: var(--visa-accent) !important;
  text-decoration: none !important;
  margin: 4px 8px 4px 0;
  font-size: 14px;
}
.visa-wait-time__cta:hover { background: var(--visa-accent); color: var(--visa-accent-contrast) !important; }
.visa-wait-time__cta--primary { background: var(--visa-accent); color: var(--visa-accent-contrast) !important; }
.visa-wait-time__note { font-size: 13px; color: var(--visa-text-muted); }

/* ==========================================================================
   The sections below (internal audit dashboard, DS-160 prep workspace,
   checklists page) were NOT part of this restructuring pass — no screenshots
   of those pages were reviewed, so their existing Stage 17 styling is kept
   as-is to avoid changing pages that weren't shown to be wrong. If you'd
   like the same hero/kicker/section treatment applied there too, say so and
   that can follow as its own small, focused stage.
   ========================================================================== */

main.visa-audit { max-width: 1080px; margin: 0 auto; padding: 24px; }
.visa-audit__note {
  display: inline-block;
  background: var(--visa-neutral-bg);
  border: 1px solid var(--visa-neutral-border);
  color: var(--visa-neutral);
  font-size: 13px;
  padding: 5px 12px;
  margin-bottom: 24px;
}
.visa-audit__summary,
.visa-audit__links {
  background: var(--visa-card-bg);
  border: 1px solid var(--visa-border);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.visa-audit__summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px 24px;
}
.visa-audit__summary li { font-size: 12.5px; color: var(--visa-text-muted); }
.visa-audit__summary li strong { display: block; font-size: 26px; color: var(--visa-text); }
.visa-audit__links h2 { margin-top: 0; font-size: 17px; }
.visa-audit__links > ul {
  list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap;
  gap: 8px 28px; font-size: 13px; color: var(--visa-text-muted);
}
.visa-audit__links h3 { font-size: 15px; margin-bottom: 8px; }
.visa-audit__links h3 + ul { list-style: none; margin: 0; padding: 0; }
.visa-audit__links h3 + ul li {
  background: var(--visa-danger-bg); border: 1px solid var(--visa-danger-border);
  padding: 10px 14px; margin-bottom: 8px; font-size: 13px; word-break: break-all;
}
.visa-audit__links h3 + ul a { color: var(--visa-danger); font-weight: 600; }
.visa-audit__region h2 { font-size: 18px; border-bottom: 1px solid var(--visa-border); padding-bottom: 8px; }
.visa-audit__region h3 { font-size: 14px; color: var(--visa-accent); margin: 24px 0 8px; }
.visa-audit__region ul { margin: 0 0 8px; padding-left: 20px; columns: 2; column-gap: 32px; }
.visa-audit__region li { font-size: 14px; margin-bottom: 6px; break-inside: avoid; }
.visa-audit__issues h2 {
  font-size: 14px; margin-top: 28px; margin-bottom: 8px; padding: 6px 12px;
  background: var(--visa-neutral-bg); display: inline-block;
}
.visa-audit__issues ul { margin: 0 0 8px; padding-left: 20px; }
.visa-audit__issues li { font-size: 14px; margin-bottom: 5px; }

main.visa-ds160-prep { max-width: 960px; margin: 0 auto; padding: 24px; }
.visa-ds160-prep__header { padding-bottom: 16px; border-bottom: 1px solid var(--visa-border); margin-bottom: 24px; }
.visa-ds160-prep__notice { background: var(--visa-card-bg); border: 1px solid var(--visa-border); border-left: 3px solid var(--visa-gold); padding: 16px 20px; margin-bottom: 24px; }
.visa-ds160-prep__notice p { font-size: 14.5px; line-height: 1.6; margin: 0 0 10px; }
.visa-ds160-prep__notice p:last-child { margin-bottom: 0; }
.visa-ds160-prep__status { min-height: 22px; font-size: 13px; color: var(--visa-success); font-weight: 600; }
#ds160-prep-form fieldset { background: var(--visa-card-bg); border: 1px solid var(--visa-border); padding: 20px 22px; margin: 0 0 20px; }
#ds160-prep-form legend { font-weight: 600; font-size: 14px; padding: 0 6px; color: var(--visa-accent); }
#ds160-prep-form label { display: block; font-size: 13px; font-weight: 600; color: var(--visa-text-muted); margin: 14px 0 6px; }
#ds160-prep-form label:first-of-type { margin-top: 4px; }
#ds160-prep-form input[type="text"], #ds160-prep-form input[type="date"], #ds160-prep-form textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 10px 12px;
  border: 1px solid var(--visa-border); background: #fff; color: var(--visa-text);
}
#ds160-prep-form textarea { resize: vertical; }
.visa-ds160-prep__hint { font-size: 13.5px; color: var(--visa-text-muted); background: var(--visa-neutral-bg); padding: 10px 14px; margin: 8px 0; }
.visa-ds160-prep__checkbox { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 400 !important; font-size: 14.5px !important; margin: 0 0 10px !important; }
.visa-ds160-prep__checkbox input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--visa-accent); flex-shrink: 0; }
.visa-ds160-prep__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.visa-ds160-prep__actions button {
  font-weight: 600; font-size: 13.5px; padding: 10px 20px; border: 1px solid var(--visa-accent);
  background: var(--visa-accent); color: var(--visa-accent-contrast); cursor: pointer;
}
#ds160-prep-clear { background: transparent; color: var(--visa-danger) !important; border-color: var(--visa-danger-border); }
#ds160-prep-export { background: transparent; color: var(--visa-accent); }

main.visa-checklists { max-width: 960px; margin: 0 auto; padding: 24px; }
.visa-checklists__header { padding-bottom: 16px; border-bottom: 1px solid var(--visa-border); margin-bottom: 24px; }
.visa-checklists__notice { background: var(--visa-neutral-bg); border: 1px solid var(--visa-neutral-border); padding: 16px 20px; margin-bottom: 24px; }
.visa-checklists__notice p { font-size: 14.5px; margin: 0; line-height: 1.6; }
.visa-checklists__print-bar { margin-bottom: 24px; }
.visa-checklists__print-bar button { font-size: 13.5px; padding: 8px 16px; border: 1px solid var(--visa-accent); background: transparent; color: var(--visa-accent); cursor: pointer; }
main.visa-checklists h2 { font-size: 18px; border-bottom: 1px solid var(--visa-border); padding-bottom: 8px; }
main.visa-checklists ul { padding-left: 20px; line-height: 1.8; }
.visa-checklists__table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14.5px; }
.visa-checklists__table th, .visa-checklists__table td { border: 1px solid var(--visa-border); padding: 10px 12px; text-align: left; }
.visa-checklists__table th { background: var(--visa-card-bg); }
.visa-checklists__table tbody tr:nth-child(even) { background: rgba(0,0,0,0.02); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .visa-grid { grid-template-columns: 1fr 1fr; }
  .visa-audit__region ul { columns: 1; }
  .visa-country__at-a-glance dl,
  .visa-wait-time__meta { grid-template-columns: 1fr; }
  .visa-ds160-prep__actions { flex-direction: column; }
  .visa-ds160-prep__actions button { width: 100%; }
}
@media (max-width: 420px) {
  .visa-grid { grid-template-columns: 1fr; }
}
/* --------------------------------------------------------------------------
   VISA_GUIDE_STAGE20_2026: cached official wait-time table
   -------------------------------------------------------------------------- */
.visa-wait-time__table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13.5px;
}
.visa-wait-time__table-caption {
  text-align: left;
  font-size: 12px;
  color: var(--visa-text-muted);
  margin-bottom: 6px;
  caption-side: top;
}
.visa-wait-time__table th,
.visa-wait-time__table td {
  border: 1px solid var(--visa-border);
  padding: 8px 10px;
  text-align: left;
}
.visa-wait-time__table th {
  background: var(--visa-bg);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   VISA_GUIDE_STAGE22_2026: visa-method badges + filter dropdown
   -------------------------------------------------------------------------- */
.visa-method-badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border: 1px solid var(--visa-border);
  color: var(--visa-text-muted);
  margin-top: 6px;
}
.visa-country__at-a-glance .visa-method-badge {
  margin-top: 0;
  font-size: 12.5px;
}
#visa-method-filter {
  font: inherit;
  font-size: 0.92rem;
  padding: 0.5rem 2rem 0.5rem 0.9rem;
  border: 1px solid var(--visa-border);
  border-radius: var(--visa-radius, 0);
  background-color: var(--visa-bg);
  color: var(--visa-text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234b5860'><path fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 1rem;
}
#visa-method-filter:focus-visible {
  outline: 2px solid var(--visa-accent);
  outline-offset: 1px;
}

/* --------------------------------------------------------------------------
   VISA_GUIDE_STAGE24_2026: suggestion box (general + per-country)
   -------------------------------------------------------------------------- */
.visa-suggestions {
  margin-top: 8px;
}
.visa-suggestions h2 {
  font-size: 18px;
}
.visa-suggestions__intro {
  color: var(--visa-text-muted);
  font-size: 14.5px;
  max-width: 60ch;
  margin-bottom: 16px;
}
.visa-suggestions__form {
  max-width: 520px;
  border: 1px solid var(--visa-border);
  background: var(--visa-card-bg);
  padding: 20px 24px;
}
.visa-suggestions__form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--visa-text-muted);
  margin: 12px 0 4px;
}
.visa-suggestions__form label:first-of-type {
  margin-top: 0;
}
.visa-suggestions__form input[type="text"],
.visa-suggestions__form textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 14.5px;
  padding: 8px 10px;
  border: 1px solid var(--visa-border);
  background: var(--visa-bg);
  color: var(--visa-text);
}
.visa-suggestions__form textarea {
  resize: vertical;
}
.visa-suggestions__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.visa-suggestions__form button {
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border: 1px solid var(--visa-accent);
  background: var(--visa-accent);
  color: var(--visa-accent-contrast, #fff);
  cursor: pointer;
}
.visa-suggestions__form button:hover {
  filter: brightness(0.96);
}
.visa-suggestions__form button:disabled {
  opacity: 0.6;
  cursor: default;
}
.visa-suggestions__status {
  margin-top: 10px;
  font-size: 13.5px;
  min-height: 18px;
}
.visa-suggestions__list {
  margin-top: 24px;
  max-width: 520px;
}
.visa-suggestions__list h3 {
  font-size: 14px;
  color: var(--visa-text-muted);
  margin-bottom: 10px;
}
.visa-suggestions__item {
  padding: 12px 0;
  border-top: 1px solid var(--visa-border);
}
.visa-suggestions__item-meta {
  font-size: 12px;
  color: var(--visa-text-muted);
  margin-bottom: 4px;
}
.visa-suggestions__item-msg {
  font-size: 14.5px;
  line-height: 1.5;
  white-space: pre-wrap;
}

@media print {
  .visa-checklists__notice, .visa-checklists__header { border: none; }
  .visa-checklists__table th { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
