@font-face {
  font-family: "Archivo Narrow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/archivo-narrow-700.woff2?v=52") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #202820;
  --mute: #586057;
  --paper: #f7f4ef;
  --ticket: #ffffff;
  --tile: #eeece5;
  --enamel: #203c32;
  --cta: #aa3d21;
  --cta-ink: #ffffff;
  --line: #d8ddd2;
  --focus: #a43b20;
  --shadow: 0 2px 8px rgb(32 40 32 / 0.04);
  --accent-soft: #f3dfd6;
  --green-soft: #e1e9df;
  --display-font: "Archivo Narrow", "Arial Narrow", -apple-system, sans-serif;
  --safe-top: var(--safe-area-inset-top, env(safe-area-inset-top, 0px));
  --safe-right: var(--safe-area-inset-right, env(safe-area-inset-right, 0px));
  --safe-bottom: var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
  --safe-left: var(--safe-area-inset-left, env(safe-area-inset-left, 0px));
  --app-height: 100dvh;
  --gutter: 16px;
  --bottom-nav-height: calc(4.5rem + var(--safe-bottom));
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2f4eb;
  --mute: #b8c1b3;
  --paper: #151c18;
  --ticket: #1f2923;
  --tile: #2c382f;
  --enamel: #d9ebc2;
  --cta: #ffab8a;
  --cta-ink: #241d16;
  --line: #465449;
  --focus: #ffbc90;
  --shadow: 0 2px 8px rgb(0 0 0 / 0.12);
  --accent-soft: #422a23;
  --green-soft: #293c31;
}

/* Foundation */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  scroll-padding-block: calc(var(--app-bar-height, 8rem) + 16px) calc(var(--bottom-nav-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  accent-color: var(--enamel);
}

body.sheet-open {
  overflow: hidden;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  font-family: var(--display-font);
  font-weight: 700;
}

a {
  color: var(--enamel);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  min-height: 48px;
  cursor: pointer;
  touch-action: manipulation;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--mute);
  border-radius: 12px;
  color: var(--ink);
  background: var(--ticket);
  font-size: 1rem;
  line-height: 1.5;
}

input[type="checkbox"],
input[type="radio"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0;
}

::placeholder {
  color: var(--mute);
  opacity: 1;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

:disabled,
[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

button:not(:disabled):active,
:where(.more-link, .help-steps a, .bottom-nav-btn, .view-switch a, .calendar-option, .source a):active {
  opacity: 0.8;
}

.icon {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip-link {
  position: fixed;
  top: calc(8px + var(--safe-top));
  left: calc(16px + var(--safe-left));
  z-index: 100;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--cta-ink);
  background: var(--cta);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Shared controls */

.header-action-btn,
.primary-btn,
.secondary-btn,
.text-button,
.icon-button,
.filters-btn,
.chip,
.chat-chip,
.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.interest-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.interest-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 84px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: var(--green-soft);
  color: var(--enamel);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  overflow-wrap: anywhere;
}

.interest-choice[data-interest="Concerts"] {
  background: #203c32 url("/assets/music-art.svg?v=52") center / cover;
  color: #ffffff;
}

.interest-choice[data-interest="Arts"] {
  background: var(--accent-soft);
  color: var(--cta);
}

.interest-symbol {
  display: flex;
}

.interest-symbol .icon {
  width: 26px;
  height: 26px;
}

.interest-choice[aria-pressed="true"] {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

.interest-choice[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 13px;
  width: 7px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.primary-btn,
#chatbot-send {
  background: var(--cta);
  color: var(--cta-ink);
  border-color: var(--cta);
}

.header-action-btn,
.secondary-btn,
.filters-btn {
  border-color: var(--line);
  background: var(--ticket);
}

.text-button,
.detail-link {
  color: var(--enamel);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.icon-button {
  flex: none;
  padding: 11px;
  border-radius: 50%;
}

.chip,
.chat-chip {
  border-color: var(--line);
  border-radius: 999px;
  background: var(--ticket);
  font-size: 0.875rem;
}

.chip[aria-checked="true"],
.chip[aria-pressed="true"],
.chip[data-active="true"] {
  border-color: var(--enamel);
  color: var(--paper);
  background: var(--enamel);
}

.multi-chip {
  max-width: 100%;
}

.multi-chip[aria-pressed="false"] .icon {
  visibility: hidden;
}

.filter-count-badge,
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--cta);
  color: var(--cta-ink);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Motion: gentle entrances only. Panels reveal on route change, toasts and
   new chat messages rise briefly, sheets slide up and fade both ways.
   Everything is progressive enhancement: no-support browsers snap instantly,
   and the reduced-motion query at the end removes all of it. */

.tab-panel,
.notification,
.chat-bubble {
  transition: opacity 160ms ease-out, translate 160ms ease-out;
}

@starting-style {
  .tab-panel,
  .notification,
  .chat-bubble {
    opacity: 0;
    translate: 0 8px;
  }
}

/* App frame and discovery */

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: var(--app-height);
}

.app-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  flex: none;
  padding-top: var(--safe-top);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.app-bar-row,
.app-bar-search,
.app {
  width: 100%;
  max-width: 1184px;
  margin-inline: auto;
  padding-inline: calc(var(--gutter) + var(--safe-left)) calc(var(--gutter) + var(--safe-right));
}

.app-bar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding-block: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  color: var(--enamel);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 4px;
  border-radius: 12px;
  background: var(--enamel);
  color: var(--paper);
}

.brand-symbol {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.chatbot-avatar.brand-mark {
  width: 32px;
  height: 32px;
  color: var(--paper);
}

.brand-name {
  font-weight: 700;
  font-family: var(--display-font);
  font-size: 1.375rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.brand-name small {
  display: block;
  margin-top: 4px;
  color: var(--mute);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

.network-badge {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mute);
  font-size: 0.875rem;
}

.network-badge.offline {
  border-color: var(--cta);
  color: var(--cta);
}

.header-toolbar,
.chat-header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 4px;
}

.app-bar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
}

body:not([data-panel="panel-discover"]) .app-bar-search {
  display: none;
}

.search-field {
  position: relative;
  flex: 1;
  min-width: 0;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  color: var(--mute);
  pointer-events: none;
  transform: translateY(-50%);
}

#search {
  padding-inline: 48px 52px;
  border-color: var(--line);
  border-radius: 16px;
}

#search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

#search-clear {
  position: absolute;
  inset-block: 0;
  right: 4px;
  margin-block: auto;
  color: var(--mute);
}

.filters-btn {
  flex: none;
  padding-inline: 12px;
  border-radius: 16px;
  font-size: 0.875rem;
}

.app {
  flex: 1;
  min-width: 0;
  padding-block: 20px calc(var(--bottom-nav-height) + 24px);
}

.tab-panel {
  min-width: 0;
}

.discover-intro {
  position: relative;
  min-height: 100px;
  padding-right: 116px;
  margin-bottom: 12px;
}

.eyebrow,
.detail-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--cta);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-heading {
  margin-bottom: 8px;
  color: var(--enamel);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}

.panel-heading em {
  color: var(--cta);
  font-style: normal;
}

#discover-heading {
  max-width: 23ch;
  text-wrap: balance;
}

.panel-intro {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--mute);
  font-size: 1rem;
}

.city-mark {
  position: absolute;
  right: 0;
  top: 12px;
  display: block;
  width: 108px;
  height: 88px;
  color: var(--enamel);
}

.quick-chips {
  display: flex;
  gap: 8px;
  margin-inline: -6px;
  padding: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 6px;
  scrollbar-width: none;
}

.quick-chips::-webkit-scrollbar {
  display: none;
}

.recent-searches {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 1184px;
  margin-inline: auto;
  padding: 8px calc(var(--gutter) + var(--safe-right)) 12px calc(var(--gutter) + var(--safe-left));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--gutter);
}

.recent-chip,
.quick-chips .chip,
.chat-chip {
  flex: none;
  white-space: nowrap;
}

.feed-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}

#lookup-status {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--mute);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 8px 16px;
}

.active-filters .chip {
  background: var(--tile);
  border-style: dashed;
}

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-block: 8px 12px;
}

.results-head h2 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
}

.results-count {
  margin: 0;
  color: var(--mute);
  font-size: 0.875rem;
}

.section-heading {
  margin-block: 0 24px;
}


/* Event cards */

.ticket-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.ticket {
  position: relative;
  display: grid;
  grid-template-columns: min(3.5rem, 24%) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--ticket);
  box-shadow: var(--shadow);
  transition: border-color 140ms ease;
}

.when {
  min-width: 0;
  padding-top: 4px;
}

.date-tile {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: 14px;
  background: var(--tile);
  color: var(--enamel);
  text-align: center;
  overflow-wrap: anywhere;
}

.tile-month {
  color: var(--cta);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tile-day {
  font-family: var(--display-font);
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.tile-time {
  color: var(--mute);
  font-size: 0.75rem;
  line-height: 1.3;
}

.ticket-body {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
}

.ticket-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 40px;
  padding-right: 40px;
}

.event-category {
  min-width: 0;
  color: var(--mute);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.punch {
  color: var(--enamel);
}

.punch[aria-pressed="true"] {
  color: var(--cta);
  background: var(--tile);
  border-color: var(--cta);
}

.ticket .punch {
  position: absolute;
  z-index: 2;
  top: 3px;
  right: 3px;
}

.ticket .punch:not([aria-pressed="true"]) {
  border-color: var(--line);
  background: var(--paper);
}


.ticket h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.ticket-title {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  text-align: left;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.ticket-title::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 22px;
}

.ticket-title:focus-visible::after {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.event-time,
.where {
  margin-block: 4px 0;
  color: var(--mute);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.where {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.where span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}

.ticket-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
  margin-top: auto;
  padding-top: 6px;
}

.cost-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--tile);
  color: var(--enamel);
  font-size: 0.875rem;
  font-weight: 650;
}

.cost-note {
  color: var(--mute);
  font-size: 0.875rem;
}

.detail-link {
  padding-inline: 0;
  font-size: 0.875rem;
}

.ticket .detail-link {
  min-width: 0;
  min-height: 28px;
  padding: 0;
  font-size: 0.75rem;
  text-decoration: none;
}

.ticket .detail-link .icon {
  width: 14px;
  height: 14px;
}

.empty {
  grid-column: 1 / -1;
  padding: 32px 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--ticket);
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--tile);
  color: var(--enamel);
}

.empty h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.empty p {
  max-width: 44ch;
  margin: 0 auto 20px;
  color: var(--mute);
}

/* Persistent primary navigation */

.bottom-nav {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: block;
  container: primary-nav / inline-size;
  padding: 4px calc(8px + var(--safe-right)) calc(4px + var(--safe-bottom)) calc(8px + var(--safe-left));
  border-top: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  background: var(--ticket);
  box-shadow: 0 -4px 20px rgb(32 40 32 / 0.04);
}

.nav-items {
  display: flex;
  gap: 4px;
}

.bottom-nav-btn {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-width: 48px;
  min-height: 64px;
  padding: 8px 4px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--mute);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  transition: color 140ms ease, background-color 140ms ease;
}

.bottom-nav-btn[aria-current="page"] {
  border-color: transparent;
  background: transparent;
  color: var(--cta);
  font-weight: 750;
}

.bottom-nav-btn[aria-current="page"] .nav-icon {
  background: var(--accent-soft);
}

.nav-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 12px;
  transition: background-color 140ms ease;
}

.nav-label {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  hyphens: auto;
}

.nav-badge {
  position: absolute;
  top: 0;
  right: calc(50% - 32px);
}

@container primary-nav (max-width: 16rem) {
  .nav-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Native sheets: only the body scrolls; actions remain in view. */

dialog {
  flex-direction: column;
  position: fixed;
  inset: 0 0 max(0px, calc(100dvh - var(--app-height)));
  width: min(100%, 40rem);
  max-width: none;
  max-height: calc(var(--app-height) - 24px - var(--safe-top));
  margin: auto auto 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  background: var(--ticket);
  color: var(--ink);
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.18);
  overscroll-behavior: contain;
  opacity: 0;
  translate: 0 12px;
  transition: opacity 140ms ease-in, translate 140ms ease-in;
}

dialog[open] {
  display: flex;
  opacity: 1;
  translate: none;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

dialog::backdrop {
  background: rgb(10 20 14 / 0.6);
  opacity: 0;
  transition: opacity 140ms ease-in;
}

dialog[open]::backdrop {
  opacity: 1;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

@starting-style {
  dialog[open] {
    opacity: 0;
    translate: 0 12px;
  }

  dialog[open]::backdrop {
    opacity: 0;
  }
}

/* Where discrete transitions are supported, hold the sheet and backdrop in
   the top layer long enough for the exit fade to finish. Without support,
   sheets fall back to entry-only animation (@starting-style) or snap
   instantly — never a broken or half-visible state. */
@supports (transition-behavior: allow-discrete) and (overlay: auto) {
  dialog {
    transition-property: opacity, translate, display, overlay;
    transition-behavior: normal, normal, allow-discrete, allow-discrete;
  }

  dialog::backdrop {
    transition-property: opacity, display, overlay;
    transition-behavior: normal, allow-discrete, allow-discrete;
  }
}

.sheet-head,
.sheet-footer {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px calc(16px + var(--safe-right)) 16px calc(16px + var(--safe-left));
  background: var(--ticket);
}

.sheet-head {
  border-bottom: 1px solid var(--line);
}

.sheet-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 20px calc(16px + var(--safe-right)) 24px calc(16px + var(--safe-left));
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 12px;
}

.sheet-body:last-child {
  padding-bottom: calc(24px + var(--safe-bottom));
}

.sheet-footer {
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: calc(16px + var(--safe-bottom));
  border-top: 1px solid var(--line);
}

.sheet-footer > button,
.sheet-footer > a,
.detail-actions > button,
.detail-actions > a {
  flex: 1 1 8rem;
}

/* Calendar provider sheet: one event summary, two full-row provider choices. */

.calendar-event-summary {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--cta);
  white-space: pre-line;
  border-radius: 8px;
  background: var(--tile);
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.calendar-event-summary:empty {
  display: none;
}

.calendar-options {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.calendar-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ticket);
  color: var(--ink);
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.calendar-option-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--enamel);
}

.calendar-option-icon .icon {
  width: 22px;
  height: 22px;
}

#calendar-google .calendar-option-icon {
  background: var(--accent-soft);
  color: var(--cta);
}

.calendar-option-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 1px;
}

.calendar-option-copy strong {
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.calendar-option-copy small {
  color: var(--mute);
  font-size: 0.8125rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.calendar-option > .icon,
.calendar-option > [data-icon] {
  display: inline-flex;
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--mute);
}

.calendar-option > [data-icon] .icon {
  width: 20px;
  height: 20px;
}

.filter-set {
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.filter-set:last-child {
  margin-bottom: 0;
}

.filter-set legend {
  margin-bottom: 12px;
  padding: 0;
  font-weight: 700;
}

.borough-filters,
#category-filters,
#neighborhood-filters,
.part-filters,
.day-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#neighborhood-filters {
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.filter-hint.selection-hint {
  margin-bottom: 12px;
}


.filter-hint {
  margin: 0;
  color: var(--mute);
  font-size: 0.875rem;
}

.filter-hint + .availability-fields {
  margin-top: 12px;
}

.form-error {
  margin-block: 12px;
  color: var(--cta);
  font-size: 0.875rem;
  font-weight: 600;
}

.form-error:empty {
  display: none;
}

.availability-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.availability-fields label,
.month-picker {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-size: 1rem;
  font-weight: 600;
}

.month-picker {
  margin-top: 16px;
}

#event-detail-heading {
  margin-bottom: 24px;
  font-size: 2rem;
}

.detail-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  margin-bottom: 24px;
  padding: 20px 24px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--green-soft);
  color: var(--enamel);
  font-family: var(--display-font);
  font-size: 1.75rem;
  font-weight: 700;
}

.detail-art > .icon {
  flex: none;
  width: 48px;
  height: 48px;
}

.detail-art[data-kind="Concerts"] {
  background: #203c32 url("/assets/music-art.svg?v=52") center / cover;
  color: #ffffff;
}

.detail-art[data-kind="Arts"],
.detail-art[data-kind="Movies"] {
  background: var(--accent-soft);
  color: var(--cta);
}

.detail-facts {
  display: grid;
  margin: 0 0 24px;
}

.detail-facts > div {
  display: grid;
  gap: 4px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mute);
  font-size: 0.875rem;
}

.detail-value {
  min-width: 0;
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.detail-notice {
  margin-block: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--tile);
  color: var(--mute);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}


.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Guide: viewport-sized frame, independently scrolling conversation. */

body[data-panel="panel-bot"] .app-shell {
  height: var(--app-height);
  min-height: 0;
  container: guide / size;
}

body[data-panel="panel-bot"] .app {
  display: flex;
  min-height: 0;
  padding-block: 8px;
}

#panel-bot {
  display: flex;
  flex: 1;
  min-height: 0;
}

body[data-panel="panel-bot"] .bottom-nav {
  position: static;
  flex: none;
}

.chat-shell {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  max-width: 800px;
  min-width: 0;
  min-height: 0;
  margin-inline: auto;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--ticket);
}

.chatbot-header {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}

.chatbot-header-title {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.chatbot-header-title > div {
  min-width: 0;
}

.chatbot-header h1 {
  margin: 0;
  font-size: 1rem;
}

.chatbot-sub {
  margin: 2px 0 0;
  color: var(--mute);
  font-size: 0.75rem;
}


#chatbot-messages {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-block: 16px;
  background: var(--paper);
}

.chat-welcome {
  align-self: center;
  max-width: 36rem;
  padding: 16px 4px;
}

.chat-welcome > .empty-icon {
  margin: 0 0 12px;
  width: 48px;
  height: 48px;
  padding: 8px;
  border-radius: 16px;
  background: var(--enamel);
  color: var(--paper);
}

.chat-welcome h2 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.chat-welcome p:not(.eyebrow) {
  color: var(--mute);
  font-size: 0.875rem;
}

.chat-bubble {
  flex: none;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.chat-bubble > p {
  margin: 0 0 8px;
  white-space: pre-line;
}

.chat-bubble > p:last-child,
.chat-welcome p:last-child {
  margin-bottom: 0;
}

.bot-bubble {
  align-self: flex-start;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  background: var(--ticket);
  color: var(--ink);
}

.user-bubble {
  align-self: flex-end;
  max-width: 88%;
  border-bottom-right-radius: 4px;
  background: var(--enamel);
  color: var(--paper);
}

.chat-via-tag,
.typing-indicator {
  color: var(--mute);
  font-size: 0.75rem;
}

.chat-via-tag {
  display: block;
  margin-top: 8px;
}

.chat-event-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.chat-event-cards .ticket {
  grid-template-columns: min(2.5rem, 20%) minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  box-shadow: none;
}

.chat-event-cards .date-tile {
  gap: 2px;
  padding: 8px 2px;
}

.chat-event-cards .tile-day {
  font-size: 1.5rem;
}

.chat-event-cards .ticket h3 {
  font-size: 1rem;
  line-height: 1.25;
}

.chat-event-cards .event-time,
.chat-event-cards .where,
.chat-event-cards .cost-pill,
.chat-event-cards .cost-note {
  font-size: 0.8125rem;
}

#chatbot-suggestions {
  display: flex;
  flex: none;
  gap: 8px;
  padding: 4px 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-top: 1px solid var(--line);
  scroll-padding-inline: 16px;
  scrollbar-width: thin;
}

#chatbot-form {
  display: flex;
  flex: none;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
}

#chatbot-input {
  flex: 1;
  width: 0;
  max-height: min(8rem, calc(var(--app-height) / 4));
  resize: vertical;
}

#chatbot-send {
  flex: none;
  min-width: 48px;
  min-height: 48px;
  padding: 8px 12px;
  border-style: solid;
  border-width: 1px;
  border-radius: 12px;
  font-weight: 650;
}

.chat-disclaimer {
  flex: none;
  margin: 0;
  padding: 0 12px 8px;
  color: var(--mute);
  font-size: 0.75rem;
  line-height: 1.4;
}

/* Explore and saved agenda */

.borough-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.borough-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 144px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--green-soft);
  color: var(--enamel);
  text-align: left;
}

.borough-card:first-child {
  background: #203c32;
  color: #f7f4ef;
  border-color: #203c32;
}

.borough-card:nth-child(2) {
  background: var(--accent-soft);
  color: var(--cta);
}

.borough-card:last-child {
  grid-column: 1 / -1;
  min-height: 108px;
  background: var(--tile);
}

.borough-name {
  position: relative;
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.borough-count {
  position: relative;
  font-size: 0.8125rem;
}

.borough-card > .icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 16px;
  height: 16px;
}

.borough-illustration {
  position: absolute;
  right: 0;
  bottom: 20px;
  opacity: 0.12;
  transform: rotate(-8deg);
  pointer-events: none;
}

.borough-illustration .icon {
  width: 88px;
  height: 88px;
  stroke-width: 1;
}

.category-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 64px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ticket);
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.category-count {
  flex: none;
  color: var(--mute);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.view-switch {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 4px;
  padding: 4px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--tile);
}

.view-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--mute);
  font-size: 0.875rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.view-switch [aria-current="page"] {
  background: var(--ticket);
  color: var(--enamel);
  box-shadow: var(--shadow);
}

.agenda-list {
  max-width: 48rem;
}

.agenda-day {
  margin-left: 5px;
  padding: 0 0 24px 20px;
  border-left: 1px solid var(--line);
}

.agenda-day > h2 {
  position: relative;
  margin: 0 0 16px;
  font-size: 1.375rem;
}

.agenda-day > h2::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 0 4px var(--paper);
}

.agenda-events {
  display: grid;
  gap: 12px;
}

.agenda-events .ticket {
  grid-template-columns: minmax(0, 1fr);
}

.agenda-events .when {
  display: none;
}

.identity-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--green-soft);
}

.identity-card .brand-mark {
  width: 72px;
  height: 72px;
  padding: 8px;
  border-radius: 20px;
}

.identity-card > div {
  min-width: 0;
}

.identity-title {
  font-family: var(--display-font);
  font-size: 2rem;
  line-height: 1.15;
  color: var(--enamel);
}

.identity-card p {
  margin: 4px 0 8px;
}

.identity-card small {
  color: var(--mute);
}

.reading-page {
  max-width: 48rem;
}

.reading-page .info-card h2 {
  font-size: 1.375rem;
}

.reading-page .info-card p,
.reading-page .help-panel p {
  font-size: 1rem;
  line-height: 1.65;
}

.help-steps {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--ticket);
  margin-bottom: 24px;
}

.help-steps a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 20px 16px;
  text-decoration: none;
}

.help-steps a + a {
  border-top: 1px solid var(--line);
}

.step-number {
  flex: none;
  font-family: var(--display-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cta);
}

.help-steps a > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.help-steps strong,
.help-steps small {
  display: block;
}

.help-steps small {
  margin-top: 4px;
  color: var(--mute);
  font-size: 0.875rem;
}

/* More, sources, and feedback */

.more-links,
.source-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.more-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 72px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ticket);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

.more-link > span:not([data-icon]) {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.more-link > [data-icon] {
  display: inline-flex;
  flex: none;
  color: var(--enamel);
}

.more-link strong,
.more-link small {
  display: block;
}

.more-link small {
  margin-top: 4px;
  color: var(--mute);
  font-size: 0.875rem;
}

.info-card,
.source,
.help-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ticket);
  overflow-wrap: anywhere;
}

.info-card {
  margin-block: 24px;
}

.info-card h2 {
  margin-bottom: 8px;
  font-size: 1.125rem;
}

.info-card p {
  margin: 0;
  color: var(--mute);
  font-size: 0.875rem;
}

.info-card p + p {
  margin-top: 8px;
}

.info-card.location-search {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
  border-color: var(--enamel);
}

.location-search #location-status {
  color: var(--ink);
  font-weight: 650;
}

.location-controls,
.location-controls label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.location-controls:has(> [hidden]:first-child):has(> [hidden]:last-child),
.location-choices:empty {
  display: none;
}

.location-controls select {
  width: auto;
  min-height: 48px;
}

.location-choices {
  display: grid;
  gap: 8px;
}

.location-choices button {
  justify-content: flex-start;
  text-align: left;
}

.event-distance {
  margin: 4px 0 0;
  color: var(--enamel);
  font-size: 0.8125rem;
  font-weight: 650;
}

.source {
  display: grid;
  align-content: start;
  gap: 4px;
}

.source a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-inline: 0;
  min-height: 48px;
  font-weight: 650;
}

.source span {
  color: var(--mute);
  font-size: 0.875rem;
}

.help-panel {
  padding-block: 4px;
  margin-block: 16px;
}

.help-panel summary {
  min-height: 48px;
  padding-block: 12px;
  font-weight: 650;
  cursor: pointer;
}

.help-panel summary::marker {
  color: var(--enamel);
}

.help-panel[open] summary {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.help-panel ol,
.help-panel ul {
  padding-left: 24px;
}

.help-panel li + li {
  margin-top: 8px;
}

.help-panel p,
.help-panel li {
  color: var(--mute);
  font-size: 0.875rem;
}

.help-panel code {
  padding: 2px 4px;
  border-radius: 4px;
  background: var(--tile);
  font-size: 0.875rem;
  white-space: normal;
}

.notification {
  position: fixed;
  z-index: 60;
  right: calc(16px + var(--safe-right));
  bottom: calc(var(--bottom-nav-height) + 16px);
  left: calc(16px + var(--safe-left));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 40rem;
  margin-inline: auto;
  padding: 12px 16px;
  border: 1px solid var(--enamel);
  border-radius: 16px;
  background: var(--enamel);
  color: var(--paper);
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}

.notification button {
  flex: none;
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-weight: 700;
}

.chat-shell > .notification,
dialog > .notification {
  position: static;
  flex: none;
  max-width: none;
  margin: 0;
  border-radius: 0;
}

/* Larger screens keep the same controls and reveal more room, not more chrome. */

@media (max-width: 699px) {
  .brand-name small,
  .network-badge,
  #pwa-install-btn {
    display: none;
  }
}

@media (max-width: 439px) {
  .filter-label {
    display: none;
  }
}

@media (min-width: 700px) {
  :root {
    --gutter: 24px;
  }

  .availability-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app {
    padding-top: 24px;
  }

  .discover-intro {
    min-height: 120px;
    padding-right: 168px;
    margin-bottom: 16px;
  }

  .city-mark {
    position: absolute;
    top: 8px;
    right: 8px;
    display: block;
    width: 152px;
    height: 112px;
  }

  .interest-choice {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 64px;
    padding: 12px 16px;
  }

  .ticket-list,
  .more-links,
  .source-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .ticket {
    padding: 16px;
  }

  dialog {
    width: min(40rem, calc(100% - 48px));
    margin: auto;
    border-radius: 24px;
  }

  .calendar-sheet {
    width: min(26rem, calc(100% - 48px));
  }

  .sheet-head,
  .sheet-body,
  .sheet-footer {
    padding-inline: 24px;
  }

  .detail-facts > div {
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 16px;
  }

  .chatbot-header,
  #chatbot-messages,
  #chatbot-suggestions,
  #chatbot-form,
  .chat-disclaimer {
    padding-inline: 24px;
  }
}

@media (min-width: 1100px) {
  :root {
    --bottom-nav-height: 0px;
  }

  .app-shell {
    padding-left: 208px;
  }

  .app-bar-row {
    padding-block: 12px;
  }

  .app-bar-search {
    padding-bottom: 12px;
  }

  .discover-intro {
    margin-bottom: 20px;
    padding-right: 168px;
  }

  #discover-heading {
    font-size: 2.5rem;
  }

  .city-mark {
    width: 128px;
    height: 128px;
  }

  .bottom-nav,
  body[data-panel="panel-bot"] .bottom-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: 208px;
    overflow-x: hidden;
    padding: calc(96px + var(--safe-top)) 16px calc(24px + var(--safe-bottom)) calc(16px + var(--safe-left));
    overflow-y: auto;
    border-top: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }

  .nav-items {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .bottom-nav-btn {
    grid-column: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    min-height: 48px;
    padding: 12px;
    font-size: 0.875rem;
    text-align: left;
  }

  .bottom-nav-btn[aria-current="page"] {
    background: var(--accent-soft);
  }

  .bottom-nav-btn .nav-icon {
    padding: 0;
  }

  .nav-badge {
    position: static;
    margin-left: auto;
  }

  body[data-panel="panel-bot"] .app {
    padding-block: 16px 24px;
  }

  .notification {
    left: calc(208px + 24px);
    right: 24px;
  }
}


@media (orientation: landscape) and (max-height: 540px) and (max-width: 1099px) {
  :root {
    --bottom-nav-height: calc(56px + var(--safe-bottom));
  }

  .bottom-nav-btn {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding-block: 8px;
  }

  .nav-badge {
    top: 0;
    right: 0;
  }

  .discover-intro {
    min-height: 0;
  }

  .city-mark {
    display: none;
  }
}

/* This query follows visualViewport height, including the on-screen keyboard. */
@container guide (max-height: 32rem) {
  .app-bar,
  #chatbot-suggestions,
  .chatbot-sub,
  .chat-disclaimer {
    display: none;
  }

  .chatbot-header {
    padding-block: 4px;
  }


  .app {
    padding-block: 4px;
  }
}

/* Hover feedback lives after all component rules so equal-specificity base
   styles do not silently defeat it. Pressed and current states keep their
   higher-specificity styling. */
@media (hover: hover) {
  :where(.header-action-btn, .secondary-btn, .icon-button, .filters-btn, .chip, .chat-chip, .more-link, .calendar-option, .category-choice, .help-steps a):hover:where(:not(:disabled)) {
    background: var(--tile);
    border-color: var(--mute);
  }

  .primary-btn:hover:not(:disabled),
  #chatbot-send:hover:not(:disabled) {
    background: var(--enamel);
    border-color: var(--enamel);
    color: var(--paper);
  }

  .ticket-title:hover,
  .detail-link:hover,
  .text-button:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }

  .interest-choice:hover,
  .borough-card:hover {
    border-color: currentColor;
  }

  .ticket:hover {
    border-color: var(--mute);
  }

  .ticket .punch:not([aria-pressed="true"]):hover {
    background: var(--tile);
    border-color: var(--mute);
  }

  .view-switch a:hover,
  .bottom-nav-btn:not([aria-current="page"]):hover {
    color: var(--enamel);
  }

  .bottom-nav-btn:not([aria-current="page"]):hover .nav-icon {
    background: var(--tile);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after,
  dialog::backdrop {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  :root,
  [data-theme="dark"] {
    --ink: CanvasText;
    --mute: CanvasText;
    --paper: Canvas;
    --ticket: Canvas;
    --tile: Canvas;
    --enamel: CanvasText;
    --cta: Highlight;
    --cta-ink: HighlightText;
    --line: CanvasText;
    --focus: Highlight;
    --shadow: none;
  }

  .chip[aria-checked="true"],
  .chip[aria-pressed="true"],
  .chip[data-active="true"],
  .bottom-nav-btn[aria-current="page"],
  .punch[aria-pressed="true"] {
    border-color: Highlight;
    background: Highlight;
    color: HighlightText;
  }

  dialog::backdrop {
    background: Canvas;
  }

  dialog[open]::backdrop {
    opacity: 0.7;
  }
}
