@font-face {
  font-family: "Inter";
  src: url("fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Crimson Pro";
  src: url("fonts/CrimsonPro.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Crimson Pro";
  src: url("fonts/CrimsonPro-Italic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #1a1714;
  --secondary: #5e574f;
  --tertiary: #5c564f;
  --muted: #645e57;
  --hairline: #e8ded3;
  --control: #cabeb1;
  --page: #ffffff;
  --sand: #f9f7f4;
  --tag: #f2f3f6;
  --blue: #be3a1a;
  --blue-hover: #9a3412;
  --range: #ffe7a3;
  --highlight: #fff4d6;
  --navy: #5b21b6;
  --gold: #ffc531;
  --gold-light: #ffc531;
  --coral: #ff5a3c;
  --teal: #0fb5ae;
  --plum: #7a3fd1;
  --sun: #ffc531;
  --venue: #433e38;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  color-scheme: light;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
}

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

button {
  cursor: pointer;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 150ms var(--ease), background-color 150ms var(--ease), border-color 150ms var(--ease);
}

a:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

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

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 80;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  border: 1px solid var(--control);
}

.skip-link:focus {
  top: 8px;
}

.ms {
  font-family: "Material Symbols Sharp";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
  -webkit-font-smoothing: antialiased;
}

.eyebrow {
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9a3412;
  line-height: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 40px;
  border-bottom: 6px solid transparent;
  border-image: linear-gradient(90deg, #ff5a3c, #ffc531, #0fb5ae, #7a3fd1) 1;
  background: linear-gradient(180deg, #fff6f1 0%, #ffffff 78%);
}

.brand-title {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.brand-home {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  flex: none;
}

.brand-name {
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-name .w-dc {
  color: #c2410c;
}

.brand-name .w-social {
  color: #6d28d9;
}

.brand-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}

.brand-heading .brand-name {
  white-space: nowrap;
}

.beta-badge {
  flex: none;
  padding: 3px 7px;
  border: 1px solid #e7c56a;
  border-radius: 4px;
  background: #fff4d6;
  color: #785500;
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-sub {
  font-family: "Crimson Pro", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1;
  color: #444;
}

.top-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.top-actions-row {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 400;
  font-size: 13px;
  color: var(--secondary);
}

.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--control);
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
}

body.is-calendar .view-toggle {
  border-color: var(--ink);
}

.view-toggle .ms {
  font-size: 18px;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px 0;
  color: var(--secondary);
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
}

.btn-text .ms {
  font-size: 18px;
}

.btn-text:hover,
.text-link:hover,
#more-dates:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

.btn-email {
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: #fff;
  padding: 11px 16px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
}

.btn-email:hover {
  background: var(--blue-hover);
  color: #fff;
  text-decoration: none;
}

.refresh-status {
  margin: 0;
  min-height: 1em;
  font-size: 12px;
  font-weight: 400;
  color: var(--tertiary);
  text-align: right;
}

.refresh-status.is-error {
  color: #c64d2d;
}

.pull-indicator {
  margin: 0;
  text-align: center;
  color: var(--secondary);
  font-size: 13px;
  padding: 8px 16px;
}

.install-tip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 40px;
  background: var(--sand);
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}

.install-tip p {
  margin: 0;
}

.layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
}

body.is-calendar .layout {
  grid-template-columns: minmax(0, 1fr);
}

body.is-calendar .sidebar {
  display: none;
}

.sidebar {
  background: var(--sand);
  border-right: 1px solid var(--hairline);
  padding: 28px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 100%;
}

.filter-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-calendar {
  gap: 12px;
}

.mini-calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mini-calendar-heading h2 {
  margin: 0;
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

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

.mini-calendar-nav button:disabled {
  color: var(--muted);
  cursor: default;
}

.mini-calendar-weekdays,
.mini-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}

.mini-calendar-weekdays {
  color: var(--secondary);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

.mini-calendar-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
}

.mini-calendar-day:disabled {
  color: var(--muted);
  cursor: default;
}

.mini-calendar-day.is-outside {
  opacity: 0.6;
}

.mini-calendar-day.is-selected,
.mini-calendar-day:not(:disabled):hover {
  background: var(--range);
}

.mini-calendar-day.is-today {
  background: var(--blue);
  color: #fff;
}

.mini-calendar-dot {
  width: 4px;
  height: 4px;
  background: transparent;
}

.mini-calendar-day.has-events .mini-calendar-dot {
  background: var(--blue);
}

.mini-calendar-day.is-today .mini-calendar-dot {
  background: #fff;
}

.mini-calendar-day.is-today:not(.has-events) .mini-calendar-dot {
  background: transparent;
}

.mini-open-calendar {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 13px;
}

.mini-open-calendar:hover {
  text-decoration: underline;
}

.filter-label {
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--secondary);
  line-height: 1;
}

.filter-hint {
  margin: 0;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  color: var(--tertiary);
}

.week-nav,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--secondary);
  padding: 4px;
}

.week-nav:disabled {
  color: var(--muted);
  cursor: default;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--control);
  background: #fff;
  border-radius: 4px;
  padding: 9px 10px;
  color: var(--tertiary);
}

.search-field .ms {
  font-size: 18px;
}

.search-field input {
  border: 0;
  background: transparent;
  flex: 1;
  min-width: 0;
  padding: 0;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink);
  border-radius: 0;
}

.search-field input:focus {
  outline: none;
}

.search-field:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.search-field input::placeholder {
  color: var(--tertiary);
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.category-row input {
  appearance: none;
  width: 13px;
  height: 13px;
  margin: 0;
  border: 1px solid var(--tertiary);
  background: #fff;
  border-radius: 0;
  display: grid;
  place-content: center;
  flex: none;
}

.category-row input:checked {
  background: var(--ink);
  border-color: var(--ink);
}

.category-row input:checked::after {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) translate(0, -1px);
}

.category-swatch {
  width: 10px;
  height: 10px;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(26, 23, 20, 0.18);
}

.category-name {
  flex: 1;
}

.category-count {
  font-size: 12px;
  color: var(--tertiary);
}

.segmented {
  display: grid;
  border: 1px solid var(--control);
  background: #fff;
}

.segmented-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.segmented-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.segmented button {
  appearance: none;
  border: 0;
  border-left: 1px solid var(--control);
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  padding: 9px 4px;
}

.segmented button:first-child {
  border-left: 0;
}

.segmented button[aria-checked="true"] {
  background: var(--ink);
  color: #fff;
}

.segmented button[aria-checked="true"]:hover {
  color: #fff;
  text-decoration: none;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 8px 10px;
  border: 1px solid var(--control);
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
}

.chip[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--highlight);
  color: #9a3412;
}

.filter-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

#more-dates,
.text-link {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

#more-dates {
  color: var(--secondary);
  font-weight: 400;
  font-size: 13px;
}

.text-link {
  color: var(--blue);
  font-weight: 400;
  font-size: 13px;
}

.back-today {
  font-weight: 500;
  padding-top: 10px;
}

.date-range {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: -12px;
}

.date-range label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--secondary);
}

.date-range input,
input[type="date"],
input[type="search"] {
  border-radius: 4px;
}

.date-range input {
  border: 1px solid var(--control);
  padding: 8px 10px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.2;
  color: var(--ink);
  background: #fff;
}

.main {
  padding: 8px 40px 48px;
  min-width: 0;
}

.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 0 4px;
}

.heading-left,
.heading-right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex-wrap: wrap;
}

.heading-right {
  flex: none;
}

.main-title {
  margin: 0;
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
}

.main-range {
  margin: 0;
  padding-top: 10px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  color: #444;
}

.tz-label {
  margin: 0;
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  color: #444;
  white-space: nowrap;
}

.week-nav {
  display: inline-flex;
}

.filters-open-btn {
  display: none;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  font-size: 13px;
  padding: 10px 12px;
}

.filters-open-btn .ms {
  font-size: 18px;
}

.day-group {
  display: flex;
  flex-direction: column;
}

.day-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 30px 0 12px;
  border-bottom: 1px solid var(--ink);
}

.day-rel {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #0f766e;
  line-height: 1;
}

.day-date {
  margin: 0;
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
}

.day-empty,
.loading {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
  font-family: "Crimson Pro", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  color: var(--tertiary);
}

.event-row {
  border-bottom: 1px solid var(--hairline);
  border-left: 4px solid var(--category, transparent);
  padding-left: 12px;
}

.event-summary {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 24px;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.event-row.is-open .event-summary {
  padding-bottom: 0;
}

.event-when {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-time {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  color: var(--ink);
}

.event-format {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
  color: var(--tertiary);
}

.event-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.event-eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.3;
}

.event-org {
  color: var(--ink);
}

.event-title {
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 500;
  font-size: 23px;
  line-height: 1.2;
  text-wrap: pretty;
  color: var(--ink);
}

.event-meta {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  color: var(--secondary);
}

.event-summary .chevron {
  color: var(--tertiary);
  align-self: start;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 44px 20px 112px;
}

.event-description {
  margin: 0;
  max-width: 640px;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

.event-description.is-empty {
  color: var(--tertiary);
  font-style: italic;
}

.event-venue {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  color: var(--venue);
}

.event-venue .ms {
  font-size: 18px;
  color: var(--secondary);
}

.detail-line {
  margin: 0;
  max-width: 640px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.45;
  color: var(--venue);
}

.detail-label {
  display: inline-block;
  min-width: 72px;
  margin-right: 8px;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--secondary);
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border: 0;
  padding: 11px 16px;
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
  text-decoration: none;
}

.btn-primary .ms {
  font-size: 16px;
}

.btn-secondary {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #fff;
  padding: 10px 16px;
}

.btn-secondary:hover {
  color: var(--blue-hover);
  border-color: var(--blue-hover);
  text-decoration: underline;
}

.btn-secondary.is-copied {
  border-color: var(--ink);
  color: var(--ink);
}

.cal-menu {
  position: relative;
}

.cal-menu-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 30;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--control);
  display: flex;
  flex-direction: column;
}

.cal-menu-panel.is-up {
  top: auto;
  bottom: calc(100% + 4px);
}

.cal-menu-panel a,
.cal-menu-panel button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.cal-menu-panel a:last-child,
.cal-menu-panel button:last-child {
  border-bottom: 0;
}

.cal-menu-panel a:hover,
.cal-menu-panel button:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

.week-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-height: 620px;
  margin-top: 22px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--hairline);
}

.week-col {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--hairline);
  min-width: 0;
  background: #fff;
}

.week-col.is-today {
  background: var(--sand);
}

.week-col-head {
  padding: 14px 10px 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  border-bottom: 1px solid var(--hairline);
}

.week-col-dow {
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--secondary);
  line-height: 1;
}

.week-col.is-today .week-col-dow {
  color: #0f766e;
}

.week-col-num {
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
}

.week-col-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 7px;
}

.week-empty {
  margin: 0;
  padding: 4px;
  font-family: "Crimson Pro", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: var(--muted);
}

.cal-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--category, var(--control));
  border-top: 3px solid var(--category, var(--control));
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cal-card-hit {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.cal-card-time {
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  color: var(--ink);
}

.cal-card-title {
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-wrap: pretty;
  color: var(--ink);
}

.cal-card-org {
  font-weight: 400;
  font-size: 11px;
  line-height: 1.35;
  color: var(--secondary);
}

.cal-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.cal-tag {
  font-weight: 500;
  font-size: 10px;
  line-height: 1;
  color: var(--venue);
  background: var(--tag);
  padding: 4px 5px;
}

.cal-card-more {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 10px 10px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

.cal-card-more .event-description {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  max-width: none;
}

.cal-card-more .event-venue,
.cal-card-more .detail-line {
  font-size: 11px;
  color: var(--secondary);
}

.cal-card-more .btn-primary,
.cal-card-more .btn-secondary,
.cal-card-more .cal-menu {
  width: 100%;
}

.cal-card-more .btn-primary {
  padding: 8px;
  font-size: 11px;
}

.cal-card-more .event-actions {
  flex-direction: column;
}

.day-strip,
.strip-day {
  display: none;
}

.newsletter {
  margin-top: 32px;
  margin-bottom: 0;
  background: linear-gradient(105deg, #7c2d12 0%, #5b21b6 52%, #115e59 100%);
  color: #fff;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.newsletter-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.newsletter-kicker {
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-light);
  line-height: 1;
}

.newsletter h2 {
  margin: 0;
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  color: #fff;
}

.newsletter p {
  margin: 0;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4;
  color: #ffe8dc;
}

.newsletter-cta {
  background: #fff;
  color: var(--navy);
  padding: 13px 20px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  flex: none;
}

.newsletter-cta:hover {
  color: var(--navy);
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 40px 48px;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
}

.site-footer p {
  margin: 0;
  max-width: 760px;
}

.sheet-backdrop {
  display: none;
}

.sheet-only {
  display: none;
}

.sticky-chrome,
#search-home {
  display: contents;
}

.menu-toggle,
.phone-bar,
.event-dateline,
.event-badges,
.sheet-clear-bottom {
  display: none;
}

.section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
}

.section-chevron {
  display: none;
  font-size: 22px;
}

.section-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.sidebar-scroll {
  display: contents;
}

dialog {
  border: 1px solid var(--hairline);
  padding: 28px 32px 32px;
  max-width: 680px;
  width: calc(100% - 32px);
  background: #fff;
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(26, 23, 20, 0.45);
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.dialog-head .icon-btn {
  color: var(--secondary);
}

#about-dialog h2 {
  margin: 8px 0 12px;
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1;
}

.about-lead {
  margin: 0 0 8px;
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.45;
}

.about-facts {
  margin: 12px 0;
}

.about-facts div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
}

.about-facts dt {
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--secondary);
}

.about-facts dd {
  margin: 0;
}

.about-note {
  margin: 16px 0 0;
  font-family: "Crimson Pro", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--tertiary);
}

body.filters-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .topbar {
    padding: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 26px;
  }

  .brand-sub {
    font-size: 15px;
  }

  .top-actions {
    align-items: flex-start;
    width: 100%;
  }

  .top-actions-row {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .install-tip,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .layout,
  body.is-calendar .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 60;
    height: auto;
    min-height: 0;
    max-height: min(88vh, 760px);
    overflow: hidden;
    background: #fff;
    border-right: 0;
    border-top: 1px solid var(--hairline);
    padding: 12px 20px 16px;
    gap: 12px;
  }

  .sidebar-scroll {
    display: flex;
    flex-direction: column;
    gap: 28px;
    overflow: auto;
    min-height: 0;
    flex: 1 1 auto;
    padding-bottom: 8px;
  }

  body.filters-open .sidebar {
    display: flex;
  }

  body.filters-open .sheet-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 50;
    border: 0;
    padding: 0;
    background: rgba(26, 23, 20, 0.45);
  }

  .sheet-only {
    display: flex;
  }

  .sheet-chrome {
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: -12px;
    background: #fff;
    z-index: 2;
    padding-bottom: 4px;
  }

  .sheet-grabber {
    width: 40px;
    height: 4px;
    background: var(--control);
    align-self: center;
  }

  .sheet-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    width: 100%;
  }

  .sheet-title-row h2 {
    margin: 0;
    font-family: "Crimson Pro", Georgia, serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1;
  }

  .sheet-apply {
    flex: none;
    width: 100%;
    height: 52px;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: #fff;
    border: 0;
    font-weight: 600;
    font-size: 15px;
  }

  .sheet-apply:hover {
    background: var(--blue-hover);
  }

  .filters-open-btn {
    display: inline-flex;
  }

  .main {
    padding: 8px 16px 32px;
  }

  .heading-row {
    align-items: flex-start;
    padding-top: 18px;
  }

  .main-title {
    font-size: 32px;
  }

  .main-range,
  .back-today {
    padding-top: 0;
  }

  .event-summary {
    grid-template-columns: 72px minmax(0, 1fr) 24px;
    gap: 12px;
  }

  .event-title {
    font-size: 20px;
  }

  .event-details {
    padding-left: 0;
    padding-right: 0;
  }

  .week-board {
    display: none !important;
  }

  body.is-calendar .day-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
    margin-top: 16px;
  }

  body.is-calendar .strip-day {
    display: block;
  }

  .strip-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
  }

  .strip-btn .dow {
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--secondary);
    line-height: 1;
  }

  .strip-btn .n {
    font-family: "Crimson Pro", Georgia, serif;
    font-weight: 500;
    font-size: 19px;
    line-height: 1;
  }

  .strip-btn.is-selected {
    background: var(--blue);
    color: #fff;
  }

  .strip-btn.is-selected .dow {
    color: #fff;
  }

  .strip-dot {
    width: 4px;
    height: 4px;
    background: transparent;
  }

  .strip-btn.has-events .strip-dot {
    background: var(--blue);
  }

  .strip-btn.is-selected.has-events .strip-dot {
    background: #fff;
  }

  .newsletter {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }

  .about-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  dialog {
    padding: 20px 18px 24px;
  }
}

@media (min-width: 701px) {
  .section-toggle {
    pointer-events: none;
  }
}

@media (max-width: 700px) {
  .mini-calendar-day {
    height: 44px;
    font-size: 16px;
  }

  .mini-calendar-nav button {
    min-width: 44px;
    min-height: 44px;
  }

  .mini-open-calendar {
    display: none;
  }

  html,
  body {
    overflow-x: clip;
    max-width: 100%;
  }

  .sticky-chrome {
    display: block;
    position: sticky;
    top: 0;
    z-index: 40;
    background: linear-gradient(180deg, #fff6f1 0%, #ffffff 100%);
    border-bottom: 6px solid transparent;
    border-image: linear-gradient(90deg, #ff5a3c, #ffc531, #0fb5ae, #7a3fd1) 1;
  }

  .topbar {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 4px;
    padding-top: max(8px, env(safe-area-inset-top));
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    border-bottom: 0;
    position: relative;
  }

  .brand-title {
    min-width: 0;
    flex: 1;
  }

  .brand-home {
    gap: 2px;
    min-width: 0;
    max-width: 100%;
  }

  .eyebrow {
    display: none;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 22px;
  }

  .beta-badge {
    padding: 2px 5px;
    font-size: 9px;
  }

  .brand-sub {
    max-width: 100%;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
  }

  .top-actions {
    position: static;
    align-items: flex-end;
    width: auto;
    flex: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--control);
    background: #fff;
    color: var(--ink);
  }

  .top-actions-row {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: max(12px, env(safe-area-inset-right));
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 4px;
    width: min(280px, calc(100vw - 24px));
    min-width: 220px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--hairline);
    box-shadow: 0 12px 32px rgba(26, 23, 20, 0.16);
  }

  body.menu-open .top-actions-row {
    display: flex;
  }

  body.menu-open .top-actions-row .btn-text,
  body.menu-open .top-actions-row .btn-email {
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 16px;
  }

  body.menu-open .top-actions-row .btn-email {
    justify-content: center;
  }

  #view-toggle {
    display: none;
  }

  .refresh-status {
    display: none;
    margin: 0;
    font-size: 13px;
    text-align: left;
  }

  .refresh-status:not(:empty) {
    display: block;
    position: absolute;
    left: max(12px, env(safe-area-inset-left));
    right: 72px;
    bottom: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .topbar:has(.refresh-status:not(:empty)) {
    padding-bottom: 22px;
  }

  .phone-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 12px 10px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    background: transparent;
  }

  .phone-search-row,
  .phone-dayrow {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
  }

  #phone-search-slot {
    flex: 1;
    min-width: 0;
  }

  #phone-search-slot .filter-block {
    gap: 0;
  }

  #phone-search-slot .filter-label,
  #phone-search-slot .filter-hint {
    display: none;
  }

  .search-field {
    min-height: 44px;
  }

  .search-field input,
  .date-range input,
  input,
  select,
  textarea {
    font-size: 16px;
  }

  .phone-filters {
    display: inline-flex;
    flex: none;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 600;
  }

  .phone-strip {
    display: flex;
    flex: 1;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .phone-strip::-webkit-scrollbar {
    display: none;
  }

  .phone-day {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 56px;
    min-height: 56px;
    padding: 6px 8px;
    scroll-snap-align: start;
    border: 1px solid var(--hairline);
    background: var(--sand);
    color: var(--ink);
    line-height: 1;
  }

  .phone-dow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f766e;
  }

  .phone-num {
    font-family: "Crimson Pro", Georgia, serif;
    font-size: 20px;
    font-weight: 600;
  }

  .phone-dot {
    width: 5px;
    height: 5px;
    background: transparent;
  }

  .phone-day.has-events .phone-dot {
    background: var(--blue);
  }

  .phone-day.is-selected {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
  }

  .phone-day.is-selected .phone-dow {
    color: #fff;
  }

  .phone-day.is-selected.has-events .phone-dot {
    background: #fff;
  }

  .install-tip,
  .site-footer,
  .main {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .main {
    padding-top: 12px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }

  .heading-row {
    display: none;
  }

  .layout,
  body.is-calendar .layout {
    display: block;
  }

  #list-view {
    display: block;
  }

  #cal-view,
  .week-board {
    display: none !important;
  }

  .day-rel {
    font-size: 13px;
  }

  .day-date {
    font-size: 26px;
  }

  .day-empty,
  .loading,
  .event-description,
  .detail-line,
  .event-venue {
    font-size: 16px;
  }

  .event-row {
    margin: 0 0 12px;
    padding: 4px 14px 8px;
    border: 1px solid var(--hairline);
    border-left: 4px solid var(--category, var(--hairline));
    background: #fff;
  }

  .event-summary {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-height: 44px;
    padding: 12px 0;
    text-align: left;
  }

  .event-when {
    display: none;
  }

  .event-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
  }

  .event-dateline {
    display: block;
    order: 1;
    padding-right: 28px;
    color: #111;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
  }

  .event-title {
    order: 2;
    font-size: 22px;
    overflow-wrap: anywhere;
  }

  .event-eyebrow {
    order: 3;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }

  .event-org,
  .event-category {
    font-size: 16px;
  }

  .event-meta {
    display: none;
  }

  .event-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    order: 4;
  }

  .event-badge {
    padding: 6px 10px;
    background: var(--tag);
    color: var(--venue);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
  }

  .event-summary .chevron {
    position: absolute;
    top: 12px;
    right: 0;
    margin: 0;
  }

  .event-details {
    gap: 14px;
    padding: 4px 0 12px;
  }

  .event-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .event-actions .cal-menu,
  .event-actions .btn-primary,
  .event-actions .btn-secondary {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }

  .event-actions .cal-menu-btn {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }

  .event-actions .cal-menu-panel {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
  }

  .event-actions .cal-menu-panel a,
  .event-actions .cal-menu-panel button {
    min-height: 44px;
    font-size: 16px;
  }

  .newsletter {
    margin-top: 0;
    margin-bottom: 28px;
    padding: 20px 16px;
  }

  .newsletter-cta {
    min-height: 48px;
    font-size: 16px;
  }

  .site-footer {
    font-size: 16px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  body.filters-open .sidebar {
    top: 0;
    height: 100dvh;
    max-height: none;
    padding: 8px 16px 0;
    padding-top: max(8px, env(safe-area-inset-top));
    border-radius: 0;
  }

  .sheet-title-row #sheet-clear {
    display: none;
  }

  .sheet-title-row h2 {
    font-size: 28px;
  }

  .sheet-actions {
    position: sticky;
    bottom: 0;
    z-index: 3;
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--hairline);
  }

  .sheet-clear-bottom {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--ink);
    background: #fff;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
  }

  .sheet-apply {
    flex: 1;
    width: auto;
    min-width: 0;
    min-height: 48px;
    height: auto;
    font-size: 16px;
  }

  .section-toggle {
    min-height: 44px;
    pointer-events: auto;
  }

  .section-chevron {
    display: inline-block;
  }

  .filter-label {
    font-size: 13px;
  }

  .filter-hint,
  .category-row,
  .category-count {
    font-size: 16px;
  }

  .category-row {
    min-height: 44px;
    gap: 12px;
  }

  .category-row input {
    width: 22px;
    height: 22px;
  }

  .chip-row {
    gap: 8px;
  }

  .chip {
    max-width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 16px;
    white-space: normal;
    text-align: left;
  }

  .segmented,
  .segmented-3,
  .segmented-4 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 0;
    background: transparent;
  }

  .segmented button {
    flex: 1 1 calc(50% - 8px);
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--control);
    font-size: 16px;
  }

  .segmented button:first-child {
    border-left: 1px solid var(--control);
  }

  #dates-panel .filter-footer {
    display: none;
  }

  .date-range {
    margin-top: 0;
  }

  .date-range label {
    font-size: 16px;
  }

  .date-range input {
    min-height: 44px;
    font-size: 16px;
  }

  dialog {
    max-height: calc(100dvh - 24px - env(safe-area-inset-top));
    overflow: auto;
  }
}

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

.empty-state {
  margin: 12px 0 0;
  padding: 28px 16px;
  text-align: center;
  border: 1px solid #ffd0c4;
  background: linear-gradient(180deg, #fff8f4 0%, #ffffff 100%);
  font-family: "Crimson Pro", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
}

#signup-dialog {
  max-width: 420px;
}

#signup-dialog h2 {
  margin: 8px 0 0;
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.15;
}
