/* home.css — AraiWa Core Experience HOME (wp-araiwa-core-experience-implementation-1).

   Visual source of truth: WP-ARAIWA-CORE-EXPERIENCE-DESIGN-MOCKS-2026-09-23.html (ClaudeCode 8d569e7).
   Layered on events.css (the single token sheet) + shell.css; uses ONLY existing tokens plus the two badge
   pairs the design specified (Recheck amber, Paid neutral). rem-based type (scales with the user's text size;
   no maximum-scale anywhere), >= 44px targets, visible focus on light AND dark surfaces, reduced-motion safe
   (no transitions/animations at all), forced-colors resilient (borders on chips, cards, sheets).
   Vermilion appears only on the dark band (brand lock); indigo is the functional light-surface accent. */

:root {
  --warn-ink: #7A4A0A; --warn-bg: #FDF1DE;          /* Recheck: 7.1:1 */
  --paid-ink: #3D4452; --paid-bg: #ECE6DA;          /* Paid: 8.2:1 */
  --hm-gutter: 16px;
  --hm-chip-line: rgba(255, 255, 255, 0.4);         /* passive chip / date button edge on the band: ~3.6:1 */
}

.hm-main { max-width: none; margin: 0; padding: 0 0 32px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- header on the dark band (design §4.1) ------------------------------------------------------------- */
.hm-head { display: flow-root; background: var(--band-bg); color: var(--band-ink); padding: 4px var(--hm-gutter) 14px; }
.hm-head:has(+ .chiprow) { padding-bottom: 0; }                     /* the band continues into the sticky chip row */
.hm-head .dest { margin: 0; font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.02em; }
.dest-btn {
  font: inherit; font-weight: 700; color: var(--band-ink); background: none; border: 0; padding: 0;
  min-height: 44px; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; letter-spacing: inherit;
}
.dest-btn .chev { color: var(--band-ink-2); flex: none; }
.hm-head .ctx {
  margin: 0 0 10px; font-size: 0.875rem; line-height: 1.4; color: var(--band-ink-2);
  display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; min-height: 20px;
}
.hm-head a:focus-visible, .hm-head button:focus-visible {
  outline: 3px solid var(--band-ink); outline-offset: 2px; border-radius: 8px;       /* indigo < 3:1 on the band */
}
.ctx-clear { color: var(--band-ink) !important; text-decoration: underline; }
.ctx-clear[hidden] { display: none; }

/* sticky chip row (design §4.1: the app bar + big title scroll away, the chips stay) */
.chiprow {
  display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 15;
  background: var(--band-bg); padding: 4px var(--hm-gutter) 12px;
  padding-left: max(var(--hm-gutter), calc((100% - 1200px) / 2)); padding-right: max(var(--hm-gutter), calc((100% - 1200px) / 2));
}
.chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0;
  -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent);
  padding: 2px 0;
}
.chips::-webkit-scrollbar { display: none; }
.chips.at-end { -webkit-mask-image: linear-gradient(to left, #000 88%, transparent); mask-image: linear-gradient(to left, #000 88%, transparent); }
.chip {
  flex: none; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--hm-chip-line);
  background: transparent; color: var(--band-ink-2); font: 500 0.9375rem/1 var(--font);
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.chip:hover { color: var(--band-ink); }
.chip.on { background: var(--band-ink); color: var(--band-bg); border-color: var(--band-ink); font-weight: 650; }
.chip:focus-visible { outline: 3px solid var(--accent-bright) !important; outline-offset: 1px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; flex: none;
  background: none; border: 0; color: inherit; border-radius: 22px; cursor: pointer; font-size: 1.25rem; padding: 0;
}
.icon-btn[hidden] { display: none; }
.icon-btn.cal { border: 1px solid var(--hm-chip-line); color: var(--band-ink); }
.icon-btn.dark { color: var(--ink); }

/* ---- results head (design §4.3) --------------------------------------------------------------------- */
.hm-panel { outline: none; max-width: 1200px; margin: 0 auto; }
.rhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px var(--hm-gutter) 4px; }
.r-txt { min-width: 0; }
.r-count { margin: 0; font: 650 1.0625rem/1.3 var(--font); color: var(--ink); }
.r-sub { margin: 2px 0 0; font-size: 0.8125rem; color: var(--ink-2); }
.seg { display: flex; border: 1px solid var(--border-2); border-radius: 12px; overflow: hidden; background: var(--surface); flex: none; }
.seg a {
  min-width: 56px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px;
  font: 600 0.875rem var(--font); color: var(--ink-2); text-decoration: none;
}
.seg a.on { background: var(--ink); color: #FFFFFF; }
.seg a:focus-visible { outline: 3px solid var(--indigo); outline-offset: -3px; }
.seg a.on:focus-visible { outline-color: #FFFFFF; }                   /* indigo would be ~1.4:1 on the dark fill */

.sec { font: 700 0.75rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin: 14px 0 8px; }
.sec span { font-weight: 500; }

/* ---- glance card (design §4.4) ------------------------------------------------------------------------ */
.hm-list { padding: 0 var(--hm-gutter); display: flex; flex-direction: column; gap: 10px; }
.hm-list > .sec:first-child { margin-top: 10px; }
.gc {
  position: relative; display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 8px 12px 12px; min-height: 80px;
}
.gc-thumb {
  flex: none; width: 56px; height: 56px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: #F1ECE3; color: var(--ink-2);
}
.gc.cat-music .gc-thumb { background: #F1ECF8; color: var(--cat-music); }
.gc.cat-art_culture .gc-thumb { background: #EAF1F7; color: var(--cat-art_culture); }
.gc.cat-food_markets .gc-thumb { background: #EAF3EE; color: var(--cat-food_markets); }
.gc.cat-sports .gc-thumb { background: #F7EBEB; color: var(--cat-sports); }
.gc.cat-family_community .gc-thumb { background: #F5EFE4; color: var(--cat-family_community); }
.gc.cat-nightlife_special .gc-thumb { background: #F5EBF5; color: var(--cat-nightlife_special); }
.gc.cat-festivals_public .gc-thumb { background: #F9EDE7; color: var(--cat-festivals_public); }
.gc.cat-business_exhibitions .gc-thumb { background: #ECF0F7; color: var(--cat-business_exhibitions); }
.gc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-right: 36px; }
.gc-kicker {
  order: -1; margin: 0 0 3px; font: 700 0.75rem/1.35 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2);
}
.gc-kicker:empty { display: none; }
/* P2: a Tonight / Today member whose checked hours have passed ("Earlier tonight") — dimmed, still readable, still saveable */
.gc.is-ended { opacity: 0.62; }
.gc.is-ended .gc-kicker { color: var(--ink-2); }
/* P2: the honest Now line (how Now is worked out / how many of today's records carry no checked close) */
.hm-note { margin: 4px var(--hm-gutter) 0; font-size: 0.8125rem; color: var(--ink-2); line-height: 1.45; }
.hm-note[hidden] { display: none; }
.hm-note a { color: inherit; min-height: 44px; display: inline-flex; align-items: center; }
.gc-title {
  margin: 0; font: 600 1.03rem/1.3 var(--font);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gc-link { color: var(--ink); text-decoration: none; }
.gc-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.gc-link:focus-visible { outline: none; }
.gc-link:focus-visible::after { outline: 3px solid var(--indigo); outline-offset: 2px; }
.gc:hover { border-color: var(--border-2); }
.gc-meta { margin: 6px 0 0; display: flex; align-items: center; gap: 6px; font-size: 0.84rem; color: var(--ink-2); min-width: 0; }
.gc-venue { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.badge { flex: none; font: 600 0.75rem/1 var(--font); padding: 4px 7px; border-radius: 6px; }
.b-free { background: var(--stamp-bg); color: var(--stamp-ink); }
.b-paid { background: var(--paid-bg); color: var(--paid-ink); }
.b-tbc { color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--border-2); }
.b-warn { background: var(--warn-bg); color: var(--warn-ink); }
.gc-save {
  position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: none; color: var(--ink-2);
  z-index: 2; display: flex; align-items: center; justify-content: center; border-radius: 22px; cursor: pointer; padding: 0;
}
.gc-save .evsave-ic { font-size: 1.375rem; line-height: 1; }
.gc-save .evsave-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gc-save[aria-pressed="true"] { color: var(--indigo); }

/* ---- secondary blocks ------------------------------------------------------------------------------ */
.sig-strip {
  display: flex; align-items: center; gap: 8px; margin: 8px var(--hm-gutter) 2px; padding: 10px 12px; min-height: 44px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 0.9rem;
}
.sig-t { flex: 1; min-width: 0; }
.sev { flex: none; font: 700 0.66rem/1.5 var(--mono); padding: 1px 6px; border-radius: 5px; text-transform: uppercase; letter-spacing: 0.04em; }
.sev-high, .sev-critical { background: #FCE4E0; color: #8F2412; }
.sev-medium { background: var(--warn-bg); color: var(--warn-ink); }
.sev-low, .sev-info, .sev-watch { background: #E8ECF4; color: var(--indigo); }
.sev-standing { background: transparent; color: var(--indigo); box-shadow: inset 0 0 0 1px #C9D0DE; }
.knowcard {
  display: block; margin: 16px var(--hm-gutter) 0; background: var(--surface-tint); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 14px; color: var(--ink); text-decoration: none; min-height: 44px;
}
.knowcard[hidden] { display: none; }
.k-k { margin: 0; font: 700 0.72rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.k-t { margin: 4px 0 0; font: 600 1rem/1.35 var(--font); }
.upnext { margin: 18px var(--hm-gutter) 0; }
.upnext[hidden] { display: none; }
.up-list { list-style: none; margin: 0; padding: 0; }
.up-row {
  display: flex; flex-direction: column; min-height: 44px; justify-content: center; padding: 6px 0;
  border-top: 1px solid var(--border); color: var(--ink); text-decoration: none;
}
.up-k { font: 700 0.72rem/1.4 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.up-t { font-size: 0.94rem; line-height: 1.35; }
.more {
  color: var(--indigo); font: 600 0.9rem var(--font); min-height: 44px; display: inline-flex; align-items: center; text-decoration: none;
}
.more:hover { text-decoration: underline; }
.honest { margin: 12px var(--hm-gutter); font-size: 0.8125rem; color: var(--ink-2); }
.honest a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---- zero-result + not-covered (design §4.12) ----------------------------------------------------------- */
.zero, .notcov { margin: 16px var(--hm-gutter) 0; padding: 16px; background: var(--surface); border-radius: 14px; border: 1px solid var(--border); }
.zero[hidden] { display: none; }
.z-t { font: 650 1.125rem/1.3 var(--font); margin: 0; }
.z-s { margin: 6px 0 12px; color: var(--ink-2); font-size: 0.9rem; line-height: 1.45; }
.alt {
  display: flex; width: 100%; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 12px;
  border: 1px solid var(--border-2); border-radius: 12px; margin-bottom: 8px; background: var(--surface);
  color: var(--ink); font: 600 0.94rem var(--font); cursor: pointer; text-align: left;
}
.alt b { background: var(--ink); color: #FFFFFF; border-radius: 12px; padding: 2px 9px; font-size: 0.8125rem; }
a.alt { text-decoration: none; }
.z-actions { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.link-btn { background: none; border: 0; color: var(--indigo); font: 600 0.9rem var(--font); min-height: 44px; padding: 0; cursor: pointer; }
.sigrow {
  display: flex; gap: 8px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--border);
  text-decoration: none; color: var(--ink); font-size: 0.9rem; line-height: 1.4; min-height: 44px;
}
.btn-sec {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--border-2); background: var(--surface); color: var(--ink); font: 600 0.9rem var(--font); text-decoration: none; cursor: pointer;
}
.btn-pri {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--ink); background: var(--ink); color: #FFFFFF; font: 600 0.94rem var(--font); cursor: pointer;
}
.btn-pri:disabled { opacity: 0.55; cursor: default; }
.btn-pri:focus-visible, .btn-sec:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }

/* ---- sheets (modal dialogs, design §4.5 / 4.8 / 4.9) -------------------------------------------------- */
.aw-scrim { position: fixed; inset: 0; background: rgba(20, 17, 14, 0.45); z-index: 40; }
.aw-scrim[hidden], .aw-sheet[hidden] { display: none; }
.aw-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; background: var(--surface); color: var(--ink);
  border-radius: 18px 18px 0 0; border-top: 1px solid var(--border);
  padding: 4px var(--hm-gutter) calc(20px + env(safe-area-inset-bottom, 0px));
  max-height: 80vh; max-height: 80dvh; overflow: auto; overscroll-behavior: contain;
}
.aw-sheet.tall { max-height: 90vh; max-height: 90dvh; }
html.aw-sheet-open { overflow: hidden; }
.grab { width: 36px; height: 5px; border-radius: 3px; background: var(--border-2); margin: 4px auto; }
.sh-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sh-head-end { justify-content: flex-end; margin-bottom: -8px; }
.sh-head h2 { font: 700 1.25rem var(--font); margin: 0; outline: none; }
.drow {
  display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: 58px; padding: 8px 0;
  border-bottom: 1px solid var(--border); text-decoration: none; color: var(--ink);
}
.drow.is-current { color: var(--ink-2); }
.d-n { font: 600 1.0625rem var(--font); }
.d-c { grid-column: 1; font-size: 0.84rem; color: var(--ink-2); }
.d-ok { grid-row: 1 / span 2; grid-column: 2; color: var(--indigo); font-weight: 700; font-size: 1.125rem; }
.cov { font-size: 0.875rem; color: var(--ink-2); margin: 14px 0 0; line-height: 1.45; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.pill {
  min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--border-2); background: var(--surface);
  display: inline-flex; align-items: center; font: 600 0.875rem var(--font); color: var(--ink); cursor: pointer;
}
.cal-m { display: flex; justify-content: space-between; align-items: center; margin: 2px 0; }
.cal-title { margin: 0; font: 650 1rem var(--font); }
.cal-g { display: flex; flex-direction: column; gap: 1px; }
.cal-r { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; text-align: center; }
.cal-h { font: 600 0.75rem var(--font); color: var(--ink-2); padding: 2px 0; }
.cal-d {
  width: 100%; min-height: 44px; border: 0; background: none; font: 500 0.94rem var(--font); color: var(--ink);
  border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; cursor: pointer;
}
.cal-d:disabled { color: #9A948A; cursor: default; }
.cal-d.sel { background: var(--ink); color: #FFFFFF; }
.dots { display: flex; gap: 2px; height: 5px; margin-top: 1px; }
.dots i { width: 4px; height: 4px; border-radius: 2px; background: var(--indigo); }
.cal-d.sel .dots i { background: #FFFFFF; }
.cal-l { font-size: 0.78rem; color: var(--ink-2); margin: 6px 0 10px; }
.cal-l i { display: inline-block; width: 6px; height: 6px; border-radius: 3px; background: var(--indigo); vertical-align: middle; }
.aw-sheet .btn-pri[data-date-apply] { width: 100%; }
.dsh-kicker { margin: 4px 0 2px; }
.dsh-title { font: 700 1.3rem/1.25 var(--font); margin: 0 0 8px; outline: none; }
.dsh-sum { font-size: 0.97rem; line-height: 1.45; color: var(--ink); margin: 0 0 12px; }
.facts { display: grid; grid-template-columns: 76px 1fr; gap: 8px 10px; margin: 0 0 14px; font-size: 0.9rem; line-height: 1.4; }
.facts dt { color: var(--ink-2); font-weight: 600; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts dd.warn { color: var(--warn-ink); background: var(--warn-bg); padding: 4px 8px; border-radius: 8px; }
.dsh-sub { color: var(--ink-2); }
.dsh-act { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.dsh-save .evsave-ic { font-size: 1.1rem; }
.aw-toast {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 45;
  bottom: calc(var(--aw-tabbar-h, 0px) + 12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 14px; background: var(--ink); color: #FFFFFF; border-radius: 12px;
  padding: 0 8px 0 16px; min-height: 48px; font-size: 0.94rem; max-width: calc(100vw - 32px);
}
.aw-toast[hidden] { display: none; }
.toast-undo { color: #FFFFFF; text-decoration: underline; padding: 0 8px; }
.toast-undo:focus-visible { outline: 3px solid #FFFFFF; outline-offset: -3px; border-radius: 8px; }

/* ---- Signals landing ------------------------------------------------------------------------------ */
.sig-head { padding-top: 16px; padding-bottom: 18px; }
.sig-head .dest { margin-bottom: 4px; }
.sig-panel { padding: 4px var(--hm-gutter) 0; max-width: var(--maxw); }
.sig-block { margin: 6px 0 14px; }
.sig-panel .hub-pulse { margin-top: 18px; }
/* the reused Area Pulse controls get full-size targets on /signals/ (their original home-hub sizes were < 44px) */
.sig-panel .hub-seeall, .sig-panel .hub-chip { min-height: 44px; display: inline-flex; align-items: center; }

/* ---- Map view (design §4.14; the MapLibre canvas is progressive — the list below is the equivalent) --- */
.hm-map-wrap { position: relative; margin-top: 8px; }
.hm-map { height: 290px; background: #EAE6DC; }
.hm-map-note { margin: 6px var(--hm-gutter) 0; font-size: 0.8125rem; color: var(--ink-2); }
.hm-map-status { position: absolute; left: 8px; top: 8px; z-index: 2; font-size: 0.78rem; background: rgba(255,255,255,0.92); padding: 3px 8px; border-radius: 6px; color: var(--ink-2); }
.hm-map-status[hidden] { display: none; }
body[data-home-view="map"] .hm-list { margin-top: 4px; }

/* ---- Interest A2 (wp-20260927-araiwa-interest-category-impl; design addendum A-I.4) -------------------------
   ONE text control + ONE token (G-AI: no boxed pill row, no colour-coded category pills). Markup exists only while
   the build switch ARAIWA_HOME_INTEREST is on, so these rules are inert on every other page. Existing tokens only. */
.int-btn, .int-token {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; margin: 2px 0 0; padding: 0;
  background: none; border: 0; font: 600 0.9rem var(--font); color: var(--indigo); cursor: pointer; text-align: left;
}
.int-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.int-btn[hidden], .int-token[hidden], .int-quick[hidden], .int-row[hidden], .z-next[hidden] { display: none; }
.int-btn .chev { color: var(--indigo); flex: none; }
.int-token { color: var(--ink); padding: 0 10px; margin: 6px 0; border: 1px solid var(--ink-2); border-radius: 8px; gap: 6px; }
.int-token svg { color: var(--ink-2); flex: none; }
.int-btn:focus-visible, .int-token:focus-visible, .int-quick:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.int-quick, .int-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; width: 100%; min-height: 52px;
  padding: 6px 0; border: 0; border-bottom: 1px solid var(--border); background: none; color: var(--ink);
  font: 600 1rem var(--font); text-align: left; cursor: pointer;
}
.int-quick { margin-top: 6px; }
.int-set { border: 0; margin: 10px 0 0; padding: 0; min-width: 0; }
.int-legend { font: 600 0.84rem var(--font); color: var(--ink-2); padding: 0; margin: 0 0 2px; }
.int-row input { width: 22px; height: 22px; margin: 0; accent-color: var(--indigo); }
.int-row input:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.int-row { grid-template-columns: auto 20px 1fr auto; }
.int-ic { display: inline-flex; color: var(--c, var(--ink-2)); }
.int-n { font: 500 0.84rem var(--font); color: var(--ink-2); white-space: nowrap; }
.int-row .int-l, .int-quick .int-l { min-width: 0; overflow-wrap: anywhere; }
.z-next { margin: 4px 0 0; font-size: 0.9rem; color: var(--ink); line-height: 1.45; }
@media (forced-colors: active) {
  .int-token, .int-quick, .int-row { border: 1px solid CanvasText; }
}

/* ---- responsive (design §9) ---------------------------------------------------------------------------- */
@media (min-width: 601px) {
  :root { --hm-gutter: clamp(20px, 4vw, 40px); }
  .hm-head { padding-top: 14px; }
  .hm-head > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
  .hm-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .hm-list > .sec { grid-column: 1 / -1; }
  .aw-sheet { left: auto; right: 0; top: 0; bottom: 0; width: min(420px, 100vw); max-height: none; border-radius: 0;
    border-top: 0; border-left: 1px solid var(--border); padding-top: 16px; }
  .aw-sheet .grab { display: none; }
  .aw-toast { bottom: 24px; }
  .hm-map { height: min(60vh, 560px); }
}
@media (min-width: 1024px) {
  .hm-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-head .dest { font-size: 2.1rem; }
}

/* ---- accessibility layers ------------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .chip, .icon-btn.cal, .gc, .seg, .aw-sheet, .alt, .pill, .knowcard, .sig-strip { border: 1px solid CanvasText; }
  .chip.on, .seg a.on, .cal-d.sel { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .gc-link:focus-visible::after { outline: 3px solid Highlight; }
}

/* ==== wp-20260927-araiwa-i18n-impl E6 — Thai: no caps / tracking (every uppercase / letter-spacing rule of this file
   has a :lang(th) twin; linted by test_th_typography_css.py). Scoped to :lang(th): English rendering untouched. */
.hm-head .dest:lang(th) { letter-spacing: 0; }
.sec:lang(th) { text-transform: none; letter-spacing: 0; }
.gc-kicker:lang(th) { text-transform: none; letter-spacing: 0; }
.sev:lang(th) { text-transform: none; letter-spacing: 0; }
.k-k:lang(th) { text-transform: none; letter-spacing: 0; }
.up-k:lang(th) { text-transform: none; letter-spacing: 0; }
