/* Visa hub: same booth palette, stamp cards, no horizontal overflow. */
.visa-hero h1{max-width:22ch}
.visa-answer{font-size:1.15rem;max-width:66ch}
.visa-stamp{display:inline-block;font:600 12px var(--m,ui-monospace,monospace);letter-spacing:.04em;text-transform:uppercase;padding:4px 8px;border-radius:999px;border:1.5px solid currentColor;white-space:nowrap}
.visa-stamp-ok{color:#08774A;border-color:#08774A;background:rgba(8,119,74,.08)}
.visa-stamp-need{color:#C8323C;border-color:#C8323C;background:rgba(200,50,60,.08)}
.visa-stamp-mid{color:#0E5E63;border-color:#0E5E63;background:rgba(14,94,99,.08)}
.visa-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin-top:16px}
.visa-grid-home{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.visa-card{display:flex;flex-direction:column;gap:10px;padding:16px 16px 18px;background:var(--surface,#FFFCF8);border:1.5px solid var(--line,#e6dfd4);border-radius:12px;text-decoration:none;color:inherit;box-shadow:0 4px 0 var(--ink,#1B1B1F);min-width:0}
.visa-card:hover{transform:translateY(-1px)}
.visa-card strong{font-size:16px;line-height:1.3;max-width:100%}
.visa-card-meta{font:13px var(--m,ui-monospace,monospace);color:var(--mute,#6b665e)}
.visa-fees{list-style:none;margin:0;padding:0}
.visa-fees li{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line,#e6dfd4);min-width:0}
.visa-fees b{font-family:var(--m,ui-monospace,monospace);white-space:nowrap}
.visa-cta{margin:32px 0 16px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.visa-hub-links{margin-top:16px}
.visa-panel h2{margin-bottom:8px}
.visa-buy .btn{margin:8px 0}
.visa-home{margin-top:8px}
.visa-cols,.visa-grid,.visa-hero,.visa-fees li,.visa-card{overflow-wrap:anywhere;word-break:break-word}
@media (max-width:800px){
  .visa-cols.cols, html[dir="rtl"] .visa-cols.cols, html[dir="rtl"] .cols.visa-cols{
    grid-template-columns:1fr !important;gap:24px
  }
  .visa-cols .aside{position:static}
  .visa-fees li{flex-wrap:wrap}
}
/* Arabic RTL: system Arabic faces, no Latin display font, no sideways overflow. */
html[dir="rtl"] body,html[dir="rtl"] button,html[dir="rtl"] input,html[dir="rtl"] select,html[dir="rtl"] textarea{
  font-family:"Noto Naskh Arabic","Noto Sans Arabic","Segoe UI","Tahoma",sans-serif;
}
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] .wm,html[dir="rtl"] .brand-line .name{
  font-family:"Noto Naskh Arabic","Noto Sans Arabic","Segoe UI","Tahoma",sans-serif;
}
html[dir="rtl"]{overflow-x:hidden}
html[dir="rtl"] .crumbs li+li:before{margin-right:0;margin-left:8px}
html[dir="rtl"] .callout{border-left:0;border-right:2px solid var(--accent,#C8323C);padding-left:0;padding-right:16px}
html[dir="rtl"] .visa-cta{align-items:flex-start}

/* RTL: stop skip-link and physical left/right rules from widening the page. */
html[dir="rtl"] ,html[dir="rtl"] body{overflow-x:hidden;max-width:100%}
html[dir="rtl"] .skip{left:auto;right:-9999px}
html[dir="rtl"] .skip:focus{right:16px;left:auto;top:12px}
html[dir="rtl"] .hd .tools{margin-left:0;margin-inline-start:auto}
html[dir="rtl"] .lang ul{right:auto;left:0}
html[dir="rtl"] .wrap{box-sizing:border-box;max-width:min(var(--w,1120px),100%)}
@media (min-width:801px){
  html[dir="rtl"] .cols{grid-template-columns:minmax(0,1fr) 280px}
}
html[dir="rtl"] .visa-stamp{letter-spacing:0;text-transform:none}
html[dir="rtl"] .nav{min-width:0;flex-wrap:wrap}
html[dir="rtl"] .hd .wrap{gap:16px;min-width:0}
html[dir="rtl"] .aside,html[dir="rtl"] .aside a,html[dir="rtl"] .src{overflow-wrap:anywhere;word-break:break-word}
@media (max-width:800px){
  html[dir="rtl"] .hd .wrap{height:auto;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
}

/* Pack checkout: Gumroad (USD) by default; Kenya sees the waitlist until Paystack is wired. html[data-country] is set by /api/geo in app.js. */
.pack-ke{display:none}
.pack-intl{display:block}
html[data-country="KE"] .pack-intl{display:none}
html[data-country="KE"] .pack-ke{display:block}
.visa-pack-cta .pack-intl .btn,.visa-pack-cta .pack-ke .btn{margin-top:8px}

.visa-pass-index{display:flex;flex-wrap:wrap;gap:8px 14px;margin:12px 0 24px}
.visa-pass-index a{font-size:0.95rem}
#pack-pay-form .field{margin:12px 0}
#pack-pay-form input[type=email]{width:100%;max-width:24rem}
#pack-pay-done{margin-top:12px}
