:root {
  --page-bg: #dfeaf3;
  --panel: #f5f9fc;
  --card: #ffffff;
  --ink: #1f3342;
  --muted: #627a8c;
  --line: #d4e0ea;
  --accent: #2887a4;
  --accent-strong: #176a83;
  --shadow: 0 18px 45px rgba(41, 71, 91, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #edf4f9 0%, var(--page-bg) 100%);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(50, 109, 172, 0.22);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(1320px, calc(100vw - 36px));
  margin: 26px auto 52px;
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #3bb4d7, #86d8ee);
  color: #0f3340;
  font-size: 24px;
  font-weight: 800;
}

.brand-icon {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  filter: drop-shadow(0 14px 24px rgba(15, 37, 95, 0.18));
}

.brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand-title {
  color: #163246;
  font-size: clamp(1.5rem, 2.8vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.brand-subtitle {
  color: #547187;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-stack strong {
  font-size: 1.35rem;
}

.brand-stack span {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, background 160ms ease;
}

.site-button:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
}

.site-button.is-success {
  background: #1f7b47;
}

.site-button.is-success:hover {
  background: #16683a;
}

.site-button.is-sent {
  background: #f3c85b;
  color: #493400;
}

.site-button.is-sent:hover {
  background: #e5b94a;
}

.site-button:disabled {
  transform: none;
  background: #c9d8ea;
  color: #6a8095;
  cursor: not-allowed;
  box-shadow: none;
}

.site-button--secondary {
  background: #fff;
  color: var(--accent-strong);
  border: 1px solid var(--line);
  box-shadow: none;
}

.site-button--soft {
  background: #e8f4f8;
  color: #17607a;
  box-shadow: none;
}

.site-button--soft:hover {
  background: #d9edf6;
}

.filters-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.filters-copy h1,
.filters-copy p,
.results-bar p,
.event-card__content h2,
.event-card__summary,
.empty-card h3,
.empty-card p,
.auth-hero h1,
.auth-hero p,
.auth-panel h2,
.auth-panel p,
.auth-form label span,
.session-card p,
.session-card h2 {
  margin: 0;
}

.filters-copy h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.filters-copy p {
  max-width: 60ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.03rem;
}

.filters-toolbar {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.field-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-block span {
  color: var(--muted);
  font-size: 0.92rem;
}

.field-block input {
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}

.results-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  color: var(--muted);
}

.events-section {
  margin-top: 22px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.event-card,
.empty-card,
.auth-panel,
.session-card {
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.event-card {
  overflow: hidden;
  border: 1px solid rgba(212, 224, 234, 0.72);
}

.event-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d7e3eb;
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__content {
  padding: 16px 18px 18px;
}

.event-card__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.event-card__content h2 {
  font-size: 1.75rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.event-card__meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.event-card__summary {
  margin-top: 16px;
  min-height: 3.5em;
  color: var(--ink);
  font-size: 1.02rem;
}

.event-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.event-card__tags span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: #edf5fa;
  color: var(--accent-strong);
  font-size: 0.85rem;
}

.event-card__action {
  width: 100%;
  margin-top: 18px;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.event-card__action:hover {
  background: var(--accent-strong);
}

.empty-card {
  grid-column: 1 / -1;
  padding: 28px;
}

.empty-card h3 {
  font-size: 1.5rem;
}

.empty-card p {
  margin-top: 10px;
  color: var(--muted);
}

.event-modal[hidden] {
  display: none;
}

.event-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.event-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 37, 0.6);
  backdrop-filter: blur(4px);
}

.event-modal__dialog {
  position: relative;
  width: min(980px, calc(100vw - 26px));
  margin: 28px auto;
  max-height: calc(100vh - 56px);
  overflow: auto;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 30px 80px rgba(10, 25, 37, 0.34);
}

.event-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
}

.event-modal__media {
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #edf4f9 0%, #dbe8f2 100%);
}

.event-modal__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 860px);
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 4px);
  box-shadow: 0 16px 36px rgba(31, 51, 66, 0.14);
}

.event-modal__body {
  padding: 22px 24px 28px;
}

.modal-kicker {
  color: var(--accent-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.event-modal__body h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.modal-meta,
.modal-description,
.modal-list dt,
.modal-list dd {
  margin: 0;
}

.modal-meta {
  margin-top: 12px;
  color: var(--muted);
}

.modal-description {
  margin-top: 18px;
  font-size: 1.04rem;
  line-height: 1.6;
}

.modal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.modal-list div {
  padding: 16px;
  border-radius: 16px;
  background: #f3f8fb;
}

.modal-list dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.modal-list dd {
  margin-top: 8px;
  font-weight: 600;
}

.modal-location-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--accent-strong);
  line-height: 1.45;
}

.modal-contact-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--accent-strong);
  line-height: 1.45;
}

.modal-location-link:hover,
.modal-contact-link:hover {
  color: var(--accent);
}

.modal-location-link__icon,
.modal-contact-link__icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.modal-location-link__icon svg,
.modal-contact-link__icon svg {
  width: 100%;
  height: 100%;
}

.modal-location-link__text,
.modal-contact-link__text {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.modal-contact-link--whatsapp {
  color: #14804a;
}

.modal-social-link {
  --social-shadow: rgba(16, 37, 61, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
  color: #fff;
  box-shadow: 0 16px 28px var(--social-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.modal-social-link:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 34px var(--social-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  filter: saturate(1.08) brightness(1.03);
}

.modal-social-link:focus-visible {
  outline: 3px solid rgba(27, 79, 144, 0.18);
  outline-offset: 3px;
}

.modal-social-link--instagram {
  --social-shadow: rgba(145, 52, 125, 0.22);
  background:
    radial-gradient(circle at 26% 112%, rgba(254, 218, 117, 0.92) 0 16%, transparent 17%),
    linear-gradient(135deg, #feda75 0%, #fa7e1e 20%, #d62976 52%, #962fbf 76%, #4f5bd5 100%);
}

.modal-social-link--facebook {
  --social-shadow: rgba(24, 119, 242, 0.24);
  background: linear-gradient(135deg, #1877f2 0%, #0c5ad8 100%);
}

.modal-social-link--youtube {
  --social-shadow: rgba(215, 33, 47, 0.24);
  background: linear-gradient(135deg, #ff4d5a 0%, #d9212f 100%);
}

.modal-social-link--globe {
  --social-shadow: rgba(27, 79, 144, 0.2);
  background: linear-gradient(135deg, #2d72bf 0%, #1638ab 100%);
}

.modal-social-link span,
.modal-social-link svg {
  width: 22px;
  height: 22px;
  display: block;
}

.floating-whatsapp {
  position: fixed;
  right: max(18px, calc(env(safe-area-inset-right) + 12px));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 32px rgba(16, 37, 61, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 36px rgba(16, 37, 61, 0.24);
  filter: saturate(1.05);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.22);
  outline-offset: 4px;
}

.floating-whatsapp__icon {
  width: 28px;
  height: 28px;
}

.floating-whatsapp__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.optional-fields {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(241, 247, 253, 0.5);
}

.optional-fields__head {
  display: grid;
  gap: 6px;
}

.optional-fields__head h3,
.optional-fields__head p {
  margin: 0;
}

.optional-fields__head h3 {
  font-size: 1.02rem;
}

.optional-fields__head p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.auth-page {
  min-height: 100vh;
}

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 26px;
  align-items: start;
}

.auth-hero {
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72)),
    url("https://images.unsplash.com/photo-1517838277536-f5f99be501cd?auto=format&fit=crop&w=1400&q=80") center/cover;
  min-height: 720px;
  box-shadow: var(--shadow);
}

.auth-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.auth-hero p {
  margin-top: 16px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.auth-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.auth-points div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.auth-panel-wrap {
  display: grid;
  gap: 18px;
}

.auth-panel,
.session-card {
  padding: 24px;
}

.auth-panel h2,
.session-card h2 {
  font-size: 1.7rem;
}

.auth-panel p,
.session-card p {
  margin-top: 8px;
  color: var(--muted);
}

.auth-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.auth-tab {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.auth-tab.is-active {
  background: #eaf5fb;
  color: var(--accent-strong);
  border-color: #bfd7e3;
}

.auth-feedback {
  min-height: 24px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-feedback.is-error {
  color: #b03f3f;
}

.auth-feedback.is-success {
  color: #1f7a46;
}

.auth-form {
  display: none;
  gap: 14px;
  margin-top: 18px;
}

.auth-form.is-active {
  display: grid;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.whatsapp-field {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}

.whatsapp-field:focus-within {
  border-color: rgba(54, 111, 178, 0.42);
  box-shadow: 0 0 0 4px rgba(37, 95, 163, 0.12);
}

.whatsapp-field__country,
.whatsapp-field__input {
  min-height: 54px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.whatsapp-field__country {
  min-width: 72px;
  padding: 0 14px 0 16px;
  border-right: 1px solid rgba(191, 215, 227, 0.92);
  font-weight: 700;
  cursor: pointer;
}

.whatsapp-field__prefix {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 12px;
  border-right: 1px solid rgba(191, 215, 227, 0.92);
  color: var(--accent-strong);
  font-weight: 700;
  white-space: nowrap;
}

.whatsapp-field__input {
  width: 100%;
  padding: 0 16px;
}

.whatsapp-field__country:focus,
.whatsapp-field__input:focus {
  outline: none;
}

.auth-form label span {
  color: var(--muted);
  font-size: 0.92rem;
}

.field-label-with-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.char-counter {
  flex: none;
  font-size: 0.8rem;
  color: #93a5b7;
  font-variant-numeric: tabular-nums;
  transition: color 160ms ease;
}

.char-counter.is-near-limit {
  color: #b07a2a;
}

.char-counter.is-at-limit {
  color: #a13d42;
  font-weight: 700;
}

.auth-form input {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.auth-form textarea {
  min-height: 140px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  resize: vertical;
  font: inherit;
}

.auth-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-form__actions,
.session-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.session-card[hidden] {
  display: none;
}

.simple-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 26px;
  align-items: start;
}

.simple-auth-hero,
.simple-auth-card,
.dashboard-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(212, 224, 234, 0.72);
  box-shadow: var(--shadow);
}

.simple-auth-hero {
  min-height: 100%;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
    url("https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1400&q=80") center/cover;
}

.simple-auth-hero h1,
.dashboard-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.simple-auth-hero p,
.dashboard-hero p,
.dashboard-card p,
.review-summary p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.simple-auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.simple-auth-card,
.dashboard-card {
  padding: 24px;
}

.simple-auth-card h2,
.dashboard-card h1,
.dashboard-card h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.simple-divider {
  height: 1px;
  margin: 22px 0;
  border: 0;
  background: var(--line);
}

.site-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-session {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  min-width: 0;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page {
  min-height: 100vh;
}

.dashboard-hero {
  margin-bottom: 22px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82)),
    linear-gradient(135deg, #d6eef6, #eef6fb 55%, #dceaf5);
  border: 1px solid rgba(212, 224, 234, 0.72);
  box-shadow: var(--shadow);
}

.dashboard-layout {
  display: grid;
  gap: 22px;
}

.dashboard-layout--organizer {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  align-items: start;
}

.dashboard-stack {
  display: grid;
  gap: 22px;
}

.dashboard-events,
.dashboard-nearby {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.dashboard-event-item,
.nearby-item {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f4f8fb;
  border: 1px solid #dbe7ef;
}

.dashboard-event-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.dashboard-event-item strong,
.nearby-item strong {
  font-size: 1.02rem;
}

.dashboard-event-item p,
.nearby-item p,
.dashboard-note {
  margin: 0;
  color: var(--muted);
}

.dashboard-event-item__note {
  color: #59748c;
  font-size: 0.84rem;
  line-height: 1.5;
}

.dashboard-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.dashboard-status--pending_review {
  background: #fff3d8;
  color: #8f6200;
}

.dashboard-status--published {
  background: #def4e5;
  color: #1c6b3b;
}

.dashboard-status--rejected,
.dashboard-status--cancelled {
  background: #f8dfe0;
  color: #a13d42;
}

.dashboard-status--draft {
  background: #e8eef4;
  color: #55697a;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 960px);
  justify-content: center;
}

.review-summary {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.review-summary__image {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #d7e3eb;
}

.review-summary__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-summary__body {
  display: grid;
  gap: 4px;
}

.review-summary__body h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.dashboard-layout--admin {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-hero--admin {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-section-head h2 {
  margin: 0;
}

.admin-section-head p {
  max-width: 70ch;
}

.admin-metrics,
.admin-payments-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-premium-logic__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-metric-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 20px;
  background: #f5f9fc;
  border: 1px solid #dbe7ef;
}

.admin-metric-card span,
.admin-metric-card small,
.admin-events-state {
  color: var(--muted);
}

.admin-metric-card strong {
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.admin-premium-logic__note,
.admin-premium-logic__list {
  margin-top: 18px;
}

.admin-premium-logic__message {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7fbff, #eef6fc);
  border: 1px solid #dbe7ef;
}

.admin-premium-logic__message strong,
.admin-premium-logic__list-head h3 {
  margin: 0;
  color: var(--ink);
}

.admin-premium-logic__message p {
  margin: 0;
}

.admin-premium-logic__list {
  display: grid;
  gap: 14px;
}

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

.admin-premium-logic__list-head span {
  color: var(--muted);
  font-weight: 700;
}

.admin-premium-logic__items {
  display: grid;
  gap: 12px;
}

.admin-premium-logic-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  background: #f5f9fc;
  border: 1px solid #dbe7ef;
}

.admin-premium-logic-item__main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.admin-premium-logic-item__main strong {
  font-size: 1.02rem;
}

.admin-premium-logic-item__main p {
  margin: 0;
  color: var(--muted);
}

.admin-premium-logic-item__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-payments-list,
.admin-events-list,
.admin-users-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-payment-item,
.admin-user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  background: #f5f9fc;
  border: 1px solid #dbe7ef;
}

.admin-payment-item__main,
.admin-user-card__main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.admin-payment-item__main strong,
.admin-user-card__main strong {
  font-size: 1.06rem;
}

.admin-payment-item__main p,
.admin-user-card__main p,
.admin-user-card__stats span,
.admin-event-card__meta,
.admin-event-card__summary,
.admin-event-card__details p,
.admin-event-card__placeholder {
  margin: 0;
  color: var(--muted);
}

.admin-payment-item__side,
.admin-user-card__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-payment-item__amount {
  font-size: 1.05rem;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(180px, 1fr)) auto;
  gap: 12px;
  margin-top: 18px;
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field span {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-field input,
.admin-field select {
  min-height: 54px;
  width: 100%;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.admin-clear-button {
  align-self: end;
}

.admin-events-state {
  margin-top: 16px;
}

.admin-empty-state {
  padding: 18px;
  border-radius: 18px;
  background: #f5f9fc;
  border: 1px dashed #d0deea;
}

.admin-event-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  background: #f5f9fc;
  border: 1px solid #dbe7ef;
}

.admin-event-card__media {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: #dbe7ef;
}

.admin-event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-event-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 16px;
  text-align: center;
}

.admin-event-card__body {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.admin-event-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-event-card__top h3,
.admin-user-card__title strong {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.admin-event-card__top > div,
.admin-user-card__title {
  min-width: 0;
}

.admin-event-card__chips,
.admin-inline-actions,
.admin-user-card__title,
.admin-role-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e9f1f8;
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-chip--accent {
  background: #dceaff;
  color: #1a4d8f;
}

.admin-event-card__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.admin-event-card__details strong {
  color: var(--ink);
}

.admin-inline-actions .site-button {
  min-height: 42px;
  padding-inline: 16px;
  box-shadow: none;
}

.admin-role-button {
  min-height: 38px;
  padding-inline: 14px;
}

.editor-preview-card {
  display: grid;
  gap: 14px;
}

.editor-preview {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.organizer-mobile-preview {
  display: none;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(214, 226, 236, 0.94);
  background: rgba(244, 249, 253, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.organizer-mobile-preview h3,
.organizer-mobile-preview p {
  margin: 0;
}

.organizer-mobile-preview .editor-preview {
  margin-top: 0;
}

.editor-preview-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  background: #dbe7ef;
}

.editor-preview-card__image--placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.editor-preview-card__body {
  display: grid;
  gap: 8px;
}

.editor-preview-card__body h3,
.editor-preview-card__body p {
  margin: 0;
}

.editor-preview-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.editor-preview-card__chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(219, 233, 244, 0.84);
  color: var(--home-primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.editor-preview-card__meta {
  color: var(--home-primary);
  font-weight: 700;
}

.organizer-preview-card__image {
  aspect-ratio: 9 / 16;
}

.organizer-preview-card__image--placeholder {
  min-height: 300px;
  text-align: center;
  padding: 18px;
}

.admin-page .site-bar-actions {
  align-items: center;
}

.home-page,
.auth-page,
.dashboard-page,
.calendar-page,
.legal-page {
  --home-bg: #f3f8fd;
  --home-surface: rgba(255, 255, 255, 0.92);
  --home-surface-strong: #ffffff;
  --home-surface-soft: #f7fbff;
  --home-surface-muted: #eef4fb;
  --home-ink: #10263f;
  --home-muted: #5f7387;
  --home-muted-soft: #8193a4;
  --home-line: rgba(208, 220, 232, 0.94);
  --home-primary: #1b4f90;
  --home-primary-strong: #123760;
  --home-primary-soft: #e8f1fb;
  --home-secondary-soft: #f1f7fd;
  --home-radius-xl: 32px;
  --home-radius-lg: 28px;
  --home-radius-md: 22px;
  --home-radius-sm: 16px;
  --home-space-1: 8px;
  --home-space-2: 12px;
  --home-space-3: 16px;
  --home-space-4: 20px;
  --home-space-5: 24px;
  --home-shadow-sm: 0 12px 28px rgba(16, 37, 61, 0.07);
  --home-shadow-md: 0 20px 44px rgba(16, 37, 61, 0.09);
  --home-shadow-lg: 0 32px 80px rgba(16, 37, 61, 0.12);
  background:
    radial-gradient(circle at top left, rgba(150, 205, 242, 0.18), transparent 22%),
    radial-gradient(circle at 100% 0, rgba(188, 223, 247, 0.18), transparent 22%),
    linear-gradient(180deg, #fcfeff 0%, var(--home-bg) 100%);
}

.home-page .page-shell,
.auth-page .page-shell,
.dashboard-page .page-shell,
.calendar-page .page-shell,
.legal-page .page-shell {
  width: min(1240px, calc(100vw - 28px));
  margin: 16px auto 64px;
}

.home-page .site-bar,
.auth-page .site-bar,
.dashboard-page .site-bar,
.calendar-page .site-bar,
.legal-page .site-bar {
  position: sticky;
  top: 8px;
  z-index: 30;
  margin-bottom: 16px;
  padding: 11px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(218, 228, 236, 0.9);
  box-shadow: var(--home-shadow-sm);
  backdrop-filter: blur(18px);
}

.home-page {
  overflow-x: clip;
}

.home-page .brand-link,
.auth-page .brand-link,
.dashboard-page .brand-link,
.calendar-page .brand-link,
.legal-page .brand-link {
  gap: 12px;
}

.home-page .brand-icon,
.auth-page .brand-icon,
.dashboard-page .brand-icon,
.calendar-page .brand-icon,
.legal-page .brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  filter: none;
}

.home-page .brand-copy,
.auth-page .brand-copy,
.dashboard-page .brand-copy,
.calendar-page .brand-copy,
.legal-page .brand-copy {
  gap: 2px;
}

.home-page .brand-title,
.auth-page .brand-title,
.dashboard-page .brand-title,
.calendar-page .brand-title,
.legal-page .brand-title {
  color: var(--home-ink);
  font-size: clamp(1.04rem, 1.8vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.auth-page .brand-subtitle,
.dashboard-page .brand-subtitle,
.calendar-page .brand-subtitle,
.legal-page .brand-subtitle {
  color: var(--home-muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
}

.home-page .site-bar-actions,
.auth-page .site-bar-actions,
.dashboard-page .site-bar-actions,
.calendar-page .site-bar-actions,
.legal-page .site-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-page .site-bar-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-page .site-button,
.auth-page .site-button,
.dashboard-page .site-button,
.calendar-page .site-button,
.legal-page .site-button {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--home-primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(27, 79, 144, 0.18);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease;
}

.home-page .site-button:hover,
.auth-page .site-button:hover,
.dashboard-page .site-button:hover,
.calendar-page .site-button:hover,
.legal-page .site-button:hover {
  background: var(--home-primary-strong);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(18, 55, 96, 0.22);
}

.home-page .site-button--soft,
.auth-page .site-button--soft,
.dashboard-page .site-button--soft,
.calendar-page .site-button--soft,
.legal-page .site-button--soft {
  background: rgba(255, 255, 255, 0.82);
  color: var(--home-primary);
  border: 1px solid rgba(182, 206, 231, 0.96);
  box-shadow: none;
}

.home-page .site-button--soft:hover,
.auth-page .site-button--soft:hover,
.dashboard-page .site-button--soft:hover,
.calendar-page .site-button--soft:hover,
.legal-page .site-button--soft:hover {
  background: #ffffff;
  color: var(--home-primary-strong);
}

.auth-page .site-button--secondary,
.dashboard-page .site-button--secondary,
.calendar-page .site-button--secondary,
.legal-page .site-button--secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--home-primary);
  border: 1px solid rgba(182, 206, 231, 0.96);
  box-shadow: none;
}

.auth-page .site-button--secondary:hover,
.dashboard-page .site-button--secondary:hover,
.calendar-page .site-button--secondary:hover,
.legal-page .site-button--secondary:hover {
  background: #ffffff;
  color: var(--home-primary-strong);
}

.home-page .site-button--nav {
  min-height: 46px;
  padding-inline: 18px;
}

.home-page .site-button--calendar {
  background: rgba(255, 255, 255, 0.96);
  color: var(--home-primary);
  border: 1px solid rgba(188, 208, 228, 0.96);
  box-shadow: 0 10px 20px rgba(16, 37, 61, 0.08);
}

.home-page .site-button--calendar:hover {
  background: #ffffff;
}

.site-button__label--short {
  display: none;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3.5vw, 34px);
  border-radius: var(--home-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.94)),
    linear-gradient(135deg, rgba(223, 239, 252, 0.88), rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(214, 226, 236, 0.94);
  box-shadow: var(--home-shadow-lg);
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-panel::before {
  width: 360px;
  height: 360px;
  top: -180px;
  right: -110px;
  background: radial-gradient(circle, rgba(161, 208, 241, 0.34), transparent 72%);
}

.hero-panel::after {
  width: 280px;
  height: 280px;
  left: -110px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(209, 229, 247, 0.48), transparent 72%);
}

.hero-panel__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, 456px);
  gap: 26px;
  align-items: start;
}

.hero-copy {
  display: grid;
  align-content: start;
  min-width: 0;
  max-width: 640px;
  padding-top: 10px;
  padding-right: 18px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(27, 79, 144, 0.08);
  border: 1px solid rgba(176, 204, 231, 0.84);
  color: var(--home-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 12px 0 0;
  max-width: 11.2ch;
  color: var(--home-ink);
  font-size: clamp(2.6rem, 5.4vw, 4.9rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 34ch;
  margin: 14px 0 0;
  color: var(--home-muted);
  font-size: 1.04rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-discover {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 640px;
  margin-top: 22px;
}

.hero-copy .search-shell {
  grid-template-columns: 1fr;
  gap: 12px;
}

.hero-discover .results-bar {
  margin-top: 0;
}

.hero-visual {
  display: grid;
  min-width: 0;
  align-self: stretch;
  justify-self: end;
  width: 100%;
}

.hero-premium__surface {
  display: grid;
  gap: 16px;
  height: 100%;
  padding: 20px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.96), rgba(235, 244, 252, 0.92)),
    radial-gradient(circle at top right, rgba(188, 217, 241, 0.24), transparent 48%);
  border: 1px solid rgba(207, 221, 234, 0.94);
  box-shadow: 0 20px 42px rgba(16, 37, 61, 0.12);
}

.hero-premium__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-premium__eyebrow {
  margin: 0;
  color: var(--home-primary);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.hero-premium__feature {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(209, 223, 235, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  align-content: start;
}

.hero-premium__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  background: #dbe7f3;
}

.hero-premium__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-premium__content {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.hero-premium__content h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(1.38rem, 2.2vw, 1.78rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-premium__meta {
  margin: 0;
  color: #54708a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.hero-premium__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-premium__button {
  justify-content: center;
}

.hero-premium__rail {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
}

.hero-premium__nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(196, 213, 229, 0.96);
  background: rgba(255, 255, 255, 0.96);
  color: var(--home-primary);
  box-shadow: 0 10px 18px rgba(16, 37, 61, 0.08);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.hero-premium__nav:hover {
  transform: translateY(-1px);
  border-color: rgba(159, 188, 215, 0.98);
  box-shadow: 0 14px 22px rgba(16, 37, 61, 0.1);
}

.hero-premium__nav svg {
  width: 18px;
  height: 18px;
}

.hero-premium__thumbs {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-premium__thumbs::-webkit-scrollbar {
  display: none;
}

.hero-premium__thumb {
  flex: none;
  width: 74px;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(208, 222, 234, 0.96);
  background: rgba(255, 255, 255, 0.98);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(16, 37, 61, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.hero-premium__thumb:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(16, 37, 61, 0.08);
}

.hero-premium__thumb.is-active {
  border-color: rgba(93, 145, 201, 0.98);
  box-shadow: 0 16px 28px rgba(23, 63, 117, 0.14);
}

.hero-premium__thumb img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}

.hero-premium__thumb--placeholder {
  width: 100%;
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  background: rgba(238, 246, 253, 0.9);
  color: #58748d;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: default;
}

.hero-premium[data-has-premium="false"] .hero-premium__nav {
  opacity: 0.48;
  pointer-events: none;
}

.discover-panel {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 0;
  margin-top: 18px;
}

.search-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(352px, 0.95fr);
  gap: 14px;
  align-items: stretch;
}

.discover-panel__controls {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.discover-panel__selects {
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  gap: 12px;
  min-width: 0;
}

.discover-panel__selects[data-disabled="true"] {
  opacity: 0.72;
}

.discover-panel__selects[data-disabled="true"] .month-field {
  background: #f6f9fc;
  border-color: rgba(214, 225, 236, 0.96);
  box-shadow: none;
}

.discover-panel__selects[data-disabled="true"] .month-field > span,
.discover-panel__selects[data-disabled="true"] .field-label-group {
  color: #93a5b7;
}

.discover-panel__selects[data-disabled="true"] .month-field select {
  color: #93a5b7;
  cursor: not-allowed;
}

.discover-panel__selects[data-disabled="true"] .month-field::after {
  border-color: #aebccc;
}

.search-field {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  min-height: 56px;
  padding: 0 12px;
  border-radius: 22px;
  background: var(--home-surface-strong);
  border: 1px solid var(--home-line);
  box-shadow: var(--home-shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.search-field:hover,
.toggle-field:hover,
.month-field:hover,
.results-bar__clear:hover,
.filter-pill:hover,
.site-footer__contact-link:hover,
.site-footer__nav a:hover {
  border-color: rgba(159, 188, 215, 0.98);
}

.search-field:focus-within {
  border-color: rgba(98, 146, 197, 0.94);
  box-shadow:
    0 0 0 4px rgba(63, 118, 182, 0.12),
    0 18px 36px rgba(16, 37, 61, 0.09);
  transform: translateY(-1px);
}

.search-icon {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--home-primary-soft);
  color: var(--home-primary);
}

.search-icon svg {
  width: 21px;
  height: 21px;
}

.search-field input,
.month-field select {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
}

.search-field input {
  min-width: 0;
  min-height: 40px;
  padding: 0;
  color: var(--home-ink);
  font-size: 0.97rem;
}

.search-field input::placeholder {
  color: #93a5b7;
}

.toggle-field,
.month-field {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 4px;
  align-content: center;
  min-height: 74px;
  padding: 10px 14px;
  border-radius: 24px;
  background: var(--home-surface-strong);
  border: 1px solid var(--home-line);
  box-shadow: var(--home-shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.toggle-field {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.month-field:focus-within {
  border-color: rgba(98, 146, 197, 0.94);
  box-shadow:
    0 0 0 4px rgba(63, 118, 182, 0.12),
    0 16px 32px rgba(16, 37, 61, 0.08);
}

.toggle-field__content,
.field-label-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.toggle-field__details {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.toggle-field__title-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.toggle-field__title,
.month-field > span {
  color: #7a8d9e;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toggle-field__title {
  color: var(--home-ink);
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

.toggle-field__summary {
  color: #61798d;
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 600;
}

.toggle-field__switch-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
}

.toggle-field__input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.toggle-field__switch {
  position: relative;
  display: inline-flex;
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: rgba(215, 227, 239, 0.98);
  box-shadow: inset 0 0 0 1px rgba(196, 213, 229, 0.96);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.toggle-field__switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(16, 37, 61, 0.14);
  transition: transform 160ms ease;
}

.toggle-field__input:checked + .toggle-field__switch {
  background: linear-gradient(180deg, #1f5aa5, #173f75);
  box-shadow:
    inset 0 0 0 1px rgba(23, 63, 117, 0.16),
    0 12px 22px rgba(29, 79, 140, 0.18);
}

.toggle-field__input:checked + .toggle-field__switch::after {
  transform: translateX(26px);
}

.toggle-field:focus-within {
  border-color: rgba(98, 146, 197, 0.94);
  box-shadow:
    0 0 0 4px rgba(63, 118, 182, 0.12),
    0 16px 32px rgba(16, 37, 61, 0.08);
}

.month-field::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-right: 1.8px solid #648094;
  border-bottom: 1.8px solid #648094;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.month-field select {
  min-height: 26px;
  padding: 0 18px 0 0;
  color: var(--home-ink);
  font-size: 0.98rem;
  font-weight: 700;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.month-field--year {
  min-width: 112px;
}

.help-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.help-tip__button {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(193, 211, 229, 0.98);
  border-radius: 50%;
  background: rgba(242, 248, 253, 0.98);
  color: #55718a;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.help-tip__button:hover,
.help-tip__button:focus-visible,
.help-tip.is-open .help-tip__button {
  border-color: rgba(98, 146, 197, 0.94);
  background: #ffffff;
  color: var(--home-primary);
  transform: translateY(-1px);
}

.help-tip__bubble {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 12;
  width: min(260px, 72vw);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(198, 214, 229, 0.96);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 32px rgba(16, 37, 61, 0.12);
  color: #58728a;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.help-tip:hover .help-tip__bubble,
.help-tip:focus-within .help-tip__bubble,
.help-tip.is-open .help-tip__bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  overflow: visible;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  flex: none;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(205, 219, 231, 0.94);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #4d6579;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(16, 37, 61, 0.05);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.filter-pill:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 14px 22px rgba(16, 37, 61, 0.08);
}

.filter-pill.is-active {
  background: linear-gradient(180deg, #1f5aa5, #173f75);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 26px rgba(29, 79, 140, 0.24);
}

.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
  gap: 16px;
  margin-top: 2px;
  padding: 18px 20px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96));
  border: 1px solid var(--home-line);
  box-shadow: var(--home-shadow-sm);
}

.results-bar__summary {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 14px;
}

.results-bar__count {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 52px;
  padding: 0 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1c5398, #133862);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(19, 56, 98, 0.26);
}

.results-bar__copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.results-bar__eyebrow {
  color: var(--home-muted-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.results-bar__copy strong {
  color: var(--home-ink);
  font-size: 1.04rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.results-bar__copy span {
  color: var(--home-muted);
  font-size: 0.94rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.results-bar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  flex: 0 1 auto;
  min-width: 0;
  gap: 10px;
}

.results-bar__clear {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(188, 208, 228, 0.96);
  background: var(--home-primary-soft);
  color: var(--home-primary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.home-page .events-section {
  margin-top: 34px;
}

.events-section__header {
  display: grid;
  min-width: 0;
  gap: 14px;
  margin-bottom: 22px;
}

.events-section__premium-slot {
  margin-top: 24px;
}


.hero-premium--below-results {
  justify-self: stretch;
  max-width: none;
}

.events-section__title {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.home-page .events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.home-page .event-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  padding: 0;
  border-radius: 30px;
  border: 1px solid rgba(214, 226, 236, 0.94);
  background: var(--home-surface-strong);
  box-shadow: var(--home-shadow-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-page .event-card:hover,
.home-page .event-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(162, 189, 213, 0.94);
  box-shadow: 0 26px 52px rgba(16, 37, 61, 0.14);
  outline: none;
}

.home-page .event-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 0;
}

.home-page .event-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 26, 43, 0.4) 100%);
}

.home-page .event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.home-page .event-card:hover .event-card__media img,
.home-page .event-card:focus-visible .event-card__media img {
  transform: scale(1.03);
}

.event-card__media-top {
  position: absolute;
  inset: 14px 14px auto 14px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.event-card__media-bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
}

.event-card__type,
.event-card__date-chip,
.event-card__time-chip,
.event-card__badge,
.event-card__organizer-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.event-card__type {
  background: rgba(15, 36, 61, 0.78);
  color: #fff;
  text-transform: capitalize;
  backdrop-filter: blur(12px);
}

.event-card__date-chip,
.event-card__time-chip {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--home-primary-strong);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 20px rgba(16, 37, 61, 0.12);
}

.event-card__time-chip {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
}

.event-card__time-chip-copy {
  display: grid;
  gap: 2px;
  line-height: 1.05;
  min-width: 76px;
  justify-items: center;
  text-align: center;
}

.event-card__time-chip-date,
.event-card__time-chip-hour {
  display: block;
  margin: 0;
}

.event-card__time-chip-date {
  white-space: nowrap;
  font-size: 0.98rem;
  font-weight: 800;
}

.event-card__time-chip-hour {
  font-size: 0.82rem;
  font-weight: 800;
}

.home-page .event-card__content {
  display: grid;
  min-width: 0;
  gap: 14px;
  padding: 20px;
  align-content: start;
  flex: 1;
}

.event-card__badges {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  gap: 8px;
}

.event-card__badge {
  background: var(--home-primary-soft);
  border: 1px solid rgba(195, 213, 231, 0.96);
  color: var(--home-primary);
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.event-card__badge--soft {
  background: var(--home-secondary-soft);
  color: #5c7287;
}

.event-card__detail svg,
.event-card__link svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.home-page .event-card__content h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(1.28rem, 1.8vw, 1.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  display: -webkit-box;
  min-height: 2.2em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-page .event-card__summary {
  margin: 0;
  min-height: 4.8em;
  color: var(--home-muted);
  font-size: 0.97rem;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card__details {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.event-card__detail {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 10px;
  color: #53697d;
  font-size: 0.93rem;
  line-height: 1.45;
}

.event-card__detail span {
  display: -webkit-box;
  min-width: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card__detail svg {
  margin-top: 2px;
  color: var(--home-primary);
}

.event-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.event-card__organizer-label {
  max-width: 60%;
  color: #70869a;
  font-size: 0.84rem;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.event-card__link {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--home-primary-soft);
  border: 1px solid rgba(187, 209, 232, 0.96);
  color: var(--home-primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.home-page .event-card:hover .event-card__link svg,
.home-page .event-card:focus-visible .event-card__link svg {
  transform: translateX(3px);
}

.home-page .empty-card {
  display: grid;
  justify-items: start;
  min-width: 0;
  gap: 18px;
  padding: 36px;
  border-radius: 30px;
  border: 1px solid rgba(214, 226, 236, 0.94);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.94));
  box-shadow: var(--home-shadow-md);
}

.empty-card__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: var(--home-primary-soft);
  color: var(--home-primary);
}

.empty-card__icon svg {
  width: 30px;
  height: 30px;
}

.home-page .empty-card h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.home-page .empty-card p {
  margin: 0;
  max-width: 50ch;
  color: var(--home-muted);
  line-height: 1.7;
}

.empty-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.event-card--skeleton {
  pointer-events: none;
  overflow: hidden;
}

.event-card--skeleton .event-card__media,
.event-card--skeleton .event-card__content {
  padding: 20px;
}

.event-card--skeleton .event-card__media {
  padding: 0;
}

.skeleton-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #edf3f8 0%, #f7fafc 50%, #edf3f8 100%);
  background-size: 200% 100%;
  animation: home-skeleton 1.2s linear infinite;
  border-radius: 18px;
}

.skeleton-box--media {
  aspect-ratio: 4 / 5;
  border-radius: 0;
}

.skeleton-box--chip {
  width: 104px;
  height: 34px;
  border-radius: 999px;
}

.skeleton-box--chip-sm {
  width: 86px;
  height: 34px;
  border-radius: 999px;
}

.skeleton-box--title {
  width: 78%;
  height: 24px;
}

.skeleton-box--title-alt {
  width: 58%;
  height: 24px;
}

.skeleton-box--text {
  width: 100%;
  height: 14px;
  border-radius: 999px;
}

.skeleton-box--text-short {
  width: 72%;
  height: 14px;
  border-radius: 999px;
}

.skeleton-box--footer {
  width: 42%;
  height: 16px;
  border-radius: 999px;
}

@keyframes home-skeleton {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

.site-footer {
  margin-top: 44px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(214, 226, 236, 0.94);
  box-shadow: var(--home-shadow-md);
}

.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(215, 226, 237, 0.9);
}

.site-footer__brand {
  display: grid;
  min-width: 0;
  gap: 8px;
  min-width: 0;
}

.site-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.site-footer__brand-copy {
  display: grid;
  gap: 4px;
}

.site-footer__brand-copy strong {
  color: var(--home-ink);
  font-size: 1rem;
  line-height: 1.1;
}

.site-footer__brand-copy span,
.site-footer__city {
  margin: 0;
  color: #6c8194;
}

.site-footer__brand-copy span {
  display: none;
}

.site-footer__city {
  font-size: 0.88rem;
}

.site-footer__city a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 16px;
  padding-top: 14px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  gap: 8px 16px;
}

.site-footer__nav a {
  color: #607688;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.site-footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--home-primary-soft);
  border: 1px solid rgba(185, 208, 231, 0.96);
  color: var(--home-primary);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-footer__contact-link svg {
  width: 17px;
  height: 17px;
}

.site-footer__contact-link:hover,
.site-footer__nav a:hover {
  color: var(--home-primary-strong);
  transform: translateY(-1px);
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(27, 79, 144, 0.08);
  border: 1px solid rgba(176, 204, 231, 0.84);
  color: var(--home-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-page .simple-auth-layout,
.dashboard-page .dashboard-layout,
.calendar-page .calendar-layout,
.legal-page .legal-layout,
.dashboard-page .review-layout {
  position: relative;
  z-index: 1;
}

.auth-page .simple-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 24px;
  align-items: start;
}

.auth-page--login-minimal .simple-auth-layout {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}

.auth-page .simple-auth-hero,
.auth-page .simple-auth-card,
.auth-page .session-card,
.dashboard-page .dashboard-hero,
.dashboard-page .dashboard-card,
.calendar-page .calendar-hero,
.calendar-page .calendar-board,
.legal-page .legal-card,
.dashboard-page .review-layout .dashboard-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--home-radius-lg);
  border: 1px solid rgba(214, 226, 236, 0.94);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.94));
  box-shadow: var(--home-shadow-md);
}

.auth-page .simple-auth-hero,
.dashboard-page .dashboard-hero,
.calendar-page .calendar-hero,
.legal-page .legal-card {
  isolation: isolate;
}

.auth-page .simple-auth-hero::before,
.dashboard-page .dashboard-hero::before,
.calendar-page .calendar-hero::before,
.legal-page .legal-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(189, 222, 246, 0.28), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.auth-page .simple-auth-hero,
.dashboard-page .dashboard-hero,
.calendar-page .calendar-hero {
  padding: 28px;
}

.calendar-activity-filters {
  margin-top: 16px;
  margin-bottom: 8px;
}

.auth-page .simple-auth-hero {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 0;
}

.auth-page .simple-auth-hero h1,
.dashboard-page .dashboard-hero h1,
.calendar-page .calendar-hero__copy h1,
.legal-page .legal-card h1 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.auth-page .simple-auth-hero p,
.dashboard-page .dashboard-hero p,
.dashboard-page .dashboard-card p,
.calendar-page .calendar-hero__copy p:last-child,
.calendar-page .calendar-board__header p,
.legal-page .legal-card p,
.legal-page .legal-card li,
.dashboard-page .dashboard-note,
.dashboard-page .dashboard-event-item p,
.dashboard-page .nearby-item p,
.review-summary p {
  color: var(--home-muted);
  line-height: 1.68;
}

.auth-page .simple-auth-hero p,
.dashboard-page .dashboard-hero p {
  margin: 0;
  max-width: 58ch;
}

.auth-page .simple-auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.auth-page .simple-auth-card,
.auth-page .session-card,
.dashboard-page .dashboard-card,
.dashboard-page .review-layout .dashboard-card {
  padding: 26px;
}

.auth-page .simple-auth-card,
.auth-page .session-card {
  align-self: start;
}

.auth-page--login-minimal .simple-auth-card,
.auth-page--login-minimal .session-card {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}

.auth-page .simple-auth-card h2,
.auth-page .session-card h2,
.dashboard-page .dashboard-card h1,
.dashboard-page .dashboard-card h2,
.calendar-page .calendar-board__header h2,
.legal-page .legal-card h2 {
  color: var(--home-ink);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.auth-page .simple-auth-card h2,
.auth-page .session-card h2,
.dashboard-page .dashboard-card h1,
.dashboard-page .dashboard-card h2 {
  margin: 0;
  font-size: 1.6rem;
}

.auth-page .simple-auth-card__lead {
  margin: 12px 0 0;
  color: var(--home-muted);
  line-height: 1.68;
}

.auth-page .simple-divider {
  height: 1px;
  margin: 22px 0;
  border: 0;
  background: rgba(214, 226, 236, 0.92);
}

.auth-page .auth-feedback,
.dashboard-page .auth-feedback {
  min-height: 22px;
  margin-top: 16px;
  color: var(--home-muted);
  font-size: 0.94rem;
}

.auth-page .auth-feedback.is-error,
.dashboard-page .auth-feedback.is-error {
  color: #af4141;
}

.auth-page .auth-feedback.is-success,
.dashboard-page .auth-feedback.is-success {
  color: #1f7b47;
}

.auth-page .auth-form,
.dashboard-page .auth-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.auth-page .auth-form label,
.dashboard-page .auth-form label {
  display: grid;
  gap: 8px;
}

.auth-page .auth-form label span,
.dashboard-page .auth-form label span {
  color: var(--home-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.auth-page .auth-form .auth-help,
.dashboard-page .auth-form .auth-help {
  margin: -2px 2px 0;
  color: #658098;
  font-size: 0.84rem;
  line-height: 1.45;
}

.dashboard-page .auth-form .auth-help.is-error {
  color: #a13d42;
}

.auth-page .password-field {
  position: relative;
}

.auth-page .password-field__input {
  padding-right: 96px;
}

.auth-page .password-field__toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  min-width: 64px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(185, 208, 231, 0.96);
  border-radius: 999px;
  background: rgba(235, 244, 252, 0.92);
  color: var(--home-primary);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.auth-page .password-field__toggle:hover,
.auth-page .password-field__toggle:focus-visible {
  border-color: rgba(98, 146, 197, 0.94);
  color: var(--home-primary-strong);
  background: rgba(227, 239, 251, 0.96);
  outline: none;
}

.dashboard-page .auth-form .premium-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(235, 244, 252, 0.82);
  border: 1px solid rgba(199, 216, 231, 0.96);
}

.dashboard-page .auth-form .premium-option input {
  width: 18px;
  height: 18px;
  min-height: auto;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--home-primary);
  box-shadow: none;
}

.dashboard-page .auth-form .premium-option__content {
  display: grid;
  gap: 4px;
}

.dashboard-page .auth-form .premium-option__content strong {
  color: var(--home-ink);
  font-size: 0.96rem;
  line-height: 1.35;
}

.dashboard-page .auth-form .premium-option__content small {
  color: #5e7890;
  font-size: 0.88rem;
  line-height: 1.55;
}

.dashboard-page .auth-form .category-picker {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}

.dashboard-page .auth-form .category-picker legend {
  padding: 0;
  color: var(--home-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.dashboard-page .auth-form .category-picker__hint {
  margin: -2px 2px 0;
  color: #658098;
  font-size: 0.84rem;
  line-height: 1.45;
}

.dashboard-page .auth-form .category-picker__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-page .auth-form .category-picker__option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  border-radius: 15px;
  border: 1px solid var(--home-line);
  background: var(--home-surface-strong);
  box-shadow: var(--home-shadow-sm);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.dashboard-page .auth-form .category-picker__option:hover {
  border-color: rgba(98, 146, 197, 0.72);
  box-shadow: 0 16px 28px rgba(16, 37, 61, 0.08);
  transform: translateY(-1px);
}

.dashboard-page .auth-form .category-picker__option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  box-shadow: none;
}

.dashboard-page .auth-form .category-picker__option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--home-primary-strong);
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.dashboard-page .auth-form .category-picker__option:has(input:checked) {
  border-color: rgba(34, 90, 173, 0.82);
  background: linear-gradient(180deg, rgba(230, 240, 251, 0.98) 0%, rgba(242, 247, 253, 0.98) 100%);
  box-shadow:
    0 0 0 3px rgba(45, 103, 184, 0.09),
    0 18px 30px rgba(16, 37, 61, 0.09);
}

.dashboard-page .auth-form .category-picker__option:has(input:checked) span {
  color: var(--home-primary);
}

.dashboard-page .auth-form .category-picker__option:has(input:focus-visible) {
  border-color: rgba(98, 146, 197, 0.94);
  box-shadow:
    0 0 0 4px rgba(63, 118, 182, 0.12),
    0 18px 36px rgba(16, 37, 61, 0.09);
}

.dashboard-page .auth-form .category-picker__option.is-disabled {
  opacity: 0.5;
}

.dashboard-page .auth-form .category-picker__option.is-disabled:hover {
  border-color: var(--home-line);
  box-shadow: var(--home-shadow-sm);
  transform: none;
}

.dashboard-page .auth-form .maps-place-field {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
  border-radius: 22px;
  background: rgba(235, 244, 252, 0.76);
  border: 1px solid rgba(199, 216, 231, 0.94);
}

.dashboard-page .auth-form .maps-place-field > span {
  color: var(--home-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.dashboard-page .auth-form .maps-place-field__mount {
  min-width: 0;
}

.dashboard-page .auth-form .maps-place-autocomplete {
  display: block;
  width: 100%;
}

.dashboard-page .auth-form .maps-place-field__help,
.dashboard-page .auth-form .maps-place-field__status {
  margin: 0;
  color: #5e7890;
  font-size: 0.84rem;
  line-height: 1.5;
}

.dashboard-page .auth-form .maps-place-field__status a {
  color: var(--home-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.dashboard-page .auth-form .maps-place-field__status.is-success {
  color: #1f7b47;
}

.dashboard-page .auth-form .maps-place-field__status.is-error {
  color: #bb3b46;
}

.dashboard-page .auth-form .flyer-tip {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: -2px;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(235, 244, 252, 0.68);
  border: 1px solid rgba(199, 216, 231, 0.9);
}

.dashboard-page .auth-form .flyer-tip__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(34, 90, 173, 0.1);
  color: var(--home-primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.dashboard-page .auth-form .flyer-tip__copy {
  color: #5e7890;
  font-size: 0.84rem;
  line-height: 1.5;
}

.auth-page .auth-form .consent-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(235, 244, 252, 0.82);
  border: 1px solid rgba(199, 216, 231, 0.96);
}

.auth-page .auth-form .consent-option input {
  width: 18px;
  height: 18px;
  min-height: auto;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--home-primary);
  box-shadow: none;
}

.auth-page .auth-form .consent-option__content {
  display: grid;
  gap: 4px;
  font-weight: 400;
}

.auth-page .auth-form .consent-option__content strong,
.auth-page .auth-form .consent-option__content small {
  margin: 0;
}

.auth-page .auth-form .consent-option__content strong {
  color: var(--home-ink);
  font-size: 0.96rem;
  line-height: 1.4;
}

.auth-page .auth-form .consent-option__content small {
  color: #5e7890;
  font-size: 0.88rem;
  line-height: 1.55;
}

.auth-page .auth-form .consent-option__content a {
  color: var(--home-primary-strong);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.auth-page .auth-form input,
.auth-page .auth-form textarea,
.auth-page .auth-form select,
.dashboard-page .auth-form input,
.dashboard-page .auth-form textarea,
.dashboard-page .auth-form select {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: var(--home-surface-strong);
  color: var(--home-ink);
  box-shadow: var(--home-shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.auth-page .auth-form textarea,
.dashboard-page .auth-form textarea {
  min-height: 148px;
  padding: 14px 16px;
  resize: vertical;
}

.auth-page .auth-form input:focus,
.auth-page .auth-form textarea:focus,
.auth-page .auth-form select:focus,
.dashboard-page .auth-form input:focus,
.dashboard-page .auth-form textarea:focus,
.dashboard-page .auth-form select:focus {
  border-color: rgba(98, 146, 197, 0.94);
  box-shadow:
    0 0 0 4px rgba(63, 118, 182, 0.12),
    0 18px 36px rgba(16, 37, 61, 0.09);
  transform: translateY(-1px);
  outline: none;
}

.auth-page .auth-form__row,
.dashboard-page .auth-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-page .auth-form__actions,
.auth-page .session-card__actions,
.dashboard-page .auth-form__actions,
.dashboard-page .session-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-page--login-minimal .simple-auth-inline-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -2px;
}

.auth-page--login-minimal .simple-auth-inline-links a {
  color: var(--home-primary);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.auth-page--login-minimal .simple-auth-inline-links a:hover,
.auth-page--login-minimal .simple-auth-inline-links a:focus-visible {
  text-decoration: underline;
}

.auth-page--login-minimal .simple-auth-inline-links a:last-child {
  margin-left: auto;
}

.auth-page--login-minimal .auth-form__actions {
  margin-top: 6px;
}

.auth-page .session-card p {
  margin-top: 10px;
}

.dashboard-page .top-session {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(208, 220, 232, 0.94);
  color: var(--home-muted);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--home-shadow-sm);
  max-width: min(100%, 360px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-page .dashboard-hero {
  margin-bottom: 22px;
  display: grid;
  gap: 14px;
}

.dashboard-page .dashboard-hero--organizer {
  padding-top: 38px;
  padding-bottom: 34px;
}

.dashboard-page .dashboard-hero--organizer > div {
  display: grid;
  gap: 14px;
  align-content: start;
}

.dashboard-page .dashboard-hero--organizer h1 {
  max-width: 14ch;
}

.dashboard-page .dashboard-hero--organizer p {
  max-width: 40ch;
}

.dashboard-page .dashboard-layout {
  display: grid;
  gap: 22px;
}

.dashboard-page .dashboard-layout--organizer {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  align-items: start;
}

@media (max-width: 1180px) {
  .dashboard-page .auth-form .category-picker__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dashboard-page .dashboard-stack {
  display: grid;
  gap: 22px;
}

.dashboard-page .dashboard-events,
.dashboard-page .dashboard-nearby {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.dashboard-page .dashboard-event-item,
.dashboard-page .nearby-item {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--home-secondary-soft);
  border: 1px solid rgba(211, 224, 236, 0.94);
}

.dashboard-page .dashboard-event-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.dashboard-page .dashboard-event-item__content {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.dashboard-page .dashboard-event-item__side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.dashboard-page .dashboard-event-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dashboard-page .dashboard-inline-button {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 0.9rem;
}

.dashboard-page .dashboard-inline-button--danger {
  border-color: rgba(233, 183, 183, 0.95);
  color: #9b2d2d;
  background: #fff5f5;
}

.dashboard-page .dashboard-inline-button--danger:hover {
  border-color: rgba(218, 146, 146, 0.95);
  color: #8d2323;
  background: #ffeaea;
}

.dashboard-page .organizer-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-page .dashboard-event-item strong,
.dashboard-page .nearby-item strong {
  color: var(--home-ink);
  font-size: 1rem;
}

.dashboard-page .auth-form input[type="file"] {
  padding: 12px;
  min-height: auto;
}

.dashboard-page .auth-form input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(182, 206, 231, 0.96);
  background: var(--home-primary-soft);
  color: var(--home-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-page .dashboard-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-page .review-layout {
  display: grid;
  grid-template-columns: minmax(0, 960px);
  justify-content: center;
}

.calendar-page .calendar-hero,
.calendar-page .calendar-board {
  padding: 28px;
}

.calendar-page .calendar-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.calendar-page .calendar-hero__eyebrow,
.legal-page .legal-meta {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(27, 79, 144, 0.08);
  border: 1px solid rgba(176, 204, 231, 0.84);
  color: var(--home-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calendar-page .calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.calendar-page .calendar-board {
  margin-top: 24px;
}

.calendar-page .calendar-board__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-page .calendar-board__header-main {
  display: grid;
  grid-template-columns: auto minmax(0, auto) auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.calendar-page .calendar-month-nav {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(188, 208, 228, 0.96);
  border-radius: 999px;
  background: var(--home-primary-soft);
  color: var(--home-primary);
  box-shadow: var(--home-shadow-sm);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.calendar-page .calendar-month-nav svg {
  width: 18px;
  height: 18px;
}

.calendar-page .calendar-month-nav:hover {
  transform: translateY(-1px);
  border-color: rgba(159, 188, 215, 0.98);
  background: #ffffff;
  color: var(--home-primary-strong);
}

.calendar-page .calendar-month-nav:focus-visible {
  outline: none;
  border-color: rgba(98, 146, 197, 0.94);
  box-shadow:
    0 0 0 4px rgba(63, 118, 182, 0.12),
    0 16px 32px rgba(16, 37, 61, 0.08);
}

.calendar-page .calendar-grid-header span {
  min-height: 48px;
  border-radius: 16px;
  background: var(--home-primary-soft);
  color: var(--home-primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.calendar-page .calendar-grid {
  gap: 10px;
  margin-top: 10px;
}

.calendar-page .calendar-day {
  min-height: 172px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(214, 226, 236, 0.94);
  background: var(--home-surface-strong);
  box-shadow: var(--home-shadow-sm);
}

.calendar-page .calendar-day.is-outside-month {
  background: var(--home-secondary-soft);
}

.calendar-page .calendar-day.is-past-only {
  background: linear-gradient(180deg, rgba(243, 247, 251, 0.98), rgba(236, 242, 247, 0.98));
  border-style: dashed;
}

.calendar-page .calendar-day__number,
.calendar-page .calendar-board__header p,
.calendar-page .calendar-day__more,
.calendar-page .calendar-list-item span {
  color: var(--home-muted);
}

.calendar-page .calendar-item {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: var(--home-secondary-soft);
}

.calendar-page .calendar-item__title {
  color: var(--home-ink);
}

.calendar-page .calendar-list-item {
  border-radius: 20px;
  background: var(--home-surface-strong);
  border: 1px solid rgba(214, 226, 236, 0.94);
  box-shadow: var(--home-shadow-sm);
}

.calendar-page .calendar-list-item strong {
  color: var(--home-ink);
}

.legal-page .legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

.legal-page .legal-card {
  padding: 30px;
}

.legal-page .legal-card h2 {
  margin-top: 26px;
  font-size: 1.35rem;
}

.legal-page .legal-card ul {
  padding-left: 20px;
}

.site-footer {
  margin-top: 38px;
  padding: 20px;
}

.site-footer__brand-copy span {
  max-width: 42ch;
}

.calendar-page .page-shell {
  width: min(1320px, calc(100vw - 28px));
}

.calendar-hero__copy {
  max-width: 56ch;
}

.calendar-hero__copy h1,
.calendar-board__header h2 {
  margin: 0;
}

.calendar-hero__eyebrow {
  margin: 0 0 10px;
}

.calendar-hero__copy h1 {
  color: var(--home-ink);
}

.calendar-hero__copy p:last-child {
  margin: 14px 0 0;
  color: var(--home-muted);
}

.calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.calendar-board {
  margin-top: 26px;
}

.calendar-board__header {
  margin-bottom: 20px;
}

.calendar-board__header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  text-align: center;
}

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

.calendar-grid-header span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 16px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.calendar-day {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 172px;
  padding: 12px;
  border-radius: 20px;
}

.calendar-day__number {
  color: var(--home-muted);
  font-weight: 700;
}

.calendar-day__events {
  display: grid;
  gap: 8px;
}

.calendar-item,
.calendar-list-item {
  display: grid;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease;
}

.calendar-item {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 6px;
  border-radius: 14px;
}

.calendar-item img,
.calendar-list-item img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.calendar-item img {
  height: 34px;
}

.calendar-item__content {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.calendar-item__title {
  color: var(--home-ink);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.calendar-page .calendar-item .calendar-item__status,
.calendar-page .calendar-list-item .calendar-list-item__status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(121, 142, 160, 0.14);
  color: #698096;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.calendar-page .calendar-list-item .calendar-list-item__status {
  margin-top: 4px;
}

.calendar-item--past,
.calendar-list-item--past {
  border: 1px dashed rgba(188, 202, 214, 0.98);
  background: rgba(240, 245, 249, 0.98);
  box-shadow: none;
}

.calendar-item--past img,
.calendar-list-item--past img {
  filter: grayscale(0.18) saturate(0.78);
}

.calendar-item--past .calendar-item__title,
.calendar-list-item--past strong {
  color: #698096;
}

.calendar-item:hover,
.calendar-list-item:hover {
  transform: translateY(-1px);
}

.calendar-item--past:hover,
.calendar-list-item--past:hover {
  transform: none;
}

.calendar-day__more {
  color: var(--home-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.calendar-mobile-list {
  display: none;
}

.calendar-list-item {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
}

.calendar-list-item img {
  height: 72px;
}

.calendar-list-item div {
  display: grid;
  gap: 4px;
}

.calendar-list-item strong {
  color: var(--home-ink);
  font-size: 1rem;
  line-height: 1.2;
}

.calendar-list-item span {
  color: var(--home-muted);
  font-size: 0.92rem;
}

.legal-page {
  background:
    radial-gradient(circle at top left, rgba(150, 205, 242, 0.18), transparent 22%),
    radial-gradient(circle at 100% 0, rgba(188, 223, 247, 0.18), transparent 22%),
    linear-gradient(180deg, #fcfeff 0%, var(--home-bg) 100%);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

.legal-card {
  padding: 30px;
}

.legal-meta {
  margin: 0;
}

.legal-card h1,
.legal-card h2,
.legal-card p,
.legal-card li {
  margin: 0;
}

.legal-card h1 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--home-ink);
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--home-ink);
}

.legal-card p,
.legal-card li {
  margin-top: 14px;
  color: var(--home-muted);
  line-height: 1.75;
}

.legal-card ul {
  padding-left: 20px;
  margin: 4px 0 0;
}

@media (max-width: 1100px) {
  .events-grid,
  .auth-layout,
  .simple-auth-layout {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-layout--organizer {
    grid-template-columns: 1fr;
  }

  .dashboard-page .dashboard-layout--organizer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .events-grid,
  .auth-layout,
  .simple-auth-layout,
  .filters-toolbar,
  .modal-list {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    min-height: auto;
  }

  .auth-page .simple-auth-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .auth-page .simple-auth-card,
  .auth-page .session-card {
    order: 1;
  }

  .dashboard-page .dashboard-layout--organizer {
    grid-template-columns: 1fr;
  }

  .auth-page .simple-auth-hero {
    order: 2;
    padding: 24px;
  }

  .auth-page .simple-auth-hero h1 {
    max-width: 11ch;
  }

  .event-modal__media {
    padding: 16px;
  }

  .event-modal__media img {
    max-height: min(60vh, 540px);
  }

  .dashboard-hero--admin,
  .admin-section-head,
  .admin-premium-logic__list-head,
  .admin-payment-item,
  .admin-user-card,
  .admin-premium-logic-item,
  .admin-event-card__top {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-event-card {
    grid-template-columns: 1fr;
  }

  .admin-event-card__media {
    aspect-ratio: 16 / 9;
  }

  .admin-event-card__details {
    grid-template-columns: 1fr;
  }

  .admin-payment-item__side,
  .admin-user-card__stats,
  .admin-premium-logic-item__meta {
    justify-content: flex-start;
  }

  .admin-role-actions {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 18px, 1320px);
  }

  .site-bar,
  .results-bar,
  .site-bar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .filters-panel,
  .auth-panel,
  .session-card,
  .simple-auth-card,
  .simple-auth-hero,
  .dashboard-card,
  .dashboard-hero {
    padding: 20px;
  }

  .auth-form__row {
    grid-template-columns: 1fr;
  }

  .dashboard-page .auth-form .category-picker__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-event-item {
    grid-template-columns: 1fr;
  }

  .event-card__content h2 {
    font-size: 1.45rem;
  }

  .brand-link {
    gap: 10px;
  }

  .brand-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .brand-title {
    font-size: 1.28rem;
  }

  .brand-subtitle {
    font-size: 0.82rem;
  }
}

@media (max-width: 1180px) {
  .home-page .hero-panel__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-page .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .hero-discover {
    max-width: none;
  }

  .home-page .hero-visual {
    max-width: 560px;
  }

  .home-page .discover-panel .search-shell {
    grid-template-columns: 1fr;
  }

  .home-page .site-footer__top,
  .home-page .site-footer__bottom {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 900px) {
  .home-page .page-shell {
    width: min(100vw - 20px, 1240px);
    margin: 14px auto 56px;
  }

  .home-page .site-bar {
    top: 8px;
    padding: 10px 12px;
    border-radius: 20px;
  }

  .home-page .hero-panel {
    padding: 20px 18px 18px;
    border-radius: 28px;
  }

  .home-page .hero-copy h1 {
    max-width: 11.5ch;
    font-size: clamp(2.24rem, 9vw, 3.6rem);
  }

  .home-page .hero-lead {
    max-width: none;
    font-size: 0.99rem;
  }

  .home-page .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-page .hero-discover {
    margin-top: 18px;
  }

  .home-page .hero-premium__surface {
    padding: 16px;
  }

  .home-page .discover-panel__selects {
    grid-template-columns: 1fr 1fr;
  }

  .home-page .results-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .home-page .results-bar__actions {
    justify-content: space-between;
  }

  .home-page .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .hero-premium__rail {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .calendar-hero,
  .calendar-board__header {
    flex-direction: column;
    align-items: stretch;
  }

  .calendar-board__header-main {
    width: 100%;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
  }

  .calendar-grid-header,
  .calendar-grid {
    display: none;
  }

  .calendar-mobile-list {
    display: grid;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .home-page .page-shell {
    width: min(100vw - 16px, 1240px);
    margin: 12px auto 48px;
  }

  .auth-page .page-shell,
  .dashboard-page .page-shell,
  .calendar-page .page-shell,
  .legal-page .page-shell {
    width: min(100vw - 16px, 1240px);
    margin: 12px auto 48px;
  }

  .auth-page .site-bar,
  .dashboard-page .site-bar,
  .calendar-page .site-bar,
  .legal-page .site-bar {
    gap: 10px;
    padding: 10px 12px;
    border-radius: 18px;
  }

  .auth-page .brand-icon,
  .dashboard-page .brand-icon,
  .calendar-page .brand-icon,
  .legal-page .brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .auth-page .brand-title,
  .dashboard-page .brand-title,
  .calendar-page .brand-title,
  .legal-page .brand-title {
    font-size: 0.98rem;
  }

  .auth-page .brand-subtitle,
  .dashboard-page .brand-subtitle,
  .calendar-page .brand-subtitle,
  .legal-page .brand-subtitle {
    font-size: 0.78rem;
  }

  .auth-page .site-bar {
    align-items: stretch;
  }

  .auth-page .site-button--secondary {
    width: 100%;
    justify-content: center;
  }

  .auth-page .simple-auth-card,
  .auth-page .simple-auth-hero,
  .auth-page .session-card,
  .dashboard-page .dashboard-card,
  .dashboard-page .dashboard-hero,
  .calendar-page .calendar-hero,
  .calendar-page .calendar-board,
  .legal-page .legal-card {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .dashboard-page {
    overflow-x: clip;
  }

  .dashboard-page .dashboard-layout--organizer {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dashboard-page .dashboard-stack,
  .dashboard-page .dashboard-card,
  .dashboard-page .dashboard-hero {
    min-width: 0;
  }

  .auth-page .simple-auth-hero h1,
  .dashboard-page .dashboard-hero h1,
  .calendar-page .calendar-hero__copy h1,
  .legal-page .legal-card h1 {
    font-size: clamp(1.95rem, 11vw, 3rem);
    letter-spacing: -0.045em;
  }

  .auth-page .simple-auth-links,
  .auth-page .auth-form__actions,
  .auth-page .session-card__actions,
  .dashboard-page .auth-form__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-page .auth-form__row,
  .dashboard-page .dashboard-event-item {
    grid-template-columns: 1fr;
  }

  .dashboard-page .dashboard-event-item__side,
  .dashboard-page .dashboard-event-item__actions {
    justify-items: start;
    justify-content: flex-start;
  }

  .dashboard-page .site-bar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dashboard-page .top-session {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding-inline: 12px;
  }

  .dashboard-page .site-button--secondary {
    min-height: 42px;
    padding-inline: 16px;
  }

  .dashboard-page .organizer-preview-desktop {
    display: none;
  }

  .dashboard-page .organizer-mobile-preview {
    display: grid;
  }

  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-clear-button {
    width: 100%;
  }

  .admin-metrics,
  .admin-payments-summary {
    grid-template-columns: 1fr 1fr;
  }

  .admin-page .site-bar-actions {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
  }

  .admin-page .admin-top-session {
    grid-column: 1 / -1;
    max-width: none;
  }

  .admin-page .admin-header-action:last-child {
    grid-column: span 2;
  }

  .calendar-page .site-bar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .calendar-page .site-bar .site-button {
    justify-content: center;
    min-height: 42px;
    padding-inline: 16px;
  }

  .calendar-page .month-field {
    min-height: 60px;
    padding: 10px 12px;
    border-radius: 18px;
  }

  .home-page .site-bar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
    border-radius: 18px;
  }

  .home-page .brand-link {
    justify-self: start;
  }

  .home-page .site-bar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
  }

  .home-page .site-bar-actions[data-has-session="true"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-page .brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .home-page .brand-title {
    font-size: 0.98rem;
  }

  .home-page .site-button--nav {
    width: 100%;
    min-width: 0;
    justify-content: center;
    min-height: 42px;
    padding-inline: 10px;
  }

  .home-page .site-button--calendar,
  .home-page .site-button--publish {
    padding-inline: 10px;
  }

  .site-button__label--full {
    display: none;
  }

  .site-button__label--short {
    display: inline;
  }

  .home-page .hero-panel {
    padding: 18px 16px 16px;
    border-radius: 24px;
  }

  .home-page .hero-eyebrow {
    min-height: 30px;
    padding-inline: 10px;
    font-size: 0.68rem;
  }

  .home-page .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(1.92rem, 10.1vw, 2.95rem);
  }

  .home-page .hero-lead {
    font-size: 0.97rem;
    line-height: 1.6;
  }

  .home-page .hero-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-page .hero-premium__surface {
    padding: 14px;
    border-radius: 24px;
  }

  .home-page .hero-premium__feature {
    padding: 12px;
    border-radius: 22px;
  }

  .home-page .hero-premium__header {
    align-items: center;
  }

  .home-page .hero-premium__title {
    font-size: 1.06rem;
  }

  .home-page .hero-premium__content h3 {
    font-size: 1.34rem;
  }

  .home-page .hero-premium__summary {
    font-size: 0.92rem;
  }

  .home-page .search-field {
    min-height: 64px;
    padding-inline: 14px;
    border-radius: 20px;
  }

  .home-page .search-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .home-page .search-field input {
    min-height: 52px;
    font-size: 0.98rem;
  }

  .home-page .discover-panel__selects {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .home-page .toggle-field,
  .home-page .month-field {
    min-height: 64px;
    padding: 10px 12px;
    border-radius: 20px;
  }

  .home-page .month-field select {
    font-size: 0.96rem;
  }

  .home-page .toggle-field {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-page .toggle-field__summary {
    font-size: 0.83rem;
  }

  .home-page .filter-pill {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.88rem;
  }

  .home-page .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .home-page .results-bar {
    padding: 14px;
    border-radius: 20px;
  }

  .home-page .results-bar__summary {
    align-items: flex-start;
  }

  .home-page .results-bar__actions {
    align-items: flex-start;
  }

  .home-page .results-bar__count {
    min-width: 46px;
    height: 46px;
  }

  .home-page .results-bar__copy strong {
    font-size: 0.98rem;
  }

  .home-page .results-bar__copy span {
    font-size: 0.9rem;
  }

  .home-page .results-bar__clear {
    min-height: 36px;
    font-size: 0.86rem;
  }

  .home-page .events-section {
    margin-top: 28px;
  }

  .home-page .events-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-page .event-card {
    border-radius: 24px;
  }

  .home-page .event-card__content {
    padding: 18px;
  }

  .home-page .empty-card {
    padding: 24px;
  }

  .home-page .site-footer {
    padding: 18px;
    border-radius: 24px;
  }

  .home-page .site-footer__brand-copy span {
    font-size: 0.88rem;
  }

  .home-page .site-footer__contact-link {
    align-self: flex-start;
  }

  .home-page .hero-premium__rail {
    grid-template-columns: 1fr;
  }

  .home-page .hero-premium__nav {
    display: none;
  }

  .calendar-page .page-shell {
    width: min(100vw - 18px, 1380px);
    margin: 18px auto 48px;
  }

  .calendar-hero,
  .calendar-board {
    padding: 20px;
  }

  .calendar-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .calendar-list-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .calendar-list-item img {
    height: 64px;
  }

  .calendar-page .calendar-month-nav {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 420px) {
  .dashboard-page .site-bar-actions,
  .calendar-page .site-bar-actions {
    grid-template-columns: 1fr;
  }

  .admin-metrics,
  .admin-payments-summary,
  .admin-premium-logic__summary {
    grid-template-columns: 1fr;
  }

  .admin-page .site-bar-actions {
    grid-template-columns: 1fr 1fr;
  }

  .admin-page .admin-top-session {
    grid-column: 1 / -1;
    width: 100%;
  }

  .admin-page .admin-header-action:last-child {
    grid-column: 1 / -1;
  }

  .calendar-page .calendar-toolbar {
    grid-template-columns: 1fr;
  }

  .home-page .discover-panel__selects {
    grid-template-columns: 1fr;
  }

  .home-page .toggle-field {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-page .toggle-field__switch-wrap {
    justify-self: flex-start;
  }

  .home-page .results-bar__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-page .results-bar__clear {
    justify-content: center;
    width: 100%;
  }
}
