/*
 * Music Around Town design system
 *
 * Shared colors, spacing, controls, responsive layouts, and component styles
 * live in this file so public and administration pages remain consistent.
 */
:root {
  --ink: #212a31;
  --ink-2: #2e3944;
  --blue: #124e66;
  --mist: #748d92;
  --paper: #f6f8f7;
  --light: #d3d9d4;
  --white: #fff;
  --danger: #b42318;
  --warning: #9a6700;
  --success: #18794e;
  --shadow: 0 18px 45px rgba(33, 42, 49, 0.1);
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1240px;
  --focus: #67c6e3;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.section-tinted {
  background: #edf1ef;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h1 {
	font-size: clamp(1.5rem, 7vw, 3.0rem);
  font-weight: 700;
}
h1 em,
h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
}
h2 {
	font-size: clamp(1.45rem, 3vw, 1.8rem)
}
h3 {
  font-size: 1.35rem;
}
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.narrow {
  width: min(calc(100% - 40px), 820px);
}
.section {
  padding-block: 64px;
}
.muted {
  color: #66747b;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--mist);
  margin-bottom: 12px;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  background: white;
  padding: 10px 16px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.button {
  appearance: none;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: white;
  border-radius: 999px;
  padding: 12px 22px;
  min-height: 46px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
.button:hover {
  text-decoration: none;
  background: #0d3f54;
  box-shadow: 0 8px 22px rgba(18, 78, 102, 0.22);
  transform: translateY(-1px);
}
.button-secondary {
  background: var(--ink-2);
  border-color: var(--ink-2);
}
.button-light {
  background: var(--light);
  color: var(--ink);
  border-color: var(--light);
}
.button-ghost {
  background: transparent;
  color: var(--blue);
}
.button-outline-light {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
}
.button-small {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.9rem;
}
.button-full {
  width: 100%;
}
.button-row,
.inline-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.inline-links {
  flex-direction: column;
}
.inline-links a {
  font-weight: 700;
}
.text-link {
  font-weight: 750;
}
.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--light);
  color: var(--ink);
  font-size: 1.25rem;
  flex: none;
}
.icon-button:hover {
  text-decoration: none;
  background: var(--blue);
  color: #fff;
}
.icon-button.is-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.card-detail-button {
  white-space: nowrap;
}
.card-detail-button span {
  font-size: 1.05em;
  transition: transform 0.18s;
}
.card-detail-button:hover span {
  transform: translateX(2px);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(33, 42, 49, 0.97);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}
.header-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.03rem;
  line-height: 1;
}
.brand:hover {
  text-decoration: none;
}
.brand > span:last-child {
  display: flex;
  flex-direction: column;
  letter-spacing: 0.02em;
}
.brand strong {
  font-size: 1.25rem;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  font-size: 1.35rem;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}
.primary-nav a {
  color: var(--light);
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 650;
  font-size: 0.92rem;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-decoration: none;
}
.mobile-auth-nav {
  display: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.location-button,
.account-menu > button,
.nav-toggle {
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
}
.location-button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border-radius: 8px;
}
.location-button:hover {
  background: rgba(255, 255, 255, 0.08);
}
.account-menu {
  position: relative;
}
.account-menu > button {
  padding: 10px;
}
.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  padding: 8px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.account-dropdown a,
.account-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
  border-radius: 6px;
}
.account-dropdown a:hover,
.account-dropdown button:hover {
  background: var(--paper);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  padding: 10px;
}
.nav-toggle > span:not(.sr-only) {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  margin: 5px;
}
.hero,
.page-hero,
.detail-hero,
.profile-hero {
  color: white;
  background:
    radial-gradient(circle at 72% 28%, rgba(116, 141, 146, 0.55), transparent 22%),
    linear-gradient(120deg, var(--ink) 15%, var(--ink-2) 55%, var(--blue));
  overflow: hidden;
  position: relative;
}
.hero:after,
.page-hero:after,
.profile-hero:after {
  content: "♪";
  position: absolute;
  right: 4vw;
  bottom: -0.42em;
  font-size: 24rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  transform: rotate(-8deg);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 100px 110px;
}
.hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
}
.hero h1 em {
  color: var(--light);
}
.hero-content > p:not(.eyebrow) {
  font-size: 1.2rem;
  color: var(--light);
}
.hero-search {
  margin-top: 38px;
  max-width: 690px;
}
.hero-search form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 7px;
  border-radius: 999px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
}
.hero-search span {
  color: var(--ink);
  font-size: 1.5rem;
  margin-left: 15px;
}
.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 10px;
  color: var(--ink);
}
.page-hero .container {
  position: relative;
  z-index: 1;
  padding-block: 72px;
}
.page-hero h1 {
	font-size: clamp(1.5rem, 7vw, 3.0rem);
  margin-bottom: 15px;
}
.page-hero p:last-child {
  color: var(--light);
  font-size: 1.1rem;
  max-width: 670px;
}
.page-hero-compact .container {
  padding-block: 46px;
}
.page-hero-compact h1 {
	font-size: clamp(1.5rem, 5vw, 3.0rem);
  margin-bottom: 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin: 0;
}
.result-heading {
  padding-top: 30px;
}
.event-list {
  display: grid;
  gap: 12px;
}
.event-card {
  background: #fff;
  border: 1px solid #e0e5e2;
  border-radius: var(--radius-sm);
  display: grid;
  grid-template-columns: 82px 1fr auto;
  align-items: stretch;
  min-height: 132px;
  overflow: hidden;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    border-color 0.18s;
}
.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(33, 42, 49, 0.08);
  border-color: #c5cfca;
}
.event-card-favorite {
  border-left: 4px solid var(--blue);
}
.event-card-special {
  border-color: #e9b9b5;
}
.event-date-block {
  background: var(--ink-2);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.event-date-block span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--light);
}
.event-date-block strong {
  font-size: 2rem;
  line-height: 1;
}
.event-date-block small {
  font-size: 0.72rem;
  color: #b9c4c5;
}
.event-card-body {
  padding: 20px 22px;
  min-width: 0;
}
.event-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #67757b;
}
.event-meta time {
  font-weight: 850;
  color: var(--blue);
}
.event-meta > * + *:before {
  content: "·";
  margin-right: 10px;
  color: #a3ada9;
}
.event-card h3 {
  margin: 0 0 5px;
}
.event-card h3 a {
  color: var(--ink);
}
.event-title {
  margin: 0 0 6px;
  font-size: 0.92rem;
}
.event-venue {
  margin: 0;
  color: #3e4c52;
}
.event-venue a {
  font-weight: 750;
}
.event-card-actions {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.save-button {
  font-size: 1.45rem;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
}
.save-button.is-saved {
  color: #a22924;
}
.tag-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.tag {
  font-size: 0.72rem;
  font-weight: 750;
  padding: 3px 9px;
  border-radius: 999px;
  background: #edf1ef;
  color: #46555b;
}
.tag:hover {
  background: var(--light);
  text-decoration: none;
}
.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: #eee;
}
.status-cancelled,
.status-postponed,
.status-rescheduled {
  color: var(--danger);
  background: #fff0ef;
}
.status-large {
  font-size: 0.82rem;
  padding: 7px 12px;
  margin-bottom: 20px;
}
.empty-state {
  text-align: center;
  padding: 75px 20px;
  border: 1px dashed #bdc9c5;
  border-radius: var(--radius);
  background: white;
}
.empty-state > span {
  font-size: 3.5rem;
  color: var(--mist);
}
.empty-state p {
  color: #657279;
}
.empty-state.compact {
  padding: 35px;
}
.cta-band {
  background: var(--blue);
  color: white;
  padding-block: 48px;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta-band h2 {
  max-width: 700px;
  margin: 0;
}
.filter-panel {
  background: white;
  border: 1px solid #e0e5e2;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(33, 42, 49, 0.04);
}
.filter-search,
.search-control {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #c8d0cd;
  background: #fff;
  border-radius: 10px;
  padding: 0 12px;
}
.filter-search input,
.search-control input {
  border: 0 !important;
  outline: 0;
  flex: 1;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 15px;
}
.filter-grid label,
.stack-form label {
  font-size: 0.82rem;
  font-weight: 750;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filter-panel input,
.filter-panel select,
.stack-form input,
.stack-form select,
.stack-form textarea,
.calendar-filters input,
.calendar-filters select,
.directory-filters input,
.directory-filters select {
  width: 100%;
  border: 1px solid #c8d0cd;
  border-radius: 9px;
  padding: 10px 11px;
  background: #fff;
  color: var(--ink);
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.filter-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 35px;
}
.calendar-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 25px;
}
.calendar-toolbar h2 {
  margin: 0;
  min-width: 200px;
  text-align: center;
}
.calendar-filters {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}
.calendar-filters label {
  font-size: 0.78rem;
  font-weight: 750;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid #ced6d2;
  background: #ced6d2;
  gap: 1px;
}
.calendar-weekday {
  background: var(--ink-2);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.calendar-day {
  background: white;
  min-height: 160px;
  padding: 8px;
  min-width: 0;
}
.calendar-blank {
  background: #f0f3f1;
}
.calendar-day-number {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.calendar-day-number time {
  font-weight: 800;
}
.calendar-day-number span {
  font-size: 0.62rem;
  text-transform: uppercase;
  font-weight: 850;
  background: var(--blue);
  color: white;
  border-radius: 99px;
  padding: 2px 6px;
}
.calendar-day.is-today {
  box-shadow: inset 0 0 0 2px var(--blue);
}
.calendar-day.is-unavailable {
  background: #f0f3f1;
  color: #7a8589;
}
.calendar-events {
  display: grid;
  gap: 5px;
}
.calendar-event {
  display: block;
  border-left: 3px solid var(--blue);
  background: #eff5f6;
  padding: 6px;
  border-radius: 4px;
  color: var(--ink);
  font-size: 0.7rem;
  line-height: 1.25;
  overflow: hidden;
}
.calendar-event:hover {
  background: var(--light);
  text-decoration: none;
}
.calendar-event time {
  font-weight: 850;
  color: var(--blue);
  margin-right: 4px;
}
.calendar-event strong,
.calendar-event span {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}
.calendar-event span {
  color: #647278;
}
.calendar-event small {
  color: var(--danger);
  font-weight: 800;
}
.status-border-cancelled,
.status-border-postponed,
.status-border-rescheduled {
  border-left-color: var(--danger);
  background: #fff2f1;
}
.calendar-agenda {
  display: none;
}
.directory-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 260px) auto;
  gap: 12px;
  margin-bottom: 28px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.directory-card {
  background: white;
  border: 1px solid #e0e5e2;
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  min-width: 0;
}
.directory-card h2 {
  font-size: 1.25rem;
  margin: 3px 0 5px;
}
.directory-card h2 a {
  color: var(--ink);
}
.monogram,
.venue-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--light);
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
}
.venue-icon {
  border-radius: 14px;
  background: var(--blue);
  color: white;
}
.card-count {
  margin: 15px 0 0;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--blue);
}
.profile-hero-grid {
  position: relative;
  z-index: 1;
  padding-block: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}
.profile-hero h1 {
	font-size: clamp(1.5rem, 6vw, 3.0rem);
  margin: 0 0 10px;
}
.profile-monogram {
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(211, 217, 212, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: Georgia, serif;
  font-size: 4rem;
}
.venue-monogram {
  border-radius: 28px;
}
.tag-light {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}
.back-link {
  display: inline-block;
  color: var(--light);
  font-weight: 750;
  margin-bottom: 28px;
}
.detail-hero-grid {
  padding-block: 70px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}
.detail-hero h1 {
	font-size: clamp(1.5rem, 6vw, 3.0rem);
  max-width: 900px;
  margin-bottom: 18px;
}
.detail-location {
  font-size: 1.2rem;
  color: var(--light);
}
.detail-location a {
  color: white;
  font-weight: 800;
}
.date-ticket {
  width: 150px;
  height: 180px;
  background: var(--light);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.date-ticket span {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
}
.date-ticket strong {
  font-size: 4rem;
  line-height: 1;
}
.date-ticket small {
  font-weight: 700;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 48px;
  align-items: start;
}
.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.content-block {
  background: white;
  border: 1px solid #e0e5e2;
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 18px;
}
.content-block h2 {
  font-size: 1.45rem;
}
.content-block p:last-child {
  margin-bottom: 0;
}
.artist-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.artist-feature h2 a {
  color: var(--ink);
}
.detail-report-link {
  margin-top: -25px;
  padding-bottom: 55px;
  text-align: right;
}
.detail-report-link a {
  color: #6c787d;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.detail-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 98px;
}
.info-card,
.settings-card {
  background: #fff;
  border: 1px solid #e0e5e2;
  border-radius: var(--radius);
  padding: 25px;
}
.info-card h2 {
  font-size: 1.25rem;
}
.info-card dl {
  margin: 0 0 20px;
}
.info-card dl div {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e8ecea;
}
.info-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c787d;
  font-weight: 800;
}
.info-card dd {
  margin: 0;
  font-weight: 650;
}
.info-card dd small {
  display: block;
  font-weight: 400;
  color: #6c787d;
}
.auth-section {
  min-height: calc(100vh - 76px);
  padding: 70px 20px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(116, 141, 146, 0.25), transparent 30%), #edf1ef;
}
.auth-card {
  width: min(100%, 510px);
  background: white;
  border-radius: 24px;
  padding: 38px;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
}
.stack-form {
  display: grid;
  gap: 16px;
}
.stack-form label small {
  color: #758187;
  font-weight: 500;
}
.auth-card .stack-form {
  margin-top: 25px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  font-size: 0.88rem;
}
.auth-footer {
  text-align: center;
  margin: 22px 0 0;
}
.field-row {
  display: flex;
  gap: 12px;
}
.field-row > * {
  flex: 1;
}
.field-short {
  max-width: 110px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7a8581;
  margin: 20px 0;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: #dce2df;
  flex: 1;
}
.location-dialog {
  border: 0;
  border-radius: 22px;
  padding: 0;
  width: min(calc(100% - 30px), 520px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}
.location-dialog::backdrop {
  background: rgba(21, 29, 34, 0.78);
  backdrop-filter: blur(4px);
}
.dialog-close {
  display: flex;
  justify-content: flex-end;
}
.dialog-close button {
  border: 0;
  background: none;
  font-size: 1.8rem;
  padding: 10px 18px;
  cursor: pointer;
}
.dialog-content {
  padding: 0 34px 34px;
}
.dialog-content h2 {
  font-size: 2rem;
}
.flash-stack {
  position: fixed;
  z-index: 100;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 8px;
  pointer-events: none;
}
.flash {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: white;
  border-left: 4px solid var(--blue);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  border-radius: 8px;
}
.flash-error {
  border-color: var(--danger);
}
.flash-success {
  border-color: var(--success);
}
.flash button {
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
}
.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.favorite-chip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: white;
  border: 1px solid #e0e5e2;
  border-radius: 14px;
  padding: 14px;
  color: var(--ink);
}
.favorite-chip:hover {
  text-decoration: none;
  border-color: var(--blue);
}
.monogram.small {
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
}
.top-gap {
  margin-top: 55px;
}
.settings-card h2 {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e2e7e4;
}
.settings-card h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border: 0;
}
.check-row {
  display: flex;
  gap: 25px;
}
.check-row label {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.check-row input {
  width: auto;
}
.site-footer {
  background: var(--ink);
  color: var(--light);
  padding-top: 55px;
}

/* Public contact forms */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 760px);
  align-items: start;
  justify-content: center;
  gap: 32px;
}
.contact-purpose-nav {
  display: grid;
  gap: 9px;
}
.contact-purpose-nav a {
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  border: 1px solid #dce3e0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.contact-purpose-nav a:hover,
.contact-purpose-nav a[aria-current="page"] {
  border-color: var(--blue);
  box-shadow: inset 4px 0 0 var(--blue);
  text-decoration: none;
}
.contact-purpose-nav span {
  color: #68757b;
  font-size: 0.82rem;
}
.contact-form-card {
  min-width: 0;
  padding: 32px;
  border: 1px solid #dfe5e2;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(33, 42, 49, 0.06);
}
.contact-form-card > h2 {
  margin-bottom: 26px;
  font-size: 1.45rem;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form > .button {
  justify-self: start;
}
.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-errors {
  margin-bottom: 24px;
  padding: 15px 18px;
  border-left: 4px solid var(--danger);
  border-radius: 8px;
  background: #fff0ef;
  color: #78201b;
}
.form-errors ul {
  margin: 7px 0 0;
  padding-left: 20px;
}
.contact-listing-reference {
  display: grid;
  gap: 3px;
  padding: 17px 19px;
  border: 1px solid #d9e2df;
  border-radius: 12px;
  background: var(--paper);
}
.contact-listing-reference span {
  color: #68757b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-listing-reference a {
  justify-self: start;
  font-size: 0.84rem;
  font-weight: 700;
}
.contact-privacy-note {
  margin: -4px 0 0;
  color: #758187;
  font-size: 0.78rem;
}
.contact-confirmation {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
.contact-confirmation > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  grid-template-areas: "slogan account explore cities";
  gap: 45px;
}
.footer-slogan {
  grid-area: slogan;
}
.footer-account {
  grid-area: account;
}
.footer-explore {
  grid-area: explore;
}
.footer-cities {
  grid-area: cities;
}
.site-footer h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #fff;
}
.site-footer a {
  display: block;
  color: var(--light);
  margin: 8px 0;
}
.footer-brand {
  display: inline-flex !important;
}
.footer-note {
  font-size: 0.8rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 45px;
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}
.admin-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.admin-nav a {
  background: white;
  border: 1px solid #dde3e0;
  border-radius: 99px;
  padding: 8px 15px;
  font-weight: 700;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  border: 1px solid #e0e5e2;
}
.stat-card:hover {
  text-decoration: none;
  border-color: var(--blue);
}
.stat-card strong {
  font-size: 2.6rem;
}
.stat-card small {
  color: var(--blue);
}
.table-wrap {
  overflow: auto;
  background: white;
  border: 1px solid #e0e5e2;
  border-radius: var(--radius);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 700px;
}
th,
td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid #e7ebe9;
}
th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #edf1ef;
}
.inline-admin-form {
  display: flex;
  gap: 5px;
  align-items: center;
}
.inline-admin-form select {
  padding: 7px;
}
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 50px 20px;
}
.error-page > div {
  max-width: 600px;
}
.error-page > div > span {
  font-size: 6rem;
  font-weight: 900;
  color: var(--light);
}
.error-page h1 {
	font-size: clamp(1.5rem, 5vw, 3.0rem)
}
.error-page pre {
  text-align: left;
  white-space: pre-wrap;
  background: #fff;
  padding: 15px;
}
@media (max-width: 1050px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "slogan account"
      "explore cities";
  }
  .primary-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 76px;
    background: var(--ink);
    padding: 10px 20px 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .primary-nav.is-open {
    display: flex;
  }
  .mobile-auth-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .primary-nav .mobile-auth-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #fff;
  }
  .primary-nav .mobile-auth-nav .mobile-auth-primary {
    border-color: var(--blue);
    background: var(--blue);
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .header-actions {
    margin-left: 0;
  }
  .filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calendar-day {
    min-height: 145px;
    padding: 5px;
  }
  .calendar-event {
    font-size: 0.64rem;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--container));
  }
  .section {
    padding-block: 42px;
  }
  .header-row {
    min-height: 66px;
    gap: 8px;
  }
  .primary-nav {
    top: 66px;
  }
  .brand strong {
    font-size: 1.06rem;
  }
  .brand > span:last-child span {
    font-size: 0.82rem;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .location-button span:last-child {
    display: none;
  }
  .header-actions .button {
    display: none;
  }
  .hero-content {
    padding-block: 70px;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero-search form {
    border-radius: 18px;
    flex-wrap: wrap;
  }
  .hero-search input {
    width: calc(100% - 55px);
  }
  .hero-search .button {
    width: 100%;
  }
  .page-hero .container {
    padding-block: 48px;
  }
  .page-hero h1 {
    font-size: 2.8rem;
  }
  .section-heading {
    align-items: start;
  }
  .event-card {
    grid-template-columns: 64px 1fr;
    min-height: 0;
  }
  .event-date-block {
    grid-row: 1 / span 2;
  }
  .event-card-body {
    padding: 16px 14px;
  }
  .event-card-actions {
    grid-column: 2;
    padding: 0 14px 14px;
    flex-direction: row-reverse;
    justify-content: flex-end;
  }
  .event-meta {
    flex-wrap: wrap;
  }
  .event-venue .muted {
    display: block;
    margin-left: 18px;
  }
  .tag-row {
    margin-top: 8px;
  }
  .cta-band .container {
    align-items: flex-start;
    flex-direction: column;
  }
  .filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calendar-title-row {
    align-items: flex-start;
    gap: 20px;
  }
  .calendar-title-row .button {
    padding: 8px 12px;
    font-size: 0;
  }
  .calendar-title-row .button::first-letter {
    font-size: 1rem;
  }
  .calendar-grid {
    display: none;
  }
  .calendar-agenda {
    display: grid;
    gap: 28px;
  }
  .agenda-day {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
  }
  .agenda-day > header {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--ink);
  }
  .agenda-day > header span,
  .agenda-day > header small {
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.07em;
  }
  .agenda-day > header strong {
    font-size: 2rem;
  }
  .agenda-day .event-card {
    margin-bottom: 9px;
  }
  .calendar-filters {
    justify-content: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .calendar-filters .button {
    grid-column: 1/-1;
  }
  .directory-filters {
    grid-template-columns: 1fr 1fr;
  }
  .directory-filters .search-control {
    grid-column: 1/-1;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .profile-hero-grid {
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding-block: 48px;
  }
  .profile-hero-grid > div:last-child {
    grid-column: 1/-1;
  }
  .profile-monogram {
    width: 80px;
    height: 80px;
    font-size: 2.4rem;
  }
  .profile-hero h1 {
    font-size: 2.6rem;
  }
  .detail-hero-grid {
    grid-template-columns: 1fr;
    padding-block: 48px;
  }
  .date-ticket {
    display: none;
  }
  .detail-hero h1 {
    font-size: 2.8rem;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .detail-sidebar {
    position: static;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-purpose-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-form-card {
    padding: 26px 20px;
  }
  .detail-report-link {
    margin-top: -10px;
    padding-bottom: 42px;
    text-align: left;
  }
  .auth-section {
    padding: 35px 14px;
  }
  .auth-card {
    padding: 26px 20px;
  }
  .auth-links {
    flex-direction: column;
  }
  .compact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "slogan"
      "account"
      "explore"
      "cities";
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .field-row {
    flex-direction: column;
  }
  .field-short {
    max-width: none;
  }
  .flash-stack {
    top: 76px;
  }
  .inline-admin-form {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 430px) {
  .event-card {
    grid-template-columns: 54px 1fr;
  }
  .event-date-block strong {
    font-size: 1.6rem;
  }
  .filter-grid {
    grid-template-columns: 1fr;
  }
  .contact-purpose-nav {
    grid-template-columns: 1fr;
  }
  .contact-confirmation {
    grid-template-columns: 1fr;
  }
  .filter-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .directory-filters {
    grid-template-columns: 1fr;
  }
  .directory-filters .search-control {
    grid-column: auto;
  }
  .calendar-filters {
    grid-template-columns: 1fr;
  }
  .calendar-filters .button {
    grid-column: auto;
  }
  .agenda-day {
    grid-template-columns: 45px 1fr;
  }
  .agenda-day .event-card {
    grid-template-columns: 1fr;
  }
  .agenda-day .event-date-block {
    display: none;
  }
  .agenda-day .event-card-actions {
    grid-column: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .detail-actions > * {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Favorites and saved-event interactions */
.ajax-toggle-form {
  display: inline-flex;
  margin: 0;
  vertical-align: middle;
}
.ajax-toggle-form button:disabled {
  cursor: wait;
  opacity: 0.6;
}
.name-with-action {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.name-with-action h2,
.name-with-action h3 {
  margin: 0;
}
.name-with-action-venue {
  flex-wrap: wrap;
}
.favorite-toggle,
.event-save-toggle {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--mist);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 34px;
  height: 34px;
  padding: 3px 7px;
  border-radius: 999px;
  line-height: 1;
  transition:
    color 0.16s,
    background 0.16s,
    transform 0.16s,
    border-color 0.16s;
}
.favorite-toggle {
  font-size: 1.45rem;
}
.favorite-toggle:hover {
  color: #a6313a;
  background: #fff1f2;
  transform: scale(1.06);
}
.favorite-toggle.is-active {
  color: #a6313a;
}
.toggle-state-on {
  display: none;
}
.is-active .toggle-state-off {
  display: none;
}
.is-active .toggle-state-on {
  display: inline;
}
.favorite-toggle-large,
.event-save-toggle-large {
  height: 46px;
  padding: 8px 17px;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.favorite-toggle-large .toggle-state {
  font-size: 1.35rem;
}
.favorite-toggle-large:hover,
.favorite-toggle-large.is-active {
  color: #fff;
  background: #a6313a;
  border-color: #a6313a;
  transform: none;
}
.event-save-toggle {
  width: 42px;
  height: 42px;
  border-color: #b9c6c5;
  background: #fff;
  color: var(--blue);
  padding: 4px;
}
.event-save-toggle:hover {
  background: #edf5f7;
  border-color: var(--blue);
}
.event-save-toggle.is-active {
	background: #376d2c;
	border-color: #376d2c;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(18, 78, 102, 0.13);
}
.event-save-toggle-large {
  width: auto;
  min-width: 150px;
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.event-save-toggle-large.is-active {
  background: var(--ink-2);
  border-color: var(--ink-2);
}
.calendar-save-icon {
  width: 25px;
  height: 25px;
  position: relative;
  display: inline-grid;
  place-items: center;
}
.calendar-save-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.calendar-save-icon b {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
}
.event-save-toggle.is-active .calendar-save-icon b {
  background: #fff;
  color: var(--blue);
}
.calendar-save-icon .toggle-state-on {
  display: none;
}
.event-save-toggle.is-active .calendar-save-icon .toggle-state-on {
  display: grid;
}
.event-save-toggle.is-active .calendar-save-icon .toggle-state-off {
  display: none;
}
.event-card-favorite {
  border-left: 5px solid var(--mist);
  background: linear-gradient(90deg, rgba(116, 141, 146, 0.09), #fff 30%);
}
.event-card-saved {
  border-left: 5px solid var(--blue);
  background: linear-gradient(90deg, rgba(18, 78, 102, 0.12), #fff 34%);
  box-shadow: 0 7px 24px rgba(18, 78, 102, 0.08);
}
.event-card-saved.event-card-favorite {
  border-left-color: var(--blue);
  box-shadow:
    inset 4px 0 0 var(--mist),
    0 7px 24px rgba(18, 78, 102, 0.08);
}
.saved-indicator {
  color: var(--blue);
  background: #e7f1f4;
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 0.66rem;
}
.event-venue .favorite-toggle {
  font-size: 1.2rem;
  width: 28px;
  height: 28px;
  padding: 1px;
}
.directory-toolbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 10px;
}
.directory-toolbar .directory-filters {
  flex: 1;
  margin-bottom: 0;
}
.view-switcher {
  display: inline-flex;
  background: #e6ebe8;
  border-radius: 999px;
  padding: 4px;
  white-space: nowrap;
}
.view-switcher a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 750;
}
.view-switcher a:hover {
  text-decoration: none;
}
.view-switcher a[aria-current="page"] {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(33, 42, 49, 0.12);
}
.directory-summary {
  color: #6b787d;
  font-size: 0.86rem;
  margin: 18px 0;
}
.directory-card {
  transition:
    border-color 0.16s,
    box-shadow 0.16s,
    background 0.16s;
}
.directory-card-favorite {
  border-color: var(--mist);
  background: linear-gradient(135deg, rgba(116, 141, 146, 0.12), #fff 45%);
  box-shadow: inset 4px 0 0 var(--blue);
}
.profile-hero-favorite {
  box-shadow: inset 0 -5px 0 var(--mist);
}
.detail-hero-favorite {
  box-shadow: inset 0 -5px 0 var(--mist);
}
.detail-hero-saved {
  box-shadow: inset 0 -7px 0 var(--blue);
}
.detail-hero-saved.detail-hero-favorite {
  box-shadow:
    inset 0 -5px 0 var(--blue),
    inset 0 -9px 0 var(--mist);
}
.calendar-event-favorite {
  border-left-color: var(--mist);
	/*background: #f2f5f4;*/
	background: #fff8b7;
}
.calendar-event-saved {
  border-left-color: var(--blue);
	/*background: #dfecef;*/
	background: #cdffb7;
  box-shadow: inset 0 0 0 1px rgba(18, 78, 102, 0.16);
}
.calendar-favorite-mark {
  display: inline !important;
  color: #a6313a !important;
  font-size: 0.66rem;
}
.calendar-saved-mark {
  color: var(--blue) !important;
}
.favorite-chip {
  grid-template-columns: 1fr auto;
}
.favorite-chip > a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.favorite-chip > a:hover {
  text-decoration: none;
}
.preference-item-removing {
  opacity: 0;
  transform: scale(0.98);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.ajax-notice {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100% - 40px));
  padding: 12px 17px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 700;
}
.ajax-notice-error {
  background: var(--danger);
}
@media (max-width: 900px) {
  .directory-toolbar {
    flex-direction: column;
  }
  .view-switcher {
    align-self: flex-start;
  }
}
@media (max-width: 760px) {
  .name-with-action {
    align-items: flex-start;
  }
  .directory-toolbar .directory-filters {
    width: 100%;
  }
  .event-card-actions {
    gap: 12px;
  }
  .event-venue .muted {
    width: 100%;
  }
  .favorite-toggle-large,
  .event-save-toggle-large {
    width: 100%;
    justify-content: center;
  }
  .profile-hero-grid .favorite-form {
    width: 100%;
  }
  .ajax-notice {
    right: 14px;
    bottom: 14px;
  }
  .detail-location {
    align-items: center;
  }
}

/* Day navigation and standardized discovery headers */
.page-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.page-hero-row > div {
  position: relative;
  z-index: 1;
  max-width: 850px;
}
.page-hero-row > div > p:not(.eyebrow) {
  color: var(--light);
  font-size: 1.1rem;
  max-width: 680px;
}
.page-hero-row > .button {
  position: relative;
  z-index: 2;
  flex: none;
}
.page-hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 570px;
  margin-top: 24px;
  padding: 6px 7px 6px 15px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.page-hero-search > span {
  color: var(--ink);
  font-size: 1.35rem;
}
.page-hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 7px;
  color: var(--ink);
}
.date-strip-wrap {
  position: sticky;
  top: 76px;
  z-index: 35;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #dbe2df;
  box-shadow: 0 8px 25px rgba(33, 42, 49, 0.06);
  backdrop-filter: blur(12px);
}
.date-strip-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding-block: 10px;
}
.date-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  padding: 2px;
}
.date-chip {
  scroll-snap-align: center;
  min-width: 62px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  line-height: 1.05;
}
.date-chip:hover {
  background: #eef3f1;
  text-decoration: none;
}
.date-chip span,
.date-chip small {
  text-transform: uppercase;
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  color: #6f7b80;
}
.date-chip strong {
  font-size: 1.25rem;
  margin: 3px 0;
}
.date-chip.is-active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 5px 14px rgba(18, 78, 102, 0.22);
}
.date-chip.is-active span,
.date-chip.is-active small {
  color: #dce9ec;
}
.date-strip-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8eeeb;
  color: var(--ink);
  font-weight: 850;
}
.date-strip-arrow:hover {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}
.date-strip-arrow.is-disabled {
  opacity: 0.35;
}
.date-jump {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 6px;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: #68757a;
}
.date-jump input {
  width: 142px;
  border: 1px solid #c8d0cd;
  border-radius: 8px;
  padding: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 0.8rem;
}
.preference-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: -10px 0 18px;
  color: #617076;
  font-size: 0.76rem;
  font-weight: 750;
}
.preference-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend-swatch {
  width: 18px;
  height: 7px;
  border-radius: 999px;
	background: #fff8b7;
}
.legend-saved {
	background: #cdffb7;
}
.preference-indicator {
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.favorite-indicator {
  background: #f6e9eb;
  color: #8f2d36;
}
.saved-indicator {
  background: #dfecef;
  color: var(--blue);
}
.event-card-favorite:not(.event-card-saved) .event-date-block {
	/*background: #536d73;*/
		background: #958d3c;
		/*background: #807300;*/
}
.event-card-saved .event-date-block {
	/*background: var(--blue);*/
		background: #376d2c;
}
.calendar-options-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}
.calendar-options-row .preference-legend,
.calendar-options-row .calendar-filters {
  margin-bottom: 0;
}
.calendar-day[data-day-cell] {
  cursor: pointer;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.calendar-day[data-day-cell]:hover {
  background: #f5f8f7;
  box-shadow: inset 0 0 0 1px var(--mist);
}
.calendar-day-number a {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 800;
}
.calendar-day-number a:hover {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}
.agenda-day > header a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
}
.agenda-day > header a:hover {
  text-decoration: none;
  color: var(--blue);
}
.empty-actions {
  justify-content: center;
}
.calendar-event-favorite {
  box-shadow: inset 0 0 0 1px rgba(116, 141, 146, 0.28);
}
.calendar-event-saved {
  box-shadow:
    inset 0 0 0 1px rgba(18, 78, 102, 0.4),
    0 2px 7px rgba(18, 78, 102, 0.13);
}
@media (max-width: 960px) {
  .date-strip-layout {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .date-jump {
    grid-column: 1/-1;
    justify-self: end;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .calendar-options-row {
    align-items: stretch;
    flex-direction: column;
  }
  .calendar-options-row .calendar-filters {
    align-self: stretch;
  }
}
@media (max-width: 760px) {
  .page-hero-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-hero-row > .button {
    padding: 8px 13px;
  }
  .page-hero-search {
    width: 100%;
    border-radius: 14px;
    flex-wrap: wrap;
  }
  .page-hero-search input {
    width: calc(100% - 35px);
  }
  .page-hero-search .button {
    width: 100%;
  }
  .date-strip-wrap {
    top: 66px;
  }
  .date-strip-layout {
    width: 100%;
    padding-inline: 8px;
  }
  .date-strip-arrow {
    width: 32px;
    height: 32px;
  }
  .date-chip {
    min-width: 58px;
  }
  .date-jump {
    padding-inline: 6px;
  }
  .preference-legend {
    gap: 12px;
  }
  .calendar-options-row .preference-legend {
    margin-top: 0;
  }
}

/* Consistent event detail actions */
.detail-actions {
  align-items: stretch;
}
.detail-actions .ajax-toggle-form {
  display: flex;
}
.event-action-button,
.event-save-toggle.event-action-button {
  width: auto;
  min-width: 150px;
  min-height: 46px;
  height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  box-shadow: none;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.2;
  transform: none;
}
.event-action-button:hover,
.event-save-toggle.event-action-button:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(18, 78, 102, 0.18);
  transform: translateY(-1px);
}
.event-save-toggle.event-action-button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 5px 16px rgba(18, 78, 102, 0.18);
}
.event-save-toggle.event-action-button.is-active:hover {
  border-color: var(--ink-2);
  background: var(--ink-2);
}
.event-save-toggle.event-action-button .calendar-save-icon b {
  background: var(--blue);
  color: #fff;
}
.event-save-toggle.event-action-button:hover .calendar-save-icon b,
.event-save-toggle.event-action-button.is-active .calendar-save-icon b {
  background: #fff;
  color: var(--blue);
}

/* Artist and venue list directories */
.directory-list {
  display: grid;
  gap: 12px;
}
.directory-list-row {
  min-width: 0;
  min-height: 116px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  border: 1px solid #e0e5e2;
  border-radius: var(--radius-sm);
  background: #fff;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    border-color 0.18s,
    background 0.18s;
}
.directory-list-row:hover {
  border-color: #c5cfca;
  box-shadow: 0 12px 30px rgba(33, 42, 49, 0.08);
  transform: translateY(-2px);
}
.directory-row-mark {
  width: 82px;
  height: 100%;
  min-height: 116px;
  display: grid;
  place-items: center;
  align-self: stretch;
  background: var(--ink-2);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}
.venue-row-mark {
	background: var(--ink-2);
  font-family: inherit;
  font-size: 1.7rem;
}
.directory-row-body {
  min-width: 0;
  padding-block: 18px;
}
.directory-row-body h2 {
  margin: 0;
  font-size: 1.45rem;
}
.directory-row-body h2 a {
  color: var(--ink);
}
.directory-row-meta {
  margin: 5px 0 0;
  color: #66747b;
}
.directory-row-kicker {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.directory-row-count {
  min-width: 112px;
  margin: 0;
  text-align: right;
  color: var(--blue);
}
.directory-row-count strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
}
.directory-row-count span {
  display: block;
  margin-top: 5px;
  color: #66747b;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}
.directory-list-row > .card-detail-button {
  margin-right: 20px;
}
.directory-list-row.directory-card-favorite {
  border-color: var(--mist);
  background: linear-gradient(90deg, rgba(116, 141, 146, 0.1), #fff 32%);
  box-shadow: inset 5px 0 0 var(--blue);
}

@media (max-width: 760px) {
  .detail-actions .ajax-toggle-form {
    flex: 1 1 100%;
  }
  .detail-actions .event-action-button,
  .detail-actions .event-save-toggle.event-action-button {
    width: 100%;
  }
  .directory-list-row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 104px;
  }
  .directory-row-mark {
    width: 64px;
    min-height: 104px;
  }
  .directory-row-body {
    padding: 15px 0;
  }
  .directory-row-body h2 {
    font-size: 1.25rem;
  }
  .directory-row-count {
    grid-column: 2;
    min-width: 0;
    margin: -8px 0 14px;
    text-align: left;
  }
  .directory-row-count strong,
  .directory-row-count span {
    display: inline;
    font-size: 0.76rem;
  }
  .directory-row-count strong {
    margin-right: 4px;
  }
  .directory-list-row > .card-detail-button {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin-right: 14px;
  }
}

@media (max-width: 430px) {
  .directory-list-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
  }
  .directory-row-mark {
    width: 54px;
  }
  .directory-list-row > .card-detail-button {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
    margin: 0 0 15px;
  }
  .directory-row-count {
    grid-column: 2;
  }
}
