/* =========================================================================
   Nesake Travel Convert — design tokens
   Signature: the converter is styled as a boarding-pass / ticket stub, split
   by a perforated line, with a monospace "barcode" rate strip along the
   bottom — travel-document language instead of a generic calculator card.
   ========================================================================= */

:root {
  /* Color */
  --ink: #2B2018;
  --paper: #F7F1E6;
  --paper-raised: #FFFCF6;
  --brand: #C1592B;
  --brand-dark: #9C4620;
  --brand-tint: #F3E1D0;
  --brass: #B98A1D;
  --brass-tint: #FBF0D9;
  --stamp-red: #B23A2E;
  --saffron: #E08A2C;
  --line: rgba(43, 32, 24, 0.14);
  --line-strong: rgba(43, 32, 24, 0.28);
  --muted: #8A7A68;
  --shadow: 0 10px 30px -12px rgba(43, 32, 24, 0.20);

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F5EDE0;
    --paper: #1C1510;
    --paper-raised: #241B14;
    --brand: #E2895A;
    --brand-dark: #C96B3D;
    --brand-tint: rgba(226, 137, 90, 0.16);
    --brass: #E3BE63;
    --brass-tint: rgba(227, 190, 99, 0.12);
    --stamp-red: #E37568;
    --saffron: #F0A94C;
    --line: rgba(245, 237, 224, 0.14);
    --line-strong: rgba(245, 237, 224, 0.26);
    --muted: #B3A290;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] {
  --ink: #F5EDE0; --paper: #1C1510; --paper-raised: #241B14;
  --brand: #E2895A; --brand-dark: #C96B3D; --brand-tint: rgba(226, 137, 90, 0.16);
  --brass: #E3BE63; --brass-tint: rgba(227, 190, 99, 0.12);
  --stamp-red: #E37568; --saffron: #F0A94C;
  --line: rgba(245, 237, 224, 0.14); --line-strong: rgba(245, 237, 224, 0.26);
  --muted: #B3A290; --shadow: 0 10px 30px -12px rgba(0,0,0,0.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

/* The [hidden] attribute must always win over any component's own display
   rule (e.g. .modal-backdrop sets display:flex to lay itself out when
   visible). Without this, toggling `hidden` via JS on an element that also
   has an author `display` rule does nothing, because same-specificity
   author CSS beats the browser's built-in [hidden] styling. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.wrap { max-width: 640px; margin: 0 auto; padding: 0 20px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
  border-radius: var(--radius-sm); transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

a { color: var(--brand-dark); }
:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------- Header ---------------- */

.site-header { border-bottom: 1px solid var(--line); background: var(--paper-raised); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand); color: #fff; font-size: 16px; transform: rotate(-8deg);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.brand-tool { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.header-nav a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); }
.header-nav a:hover { color: var(--brand-dark); }

/* ---------------- Hero ---------------- */

.hero { padding: 32px 20px 8px; text-align: center; }
.eyebrow {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--brand-dark); margin: 0 0 10px;
}
h1 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 6vw, 40px);
  margin: 0 0 6px; letter-spacing: -0.01em;
}
.hero-tagline { font-size: 16px; color: var(--muted); margin: 0 0 14px; font-weight: 600; }

.status-line {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted);
  font-family: var(--font-mono); margin: 0;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-dot.live { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.status-dot.offline { background: var(--stamp-red); box-shadow: 0 0 0 3px rgba(178, 58, 46, 0.14); }

/* ---------------- Sections / cards ---------------- */

.section { padding: 22px 20px; }
.section-title {
  font-family: var(--font-display); font-size: 21px; font-weight: 600; margin: 0 0 4px;
}
.section-sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; }

.card {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow);
}
.card-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 0 0 4px; }
.card-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; }

.two-col { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---------------- Form fields ---------------- */

.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
@media (max-width: 380px) { .form-grid { grid-template-columns: 1fr; } }

.select, .text-input {
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 12px; min-height: 44px; width: 100%;
}
.select:focus, .text-input:focus { border-color: var(--brand); }

.travel-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
@media (max-width: 380px) { .travel-fields { grid-template-columns: 1fr; } }

.travel-current { font-size: 13px; color: var(--muted); margin: 12px 0 0; font-family: var(--font-mono); }

.btn {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: none; font-weight: 700;
  font-size: 14.5px; cursor: pointer; font-family: var(--font-body);
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--muted); border: 1.5px solid var(--line); margin-top: 10px; }
.btn-ghost:hover { color: var(--stamp-red); border-color: var(--stamp-red); }

/* ---------------- The ticket (signature element) ---------------- */

.ticket {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ticket-stub { padding: 20px 22px; }
.ticket-row-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ticket-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }

.currency-pill {
  display: inline-flex; align-items: center; gap: 6px; background: var(--brand-tint);
  color: var(--brand-dark); border: none; border-radius: 999px; padding: 7px 12px 7px 10px;
  font-weight: 800; font-size: 14.5px; cursor: pointer; min-height: 36px;
}
.currency-pill .chev { opacity: 0.7; }

.amount-row { display: flex; align-items: baseline; gap: 6px; }
.amount-symbol { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--muted); }
.amount-input, .amount-output {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 8vw, 40px);
  border: none; background: transparent; color: var(--ink); width: 100%; padding: 0;
  min-height: 44px; letter-spacing: -0.01em;
}
.amount-input:focus { outline: none; }
.amount-input::placeholder { color: var(--line-strong); }
.amount-output { display: block; }

.input-error { color: var(--stamp-red); font-size: 13px; font-weight: 700; margin: 6px 0 0; }

.perforation {
  position: relative; display: flex; align-items: center; justify-content: center;
  border-top: 2px dashed var(--line-strong); border-bottom: 2px dashed var(--line-strong);
  background: var(--brand-tint); padding: 4px;
}
.notch {
  position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); transform: translateY(-50%);
}
.notch-left { left: -11px; }
.notch-right { right: -11px; }

.swap-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--paper-raised);
  background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center;
  margin: 4px 0; box-shadow: 0 4px 10px rgba(193, 89, 43, 0.35);
}
.swap-btn:hover { background: var(--brand-dark); }
.swap-btn:active { transform: scale(0.94); }

.ticket-barcode {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--ink); color: var(--paper); padding: 12px 22px;
  background-image: repeating-linear-gradient(
    90deg, rgba(255,255,255,0.12) 0 2px, transparent 2px 5px
  );
}
.ticket-barcode .mono { font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.refresh-btn {
  display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.14);
  color: var(--paper); border: none; border-radius: 999px; padding: 6px 12px; font-size: 12.5px;
  font-weight: 700; cursor: pointer; min-height: 32px;
}
.refresh-btn:hover { background: rgba(255,255,255,0.24); }
.refresh-btn.spinning svg { animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.rate-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin: 12px 4px 0; }
.disclaimer {
  font-size: 12.5px; color: var(--muted); background: var(--brass-tint); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 12px; margin: 12px 0 0;
}
.disclaimer strong { color: var(--stamp-red); }
.fetch-error {
  font-size: 13px; color: var(--stamp-red); background: rgba(178, 58, 46, 0.09);
  border: 1px solid rgba(178, 58, 46, 0.3); border-radius: var(--radius-sm); padding: 10px 12px; margin: 12px 0 0;
}

.fav-recent-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-btn {
  background: var(--paper-raised); border: 1.5px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13.5px; cursor: pointer; min-height: 40px;
}
.chip-btn[aria-pressed="true"] { background: var(--brass-tint); border-color: var(--brass); color: var(--brass); }
.chip-btn:disabled { opacity: 0.7; cursor: default; }

.trend-note {
  margin-top: 12px; padding: 12px 14px; border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm); background: var(--paper);
}
.trend-note-title { font-weight: 700; font-size: 13.5px; margin: 0 0 4px; }
.trend-note-body { font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---------------- Quick amounts ---------------- */

.quick-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-btn {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--paper-raised); color: var(--ink); font-weight: 700; font-size: 14.5px; cursor: pointer;
}
.quick-btn:hover, .quick-btn:focus-visible { border-color: var(--brand); color: var(--brand-dark); }

/* ---------------- Vietnam section ---------------- */

.vn-section { background: var(--brand-tint); border-radius: var(--radius-lg); margin: 0 12px; padding: 22px; }
@media (min-width: 660px) { .vn-section { margin: 0 auto; max-width: 664px; } }
.vn-grid { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
.vn-row {
  display: flex; align-items: center; justify-content: space-between; background: var(--paper-raised);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
}
.vn-row .vn-amount { font-family: var(--font-mono); font-weight: 700; }
.vn-row .vn-equiv { font-weight: 800; color: var(--brand-dark); }
.vn-help { border-top: 1px dashed var(--line-strong); padding-top: 16px; }
.vn-help h3 { font-family: var(--font-display); font-size: 16px; margin: 0 0 4px; }
.vn-help-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 14px; }
.vn-help-list .mono { font-family: var(--font-mono); background: var(--paper-raised); padding: 2px 6px; border-radius: 5px; margin-right: 6px; }

/* ---------------- Rate card ---------------- */

.rate-card { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
@media (max-width: 400px) { .rate-card { grid-template-columns: 1fr; } }
.rate-card-col { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px; }
.rate-card-label { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.rate-card-list { display: grid; gap: 8px; }
.rate-card-item { display: flex; justify-content: space-between; font-weight: 700; font-size: 14.5px; }
.rate-card-item span:first-child { color: var(--muted); font-weight: 600; }

/* ---------------- Result boxes (budget / fee / markup) ---------------- */

.result-box {
  background: var(--brand-tint); border-radius: var(--radius-md); padding: 14px 16px; display: grid; gap: 8px;
}
.result-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; }
.result-line span { color: var(--muted); font-weight: 600; }
.result-line strong { font-family: var(--font-mono); font-size: 16px; }
.result-line-total { border-top: 1px dashed var(--line-strong); padding-top: 8px; margin-top: 2px; }
.result-line-total strong { color: var(--brand-dark); font-size: 18px; }

/* ---------------- Expenses ---------------- */

.expense-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 18px; }
@media (max-width: 480px) { .expense-form { grid-template-columns: 1fr; } .expense-form .btn { width: 100%; } }

.expense-summary-title { font-size: 15px; font-family: var(--font-display); margin: 0 0 10px; }
.expense-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.expense-list .empty-state { color: var(--muted); font-size: 13.5px; padding: 4px 0; }
.expense-item {
  display: flex; align-items: center; justify-content: space-between; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; font-size: 14px;
}
.expense-item-main { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.expense-item-amount { font-family: var(--font-mono); font-weight: 700; }
.expense-delete {
  background: none; border: none; color: var(--muted); cursor: pointer; font-size: 16px; padding: 4px 8px;
  min-width: 32px; min-height: 32px;
}
.expense-delete:hover { color: var(--stamp-red); }

.expense-total-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 4px 2px; }
.expense-total-row strong { font-family: var(--font-mono); }
.expense-total-converted { color: var(--muted); font-size: 13px; }

/* ---------------- Travel money tools (collapsible accordion) ---------------- */

.tools-list { display: grid; gap: 10px; }
.tool-item {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 4px 16px;
}
.tool-item summary {
  cursor: pointer; font-weight: 700; font-size: 15.5px; padding: 15px 0; list-style: none;
  display: flex; align-items: center; gap: 10px; min-height: 44px;
}
.tool-item summary::-webkit-details-marker { display: none; }
.tool-icon { font-size: 18px; flex-shrink: 0; }
.tool-chevron {
  margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform 0.15s ease; flex-shrink: 0;
}
.tool-item[open] .tool-chevron { transform: rotate(-135deg); }
.tool-item[open] summary { border-bottom: 1px solid var(--line); }
.tool-body { padding: 16px 0 18px; }

.preset-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

.budget-cat-label { margin: 4px 0 8px; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
@media (min-width: 480px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }

.result-line-sub { margin-top: -4px; }
.result-line-sub span, .result-line-sub strong { font-size: 12.5px; color: var(--muted); font-weight: 600; }

.breakdown-list { display: grid; gap: 6px; margin: 14px 0 6px; font-size: 13.5px; }
.breakdown-row {
  display: flex; justify-content: space-between; padding: 8px 12px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; font-weight: 600;
}
.breakdown-total { font-weight: 800; background: var(--brand-tint); border-color: var(--brand); color: var(--brand-dark); }

.dcc-verdict { font-weight: 700; font-size: 14px; padding: 11px 14px; border-radius: var(--radius-sm); margin: 12px 0 0; }
.verdict-good { background: var(--brand-tint); color: var(--brand-dark); border: 1px solid var(--brand); }
.verdict-neutral { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }

/* ---------------- Favorites / recents pill lists ---------------- */

.pill-list { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; }
.pill-list .empty-state { color: var(--muted); font-size: 13.5px; }
.pill-item {
  display: flex; align-items: center; justify-content: space-between; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; font-size: 14px; font-weight: 600;
}
.pill-item button {
  background: none; border: none; color: var(--muted); cursor: pointer; font-size: 15px; min-width: 32px; min-height: 32px;
}
.pill-item button:hover { color: var(--stamp-red); }
.pill-item .pill-main { display: flex; align-items: center; gap: 6px; cursor: pointer; background: none; border: none; font: inherit; color: inherit; padding: 0; }

/* ---------------- Ad slot ---------------- */

.ad-slot {
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius-md); min-height: 100px;
  display: grid; place-items: center; color: var(--muted); font-size: 12.5px; letter-spacing: 0.04em;
  text-transform: uppercase; font-family: var(--font-mono);
}

/* ---------------- SEO content ---------------- */

.content-section h2 {
  font-family: var(--font-display); font-size: 19px; margin: 26px 0 8px;
}
.content-section h2:first-child { margin-top: 0; }
.content-section p { color: var(--ink); font-size: 15px; line-height: 1.7; margin: 0 0 4px; }

.faq-list { display: grid; gap: 10px; margin-top: 12px; }
.faq-item {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 16px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--brand); flex-shrink: 0; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------------- Footer ---------------- */

.site-footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 26px 0 40px; }
.footer-inner { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.footer-attribution { color: var(--muted); font-size: 11.5px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.footer-nav a { font-size: 13px; text-decoration: none; color: var(--muted); font-weight: 600; }
.footer-nav a:hover { color: var(--brand-dark); }

.mono { font-family: var(--font-mono); }

/* ---------------- Currency picker modal ---------------- */

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(43, 32, 24, 0.55); display: flex; align-items: flex-end;
  justify-content: center; z-index: 200;
}
@media (min-width: 560px) { .modal-backdrop { align-items: center; } }

.modal {
  background: var(--paper-raised); width: 100%; max-width: 480px; max-height: 82vh;
  border-radius: 20px 20px 0 0; padding: 18px 18px 12px; display: flex; flex-direction: column;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}
@media (min-width: 560px) { .modal { border-radius: var(--radius-lg); max-height: 70vh; } }

.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.modal-head h2 { font-family: var(--font-display); font-size: 18px; margin: 0; }
.modal-close {
  background: var(--paper); border: none; border-radius: 50%; width: 36px; height: 36px; cursor: pointer;
  font-size: 15px; color: var(--muted);
}
.currency-search { margin-bottom: 10px; }
.currency-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; }
.currency-option {
  width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: none;
  padding: 12px 8px; font-size: 15px; text-align: left; cursor: pointer; border-radius: var(--radius-sm);
  min-height: 44px;
}
.currency-option:hover, .currency-option:focus-visible { background: var(--brand-tint); }
.currency-option .flag { font-size: 20px; }
.currency-option .code { font-weight: 800; margin-right: 6px; }
.currency-option .name { color: var(--muted); font-size: 13.5px; }

/* ---------------- Install toast ---------------- */

.install-toast {
  position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 420px; margin: 0 auto;
  background: var(--ink); color: var(--paper); border-radius: var(--radius-md); padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3); z-index: 150;
}
.install-toast p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.install-toast-actions { display: flex; gap: 10px; }
.install-toast .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,0.3); margin-top: 0; }

/* ---------------- Responsive niceties ---------------- */

@media (min-width: 720px) {
  .wrap { padding: 0 24px; }
  .section { padding: 28px 24px; }
}
