/* WhataHotel Price Intelligence widget.
   Style tokens are CSS custom properties so the host page can restyle the
   widget to match its own design language without touching this file. */

.wahpi {
  --wahpi-fg: #101623;
  --wahpi-muted: #5b6472;
  --wahpi-line: #e4e7ec;
  --wahpi-bg: #ffffff;
  --wahpi-bg-soft: #f6f8fa;
  --wahpi-accent: #0b5cad;
  --wahpi-accent-deep: #093f76;
  --wahpi-good: #17784e;
  --wahpi-warn: #94600a;
  --wahpi-bad: #a8322a;
  --wahpi-radius: 14px;
  --wahpi-shadow: 0 1px 2px rgba(16, 22, 35, 0.05), 0 8px 28px rgba(16, 22, 35, 0.07);
  --wahpi-font:
    ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  font-family: var(--wahpi-font);
  color: var(--wahpi-fg);
  background: var(--wahpi-bg);
  border: 1px solid var(--wahpi-line);
  border-radius: var(--wahpi-radius);
  box-shadow: var(--wahpi-shadow);
  padding: 22px 22px 20px;
  max-width: 680px;
  line-height: 1.45;
  box-sizing: border-box;
}

.wahpi *,
.wahpi *::before,
.wahpi *::after {
  box-sizing: inherit;
}

.wahpi h2,
.wahpi h3 {
  margin: 0;
  font-weight: 600;
}
.wahpi h2 {
  font-size: 1.15rem;
}
.wahpi h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wahpi-muted);
  margin-bottom: 8px;
}

.wahpi__section {
  padding: 16px 0;
  border-top: 1px solid var(--wahpi-line);
}
.wahpi__section:first-child {
  padding-top: 0;
  border-top: none;
}

/* A0 · WhataRate! Check branding
   The official name, always this hierarchy. The LIVE marker restates the
   product's basis (live rates only — no history exists for this source). */
.wahpi__brand {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--wahpi-line);
  margin-bottom: 4px;
}
.wahpi__brand-row {
  /* Centered on every device — the title used to sit left on phones. The
     LIVE pill floats to the corner so the wordmark itself stays centred. */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.wahpi__brand-name {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-align: center;
}
.wahpi__brand-sub {
  text-align: center;
}
.wahpi__brand-live {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.wahpi__brand-what {
  color: var(--wahpi-accent-deep);
}
.wahpi__brand-check {
  color: var(--wahpi-fg);
}
.wahpi__brand-sub {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wahpi-muted);
  margin-top: 3px;
}
.wahpi__brand-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--wahpi-good);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 3px 10px;
}
.wahpi__brand-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: wahpi-pulse 2.4s ease-in-out infinite;
}
@keyframes wahpi-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wahpi__brand-live-dot {
    animation: none;
  }
}

/* A · subject */
.wahpi__subject-meta {
  color: var(--wahpi-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}
.wahpi__terms {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 9px;
  background: var(--wahpi-bg-soft);
  border-radius: 999px;
  font-size: 0.8rem;
}
.wahpi__auto-room {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--wahpi-muted);
}

/* B · price */
.wahpi__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.wahpi__price-nightly {
  font-size: 2.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.wahpi__price-unit,
.wahpi__price-total {
  color: var(--wahpi-muted);
  font-size: 0.9rem;
}
.wahpi__tax {
  font-size: 0.82rem;
  color: var(--wahpi-muted);
  margin-top: 2px;
}
.wahpi__effective {
  margin-top: 8px;
  font-size: 0.88rem;
  background: var(--wahpi-bg-soft);
  padding: 8px 10px;
  border-radius: 8px;
}

/* C · verdict */
.wahpi__verdict {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.wahpi__metric {
  background: var(--wahpi-bg-soft);
  border-radius: 8px;
  padding: 12px;
}
.wahpi__metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wahpi-muted);
}
.wahpi__metric-value {
  font-size: 1.7rem;
  font-weight: 650;
  line-height: 1.1;
  margin-top: 2px;
}
.wahpi__metric-value--band-only {
  font-size: 1.15rem;
  padding-top: 8px;
}
.wahpi__metric-sub {
  font-size: 0.84rem;
  margin-top: 2px;
}
.wahpi__metric-note {
  font-size: 0.76rem;
  color: var(--wahpi-muted);
  margin-top: 6px;
}

/* Colour is reinforcement only — every band also carries a text label. */
.wahpi--good {
  color: var(--wahpi-good);
}
.wahpi--warn {
  color: var(--wahpi-warn);
}
.wahpi--bad {
  color: var(--wahpi-bad);
}
.wahpi--neutral {
  color: var(--wahpi-fg);
}

.wahpi__recommendation {
  border: 1px solid currentColor;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* The verdict sentence reads across the card, under the two metrics. */
  grid-column: 1 / -1;
}
.wahpi__recommendation-label {
  font-size: 1.15rem;
  font-weight: 650;
}
.wahpi__recommendation-sub {
  font-size: 0.84rem;
  color: var(--wahpi-muted);
  margin-top: 2px;
}

/* D · explanation */
.wahpi__explanation {
  font-size: 0.98rem;
}

/* D2 · summary, premium justification, reputation */
.wahpi__summary {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

.wahpi__premium {
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 10px 12px;
}
.wahpi__premium-label {
  font-size: 0.92rem;
  font-weight: 650;
}
.wahpi__premium-text {
  font-size: 0.86rem;
  color: var(--wahpi-muted);
  margin-top: 3px;
}
/* Stated beside the verdict so a thin dataset can never wear a firm claim. */
.wahpi__premium-confidence {
  font-size: 0.76rem;
  color: var(--wahpi-muted);
  margin-top: 6px;
}

/* Compact and secondary by design: fine text and small stars, so the row
   never competes with the WhataRate score above it. */
.wahpi__reputation {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 0.84rem;
}
.wahpi__reputation-label,
.wahpi__reputation-sep,
.wahpi__reputation-count {
  color: var(--wahpi-muted);
}
.wahpi__reputation-rating {
  font-weight: 650;
}

/* Dynamic-fill stars. Each cell is a muted base ★ with a width-clipped
   filled ★ over it, so 4.3 paints four stars and 30% of the fifth — the
   glyph count never lies about the rating. Decoration only: the container
   carries the accessible label and the number always sits beside it. */
.wahpi__stars {
  display: inline-flex;
  line-height: 1;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transform: translateY(1px);
}
.wahpi__star {
  position: relative;
  display: inline-block;
}
.wahpi__star-bg {
  color: var(--wahpi-line);
}
.wahpi__star-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #d99a06;
}
.wahpi__premium-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--wahpi-muted);
  margin-bottom: 4px;
}
.wahpi__premium-subhead {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--wahpi-muted);
  margin-top: 10px;
}
.wahpi__premium-availability {
  font-size: 0.84rem;
  color: var(--wahpi-fg);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed currentColor;
}

/* An option laid beside the choice, never a pitch over it. */
.wahpi__alternative {
  border: 1px solid var(--wahpi-border, #ddd);
  border-radius: 8px;
  padding: 10px 12px;
}
.wahpi__alternative-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.wahpi__alternative-name {
  font-weight: 650;
}
.wahpi__alternative-price {
  font-weight: 650;
  white-space: nowrap;
}
.wahpi__alternative-save {
  font-size: 0.86rem;
  margin-top: 2px;
}
.wahpi__alternative-rating,
.wahpi__alternative-reason {
  font-size: 0.82rem;
  color: var(--wahpi-muted);
  margin-top: 4px;
}
.wahpi__alternative-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

/* Stated, not implied: a rating sitting beside a score reads as part of it. */
.wahpi__reputation-note {
  font-size: 0.76rem;
  color: var(--wahpi-muted);
  flex-basis: 100%;
}

/* E · reasons */
.wahpi__reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.wahpi__reason {
  display: flex;
  gap: 9px;
  font-size: 0.92rem;
  align-items: flex-start;
}
.wahpi__reason-mark {
  font-weight: 700;
  min-width: 1.1em;
  text-align: center;
}

/* F · history */
.wahpi__chart-controls {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.wahpi__chart-btn {
  font: inherit;
  font-size: 0.82rem;
  padding: 4px 11px;
  border: 1px solid var(--wahpi-line);
  background: var(--wahpi-bg);
  border-radius: 999px;
  cursor: pointer;
  color: inherit;
}
.wahpi__chart-btn[aria-pressed='true'] {
  background: var(--wahpi-fg);
  color: var(--wahpi-bg);
  border-color: var(--wahpi-fg);
}
.wahpi__chart {
  width: 100%;
  height: 168px;
  display: block;
  overflow: visible;
}
.wahpi__chart-summary {
  font-size: 0.85rem;
  color: var(--wahpi-muted);
  margin-top: 8px;
}
.wahpi__table-toggle {
  font: inherit;
  font-size: 0.82rem;
  background: none;
  border: none;
  padding: 0;
  color: var(--wahpi-accent);
  cursor: pointer;
  text-decoration: underline;
}
.wahpi__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 10px;
}
.wahpi__table th,
.wahpi__table td {
  text-align: left;
  padding: 4px 8px;
  border-bottom: 1px solid var(--wahpi-line);
}

/* G · stats */
.wahpi__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}
.wahpi__stat-label {
  font-size: 0.78rem;
  color: var(--wahpi-muted);
}
.wahpi__stat-value {
  font-size: 1.05rem;
  font-weight: 600;
}

/* H · provenance — class retained for the history model's line */
.wahpi__provenance {
  font-size: 0.84rem;
  color: var(--wahpi-muted);
}
.wahpi__caveats {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.wahpi__caveat {
  background: var(--wahpi-bg-soft);
  border-left: 3px solid var(--wahpi-warn);
  padding: 7px 10px;
  border-radius: 0 6px 6px 0;
  font-size: 0.86rem;
  color: var(--wahpi-fg);
}

/* I · actions — BOOK THIS RATE leads, GET HELP supports. */
.wahpi__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.wahpi__btn {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--wahpi-accent);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: filter 120ms ease;
  flex: 1 1 auto;
}
.wahpi__btn:focus-visible {
  outline: 2px solid var(--wahpi-accent);
  outline-offset: 2px;
}
.wahpi__btn--primary {
  background: linear-gradient(180deg, var(--wahpi-accent), var(--wahpi-accent-deep));
  border-color: var(--wahpi-accent-deep);
  color: #fff;
  flex-grow: 2;
}
.wahpi__btn--primary:hover {
  filter: brightness(1.06);
}
.wahpi__btn--secondary {
  background: transparent;
  color: var(--wahpi-accent);
}
.wahpi__btn--secondary:hover {
  background: var(--wahpi-bg-soft);
}
.wahpi__btn--disabled {
  border-color: var(--wahpi-line);
  color: var(--wahpi-muted);
  background: var(--wahpi-bg-soft);
  cursor: not-allowed;
}
.wahpi__actions-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--wahpi-muted);
}

/* Loading skeleton — never a partial verdict. */
.wahpi__skeleton {
  background: linear-gradient(90deg, #eef0f3 25%, #f7f8fa 50%, #eef0f3 75%);
  background-size: 200% 100%;
  animation: wahpi-shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
}
@keyframes wahpi-shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wahpi__skeleton {
    animation: none;
  }
}

.wahpi__notice {
  padding: 14px;
  background: var(--wahpi-bg-soft);
  border-radius: 8px;
  font-size: 0.94rem;
}

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

/* ── progressive disclosure ────────────────────────────────────────────────
   The reasoning, history chart and comparison panel sit behind this. See the
   note above renderDetails in widget.js: embedded in a real hotel page the
   widget ran taller than the room card it describes. Provenance and caveats
   are deliberately NOT in here — docs/mvp/08 §H makes them mandatory in every
   state. */
.wahpi__details {
  padding-top: 0;
}
.wahpi__disclosure {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: #1f3f66;
  text-align: left;
  background: #f5f8fc;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  cursor: pointer;
}
.wahpi__disclosure:hover {
  background: #eef4fb;
}
/* Keyboard users must be able to see where they are. */
.wahpi__disclosure:focus-visible {
  outline: 2px solid #1a63b8;
  outline-offset: 2px;
}
.wahpi__disclosure-caret {
  font-size: 0.7rem;
  color: #5b6270;
  flex: none;
}
.wahpi__details-panel {
  margin-top: 4px;
}
.wahpi__details-panel[hidden] {
  display: none;
}

/* ── the live-market model ───────────────────────────────────────────────
   The headline figure is the customer's 0–10 reading. It is deliberately the
   largest thing in the widget, with the confidence word beside it at the same
   visual weight — rule 1: never a score without its confidence. */
.wahpi__live-score {
  font-size: 2.4rem;
  letter-spacing: -0.02em;
}
.wahpi__live-score .wahpi__metric-sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--wahpi-muted);
}
.wahpi__live-confidence {
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  padding-top: 8px;
}

.wahpi__signals {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wahpi__signal {
  background: var(--wahpi-bg-soft);
  border-radius: 8px;
  padding: 10px 12px;
}
.wahpi__signal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.wahpi__signal-name {
  font-weight: 600;
  font-size: 0.9rem;
}
/* An excluded signal says so here rather than showing a share of a score it
   did not contribute to. */
.wahpi__signal-weight {
  font-size: 0.76rem;
  color: var(--wahpi-muted);
  white-space: nowrap;
}
.wahpi__signal-detail {
  font-size: 0.84rem;
  color: var(--wahpi-muted);
  margin-top: 3px;
}

/* The staged loading line under the skeleton. Present only while a request is
   in flight; on-demand collection can take several seconds, and a wait with a
   changing sentence reads as work where a static skeleton reads as a hang. */
.wahpi__loading-status {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b6b6b;
  font-style: italic;
}

/* ── section label (shared by the rate picker) ──────────────────────────
   The room-category dropdown this section once styled was removed
   (2026-08-25): the category is fixed by the Intel button the guest
   pressed, never re-chosen in the panel. The label style survives because
   the rate-plan picker heads itself with it. */

.wahpi__room-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wahpi-muted);
  margin-bottom: 6px;
}

/* ── preference chips (Phase 6) ─────────────────────────────────────────
   "What matters most to you?" — an input, so it sits above the price.
   Picking one re-requests; it never re-labels. */

.wahpi__pref {
  margin: 14px 0 0;
}

.wahpi__pref-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wahpi-muted);
  margin-bottom: 6px;
}

.wahpi__pref-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wahpi__pref-chip {
  font-family: inherit;
  font-size: 12.5px;
  line-height: 1.2;
  padding: 6px 10px;
  border: 1px solid var(--wahpi-line);
  border-radius: 999px;
  background: var(--wahpi-bg);
  color: var(--wahpi-fg);
  cursor: pointer;
}

.wahpi__pref-chip:hover {
  border-color: var(--wahpi-accent);
}

.wahpi__pref-chip--active {
  background: var(--wahpi-accent);
  border-color: var(--wahpi-accent);
  color: #fff;
  font-weight: 600;
}

.wahpi__pref-chip:focus-visible {
  outline: 2px solid var(--wahpi-accent);
  outline-offset: 1px;
}

/* ── personalized reading (Phase 6) ─────────────────────────────────────
   Same facts, the guest's lens. Neutral surface on purpose: this is a
   tailored interpretation, never a second verdict competing with the score. */

.wahpi__personal {
  border: 1px solid var(--wahpi-line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--wahpi-bg-soft);
}

.wahpi__personal-insight {
  font-size: 0.9rem;
  margin-top: 2px;
}

.wahpi__personal-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.wahpi__personal-item {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 0.86rem;
  margin-top: 4px;
}

.wahpi__personal-mark {
  flex: 0 0 auto;
  font-weight: 700;
}

.wahpi__personal-text {
  flex: 1;
}

/* ── rate-plan chooser (Phase 7) ────────────────────────────────────────
   Rendered only when the chosen room has more than one bookable offer.
   Picking one re-requests with rate_id; the whole answer recomputes. */

.wahpi__rate-picker {
  margin: 14px 0 0;
}

.wahpi__rate-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wahpi__rate-option {
  font-family: inherit;
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--wahpi-line);
  border-radius: 10px;
  background: var(--wahpi-bg);
  color: var(--wahpi-fg);
  cursor: pointer;
  text-align: left;
}

.wahpi__rate-option:hover {
  border-color: var(--wahpi-accent);
}

.wahpi__rate-option--active {
  border-color: var(--wahpi-accent);
  box-shadow: inset 0 0 0 1px var(--wahpi-accent);
  background: var(--wahpi-bg-soft);
  font-weight: 600;
}

.wahpi__rate-option:focus-visible {
  outline: 2px solid var(--wahpi-accent);
  outline-offset: 1px;
}

.wahpi__rate-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wahpi__rate-price {
  white-space: nowrap;
  font-weight: 650;
}

/* ── small screens ──────────────────────────────────────────────────────
   The widget lives in a hotel-page column; below ~420px the metric grid
   stacks, the price stays the loudest number, and both CTAs go full width
   with comfortable touch targets. Never horizontal scroll. */

@media (max-width: 480px) {
  .wahpi {
    padding: 16px 14px 14px;
  }
  .wahpi__price-nightly {
    font-size: 1.85rem;
  }
  .wahpi__verdict {
    grid-template-columns: 1fr;
  }
  .wahpi__actions {
    flex-direction: column;
  }
  .wahpi__btn {
    width: 100%;
    padding: 14px 18px;
  }
  .wahpi__brand-name {
    font-size: 1.18rem;
  }
  .wahpi__rate-name {
    white-space: normal;
  }
}

/* ── why you might choose this hotel (Phase 6.X) ────────────────────────
   The decision's other half, in the space the redundant verdict sub-copy
   used to fill. Evidence chips only — never marketing badges. */

.wahpi__why {
  border: 1px solid var(--wahpi-line);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--wahpi-bg-soft);
}

.wahpi__why-headline {
  font-size: 0.95rem;
  font-weight: 650;
  margin-top: 2px;
}

.wahpi__why-text {
  font-size: 0.9rem;
  margin-top: 4px;
}

.wahpi__why-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.wahpi__why-signal {
  font-size: 0.76rem;
  padding: 3px 9px;
  border: 1px solid var(--wahpi-line);
  border-radius: 999px;
  background: var(--wahpi-bg);
  color: var(--wahpi-fg);
}

/* ── SEE MORE (partial first paint) ─────────────────────────────────────
   The decision third shows first; the analysis expands in place. */

.wahpi__see-more {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  width: 100%;
  padding: 10px;
  border: 1px dashed var(--wahpi-line);
  border-radius: 10px;
  background: var(--wahpi-bg-soft);
  color: var(--wahpi-accent);
  cursor: pointer;
}
.wahpi__see-more:hover {
  border-color: var(--wahpi-accent);
}
.wahpi__see-more:focus-visible {
  outline: 2px solid var(--wahpi-accent);
  outline-offset: 1px;
}

.wahpi__alternative-link {
  color: var(--wahpi-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wahpi__alternative-view {
  margin-top: 10px;
  flex: 0 0 auto;
  width: auto;
  padding: 8px 14px;
  font-size: 0.85rem;
}
