:root {
  --navy: #06152f;
  --navy-2: #0a1f44;
  --navy-3: #102b5c;
  --blue: #2f55ff;
  --blue-2: #4c6fff;
  --ink: #0b1733;
  --muted: #61708f;
  --line: #e3e8f2;
  --soft: #f5f7fb;
  --surface: #ffffff;
  --green: #1fa971;
  --green-soft: #e6f7ef;
  --yellow: #f2b63f;
  --yellow-soft: #fff3d6;
  --danger: #c24141;
  --shadow: 0 18px 44px rgba(9, 25, 58, 0.12);
  --shadow-soft: 0 8px 22px rgba(9, 25, 58, 0.08);
  --radius: 8px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f8fafc;
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

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

.icon-svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 12px 24px rgba(47, 85, 255, 0.28);
}

.btn.dark {
  background: var(--navy);
  color: #fff;
}

.btn.soft {
  background: #eef3ff;
  color: var(--blue);
}

.btn.danger {
  background: #feecec;
  color: var(--danger);
}

.btn.ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.btn.small {
  min-height: 38px;
  padding: 0 16px;
}

.btn.wide {
  width: 100%;
}

.link-button,
.text-link {
  font-weight: 700;
  color: var(--ink);
}

.text-link {
  color: var(--blue);
  margin-bottom: 14px;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
}

.icon-button:hover {
  background: #eef3ff;
  color: var(--blue);
}

.icon-button.danger:hover {
  background: #feecec;
  color: var(--danger);
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 238px;
  max-width: 100%;
  height: 54px;
}

.logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.logo.light {
  width: 216px;
  height: 50px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.logo.mock {
  width: 82px;
  height: 34px;
  margin-bottom: 2px;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.mobile-logo-img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.loading-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background: var(--soft);
}

.loading-screen p,
.empty {
  color: var(--muted);
}

.marketing-shell {
  min-height: 100vh;
  background: #fff;
}

.site-header {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
}

.hero-section {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr);
  gap: 42px;
  align-items: center;
  padding: 64px 7% 70px;
  background:
    linear-gradient(135deg, rgba(6, 21, 47, 0.96), rgba(5, 16, 35, 0.99)),
    #06152f;
  color: #fff;
}

.hero-copy h1 {
  max-width: 640px;
  margin: 0 0 20px;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy h1 span {
  display: block;
  color: #5878ff;
}

.hero-copy p {
  max-width: 560px;
  margin: 0 0 28px;
  color: #c6d1e5;
  font-size: 20px;
  line-height: 1.55;
}

.hero-form {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: 1fr 150px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.hero-form input {
  min-width: 0;
  height: 58px;
  border: 0;
  padding: 0 20px;
  color: var(--ink);
  outline: none;
}

.hero-form .btn {
  border-radius: 0;
  min-height: 58px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-top: 20px;
  color: #b9c6df;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points .icon-svg {
  width: 16px;
  color: #93adff;
}

.hero-product {
  min-width: 0;
}

.mock-window {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.mock-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.08);
}

.mock-bar span {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: #ff6961;
}

.mock-bar span:nth-child(2) {
  background: #ffd166;
}

.mock-bar span:nth-child(3) {
  background: #69db7c;
}

.mock-layout {
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 330px;
}

.mock-layout aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 14px;
  background: rgba(3, 12, 28, 0.42);
  color: #d9e3f7;
  font-size: 13px;
}

.mock-layout aside b,
.mock-layout aside span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}

.mock-layout aside b {
  padding: 0 10px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}

.mock-layout main {
  padding: 26px 18px;
  background: rgba(244, 248, 255, 0.12);
}

.mock-layout h2 {
  margin: 0 0 18px;
  font-size: 18px;
}

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

.mock-events article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.mock-events h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}

.mock-events p,
.mock-events small {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.mock-events button {
  margin-top: auto;
  min-height: 34px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.event-logo {
  width: 128px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--event-bg);
  color: var(--event-ink);
  border: 1px solid rgba(12, 27, 57, 0.12);
  box-shadow: inset 0 -5px 0 var(--event-accent);
  overflow: hidden;
}

.event-logo.compact {
  width: 68px;
  height: 48px;
}

.event-logo span {
  max-width: 100%;
  padding: 0 8px;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  line-height: 1.05;
}

.event-logo.compact span {
  font-size: 13px;
}

.value-strip {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 36px;
  align-items: center;
  padding: 44px 7%;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.value-strip h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.18;
}

.value-strip article {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 18px;
  align-items: center;
}

.value-strip article span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef3ff;
  color: var(--blue);
  grid-row: span 2;
}

.value-strip b,
.value-strip p {
  margin: 0;
}

.value-strip p {
  color: #405174;
  line-height: 1.45;
}

.public-events,
.pricing-band {
  padding: 64px 7%;
  background: #fbfdff;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading span,
.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.event-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.event-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.event-card h3 {
  margin: 0;
  font-size: 18px;
}

.event-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.public-event-link {
  color: inherit;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.public-event-link:hover {
  border-color: #c9d5f0;
  transform: translateY(-1px);
}

.public-events-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.event-meta,
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.card-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.badge.success {
  background: var(--green-soft);
  color: var(--green);
}

.badge.warning {
  background: var(--yellow-soft);
  color: #9a6500;
}

.badge.danger {
  background: #feecec;
  color: var(--danger);
}

.public-page-shell {
  background: #f8fafc;
}

.public-event-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
  padding: 76px 7%;
  background:
    linear-gradient(135deg, rgba(238, 243, 255, 0.92), rgba(255, 255, 255, 0.98) 44%),
    #fff;
  border-bottom: 1px solid var(--line);
}

.public-event-hero.directory {
  grid-template-columns: minmax(0, 860px);
}

.public-event-hero h1 {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: 48px;
  line-height: 1.06;
}

.public-event-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

.public-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.public-event-summary {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.public-event-logo {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 8px;
  background: var(--event-color);
  color: var(--event-accent);
  border: 1px solid rgba(9, 25, 58, 0.08);
}

.public-event-logo span {
  color: inherit;
  font-weight: 900;
  font-size: 24px;
  text-align: center;
}

.public-event-summary dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.public-event-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.public-event-summary dt {
  color: var(--muted);
  font-weight: 700;
}

.public-event-summary dd {
  margin: 0;
  text-align: right;
  font-weight: 900;
}

.public-event-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  padding: 64px 7%;
  background: #fff;
}

.public-event-content h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.15;
}

.public-event-content p {
  max-width: 820px;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
}

.public-feature-list {
  display: grid;
  gap: 14px;
}

.public-feature-list article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.public-feature-list strong {
  color: var(--ink);
}

.public-feature-list span {
  color: var(--muted);
  line-height: 1.5;
}

.public-event-directory,
.related-events {
  background: #f8fafc;
}

.pricing-panel {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 34px 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.pricing-panel h2 {
  margin: 0 0 12px;
  font-size: 48px;
}

.pricing-panel h2 small,
.price small {
  font-size: 18px;
  color: var(--muted);
}

.tax-note {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
}

.pricing-panel ul,
.billing-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #405174;
}

.pricing-panel li,
.billing-card li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-panel p {
  text-align: center;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 7%;
  color: #52617f;
  font-size: 14px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(6, 21, 47, 0.62);
}

.auth-modal {
  width: min(440px, 100%);
  position: relative;
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.auth-modal h2 {
  margin: 28px 0 8px;
  font-size: 28px;
}

.auth-modal p {
  color: var(--muted);
  line-height: 1.5;
}

.auth-form,
.profile-form {
  display: grid;
  gap: 14px;
}

.form-section {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.form-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.form-section h2 {
  margin: 0;
  font-size: 18px;
}

.full-span {
  grid-column: 1 / -1;
}

.auth-form label,
.profile-form label {
  display: grid;
  gap: 7px;
  color: #33415f;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 85, 255, 0.12);
}

.auth-switch,
.fine-print {
  text-align: center;
  font-size: 14px;
}

.auth-switch button {
  color: var(--blue);
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.legal-page {
  width: min(780px, calc(100% - 44px));
  margin: 64px auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.legal-page h1 {
  margin: 18px 0;
  font-size: 36px;
}

.legal-page h2 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.legal-logo {
  display: block;
  width: 240px;
  max-width: 100%;
  height: 54px;
}

.legal-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.legal-page p {
  color: #405174;
  line-height: 1.7;
}

.legal-page a {
  color: var(--blue);
  font-weight: 800;
}

.legal-page ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 22px;
  color: #405174;
  line-height: 1.6;
}

.legal-meta {
  margin: 22px 0 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
}

.opt-out-page .eyebrow {
  display: inline-block;
  margin-top: 18px;
}

.opt-out-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.opt-out-form label {
  display: grid;
  gap: 7px;
  color: #33415f;
  font-weight: 700;
}

.opt-out-form .btn {
  width: max-content;
  min-width: 220px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  font-weight: 700;
}

.form-message.success {
  color: var(--green);
}

.form-message.error {
  color: var(--danger);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-weight: 800;
}

.product-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 278px 1fr;
  background: #f8fafc;
}

.sidebar {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 22px;
  background:
    linear-gradient(180deg, rgba(9, 28, 61, 0.98), rgba(3, 13, 29, 1)),
    var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
}

.side-nav {
  display: grid;
  gap: 10px;
}

.side-nav button {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-radius: 8px;
  color: #d5def1;
  font-weight: 700;
}

.side-nav button.active,
.side-nav button:hover {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
}

.plan-summary {
  margin-top: auto;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.plan-summary span,
.support-note span {
  color: #c7d3e8;
}

.plan-summary strong {
  font-size: 30px;
}

.plan-summary small {
  font-size: 15px;
  color: #c7d3e8;
}

.plan-summary p {
  margin: 0;
  color: #c7d3e8;
  line-height: 1.45;
}

.support-note {
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.workspace {
  min-width: 0;
}

.topbar {
  height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mobile-menu {
  display: none;
}

.help-button {
  width: 32px;
  height: 32px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-weight: 900;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-chip span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.workspace-content {
  padding: 38px 44px 46px;
}

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.page-heading h1 {
  margin: 0 0 8px;
  font-size: 30px;
}

.page-heading p {
  margin: 0;
  color: var(--muted);
}

.heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.stat-card {
  min-height: 122px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.stat-card > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef3ff;
  color: var(--blue);
}

.stat-card:nth-child(2) > span {
  background: var(--green-soft);
  color: var(--green);
}

.stat-card:nth-child(4) > span {
  background: var(--yellow-soft);
  color: #a46900;
}

.stat-card p,
.stat-card small {
  margin: 0;
  color: var(--muted);
}

.stat-card strong {
  display: block;
  margin: 4px 0;
  font-size: 26px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.95fr);
  gap: 22px;
}

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

.panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.panel-title {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.panel-title h2 {
  margin: 0;
  font-size: 18px;
}

.panel-title p {
  margin: 0;
  color: var(--muted);
}

.panel-title button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 800;
}

.event-list {
  display: grid;
}

.event-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 120px 108px;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.event-row:last-child {
  border-bottom: 0;
}

.event-row h3,
.download-row h3,
.saved-row h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.event-row p,
.download-row p,
.saved-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.event-row strong {
  font-size: 15px;
}

.event-row strong span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.download-row,
.saved-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.download-row:last-child,
.saved-row:last-child {
  border-bottom: 0;
}

.download-row > span,
.saved-row > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
}

.saved-row > span {
  background: #eef3ff;
  color: var(--blue);
}

.action-band {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 22px;
  padding: 24px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.action-band > div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.action-band > div > .icon-svg {
  width: 54px;
  height: 54px;
  color: var(--blue);
}

.action-band h2,
.action-band p {
  margin: 0;
}

.action-band p {
  margin-top: 6px;
  color: var(--muted);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.search-field {
  position: relative;
}

.search-field .icon-svg {
  position: absolute;
  left: 12px;
  top: 13px;
  color: var(--muted);
}

.search-field input {
  padding-left: 40px;
}

.filter-panel strong {
  color: var(--blue);
  white-space: nowrap;
}

.filter-toggle {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #33415f;
  font-weight: 800;
}

.filter-toggle input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

.preview-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid #d8e2ff;
  border-radius: 8px;
  background: #f6f8ff;
}

.preview-notice > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preview-notice .icon-svg {
  color: var(--blue);
}

.preview-notice p {
  margin: 0;
}

.preview-notice strong,
.preview-notice span {
  display: block;
}

.preview-notice span {
  margin-top: 3px;
  color: var(--muted);
}

.table-panel {
  padding: 0;
  overflow: hidden;
}

.table-panel .panel-title {
  margin: 0;
  padding: 20px 22px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.lead-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.lead-table th,
.lead-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.lead-table th {
  color: #52617f;
  font-size: 12px;
  text-transform: uppercase;
}

.lead-table td {
  color: #263654;
}

.lead-table td strong,
.lead-table td span {
  display: block;
}

.lead-table td span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.lead-table .locked {
  display: inline-block;
  color: #9a6500;
  font-weight: 800;
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}

.pagination-bar span {
  color: var(--muted);
  font-weight: 800;
}

.event-hero {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-bottom: 24px;
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.event-hero h1 {
  margin: 0 0 10px;
  font-size: 34px;
}

.event-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.event-facts span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}

.billing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 22px;
}

.billing-card {
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.billing-card h2 {
  margin: 0 0 8px;
  font-size: 34px;
}

.price {
  margin: 0 0 22px;
  font-size: 44px;
  font-weight: 900;
}

.billing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.detail-panel h2 {
  margin-top: 0;
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.detail-row span,
.compliance-copy {
  color: var(--muted);
}

.compliance-copy {
  line-height: 1.55;
}

.settings-panel {
  max-width: 760px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 22px;
  margin-bottom: 22px;
}

.admin-grid .large {
  grid-column: 1 / -1;
}

.admin-quality {
  display: grid;
  gap: 15px;
}

.admin-quality div {
  display: grid;
  gap: 7px;
}

.admin-quality span,
.admin-quality small,
.admin-count-list span,
.admin-table span,
.admin-activity-list p {
  color: var(--muted);
}

.admin-quality strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.admin-quality i {
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--blue) var(--value), #edf2fb var(--value)),
    #edf2fb;
}

.admin-count-list {
  display: grid;
  gap: 12px;
}

.admin-count-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-count-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-table.users {
  min-width: 1040px;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #52617f;
  font-size: 12px;
  text-transform: uppercase;
}

.admin-table td strong,
.admin-table td span {
  display: block;
}

.admin-table td span {
  margin-top: 4px;
  font-size: 13px;
}

.admin-activity-list {
  display: grid;
}

.admin-activity-list article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.admin-activity-list article:last-child {
  border-bottom: 0;
}

.admin-activity-list article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef3ff;
  color: var(--blue);
}

.admin-activity-list h3,
.admin-activity-list p {
  margin: 0;
}

.admin-activity-list p {
  margin-top: 5px;
  font-size: 13px;
}

.admin-users-panel {
  padding-bottom: 0;
}

.admin-search {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.profile-form button {
  grid-column: 1 / -1;
  width: max-content;
}

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

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

  .event-card-grid,
  .event-card-grid.product,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid,
  .billing-layout,
  .admin-grid,
  .public-event-hero,
  .public-event-content {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .site-header {
    height: auto;
    padding: 18px 22px;
    align-items: flex-start;
    gap: 18px;
  }

  .site-header,
  .site-header nav,
  .site-footer {
    flex-direction: column;
  }

  .site-header nav,
  .site-footer nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-section,
  .public-events,
  .pricing-band,
  .public-event-hero,
  .public-event-content {
    padding: 38px 22px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .hero-form {
    grid-template-columns: 1fr;
  }

  .value-strip {
    grid-template-columns: 1fr;
    padding: 34px 22px;
  }

  .pricing-panel {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .product-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
    position: static;
  }

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

  .plan-summary,
  .support-note {
    display: none;
  }

  .topbar {
    padding: 0 16px;
  }

  .workspace-content {
    padding: 26px 18px 36px;
  }

  .page-heading,
  .action-band,
  .preview-notice,
  .event-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-row {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .event-row .btn,
  .event-row strong {
    grid-column: 2;
  }

  .event-card-grid,
  .event-card-grid.product,
  .stats-grid,
  .filter-panel,
  .admin-search,
  .profile-form {
    grid-template-columns: 1fr;
  }

  .opt-out-form .btn {
    width: 100%;
  }

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

  .public-event-hero h1 {
    font-size: 38px;
  }

  .public-event-summary dl div {
    display: grid;
    gap: 4px;
  }

  .public-event-summary dd {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .logo {
    width: 196px;
    height: 44px;
  }

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

  .mock-layout aside {
    display: none;
  }

  .mock-events {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .section-heading h2,
  .event-hero h1,
  .public-event-hero h1,
  .public-event-content h2 {
    font-size: 28px;
  }

  .pricing-panel h2,
  .price {
    font-size: 36px;
  }

  .side-nav {
    grid-template-columns: 1fr;
  }

  .topbar {
    grid-template-columns: 1fr auto auto;
  }

  .topbar .mobile-menu,
  .help-button {
    display: none;
  }
}
