@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

: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:
    radial-gradient(circle at top center, rgba(8, 12, 22, 0.24), transparent 34%),
    linear-gradient(180deg, #04070e 0%, #05080d 46%, #04070e 100%);
}

body.modal-open {
  overflow: hidden;
}

body.home-page,
body.auth-page,
body.dashboard-page,
body.calendar-page,
body.legal-page {
  --page-bg: #05080d;
  --panel: rgba(10, 15, 28, 0.94);
  --card: rgba(10, 14, 26, 0.94);
  --ink: #f2f6ff;
  --muted: #96a2b8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #6f9bff;
  --accent-strong: #8fb2ff;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
  color: #f2f6ff;
  background:
    radial-gradient(circle at top center, rgba(8, 12, 22, 0.24), transparent 34%),
    linear-gradient(180deg, #04070e 0%, #05080d 46%, #04070e 100%);
}

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

button,
input,
select {
  font: inherit;
}

/* El popup nativo del <select> lo dibuja el SO: en Windows con tema claro el
   fondo es blanco y las <option> heredan el texto claro de la página (tema
   oscuro), quedando invisibles. Se fija fondo oscuro + texto claro explícitos
   en todos los <select> (los del admin ya tenían su propia regla). */
select option,
select optgroup {
  background-color: #111b2f;
  color: #eff4ff;
}

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;
}

.dashboard-page .site-button.is-sent,
.dashboard-page .site-button.is-sent:disabled {
  background: linear-gradient(180deg, #ffb347 0%, #f28a1a 100%);
  border: 1px solid rgba(255, 184, 92, 0.42);
  color: #fff8ef;
  box-shadow: 0 12px 28px rgba(227, 125, 21, 0.34);
  cursor: default;
}

.dashboard-page .site-button.is-sent:hover,
.dashboard-page .site-button.is-sent:disabled:hover {
  background: linear-gradient(180deg, #ffb347 0%, #f28a1a 100%);
  box-shadow: 0 12px 28px rgba(227, 125, 21, 0.34);
}

.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;
}

.modal-share-panel {
  margin-top: 14px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(16, 24, 43, 0.9) 0%, rgba(10, 16, 29, 0.94) 100%),
    radial-gradient(circle at top right, rgba(79, 142, 247, 0.12), transparent 44%);
}

.modal-share-panel__title {
  margin: 0 0 12px;
  color: #f4f7ff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.modal-share-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-share-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #eef4ff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.modal-share-action:hover {
  transform: translateY(-1px);
  border-color: rgba(134, 168, 245, 0.34);
  background: rgba(44, 77, 146, 0.2);
}

.modal-share-action__icon,
.modal-share-action__icon svg {
  width: 18px;
  height: 18px;
  flex: none;
  display: block;
}

.modal-share-action--chat {
  color: #bff6d0;
}

.modal-share-action--facebook {
  color: #d9e7ff;
}

.modal-share-action--x {
  color: #eef3ff;
}

.modal-share-action--instagram {
  color: #ffe6f6;
}

.modal-share-action--copy {
  color: #ffe6a3;
}

.modal-share-action.is-success {
  border-color: rgba(239, 181, 69, 0.34);
  background: rgba(239, 181, 69, 0.14);
  color: #ffe4a3;
}

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

.dashboard-page .optional-fields {
  background: rgba(12, 18, 33, 0.86);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.auth-page .optional-fields {
  background: rgba(12, 18, 33, 0.86);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.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;
}

.dashboard-page .optional-fields__head h3,
.dashboard-page .optional-fields__head p {
  color: #ebf2ff;
}

.dashboard-page .optional-fields label span {
  color: #edf3ff;
}

.dashboard-page .optional-fields input::placeholder {
  color: #98a6bf;
}

.dashboard-page .whatsapp-field__country,
.dashboard-page .whatsapp-field__prefix,
.dashboard-page .whatsapp-field__input {
  color: #edf3ff;
}

.dashboard-page .whatsapp-field__input::placeholder {
  color: #98a8bf;
}

.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;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin-top: 16px;
}

.review-summary__image {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  padding: 14px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(13, 19, 35, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.review-summary__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

.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-nav-card {
  padding: 18px 22px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #cfe0ff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.admin-nav__link:hover {
  transform: translateY(-1px);
  background: rgba(79, 142, 247, 0.14);
  border-color: rgba(125, 175, 255, 0.38);
}

.admin-nav__link.is-active,
.admin-nav__link[aria-current="page"] {
  background: linear-gradient(180deg, rgba(79, 142, 247, 0.22), rgba(49, 110, 216, 0.24));
  border-color: rgba(125, 175, 255, 0.45);
  color: #eff5ff;
}

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

.admin-quick-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  text-decoration: none;
  border-radius: 20px;
  background: rgba(15, 21, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #b8c9e8;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.admin-quick-card:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 175, 255, 0.32);
  background: rgba(20, 28, 47, 0.96);
}

.admin-quick-card strong {
  color: #eef4ff;
  font-size: 1.04rem;
}

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

.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: rgba(15, 21, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-page .admin-metric-card {
  background: rgba(15, 21, 36, 0.94);
  border-color: rgba(255, 255, 255, 0.17);
}

.admin-metric-card span,
.admin-metric-card small,
.admin-events-state {
  color: #9caac0;
}

.admin-page .admin-metric-card span,
.admin-page .admin-metric-card small {
  color: #a7b7cf;
}

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

.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 {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

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

.admin-categories-note {
  margin-top: 18px;
  color: #a7b7cf;
}

.admin-categories-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-category-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.9fr) auto auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border-radius: 18px;
  background: rgba(15, 21, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-category-row__slug,
.admin-category-row__toggle {
  display: grid;
  gap: 8px;
}

.admin-category-row__slug span,
.admin-category-row__toggle span {
  color: #d4e1fb;
  font-size: 0.92rem;
}

.admin-category-row__slug code {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #eff4ff;
}

.admin-category-row__toggle input {
  width: 22px;
  height: 22px;
  accent-color: #4f8ef7;
}

.admin-category-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-category-row__remove {
  min-height: 42px;
  box-shadow: none;
}

.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-users-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(160px, 1fr)) auto;
  gap: 12px;
  margin-top: 18px;
}

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

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

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

.admin-error-logs-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.admin-log-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: #f5f9fc;
  border: 1px solid #dbe7ef;
}

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

.admin-log-card__title {
  display: grid;
  gap: 10px;
}

.admin-log-card__title strong {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

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

.admin-log-card__details p {
  margin: 0;
}

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

.admin-log-card__raw {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-log-card__raw summary {
  cursor: pointer;
  color: #eef4ff;
  font-weight: 600;
}

.admin-log-card__raw div {
  display: grid;
  gap: 8px;
}

.admin-log-card__raw strong {
  color: #eef4ff;
}

.admin-log-card__raw pre {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(7, 12, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cfe0ff;
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.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: #0f1626 !important;
  color: #eaf1ff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-chip--accent {
  background: rgba(37, 99, 235, 0.3) !important;
  color: #e9efff !important;
  border-color: rgba(147, 197, 253, 0.58) !important;
}

.admin-page .admin-chip,
.admin-page .admin-chip--accent,
.admin-page .admin-premium-logic-item__meta .admin-chip,
.admin-page .admin-event-card__chips .admin-chip,
.admin-page .editor-preview-card__chips .editor-preview-card__chip {
  text-shadow: none;
}

.admin-page {
  --muted: #c0cee9;
  --home-muted: #bccbe8;
  --home-muted-soft: #9caed1;
  --neo-muted: #bcc9e8;
}

.admin-page .dashboard-card,
.admin-page .admin-metric-card,
.admin-page .admin-premium-logic__message,
.admin-page .admin-premium-logic-item,
.admin-page .admin-payment-item,
.admin-page .admin-user-card,
.admin-page .admin-event-card,
.admin-page .admin-empty-state {
  background: rgba(15, 21, 35, 0.94);
  border-color: rgba(255, 255, 255, 0.16);
}

.admin-page .dashboard-card,
.admin-page .dashboard-page .dashboard-card,
.admin-page .dashboard-layout,
.admin-page .dashboard-hero {
  border-radius: var(--home-radius-lg);
  border-color: rgba(255, 255, 255, 0.14);
}

.admin-page .dashboard-status,
.admin-page .admin-event-card__chips .dashboard-status,
.admin-page .admin-payment-item .dashboard-status,
.admin-page .admin-user-card .dashboard-status {
  border-radius: 999px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(28, 38, 59, 0.62);
  color: #e8f0ff;
}

.admin-page .dashboard-status--pending_review {
  background: rgba(183, 132, 17, 0.28);
  color: #ffea9a;
  border-color: rgba(254, 232, 130, 0.55);
}

.admin-page .dashboard-status--published {
  background: rgba(22, 163, 74, 0.26);
  color: #c5f8cb;
  border-color: rgba(74, 222, 128, 0.55);
}

.admin-page .dashboard-status--rejected,
.admin-page .dashboard-status--cancelled {
  background: rgba(185, 28, 28, 0.28);
  color: #ffc9c9;
  border-color: rgba(252, 165, 165, 0.55);
}

.admin-page .dashboard-status--draft {
  background: rgba(79, 70, 229, 0.22);
  color: #dfe7ff;
  border-color: rgba(165, 180, 252, 0.55);
}

.admin-page .admin-premium-logic-item__main p,
.admin-page .admin-event-card__meta,
.admin-page .admin-event-card__summary,
.admin-page .admin-event-card__details p,
.admin-page .admin-log-card__details p,
.admin-page .admin-event-card__placeholder,
.admin-page .admin-payment-item__main p,
.admin-page .admin-user-card__main p,
.admin-page .admin-user-card__stats span,
.admin-page .admin-metric-card span,
.admin-page .admin-metric-card small,
.admin-page .admin-events-state,
.admin-page .admin-users-state,
.admin-page .admin-error-logs-state,
.admin-page .dashboard-note,
.admin-page .admin-section-head p,
.admin-page .admin-premium-logic__message p,
.admin-page .dashboard-card p {
  color: #b5c5e7;
}

.admin-page .admin-field span {
  color: #d4e1fb;
}

.admin-page .admin-field input,
.admin-page .admin-field select {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: #eff4ff;
  box-shadow: none;
}

.admin-page .admin-field input::placeholder,
.admin-page .admin-field select option:first-child {
  color: #aab9d8;
}

.admin-page .admin-field select option {
  background: #111b2f;
  color: #eff4ff;
}

.admin-page .admin-metric-card strong,
.admin-page .admin-payment-item__amount,
.admin-page .admin-premium-logic-item__main strong,
.admin-page .admin-premium-logic__message strong,
.admin-page .admin-event-card__top h3,
.admin-page .admin-log-card__title strong,
.admin-page .admin-user-card__title strong,
.admin-page .admin-events-state strong,
.admin-page .admin-users-state strong {
  color: #eef4ff;
}

.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-inline-actions--tight .site-button {
  min-height: 38px;
  padding-inline: 14px;
}

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

.admin-user-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.admin-user-card__stats {
  justify-content: flex-start;
}

.admin-user-card__actions {
  display: grid;
  gap: 12px;
}

.admin-button--danger {
  background: rgba(180, 38, 38, 0.18) !important;
  color: #ffd8d8 !important;
  border: 1px solid rgba(244, 114, 114, 0.4) !important;
  box-shadow: none !important;
}

.admin-button--danger:hover {
  background: rgba(180, 38, 38, 0.26) !important;
}

.admin-chip--warning {
  background: rgba(180, 83, 9, 0.3) !important;
  color: #ffdfab !important;
  border-color: rgba(251, 191, 36, 0.45) !important;
}

.editor-preview-card {
  display: grid;
  grid-template-columns: minmax(120px, 188px) minmax(0, 1fr);
  align-items: start;
  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);
}

.dashboard-page .organizer-mobile-preview,
.auth-page .organizer-mobile-preview {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(10, 14, 26, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.dashboard-page .organizer-mobile-preview h3,
.dashboard-page .organizer-mobile-preview p {
  color: #ebf2ff;
}

.dashboard-page .editor-preview-card,
.auth-page .editor-preview-card,
.dashboard-page .editor-preview-card__body p,
.auth-page .editor-preview-card__body p {
  color: #c4d2f0;
}

.dashboard-page .editor-preview-card__body h3,
.auth-page .editor-preview-card__body h3 {
  color: #eff4ff;
}

.dashboard-page .editor-preview-card__image,
.auth-page .editor-preview-card__image {
  background: #0f1a2f;
}

.dashboard-page .editor-preview-card__image--placeholder,
.auth-page .editor-preview-card__image--placeholder,
.dashboard-page .organizer-preview-card__image--placeholder,
.auth-page .organizer-preview-card__image--placeholder {
  color: #a9bad8;
}

.dashboard-page .editor-preview-card__chips,
.auth-page .editor-preview-card__chips {
  color: #eff4ff;
}

.dashboard-page .editor-preview-card__chip,
.auth-page .editor-preview-card__chip {
  background: rgba(79, 142, 247, 0.2);
  color: #d6e4ff;
}

.dashboard-page .editor-preview-card__meta,
.auth-page .editor-preview-card__meta {
  color: #9fc0ff;
}

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

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

.editor-preview-card__image {
  display: block;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  padding: 10px;
  border-radius: 18px;
  background: #dbe7ef;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.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: 3 / 4;
}

.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: #05080d;
  --home-surface: rgba(10, 15, 28, 0.94);
  --home-surface-strong: #0b1020;
  --home-surface-soft: #0e1424;
  --home-surface-muted: #111a2b;
  --home-ink: #f2f6ff;
  --home-muted: #96a2b8;
  --home-muted-soft: #71809a;
  --home-line: rgba(255, 255, 255, 0.12);
  --home-primary: #6f9bff;
  --home-primary-strong: #8fb2ff;
  --home-primary-soft: rgba(111, 155, 255, 0.18);
  --home-secondary-soft: #111a2c;
  --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:
    linear-gradient(180deg, #04070e 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: var(--home-surface-strong);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

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

.discover-panel__selects[data-disabled="true"] .month-field select {
  color: var(--neo-text);
  opacity: 1;
  cursor: not-allowed;
}

.discover-panel__selects[data-disabled="true"] .month-field select:disabled {
  -webkit-text-fill-color: var(--neo-text);
  background-color: transparent;
}

.discover-panel__selects[data-disabled="true"] .month-field select option {
  color: var(--neo-text);
  background: var(--home-surface-strong);
}

.discover-panel__selects[data-disabled="true"] .month-field::after {
  border-color: rgba(186, 200, 219, 0.9);
}

.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: none;
}

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

.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 .simple-auth-layout--signup {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
}

.auth-page .simple-auth-layout--signup .simple-auth-hero,
.auth-page .simple-auth-layout--signup .simple-auth-card {
  width: 100%;
  max-width: 760px;
}

.auth-page .simple-auth-layout--signup .simple-auth-hero,
.auth-page .simple-auth-layout--signup .simple-auth-card,
.auth-page .simple-auth-layout--signup .simple-auth-card .auth-form {
  margin-inline: auto;
}

.auth-page .simple-auth-layout--signup .simple-auth-hero h1,
.auth-page .simple-auth-layout--signup .simple-auth-card h2 {
  text-align: center;
}

.auth-page .simple-auth-layout--signup .simple-auth-hero p {
  color: var(--neo-text);
  max-width: none;
}

.auth-page .simple-auth-layout--signup .simple-auth-hero,
.auth-page .simple-auth-layout--signup .simple-auth-hero .page-kicker,
.auth-page .simple-auth-layout--signup .simple-auth-hero p,
.auth-page .simple-auth-layout--signup .simple-auth-hero h1 {
  color: #f5f7ff !important;
}

.auth-page .simple-auth-layout--signup .simple-auth-hero .page-kicker {
  border-color: rgba(149, 181, 255, 0.28);
  background: rgba(79, 142, 247, 0.2);
}

.auth-page--signup .simple-auth-hero,
.auth-page--signup .simple-auth-card,
.auth-page--signup .simple-auth-hero .page-kicker,
.auth-page--signup .simple-auth-hero h1,
.auth-page--signup .simple-auth-hero p,
.auth-page--signup .simple-auth-card h2,
.auth-page--signup .simple-auth-card .simple-auth-card__lead,
.auth-page--signup .simple-auth-card .auth-help,
.auth-page--signup .simple-auth-card label span {
  color: #e8eeff !important;
}

.auth-page--signup .simple-auth-hero *,
.auth-page--signup .simple-auth-card * {
  color: #e8eeff !important;
}

.auth-page--signup .simple-auth-layout--signup .simple-auth-hero,
.auth-page--signup .simple-auth-layout--signup .simple-auth-card {
  background:
    linear-gradient(180deg, rgba(10, 14, 26, 0.94) 0%, rgba(13, 18, 32, 0.96) 100%),
    radial-gradient(circle at top right, rgba(79, 142, 247, 0.1), transparent 30%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: var(--neo-shadow) !important;
}

.auth-page--signup .simple-auth-layout--signup .simple-auth-hero::before {
  display: none !important;
}

.auth-page--signup .simple-auth-layout--signup .simple-auth-hero,
.auth-page--signup .simple-auth-layout--signup .simple-auth-card {
  background-image:
    linear-gradient(180deg, rgba(10, 14, 26, 0.95) 0%, rgba(13, 18, 32, 0.97) 100%) !important;
}

.auth-page .simple-auth-layout--signup .simple-auth-hero,
.auth-page .simple-auth-layout--signup .simple-auth-card,
.auth-page .simple-auth-layout--signup .simple-auth-hero * {
  color: #f5f7ff !important;
}

.auth-page .simple-auth-layout--signup .simple-auth-card .auth-form label span,
.auth-page .simple-auth-layout--signup .simple-auth-card .auth-help {
  color: #d8e1fb !important;
}

.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;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.86) 0%, rgba(7, 10, 18, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px);
}

.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__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

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

.calendar-hero__eyebrow {
  margin: 0;
}

.calendar-page .calendar-hero__back {
  min-height: 34px;
  padding-inline: 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.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));
  }

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

  .admin-category-row {
    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;
  }

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

  .admin-category-row__meta {
    justify-content: flex-start;
  }

  .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-premium-logic-item,
  .admin-event-card__top,
  .admin-log-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-log-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,
  .admin-user-card__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;
  }

  .dashboard-page .review-summary {
    grid-template-columns: 1fr;
  }

  .dashboard-page .review-summary__image {
    max-width: min(100%, 290px);
    margin-inline: auto;
  }

  .dashboard-page .review-summary__body h2 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    line-height: 1.04;
  }

  .dashboard-page .editor-preview-card,
  .auth-page .editor-preview-card {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
  }

  .dashboard-page .editor-preview-card__image,
  .auth-page .editor-preview-card__image {
    padding: 8px;
    border-radius: 14px;
  }

  .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: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
  }

  .home-page .brand-link {
    flex: 1 1 auto;
    min-width: 0;
    justify-self: auto;
  }

  .home-page .brand-link--wordmark {
    max-width: calc(100% - 56px);
  }

  .home-page .site-menu-toggle {
    margin-left: auto;
  }

  .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;
  }

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

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


  .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: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

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

  .home-page .month-field {
    min-height: 52px;
    padding: 6px 10px;
    border-radius: 16px;
  }

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

  .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%;
  }
}

/* Modern redesign overrides */

:root {
  --neo-bg: #05070d;
  --neo-bg-soft: #0b1120;
  --neo-surface: rgba(10, 14, 26, 0.88);
  --neo-surface-strong: rgba(15, 20, 36, 0.96);
  --neo-surface-soft: rgba(255, 255, 255, 0.05);
  --neo-border: rgba(255, 255, 255, 0.08);
  --neo-border-strong: rgba(112, 153, 255, 0.28);
  --neo-text: #f5f7ff;
  --neo-muted: #9aa6c4;
  --neo-accent: #4f8ef7;
  --neo-accent-strong: #2f74ea;
  --neo-accent-soft: rgba(79, 142, 247, 0.14);
  --neo-highlight: #ff6a3d;
  --neo-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--neo-text);
  background:
    radial-gradient(circle at top, rgba(79, 142, 247, 0.12), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(255, 106, 61, 0.08), transparent 20%),
    linear-gradient(180deg, #04060c 0%, #09111d 52%, #05080f 100%);
}

.brand-title,
.hero-copy h1,
.dashboard-hero h1,
.calendar-hero__copy h1,
.legal-card h1,
.auth-page .simple-auth-hero h1,
.event-modal__body h2,
.events-section__title,
.event-card__content h2,
.dashboard-card h1,
.dashboard-card h2,
.calendar-board__header h2,
.legal-card h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.home-page .page-shell,
.auth-page .page-shell,
.dashboard-page .page-shell,
.calendar-page .page-shell,
.legal-page .page-shell {
  width: min(1328px, calc(100vw - 32px));
  margin: 18px auto 72px;
}

.home-page .site-bar,
.auth-page .site-bar,
.dashboard-page .site-bar,
.calendar-page .site-bar,
.legal-page .site-bar {
  background: rgba(7, 10, 18, 0.74);
  border: 1px solid var(--neo-border);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(22px);
}

.home-page .brand-title,
.auth-page .brand-title,
.dashboard-page .brand-title,
.calendar-page .brand-title,
.legal-page .brand-title {
  color: var(--neo-text);
}

.auth-page .brand-subtitle,
.dashboard-page .brand-subtitle,
.calendar-page .brand-subtitle,
.legal-page .brand-subtitle,
.brand-subtitle {
  color: var(--neo-muted);
}

.home-page .site-button,
.auth-page .site-button,
.dashboard-page .site-button,
.calendar-page .site-button,
.legal-page .site-button {
  background: linear-gradient(180deg, var(--neo-accent) 0%, var(--neo-accent-strong) 100%);
  border: 1px solid rgba(118, 161, 255, 0.22);
  color: #fff;
  box-shadow: 0 12px 28px rgba(28, 89, 214, 0.34);
}

.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: linear-gradient(180deg, #6b9fff 0%, #3d7ef0 100%);
  box-shadow: 0 16px 36px rgba(28, 89, 214, 0.42);
}

.home-page .site-button--soft,
.home-page .site-button--calendar,
.auth-page .site-button--soft,
.auth-page .site-button--secondary,
.dashboard-page .site-button--soft,
.dashboard-page .site-button--secondary,
.calendar-page .site-button--soft,
.calendar-page .site-button--secondary,
.legal-page .site-button--soft,
.legal-page .site-button--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--neo-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.home-page .site-button--soft:hover,
.home-page .site-button--calendar:hover,
.auth-page .site-button--soft:hover,
.auth-page .site-button--secondary:hover,
.dashboard-page .site-button--soft:hover,
.dashboard-page .site-button--secondary:hover,
.calendar-page .site-button--soft:hover,
.calendar-page .site-button--secondary:hover,
.legal-page .site-button--soft:hover,
.legal-page .site-button--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--neo-text);
}

.home-page .hero-panel {
  min-height: min(860px, calc(100vh - 110px));
  padding: clamp(28px, 4vw, 48px);
  border-radius: 38px;
  background:
    linear-gradient(120deg, rgba(4, 6, 12, 0.92) 0%, rgba(5, 8, 16, 0.78) 42%, rgba(6, 10, 18, 0.48) 100%),
    url("./demo/fitness-07.jpg") center center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--neo-shadow);
}

.home-page .hero-panel::before {
  width: 420px;
  height: 420px;
  top: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(79, 142, 247, 0.28), transparent 68%);
}

.home-page .hero-panel::after {
  width: 320px;
  height: 320px;
  left: -140px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(255, 106, 61, 0.14), transparent 68%);
}

.home-page .hero-panel__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
  gap: clamp(24px, 3vw, 40px);
  min-height: 100%;
}

.home-page .hero-copy {
  max-width: 620px;
  padding-top: clamp(28px, 7vh, 92px);
  padding-right: 12px;
}

.home-page .hero-eyebrow {
  min-height: 36px;
  padding: 0 14px;
  background: rgba(79, 142, 247, 0.12);
  border-color: rgba(79, 142, 247, 0.32);
  color: #8bb4ff;
  letter-spacing: 0.14em;
}

.home-page .hero-copy h1 {
  max-width: 8ch;
  margin-top: 18px;
  color: var(--neo-text);
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.home-page .hero-copy h1 span {
  display: block;
}

.home-page .hero-copy h1 span:nth-child(2) {
  opacity: 0.94;
}

.home-page .hero-copy h1 span:nth-child(3) {
  color: #cfdbff;
}

.home-page .hero-lead {
  max-width: 34ch;
  margin-top: 22px;
  color: var(--neo-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.home-page .search-shell {
  display: grid;
  gap: 14px;
}

.home-page .search-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 10px 10px 10px 20px;
  border-radius: 24px;
  background: rgba(12, 17, 30, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.home-page .search-field:focus-within {
  border-color: rgba(108, 154, 255, 0.4);
  box-shadow:
    0 0 0 4px rgba(79, 142, 247, 0.1),
    0 22px 56px rgba(0, 0, 0, 0.3);
}

.home-page .search-icon {
  width: 24px;
  height: 24px;
  color: #8fa0c7;
}

.home-page .search-field input {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--neo-text);
  font-size: 1.06rem;
}

.home-page .search-field input::placeholder {
  color: #7e8cae;
}

.home-page .search-field__button {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--neo-accent) 0%, var(--neo-accent-strong) 100%);
  color: #fff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.home-page .discover-panel__controls {
  display: grid;
  gap: 14px;
}

.home-page .toggle-field,
.home-page .month-field {
  background: rgba(12, 17, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.home-page .toggle-field__title,
.home-page .month-field span,
.home-page .results-bar__copy strong,
.home-page .events-section__title {
  color: var(--neo-text);
}

.home-page .toggle-field__summary,
.home-page .month-field .help-tip__bubble,
.home-page .results-bar__copy span {
  color: var(--neo-muted);
}

.home-page .month-field select {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--neo-text);
  box-shadow: none;
}

.home-page .results-bar {
  background: rgba(10, 15, 28, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.home-page .results-bar__count {
  color: #fff;
}

.home-page .results-bar__eyebrow {
  color: #8bb4ff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-page .results-bar__clear {
  background: rgba(255, 255, 255, 0.05);
  color: var(--neo-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-shortcut {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #d9e1fb;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.hero-shortcut:hover,
.hero-shortcut.is-active {
  transform: translateY(-1px);
  background: rgba(79, 142, 247, 0.14);
  border-color: rgba(79, 142, 247, 0.32);
  color: #9fc0ff;
}

.home-page .hero-premium__surface {
  align-content: start;
  background:
    linear-gradient(180deg, rgba(12, 17, 30, 0.92) 0%, rgba(14, 20, 36, 0.92) 100%),
    radial-gradient(circle at top right, rgba(79, 142, 247, 0.12), transparent 44%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
}

.home-page .hero-premium__header {
  justify-content: space-between;
}

.home-page .hero-premium__eyebrow {
  color: #8bb4ff;
  font-size: 0.82rem;
  text-align: left;
}

.home-page .hero-premium__feature {
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(20, 27, 45, 0.84);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.home-page .hero-premium__media {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.home-page .hero-premium__content {
  padding: 18px 18px 20px;
}

.home-page .hero-premium__content h3 {
  color: #fff;
  font-size: clamp(1.24rem, 2vw, 1.7rem);
}

.home-page .hero-premium__meta {
  color: var(--neo-muted);
  font-size: 0.98rem;
  font-weight: 600;
}

.home-page .hero-premium__nav,
.home-page .hero-premium__thumb {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: var(--neo-text);
}

.home-page .hero-premium__thumb.is-active,
.home-page .hero-premium__nav:hover {
  border-color: rgba(79, 142, 247, 0.34);
  box-shadow: 0 12px 24px rgba(18, 55, 120, 0.2);
}

.home-page .events-section {
  margin-top: 30px;
  padding: 32px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(9, 13, 24, 0.96) 0%, rgba(12, 18, 32, 0.96) 100%),
    radial-gradient(circle at top right, rgba(79, 142, 247, 0.08), transparent 28%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--neo-shadow);
}

.home-page .events-grid {
  gap: 24px;
}

.home-page .event-card {
  border-radius: 30px;
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(14, 19, 34, 0.98) 0%, rgba(10, 14, 24, 0.98) 100%);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.26);
}

.home-page .event-card:hover,
.home-page .event-card:focus-visible {
  border-color: rgba(79, 142, 247, 0.22);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.34);
}

.home-page .event-card__media::after {
  background: linear-gradient(180deg, transparent 0%, rgba(5, 9, 18, 0.88) 100%);
}

.event-card__type {
  background: rgba(46, 95, 194, 0.84);
  color: #eff4ff;
}

.event-card__date-chip,
.event-card__time-chip {
  background: rgba(255, 255, 255, 0.92);
  color: #0f1b33;
  border-color: rgba(255, 255, 255, 0.4);
}

.home-page .event-card__content h2,
.home-page .event-card__summary,
.event-card__detail,
.event-card__organizer-label,
.event-card__badge,
.event-card__badge--soft,
.empty-card h3,
.empty-card p {
  color: var(--neo-text);
}

.home-page .event-card__summary,
.event-card__detail span,
.event-card__organizer-label,
.empty-card p {
  color: var(--neo-muted);
}

.event-card__badge {
  background: rgba(79, 142, 247, 0.16);
  border-color: rgba(79, 142, 247, 0.24);
  color: #a7c3ff;
}

.event-card__badge--soft {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.event-card__detail svg,
.event-card__link,
.empty-card__icon {
  color: #8bb4ff;
}

.event-card__link {
  background: rgba(79, 142, 247, 0.14);
  border: 1px solid rgba(79, 142, 247, 0.24);
}

.home-page .empty-card {
  background: rgba(12, 17, 30, 0.86);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.home-page .filter-pill {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--neo-muted);
}

.home-page .filter-pill:hover,
.home-page .filter-pill.is-active {
  background: rgba(79, 142, 247, 0.14);
  border-color: rgba(79, 142, 247, 0.32);
  color: #a9c5ff;
}

.auth-page .simple-auth-card,
.auth-page .session-card,
.dashboard-page .dashboard-card,
.dashboard-page .dashboard-hero,
.calendar-page .calendar-hero,
.calendar-page .calendar-board,
.legal-page .legal-card,
.event-page-card {
  background:
    linear-gradient(180deg, rgba(10, 14, 26, 0.94) 0%, rgba(13, 18, 32, 0.96) 100%),
    radial-gradient(circle at top right, rgba(79, 142, 247, 0.08), transparent 28%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--neo-shadow);
}

.auth-page .simple-auth-hero h1,
.dashboard-page .dashboard-hero h1,
.calendar-page .calendar-hero__copy h1,
.legal-page .legal-card h1,
.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(--neo-text);
}

.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,
.dashboard-page .dashboard-note,
.dashboard-page .dashboard-event-item p,
.dashboard-page .nearby-item p,
.review-summary p,
.legal-page .legal-card p,
.legal-page .legal-card li,
.calendar-page .calendar-day__more,
.calendar-page .calendar-list-item span {
  color: var(--neo-muted);
}

.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,
.calendar-page .month-field select {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--neo-text);
  box-shadow: none;
}

.auth-page--login-redesign .auth-form input,
.auth-page--login-redesign .auth-form textarea,
.auth-page--login-redesign .auth-form select {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--home-ink);
  box-shadow: none;
}

.auth-page--login-redesign .auth-form input:-webkit-autofill,
.auth-page--login-redesign .auth-form textarea:-webkit-autofill,
.auth-page--login-redesign .auth-form select:-webkit-autofill,
.auth-page--login-redesign .auth-form input:-webkit-autofill:hover,
.auth-page--login-redesign .auth-form textarea:-webkit-autofill:hover,
.auth-page--login-redesign .auth-form select:-webkit-autofill:hover,
.auth-page--login-redesign .auth-form input:-webkit-autofill:focus,
.auth-page--login-redesign .auth-form textarea:-webkit-autofill:focus,
.auth-page--login-redesign .auth-form select:-webkit-autofill:focus,
.auth-page--login-redesign .auth-form input:-webkit-autofill:active,
.auth-page--login-redesign .auth-form textarea:-webkit-autofill:active,
.auth-page--login-redesign .auth-form select:-webkit-autofill:active {
  -webkit-text-fill-color: var(--home-ink);
  -webkit-box-shadow: 0 0 0 1000px var(--home-surface-strong) inset !important;
  box-shadow: 0 0 0 1000px var(--home-surface-strong) inset !important;
  background-color: transparent !important;
  border-color: rgba(255, 255, 255, 0.14);
  caret-color: var(--home-ink);
}

.auth-page .auth-form input::placeholder,
.auth-page .auth-form textarea::placeholder,
.dashboard-page .auth-form input::placeholder,
.dashboard-page .auth-form textarea::placeholder {
  color: #7181a6;
}

.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,
.calendar-page .month-field select:focus {
  border-color: rgba(79, 142, 247, 0.34);
  box-shadow: 0 0 0 4px rgba(79, 142, 247, 0.12);
}

.auth-page .simple-divider {
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-page .top-session,
.auth-page .password-field__toggle,
.dashboard-page .auth-form .premium-option,
.dashboard-page .auth-form .maps-place-field,
.dashboard-page .auth-form .flyer-tip,
.auth-page .auth-form .consent-option,
.dashboard-page .dashboard-event-item,
.dashboard-page .nearby-item,
.calendar-page .calendar-item,
.calendar-page .calendar-list-item,
.calendar-page .calendar-day,
.calendar-page .calendar-grid-header span,
.whatsapp-field {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.dashboard-page .auth-form .premium-option__content strong,
.dashboard-page .auth-form .flyer-tip__copy,
.dashboard-page .auth-form .premium-option__content small,
.dashboard-page .dashboard-event-item strong,
.dashboard-page .nearby-item strong,
.calendar-page .calendar-item__title,
.calendar-page .calendar-list-item strong,
.calendar-page .calendar-day__number,
.dashboard-page .top-session,
.dashboard-page .auth-form .category-picker__option span,
.dashboard-page .auth-form label span,
.auth-page .auth-form label span,
.dashboard-page .auth-form .maps-place-field > span,
.dashboard-page .auth-form .maps-place-field__help,
.dashboard-page .auth-form .maps-place-field__status,
.dashboard-page .auth-form .category-picker__hint,
.dashboard-page .auth-form .flyer-tip__badge,
.auth-page .auth-form .consent-option__content strong,
.auth-page .auth-form .consent-option__content small {
  color: var(--neo-text);
}

.dashboard-page .auth-form .premium-option__content small,
.dashboard-page .auth-form .maps-place-field__help,
.dashboard-page .auth-form .maps-place-field__status,
.dashboard-page .auth-form .category-picker__hint,
.dashboard-page .auth-form .flyer-tip__copy,
.auth-page .auth-form .consent-option__content small,
.dashboard-page .top-session {
  color: var(--neo-muted);
}

.dashboard-page .auth-form .category-picker__option {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.dashboard-page .auth-form .category-picker__option:has(input:checked) {
  background: rgba(79, 142, 247, 0.16);
  border-color: rgba(79, 142, 247, 0.3);
  box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.08);
}

.whatsapp-field__country,
.whatsapp-field__input,
.whatsapp-field__prefix {
  color: var(--neo-text);
}

.whatsapp-field__country,
.whatsapp-field__prefix {
  border-color: rgba(255, 255, 255, 0.08);
}

.whatsapp-field__prefix {
  color: #8bb4ff;
}

.calendar-page .calendar-month-nav {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--neo-text);
  box-shadow: none;
}

.calendar-page .calendar-month-nav:hover {
  background: rgba(79, 142, 247, 0.14);
  border-color: rgba(79, 142, 247, 0.28);
  color: #a8c4ff;
}

.calendar-page .calendar-day.is-outside-month {
  background: rgba(255, 255, 255, 0.025);
}

.calendar-page .calendar-day.is-past-only {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border-style: dashed;
}

.legal-page .legal-card a,
.auth-page a,
.dashboard-page a,
.calendar-page a {
  color: #8bb4ff;
}

.site-footer {
  margin-top: 44px;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.86) 0%, rgba(7, 10, 18, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.site-footer__top,
.site-footer__bottom {
  border-color: rgba(255, 255, 255, 0.08);
}

.site-footer__brand-copy strong,
.site-footer__nav a,
.site-footer__city {
  color: var(--neo-text);
}

.site-footer__brand-copy span,
.site-footer__city,
.site-footer__nav a {
  color: var(--neo-muted);
}

.site-footer__contact-link {
  display: none;
}

.event-modal__dialog {
  background:
    linear-gradient(180deg, rgba(8, 12, 22, 0.98) 0%, rgba(12, 16, 30, 0.98) 100%),
    radial-gradient(circle at top right, rgba(79, 142, 247, 0.08), transparent 24%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--neo-text);
}

.event-modal__backdrop {
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(10px);
}

.event-modal__close {
  background: rgba(255, 255, 255, 0.06);
  color: var(--neo-text);
}

.event-modal__media {
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.96), rgba(8, 12, 22, 0.96));
}

.modal-kicker {
  color: #8bb4ff;
}

.modal-meta,
.modal-description,
.modal-list dt,
.modal-list dd {
  color: var(--neo-text);
}

.modal-meta,
.modal-description,
.modal-list dt {
  color: var(--neo-muted);
}

.modal-list div {
  background: rgba(255, 255, 255, 0.04);
}

.modal-contact-link,
.modal-social-link,
.modal-location-link {
  color: #a9c5ff;
}

.modal-location-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.modal-location-card__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.modal-location-card__name {
  display: block;
  color: var(--neo-text);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.32;
}

.modal-location-card__meta {
  color: var(--neo-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.modal-location-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: auto;
  min-height: 40px;
  padding: 0 12px 0 10px;
  gap: 8px;
  border-radius: 14px;
  background: rgba(79, 142, 247, 0.14);
  border: 1px solid rgba(79, 142, 247, 0.24);
  color: #9fc0ff;
}

.modal-location-map:hover {
  background: rgba(79, 142, 247, 0.2);
  color: #dce8ff;
}

.modal-location-map__icon,
.modal-location-map__icon svg {
  width: 18px;
  height: 18px;
}

.modal-location-map__label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media (max-width: 1080px) {
  .home-page .hero-panel {
    min-height: 0;
  }

  .home-page .hero-panel__grid,
  .dashboard-page .dashboard-layout--organizer {
    grid-template-columns: 1fr;
  }

  .home-page .hero-copy {
    padding-top: 8px;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .home-page .page-shell,
  .auth-page .page-shell,
  .dashboard-page .page-shell,
  .calendar-page .page-shell,
  .legal-page .page-shell {
    width: min(100vw - 18px, 1328px);
  }

  .home-page .site-bar,
  .auth-page .site-bar,
  .dashboard-page .site-bar,
  .calendar-page .site-bar,
  .legal-page .site-bar {
    padding: 10px 12px;
  }

  .home-page .hero-panel,
  .home-page .events-section,
  .calendar-page .calendar-hero,
  .calendar-page .calendar-board,
  .dashboard-page .dashboard-card,
  .dashboard-page .dashboard-hero,
  .auth-page .simple-auth-card,
  .auth-page .session-card,
  .legal-page .legal-card {
    padding: 20px;
  }

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

  .home-page .search-field__button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-shortcuts {
    gap: 10px;
  }

  .hero-shortcut {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }

  .modal-location-card {
    grid-template-columns: 1fr;
  }
}

/* Final public polish */

body.home-page,
body.auth-page,
body.dashboard-page,
body.calendar-page,
body.legal-page {
  background:
    radial-gradient(circle at top center, rgba(8, 12, 22, 0.24), transparent 34%),
    linear-gradient(180deg, #04070e 0%, #05080d 46%, #04070e 100%);
}

.home-page .search-field {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(104, 126, 177, 0.28);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.home-page .search-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: rgba(17, 27, 48, 0.06);
  color: #5471b6;
}

.home-page .search-field input {
  color: #111c31;
  font-weight: 600;
}

.home-page .search-field input::placeholder {
  color: #7382a5;
}

.home-page .search-field__button {
  min-width: 148px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 28px rgba(45, 98, 202, 0.3);
}

.home-page .events-section {
  margin-top: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.events-section__header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}

.events-section__heading {
  display: grid;
  gap: 8px;
}

.events-section__eyebrow {
  margin: 0;
  color: #6f9fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.events-section__title {
  color: #f4f7ff;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.events-section__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6f9fff;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(111, 159, 255, 0.4);
  padding-bottom: 5px;
}

.home-page .filter-pills {
  gap: 14px;
  margin-bottom: 30px;
}

.home-page .filter-pill {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #919dbc;
  font-weight: 700;
}

.home-page .filter-pill:hover,
.home-page .filter-pill.is-active {
  background: rgba(55, 104, 211, 0.16);
  border-color: rgba(96, 139, 234, 0.44);
  color: #b9d0ff;
}

.calendar-page .filter-pills {
  gap: 14px;
  margin-bottom: 30px;
}

.calendar-page .filter-pill {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #919dbc;
  font-weight: 700;
  box-shadow: none;
}

.calendar-page .filter-pill:hover,
.calendar-page .filter-pill.is-active {
  background: rgba(55, 104, 211, 0.16);
  border-color: rgba(96, 139, 234, 0.44);
  color: #b9d0ff;
}

.home-page .events-grid {
  gap: 28px;
}

.home-page .event-card {
  border-radius: 30px;
  border-color: rgba(108, 128, 177, 0.22);
  background: linear-gradient(180deg, rgba(21, 29, 49, 0.98) 0%, rgba(23, 31, 54, 0.98) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.home-page .event-card:hover,
.home-page .event-card:focus-visible {
  border-color: rgba(96, 139, 234, 0.38);
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.34);
}

.home-page .event-card__media {
  aspect-ratio: 16 / 10;
}

.home-page .event-card__media::after {
  height: 16%;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 18, 33, 0.34) 100%);
}

.event-card__media-bottom {
  display: none;
}

.event-card__media-top {
  inset: 18px 18px auto 18px;
}

.event-card__type {
  background: rgba(43, 84, 181, 0.36);
  border: 1px solid rgba(88, 128, 224, 0.28);
  color: #b7cdfd;
  letter-spacing: 0.04em;
}

.home-page .event-card__content {
  gap: 14px;
  padding: 22px 22px 20px;
}

.event-card__badge {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #a8c4ff;
}

.event-card__badge--soft {
  color: #8897b8;
}

.home-page .event-card__content h2 {
  min-height: 0;
  color: #f5f7ff;
  font-size: clamp(1.5rem, 1.9vw, 1.95rem);
}

.event-card__details {
  gap: 8px;
}

.event-card__detail {
  color: #8f9dba;
  font-size: 1rem;
}

.event-card__detail svg {
  color: #6f9fff;
}

.home-page .event-card__summary {
  min-height: 0;
  color: #a5b1cb;
  font-size: 0.97rem;
  line-height: 1.6;
  -webkit-line-clamp: 2;
}

.event-card__footer {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.event-card__organizer-label {
  max-width: 68%;
  color: #f0f4ff;
  font-size: 1rem;
  font-weight: 700;
}

.event-card__date-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(43, 84, 181, 0.28);
  border: 1px solid rgba(96, 139, 234, 0.24);
  color: #73a1ff;
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
}

.event-card--skeleton {
  background: linear-gradient(180deg, rgba(21, 29, 49, 0.88) 0%, rgba(18, 25, 43, 0.88) 100%);
  border-color: rgba(108, 128, 177, 0.16);
}

.event-card--skeleton .event-card__media,
.event-card--skeleton .event-card__content {
  background: transparent;
}

.skeleton-box {
  background: linear-gradient(90deg, rgba(41, 52, 80, 0.82) 0%, rgba(68, 82, 119, 0.92) 50%, rgba(41, 52, 80, 0.82) 100%);
  background-size: 200% 100%;
}

.home-page .empty-card {
  background: rgba(16, 23, 40, 0.82);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.empty-card__icon {
  background: rgba(79, 142, 247, 0.16);
  color: #8bb4ff;
}

.home-page .empty-card h3 {
  color: #fff;
}

.home-page .empty-card p {
  color: var(--neo-muted);
}

.modal-location-card {
  gap: 14px;
}

.modal-location-map {
  min-height: 40px;
  padding: 0 12px 0 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f3f7ff;
}

.modal-location-map__label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.modal-location-map__icon,
.modal-location-map__icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 760px) {
  .events-section__header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .events-section__link {
    justify-self: start;
  }

  .home-page .search-field {
    padding: 8px;
  }

  .home-page .search-icon {
    width: 44px;
    height: 44px;
  }

  .home-page .filter-pills {
    margin-bottom: 24px;
  }

  .home-page .event-card__media {
    aspect-ratio: 16 / 11;
  }

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

/* Home redesign v2 */

.home-page .page-shell {
  width: min(1440px, calc(100vw - 24px));
  margin-top: 0;
}

.home-page .floating-whatsapp {
  display: none;
}

.site-bar--hero {
  margin-bottom: 0;
  padding: 22px 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-link--wordmark {
  gap: 0;
}

.brand-wordmark {
  color: #f6f8ff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2rem, 2.8vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.brand-wordmark span {
  color: #4f8ef7;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 28px;
}

.site-nav a {
  color: rgba(240, 245, 255, 0.82);
  font-size: 0.98rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: #ffffff;
}

.site-auth-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #f5f7ff;
  cursor: pointer;
}

.site-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.site-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-mobile-menu {
  display: none;
}

.site-auth-link {
  color: rgba(240, 245, 255, 0.9);
  font-size: 0.98rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-auth-link:hover {
  color: #ffffff;
}

.site-button--register {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(28, 89, 214, 0.28);
}

.home-page .hero-panel {
  min-height: 0;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: 18px clamp(18px, 3vw, 40px) 0;
  border: 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #040914 0%, #08101d 42%, #0a1220 100%);
  box-shadow: none;
}

.home-page .hero-panel::before,
.home-page .hero-panel::after {
  display: block;
  border-radius: 0;
}

.home-page .hero-panel::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("./hero/fondoweb.webp") 86% 20% / clamp(1040px, 96vw, 1560px) auto no-repeat;
}

.home-page .hero-panel::after {
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(3, 8, 18, 0.95) 0%, rgba(3, 8, 18, 0.76) 14%, rgba(3, 8, 18, 0.45) 36%, rgba(3, 8, 18, 0.3) 55%, rgba(3, 8, 18, 0.34) 74%, rgba(3, 8, 18, 0.56) 100%),
    linear-gradient(180deg, rgba(4, 9, 18, 0.1) 0%, rgba(4, 9, 18, 0.2) 44%, rgba(4, 9, 18, 0.74) 82%, rgba(4, 9, 18, 0.96) 100%),
    radial-gradient(circle at 66% 18%, rgba(83, 136, 255, 0.22) 0%, rgba(83, 136, 255, 0) 18%),
    radial-gradient(circle at 54% 56%, rgba(198, 77, 255, 0.12) 0%, rgba(198, 77, 255, 0) 18%);
}

.home-page .hero-panel__grid {
  width: min(1320px, calc(100vw - 36px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: start;
  padding: 0 0 28px;
}

.home-page .hero-copy {
  max-width: 760px;
  padding: 28px 0 14px 0;
}

.home-page .hero-copy h1 {
  max-width: 8ch;
  margin-top: 0;
  font-size: clamp(4.2rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.home-page .hero-copy h1 span {
  position: relative;
  display: block;
}

.home-page .hero-copy h1 span::after {
  content: ".";
  color: #2790ff;
}

.home-page .hero-copy h1 span:last-child::after {
  color: #47a4ff;
}

.home-page .hero-lead {
  max-width: 24ch;
  margin-top: 20px;
  font-size: 1.45rem;
  line-height: 1.45;
  color: rgba(236, 242, 255, 0.9);
}

.home-page .hero-discover {
  gap: 20px;
  margin-top: 24px;
}

.home-page .hero-discover__panel {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.3), rgba(6, 12, 24, 0.55));
  backdrop-filter: blur(10px);
}

.home-page .search-shell {
  max-width: 700px;
}

.home-page .search-field {
  min-height: 64px;
  padding: 6px 6px 6px 18px;
  border-radius: 18px;
}

.home-page .search-field__button {
  min-width: 164px;
  min-height: 52px;
  border-radius: 14px;
}

.home-page .hero-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  max-width: 920px;
}

.hero-pillar {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  padding: 16px 12px 14px;
  border: 1px solid rgba(82, 132, 232, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(6, 14, 28, 0.4) 0%, rgba(8, 15, 30, 0.62) 100%);
  color: #f0f5ff;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hero-pillar:hover,
.hero-pillar.is-active {
  transform: translateY(-2px);
  border-color: rgba(96, 149, 255, 0.44);
  background: linear-gradient(180deg, rgba(14, 29, 56, 0.78) 0%, rgba(11, 23, 46, 0.92) 100%);
}

.hero-pillar__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 1px solid rgba(84, 133, 232, 0.4);
  color: #dbe8ff;
  box-shadow: inset 0 0 0 6px rgba(15, 32, 63, 0.36);
}

.hero-pillar__icon svg {
  width: 28px;
  height: 28px;
}

.hero-pillar__icon--img {
  padding: 0;
  overflow: hidden;
  border-color: rgba(84, 133, 232, 0.55);
  box-shadow: inset 0 0 0 0 transparent, 0 0 12px rgba(84, 133, 232, 0.3);
}

.hero-pillar__icon--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}

.hero-pillar__copy {
  display: grid;
  gap: 4px;
}

.hero-pillar__copy strong {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-pillar__copy span {
  color: rgba(218, 227, 247, 0.78);
  font-size: 0.9rem;
  line-height: 1.35;
}

.home-page .discover-panel__controls {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 16px;
  margin-top: 22px;
  max-width: 900px;
}

.home-page .toggle-field {
  min-height: 100%;
}

.home-page .discover-panel__selects {
  min-width: 300px;
}

.home-page .toggle-field,
.home-page .month-field {
  background: rgba(6, 14, 28, 0.62);
  border-color: rgba(255, 255, 255, 0.1);
}

.home-page .toggle-field__summary,
.home-page .month-field span {
  color: rgba(209, 220, 244, 0.78);
}

.home-page .toggle-field__title,
.home-page .month-field .field-label-group span:first-child {
  color: #ffffff;
}

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

.home-page .results-bar {
  margin-bottom: 24px;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 18px;
  }

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

  .home-page .hero-upcoming {
    padding-top: 0;
  }
}

@media (max-width: 900px) {
  .site-bar--hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 16px;
  }

  .brand-link--wordmark {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-nav,
  .site-auth-actions {
    display: none;
  }

  .site-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
  }

  .site-mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 16, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .site-mobile-menu__panel {
    position: absolute;
    top: 74px;
    right: 10px;
    left: 10px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(7, 13, 25, 0.98) 0%, rgba(11, 18, 34, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-mobile-menu.is-open .site-mobile-menu__backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .site-mobile-menu.is-open .site-mobile-menu__panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-mobile-menu__nav {
    display: grid;
    gap: 10px;
  }

  .site-mobile-menu__nav a,
  .site-mobile-menu__nav button {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f5f7ff;
    font-size: 0.98rem;
    font-weight: 700;
    text-align: left;
  }

  .site-mobile-menu__nav button {
    width: 100%;
    cursor: pointer;
  }

  .home-page .hero-copy {
    padding-top: 18px;
  }

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

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

  .home-page .discover-panel__selects {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .site-bar--hero {
    align-items: flex-start;
    min-height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 10px;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .home-page .page-shell {
    width: min(100vw - 18px, 1440px);
  }

  .brand-wordmark {
    font-size: 1.34rem;
    line-height: 1;
    white-space: nowrap;
  }

  .site-auth-actions {
    gap: 8px;
  }

  .site-menu-toggle {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .home-page .hero-panel {
    padding-top: 18px;
  }

  .home-page .hero-panel__grid {
    width: min(100vw - 18px, 1440px);
  }

  .home-page .hero-panel::before {
    height: 100%;
    background: url("./hero/fondoweb.webp") 74% 20% / auto 104% no-repeat;
  }

  .home-page .hero-panel::after {
    inset: 0;
    height: 100%;
    background:
      linear-gradient(180deg, rgba(4, 9, 18, 0.3) 0%, rgba(4, 9, 18, 0.18) 24%, rgba(4, 9, 18, 0.78) 86%, rgba(4, 9, 18, 0.96) 100%),
      linear-gradient(90deg, rgba(3, 8, 18, 0.98) 0%, rgba(3, 8, 18, 0.76) 26%, rgba(3, 8, 18, 0.22) 56%, rgba(3, 8, 18, 0.3) 100%);
  }

  .home-page .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

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

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

  .upcoming-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }
}

/* Home header + login refresh + reminders */

.site-bar--hero {
  position: sticky;
  top: 0;
  z-index: 80;
  margin-inline: calc(50% - 50vw);
  padding: 16px clamp(18px, 3vw, 40px);
  background: rgba(4, 9, 18, 0.84);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-nav {
  gap: clamp(18px, 2vw, 30px);
}

.site-nav a {
  white-space: nowrap;
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3c86ff 0%, #1e66e6 100%);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(30, 102, 230, 0.28);
}

.site-nav__cta:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(30, 102, 230, 0.34);
}

.site-menu-toggle {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page .hero-panel {
  padding-top: 34px;
}

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

.modal-open-link,
.modal-share-toggle,
.modal-reminder-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(116, 146, 214, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: #d5e3ff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.modal-open-link:hover,
.modal-share-toggle:hover,
.modal-reminder-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(116, 146, 214, 0.42);
  background: rgba(37, 75, 151, 0.24);
}

.modal-open-link {
  color: #eef4ff;
}

.modal-share-toggle.is-active {
  border-color: rgba(81, 136, 247, 0.46);
  background: rgba(44, 94, 193, 0.22);
  color: #f2f7ff;
}

.modal-reminder-button.is-active {
  border-color: rgba(81, 136, 247, 0.46);
  background: rgba(44, 94, 193, 0.22);
  color: #f2f7ff;
}

.modal-reminder-button.is-sent {
  border-color: rgba(239, 181, 69, 0.34);
  background: rgba(239, 181, 69, 0.14);
  color: #ffe4a3;
}

.modal-reminder-button.is-loading,
.modal-reminder-button:disabled {
  opacity: 0.8;
  cursor: default;
}

.auth-page--login-redesign .page-shell {
  width: min(1440px, calc(100vw - 24px));
}

.auth-page--login-redesign {
  background:
    radial-gradient(circle at top center, rgba(55, 108, 221, 0.16), transparent 30%),
    linear-gradient(180deg, #05080f 0%, #09111f 48%, #060910 100%);
}

.auth-page--login-redesign .floating-whatsapp {
  display: none;
}

.auth-page--login-redesign .site-bar--auth-modern {
  position: sticky;
  top: 0;
  z-index: 70;
  margin-inline: calc(50% - 50vw);
  margin-bottom: 28px;
  padding: 16px clamp(18px, 3vw, 40px);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: rgba(4, 9, 18, 0.84);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.auth-page--login-redesign .brand-wordmark {
  font-size: clamp(1.72rem, 2.6vw, 2.7rem);
}

.auth-page--login-redesign .site-auth-actions--login {
  gap: 12px;
}

.auth-page--login-redesign .login-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 40px;
}

.auth-page--login-redesign .login-showcase {
  min-width: 0;
}

.auth-page--login-redesign .login-showcase__panel {
  position: relative;
  min-height: 100%;
  padding: 42px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(3, 8, 18, 0.96) 0%, rgba(4, 11, 24, 0.82) 44%, rgba(6, 13, 26, 0.6) 100%),
    url("./demo/fitness-07.jpg?v=login-2026") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.3);
}

.auth-page--login-redesign .login-showcase__panel::after {
  content: "";
  position: absolute;
  inset: auto -12% -24% auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 129, 255, 0.28), transparent 68%);
  pointer-events: none;
}

.auth-page--login-redesign .login-showcase__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #79a8ff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-page--login-redesign .login-showcase h1 {
  position: relative;
  z-index: 1;
  max-width: 8ch;
  margin: 22px 0 0;
  color: #f6f8ff;
  font-size: clamp(3.7rem, 7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.auth-page--login-redesign .login-showcase h1 span {
  display: block;
}

.auth-page--login-redesign .login-showcase h1 span::after {
  content: ".";
  color: #2790ff;
}

.auth-page--login-redesign .login-showcase__lead {
  position: relative;
  z-index: 1;
  max-width: 26ch;
  margin: 22px 0 0;
  color: rgba(238, 244, 255, 0.88);
  font-size: 1.28rem;
  line-height: 1.5;
}

.auth-page--login-redesign .login-showcase__facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.auth-page--login-redesign .login-showcase__fact {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(8, 18, 34, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-page--login-redesign .login-showcase__fact strong {
  color: #f3f7ff;
  font-size: 1rem;
  font-weight: 800;
}

.auth-page--login-redesign .login-showcase__fact span {
  color: rgba(211, 223, 247, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}

.auth-page--login-redesign .login-panel {
  display: grid;
  align-items: stretch;
}

.auth-page--login-redesign .simple-auth-card--login-modern,
.auth-page--login-redesign .session-card--login-modern {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 34px 30px;
  border-radius: 30px;
}

.auth-page--login-redesign .simple-auth-card--login-modern h2,
.auth-page--login-redesign .session-card--login-modern h2 {
  margin: 0;
}

.auth-page--login-redesign .simple-auth-card__lead {
  margin: 0;
  color: rgba(210, 221, 244, 0.78);
}

.auth-page--login-redesign .auth-form {
  gap: 16px;
}

.auth-page--login-redesign .simple-auth-inline-links {
  justify-content: space-between;
  gap: 14px;
}

@media (max-width: 1180px) {
  .auth-page--login-redesign .login-stage {
    grid-template-columns: 1fr;
  }

  .auth-page--login-redesign .login-panel {
    order: -1;
  }

  .auth-page--login-redesign .login-showcase__facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-bar--hero {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media (max-width: 760px) {
  .site-bar--hero {
    margin-inline: calc(50% - 50vw);
    padding-inline: 14px;
  }

  .calendar-page .site-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .calendar-page .brand-link--wordmark {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 56px);
  }

  .calendar-page .site-menu-toggle {
    margin-left: auto;
    flex: none;
  }

  .home-page .hero-panel {
    padding-top: 22px;
  }

  .auth-page--login-redesign .site-bar--auth-modern {
    padding-top: 14px;
  }

  .auth-page--login-redesign .site-auth-actions--login .site-auth-link {
    display: none;
  }

  .auth-page--login-redesign .login-showcase__panel,
  .auth-page--login-redesign .simple-auth-card--login-modern,
  .auth-page--login-redesign .session-card--login-modern {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .auth-page--login-redesign .login-showcase h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .auth-page--login-redesign .login-showcase__lead {
    max-width: none;
    font-size: 1.04rem;
  }

  .auth-page--login-redesign .simple-auth-inline-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Compact vertical cards */

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

.home-page .hero-copy {
  max-width: 820px;
}

.home-page .hero-upcoming {
  grid-column: 1 / -1;
  padding-top: 0;
}

.hero-upcoming__surface {
  gap: 16px;
  padding: 20px;
}

.hero-upcoming__list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.upcoming-card {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
}

.upcoming-card__media {
  aspect-ratio: 9 / 16;
  border-radius: 0;
}

.upcoming-card__body {
  align-content: start;
  gap: 6px;
  padding: 14px 14px 16px;
}

.upcoming-card__type {
  min-height: 26px;
  padding: 0 10px;
  font-size: 0.72rem;
}

.upcoming-card__body h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 1.02rem;
  line-height: 1.15;
}

.upcoming-card__body p {
  font-size: 0.84rem;
  line-height: 1.42;
}

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

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

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

.home-page .event-card__media::after {
  height: 26%;
}

.event-card__media-top {
  inset: 12px 12px auto 12px;
  gap: 6px;
}

.event-card__type,
.event-card__badge,
.event-card__date-pill,
.event-card__organizer-label {
  min-height: 30px;
  padding: 0 10px;
}

.event-card__type,
.event-card__badge {
  font-size: 0.74rem;
}

.home-page .event-card__content {
  gap: 10px;
  padding: 16px 16px 15px;
}

.home-page .event-card__badges {
  gap: 6px;
}

.home-page .event-card__content h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: clamp(1.08rem, 1.3vw, 1.3rem);
  line-height: 1.15;
}

.event-card__details {
  gap: 6px;
}

.event-card__detail {
  font-size: 0.88rem;
}

.home-page .event-card__summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.85rem;
  line-height: 1.45;
}

.event-card__footer {
  align-items: center;
  gap: 10px;
}

.event-card__organizer-label {
  max-width: 58%;
  padding: 0;
  min-height: 0;
  font-size: 0.84rem;
  line-height: 1.3;
}

.event-card__date-pill {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.8rem;
}

@media (max-width: 1280px) {
  .hero-upcoming__list,
  .home-page .events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-upcoming__list,
  .home-page .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero-upcoming__list,
  .home-page .events-grid {
    grid-template-columns: 1fr;
  }

  .home-page .event-card {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: none;
    align-items: stretch;
    border-radius: 22px;
  }

  .home-page .event-card__media {
    height: 100%;
    min-height: 156px;
    aspect-ratio: auto;
  }

  .home-page .event-card__media::after {
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 9, 18, 0.44) 100%);
  }

  .event-card__media-top {
    inset: 8px 8px auto 8px;
    gap: 4px;
  }

  .event-card__media-top .event-card__type:nth-child(n + 3) {
    display: none;
  }

  .event-card__type,
  .event-card__badge,
  .event-card__date-pill,
  .event-card__organizer-label {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.66rem;
  }

  .home-page .event-card__content {
    gap: 8px;
    padding: 12px 12px 12px 14px;
  }

  .home-page .event-card__badges {
    gap: 5px;
  }

  .home-page .event-card__badges .event-card__badge--soft {
    display: none;
  }

  .home-page .event-card__content h2 {
    min-height: 0;
    font-size: 1rem;
    line-height: 1.08;
    -webkit-line-clamp: 2;
  }

  .event-card__details {
    gap: 5px;
  }

  .event-card__detail {
    gap: 8px;
    font-size: 0.76rem;
    line-height: 1.28;
  }

  .event-card__detail span {
    -webkit-line-clamp: 1;
  }

  .home-page .event-card__summary {
    display: none;
  }

  .event-card__footer {
    gap: 8px;
    padding-top: 0;
    border-top: 0;
  }

  .event-card__organizer-label {
    max-width: 58%;
    min-height: 0;
    padding: 0;
    font-size: 0.72rem;
  }

  .event-card__date-pill {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.68rem;
    border-radius: 10px;
  }
}

@media (max-width: 420px) {
  .home-page .event-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .home-page .event-card__media {
    min-height: 148px;
  }

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

  .home-page .event-card__content h2 {
    font-size: 0.94rem;
  }

  .event-card__detail {
    font-size: 0.72rem;
  }

  .event-card__organizer-label {
    font-size: 0.68rem;
  }
}

.auth-page .simple-auth-card h1,
.auth-page .session-card h1,
.dashboard-page .review-layout .dashboard-card h1 {
  margin: 0;
  color: var(--neo-text);
  font-size: 1.6rem;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.auth-page--recovery .simple-auth-hero {
  background:
    linear-gradient(180deg, rgba(10, 14, 26, 0.96) 0%, rgba(13, 18, 32, 0.98) 100%),
    radial-gradient(circle at top right, rgba(79, 142, 247, 0.14), transparent 32%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: var(--neo-shadow) !important;
}

.auth-page--recovery .simple-auth-hero::before {
  display: none;
}

.auth-page--recovery .simple-auth-hero .page-kicker {
  color: #9fc0ff !important;
}

.auth-page--recovery .simple-auth-hero h1,
.auth-page--recovery .simple-auth-hero p {
  color: #f4f7ff !important;
}

.dashboard-page--review .review-layout .dashboard-card {
  background:
    linear-gradient(180deg, rgba(10, 14, 26, 0.96) 0%, rgba(13, 18, 32, 0.98) 100%),
    radial-gradient(circle at top right, rgba(79, 142, 247, 0.12), transparent 28%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: var(--neo-shadow) !important;
}

.dashboard-page--review .review-layout .dashboard-card h1,
.dashboard-page--review .review-layout .dashboard-card h2,
.dashboard-page--review .review-layout .dashboard-card strong {
  color: var(--neo-text) !important;
}

.dashboard-page--review .review-layout .dashboard-card p,
.dashboard-page--review .review-layout .dashboard-card .auth-feedback {
  color: var(--neo-muted);
}

.event-page .event-page-card .event-modal__body {
  background: transparent;
}

.event-page .event-page-card .event-modal__media img {
  display: block;
  width: 100%;
}

/* Home premium showcase */

.home-page .hero-panel__grid {
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.home-page .hero-copy {
  max-width: 1120px;
}

.home-page .hero-discover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 492px);
  gap: 20px 28px;
  align-items: start;
  max-width: none;
}

.home-page .hero-discover__panel,
.home-page .discover-panel__controls {
  grid-column: 1;
}

.home-page .hero-premium {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  align-self: start;
  min-width: 0;
}

.home-page .hero-premium__surface {
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(10, 16, 29, 0.94) 0%, rgba(11, 18, 34, 0.96) 100%),
    radial-gradient(circle at top right, rgba(78, 141, 247, 0.16), transparent 42%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.28);
}

.home-page .hero-premium__header {
  justify-content: flex-start;
}

.hero-premium__header-copy {
  display: grid;
  gap: 4px;
}

.hero-premium__title {
  color: #f5f8ff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-page .hero-premium__feature {
  display: grid;
  grid-template-columns: minmax(146px, 176px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.home-page .hero-premium__media {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  aspect-ratio: 3 / 3.92;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  justify-self: start;
  align-self: start;
}

.home-page .hero-premium__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 8, 17, 0.08) 54%, rgba(4, 8, 17, 0.34) 100%);
}

.home-page .hero-premium__content {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 0;
  align-content: start;
}

.hero-premium__kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(89, 148, 255, 0.14);
  border: 1px solid rgba(89, 148, 255, 0.2);
  color: #9ac0ff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-page .hero-premium__content h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.06rem, 1.45vw, 1.24rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.home-page .hero-premium__meta {
  color: rgba(218, 228, 248, 0.78);
  font-size: 0.84rem;
  line-height: 1.45;
}

.hero-premium__summary {
  margin: 0;
  color: rgba(226, 234, 249, 0.84);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 0.79rem;
  line-height: 1.5;
}

.home-page .hero-premium__actions {
  margin-top: 2px;
}

.home-page .hero-premium__button {
  min-height: 38px;
  padding-inline: 15px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(28, 89, 214, 0.2);
  font-size: 0.9rem;
}

.home-page .hero-premium__rail {
  display: block;
  min-width: 0;
  margin-top: 2px;
}

.home-page .hero-premium__thumbs {
  display: flex;
  gap: 10px;
  min-width: 0;
  padding-bottom: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(85, 123, 196, 0.44) transparent;
  scroll-snap-type: x proximity;
}

.home-page .hero-premium__thumb {
  flex: 0 0 248px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 14px;
  background: rgba(17, 24, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f2f6ff;
  text-align: left;
  box-shadow: none;
  scroll-snap-align: start;
}

.home-page .hero-premium__thumb:hover {
  transform: translateY(-1px);
  background: rgba(20, 29, 50, 0.98);
}

.home-page .hero-premium__thumb.is-active {
  background: linear-gradient(180deg, rgba(20, 41, 82, 0.96) 0%, rgba(17, 30, 58, 0.98) 100%);
  border-color: rgba(92, 143, 234, 0.34);
  box-shadow: 0 18px 28px rgba(10, 24, 53, 0.3);
}

.hero-premium__thumb-date {
  display: grid;
  place-items: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 6px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

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

.hero-premium__thumb-copy strong {
  color: #f5f8ff;
  font-size: 0.86rem;
  line-height: 1.18;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-premium__thumb-copy span {
  color: rgba(196, 210, 238, 0.72);
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-page .hero-premium__thumb--placeholder {
  min-height: 94px;
  border-radius: 18px;
  background: rgba(17, 24, 42, 0.8);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: rgba(203, 215, 239, 0.72);
}

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

  .home-page .hero-discover__panel,
  .home-page .discover-panel__controls,
  .home-page .hero-premium {
    grid-column: auto;
  }

  .home-page .hero-premium {
    grid-row: auto;
    max-width: none;
  }
}

@media (max-width: 820px) {
  .home-page .hero-premium__feature {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
  }

  .home-page .hero-premium__media {
    aspect-ratio: 3 / 4;
  }

  .home-page .hero-premium__thumbs {
    gap: 8px;
  }

  .home-page .hero-premium__thumb {
    flex-basis: 228px;
  }

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

  .hero-premium__summary {
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 560px) {
  .home-page .hero-premium__surface {
    padding: 14px;
    border-radius: 20px;
  }

  .home-page .hero-premium__thumbs {
    gap: 6px;
    padding-bottom: 2px;
  }

  .home-page .hero-premium__thumb {
    flex-basis: 176px;
    gap: 8px;
    padding: 8px 9px;
    border-radius: 12px;
  }

  .hero-premium__thumb-date {
    min-width: 36px;
    min-height: 36px;
    padding-inline: 4px;
    border-radius: 10px;
    font-size: 0.62rem;
    line-height: 1.02;
  }

  .hero-premium__thumb-copy {
    gap: 2px;
  }

  .hero-premium__thumb-copy strong {
    font-size: 0.76rem;
    line-height: 1.14;
    -webkit-line-clamp: 1;
  }

  .hero-premium__thumb-copy span {
    font-size: 0.64rem;
    line-height: 1.18;
  }

  .hero-premium__thumb-copy span:last-child {
    display: none;
  }

  .home-page .hero-premium__feature {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 10px;
  }

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

  .home-page .hero-premium__meta {
    font-size: 0.76rem;
  }

  .hero-premium__summary {
    font-size: 0.74rem;
  }
}

@media (max-width: 420px) {
  .home-page .hero-premium__thumb {
    flex-basis: 164px;
    padding: 8px;
  }

  .hero-premium__thumb-date {
    min-width: 34px;
    min-height: 34px;
    font-size: 0.58rem;
  }

  .hero-premium__thumb-copy strong {
    font-size: 0.72rem;
  }

  .hero-premium__thumb-copy span:first-of-type {
    display: none;
  }
}

.eventos-modal__backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 22, 50, 0.55);
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.eventos-modal__backdrop--ready {
  opacity: 1;
}

.eventos-modal__backdrop--leaving {
  opacity: 0;
  pointer-events: none;
}

.eventos-modal {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 26px 22px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(15, 22, 50, 0.28);
  color: #1a2445;
}

.eventos-modal__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

.eventos-modal__message {
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #3f4a70;
}

.eventos-modal__field {
  display: block;
  margin: 0 0 20px;
}

.eventos-modal__field > span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a2445;
}

.eventos-modal__field input,
.eventos-modal__field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #c9cfe1;
  border-radius: 10px;
  font-size: 0.98rem;
  font-family: inherit;
  color: #1a2445;
  background: #fafbff;
}

.eventos-modal__field input:focus,
.eventos-modal__field textarea:focus {
  outline: none;
  border-color: #1638ab;
  box-shadow: 0 0 0 3px rgba(22, 56, 171, 0.18);
}

.eventos-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.eventos-modal__actions .site-button {
  min-width: 110px;
}

.site-button--danger {
  background: #c43d3d;
  color: #ffffff;
}

.site-button--danger:hover {
  background: #a83131;
}

@media (max-width: 480px) {
  .eventos-modal {
    padding: 22px 20px 18px;
    border-radius: 16px;
  }

  .eventos-modal__actions {
    justify-content: stretch;
  }

  .eventos-modal__actions .site-button {
    flex: 1 1 auto;
  }
}
