:root {
  --bg: #f3f6fb;
  --background-neutral-base: #f4f6fa;
  --surface: #ffffff;
  --surface-muted: #edf1f7;
  --text: #20232b;
  --muted: #505c6c;
  --border: #d7deea;
  --blue: #465cf6;
  --blue-700: #2534c7;
  --green: #0b8f4a;
  --red: #f0322f;
  --footer: #2e25a2;
  --shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  color-scheme: light;
  font-family: "Inter", Arial, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; font-family: "Inter", Arial, "Helvetica Neue", sans-serif; }
button { cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid #7c8cff; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 84px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.brand, .login-logo {
  display: flex;
  align-items: center;
  min-width: 188px;
}
.brand-logo-img {
  display: block;
  width: 188px;
  height: 36px;
  object-fit: contain;
}
.login-logo .brand-logo-img {
  width: 188px;
  height: 36px;
}

.topbar nav { display: flex; gap: 8px; flex: 1; }
.topbar nav a {
  padding: 12px 18px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 15px;
}
.topbar nav a.active { color: #2534c7; background: #dfe4ff; }
.icon-btn, .round-btn, .circle, .icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: #f7f9fd;
  color: var(--blue);
}
.notification { width: 36px; height: 36px; border: 0; color: #263044; }
.user-menu { border: 0; border-left: 1px solid var(--border); background: transparent; padding: 0 0 0 18px; text-align: left; min-width: 130px; }
.user-menu span { display: block; color: var(--muted); font-size: 12px; }
.user-menu strong { display: block; font-size: 14px; }

.workspace { min-height: calc(100vh - 68px); padding: 36px 80px 56px; }
.figma-frame { max-width: 1280px; margin: 0 auto; }
.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: 31px; line-height: 1.1; margin: 0; }
.page-head p { margin: 8px 0 0; color: var(--muted); }
.split { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  font-weight: 700;
  font-size: 14px;
}
.primary { color: #fff; background: var(--blue); transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  box-shadow: 0 4px 12px rgba(37, 52, 199, 0.24);
  transform: translateY(-1px);
}
.primary:disabled,
.secondary:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.secondary { color: var(--blue); background: #fff; transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease, transform .15s ease; }
.secondary:hover {
  color: var(--blue-700);
  background: #eef2ff;
  border-color: var(--blue-700);
  box-shadow: 0 4px 12px rgba(70, 92, 246, 0.16);
  transform: translateY(-1px);
}
.danger-secondary {
  color: var(--red);
  border-color: var(--red);
  background: #fff;
}
.danger-secondary:hover {
  color: #b42318;
  border-color: #b42318;
  background: #fff0ef;
  box-shadow: 0 4px 12px rgba(240, 50, 47, 0.16);
}
.primary:active,
.secondary:active {
  transform: translateY(0);
  box-shadow: none;
}
.full { width: 100%; border-radius: 5px; min-height: 44px; }
.add { margin-left: auto; }

.list-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}
.search-field {
  display: flex;
  width: 455px;
  height: 38px;
  background: #fff;
  border: 1px solid #7c8798;
  border-radius: 6px;
  overflow: hidden;
}
.search-field input { flex: 1; border: 0; padding: 0 14px; min-width: 0; }
.search-field button {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  min-height: 30px;
  margin: 3px 4px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
}
.search-field button svg { width: 18px; height: 18px; }
.round-btn { width: 34px; height: 34px; border-radius: 50%; color: #3f4858; }
.round-btn svg {
  width: 17px;
  height: 17px;
}
.round-btn.is-disabled {
  opacity: .45;
  cursor: not-allowed;
  background: #f3f6fa;
}
.round-btn.is-applied {
  color: var(--blue);
  background: #fff;
  border-color: var(--blue);
}
.round-btn.active,
.round-btn[aria-pressed="true"],
.round-btn[aria-expanded="true"] {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.event-list { display: grid; gap: 16px; }
.event-row {
  position: relative;
  min-height: 106px;
  background: #fff;
  border-radius: 7px;
  padding: 19px 112px 17px 18px;
}
.event-title { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.event-title > div {
  display: grid;
  gap: 7px;
}
.event-title strong { font-size: 18px; line-height: 1.2; }
.event-date-range {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #51607a;
  font-size: 13px;
  font-weight: 700;
}
.event-date-range svg {
  width: 16px;
  height: 16px;
}
.event-meta { display: flex; align-items: center; gap: 30px; color: #20232b; }
.event-meta span { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.event-meta svg { color: #333d4f; }
.combo-icon {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-block;
  flex: 0 0 22px;
}
.combo-icon svg:first-child {
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
}
.combo-icon svg:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  padding: 1px;
  border-radius: 50%;
  background: #fff;
  color: #333d4f;
}
.event-meta .meta-stack {
  display: grid;
  gap: 2px;
  line-height: 1.15;
}
.event-meta .meta-stack strong {
  color: #5f6b7f;
  font-size: 11px;
  font-weight: 700;
}
.editor-save-status {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef8f1;
  color: #0a7a3b;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid transparent;
}
.editor-save-status.is-unsaved {
  background: #fff7e8;
  color: #8a5a00;
  border-color: #f2cf88;
}
.editor-save-status.is-saved {
  background: #e8f7ee;
  color: #08733a;
  border-color: #9fd8b5;
}
.row-actions {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 10px;
}
.circle, .icon-link { width: 30px; height: 30px; border-radius: 50%; background: #fff; border-color: var(--blue); }
.circle svg, .icon-link svg { width: 16px; height: 16px; }
.danger { color: var(--red); border-color: var(--red); }

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid currentColor;
  color: var(--blue);
  background: #f4f6ff;
}
.pill.publikált, .pill.admin, .pill.superadmin { color: var(--green); background: #e9fff2; }
.pill.lezárt, .pill.megtekintő { color: #6c7584; background: #eef2f6; }
.pill.lemondott, .pill.lemondta { color: var(--red); background: #fff0ef; }
.pill.rendezvényszerkesztő { color: var(--blue); background: #f4f6ff; }

.pill.publikalt,
.pill.admin,
.pill.superadmin,
.pill.regisztralt,
.pill.importalhato {
  color: #0a7a3b;
  background: #eef8f1;
  border-color: #73b78a;
}
.pill.lezart,
.pill.megtekinto,
.pill.nincs-meghivva,
.pill.nem-regisztralt,
.pill.lezajlott {
  color: #4f5d73;
  background: #f4f6fa;
  border-color: #a8b2c1;
}
.pill.most-zajlik {
  color: #1849a9;
  background: #eef4ff;
  border-color: #8bb7ff;
}
.pill.regisztracio-lezarult {
  color: #8a4b00;
  background: #fff7e6;
  border-color: #e4a84f;
}
.pill.lemondott,
.pill.lemondta {
  color: var(--red);
  background: #fff0ef;
  border-color: #e28a82;
}
.pill.meghivva,
.pill.rendezvenyszerkeszto {
  color: var(--blue);
  background: #eef2ff;
  border-color: #8696f5;
}

/* ── Pill icon prefix — szín-vak hozzáférhetőség (WCAG 1.4.1) ── */
.pill::before { content: "○\00A0"; }
.pill.publikalt::before,
.pill.admin::before,
.pill.superadmin::before,
.pill.regisztralt::before,
.pill.importalhato::before { content: "✓\00A0"; }
.pill.lezart::before,
.pill.megtekinto::before,
.pill.nincs-meghivva::before,
.pill.nem-regisztralt::before { content: "—\00A0"; }
.pill.lemondott::before,
.pill.lemondta::before { content: "✕\00A0"; }
.pill.meghivva::before,
.pill.rendezvenyszerkeszto::before { content: "●\00A0"; }

.pill.lezajlott::before,
.pill.regisztracio-lezarult::before { content: "—\00A0"; }
.pill.most-zajlik::before { content: "●\00A0"; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
  color: #718094;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #eef2f7;
  color: #243047;
  font-weight: 700;
  text-decoration: none;
}
.page-btn svg {
  width: 16px;
  height: 16px;
}
.page-btn.active { color: #fff; background: var(--blue); border-color: var(--blue); }
.page-btn.disabled {
  color: #a8b2c1;
  background: #f3f6fa;
  cursor: not-allowed;
}
.page-gap {
  min-width: 18px;
  text-align: center;
}
.page-summary { margin-left: 12px; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #cbd3df;
}
.data-table th {
  background: #e4e9f0;
  text-align: left;
  font-weight: 700;
  padding: 18px 20px;
  font-size: 15px;
}
.data-table td { padding: 14px 20px; border-top: 0; font-size: 15px; vertical-align: middle; }
.table-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-link { border: 0; background: transparent; }
.table-actions .icon-link {
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  border-radius: 4px;
}
.table-actions .icon-link svg {
  width: 14px;
  height: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
.dashboard-stats {
  grid-template-columns: repeat(2, minmax(360px, 1fr));
}
.stat-card, .panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.stat-card { padding: 22px; }
.stat-card span { color: var(--muted); font-weight: 700; }
.stat-card strong { display: block; margin-top: 10px; font-size: 34px; color: #17213a; }
.dashboard-event-list-card {
  padding: 18px 18px 14px;
}
.dashboard-event-list-card h2 {
  margin: 0 0 12px;
  color: #17213a;
  font-size: 16px;
  line-height: 1.25;
}
.dashboard-event-list {
  display: grid;
  gap: 8px;
}
.dashboard-event-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  padding: 5px 0;
  border-top: 1px solid #edf1f7;
}
.dashboard-event-list a:first-child {
  border-top: 0;
}
.dashboard-event-list strong {
  min-width: 0;
  overflow: hidden;
  color: #17213a;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-event-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #445067;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.dashboard-event-list svg {
  width: 15px;
  height: 15px;
}
.dashboard-event-list p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.dashboard-grid { display: grid; grid-template-columns: 0.8fr 1.2fr 1fr; gap: 18px; }
.panel { padding: 22px; }
.panel h2 { margin: 0 0 16px; font-size: 20px; }
.panel a, .panel p { display: block; margin: 12px 0; line-height: 1.45; }
.warning { border-color: #ffd3a1; background: #fffaf3; }

.details-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 18px; }
dl { margin: 0; display: grid; gap: 13px; }
dt { color: var(--muted); font-size: 13px; font-weight: 700; }
dd { margin: 3px 0 0; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }

.dap-form { background: #fff; border-radius: 8px; padding: 28px; border: 1px solid var(--border); }
.form-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.form-layout label { display: grid; gap: 7px; font-weight: 700; font-size: 14px; }
.wide { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border: 1px solid #aeb8c8;
  border-radius: 5px;
  background: #fff;
  padding: 10px 12px;
  color: var(--text);
}
textarea { resize: vertical; }
.switch { display: flex !important; grid-template-columns: auto 1fr; align-items: center; }
.switch input { width: auto; }
.compact-select { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; max-width: 520px; font-weight: 700; }
.compact-select select { width: 320px; }

.editor-screen {
  width: calc(100% + 160px);
  max-width: none;
  margin: -36px -80px 0;
}
.editor-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.editor-nav-group {
  display: grid;
  gap: 4px;
  padding-right: 18px;
  border-right: 1px solid var(--border);
}
.management-nav-group {
  padding-right: 0;
  border-right: 0;
}
.editor-nav-label {
  color: #687387;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.editor-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.editor-nav-links > a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 14px;
}
.editor-nav-links > a.active {
  color: #2534c7;
  background: #dfe4ff;
}
.editor-nav-links .disabled-tab {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border-radius: 4px;
  color: #8b95a7;
  font-weight: 800;
  font-size: 14px;
  cursor: not-allowed;
}
.editor-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.editor-actions .primary,
.editor-actions .secondary {
  min-height: 34px;
  padding-inline: 18px;
}
.editor-title-row {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
}
.editor-title-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.editor-title-row strong {
  font-size: 16px;
}
.editor-panel {
  width: calc(100% - 160px);
  max-width: 1180px;
  margin: 48px auto 0;
  border: 1px solid #9aa8bd;
  border-radius: 7px;
  overflow: visible;
  background: #f1f4f9;
}
.editor-panel header {
  min-height: 73px;
  padding: 18px 20px 16px;
  background: #fff;
  border-bottom: 1px solid #9aa8bd;
}
.editor-panel h1 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.15;
}
.editor-panel header p {
  margin: 0;
  color: #303848;
  font-size: 14px;
}
.editor-body {
  padding: 26px 18px;
  min-height: 560px;
  max-width: 760px;
}
.editor-body.wide-editor-body {
  max-width: none;
}
.editor-body label,
.editor-body legend,
.editor-field h2 {
  color: #404b5f;
  font-weight: 800;
  font-size: 15px;
}
.editor-field {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}
.editor-field p,
.editor-field span,
.radio-stack label,
.check-stack label {
  color: #404b5f;
  font-weight: 500;
  font-size: 14px;
}
.editor-field.narrow {
  width: 690px;
}
.editor-field input,
.organizer-fields input {
  height: 42px;
  border-color: #7c8798;
  border-radius: 5px;
  background: #fff;
}
.radio-stack,
.check-stack {
  border: 0;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 13px;
}
.radio-stack.compact {
  gap: 12px;
}
.radio-stack:not(.compact) label {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  background: #fff;
  border-radius: 6px;
}
.radio-stack.compact label,
.check-stack label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.radio-stack input,
.check-stack input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}
.participation-group {
  border: 0;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 13px;
}
.participation-group legend {
  margin-bottom: 8px;
}
.participation-option {
  display: grid;
  gap: 14px;
  border-radius: 8px;
}
.participation-choice {
  min-height: 56px;
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: 8px;
  background: #fff;
  color: #404b5f;
  font-weight: 500 !important;
}
.participation-choice input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}
.conditional-panel {
  display: grid;
  gap: 16px;
  margin: 0 0 2px 42px;
  padding: 18px;
  border: 1px solid #d5dbe6;
  border-radius: 8px;
  background: transparent;
}
.conditional-panel header h2 {
  margin: 0 0 4px;
  color: #404b5f;
  font-size: 16px;
}
.conditional-panel header p,
.conditional-panel label > span:not(.field-title) {
  display: block;
  margin-top: 2px;
  color: #606b7a;
  font-size: 14px;
  font-weight: 500;
}
.conditional-panel label {
  display: grid;
  gap: 8px;
  color: #404b5f;
  font-weight: 800;
  font-size: 15px;
}
.conditional-panel label strong {
  color: var(--red);
}
.field-title {
  display: inline;
  color: #404b5f;
  font-size: 15px;
  font-weight: 800;
}
.conditional-panel input,
.conditional-panel select,
.conditional-panel textarea {
  height: 42px;
  border-color: #7c8798;
  border-radius: 6px;
  background: #fff;
}
.conditional-panel textarea {
  height: auto;
}
.conditional-divider {
  height: 1px;
  background: var(--border);
}
.wide-address {
  width: 560px;
}
.medium-address {
  width: 380px;
}
.postal-field,
.short-address,
.address-pair label {
  width: 120px;
}
.street-type {
  width: 250px;
}
.address-pair {
  display: flex;
  gap: 12px;
}
.full-address {
  width: 100%;
}
.date-field {
  width: 320px;
}
.day-date-field {
  width: 327px;
}
.time-field {
  width: 140px;
}
.time-field input {
  height: 42px;
  border-color: #7c8798;
  border-radius: 5px;
  background: #fff;
}
.date-control {
  display: flex;
  align-items: center;
  width: 320px;
  height: 42px;
  border: 1px solid #7c8798;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
}
.date-control input {
  border: 0;
  height: 40px;
  min-width: 0;
}
.date-control > span {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  color: #263044;
}
.date-control svg {
  width: 18px;
  height: 18px;
}
.day-list {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.day-row {
  display: flex;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
}
.remove-day {
  margin-bottom: 26px;
}
.date-add {
  margin: -10px 0 26px;
  width: max-content;
}
.editor-divider {
  height: 1px;
  margin: 26px 0;
  background: var(--border);
}
.capacity-field {
  width: 320px;
}
.capacity-field input {
  width: 100px;
}
.editor-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 18px 40px;
}
.editor-bottom .primary,
.editor-bottom .secondary {
  min-height: 34px;
  padding-inline: 16px;
}
.toolbar-mini {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 12px;
  border: 1px solid #7c8798;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  background: #e8edf4;
  color: #303848;
}
.rich-text {
  max-width: none;
}
.rich-text-label {
  color: #404b5f;
  font-weight: 800;
  font-size: 15px;
}
.rich-toolbar {
  gap: 4px;
  padding: 0 8px;
}
.rich-toolbar button {
  min-width: 28px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #303848;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.rich-toolbar button:hover,
.rich-toolbar button:focus-visible,
.rich-toolbar button.is-active {
  background: #d5def0;
  outline: 2px solid transparent;
}
.rich-toolbar button:focus-visible {
  outline-color: var(--blue);
  outline-offset: 1px;
}
.rich-editor-surface {
  min-height: 142px;
  padding: 14px;
  border: 1px solid #7c8798;
  border-radius: 0 0 5px 5px;
  background: #fff;
  color: #1f2937;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}
.rich-editor-surface:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.rich-editor-surface:empty::before {
  content: attr(data-placeholder);
  color: #606b7a;
}
.rich-editor-surface p,
.rich-editor-surface ul,
.rich-editor-surface blockquote,
.rich-content p,
.rich-content ul,
.rich-content blockquote {
  margin: 0 0 12px;
}
.rich-editor-surface ul,
.rich-content ul {
  padding-left: 22px;
}
.rich-editor-surface blockquote,
.rich-content blockquote {
  padding-left: 12px;
  border-left: 3px solid var(--blue);
  color: #404b5f;
}
.rich-content {
  color: #303848;
  font-size: 15px;
  line-height: 1.55;
}
.rich-content > :last-child {
  margin-bottom: 0;
}
.file-button {
  width: max-content;
  position: relative;
  overflow: hidden;
}
.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.upload-preview {
  width: 260px;
  height: 140px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.file-name {
  width: max-content;
  padding: 8px 10px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 700 !important;
}
.program-file {
  width: min(520px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}
.program-file div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.program-file strong,
.program-file span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.program-file strong {
  color: var(--text);
}
.program-file span {
  color: #5f6b7a;
  font-size: 13px;
}
.program-file button {
  width: 30px;
  height: 30px;
  border: 1px solid #ffd0d0;
  border-radius: 50%;
  background: #fff7f7;
  color: #b42318;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.program-file button:focus-visible {
  outline: 3px solid rgba(69, 91, 255, 0.2);
}
.organizer-fields {
  display: grid;
  align-content: start;
  gap: 28px;
}
.organizer-fields label {
  display: grid;
  gap: 10px;
  width: 390px;
}
.organizer-fields label:first-child {
  width: 100%;
}
.phone-field {
  position: relative;
  width: 274px;
  display: flex;
  align-items: center;
  border: 1px solid #7c8798;
  border-radius: 6px;
  background: #fff;
  overflow: visible;
}
.phone-country-trigger {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid var(--border);
  background: #f8fafc;
  color: #263044;
  font-size: 13px;
  font-weight: 800;
}
.country-flag {
  font-size: 16px;
  line-height: 1;
}
.phone-field input {
  border: 0;
  height: 38px;
  min-width: 0;
  flex: 1;
}
.phone-country-menu {
  position: absolute;
  z-index: 25;
  top: calc(100% + 6px);
  left: 0;
  width: 320px;
  max-height: 264px;
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.phone-country-menu button {
  width: 100%;
  min-height: 40px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #263044;
  text-align: left;
  font-size: 14px;
}
.phone-country-menu button:hover,
.phone-country-menu button[aria-selected="true"] {
  background: #eef2ff;
}
.phone-country-menu strong {
  color: #606b7a;
  font-size: 13px;
}
.empty-editor {
  min-height: 360px;
  display: grid;
  place-content: center;
  gap: 16px;
  text-align: center;
}
.speaker-editor,
.agenda-editor,
.form-builder {
  display: grid;
  align-content: start;
  gap: 16px;
}
.speaker-edit-card {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  align-items: end;
  gap: 14px;
  max-width: 760px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
}
.speaker-edit-card img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
}
.speaker-edit-card label {
  display: grid;
  gap: 7px;
}
.agenda-panel .editor-body {
  min-height: 520px;
}
.agenda-summary {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #404b5f;
}
.agenda-summary strong,
.agenda-summary span {
  color: #404b5f;
  font-size: 14px;
}
.agenda-day-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.agenda-day-card > header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: #f7f9fd;
}
.agenda-day-card h2 {
  margin: 2px 0;
  color: #20232b;
  font-size: 18px;
}
.agenda-day-card header span,
.agenda-day-card header p {
  margin: 0;
  color: #606b7a;
  font-size: 13px;
  font-weight: 700;
}
.agenda-day-card .secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.agenda-day-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.agenda-item-row {
  display: grid;
  grid-template-columns: 120px 120px minmax(220px, 1.4fr) minmax(180px, 1fr) 38px;
  align-items: end;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e2e7f0;
  border-radius: 8px;
  background: #fff;
}
.agenda-item-row label {
  display: grid;
  gap: 6px;
  color: #404b5f;
  font-size: 14px;
  font-weight: 800;
}
.agenda-item-row input {
  width: 100%;
  height: 40px;
  border: 1px solid #7c8798;
  border-radius: 5px;
  background: #fff;
}
.agenda-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #b9c4d6;
  border-radius: 8px;
  color: #606b7a;
  background: #f9fbfe;
}
.form-builder label {
  width: 360px;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.form-builder input {
  width: 18px;
}
.editor-inline-link {
  margin-top: 18px;
  width: max-content;
}
.speakers-step,
.invitees-step,
.registrations-step,
.registration-step {
  width: calc(100% - 160px);
  margin: 48px auto 0;
}
.registration-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
}
.registration-preview {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 12px;
}
.registration-preview > h2 {
  margin: 0;
  font-size: 18px;
}
.registration-preview > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.preview-dialog {
  width: 100%;
  max-height: none;
  box-shadow: 0 10px 26px rgba(20, 31, 55, .12);
}
.preview-dialog .dialog-header button {
  opacity: .5;
}
.speaker-toggle-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
  font-weight: 600;
}
.dap-switch input {
  position: absolute;
  opacity: 0;
}
.dap-switch span {
  display: block;
  width: 42px;
  height: 24px;
  border-radius: 99px;
  background: #aeb8c8;
  position: relative;
}
.dap-switch span::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
}
.dap-switch input:checked + span {
  background: var(--blue);
}
.dap-switch input:checked + span::after {
  left: 21px;
}
.speaker-card-grid {
  display: flex;
  align-items: stretch;
  gap: 34px;
  flex-wrap: wrap;
}
.figma-speaker-card {
  position: relative;
  width: 276px;
  min-height: 386px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.figma-speaker-card > img {
  width: 100%;
  height: 276px;
  object-fit: cover;
}
.figma-speaker-card > div:last-child {
  padding: 18px;
}
.figma-speaker-card strong,
.figma-speaker-card span,
.figma-speaker-card small {
  display: block;
}
.figma-speaker-card strong {
  font-size: 18px;
  margin-bottom: 6px;
}
.figma-speaker-card span,
.figma-speaker-card small {
  color: #404b5f;
  line-height: 1.35;
}
.speaker-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  z-index: 2;
}
.speaker-actions .circle {
  color: #fff;
  background: var(--blue);
  border: 0;
}
.speaker-actions .danger {
  background: var(--red);
}
.speaker-add-card {
  width: 276px;
  min-height: 386px;
  border: 1.5px dashed var(--blue);
  border-radius: 10px;
  background: transparent;
  color: var(--blue);
  font-size: 34px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 8vh, 120px) 16px 16px;
  overflow-y: auto;
  background: rgba(53, 59, 70, 0.82);
}
.speaker-dialog,
.confirm-dialog {
  width: 800px;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  background: #fff;
}
.confirm-dialog {
  width: 500px;
}
.dialog-header {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-bottom: 0;
  background: #fff;
}
.dialog-header h2 {
  margin: 0;
  color: #111;
  font-size: 18px;
  line-height: 1.25;
}
.dialog-header button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #404753;
  font-size: 28px;
  line-height: 1;
}
.dialog-body {
  display: grid;
  gap: 24px;
  padding: 16px;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
}
.dialog-body label {
  display: grid;
  gap: 6px;
  width: 433px;
  color: #404753;
  font-weight: 700;
}
.dialog-body label:nth-of-type(3) {
  width: 100%;
}
.dialog-upload {
  display: grid;
  gap: 8px;
  width: 433px;
}
.dialog-upload strong {
  color: #404753;
}
.dialog-upload span,
.dialog-upload p {
  color: #606b7a;
  font-weight: 500;
}
.dialog-upload p {
  margin: 2px 0 8px;
  font-size: 14px;
}
.dialog-upload img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
}
.speaker-image-preview {
  display: flex;
  align-items: center;
  gap: 12px;
}
.speaker-image-preview button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.speaker-image-preview button:focus-visible {
  outline: 3px solid rgba(239, 68, 68, .24);
  outline-offset: 2px;
}
.dialog-actions {
  display: flex;
  gap: 24px;
  padding-top: 16px;
}
.danger-primary {
  background: var(--red);
}
.invite-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 42px;
}
.invite-stat {
  min-height: 82px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  padding: 14px 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.invite-stat span {
  grid-row: span 2;
  color: #6e7c91;
  font-size: 30px;
}
.invite-stat strong {
  font-size: 22px;
  text-align: center;
}
.invite-stat small {
  font-size: 15px;
  text-align: center;
}
.invite-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.invite-toolbar .search-field {
  margin-right: 0;
}
.invite-toolbar .round-btn {
  flex: 0 0 34px;
  text-decoration: none;
}
.invite-toolbar .round-btn[aria-pressed="true"],
.invite-toolbar .round-btn.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}
.invite-toolbar .secondary:first-of-type {
  margin-left: auto;
}
.invite-filter-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: -10px 0 20px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.invite-filter-panel strong {
  flex: 0 0 auto;
  color: #303849;
}
.invite-filter-panel div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.invite-filter-panel a {
  display: inline-grid;
  gap: 2px;
  min-width: 155px;
  padding: 10px 14px;
  border: 1px solid #c8d1e1;
  border-radius: 7px;
  color: #263044;
  background: #f8faff;
  text-decoration: none;
}
.invite-filter-panel a.active {
  border-color: var(--blue);
  background: #e8edff;
  color: var(--blue);
}
.invite-filter-panel small {
  color: var(--muted);
  font-size: 12px;
}
.event-filter-panel {
  align-items: flex-start;
  flex-wrap: wrap;
}
.event-filter-panel .filter-group {
  display: grid;
  gap: 8px;
  min-width: min(100%, 380px);
}
.event-filter-panel .filter-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.event-filter-panel .filter-reset {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 36px;
  padding: 0 18px;
  border-color: var(--blue);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}
.invite-import,
.invite-add {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.invite-import-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.import-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.import-head h2 {
  margin: 0 0 4px;
  font-size: 18px;
}
.import-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.import-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
}
.import-dropzone,
.import-paste {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 150px;
  padding: 16px;
  border: 1.5px dashed #7c8798;
  border-radius: 8px;
  background: #f8fafc;
  color: #404b5f;
  font-weight: 800;
}
.import-dropzone span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}
.import-dropzone input {
  height: auto;
  padding: 10px;
  border: 1px solid var(--border);
  background: #fff;
}
.import-paste textarea {
  min-height: 116px;
  resize: vertical;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 500;
}
.import-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.import-file-name {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.import-error {
  margin: 0;
  color: var(--red);
  font-weight: 800;
}
.import-preview {
  display: grid;
  gap: 10px;
}
.import-preview-head {
  display: flex;
  justify-content: space-between;
  color: #404b5f;
}
.import-empty {
  padding: 18px;
  border-radius: 8px;
  background: #f3f6fb;
  color: var(--muted);
  font-weight: 700;
}
.invite-add {
  grid-template-columns: 1fr 1fr auto;
  column-gap: 18px;
  row-gap: 14px;
}
.invite-add .primary {
  align-self: end;
  margin-left: 4px;
}
.invite-import label,
.invite-add label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}
.invite-table th:first-child,
.invite-table td:first-child {
  width: 48px;
}
.registrations-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.registrations-head h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.15;
}
.registrations-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.registration-export-wrap {
  position: relative;
  flex: 0 0 auto;
}
.registration-export-wrap .primary svg:last-child {
  width: 16px;
  height: 16px;
}
.registration-export-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 24;
  width: 250px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(20, 31, 55, 0.14);
}
.registration-export-menu button {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #263044;
  text-align: left;
  font-weight: 700;
}
.registration-export-menu button:hover,
.registration-export-menu button:focus-visible {
  background: #edf2ff;
  color: var(--blue);
  outline: 0;
}
.registration-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.registration-stat {
  min-height: 76px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.registration-stat span {
  grid-row: span 2;
  display: inline-flex;
  color: #526176;
}
.registration-stat strong {
  font-size: 22px;
  line-height: 1;
}
.registration-stat small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.registration-view-switcher {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.registration-view-switcher a {
  min-width: 210px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 2px 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.registration-view-switcher a svg {
  grid-row: span 2;
  color: #526176;
}
.registration-view-switcher span {
  font-weight: 800;
}
.registration-view-switcher small {
  color: var(--muted);
  font-size: 12px;
}
.registration-view-switcher a.active {
  border-color: var(--blue);
  background: #e8edff;
  color: var(--blue);
}
.registration-view-switcher a.active svg,
.registration-view-switcher a.active small {
  color: var(--blue);
}
.registration-filters {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.registration-filters label:not(.search-field) {
  display: grid;
  gap: 6px;
  min-width: 170px;
  color: #303849;
  font-size: 13px;
  font-weight: 800;
}
.registration-filters select,
.registration-filters input[type="date"] {
  height: 38px;
  border: 1px solid #7c8798;
  border-radius: 6px;
  padding: 0 10px;
  background: #fff;
  color: var(--text);
}
.registration-search {
  width: min(430px, 100%);
}
.registration-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 12px;
}
.registration-table-toolbar strong {
  font-size: 16px;
}
.registration-column-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.registration-column-panel div {
  display: grid;
  gap: 8px;
  align-content: start;
}
.registration-column-panel strong {
  color: #303849;
}
.registration-column-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.column-option {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: #263044;
  text-align: left;
  font-weight: 700;
}
.column-option span {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #7c8798;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
}
.column-option.is-checked span {
  border-color: var(--blue);
  background: var(--blue);
}
.column-option.is-locked {
  color: #596579;
  background: #f7f9fd;
  cursor: not-allowed;
}
.registration-table-scroll {
  overflow-x: auto;
  border-radius: 8px;
}
.registrations-table {
  min-width: 980px;
}
.registrations-table th,
.registrations-table td {
  white-space: nowrap;
}
.registrations-table td:nth-child(1),
.registrations-table td:nth-child(2) {
  font-weight: 700;
}
.empty-cell {
  height: 74px;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}
.registration-detail-dialog {
  width: min(720px, calc(100vw - 32px));
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.registration-detail-dialog .dialog-header a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #404753;
  font-size: 28px;
  line-height: 1;
}
.registration-detail-person {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 8px;
  background: #f4f6fa;
}
.registration-detail-person strong {
  font-size: 18px;
}
.registration-detail-person span,
.registration-detail-person small {
  color: var(--muted);
  font-weight: 700;
}
.registration-detail-dialog dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
.registration-detail-dialog dl div {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
}
.registration-detail-dialog dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.registration-detail-dialog dd {
  margin: 0;
  color: #20232b;
  font-weight: 700;
}
.registration-note {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: #fff8e6;
}
.bulk-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}
.bulk-menu-wrap {
  position: relative;
}
.bulk-trigger {
  gap: 9px;
}
.bulk-trigger svg {
  width: 18px;
  height: 18px;
}
.bulk-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  width: 270px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(20, 31, 55, 0.14);
}
.bulk-menu button {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #263044;
  text-align: left;
  font-weight: 700;
}
.bulk-menu button:hover,
.bulk-menu button:focus-visible {
  background: #edf2ff;
  color: var(--blue);
  outline: 0;
}
.bulk-menu .danger-menuitem {
  color: var(--red);
}
.bulk-menu .danger-menuitem:hover,
.bulk-menu .danger-menuitem:focus-visible {
  background: #fff1f2;
  color: var(--red);
}
.registration-table th:nth-child(2),
.registration-table th:nth-child(3),
.registration-table td:nth-child(2),
.registration-table td:nth-child(3) {
  width: 190px;
  text-align: center;
}
.registration-table input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}
.registration-table tr.is-inactive td {
  color: #6d778b;
  background: #f7f9fd;
}
.registration-table tr.is-inactive input {
  cursor: not-allowed;
  opacity: 0.55;
}
.registration-field-hint {
  display: block;
  margin-top: 4px;
  color: #5d687c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.registration-field-groups {
  display: grid;
  gap: 22px;
}
.registration-field-group {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.registration-field-group > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: #f7f9fd;
}
.registration-field-group h2 {
  margin: 0 0 4px;
  color: #17213a;
  font-size: 18px;
  line-height: 1.2;
}
.registration-field-group p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.registration-field-group > header > span {
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 1px solid #c8d1e1;
  border-radius: 999px;
  color: #445067;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}
.registration-field-group .data-table {
  border: 0;
}
.registration-field-group .data-table th {
  background: #e4e9f0;
}
.privacy-upload {
  margin-top: 42px;
  max-width: 800px;
}
.privacy-upload h2 {
  font-size: 18px;
  margin-bottom: 2px;
}
.privacy-file {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 0 14px;
  border-radius: 8px;
  background: #fff;
}
.privacy-file a {
  text-decoration: underline;
  color: #51607a;
}
.privacy-file span {
  margin-left: auto;
}
.privacy-file button {
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}
.privacy-file button:focus-visible {
  outline: 3px solid rgba(45, 91, 255, .35);
  outline-offset: 2px;
  border-radius: 4px;
}
.privacy-empty {
  margin-top: 16px;
  color: #5e6a7e;
  font-size: 14px;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #eef3fb;
  padding: 24px;
}
.login-card {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 34px;
}
.login-card h1 { margin: 26px 0 8px; font-size: 28px; }
.login-card p { color: var(--muted); line-height: 1.5; }
.login-card form { display: grid; gap: 15px; margin-top: 24px; }
.login-card label { display: grid; gap: 7px; font-weight: 700; }
.form-error { min-height: 20px; margin: 0 !important; color: var(--red) !important; font-weight: 700; }
.demo-note { margin-top: 18px; padding: 12px; background: #f4f6ff; border-radius: 6px; font-size: 13px; }

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: #15213b;
  color: #fff;
  border-radius: 8px;
  padding: 14px 18px 14px 42px;
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.22);
  z-index: 80;
  font-weight: 800;
}
.toast::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #21a366;
  color: #fff;
  font-size: 12px;
}
.empty-state { text-align: center; background: #fff; border-radius: 8px; padding: 70px 20px; }

.preview-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 90px;
  background: #17213a;
  color: #fff;
}
.microsite-shell { min-height: 100vh; background: var(--background-neutral-base); }
.microsite-top {
  height: 64px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 calc((100vw - 1032px) / 2);
}
.microsite-page {
  width: min(1032px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 16px 0 0;
}
.micro-hero {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  margin-bottom: 18px;
}
.micro-hero img, .micro-title, .micro-card, .micro-download, .micro-bottom img, .osm-map-wrap {
  border-radius: 8px;
  background: #fff;
}
.micro-hero img { width: 100%; height: 216px; object-fit: cover; }
.micro-title { padding: 26px 34px; }
.micro-title h1 { margin: 0 0 12px; font-size: 30px; line-height: 1.18; }
.micro-title h2 { margin: 0 0 20px; font-size: 20px; }
.micro-title p { display: flex; align-items: center; gap: 9px; margin: 8px 0; font-weight: 700; font-size: 13px; }
.micro-tabs {
  display: flex;
  gap: 26px;
  height: 40px;
  align-items: center;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 22px;
  padding: 0 10px;
}
.micro-tabs a { height: 100%; display: flex; align-items: center; border-bottom: 3px solid transparent; font-size: 13px; }
.micro-tabs a.active { color: var(--blue); border-bottom-color: var(--blue); }
.micro-card {
  padding: 26px;
  margin-bottom: 22px;
  line-height: 1.55;
  font-size: 15px;
}
.micro-card h2 { margin: 0 0 18px; font-size: 22px; }
.micro-card blockquote {
  border-left: 6px solid var(--blue);
  margin: 20px 0;
  padding: 12px 18px;
  background: #f6f8ff;
  font-weight: 700;
}
.micro-download {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  margin-bottom: 22px;
}
.micro-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.micro-bottom img, .osm-map-wrap { width: 100%; height: 320px; object-fit: cover; border: 0; }
.osm-map-wrap {
  position: relative;
  overflow: hidden;
}
.osm-embed-map {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #dfe7ef;
}
.osm-static-map {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  background: #dfe7ef;
}
.osm-static-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.osm-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  box-shadow: 0 4px 12px rgba(23, 33, 58, .28);
  transform: translate(-50%, -78%) rotate(-45deg);
}
.osm-marker::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}
.osm-map-wrap a {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 8px 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.94);
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}
.osm-map-wrap span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.92);
  color: #17213a;
  font-weight: 800;
  font-size: 13px;
}
.organizer { width: calc(50% - 11px); }
.program-row { display: grid; grid-template-columns: 90px 1fr; gap: 20px; border-top: 1px solid var(--border); padding: 18px 0; }
.program-row time { color: var(--blue); font-weight: 800; }
.speaker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.speaker-grid article { border: 1px solid var(--border); border-radius: 8px; padding: 14px; }
.speaker-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.speaker-grid strong, .speaker-grid span { display: block; }
.speaker-grid span { color: var(--muted); margin-top: 4px; }
.micro-footer {
  width: min(1032px, calc(100vw - 32px));
  min-height: 72px;
  margin: 34px auto 0;
  display: flex;
  align-items: center;
  gap: 34px;
  color: #fff;
  background: var(--footer);
  border-top: 6px solid #23af78;
  box-shadow: 0 -3px 0 #e94d62, 0 -6px 0 #fff;
  padding: 0 36px;
  font-size: 12px;
}
.registration-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.registration-cta p {
  margin: -8px 0 0;
  color: var(--muted);
}
.micro-registration-backdrop {
  align-items: center;
  padding: 24px;
}
.micro-registration-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}
.micro-registration-dialog .dialog-header {
  height: auto;
  min-height: 66px;
  padding: 14px 18px;
}
.micro-registration-dialog .dialog-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.micro-registration-dialog .registration-form {
  padding: 20px 18px 18px;
}
.registration-form,
.registration-form form {
  display: grid;
  gap: 16px;
}
.registration-form label,
.registration-form fieldset {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  font-weight: 700;
}
.registration-form fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.registration-form .micro-radio-group {
  display: grid;
  gap: 10px;
}
.registration-form .micro-radio-group legend {
  padding: 0;
  margin-bottom: 0;
  font-weight: 800;
  line-height: 1.35;
}
.registration-form .micro-radio-options {
  display: grid;
  gap: 8px;
}
.registration-form .micro-radio-options label {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-weight: 600;
}
.registration-form .micro-radio-options input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}
.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form textarea {
  width: min(520px, 100%);
}
.micro-footer strong { margin-left: auto; font-weight: 400; }

/* ── Field validation ── */
.field-invalid > input,
.field-invalid > select,
.field-invalid > textarea,
.field-invalid .date-control {
  border-color: var(--red) !important;
  background: #fff8f8;
}
.field-error-msg {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
  display: block;
}

@media (max-width: 900px) {
  .topbar { padding: 0 16px; gap: 8px; overflow-x: auto; }
  .brand { min-width: 188px; }
  .topbar nav a { padding: 10px; white-space: nowrap; }
  .workspace { padding: 24px 14px; }
  .editor-screen { width: calc(100% + 28px); margin: -24px -14px 0; }
  .editor-nav { height: auto; min-height: 68px; flex-wrap: wrap; padding: 12px 14px; }
  .editor-nav-group { width: 100%; padding-right: 0; border-right: 0; }
  .editor-nav-links { flex-wrap: wrap; }
  .editor-actions { width: 100%; flex-wrap: wrap; }
  .editor-title-row { height: auto; min-height: 64px; align-items: flex-start; flex-direction: column; gap: 12px; padding: 12px 16px; }
  .editor-title-actions { width: 100%; margin-left: 0; flex-wrap: wrap; }
  .editor-panel { width: calc(100% - 28px); margin-top: 24px; }
  .editor-field.narrow, .date-field, .organizer-fields label, .organizer-fields label:first-child { width: 100%; }
  .split, .list-toolbar, .event-meta { align-items: flex-start; flex-direction: column; }
  .search-field { width: 100%; }
  .event-row { padding: 16px; }
  .row-actions { position: static; transform: none; margin-top: 16px; }
  .stats-grid, .dashboard-grid, .details-grid, .form-layout, .micro-hero, .micro-bottom, .speaker-grid { grid-template-columns: 1fr; }
  .agenda-day-card > header { align-items: flex-start; flex-direction: column; }
  .agenda-day-card .secondary { width: 100%; justify-content: center; }
  .agenda-item-row { grid-template-columns: 1fr; align-items: stretch; }
  .micro-title h1 { font-size: 24px; }
  .microsite-top, .preview-bar { padding: 0 16px; }
  .organizer { width: auto; }
  .micro-footer { flex-wrap: wrap; padding: 18px; }
}
