:root {
  --paper: #f9f6ef;
  --ink: #382a30;
  --plum: #4b2239;
  --accent: #bd573b;
  --line: #ded9cf;
  --muted: #736971;
  --salsa: #ad4c36;
  --bachata: #734260;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button,
a,
input,
summary {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
}
.topbar {
  max-width: 1320px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 48px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: 2px;
}
.brand small {
  font-size: 8px;
  letter-spacing: 2.5px;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--plum);
  color: #fff;
  border-radius: 50%;
  width: 41px;
  height: 41px;
  font-family: Georgia, serif;
  font-size: 17px;
  letter-spacing: -1px;
}
.top-note {
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--muted);
}
.small-button,
.light-button,
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 12px 19px;
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}
.primary {
  background: var(--plum);
  color: #fff;
  border-color: var(--plum);
}
.primary:hover {
  background: #63364f;
}
.small-button:hover,
.light-button:hover {
  background: #eee7df;
}
main {
  max-width: 1224px;
  padding: 0 36px;
  margin: auto;
}
.hero {
  padding: 65px 0 58px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: center;
  gap: 30px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  display: flex;
  gap: 9px;
  align-items: center;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 61px);
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 20px 0 22px;
}
h1 em {
  font-weight: 400;
  color: var(--accent);
}
.period {
  color: var(--accent);
}
.intro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 28px;
}
.text-link {
  font-size: 12px;
  text-underline-offset: 5px;
}
.hero-art {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
}
.art-disc {
  width: 227px;
  height: 227px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: rotate(-10deg);
  box-shadow:
    0 0 0 13px var(--paper),
    0 0 0 14px #d8c6bc;
}
.art-disc span {
  font-size: 8px;
  letter-spacing: 2.5px;
}
.art-disc strong {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 0.95;
  margin: 25px 0 24px;
  text-align: center;
}
.art-disc i {
  color: #eeb998;
}
.orbit {
  position: absolute;
  border: 1px solid #cfa999;
  border-radius: 50%;
  width: 310px;
  height: 135px;
  z-index: -1;
  transform: rotate(-47deg);
}
.orbit-two {
  transform: rotate(25deg);
  width: 350px;
  height: 180px;
}
.orbit-three {
  transform: rotate(76deg);
  width: 310px;
  height: 120px;
}
.art-label {
  position: absolute;
  bottom: 0;
  right: 20px;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
}
.calendar {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.muted {
  color: var(--muted);
}
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 31px;
  letter-spacing: -0.7px;
  line-height: 1.3;
  margin-top: 8px;
}
.refresh-status {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
  max-width: 310px;
}
.refresh-status::before {
  content: '●';
  color: #647b59;
  margin-right: 6px;
}
.refresh-status.warning::before {
  color: var(--accent);
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #fdfbf7;
}
.day {
  background: transparent;
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--line);
  padding: 14px 6px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.day:last-child {
  border-right: 0;
}
.day:hover {
  background: #f0e9e1;
}
.day.selected {
  background: var(--plum);
  color: #fff;
}
.day .weekday {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.day strong {
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.3;
}
.day .day-count {
  font-size: 9px;
  opacity: 0.75;
}
.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  gap: 12px;
}
.filters {
  display: flex;
  gap: 7px;
}
.filter {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  padding: 7px 17px;
  font-size: 12px;
  color: var(--ink);
}
.filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.result-count,
.timezone-note {
  font-size: 11px;
  color: var(--muted);
}
.timezone-note {
  margin: 13px 0 25px;
}
.timezone-note span {
  font-weight: 650;
}
.event-group {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.date-label {
  padding-top: 8px;
}
.date-label span {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}
.date-label strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1.4;
  font-weight: 400;
}
.date-label small {
  font-size: 10px;
  color: var(--accent);
}
.event-stack {
  display: grid;
  gap: 12px;
}
.event-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffdf9;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 23px;
}
.event-time {
  font-family: Georgia, serif;
  font-size: 27px;
  line-height: 1.2;
  color: var(--plum);
}
.event-time small {
  display: block;
  font:
    11px/1.6 system-ui,
    sans-serif;
  color: var(--muted);
  margin-top: 5px;
}
.event-time .time-label {
  font-size: 9px;
  margin-top: 8px;
  max-width: 90px;
}
.event-card h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 650;
}
.event-card .location {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}
.tag {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 7px;
  border-radius: 3px;
  background: #f4e7e0;
  color: var(--salsa);
}
.tag.bachata {
  color: var(--bachata);
  background: #eee4ec;
}
.tag.status {
  color: #6b6b5c;
  background: #eeeee5;
}
.tag.tentative,
.tag.stale {
  background: #fff0d4;
  color: #895d20;
}
.tag.cancelled {
  background: #f6dcdc;
  color: #9d2424;
}
.event-links {
  display: flex;
  gap: 13px;
  font-size: 11px;
  align-items: center;
  margin-top: 13px;
}
.event-links a {
  text-underline-offset: 3px;
}
.event-add {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
}
.event-add:hover {
  background: #eee4ec;
}
.event-details {
  font-size: 11px;
  color: var(--muted);
  margin-top: 11px;
  max-width: 590px;
}
.event-details summary {
  cursor: pointer;
  font-size: 10px;
}
.event-details p {
  margin-top: 8px;
}
.event-card.cancelled h3 {
  text-decoration: line-through;
}
.empty {
  padding: 40px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 7px;
  color: var(--muted);
}
.empty button {
  margin-top: 12px;
}
.subscribe-banner {
  background: var(--plum);
  color: var(--paper);
  padding: 35px 40px;
  margin: 42px 0 55px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.subscribe-banner .eyebrow {
  color: #e1b39e;
  font-size: 8px;
}
.subscribe-banner h2 {
  font-size: 30px;
  margin-top: 10px;
}
.subscribe-banner p {
  font-size: 12px;
  color: #d4c4cf;
  line-height: 1.8;
  margin-top: 10px;
}
.light-button {
  background: var(--paper);
  white-space: nowrap;
}
.coverage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 45px;
}
.coverage p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 15px;
}
.coverage .coverage-note {
  font-size: 11px;
}
.source {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
}
.source a {
  text-decoration: none;
}
.source a:hover {
  text-decoration: underline;
}
.source small {
  font-size: 9px;
  color: var(--muted);
  display: block;
}
.source .source-state {
  font-size: 9px;
  color: #56704e;
  white-space: nowrap;
}
.source .source-state.warn {
  color: #9d4b32;
}
footer {
  max-width: 1224px;
  margin: 0 auto;
  padding: 22px 36px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 590px;
  width: calc(100% - 32px);
  padding: 36px;
  color: var(--ink);
  background: var(--paper);
}
dialog::backdrop {
  background: #20121dc0;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 40px;
  margin-top: 15px;
}
dialog p {
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0;
}
dialog label {
  font-size: 10px;
  font-weight: 600;
}
.copy-row {
  display: flex;
  gap: 8px;
  margin-top: 7px;
}
.copy-row input {
  min-width: 0;
  flex: 1;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
}
.copy-row .primary {
  padding: 10px 16px;
}
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 27px;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
dialog details {
  margin-top: 25px;
  font-size: 12px;
}
dialog details summary {
  cursor: pointer;
}
.local-note {
  background: #efe7dc;
  padding: 12px;
  border-radius: 5px;
}
.copy-status {
  min-height: 20px;
}
@media (max-width: 760px) {
  .topbar {
    padding: 18px 22px;
  }
  .top-note {
    display: none;
  }
  .topbar .small-button {
    font-size: 10px;
    padding: 9px 12px;
  }
  main {
    padding: 0 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 42px 0 35px;
  }
  .hero-art {
    display: none;
  }
  h1 {
    font-size: 47px;
    letter-spacing: -1.6px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .refresh-status {
    max-width: 145px;
    font-size: 9px;
  }
  .day {
    padding: 13px 2px;
  }
  .day strong {
    font-size: 25px;
  }
  .day .weekday {
    font-size: 8px;
    letter-spacing: 0.4px;
  }
  .day .day-count {
    font-size: 8px;
  }
  .event-group {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 19px 0;
  }
  .date-label {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 0;
  }
  .date-label strong {
    font-size: 20px;
  }
  .event-card {
    grid-template-columns: 73px 1fr auto;
    gap: 12px;
    padding: 18px 14px;
  }
  .event-time {
    font-size: 24px;
  }
  .event-card h3 {
    font-size: 14px;
  }
  .event-card .location {
    font-size: 11px;
  }
  .event-add {
    width: 27px;
    height: 27px;
    font-size: 18px;
  }
  .subscribe-banner {
    padding: 28px;
    flex-direction: column;
    align-items: start;
    margin: 32px 0 38px;
  }
  .subscribe-banner h2 {
    font-size: 29px;
  }
  .coverage {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  footer {
    padding: 20px 22px;
    flex-direction: column;
    gap: 6px;
  }
  .desktop {
    display: none;
  }
  .result-count {
    font-size: 10px;
  }
  .filter {
    font-size: 11px;
    padding: 7px 12px;
  }
  dialog {
    padding: 30px 22px;
  }
  .hero-actions {
    gap: 20px;
  }
  .timezone-note {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.credits {
  font-size: 12px;
  color: var(--plum);
  margin-top: 6px;
}
.credits strong {
  font-size: 10px;
  letter-spacing: 0.5px;
  margin-right: 7px;
}
.credits span {
  color: var(--muted);
  font-size: 10px;
}

.day {
  border-bottom: 1px solid var(--line);
  position: relative;
}
.day:nth-child(7n) {
  border-right: 0;
}
.day .month-label {
  font:
    9px system-ui,
    sans-serif;
  margin-left: 4px;
  color: var(--accent);
}

.entry-fee {
  font-size: 12px;
  font-weight: 600;
  color: var(--plum);
  margin-top: 9px;
}

.workshop-box {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  margin-top: 14px;
  background: #f3ede3;
  border: 1px solid #e8dccb;
  border-radius: 6px;
}
.workshop-icon {
  color: var(--accent);
  font-size: 19px;
  line-height: 1.3;
}
.workshop-heading {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
}
.workshop-heading span {
  font-weight: 400;
  color: var(--muted);
  margin-left: 6px;
}
.workshop-box p {
  font-size: 12px;
  margin-top: 3px;
}
.workshop-box p span,
.workshop-box small {
  color: var(--muted);
  font-size: 11px;
}
@media (max-width: 760px) {
  .workshop-box {
    padding: 10px;
    gap: 7px;
  }
  .workshop-heading span {
    display: block;
    margin: 1px 0;
  }
  .workshop-box p span {
    display: block;
  }
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 10;
  background: var(--paper);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.day.outside-window {
  color: var(--muted);
  background: #f0ede7;
  opacity: 0.6;
  cursor: default;
}
.calendar .filter-row {
  padding-top: 0;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.calendar .filters {
  flex-wrap: wrap;
}
.subscription-choice {
  margin: 18px 0 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.subscription-choice legend {
  font-size: 12px;
  font-weight: 600;
}
.subscription-choice label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 7px 4px;
  cursor: pointer;
}
.subscription-choice input {
  accent-color: var(--plum);
}
dialog .subscription-help {
  font-size: 11px;
  margin: 10px 0 18px;
}
[hidden] {
  display: none !important;
}
.load-notice {
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-size: 13px;
}
.load-notice button {
  margin: 8px;
}
.event-body {
  min-width: 0;
  overflow-wrap: anywhere;
}
.event-add {
  width: auto;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 5px;
  font-size: 11px;
  white-space: nowrap;
}
.close {
  min-width: 44px;
  min-height: 44px;
}
.filter {
  min-height: 44px;
}
.event-details summary {
  padding: 6px 0;
  min-height: 28px;
}
.includes-classes {
  font-weight: 650;
  color: var(--accent) !important;
}
.hero-actions {
  flex-wrap: wrap;
}
.week-strip .day:focus-visible {
  outline-offset: -3px;
}
@media (max-width: 760px) {
  .hero {
    padding: 28px 0;
  }
  .hero h1 {
    font-size: 38px;
    margin: 14px 0;
  }
  .hero .intro {
    font-size: 13px;
  }
  .hero-actions {
    margin-top: 18px;
  }
  .event-card {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }
  .event-time {
    grid-column: 1;
    grid-row: 1;
  }
  .event-time .time-label {
    max-width: none;
  }
  .event-body {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .event-add {
    grid-column: 2;
    grid-row: 1;
  }
  .workshop-heading span {
    display: inline;
    margin-left: 6px;
  }
  .tags .tag {
    font-size: 9px;
  }
  .event-card .location,
  .event-details {
    font-size: 12px;
  }
  .day .weekday,
  .day .day-count {
    font-size: 9px;
  }
  .day .weekday {
    letter-spacing: 0;
  }
  .day .day-count {
    white-space: nowrap;
  }
  .hero .desktop {
    display: none;
  }
}

/* Local calendar history */
.log-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  margin: 0 0 32px;
  background: #eee3eb;
  border: 1px solid #cfb5c5;
  border-left: 5px solid var(--plum);
  border-radius: 8px;
}
.log-callout strong {
  font-size: 20px;
  color: var(--plum);
}
.log-callout p {
  font-size: 13px;
  margin-top: 5px;
  line-height: 1.6;
}
.log-callout a {
  white-space: nowrap;
  text-decoration: none;
}
main.change-log {
  max-width: 1000px;
  padding-top: 32px;
  padding-bottom: 60px;
}
.log-back {
  display: inline-flex;
  text-decoration: none;
}
.log-heading {
  margin: 34px 0 24px;
}
.log-heading h1 {
  font-size: 54px;
  margin: 12px 0 16px;
}
.log-heading p {
  font-size: 16px;
  line-height: 1.7;
}
.log-count {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.log-explanation {
  padding: 16px 20px;
  background: #efe9e0;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 26px;
  font-size: 14px;
}
.log-explanation summary {
  cursor: pointer;
  font-weight: 600;
}
.log-explanation p {
  margin-top: 12px;
  line-height: 1.8;
}
.log-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.log-card {
  background: #fffdf9;
  border: 1px solid var(--line);
  border-left: 5px solid #347252;
  border-radius: 9px;
  padding: 22px 24px;
  overflow-wrap: anywhere;
  box-shadow: 0 3px 12px #38202d06;
}
.log-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
}
.log-meta time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.log-badge {
  padding: 5px 10px;
  border-radius: 5px;
  background: #e2f0e7;
  color: #23563c;
  font-weight: 700;
}
.log-history {
  font-size: 11px;
  color: #68615b;
  background: #f0ece6;
  padding: 4px 8px;
  border-radius: 4px;
}
.log-card h2 {
  font-family: inherit;
  font-size: 20px;
  line-height: 1.45;
  margin: 15px 0 9px;
  letter-spacing: 0;
}
.log-event-info {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.log-event-info strong {
  color: var(--ink);
  margin-right: 5px;
}
.log-card details {
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.log-card summary {
  cursor: pointer;
}
.log-card code {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.log-removed,
.log-cancelled {
  border-left-color: #b04444;
}
.log-removed .log-badge,
.log-cancelled .log-badge {
  background: #fbe6e4;
  color: #8b3030;
}
.log-replaced {
  border-left-color: #ac721c;
}
.log-replaced .log-badge {
  background: #fff0d4;
  color: #79500f;
}
.log-restored {
  border-left-color: #3d6996;
}
.log-restored .log-badge {
  background: #e5edf9;
  color: #31577f;
}
@media (max-width: 760px) {
  .log-callout {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
    gap: 14px;
  }
  .log-callout a {
    text-align: center;
  }
  .log-heading h1 {
    font-size: 38px;
  }
  .log-heading p {
    font-size: 14px;
  }
  .log-card {
    padding: 17px 16px;
  }
  .log-card h2 {
    font-size: 18px;
  }
  .log-meta {
    gap: 8px 10px;
  }
  .log-meta time {
    font-size: 12px;
  }
  .log-event-info {
    font-size: 13px;
  }
}

.event-pricing {
  margin-top: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.price-list {
  margin: 0;
  display: grid;
  gap: 7px;
}
.price-row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(0, 1.4fr);
  gap: 16px;
  align-items: baseline;
}
.price-row dt {
  color: var(--muted);
}
.price-row dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--plum);
}
.price-row dd.price-unknown {
  font-weight: 400;
  color: var(--muted);
}
.price-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}
@media (max-width: 400px) {
  .price-row {
    grid-template-columns: minmax(95px, 1fr) minmax(0, 1.4fr);
    gap: 10px;
  }
}

.price-row dt small {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 2px;
  font-weight: 400;
}
.price-row dd {
  white-space: normal;
}

.sl-trip {
  margin: 6px 0 9px;
  font-size: 12px;
}
.sl-trip a {
  display: inline-block;
  padding: 5px 0;
  color: var(--plum);
  font-weight: 650;
  text-underline-offset: 3px;
}
.sl-trip small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}

.sl-start {
  display: inline-block;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--plum);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sl-start:disabled {
  opacity: 0.6;
  cursor: wait;
}
.sl-status:not(:empty) {
  margin-top: 5px;
  color: var(--accent);
}

/* Keep keyboard focus visible inside the clipped date grid. */
.day:focus-visible {
  outline-offset: -4px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Discovery and bilingual controls. Keep functional copy readable at phone sizes. */
:root {
  --accent: #a3432c;
  --muted: #635961;
  --salsa: #963d2a;
}
select {
  font: inherit;
  color: var(--ink);
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px;
  min-height: 44px;
  max-width: 100%;
}
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button,
summary,
select {
  touch-action: manipulation;
}
.top-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.language-label {
  font-size: 14px;
}
.hero {
  padding: 36px 0;
}
.hero .intro {
  max-width: 560px;
  font-size: 16px;
}
.hero-art {
  min-height: 265px;
}
.discovery {
  scroll-margin-top: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.quick-dates,
.extra-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.extra-filters label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.extra-filters input {
  width: 20px;
  height: 20px;
  accent-color: var(--plum);
}
.filter {
  font-size: 14px;
  min-height: 44px;
}
.more-filters {
  margin-top: 12px;
}
summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
}
#result-count {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
#date-picker {
  margin: 12px 0;
}
#date-picker > p {
  color: var(--muted);
  margin-bottom: 12px;
}
.day {
  min-height: 90px;
  min-width: 0;
}
.day .weekday,
.day .day-count,
.day .month-label {
  font-size: 14px;
  letter-spacing: 0;
}
.day .month-label {
  color: inherit;
  margin: 0;
}
.day .day-count {
  opacity: 1;
}
.timezone-note {
  font-size: 14px;
}
.date-label {
  font-weight: 400;
}
.date-label span,
.date-label small {
  font-size: 14px;
  letter-spacing: 0;
}
.event-time .time-label,
.event-time small {
  font-size: 14px;
  max-width: none;
}
.event-card {
  grid-template-columns: 130px minmax(0, 1fr);
}
.event-card h3 {
  font-size: 18px;
}
.event-card .location,
.event-pricing,
.price-note,
.credits,
.credits strong,
.workshop-heading,
.workshop-heading span,
.workshop-box p,
.workshop-box small,
.price-row dt small,
.event-details,
.event-details summary,
.sl-trip,
.sl-trip small,
.event-links,
.subscribe-banner p,
footer {
  font-size: 14px;
}
.tags .tag {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.event-add {
  grid-column: 2;
  justify-self: start;
  font-size: 14px;
  min-height: 44px;
}
.event-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.event-links {
  flex-wrap: wrap;
}
.event-details summary {
  min-height: 44px;
}
.source-note {
  border-left: 2px solid var(--line);
  padding-left: 12px;
}
.sl-start {
  min-height: 44px;
}
.show-later {
  display: flex;
  margin: 20px auto;
}
.back-to-filters {
  display: block;
  position: sticky;
  bottom: 16px;
  z-index: 2;
  width: fit-content;
  max-width: 100%;
  margin: 20px auto;
  border: 1px solid var(--plum);
  border-radius: 24px;
  padding: 12px 20px;
  background: var(--plum);
  color: white;
  box-shadow: 0 3px 12px #38202d30;
  text-decoration: none;
}
dialog {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
dialog h2 {
  padding-right: 18px;
  font-size: 32px;
}
dialog p,
dialog label,
.subscription-choice label,
dialog .subscription-help,
.copy-row input {
  font-size: 14px;
}
#calendar-platform {
  display: block;
  width: 100%;
  margin-top: 8px;
}
.dialog-actions a {
  white-space: normal;
}
@media (max-width: 760px) {
  .topbar {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .top-actions {
    gap: 8px;
  }
  .brand > span:last-child {
    display: none;
  }
  .language-label {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
  }
  .topbar .small-button {
    font-size: 14px;
    min-height: 44px;
  }
  main {
    padding: 0 16px;
  }
  .hero {
    padding: 24px 0;
  }
  .hero .intro {
    font-size: 16px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-art {
    display: none;
  }
  .filters,
  .quick-dates {
    gap: 8px;
  }
  .filter {
    padding: 8px 12px;
  }
  .week-strip {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .day .weekday,
  .day .day-count,
  .day .month-label {
    font-size: 12px;
  }
  .day .weekday {
    text-transform: none;
  }
  .day strong {
    font-size: 24px;
  }
  .event-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 16px;
    gap: 14px;
  }
  .event-time {
    grid-column: 1;
    grid-row: 1;
  }
  .event-body {
    grid-column: 1;
    grid-row: 2;
  }
  .event-add {
    grid-column: 1;
    grid-row: 3;
  }
  .event-time .time-label,
  .event-card .location,
  .event-details {
    font-size: 14px;
  }
  .date-label {
    flex-wrap: wrap;
  }
  .copy-row {
    flex-wrap: wrap;
  }
  .copy-row input {
    flex-basis: 100%;
  }
  .price-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
