:root {
  --bg: #fcfcfc;
  --panel: #ffffff;
  --panel-soft: #e3ebf5;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #bcc9d8;
  --accent: #1f6feb;
  --accent-dark: #1557b0;
  --success-bg: #ecf8f0;
  --success-text: #21653f;
  --error-bg: #fff1f1;
  --error-text: #9a2f2f;
  --shadow: 0 12px 28px rgba(12, 16, 24, 0.05);
}

.client-dashboard-body .admin-card:not(.admin-header-card):not(.event-exit-card) {
  background: #ffffff;
}

.speaker-portal-header-card {
  overflow: hidden;
}

.speaker-portal-hero {
  display: grid;
  gap: 18px;
  padding: 12px 34px 18px;
}

.speaker-portal-hero > h2,
.speaker-portal-meta-card h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.15;
}

.speaker-portal-header-card .client-dashboard-headline h1 {
  color: #424240;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.speaker-portal-intro,
.speaker-portal-note-card p,
.speaker-portal-meta-card p {
  margin: 0;
  color: #1f2937;
  font-size: 0.96rem;
  line-height: 1.55;
}

.speaker-portal-meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 40px;
  align-items: start;
}

.speaker-portal-meta-card {
  display: grid;
  gap: 6px;
}

.speaker-portal-meta-divider {
  height: 1px;
  background: rgba(43, 58, 85, 0.18);
}

.speaker-portal-meta-card h2 {
  color: #5c6ff2;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 800;
}

.speaker-portal-meta-card .speaker-portal-meta-value {
  color: #111827;
}

.speaker-portal-meta-card p {
  line-height: 1.28;
}

.speaker-portal-meta-card p strong {
  color: #5c6ff2;
  font-weight: 800;
}

.speaker-portal-speaker-name {
  color: #7c4dff;
  font-size: 1rem;
  font-weight: 800;
}

.speaker-portal-note-card {
  padding: 18px 22px;
  border: 1px solid #d9e5f4;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.client-dashboard-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 8px 0 28px;
  padding: 0;
}

.client-dashboard-tabs-inline {
  margin: 0;
}

.client-dashboard-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.client-dashboard-guide-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.client-dashboard-tab:hover,
.client-dashboard-tab:focus-visible {
  transform: translateY(-1px);
  background: #4f8df7;
  border-color: #4f8df7;
  color: #ffffff;
}

.client-dashboard-tab-secondary:hover,
.client-dashboard-tab-secondary:focus-visible {
  background: #4f8df7;
  border-color: #4f8df7;
  color: #ffffff;
}

.client-dashboard-tab.is-active {
  background: #4f8df7;
  border-color: #4f8df7;
  color: #ffffff;
}

.client-dashboard-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f04438;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.client-dashboard-tab-guide {
  gap: 10px;
  background: #fff7d9;
  border-color: #f1dd96;
  color: #7a5a00;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.client-dashboard-tab-guide:hover,
.client-dashboard-tab-guide:focus-visible {
  border-color: #e6c85f;
  background: #fff2bf;
}

.client-dashboard-tab-guide-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d4a72c;
  box-shadow: 0 0 0 0 rgba(212, 167, 44, 0.45);
  animation: client-guide-dot-pulse 1.5s ease-in-out infinite;
}

.client-dashboard-tab-guide-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b48200;
  font-size: 1rem;
  line-height: 1;
  animation: client-guide-arrow-nudge 1.4s ease-in-out infinite;
}

.client-dashboard-tab-guide.is-active {
  background: #4f8df7;
  border-color: #4f8df7;
  color: #ffffff;
  box-shadow: none;
}

.client-dashboard-tab-guide.is-active .client-dashboard-tab-guide-dot,
.client-dashboard-tab-guide.is-active .client-dashboard-tab-guide-arrow {
  color: #ffffff;
}

.client-dashboard-tab-guide.is-active .client-dashboard-tab-guide-dot {
  background: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.38);
}

.client-dashboard-guide-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7a5a00;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.client-dashboard-guide-copy .client-dashboard-guide-arrow {
  color: #b48200;
  font-size: 1rem;
  line-height: 1;
  animation: client-guide-arrow-left-nudge 1.4s ease-in-out infinite;
}

@keyframes client-guide-arrow-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

@keyframes client-guide-arrow-left-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-3px);
  }
}

@keyframes client-guide-dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(212, 167, 44, 0.35);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(212, 167, 44, 0);
  }
}

.client-dashboard-stage {
  padding: 28px 30px 52px;
  border-color: #d8e0ea;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.client-pane {
  display: grid;
  gap: 22px;
}

.client-intro-copy {
  max-width: 1160px;
}

.client-intro-copy h2 {
  margin: 0 0 2px;
  font-size: 1.2rem;
  line-height: 1.15;
  font-weight: 800;
}

.client-intro-copy > h2,
.client-intro-copy > p {
  padding-inline: 30px;
  box-sizing: border-box;
}

.client-intro-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.client-intro-title img {
  display: block;
  width: 168px;
  height: auto;
  object-fit: contain;
}

.client-intro-name {
  color: #2f6fed;
  font-weight: 900;
}

.client-intro-lead,
.client-intro-copy p {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.client-intro-lead {
  margin-bottom: 22px;
}

.client-intro-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 10px;
  padding-inline: 30px;
  box-sizing: border-box;
}

.client-intro-step-card {
  position: relative;
  padding: 38px 26px 18px;
  border: 1px solid #95a3b5;
  border-radius: 24px;
  background: #ffffff;
  text-align: center;
}

.client-intro-step-card:nth-child(1) {
  background: #fff9e8;
}

.client-intro-step-card:nth-child(2) {
  background: #eef8ff;
}

.client-intro-step-card:nth-child(3) {
  background: #f6f0ff;
}

.client-intro-step-badge {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #5ec2a2;
  color: #ffffff;
  font-size: 1.9rem;
  font-weight: 700;
}

.client-intro-step-card h3 {
  margin: 8px 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
}

.client-intro-step-card img {
  display: block;
  width: min(100%, 182px);
  height: 150px;
  margin: 0 auto;
  object-fit: contain;
}

.client-intro-footnote {
  margin: 0;
  padding-inline: 30px;
  color: #4b5563;
  font-size: 0.82rem;
  line-height: 1.35;
}

.client-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 66.6%) minmax(0, 33.4%);
  gap: 34px;
  align-items: stretch;
}

.client-account-column {
  display: grid;
  gap: 0;
  grid-template-rows: auto auto 1fr;
}

.client-account-head {
  padding: 0 30px 10px;
}

.client-account-card {
  height: 100%;
  padding: 0 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.client-account-form {
  display: grid;
  gap: 16px;
}

.client-account-access-note {
  margin: -6px 0 2px;
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.35;
}

.client-account-logo-row {
  display: flex;
  align-items: center;
}

.client-account-brand-preview img {
  display: block;
  width: min(100%, 210px);
  height: 66px;
  object-fit: contain;
  object-position: left center;
}

.client-account-brand-placeholder {
  display: inline-flex;
  align-items: center;
  max-width: min(100%, 280px);
  min-height: 66px;
  padding: 10px 14px;
  border: 1px dashed #c8d2e1;
  border-radius: 16px;
  background: #f8fafc;
  color: #344054;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.client-account-company-row,
.client-account-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.client-account-company-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-mini-field {
  display: grid;
  gap: 6px;
}

.client-mini-field span {
  color: #475467;
  font-size: 0.78rem;
  font-weight: 700;
}

.client-mini-field input {
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #95a3b5;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
}

.client-file-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #95a3b5;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
}

.client-file-picker:hover,
.client-file-picker:focus-within {
  border-color: #5b9cff;
  box-shadow: 0 0 0 3px rgba(91, 156, 255, 0.12);
}

.client-file-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.client-file-picker-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #95a3b5;
  border-radius: 10px;
  background: #f8fafc;
  color: #344054;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.client-file-picker-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #667085;
  font-size: 0.9rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-account-note {
  margin: 0;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.45;
}

.client-account-actions {
  display: flex;
  justify-content: flex-start;
}

.client-subscription-card {
  display: grid;
  gap: 18px;
}

.client-subscription-section-head {
  display: grid;
  gap: 6px;
  min-height: 74px;
  align-content: start;
}

.client-subscription-section-head h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.15;
  color: #6d28d9;
}

.client-subscription-section-head p {
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.4;
}

.client-subscription-section-divider {
  width: 100%;
  height: 1px;
  background: #dbe4ee;
  margin: -10px 0 6px;
}

.client-subscription-brand img {
  display: block;
  width: min(100%, 210px);
  height: auto;
}

.client-subscription-lines {
  display: grid;
  gap: 10px;
}

.client-subscription-lines p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.client-subscription-trial-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid #c7dda0;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7ffe8 0%, #eefad4 100%);
}

.client-subscription-trial-card h4 {
  margin: 0;
  color: #1f2937;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.client-subscription-trial-card p {
  margin: 0;
  color: #374151;
  font-size: 0.92rem;
  line-height: 1.35;
}

.client-subscription-trial-note {
  padding: 12px 14px;
  border: 1px solid #bfd2ff;
  border-radius: 14px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.client-subscription-button {
  justify-self: start;
}

.client-subscription-action-button {
  min-height: 38px;
  padding-inline: 16px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(47, 111, 237, 0.14);
}

.client-subscription-pane .client-account-column > .client-subscription-card + .client-subscription-card {
  margin-top: 32px;
}

.client-subscription-pane .client-account-column > .client-subscription-card + .client-subscription-card .client-subscription-section-head {
  margin-bottom: -58px;
}

.primary-button.client-subscription-action-button:hover,
.primary-button.client-subscription-action-button:focus-visible {
  background: #d92d20;
  border-color: #d92d20;
  color: #ffffff;
}

.client-account-card-single {
  padding-top: 22px;
}

.client-subscription-pane {
  display: grid;
  gap: 0;
}

.client-subscription-grid {
  margin-top: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}

.client-subscription-plan-hero {
  display: grid;
  gap: 6px;
}

.client-subscription-plan-hero strong {
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 800;
  color: #111827;
}

.client-subscription-plan-hero p {
  margin: 0;
  color: #475467;
  font-size: 0.98rem;
  line-height: 1.4;
}

.client-subscription-plan-label {
  color: #667085;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.client-subscription-guidance {
  margin-top: 8px;
}

.client-subscription-guidance p {
  margin: 0;
  color: #374151;
  font-size: 0.92rem;
  line-height: 1.45;
}

.client-subscription-card-upgrades {
  margin-top: 0;
}

.client-subscription-upgrades-head {
  display: grid;
  gap: 6px;
}

.client-subscription-upgrades-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
}

.client-subscription-upgrades-head p {
  margin: 0;
  color: #667085;
  font-size: 0.88rem;
  line-height: 1.4;
}

.client-subscription-upgrade-list {
  display: grid;
  gap: 10px;
}

.client-subscription-upgrade-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #d7e1ed;
  border-radius: 16px;
  background: #f8fbff;
}

.client-subscription-upgrade-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.client-subscription-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.client-subscription-upgrade-item strong {
  color: #111827;
  font-size: 0.98rem;
  font-weight: 800;
}

.client-subscription-upgrade-price {
  color: #2f6fed;
  font-size: 0.96rem;
  font-weight: 800;
}

.client-subscription-upgrade-item span {
  color: #475467;
  font-size: 0.9rem;
  line-height: 1.35;
}

.client-subscription-upgrade-item-current {
  border-color: #d8b449;
  background: #fff8df;
}

.client-subscription-current-badge,
.client-subscription-trial-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
}

.client-subscription-current-badge {
  background: #2f6fed;
}

.client-subscription-trial-badge {
  background: #53b86b;
}

.client-events-pane {
  gap: 0;
}

.client-events-body {
  padding: 0 30px;
}

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

.client-section-head h2 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.15;
}

.client-events-main-title {
  font-size: 1.38rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

.client-empty-state {
  padding: 12px 0 4px;
}

@media (max-width: 1180px) {
  .client-intro-steps,
  .client-account-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 860px) {
  .client-dashboard-tabs {
    padding: 0;
    gap: 12px;
  }

  .client-dashboard-stage {
    padding: 20px 18px 34px;
  }

  .client-account-company-row,
  .client-account-field-grid {
    grid-template-columns: 1fr;
  }

  .client-intro-step-card {
    padding-inline: 18px;
  }
}

html,
body {
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

button,
input,
select {
  font: inherit;
}

.app-shell,
.admin-shell {
  width: min(1280px, calc(100vw - 160px));
  margin: 0 auto;
  padding: 22px 0 36px;
}

.topbar,
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--line);
}

.topbar-card {
  padding: 0;
  border-bottom: 0;
}

.admin-topbar-card {
  padding: 0;
  border-bottom: 0;
}

.topbar-title h1,
.admin-topbar h1,
.public-card h2,
.admin-card h2,
.survey-admin-item h3,
.section-head h3 {
  margin: 0;
}

.topbar-title h1,
.admin-topbar h1 {
  margin-top: 4px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
}

.admin-topbar h1 {
  margin-top: 0;
  font-size: clamp(1rem, 1.65vw, 1.25rem);
  line-height: 1.2;
}

.topbar-subtitle,
.panel-copy,
.status {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.event-brand-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 132px;
  height: 40px;
  flex: 0 0 auto;
  overflow: hidden;
}

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

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.topbar-actions,
.admin-nav,
.inline-actions,
.actions,
.split-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.ghost-button,
.primary-button {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.ghost-button-compact,
.primary-button-compact {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.admin-nav-inline-form {
  margin: 0;
}

.ghost-button:hover,
.primary-button:hover {
  transform: translateY(-1px);
}

.ghost-button:disabled,
.primary-button:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.ghost-button.is-disabled,
.primary-button.is-disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
  transform: none;
}

.primary-button {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.primary-button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.admin-event-new-survey:hover,
.admin-event-new-survey:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.admin-event-exit .admin-nav-danger:hover,
.admin-event-exit .admin-nav-danger:focus-visible {
  background: #d92d20;
  border-color: #d92d20;
  color: #ffffff;
}

.flash {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  transform-origin: top center;
  animation: flash-auto-hide 5.6s ease forwards;
}

.flash-success {
  background: var(--success-bg);
  color: var(--success-text);
}

.flash-error {
  background: var(--error-bg);
  color: var(--error-text);
}

.flash.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
}

@keyframes flash-auto-hide {
  0% {
    opacity: 0;
    transform: translateY(-8px);
    max-height: 160px;
    margin-top: 18px;
    margin-bottom: 18px;
    padding-top: 14px;
    padding-bottom: 14px;
    border-width: 1px;
  }
  8%,
  72% {
    opacity: 1;
    transform: translateY(0);
    max-height: 160px;
    margin-top: 18px;
    margin-bottom: 18px;
    padding-top: 14px;
    padding-bottom: 14px;
    border-width: 1px;
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
  }
}

.public-stage {
  padding: 0;
}

.public-flash {
  margin-top: 0;
  margin-bottom: 14px;
}

.client-dashboard-body .admin-header-card {
  margin-top: 0;
  margin-bottom: 96px;
  padding: 14px 18px;
  background: #eef1f4;
  border-color: #c7d1dd;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.client-dashboard-body .admin-header-card-surveys {
  position: relative;
  overflow: hidden;
  border: 3px solid rgba(191, 202, 216, 0.98);
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 1) 0%, rgba(239, 245, 252, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 0 0 1px rgba(255, 255, 255, 0.64),
    0 14px 28px rgba(15, 23, 42, 0.05),
    0 30px 56px rgba(15, 23, 42, 0.09);
}

.client-dashboard-body .admin-header-card-surveys::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.admin-event-header {
  display: grid;
  gap: 10px;
}

.admin-event-header-top {
  width: 100%;
  padding-inline: 30px;
  padding-bottom: 0;
  border-bottom: 0;
  box-sizing: border-box;
}

.admin-event-header-divider {
  height: 1px;
  margin: 0 30px;
  background: var(--line);
}

.admin-event-brand {
  width: 100%;
  align-items: center;
}

.admin-event-header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-inline: 30px;
  padding-top: 8px;
  box-sizing: border-box;
}

.admin-event-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
}

.admin-event-step {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.admin-event-step-compact {
  align-items: center;
}

.admin-event-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #ccd6e4;
  background: #ffffff;
  color: #2b3a55;
  font-size: 0.82rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.admin-event-step-label {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
}

.admin-event-step-compact .admin-event-step-badge,
.admin-event-step-compact .admin-event-step-label {
  display: none;
}

.admin-event-step-form {
  margin: 0;
}

.admin-event-select-field,
.admin-event-select-field select {
  min-width: 220px;
}

.admin-event-select-field-room,
.admin-event-select-field-room select {
  min-width: 186px;
}

.admin-event-step-placeholder {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
  color: #98a2b3;
  font-size: 0.84rem;
  white-space: nowrap;
}

.admin-event-step-mode {
  flex-wrap: wrap;
}

.admin-event-mode-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  padding: 4px;
  border: 1px solid #cfd8e6;
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.admin-mode-toggle-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 94px;
  min-height: 32px;
  padding: 0 15px;
  border: 1px solid rgba(191, 203, 220, 0.0);
  border-radius: 14px;
  color: #667085;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.admin-mode-toggle-option-raise-hand {
  min-width: 128px;
}

.admin-mode-toggle-option:hover {
  border-color: rgba(191, 203, 220, 0.9);
  color: #344054;
}

.admin-mode-toggle-option:not(.is-active) {
  border-color: rgba(191, 203, 220, 0.72);
  background: rgba(255, 255, 255, 0.32);
}

.admin-mode-toggle-option.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, #4c86ff 0%, #356ae6 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(53, 106, 230, 0.24);
}

.admin-mode-toggle-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.28);
}

.admin-state-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 38px;
  padding: 2px;
  border: 1px solid #cfd8e6;
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.admin-state-toggle form {
  margin: 0;
}

.admin-state-toggle-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  min-height: 32px;
  padding: 0 15px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #667085;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.admin-state-toggle-option:hover,
.admin-state-toggle-option:focus-visible {
  color: #344054;
}

.admin-state-toggle-option.is-active-on {
  background: linear-gradient(180deg, #4c86ff 0%, #356ae6 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(53, 106, 230, 0.24);
  cursor: default;
}

.admin-state-toggle-option.is-active-off {
  background: linear-gradient(180deg, #475467 0%, #344054 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(52, 64, 84, 0.18);
  cursor: default;
}

.admin-state-toggle-option:disabled {
  opacity: 1;
  transform: none;
}

.admin-mode-toggle-status {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.admin-mode-toggle-status.is-live {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.18);
  animation: admin-status-pulse 1.8s ease-in-out infinite;
  animation-delay: 0s;
}

.admin-mode-toggle-status.is-ready {
  background: #fbbf24;
  box-shadow: none;
}

.admin-mode-toggle-status.is-offline {
  background: #ef4444;
  box-shadow: none;
}

@keyframes admin-status-pulse {
  0%,
  100% {
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.18);
  }

  50% {
    background: #ffffff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.admin-event-exit {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.admin-event-header-bottom .ghost-button,
.admin-event-header-bottom .primary-button,
.admin-event-header-bottom .survey-header-filter-field select {
  min-height: 34px;
}

.admin-nav-box {
  padding: 6px;
  border: 1px solid #bcc6d3;
  border-radius: 12px;
  background: #d3d6db;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.admin-nav-box .ghost-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.admin-nav-box .admin-nav-danger:hover {
  background: #d92d20;
  border-color: #d92d20;
  color: #fff;
}

.client-dashboard-body .admin-nav-box {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.client-dashboard-body .admin-nav-box .ghost-button {
  border-color: #cdd5df;
  background: #ffffff;
}

.client-dashboard-body .admin-nav-box .ghost-button:hover,
.client-dashboard-body .admin-nav-box .ghost-button:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.client-dashboard-body .admin-nav-box .admin-nav-danger:hover,
.client-dashboard-body .admin-nav-box .admin-nav-danger:focus-visible {
  background: #d92d20;
  border-color: #d92d20;
  color: #ffffff;
}

.room-add-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.room-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.room-field-row .field {
  min-width: 0;
}

.room-remove-button {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #667085;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  font-size: 1.15rem;
  line-height: 1;
}

.room-remove-button:hover {
  background: #fff1f1;
  border-color: #f1c7c7;
  color: #d92d20;
  transform: translateY(-1px);
}

.room-remove-button:disabled {
  opacity: 0;
  pointer-events: none;
}

.survey-create-settings-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.survey-create-settings-head .room-add-button {
  min-height: 38px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.room-switcher {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.room-switcher .ghost-button,
.room-switcher .primary-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.room-switcher .ghost-button:hover,
.room-switcher .ghost-button:focus-visible {
  background: #eef4ff;
  border-color: #9fc0ff;
  color: #2f6fed;
}

.room-switcher .ghost-button:hover .room-switcher-badge,
.room-switcher .ghost-button:focus-visible .room-switcher-badge {
  border-color: #9fc0ff;
  color: #2f6fed;
}

.room-switcher-button {
  position: relative;
  padding-right: 34px;
  overflow: visible;
}

.room-switcher-badge {
  position: absolute;
  right: -6px;
  bottom: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border: 1px solid #c7d1dd;
  border-radius: 999px;
  background: #ffffff;
  color: #445164;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.room-switcher .primary-button .room-switcher-badge {
  border-color: #2d5fca;
  color: #2d5fca;
}

.client-event-rooms-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0 8px;
}

.client-event-rooms-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.client-event-rooms-actions form {
  margin: 0;
  flex: 0 0 auto;
}

.client-event-edit-button:hover,
.client-event-edit-button:focus-visible {
  border-color: #8fb8ff;
  background: linear-gradient(180deg, #eef6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  box-shadow: 0 8px 18px rgba(47, 111, 237, 0.14);
}

.client-event-delete-button {
  border-color: #f3c6c3;
  color: #b42318;
  background: linear-gradient(180deg, #fff8f7 0%, #fff1ef 100%);
}

.client-event-delete-button:hover,
.client-event-delete-button:focus-visible {
  border-color: #f59d97;
  background: linear-gradient(180deg, #fff1ef 0%, #ffe4e1 100%);
  color: #912018;
  box-shadow: 0 8px 18px rgba(180, 35, 24, 0.14);
  transform: translateY(-1px);
}

.client-event-rooms-note {
  margin: 0;
  color: #516074;
  font-size: 0.8rem;
  line-height: 1.35;
}

.public-card,
.admin-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: none;
}

.client-dashboard-body .admin-card:not(.admin-header-card):not(.event-exit-card) {
  background: #d3d6db;
}

.client-dashboard-body .survey-management-card {
  position: relative;
  border: 3px solid rgba(224, 205, 151, 0.98);
  background: linear-gradient(180deg, #fff8e7 0%, #ffefc7 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.97),
    inset 0 0 0 1px rgba(255, 250, 231, 0.8),
    0 16px 28px rgba(15, 23, 42, 0.05),
    0 34px 58px rgba(15, 23, 42, 0.09);
}

.client-dashboard-body .survey-management-card::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -58px;
  width: calc(100% - 96px);
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(145, 165, 191, 0) 0%, rgba(145, 165, 191, 0.34) 10%, rgba(126, 151, 182, 0.92) 50%, rgba(145, 165, 191, 0.34) 90%, rgba(145, 165, 191, 0) 100%);
  box-shadow:
    0 12px 28px rgba(111, 132, 159, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  pointer-events: none;
}

.client-dashboard-body .survey-management-card::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -40px;
  width: calc(100% - 48px);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(145, 165, 191, 0) 0%, rgba(145, 165, 191, 0.26) 16%, rgba(126, 151, 182, 0.52) 50%, rgba(145, 165, 191, 0.26) 84%, rgba(145, 165, 191, 0) 100%);
  pointer-events: none;
}

.superadmin-body {
  background:
    linear-gradient(180deg, #f8fafc 0%, #f2f6fa 100%);
}

.superadmin-shell {
  width: min(1320px, calc(100vw - 104px));
}

.superadmin-body .admin-header-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-color: #dbe3ec;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.superadmin-body .admin-card:not(.admin-header-card) {
  background: #ffffff;
  border-color: #dbe3ec;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.superadmin-body .admin-card-form {
  background: #ffffff;
}

.superadmin-body .admin-nav-box {
  background: #f8fafc;
  border-color: #dbe3ec;
  box-shadow: none;
}

.superadmin-panel {
  padding: 22px 22px 20px;
}

.superadmin-body .survey-list-head-main h2 {
  font-size: 1.4rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.superadmin-submit-cell {
  align-items: end;
  justify-content: flex-start;
}

.superadmin-submit-button {
  min-height: 56px;
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
}

.public-header-shell {
  margin-bottom: 14px;
}

.public-header-plain {
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.public-header-plain .admin-topbar-card {
  padding: 0 6px;
}

.public-event-brand {
  width: 100%;
}

.public-platform-logo-frame {
  width: 200px;
  height: 62px;
}

.public-platform-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform: none;
}

.public-event-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

.public-event-title-stage {
  margin-bottom: 8px;
}

.public-event-title-band {
  display: grid;
  gap: 8px;
  padding: 0;
}

.public-event-title-band::before,
.public-event-title-band::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #d9e1ec;
}

.public-event-title-band .public-event-title {
  font-size: clamp(0.96rem, 1.5vw, 1.2rem);
  line-height: 1.15;
}

.public-stage-shell {
  width: 100%;
  margin: 0;
}

.public-room-panel {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding-top: 0;
}

.public-room-chip-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.public-room-chip-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.public-room-chip-list::-webkit-scrollbar {
  display: none;
}

.public-room-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 6px 12px;
  border: 1.5px solid #c3d0e4;
  border-radius: 999px;
  background: #ffffff;
  color: #475467;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.public-room-chip:hover,
.public-room-chip:focus-visible {
  transform: translateY(-1px);
  border-color: #b9cae7;
}

.public-room-chip.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.public-waiting-card {
  background: #fff;
}

.public-waiting-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
}

.public-waiting-copy {
  min-width: 0;
}

.public-waiting-lead {
  margin: 0;
  color: #475467;
  font-size: 0.92rem;
  line-height: 1.5;
}

.public-waiting-tips {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #667085;
  font-size: 0.86rem;
  line-height: 1.5;
}

.public-waiting-tips li + li {
  margin-top: 6px;
}

.public-waiting-media {
  display: flex;
  justify-content: flex-start;
}

.public-waiting-image {
  display: block;
  width: min(100%, 148px);
  height: auto;
}

.survey-stage-card {
  --public-card-border: #dbe3ef;
  --public-card-bg:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  --public-track-bg: #eef2f7;
  --public-fill-start: #4da3ff;
  --public-fill-end: #2f6fed;
  --public-badge-border: #cfe0ff;
  --public-badge-text: #2f6fed;
}

.survey-stage-card-live {
  --public-card-border: #cfe0ff;
  --public-card-bg:
    radial-gradient(circle at top right, rgba(47, 111, 237, 0.08), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  --public-track-bg: #e8f0fc;
  --public-fill-start: #5aa9ff;
  --public-fill-end: #2f6fed;
  --public-badge-border: #cfe0ff;
  --public-badge-text: #2f6fed;
}

.survey-stage-card-results {
  --public-card-border: #bfe5d0;
  --public-card-bg:
    radial-gradient(circle at top right, rgba(24, 144, 98, 0.09), transparent 42%),
    linear-gradient(180deg, #fcfffd 0%, #f4fbf7 100%);
  --public-track-bg: #e2efe8;
  --public-fill-start: #4dc58b;
  --public-fill-end: #189062;
  --public-badge-border: #bfe5d0;
  --public-badge-text: #147a53;
  border-color: var(--public-card-border);
  background: var(--public-card-bg);
}

.survey-stage-card-live,
.survey-stage-card-results {
  border-color: var(--public-card-border);
  background: var(--public-card-bg);
}

.survey-stage-card-results .eyebrow {
  color: #189062;
}

.survey-stage-card-results .results-section {
  border-top-color: #d7eadf;
}

.survey-stage-card h2 {
  margin-top: 6px;
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.public-survey-timer {
  width: min(100%, 360px);
  margin: 0 0 18px;
  padding: 12px 14px 14px;
  border-radius: 18px;
  border: 1px solid #d7e6ff;
  background:
    radial-gradient(circle at top right, rgba(47, 111, 237, 0.1), transparent 42%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  box-shadow: 0 12px 28px rgba(47, 111, 237, 0.08);
  color: var(--accent-dark);
}

.public-survey-timer-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.public-survey-timer-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a7299;
}

.public-survey-timer-value {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #2f6fed;
}

.public-survey-timer-bar {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.12);
}

.public-survey-timer-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f6fed 0%, #5ba3ff 100%);
  transition: width 0.9s linear, background 0.2s ease;
}

.public-survey-timer.is-warning .public-survey-timer-value {
  color: #c97700;
}

.public-survey-timer.is-warning .public-survey-timer-fill {
  background: linear-gradient(90deg, #ffb020 0%, #ffd166 100%);
}

.public-survey-timer.is-danger {
  border-color: #ffd5d2;
  background:
    radial-gradient(circle at top right, rgba(229, 72, 77, 0.12), transparent 42%),
    linear-gradient(180deg, #fffafa 0%, #fff4f4 100%);
  box-shadow: 0 18px 40px rgba(229, 72, 77, 0.1);
}

.public-survey-timer.is-danger .public-survey-timer-value {
  color: #d92d20;
}

.public-survey-timer.is-danger .public-survey-timer-fill {
  background: linear-gradient(90deg, #d92d20 0%, #ff8a80 100%);
}

.answer-list {
  display: grid;
  gap: 10px;
}

.answer-list-readonly {
  margin-top: 14px;
}

.vote-status-card {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #d7e6ff;
  border-radius: 16px;
  background: #f6faff;
}

.vote-status-card strong {
  display: block;
  margin-bottom: 4px;
  color: #1849a9;
  font-size: 0.95rem;
}

.vote-status-card p {
  margin: 0;
  color: #486284;
  font-size: 0.9rem;
  line-height: 1.35;
}

.vote-form-fields {
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.vote-form-locked .answer-list {
  opacity: 0.82;
}

.vote-form-locked .answer-option.selected {
  border-color: #8fb7ff;
  background: #eef5ff;
}

.vote-submit-hidden {
  display: none;
}

.answer-option {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 0.98rem;
}

.answer-option-readonly {
  cursor: default;
  opacity: 0.92;
}

.answer-option input {
  margin-top: 0;
}

.answer-option-label {
  flex: 1 1 auto;
  min-width: 0;
}

.answer-option.selected {
  border-color: var(--accent);
  background: #f2f7ff;
}

.answer-option-result {
  display: none;
  width: 100%;
}

.answer-option-result-track {
  display: block;
  position: relative;
  width: 100%;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.12);
  overflow: hidden;
}

.answer-option-result-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f6fed 0%, #5ba3ff 100%);
}

.answer-option-result-value {
  display: block;
  margin-top: 6px;
  color: #2f6fed;
  font-size: 0.86rem;
  font-weight: 700;
}

.results-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.results-bars {
  display: grid;
  gap: 14px;
}

.bar-row {
  display: grid;
  gap: 10px;
}

.results-bars-one-by-one .bar-row {
  opacity: 0;
  transform: translateY(8px);
  animation: results-row-reveal 0.35s ease forwards;
  animation-delay: var(--result-delay, 0ms);
}

.bar-meta {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.option-prefix {
  color: #3f6fe5;
  font-weight: 700;
}

.bar-track {
  position: relative;
  overflow: visible;
  height: 10px;
  margin-right: 120px;
  border-radius: 999px;
  background: var(--public-track-bg);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--public-fill-start) 0%, var(--public-fill-end) 100%);
  transition: width 0.45s ease;
}

.active-option-row .bar-fill {
  background: linear-gradient(90deg, var(--moderator-fill-start) 0%, var(--moderator-fill-end) 100%);
}

.survey-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.survey-type-pills-standalone {
  margin: 8px 0 24px;
}

.survey-type-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid #cfdaeb;
  border-radius: 999px;
  background: #ffffff;
  color: #385071;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.survey-type-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.survey-create-cancel-button:hover,
.survey-create-cancel-button:focus-visible {
  background: #eef2f6;
  border-color: #cbd5e1;
  color: #111827;
}

.survey-create-secondary-button:hover,
.survey-create-secondary-button:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.survey-type-pill.is-active {
  border-color: #4f7ff0;
  background: linear-gradient(135deg, #5e8cf2 0%, #3f6de6 100%);
  box-shadow: 0 12px 28px rgba(79, 127, 240, 0.18);
  color: #ffffff;
}

.survey-type-pill.is-disabled,
.survey-type-pill:disabled {
  cursor: default;
  opacity: 1;
}

.survey-type-pill.is-disabled:hover,
.survey-type-pill:disabled:hover {
  border-color: #cfdaeb;
  transform: none;
}

.survey-create-form .survey-create-title {
  min-height: calc(1.35em * 1 + 28px);
}

.survey-create-form .survey-create-option {
  min-height: calc(1.35em * 1 + 28px);
}

.field.field-select-compact {
  gap: 0;
}

.field.field-select-compact span {
  display: none;
}

.field.field-select-compact.field-select-compact-labeled {
  gap: 6px;
}

.field.field-select-compact.field-select-compact-labeled span {
  display: inline-block;
  color: #667085;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.survey-media-inline-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.survey-speaker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px 16px;
}

.survey-speaker-row [data-relation-title-field] {
  align-self: start;
}

.survey-inline-filter-form {
  margin: 0;
}

.survey-inline-filter-form .survey-header-filter-field {
  min-width: 230px;
}

.survey-inline-filter-form .survey-header-filter-field select {
  width: 100%;
}

@media (min-width: 768px) {
  .survey-speaker-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .survey-inline-filter-form .survey-header-filter-field {
    min-width: 0;
  }
}

.survey-speaker-new-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.survey-media-preview-card {
  display: flex;
  align-items: center;
  margin-top: 4px;
}

.survey-media-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #f5f8fc;
  color: #101828;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.survey-media-preview-link:hover,
.survey-media-preview-link:focus-visible {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.22);
  transform: translateY(-1px);
}

.survey-media-preview-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: currentColor;
}

.survey-media-preview-link-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

body.image-lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 20px;
  background: rgba(15, 23, 42, 0.86);
}

.image-lightbox[hidden] {
  display: none !important;
}

.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2937;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  padding: 10px 14px;
  cursor: pointer;
}

.image-lightbox-image {
  display: block;
  max-width: min(92vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  background: #fff;
}

.survey-media-file-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #cfd7e3;
  border-radius: 12px;
  background: #fff;
  color: #344054;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.survey-media-file-placeholder {
  flex: 0 0 auto;
  color: #344054;
  font-weight: 600;
  white-space: nowrap;
}

.survey-media-file-name {
  min-width: 0;
  color: #667085;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.survey-media-file-input-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.bar-percent-badge {
  position: absolute;
  top: 50%;
  left: clamp(34px, var(--public-option-percent), calc(100% - 34px));
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--public-badge-border);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  color: var(--public-badge-text);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bar-votes-badge {
  position: absolute;
  top: 50%;
  left: calc(100% + 18px);
  transform: translateY(-50%);
  min-width: 84px;
  color: #101828;
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
}

.admin-card {
  padding: 16px;
  margin-top: 14px;
}

.admin-card-narrow {
  max-width: 480px;
}

.event-exit-card {
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(84, 178, 255, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.client-dashboard-body .event-exit-card {
  background:
    radial-gradient(circle at top left, rgba(84, 178, 255, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: #e2e8f0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.event-exit-layout {
  display: grid;
  gap: 24px;
}

.event-exit-media {
  display: flex;
  justify-content: center;
}

.event-exit-image {
  display: block;
  width: min(100%, 760px);
  height: auto;
  object-fit: contain;
}

.event-exit-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  margin-inline: auto;
}

.event-exit-actions .primary-button,
.event-exit-actions .ghost-button {
  min-width: 200px;
  min-height: 46px;
  border-radius: 16px;
}

.event-exit-actions .ghost-button {
  border-color: #dbe3ef;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #334155;
}

.client-login-shell {
  width: min(1120px, calc(100vw - 72px));
  padding-top: 48px;
}

.client-login-card {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(31, 111, 235, 0.13), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef3f9 100%);
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
}

.client-demo-banner {
  display: grid;
  gap: 18px;
  margin-top: 14px;
  padding: 26px 34px 30px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(31, 111, 235, 0.13), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #eef3f9 100%);
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
}

.client-demo-banner-title {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.5);
  color: #050505;
  text-align: center;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
}

.client-demo-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 35%) minmax(0, 50%) minmax(0, 15%);
}

.client-demo-panel {
  min-width: 0;
}

.client-demo-panel-center,
.client-demo-panel-qr {
  border-left: 1px solid rgba(15, 23, 42, 0.28);
  padding-left: 28px;
  margin-left: 28px;
}

.client-demo-panel h3 {
  margin: 0 0 14px;
  color: #050505;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.15;
}

.client-demo-panel p {
  margin: 0;
  color: #4b5563;
  font-size: clamp(0.82rem, 1.2vw, 0.98rem);
  line-height: 1.35;
}

.client-demo-panel p + p {
  margin-top: 0;
}

.client-demo-panel a {
  color: #111827;
  font-weight: 500;
  text-decoration: none;
}

.client-demo-panel a:hover,
.client-demo-panel a:focus-visible {
  text-decoration: underline;
}

.client-demo-banner-action {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.client-demo-banner-button {
  -webkit-appearance: none;
  appearance: none;
  width: auto;
  min-width: 0;
  min-height: 54px;
  padding: 10px 22px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ff3b30 0%, #ff2d2d 100%);
  color: #fff;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 18px 34px rgba(255, 59, 48, 0.24);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.client-demo-banner-button:hover,
.client-demo-banner-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(255, 59, 48, 0.3);
  filter: brightness(1.02);
}

.client-demo-banner-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

.client-demo-banner-button-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff3b30;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  animation: client-demo-button-arrow-nudge 1.1s ease-in-out infinite;
}

@keyframes client-demo-button-arrow-nudge {
  0%,
  100% {
    opacity: 0.45;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-8px);
  }
}

.client-demo-links-copy strong {
  font-weight: 700;
}

.client-demo-qr-list {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.client-demo-qr-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: #050505;
}

.client-demo-qr-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: lowercase;
}

.client-demo-qr-card img {
  display: block;
  width: 108px;
  height: 108px;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.superadmin-login-body {
  background:
    radial-gradient(circle at top left, rgba(31, 111, 235, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfcfe 0%, #f3f6fb 100%);
}

.superadmin-login-card {
  background:
    radial-gradient(circle at top left, rgba(31, 111, 235, 0.08), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
}

.superadmin-login-shell .client-login-showcase {
  border-right-color: rgba(148, 163, 184, 0.18);
}

.client-login-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(320px, 0.92fr);
}

.client-login-showcase {
  padding: 42px;
  border-right: 1px solid rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.client-login-platform-brand {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.client-login-platform-logo {
  display: block;
  width: min(100%, 260px);
  height: auto;
}

.client-login-copy h1,
.client-login-form-head h2,
.client-login-client-panel h2 {
  margin: 0;
}

.client-login-platform-note {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.42;
}

.client-login-client-panel {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.client-login-client-identity {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}

.client-login-client-intro {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.45;
}

.client-login-client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
}

.client-login-client-logo {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.client-login-client-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.client-login-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.client-login-form-head {
  margin-bottom: 24px;
}

.client-login-form-head h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.superadmin-clients-head {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(260px, 1.45fr) 74px 74px 82px;
  gap: 14px;
  padding: 0 12px 10px;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.superadmin-clients-board {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.superadmin-client-accordion {
  border: 1px solid #dbe3ec;
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
}

.superadmin-client-accordion.is-active {
  background: linear-gradient(180deg, #ffffff 0%, #fbfffc 100%);
  border-color: #dce7df;
}

.superadmin-client-accordion summary {
  list-style: none;
}

.superadmin-client-accordion summary::-webkit-details-marker {
  display: none;
}

.superadmin-client-card {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(260px, 1.45fr) 74px 74px 82px;
  gap: 14px;
  align-items: center;
  padding: 10px 16px;
  cursor: pointer;
}

.superadmin-client-card-main {
  display: flex;
  align-items: center;
  min-width: 0;
}

.superadmin-client-identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.superadmin-client-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
}

.superadmin-client-link {
  min-width: 0;
}

.superadmin-client-link a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.superadmin-client-action .ghost-button {
  border-color: #d6deea;
  background: #ffffff;
}

.superadmin-client-metric,
.superadmin-client-action {
  color: #334155;
  font-weight: 700;
}

.superadmin-client-panel {
  display: grid;
  gap: 10px;
  padding: 10px 16px 12px;
  border-top: 1px solid #edf2f7;
  background: rgba(248, 250, 252, 0.55);
}

.superadmin-client-users-head {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(240px, 1.35fr) 230px;
  gap: 14px;
  padding: 0 6px 4px;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.superadmin-client-users-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px 10px;
  border: 1px solid #ddd6fe;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f5ff 0%, #fcfbff 100%);
}

.superadmin-client-user-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(240px, 1.35fr) 230px;
  gap: 14px;
  align-items: center;
  padding: 6px 6px;
  border-top: 1px solid #e2e8f0;
  background: transparent;
}

.superadmin-client-user-main {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.superadmin-client-user-main strong {
  color: #0f172a;
}

.superadmin-client-user-role {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #dbe4f0;
  background: #f8fafc;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.superadmin-client-user-role.is-owner {
  border-color: #c7dcff;
  background: #eef5ff;
  color: #2456b8;
}

.superadmin-client-user-email {
  color: #475569;
}

.superadmin-client-user-action {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.superadmin-client-app-settings {
  display: grid;
  gap: 14px;
  margin-top: 6px;
  padding: 16px 16px 14px;
  border: 1px solid #ecdca8;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff8df 0%, #fffdf4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.superadmin-client-app-settings-head {
  display: grid;
  gap: 4px;
}

.superadmin-client-app-settings-head h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
}

.superadmin-client-app-settings-head p {
  margin: 0;
  color: #667085;
  font-size: 0.84rem;
  line-height: 1.45;
}

.superadmin-client-app-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px 16px;
}

.superadmin-client-app-form .superadmin-inline-field {
  min-height: 42px !important;
}

.superadmin-client-app-help {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 0.76rem;
  line-height: 1.35;
}

.superadmin-client-app-form .actions {
  grid-column: 1 / -1;
  justify-self: start;
}

@media (max-width: 1280px) {
  .superadmin-client-app-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .superadmin-client-app-form {
    grid-template-columns: 1fr;
  }
}

.client-events-capacity-copy {
  margin: 10px 0 0;
  color: #475467;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.45;
}

.client-events-head,
.client-event-summary,
.client-event-room-row,
.client-event-rooms-head {
  display: grid;
  grid-template-columns: 44px 96px 102px minmax(0, 1fr) 48px 58px 58px 28px;
  gap: 10px;
  align-items: center;
}

.client-events-head > :nth-child(1),
.client-event-summary > :nth-child(1) {
  grid-column: 1;
}

.client-events-head > :nth-child(2),
.client-event-summary > :nth-child(2) {
  grid-column: 2;
}

.client-events-head > :nth-child(3),
.client-event-summary > :nth-child(3) {
  grid-column: 3;
}

.client-events-head > :nth-child(4),
.client-event-summary > :nth-child(4) {
  grid-column: 4;
}

.client-events-head > :nth-child(5),
.client-event-summary > :nth-child(5) {
  grid-column: 5;
}

.client-events-head > :nth-child(6),
.client-event-summary > :nth-child(6) {
  grid-column: 6;
}

.client-events-head > :nth-child(7),
.client-event-summary > :nth-child(7) {
  grid-column: 7;
}

.client-events-head > :nth-child(8),
.client-event-summary > :nth-child(8) {
  grid-column: 8;
}

.client-dashboard-body {
  font-family: "IBM Plex Sans", sans-serif;
}

.client-dashboard-brand {
  gap: 16px;
}

.client-dashboard-body .admin-header-card > .admin-topbar-card {
  padding: 0 30px 10px;
}

.client-dashboard-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.client-dashboard-top-link:hover,
.client-dashboard-top-link:focus-visible,
.client-dashboard-top-link.is-active {
  background: #4f8df7;
  border-color: #4f8df7;
  color: #ffffff;
}

.client-dashboard-top-actions .admin-nav-danger:hover,
.client-dashboard-top-actions .admin-nav-danger:focus-visible {
  background: #d92d20;
  border-color: #d92d20;
  color: #ffffff;
}

.client-dashboard-header-bottom {
  padding: 12px 30px 0;
}

.client-dashboard-tabs-inline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.client-dashboard-live-entry {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.client-dashboard-tab-events {
  background: #fff2bf;
  border-color: #e6c85f;
  color: #7a5a00;
}

.client-dashboard-tab-events:hover,
.client-dashboard-tab-events:focus-visible,
.client-dashboard-tab-events.is-active {
  background: #4f8df7;
  border-color: #4f8df7;
  color: #ffffff;
}

.client-dashboard-tab-live {
  background: #e8f7df;
  border-color: #7ecb90;
  color: #126b3e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.client-dashboard-tab-live:hover,
.client-dashboard-tab-live:focus-visible,
.client-dashboard-tab-live.is-active {
  background: #4f8df7;
  border-color: #4f8df7;
  color: #ffffff;
}

.client-dashboard-tab-live-icon {
  font-size: 0.72rem;
  line-height: 1;
  transform: translateX(1px);
}

.client-dashboard-brand-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
  flex: 0 0 auto;
}

.client-dashboard-clientmark {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
}

.client-dashboard-client-logo-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.client-dashboard-client-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  max-width: 240px;
  height: 56px;
  overflow: visible;
  flex: 0 0 auto;
}

.client-dashboard-client-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.client-brand-settings-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #445164;
  font-size: 1.2rem;
  line-height: 1;
  flex: 0 0 auto;
}

.client-brand-settings-badge:hover {
  color: var(--accent);
}

.client-dashboard-client-name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
}

.client-dashboard-headline {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.client-dashboard-headline h1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 2;
  max-width: 100%;
}

.client-events-head {
  padding: 0 10px 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.client-events-head.client-events-head-simple,
.client-event-summary.client-event-summary-simple {
  grid-template-columns: 96px 120px minmax(0, 1fr) 48px 58px 58px 28px;
}

.client-events-head.client-events-head-simple > :nth-child(2),
.client-event-summary.client-event-summary-simple > :nth-child(2),
.client-events-head.client-events-head-simple > :nth-child(3),
.client-event-summary.client-event-summary-simple > :nth-child(3) {
  margin-left: 0;
}

.client-event-row {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.client-event-row + .client-event-row {
  margin-top: 6px;
}

.client-event-row.client-event-row-simple + .client-event-row.client-event-row-simple {
  margin-top: 10px;
}

.client-events-archive {
  margin-top: 22px;
}

.client-events-live-body { margin-top: 8px; padding: 0; }

.client-live-events-list {
  display: grid;
  gap: 4px;
}

.client-live-event-card {
  position: relative;
  padding-top: 18px;
}

.client-live-event-card-inner {
  position: relative;
  padding: 26px 156px 22px 24px;
  border: 1px solid #e9ddb8;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff9ec 0%, #fffdf7 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.client-live-event-badge-image {
  position: absolute;
  top: -18px;
  right: 26px;
  left: auto;
  width: clamp(88px, 8.2vw, 112px);
  height: auto;
  display: block;
  z-index: 2;
  transform: none;
  border-radius: 14px;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
}

.client-live-event-badge-fallback {
  position: absolute;
  top: 24px;
  right: 24px;
  left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #2f6fed;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
  box-shadow: 0 10px 18px rgba(47, 111, 237, 0.24);
}

.client-live-event-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-top: 14px;
}

.client-live-event-summary-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.client-live-event-calendar {
  position: relative;
  flex: 0 0 auto;
  width: 66px;
  min-height: 62px;
  padding: 12px 8px 8px;
  border: 1px solid #e4d8b5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.07);
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 2px;
}

.client-live-event-calendar-top {
  position: absolute;
  inset: 0 0 auto;
  height: 11px;
  z-index: 1;
  border-radius: 8px 8px 0 0;
  background: #f01f1f;
}

.client-live-event-calendar::before,
.client-live-event-calendar::after {
  content: "";
  position: absolute;
  top: -6px;
  z-index: 2;
  width: 6px;
  height: 13px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(228, 216, 181, 0.65);
}

.client-live-event-calendar::before {
  left: 14px;
}

.client-live-event-calendar::after {
  right: 16px;
}

.client-live-event-calendar-day {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: #111827;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.client-live-event-calendar-month {
  position: relative;
  z-index: 1;
  color: #111827;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
}

.client-live-event-summary-main {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.client-live-event-summary-main .client-event-inline-title {
  font-family: "Open Sans", "IBM Plex Sans", Arial, sans-serif;
  font-size: 1.62rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.client-live-event-summary-main .client-event-inline-meta {
  margin: 0 0 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e4d8b5;
  font-size: 1rem;
  line-height: 1.2;
}

.client-live-event-actions {
  margin-top: 2px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-left: 0;
  align-items: center;
  gap: 12px;
}

.client-live-slot-select-form {
  margin: 0;
  flex: 0 0 auto;
}

.client-live-slot-select {
  min-width: 150px;
  min-height: 34px;
  padding: 6px 34px 6px 12px;
  border: 1px solid #4f8df7;
  border-radius: 10px;
  background: #4f8df7;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
}

.client-live-event-topbar {
  margin-top: 16px;
  margin-bottom: 8px;
}

.client-live-event-cta-arrow {
  position: relative;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  animation: client-live-launch-arrow-slide 1.1s ease-in-out infinite;
  flex: 0 0 auto;
}

.client-live-event-cta-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #111827;
  border-right: 2px solid #111827;
  transform: translateY(-50%) rotate(45deg);
}

.client-live-event-cta-arrow-static {
  animation: none;
}

@keyframes client-live-launch-arrow-slide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

.client-live-event-faculty-button {
  min-height: 38px;
  margin-left: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border-color: #56c271;
  background: #56c271;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 10px 18px rgba(86, 194, 113, 0.18);
}

.client-live-event-faculty-button:hover, .client-live-event-faculty-button:focus-visible { background: #41ae5d; border-color: #41ae5d; }

.client-live-event-grid {
  display: grid;
  gap: 2px;
  margin-top: 12px;
}

.client-live-event-grid .client-event-inline-list {
  padding-left: 0;
}

.client-live-event-inline-divider {
  height: 1px;
  margin: 6px 0 4px;
  background: #e4d8b5;
}

.client-event-inline-list-live-link .client-event-inline-values a {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  word-break: break-all;
}

.client-event-inline-list-live-link .client-event-inline-label {
  color: #6d5efc;
}

.client-live-event-card-empty .client-live-event-card-inner {
  padding-right: 156px;
  min-height: 360px;
}

.client-live-event-card-empty .client-live-event-faculty-button.is-disabled {
  border-color: #d0d7e2;
  background: #ffffff;
  color: #98a2b3;
  opacity: 1;
  box-shadow: none;
}

.client-live-empty-stage {
  display: grid;
  gap: 20px;
  margin-top: 8px;
  width: calc(100% - 72px);
  max-width: calc(100% - 72px);
}

.client-live-empty-stage-copy {
  display: grid;
  gap: 2px;
  padding-top: 8px;
}

.client-live-empty-stage-copy .client-archive-description {
  margin-top: 1px;
  line-height: 1.18;
}

.client-live-slot-inline-label {
  color: #6d5efc;
}

.client-live-inline-plan-note {
  color: #6d5efc;
}


.client-live-empty-stage-copy-with-action {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

.client-live-empty-stage-copy-main {
  display: grid;
  gap: 8px;
}

.client-live-empty-stage-text {
  margin: 0;
  color: #667085;
  font-size: 1rem;
  line-height: 1.45;
}

.client-live-import-picker {
  display: grid;
  gap: 16px;
}

.client-live-import-section-head {
  align-items: center;
  gap: 12px;
}

.client-live-import-section-copy {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.client-live-import-section-copy .client-archive-section-divider {
  margin-top: 0;
}

.client-live-import-confirm {
  min-width: 146px;
  min-height: 42px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(47, 111, 237, 0.18);
}

.client-live-import-confirm[disabled],
.client-live-import-confirm[aria-disabled="true"] {
  border-color: #d0d7e2;
  background: #ffffff;
  color: #98a2b3;
  box-shadow: none;
}

.client-archive-head.client-live-import-head,
.client-archive-accordion-summary.client-live-import-accordion-summary {
  grid-template-columns: 32px 175px 245px minmax(360px, 1fr) 24px;
  gap: 14px;
  justify-content: start;
}

.client-live-import-head {
  padding-left: 6px;
  padding-right: 10px;
}

.client-live-import-head span:nth-child(3),
.client-live-import-accordion-summary .client-archive-accordion-city {
  position: relative;
  left: -78px;
}

.client-live-import-head span:nth-child(4),
.client-live-import-accordion-summary .client-archive-accordion-title {
  position: relative;
  left: -132px;
}

.client-live-import-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.client-live-import-option-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.client-live-import-option-dot {
  width: 26px;
  height: 26px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fafc 0%, #e5e7eb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.client-live-import-option-input:checked + .client-live-import-option-dot {
  border-color: #4f8df7;
  background: radial-gradient(circle at 35% 35%, #718dff 0%, #5b73f0 58%, #405ad8 100%);
  box-shadow: 0 10px 20px rgba(79, 141, 247, 0.24);
  transform: scale(1.06);
}

.client-live-import-accordion.is-selected {
  border-color: #b8d4ff;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 14px 24px rgba(79, 141, 247, 0.1);
}

.client-live-import-accordion-summary {
  padding-top: 18px;
  padding-bottom: 18px;
}

.client-live-import-accordion-summary .client-archive-accordion-title {
  font-size: 0.98rem;
  line-height: 1.2;
  justify-self: start;
  text-align: left;
  min-width: 0;
}

.client-live-import-accordion-summary .client-archive-accordion-city {
  font-weight: 600;
}

.client-live-import-head span:nth-child(3),
.client-live-import-head span:nth-child(4) {
  justify-self: start;
}

.client-live-import-accordion-summary .client-archive-accordion-toggle {
  justify-self: end;
  margin-right: 6px;
}

.client-live-empty-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 0 4px;
  border-top: 1px solid #eadfbd;
}

.client-live-empty-actions-copy {
  margin: 0;
  color: #667085;
  font-size: 0.96rem;
  line-height: 1.45;
}

.client-live-empty-footer {
  padding-top: 4px;
  border-top: 1px solid #eadfbd;
}

.client-live-event-create-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: 58px;
  height: 58px;
  margin-top: 2px;
  border: 1px solid #7dcb8f;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #72d087 0%, #56c271 58%, #48b565 100%);
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 14px 22px rgba(86, 194, 113, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.client-live-event-create-button:hover,
.client-live-event-create-button:focus-visible {
  transform: translateY(-2px) scale(1.03);
  border-color: #2f6fed;
  background: #2f6fed;
  box-shadow: 0 18px 28px rgba(47, 111, 237, 0.24);
  filter: none;
}

.client-live-event-create-button-disabled {
  opacity: 0.65;
  pointer-events: none;
  box-shadow: none;
}

.client-live-event-app-panel {
  position: absolute;
  top: 198px;
  right: 26px;
  width: clamp(88px, 8.2vw, 112px);
  display: grid;
  justify-items: center;
}

.client-live-event-app-panel-block {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.client-live-event-app-panel-qr {
  justify-items: center;
}

.client-live-event-app-qr-image,
.client-live-event-app-qr-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #d8dfeb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

.client-live-event-app-qr-image {
  display: block;
  object-fit: contain;
  padding: 8px;
}

.client-live-event-app-qr-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #98a2b3;
  font-size: 1rem;
  font-weight: 800;
}

.client-live-event-app-qr-caption {
  color: #475467;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.client-events-archive-block {
  margin-top: 26px;
  padding-top: 2px;
}

.client-archive-shell {
  display: block;
}

.client-archive-shell-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid #cfe3cf;
  border-radius: 24px;
  background: linear-gradient(180deg, #eff9ef 0%, #f8fdf8 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
  list-style: none;
}

.client-archive-shell-summary-static {
  cursor: default;
}

.client-archive-shell-summary::-webkit-details-marker {
  display: none;
}

.client-archive-shell-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.client-archive-shell-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #667085;
  border-bottom: 1.5px solid #667085;
  transform: rotate(45deg);
  transition: transform 0.18s ease, top 0.18s ease;
}

.client-archive-shell[open] .client-archive-shell-toggle::before {
  top: 7px;
  transform: rotate(225deg);
}

.client-empty-state.client-empty-state-compact {
  margin-top: 14px;
  padding: 20px 24px;
}

.client-archive-card-inner {
  padding: 24px 24px 22px;
  border: 1px solid #cfe3cf;
  border-radius: 24px;
  background: linear-gradient(180deg, #eff9ef 0%, #f8fdf8 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.client-archive-section-copy {
  margin-bottom: 8px;
}

.client-archive-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.client-archive-title {
  margin: 0;
  font-family: "Open Sans", "IBM Plex Sans", Arial, sans-serif;
  font-size: 1.62rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.client-archive-description {
  margin: 8px 0 0;
  color: #667085;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
}

.client-archive-section-divider {
  width: 100%;
  height: 1px;
  margin-top: 8px;
  background: rgba(43, 58, 85, 0.14);
}

.client-archive-accordion-actions-head {
  margin-top: 0;
  flex: 0 0 auto;
}

.client-archive-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.client-archive-filter {
  min-width: 128px;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid #d6dbe5;
  border-radius: 7px;
  background: #ffffff;
  color: #111111;
  font-size: 0.84rem;
  font-weight: 700;
}

.client-archive-accordion-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.client-archive-footnote {
  margin: 16px 0 0;
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 600;
}

.client-archive-head,
.client-archive-accordion-summary {
  display: grid;
  grid-template-columns: 118px 94px minmax(0, 1fr) 52px 72px 24px;
  gap: 12px;
  align-items: center;
}

.client-archive-head {
  padding: 0 14px 2px;
  color: #6b7280;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.client-archive-accordion {
  display: block;
  border: 1px solid #d7e6d7;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.client-archive-accordion[open] {
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.client-archive-accordion-summary {
  list-style: none;
  padding: 14px 14px;
}

.client-archive-accordion-summary::-webkit-details-marker {
  display: none;
}

.client-archive-accordion-dates {
  display: grid;
  gap: 2px;
}

.client-archive-date,
.client-archive-accordion-city,
.client-archive-accordion-count {
  color: #344054;
  font-size: 0.79rem;
  line-height: 1.2;
}

.client-archive-date {
  white-space: nowrap;
}

.client-archive-accordion-city {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-archive-accordion-title {
  min-width: 0;
  color: #111827;
  font-size: 0.96rem;
  line-height: 1.2;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-archive-accordion-toggle {
  position: relative;
  width: 16px;
  height: 16px;
  justify-self: center;
}

.client-archive-accordion-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #667085;
  border-bottom: 1.5px solid #667085;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.client-archive-accordion[open] .client-archive-accordion-toggle::before {
  transform: rotate(225deg);
  top: 7px;
}

.client-archive-accordion-body {
  grid-column: 1 / -1;
  padding: 4px 14px 16px;
  border-top: 1px solid #e7edd7;
  background: rgba(255, 255, 255, 0.7);
}

.client-archive-accordion-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 14px;
}

.client-archive-action-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.client-archive-accordion-actions .ghost-button {
  min-height: 38px;
  padding: 8px 18px;
  font-size: 0.95rem;
  white-space: nowrap;
  background: #ffffff;
  color: #111827;
  border-color: #d0d7e2;
}

.client-archive-accordion-actions .ghost-button:hover,
.client-archive-accordion-actions .ghost-button:focus-visible {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #ffffff;
}

.client-archive-delete-form {
  margin: 0;
}

.client-archive-delete-button:hover,
.client-archive-delete-button:focus-visible {
  background: #d14343;
  border-color: #d14343;
  color: #ffffff;
}

.client-archive-event-grid {
  display: grid;
  gap: 2px;
}

.client-archive-event-grid .client-event-inline-list {
  max-width: 1100px;
  padding-left: 0;
}

.client-event-row[open] {
  border-color: #bfd3f6;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.client-event-summary {
  list-style: none;
  padding: 8px 10px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.client-event-summary::-webkit-details-marker {
  display: none;
}

.client-event-date,
.client-event-room-count,
.client-event-open-wrap {
  font-size: 0.78rem;
}

.client-event-dates {
  display: grid;
  gap: 2px;
  align-content: center;
}

.client-event-dates .client-event-date {
  display: block;
  font-size: 0.74rem;
  line-height: 1.05;
  white-space: nowrap;
}

.client-event-city {
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.05;
  color: #344054;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: -12px;
}

.client-events-head > :nth-child(3) {
  margin-left: -12px;
}

.client-event-title,
.client-events-head > :nth-child(4) {
  margin-left: -26px;
}

.client-events-head > :nth-child(5),
.client-events-head > :nth-child(6),
.client-events-head > :nth-child(7) {
  font-size: 0.64rem;
  letter-spacing: 0.02em;
}

.client-event-speaker-count {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

.client-event-title {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.15;
}

.client-event-moderator {
  min-width: 0;
  display: grid;
  gap: 1px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.client-event-moderator a,
.client-event-room-link a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.client-event-moderator small {
  color: var(--muted);
  font-size: 0.78rem;
}

.client-event-room-count {
  font-weight: 600;
  text-align: center;
}

.client-event-survey-count {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

.client-event-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  justify-self: center;
}

.client-event-toggle::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #667085;
  border-bottom: 1.5px solid #667085;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.client-event-row[open] .client-event-toggle::before {
  transform: rotate(225deg);
  top: 8px;
}

.client-event-row[open] .client-event-summary {
  background: rgba(255, 255, 255, 0.72);
}

.client-event-row[open] .client-event-title {
  color: #0f172a;
}

.client-event-open-wrap {
  display: flex;
  justify-content: flex-end;
}

.client-event-open {
  min-width: 54px;
  white-space: nowrap;
}

.client-event-open:hover,
.client-event-open:focus-visible,
.client-event-room-action .ghost-button:hover,
.client-event-room-action .ghost-button:focus-visible {
  border-color: #8fb8ff;
  background: linear-gradient(180deg, #eef6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  box-shadow: 0 8px 18px rgba(47, 111, 237, 0.14);
}

.client-event-compact {
  padding: 10px 12px 10px;
  border-top: 1px solid var(--line);
  position: relative;
  background: linear-gradient(180deg, #f9fbff 0%, #f3f8ff 100%);
}

.client-event-compact::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: #7da7f7;
}

.client-event-rooms-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 2px;
}

.client-event-inline-main {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding-top: 6px;
  padding-left: 12px;
}

.client-event-inline-title {
  margin: 0;
  color: #111827;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
}

.client-event-inline-meta,
.client-event-inline-submeta {
  margin: 0;
  color: #344054;
  font-size: 0.8rem;
  line-height: 1.25;
}

.client-event-rooms-note {
  margin: 8px 0 0;
  color: #667085;
  font-size: 0.73rem;
  line-height: 1.25;
  padding-left: 12px;
}

.client-event-rooms-actions:not(.client-live-event-actions) {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  margin-left: auto;
}

.client-event-rooms-actions .ghost-button {
  min-height: 38px;
  padding: 8px 18px;
  font-size: 0.95rem;
  white-space: nowrap;
  background: #ffffff;
  color: #111827;
  border-color: #d0d7e2;
}

.client-event-rooms-actions .ghost-button:hover,
.client-event-rooms-actions .ghost-button:focus-visible {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #ffffff;
}

.client-event-rooms-actions .client-event-delete-button:hover,
.client-event-rooms-actions .client-event-delete-button:focus-visible {
  background: #d14343;
  border-color: #d14343;
  color: #ffffff;
}

.client-event-inline-list {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 6px;
  padding-left: 12px;
}

.client-event-inline-label {
  color: #5b74f0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.client-event-inline-values {
  color: #111827;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.client-archive-statistics-values {
  display: grid;
  gap: 4px;
}

.client-archive-statistics-note {
  color: #475467;
  font-weight: 400;
}

.client-event-speaker-inline-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.client-event-speaker-inline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f04438;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 1100px) {
  .client-live-event-faculty-button {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .client-live-event-cta-arrow {
    width: 52px;
  }

  .client-event-rooms-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .client-event-rooms-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .client-live-event-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .client-live-event-summary-head {
    gap: 14px;
  }

  .client-live-event-summary-main .client-event-inline-title { font-size: 1.55rem; }

  .client-live-event-card-inner,
  .client-live-event-card-empty .client-live-event-card-inner {
    padding-right: 24px;
  }

  .client-archive-head.client-live-import-head,
  .client-archive-accordion-summary.client-live-import-accordion-summary {
    grid-template-columns: 32px 148px 205px minmax(200px, 1fr) 24px;
  }

  .client-live-event-app-panel {
    position: static;
    width: 100%;
    margin-top: 18px;
    justify-items: center;
  }
}

@media (max-width: 720px) {
  .client-live-slot-select {
    min-width: 132px;
    font-size: 0.82rem;
  }

  .client-live-empty-stage-copy-with-action {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .client-live-import-section-head {
    align-items: stretch;
  }

  .client-live-import-head,
  .client-live-import-accordion-summary {
    grid-template-columns: 28px minmax(0, 1fr) 24px;
    gap: 10px;
  }

  .client-live-import-head {
    display: none;
  }

  .client-live-import-accordion-summary .client-archive-accordion-dates,
  .client-live-import-accordion-summary .client-archive-accordion-city,
  .client-live-import-accordion-summary .client-archive-accordion-title,
  .client-live-import-accordion-summary .client-archive-accordion-count {
    grid-column: 2;
  }

  .client-live-import-accordion-summary .client-archive-accordion-toggle {
    grid-column: 3;
    grid-row: 1 / span 2;
    justify-self: end;
  }

  .client-live-import-option-dot {
    width: 22px;
    height: 22px;
    margin-top: 2px;
  }

  .client-event-inline-list {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .client-live-event-card {
    padding-top: 18px;
  }

  .client-live-event-card-inner {
    padding: 22px 16px 18px;
    border-radius: 20px;
  }

  .client-live-event-summary-head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .client-live-event-create-button {
    width: 52px;
    height: 52px;
    font-size: 2rem;
  }

  .client-live-event-badge-image,
  .client-live-event-badge-fallback {
    top: -8px;
    right: 14px;
  }

  .client-events-archive-group {
    padding: 18px 14px 14px;
    border-radius: 18px;
  }

  .client-live-event-summary-main .client-event-inline-title { font-size: 1.32rem; }

  .client-live-event-summary-main .client-event-inline-meta {
    font-size: 0.9rem;
  }
}

.client-login-form {
  gap: 14px;
}

.client-login-form .field input {
  min-height: 56px;
  padding-inline: 18px;
  border-radius: 18px;
}

.client-login-form .actions {
  margin-top: 8px;
}

.client-account-accordion {
  margin-top: 12px;
  padding: 0;
  overflow: hidden;
}

.client-account-summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  cursor: pointer;
}

.client-account-summary::-webkit-details-marker {
  display: none;
}

.client-account-summary strong {
  display: block;
  font-size: 0.96rem;
  color: #111827;
}

.client-account-summary .compact-copy {
  margin: 3px 0 0;
}

.client-account-summary-toggle {
  width: 10px;
  height: 10px;
  border-right: 2px solid #7b8796;
  border-bottom: 2px solid #7b8796;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.client-account-accordion[open] .client-account-summary-toggle {
  transform: rotate(225deg);
}

.client-account-panel {
  padding: 0 18px 18px;
  border-top: 1px solid #e5edf6;
}

.client-home-card {
  background: #ffffff;
  border-color: #dbe4ee;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.client-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: center;
  padding-bottom: 16px;
}

.client-home-copy h2 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.1;
}

.client-home-copy .compact-copy {
  margin-top: 10px;
  max-width: 620px;
}

.client-home-shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.client-home-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #d6e0ec;
  border-radius: 999px;
  background: #fff;
  color: #1f2937;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.client-home-pill:hover,
.client-home-pill:focus-visible {
  border-color: #8fb8ff;
  background: #eef6ff;
  color: #1d4ed8;
  transform: translateY(-1px);
}

.client-home-pill.is-primary {
  border-color: #2f6fed;
  background: #2f6fed;
  color: #fff;
}

.client-home-pill.is-primary:hover,
.client-home-pill.is-primary:focus-visible {
  border-color: #245fdb;
  background: #245fdb;
  color: #fff;
}

.client-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 4px 0 14px;
}

.client-section-head h2 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.15;
}

.client-empty-state {
  padding: 18px 16px;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #fff;
}

.client-dashboard-body .admin-card:not(.admin-header-card):not(.event-exit-card) {
  background: #ffffff;
  border-color: #dbe4ee;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.client-events-table {
  margin-top: 10px;
}

.client-account-accordion {
  border-color: #dbe4ee;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.client-profile-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.client-profile-block {
  padding: 14px 16px;
  border: 1px solid #dbe4ee;
  border-radius: 16px;
  background: #fff;
}

.client-profile-block h3 {
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.2;
}

.client-profile-steps {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.45;
}

.client-profile-steps li + li {
  margin-top: 7px;
}

.client-profile-rows {
  display: grid;
  gap: 2px;
}

.client-profile-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px solid #edf2f7;
}

.client-profile-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.client-profile-key {
  color: #6b7280;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.client-profile-value {
  color: #111827;
  font-size: 0.92rem;
  line-height: 1.4;
}

.client-profile-actions {
  margin-top: 12px;
}

.admin-card-form {
  width: 100%;
  max-width: none;
  background: #d3d6db;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 12px;
}

.survey-list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 6px 30px 12px;
}

.survey-list-head-active-view {
  padding-bottom: 24px;
}

.survey-list-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 2.8vw, 2.25rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.05em;
  color: #182132;
}

.survey-list-head-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.survey-section-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 600;
}

.survey-section-meta span {
  position: relative;
}

.survey-section-meta span + span::before {
  content: '·';
  color: #98a2b3;
  position: absolute;
  left: -8px;
}

.survey-list-head-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: nowrap;
}

.survey-list-head-title-row h2 {
  white-space: nowrap;
}

.survey-list-head-empty {
  color: #667085;
  font-weight: 600;
  font-size: 0.84rem;
}

.survey-list-head-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.survey-list-head-new-survey {
  flex: 0 0 auto;
}

.survey-list-head-import-button {
  flex: 0 0 auto;
}

.survey-import-inline-note {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 40;
  max-width: 360px;
  padding: 12px 14px;
  border: 1px solid #d8e1ef;
  border-radius: 14px;
  background: #ffffff;
  color: #667085;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.survey-list-head-new-survey:hover,
.survey-list-head-new-survey:focus-visible,
.survey-list-head-import-button:hover,
.survey-list-head-import-button:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.survey-list-head-tools-compact {
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 41;
}

.survey-list-head-tools-compact form {
  margin: 0;
}

.client-events-pane .survey-list-head-tools-compact > .primary-button {
  background: #e7ebf1;
  border-color: #e7ebf1;
  color: #111827;
  font-weight: 700;
}

.client-events-pane .survey-list-head-tools-compact > .primary-button:hover,
.client-events-pane .survey-list-head-tools-compact > .primary-button:focus-visible {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #ffffff;
}

body.survey-import-modal-open {
  overflow: hidden;
}

body.event-reset-modal-open {
  overflow: hidden;
}

.event-reset-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
}

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

.event-reset-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
}

.event-reset-modal-dialog {
  position: relative;
  width: min(640px, 100%);
  border: 1px solid #d8e1ef;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.event-reset-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 12px;
}

.event-reset-modal-head-copy h3 {
  margin: 0;
  color: #111827;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.15;
}

.event-reset-modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid #d8e1ef;
  border-radius: 14px;
  background: #ffffff;
  color: #344054;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.event-reset-modal-body {
  padding: 0 24px 8px;
}

.event-reset-modal-text {
  margin: 0;
  color: #475467;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 600;
}

.event-reset-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 24px 24px;
}

.event-reset-modal-confirm {
  white-space: nowrap;
}

.survey-import-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
}

.survey-import-modal[hidden] {
  display: none !important;
}

.survey-import-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
}

.survey-import-modal-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: min(82vh, 920px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid #d8e1ef;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.survey-import-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #e8eef8;
}

.survey-import-modal-head-copy {
  display: grid;
  gap: 6px;
}

.survey-import-modal-head-copy h3 {
  margin: 0;
  color: #111827;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
}

.survey-import-modal-head-copy p {
  margin: 0;
  color: #667085;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.survey-import-modal-close {
  width: 44px;
  height: 44px;
  border: 1px solid #d8e1ef;
  border-radius: 14px;
  background: #ffffff;
  color: #344054;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.survey-import-modal-form {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
}

.survey-import-modal-body {
  min-height: 0;
  overflow: auto;
  padding: 22px 24px 12px;
}

.survey-import-list {
  display: grid;
  gap: 14px;
}

.survey-import-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid #d8e1ef;
  border-radius: 18px;
  background: #fbfdff;
  cursor: pointer;
}

.survey-import-item-check {
  padding-top: 2px;
}

.survey-import-item-check input {
  width: 18px;
  height: 18px;
}

.survey-import-item-content {
  display: grid;
  gap: 8px;
}

.survey-import-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: #667085;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.survey-import-item-question {
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.survey-import-item-answers {
  color: #475467;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.survey-import-empty-state {
  padding: 18px 20px;
  border: 1px dashed #d8e1ef;
  border-radius: 18px;
  background: #fbfdff;
  color: #667085;
  font-size: 0.95rem;
  font-weight: 600;
}

.survey-import-modal-note {
  padding: 0 24px 18px;
  color: #667085;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
}

.survey-import-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 24px 24px;
}

.survey-import-confirm-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.survey-head-tools-separator {
  width: 1px;
  height: 24px;
  background: #d0d7e2;
  margin: 0 4px;
  flex: 0 0 auto;
}

.survey-head-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.9rem;
  line-height: 1.1;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.survey-head-nav-button:hover,
.survey-head-nav-button:focus-visible {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(47, 111, 237, 0.18);
}

.survey-head-nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
}

.survey-head-return-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  animation: survey-return-arrow-pulse 1.2s ease-in-out infinite;
}

@keyframes survey-return-arrow-pulse {
  0%, 100% {
    opacity: 1;
    transform: translateX(0);
  }

  50% {
    opacity: 0.35;
    transform: translateX(-3px);
  }
}

.survey-head-current-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 10px;
  background: #e9f1ff;
  border: 1px solid #cfe0ff;
  color: #255ff2;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.survey-head-close-button {
  background: #ffffff;
  border-color: #cdd6e4;
  color: #101828;
  align-self: center;
}

.survey-head-close-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #d0d5dd;
  color: #101828;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
}

.survey-head-close-button:hover,
.survey-head-close-button:focus-visible {
  background: #d92d20;
  border-color: #d92d20;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(217, 45, 32, 0.2);
}

.survey-head-close-button:hover .survey-head-close-icon,
.survey-head-close-button:focus-visible .survey-head-close-icon {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.is-suggested-action {
  animation: suggested-action-pulse 1.8s ease-in-out infinite;
}

.survey-head-close-button.is-suggested-action {
  animation-name: suggested-action-dark-pulse;
}

@keyframes suggested-action-pulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(47, 111, 237, 0.12);
  }

  50% {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(47, 111, 237, 0.22);
  }
}

@keyframes suggested-action-dark-pulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(52, 64, 84, 0.18);
  }

  50% {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(52, 64, 84, 0.28);
  }
}

.survey-head-filter-field {
  display: block;
  min-width: 220px;
  margin: 0;
}

.survey-head-filter-field select {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 34px;
  min-height: 34px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25L6 6.25L11 1.25' fill='none' stroke='%2317223b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.1;
  box-sizing: border-box;
  cursor: pointer;
}

.survey-header-filter-form {
  margin: 0;
}

.survey-header-filter-field {
  display: block;
  min-width: 220px;
}

.survey-header-filter-field select {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-height: 36px;
  height: 36px;
  padding: 0 38px 0 12px;
  border: 1px solid #e7d28a;
  border-radius: 10px;
  background-color: #fff3c4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25L6 6.25L11 1.25' fill='none' stroke='%236b5a16' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
  color: #4f4314;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.1;
  box-sizing: border-box;
  cursor: pointer;
}

.admin-event-step .survey-header-filter-form,
.admin-event-step .admin-nav-inline-form {
  margin: 0;
}

@media (max-width: 1100px) {
  .admin-event-header-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-event-exit {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .admin-event-step {
    flex-wrap: wrap;
    width: 100%;
  }

  .admin-event-step-form,
  .admin-event-step .survey-header-filter-form,
  .admin-event-select-field,
  .admin-event-select-field select,
  .admin-event-step .survey-header-filter-field {
    width: 100%;
    min-width: 0;
  }

  .admin-event-mode-group {
    width: 100%;
  }
}

.survey-list-divider {
  height: 1px;
  margin: 0 30px 18px;
  background: var(--line);
}

.survey-list-divider-active-inner {
  margin-left: 0;
  margin-right: 0;
}

.survey-form-body {
  padding: 0 30px;
}

.survey-editor-shell {
  display: grid;
  gap: 20px;
}

.survey-editor-panel {
  padding: 20px 22px;
  border: 1px solid #cfd9e6;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.survey-editor-panel-header {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border-color: #d8e1ee;
  padding-bottom: 12px;
}

.survey-editor-panel-header .survey-list-head,
.survey-editor-panel-header .survey-type-pills {
  padding-left: 0;
  padding-right: 0;
}

.survey-editor-panel-header .survey-list-divider {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 14px;
}

.survey-editor-panel-header .survey-type-pills-standalone {
  margin-bottom: 0;
}

.survey-editor-panel-content {
  display: grid;
  gap: 14px;
}

.survey-editor-panel-settings,
.survey-editor-panel-settings.survey-create-settings {
  background: linear-gradient(180deg, #fffaf0 0%, #fff5dc 100%);
  border-color: #e4cf97;
  padding: 20px 22px;
  border-width: 1px;
  border-style: solid;
  border-radius: 18px;
}

.section-head-compact {
  margin-bottom: 10px;
}

.survey-admin-list,
.stack {
  display: grid;
  gap: 8px;
}

.active-panel-head,
.prepared-head {
  margin-bottom: 0;
}

.survey-admin-item-active {
  align-items: flex-start;
  margin-bottom: 4px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.survey-admin-item.survey-admin-item-active {
  background: linear-gradient(180deg, #f3fff5 0%, #edf9f0 100%);
  padding: 30px 30px 28px;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(39, 174, 96, 0.08);
}

.survey-admin-item.survey-admin-item-live {
  border-color: #bfe8ce;
  background: linear-gradient(180deg, #f7fff9 0%, #f3fbf6 100%);
  box-shadow: inset 0 0 0 1px rgba(39, 174, 96, 0.12);
}

.survey-admin-item.survey-admin-item-active.survey-admin-item-live {
  border-color: #bfe8ce;
  background: linear-gradient(180deg, #f3fff5 0%, #edf9f0 100%);
}

.survey-admin-item.survey-admin-item-active.survey-admin-item-has-votes {
  border-color: #ead58f;
  background: linear-gradient(180deg, #fff6d8 0%, #ffefbf 100%);
  box-shadow: inset 0 0 0 1px rgba(202, 161, 43, 0.10);
}

.survey-admin-item.survey-admin-item-standby {
  border-color: #e4e7ec;
  background: linear-gradient(180deg, #fbfbfc 0%, #f5f6f8 100%);
  box-shadow: inset 0 0 0 1px rgba(152, 162, 179, 0.08);
}

.survey-admin-item.survey-admin-item-active.survey-admin-item-standby {
  border-color: #bfe8ce;
  background: linear-gradient(180deg, #f3fff5 0%, #edf9f0 100%);
}

.active-survey-export-row {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.active-survey-footer-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
}

.active-survey-footer-nav form {
  margin: 0;
}

.active-survey-footer-nav-button {
  min-width: 34px;
  min-height: 30px;
  padding: 6px 10px;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
}

.active-survey-export-button {
  min-height: 30px;
  padding: 6px 12px;
  font-size: 0.78rem;
  line-height: 1.1;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.active-survey-export-button:hover,
.active-survey-export-button:focus-visible {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.18);
  transform: translateY(-1px);
}

.active-options-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.active-results-note {
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #f8fbff;
  color: #4a6486;
  font-size: 0.84rem;
  line-height: 1.4;
}

.active-results-hidden-card {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 16px 18px;
  border: 1px dashed #d7e1ee;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdff 0%, #f6f9fc 100%);
  color: #607089;
}

.active-results-hidden-card strong {
  color: #324a67;
  font-size: 0.98rem;
}

.active-options-preview {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.active-options-preview-item {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #dfe7f2;
  border-radius: 14px;
  background: #fff;
  color: #23344d;
  font-size: 1.14rem;
  font-weight: 500;
}

.active-open-text-responses .active-options-preview-item {
  align-items: flex-start;
  padding: 14px 16px;
}

.active-open-text-responses .active-options-preview-item span {
  white-space: pre-wrap;
}

.active-rating-preview-scale {
  --rating-gap: 12px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--rating-gap);
  align-items: start;
  margin-top: 4px;
}

.active-rating-preview-scale::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 23px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7e3f6 0%, #c8d8f4 100%);
}

.active-rating-scale-progress {
  position: absolute;
  left: 0;
  top: 20px;
  height: 9px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #8bb8ff 0%, #5f8df5 100%);
  box-shadow: 0 10px 22px rgba(79, 127, 240, 0.18);
  transition: width 1.16s ease-in-out, opacity 0.28s ease;
  z-index: 0;
  opacity: 0;
}

.active-rating-scale-point {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.active-rating-scale-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid #d7e3f6;
  background: #fff;
  color: #2f6fed;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.active-rating-scale-caption {
  max-width: 86px;
  text-align: center;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.active-rating-preview-scale-results .active-rating-scale-votes {
  color: #7a8799;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.active-rating-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(122, 135, 153, 0.18);
}

.active-rating-summary-item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.active-rating-summary-label {
  color: #7a8799;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
}

.active-rating-summary-value {
  color: #40506a;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.active-option-row {
  --moderator-fill-start: #8bb8ff;
  --moderator-fill-end: #4f7ff0;
  --moderator-badge-border: #cfe0ff;
  --moderator-badge-text: #2f6fed;
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}

.active-rating-results {
  display: block;
}

.active-rating-preview-scale-results .active-rating-scale-dot.is-rating-final {
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  transform: translateY(-1px) scale(1.04);
}

.active-rating-preview-scale-results .active-rating-scale-dot.is-rating-final {
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.22);
}

.active-rating-scale-progress.is-rating-progress-active {
  opacity: 1;
}

.active-rating-preview-scale [data-rating-step="1"] .active-rating-scale-dot.is-rating-final {
  border-color: #e53935;
  background: #e53935;
}

.active-rating-preview-scale [data-rating-step="2"] .active-rating-scale-dot.is-rating-final {
  border-color: #fb8c00;
  background: #fb8c00;
}

.active-rating-preview-scale [data-rating-step="3"] .active-rating-scale-dot.is-rating-final {
  border-color: #8e24aa;
  background: #8e24aa;
  color: #fff;
}

.active-rating-preview-scale [data-rating-step="4"] .active-rating-scale-dot.is-rating-final {
  border-color: #43a047;
  background: #43a047;
}

.active-rating-preview-scale [data-rating-step="5"] .active-rating-scale-dot.is-rating-final {
  border-color: #1e88e5;
  background: #1e88e5;
}

.active-option-meta {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  font-size: 1.18rem;
  line-height: 1.3;
}

.active-survey-main {
  gap: 20px;
}

.active-survey-status-row {
  display: block;
}

.survey-admin-item.survey-admin-item-active .active-survey-title {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 2.8vw, 2.25rem);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.survey-admin-item-active .survey-admin-meta {
  font-size: 0.9rem;
  gap: 10px;
  color: #667085;
}

.active-command-panel {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: minmax(260px, 28%) minmax(120px, 12%) minmax(0, 60%);
  gap: 8px 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  align-items: center;
}

.active-command-panel-with-votes {
  grid-template-columns: minmax(260px, 28%) minmax(120px, 12%) minmax(0, 60%);
  align-items: center;
}

.active-command-panel-live {
  border-color: transparent;
  background: transparent;
}

.active-command-panel-standby {
  border-color: transparent;
  background: transparent;
}

.active-command-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  min-height: 58px;
}

.active-command-status {
  margin-top: 0;
  display: flex;
  justify-content: stretch;
  align-items: center;
  min-height: 58px;
}

.active-survey-tools {
  display: block;
}

.active-control-pill {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #d9e0ea;
  background: #f6f8fb;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.active-voting-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 58px;
  gap: 0;
  padding: 6px;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.active-voting-toggle::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: calc(50% - 6px);
  border-radius: 14px;
  background: linear-gradient(180deg, #5f92f5 0%, #4278e8 100%);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.18);
  transition: left 0.18s ease, right 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.active-voting-toggle-state-start::before {
  left: 6px;
}

.active-voting-toggle-state-stop::before {
  left: calc(50% + 0px);
  background: linear-gradient(180deg, #ea5c5c 0%, #d73f3f 100%);
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.16);
}

.active-voting-toggle-form {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
}

.active-voting-toggle-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #7f8ca3;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

button.active-voting-toggle-option {
  cursor: pointer;
  transition: color 0.18s ease;
}

.active-voting-toggle-option-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid currentColor;
  flex: 0 0 auto;
}

.active-voting-toggle-option-icon-play::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.active-voting-toggle-option-icon-stop::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 1px;
}

.active-voting-toggle-option-active {
  color: #fff;
  text-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.active-voting-toggle-option-inactive {
  color: #91a0b8;
}

.active-results-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid #d8e0ec;
  background: linear-gradient(180deg, #f2f5fa 0%, #e7edf6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #64748b;
}

.active-results-hint-text {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  animation: active-results-text-pulse 1.8s ease-in-out infinite;
}

.active-results-hint-eye {
  width: 24px;
  height: 14px;
  flex: 0 0 auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14' fill='none'%3E%3Cpath d='M1 7C3.6 3.5 7.2 1.5 12 1.5C16.8 1.5 20.4 3.5 23 7C20.4 10.5 16.8 12.5 12 12.5C7.2 12.5 3.6 10.5 1 7Z' stroke='%232563eb' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='7' r='2.5' fill='%232563eb'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.active-results-hint-arrow {
  position: relative;
  width: 14px;
  height: 22px;
  color: #2563eb;
  animation: active-results-arrow-bounce 1.4s ease-in-out infinite;
}

.active-results-hint-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 12px;
  background: currentColor;
  transform: translateX(-50%);
  border-radius: 999px;
}

.active-results-hint-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

@keyframes active-results-arrow-bounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

@keyframes active-results-text-pulse {
  0%, 100% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 0.72;
    transform: translateY(-1px);
  }
}

.active-control-icon {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  color: currentColor;
}

.active-control-icon-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.active-control-icon-stop::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 2px;
  background: currentColor;
}

@keyframes play-suggestion-pulse {
  0% {
    border-color: #60a5fa;
    background: linear-gradient(180deg, #eef6ff 0%, #dbeafe 100%);
    color: #2563eb;
    box-shadow:
      0 0 0 0 rgba(37, 99, 235, 0.28),
      0 10px 18px rgba(37, 99, 235, 0.12);
  }

  50% {
    border-color: #93c5fd;
    background: linear-gradient(180deg, #f4f9ff 0%, #e4f0ff 100%);
    color: #2563eb;
    box-shadow:
      0 0 0 8px rgba(37, 99, 235, 0),
      0 12px 20px rgba(37, 99, 235, 0.16);
  }

  100% {
    border-color: #60a5fa;
    background: linear-gradient(180deg, #eef6ff 0%, #dbeafe 100%);
    color: #2563eb;
    box-shadow:
      0 0 0 0 rgba(37, 99, 235, 0),
      0 10px 18px rgba(37, 99, 235, 0.12);
  }
}

.active-control-pill-results {
  border-color: #cfe0ff;
  background: #eef4ff;
  color: #255ff2;
}

.command-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 36px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #dbe3ef;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}

.command-toggle-label {
  font-size: 0.84rem;
  font-weight: 600;
  transition: color 0.18s ease;
}

.command-toggle-track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #e7edf5;
  flex: 0 0 auto;
}

.command-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(12, 16, 24, 0.18);
}

.command-toggle-on {
  border-color: #bfe8ce;
  background: #eefaf2;
  color: #1f8f52;
}

.command-toggle-on .command-toggle-label-left {
  color: #9ab6a4;
}

.command-toggle-on .command-toggle-label-right {
  color: #1f8f52;
}

.command-toggle-on .command-toggle-track {
  background: #33b469;
}

.command-toggle-on .command-toggle-knob {
  left: 20px;
}

.command-toggle-off {
  border-color: #d0d5dd;
  background: #f8f9fb;
  color: #667085;
}

.command-toggle-off .command-toggle-label-left {
  color: #344054;
}

.command-toggle-off .command-toggle-label-right {
  color: #98a2b3;
}

.command-toggle-off .command-toggle-track {
  background: #d0d5dd;
}

.active-toggle-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: 10px;
  border: 1px solid #edf2f7;
  background: #f8fafc;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.active-toggle-button {
  min-width: 0;
  min-height: 36px;
  font-size: 0.84rem;
}

.active-toggle-step.is-done {
  background: #eef6ff;
  color: var(--accent);
  border-color: #d7e6ff;
}

.active-stop-selected {
  background: #d92d20;
  color: #fff;
  border-color: #d92d20;
}

.active-results-selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.active-results-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.active-results-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  animation: results-arrow-pulse 0.9s ease-in-out infinite;
}

.active-bar-track {
  position: relative;
  overflow: visible;
  height: 16px;
  background: #edf2f8;
  border-radius: 999px;
  margin-right: 132px;
}

.active-option-percent-badge {
  position: absolute;
  top: 50%;
  left: clamp(34px, var(--option-percent), calc(100% - 34px));
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--moderator-badge-border);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  color: var(--moderator-badge-text);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.active-option-votes-badge {
  position: absolute;
  top: 50%;
  left: calc(100% + 18px);
  transform: translateY(-50%);
  min-width: 92px;
  color: #101828;
  font-size: 0.96rem;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.active-survey-label {
  --live-progress: 100%;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 18px;
  color: #344054;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #f2f5fa 0%, #e7edf6 100%);
  border: 1px solid #d8e0ec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.active-survey-label-live {
  padding-right: 16px;
}

.survey-list-accordion {
  margin-top: 34px;
  padding: 4px 30px 10px;
  border-radius: 20px;
  background: #fff9ea;
}

.survey-flat-list {
  display: grid;
  gap: 14px;
  padding: 0 30px 10px;
}

.survey-flat-list .survey-empty-state {
  margin: 0;
  padding: 0;
}

.survey-list-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 24px;
  cursor: pointer;
  list-style: none;
  color: #101828;
}

.survey-list-summary h2 {
  margin: 0;
  font-size: clamp(1.85rem, 2.8vw, 2.25rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.survey-active-index {
  color: #d92d20;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.survey-active-title-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.survey-active-title-nav-form {
  display: inline-flex;
  margin: 0;
}

.survey-active-title-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 26px;
  padding: 0;
  border: 1px solid #cdd6e4;
  border-radius: 999px;
  background: #ffffff;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.survey-active-title-nav-button:hover,
.survey-active-title-nav-button:focus-visible {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.18);
}

.survey-active-title-nav-button.is-disabled {
  border-color: #e4e7ec;
  background: #f8fafc;
  color: #d0d5dd;
  box-shadow: none;
  pointer-events: none;
}

.survey-list-summary::-webkit-details-marker {
  display: none;
}

.survey-list-summary::after {
  content: '↓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #cfd7e3;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.survey-list-summary-static {
  cursor: default;
}

.survey-list-summary-static::after {
  display: none;
}

.survey-list-accordion[open] .survey-list-summary::after {
  content: '↑';
}

.survey-list-summary-count {
  color: #667085;
  font-size: 0.78em;
  font-weight: 600;
}

.survey-list-summary-filter {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff3c4;
  color: #6b5a16;
  font-size: 0.68em;
  font-weight: 700;
  vertical-align: middle;
}

.survey-list-toolbar {
  display: grid;
  gap: 10px;
  padding: 0 14px 18px;
}

.survey-filter-form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.survey-filter-field {
  min-width: min(320px, 100%);
}

.survey-filter-note {
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
}

.survey-empty-state {
  padding: 0 30px 14px;
  color: #667085;
  font-size: 0.95rem;
}

.survey-empty-state-plain {
  padding: 4px 30px 2px;
  color: #667085;
  font-size: 1.05rem;
  font-weight: 600;
}

.survey-admin-item-live .active-survey-label {
  color: #ffffff;
}

.survey-admin-item-standby .active-survey-label {
  color: #344054;
}

.active-survey-label::before {
  display: none;
}

.active-survey-label-online {
  background: linear-gradient(180deg, #f2f5fa 0%, #e7edf6 100%);
  border: 1px solid #d8e0ec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.active-survey-label-offline {
  background: linear-gradient(180deg, #f2f5fa 0%, #e7edf6 100%);
  border: 1px solid #d8e0ec;
  color: #344054;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.active-survey-label-stopped {
  background: linear-gradient(180deg, #f2f5fa 0%, #e7edf6 100%);
  border: 1px solid #d8e0ec;
  color: #344054;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.active-survey-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 2px;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.active-survey-status-copy {
  display: grid;
  gap: 4px;
  align-content: start;
}

.active-survey-status-title {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: inherit;
}

.active-survey-status-text {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  letter-spacing: 0.01em;
  text-transform: none;
}

.active-survey-status-text strong {
  font-size: 1.3rem;
  line-height: 1;
}

.active-survey-status-text-muted {
  background: rgba(255, 255, 255, 0.7);
  color: inherit;
}

.active-survey-status-text-hidden {
  display: none;
}

.active-survey-label-stopped .active-survey-timer {
  color: #8f2b2b;
}

.active-survey-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
  white-space: nowrap;
}

.active-survey-label-online .active-survey-kicker::before,
.active-survey-label-offline .active-survey-kicker::before,
.active-survey-label-stopped .active-survey-kicker::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.active-survey-label-online .active-survey-kicker::before {
  background: #d1fadf;
  box-shadow: 0 0 0 0 rgba(209, 250, 223, 0.45);
  animation: live-pulse 1.2s ease-in-out infinite;
}

.active-survey-label-offline .active-survey-kicker::before,
.active-survey-label-stopped .active-survey-kicker::before {
  background: #f97066;
}

.active-live-progress {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 22px;
}

.active-live-progress-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
}

.active-live-progress-track {
  --timer-edge-gap: 84px;
  position: relative;
  width: calc(100% - 64px);
  max-width: 860px;
  min-width: 260px;
  height: 12px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, #e9eff7 0%, #dfe7f2 100%);
  overflow: visible;
}

.active-live-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--live-progress);
  border-radius: inherit;
  background: linear-gradient(90deg, #54b2ff 0%, #3b82f6 100%);
  box-shadow: none;
}

.active-survey-label.is-warning .active-live-progress-fill {
  background: linear-gradient(90deg, #ffb020 0%, #ff8a1f 100%);
  box-shadow: none;
}

.active-survey-label.is-danger .active-live-progress-fill {
  background: linear-gradient(90deg, #ff6b57 0%, #d92d20 100%);
  box-shadow: none;
}

.active-live-progress-badge {
  position: absolute;
  top: 50%;
  left: clamp(var(--timer-edge-gap), var(--live-progress), calc(100% - var(--timer-edge-gap)));
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #1f3f84;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
}

.active-live-progress-ended .active-live-progress-fill {
  width: 100%;
  background: linear-gradient(90deg, #c3cad6 0%, #8a94a6 100%);
  box-shadow: none;
}

.active-live-votes {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-width: 120px;
  min-height: 58px;
  padding: 6px 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
  border: 1px solid #dbe3ef;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.active-command-votes {
  width: 100%;
  min-width: 120px;
  min-height: 58px;
  padding: 6px 10px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
  border: 1px solid #dbe3ef;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.active-live-votes-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 1;
  text-align: center;
  color: #5d6b82;
  line-height: 1;
}

.active-live-vote-number {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #1f3f84;
}

.active-live-vote-unit {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.1;
}

.active-live-votes-hidden {
  display: none;
}

.active-survey-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.active-survey-pill-live {
  background: rgba(39, 174, 96, 0.12);
  color: #1f8f52;
}

.active-survey-pill-standby {
  background: rgba(31, 111, 235, 0.1);
  color: var(--accent);
}

.active-survey-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  flex: 0 0 auto;
}

.active-survey-pill-live .active-survey-pill-dot {
  animation: live-pulse 1.2s ease-in-out infinite;
}

.active-survey-pill-standby .active-survey-pill-dot {
  animation: none;
}

.active-stop-button {
  border-color: #ffd6d6;
  background: #fff4f4;
  color: #b42318;
}

.active-stop-button:hover {
  background: #ffe9e9;
  border-color: #ffc1c1;
}

.active-close-button {
  white-space: nowrap;
}

.survey-admin-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #fff;
  overflow: visible;
}

.survey-admin-item.survey-admin-item-listed-active {
  border-color: #bfe8ce;
  background: linear-gradient(180deg, #f3fff5 0%, #edf9f0 100%);
  box-shadow: inset 0 0 0 1px rgba(39, 174, 96, 0.08);
}

.survey-admin-item.survey-admin-item-has-votes:not(.survey-admin-item-listed-active) {
  border-color: #f2d7d5;
  background: #fff8f7;
  box-shadow: inset 0 0 0 1px rgba(180, 35, 24, 0.04);
}

.survey-admin-item h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.survey-admin-main {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.survey-admin-order-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.survey-admin-order-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #4464a5;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.survey-admin-order-badge-voted {
  background: #fff1f1;
  color: #b42318;
}

.survey-admin-order-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.survey-room-change {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.survey-room-change-button {
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid #d8e1ed;
  border-radius: 999px;
  background: #fff;
  color: #667085;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.survey-room-change-button:hover:not(:disabled),
.survey-room-change-button:focus-visible:not(:disabled) {
  border-color: #b9c7da;
  background: #f8fbff;
  color: #3f5f96;
}

.survey-room-change-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.survey-room-change-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 200;
  min-width: 220px;
  padding: 12px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.survey-room-change-form {
  display: grid;
  gap: 10px;
}

.survey-admin-order-button {
  min-width: 28px;
  min-height: 24px;
  padding: 0;
  border: 1px solid #d8e1ed;
  border-radius: 8px;
  background: #fff;
  color: #667085;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.survey-admin-order-button:hover:not(:disabled),
.survey-admin-order-button:focus-visible:not(:disabled) {
  border-color: #b9c7da;
  background: #f8fbff;
  color: #3f5f96;
}

.survey-admin-order-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.survey-admin-meta {
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
}

.survey-admin-meta span::after {
  content: "·";
  margin-left: 8px;
}

.survey-admin-meta span:last-child::after {
  content: "";
  margin-left: 0;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #edf5ff;
  color: var(--accent-dark);
  font-weight: 600;
}

.live-pill-compact {
  min-width: 40px;
  min-height: 34px;
  justify-content: center;
  padding: 0 10px;
  font-size: 0.78rem;
}

.survey-admin-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.survey-admin-action-button {
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.survey-admin-action-button-open {
  background: #1f9d55;
  border-color: #1f9d55;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(31, 157, 85, 0.16);
}

.survey-admin-action-button-open:hover:not(:disabled),
.survey-admin-action-button-open:focus-visible:not(:disabled) {
  background: #d7f0df;
  border-color: #9ad0ac;
  color: #225f3b;
  box-shadow: 0 8px 18px rgba(82, 163, 104, 0.18);
  transform: translateY(-1px);
}

.survey-admin-action-button:hover:not(:disabled),
.survey-admin-action-button:focus-visible:not(:disabled) {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(47, 111, 237, 0.16);
  transform: translateY(-1px);
}

.survey-admin-action-button.survey-admin-action-button-open:hover:not(:disabled),
.survey-admin-action-button.survey-admin-action-button-open:focus-visible:not(:disabled) {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(47, 111, 237, 0.16);
  transform: translateY(-1px);
}

.survey-admin-action-button:not(.survey-admin-action-button-open):not(.survey-admin-action-button-danger):hover:not(:disabled),
.survey-admin-action-button:not(.survey-admin-action-button-open):not(.survey-admin-action-button-danger):focus-visible:not(:disabled) {
  background: #475467;
  border-color: #475467;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(71, 84, 103, 0.18);
  transform: translateY(-1px);
}

.survey-admin-action-button-danger:hover:not(:disabled),
.survey-admin-action-button-danger:focus-visible:not(:disabled) {
  background: #d92d20;
  border-color: #d92d20;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(217, 45, 32, 0.16);
}

.survey-speaker-locked {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #f8fafc;
  color: #101828;
  font-weight: 600;
}

.survey-speaker-inline {
  color: #101828;
  font-size: 1rem;
  line-height: 1.4;
}

.survey-speaker-inline strong {
  font-weight: 700;
}

.survey-speaker-inline-note {
  color: #667085;
  font-size: 0.94rem;
}

.questions-admin-shell {
  display: grid;
  gap: 0;
}

.interventions-admin-shell {
  display: grid;
  gap: 0;
}

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

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

.intervention-list-accordion {
  margin-top: 34px;
}

.intervention-list-item {
  background: #fff;
}

.intervention-list-name {
  margin: 0;
  color: #101828;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.intervention-list-state {
  color: #c48618;
  font-weight: 700;
}

.question-list-accordion .questions-list {
  padding-bottom: 16px;
}

.question-list-accordion {
  margin-top: 34px;
}

.question-list-summary-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.question-list-summary-row h2 {
  flex: 1 1 auto;
  min-width: 0;
}

.question-list-bulk-form {
  margin: 0;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.question-list-bulk-form-standalone {
  margin: 0 30px 18px;
}

.question-list-bulk-confirm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667085;
  font-size: 0.78rem;
  line-height: 1.3;
}

.question-list-bulk-confirm input {
  width: 15px;
  height: 15px;
  margin: 0;
}

.question-list-item.is-unread {
  background: #f5fcf6;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.06);
}

.question-list-item.is-read {
  background: #fff;
}

.question-list-item {
  cursor: pointer;
}

.question-list-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.question-list-text {
  margin: 0;
  color: #101828;
  line-height: 1.25;
  font-size: 0.95rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.question-list-thumbnail-button {
  width: 92px;
  height: 92px;
  padding: 0;
  border: 1px solid #d5def1;
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
}

.question-list-thumbnail-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f8fafc;
}

.question-list-target {
  margin: 2px 0 0;
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.35;
}

.question-list-target strong {
  color: #3f5f96;
  font-weight: 700;
}

.question-list-author {
  margin: 0;
  color: #7a5af8;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.question-read-state {
  font-weight: 700;
}

.question-read-state.is-unread {
  color: #2f6fed;
}

.question-read-state.is-read {
  color: #667085;
}

.question-modal-open {
  overflow: hidden;
}

.question-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.question-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(2px);
}

.question-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 40px));
  height: min(84vh, 900px);
  margin: min(5vh, 42px) auto 0;
  padding: 34px 34px 30px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
  box-sizing: border-box;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.question-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid #d3dceb;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.question-modal-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.question-modal-main {
  display: grid;
  gap: 24px;
  align-content: start;
}

.question-modal-footer-shell {
  margin-top: auto;
  display: grid;
  gap: 18px;
}

.question-modal-eyebrow {
  margin: 0;
  color: #2f6fed;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.question-modal-divider {
  width: 100%;
  height: 1px;
  background: #d9e2f0;
}

.question-modal-image-wrap {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #d5def1;
  background: #f8fafc;
  flex: 0 0 auto;
}

.question-modal-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.question-modal-image {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  background: #f8fafc;
}

.question-modal-text {
  margin: 0;
  color: #24324b;
  font-size: clamp(1.2rem, 1.95vw, 1.65rem);
  line-height: 1.35;
  font-weight: 700;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.question-modal-author {
  margin: 0;
  color: #7a5af8;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.question-modal-footer {
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.question-image-lightbox-open {
  overflow: hidden;
}

.question-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
}

.question-image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(4px);
}

.question-image-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1400px);
  height: min(90vh, 980px);
  margin: 5vh auto 0;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.3);
  box-sizing: border-box;
}

.question-image-lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid #d3dceb;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
}

.question-image-lightbox-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 960px) {
  .question-list-summary-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .questions-list .survey-admin-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .question-list-thumbnail-button {
    width: 100%;
    max-width: 180px;
    height: 120px;
  }

  .question-modal-dialog {
    width: min(100vw - 28px, 1120px);
    height: auto;
    padding: 28px 22px 24px;
  }

  .question-image-lightbox-dialog {
    width: min(100vw - 18px, 1400px);
    height: min(88vh, 980px);
    padding: 18px;
  }
}

.icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 0.92rem;
}

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

.active-survey-tools .icon-action {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 1rem;
}

.icon-action-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.field {
  display: grid;
  gap: 3px;
}

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

.field span {
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.15;
  color: #697586;
}

.field-inline-action {
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
}

.field-inline-action:hover {
  color: var(--accent-dark);
}

.room-manager-card {
  gap: 14px;
}

.room-manager-head .event-form-block-head {
  margin-bottom: 0;
}

.room-manager-subtitle {
  margin: 6px 0 0;
  color: #516074;
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: 860px;
}

.room-manager-list {
  gap: 12px;
  margin-top: 10px;
}

.room-manager-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr) auto;
  gap: 14px;
  align-items: end;
  padding: 14px;
  border: 1px solid #d7e1f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.room-manager-meta {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.room-manager-meta-label {
  font-weight: 600;
  font-size: 0.86rem;
  color: #395a84;
}

.room-manager-meta-link,
.room-manager-meta-help {
  font-size: 0.82rem;
  line-height: 1.35;
  color: #516074;
  overflow-wrap: anywhere;
}

.room-manager-meta-link {
  color: #2a3442;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.room-manager-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #315d97;
  font-size: 0.74rem;
  font-weight: 700;
}

.room-manager-remove-button {
  align-self: center;
}

.room-manager-remove-button:disabled[title] {
  opacity: 1;
  pointer-events: auto;
  background: #f4f7fb;
  border-color: #d8e1ee;
  color: #98a2b3;
  cursor: not-allowed;
}

.password-inline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.password-inline-display {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #cfd7e3;
  border-radius: 12px;
  background: #fff;
  color: #344054;
  font-weight: 600;
  min-width: 160px;
}

.password-change-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.password-inline-input {
  width: 300px !important;
  min-width: 300px;
  min-height: 38px !important;
}

.field input {
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #cfd7e3;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.file-field-input {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cfd7e3;
  border-radius: 12px;
  color: #344054;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.superadmin-inline-field {
  min-height: 56px !important;
}

.file-field-input::file-selector-button {
  -webkit-appearance: none;
  appearance: none;
  margin-right: 12px;
  padding: 8px 12px;
  border: 1px solid #cfd7e3;
  border-radius: 10px;
  background: #f8fafc;
  color: #344054;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.file-field-input::file-selector-button:hover {
  background: #eef4fb;
  border-color: #b9c9dc;
}

.is-hidden {
  display: none !important;
}

.field textarea {
  width: 100%;
  min-height: 88px;
  padding: 10px 12px;
  border: 1px solid #cfd7e3;
  border-radius: 12px;
  background: #fff;
  resize: vertical;
}

.field select {
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #cfd7e3;
  border-radius: 12px;
  background: #fff;
}

.admin-banner {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #d7e6ff;
  background: #f6faff;
}

.admin-banner-label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-card h2 {
  font-size: 1rem;
}

.public-stage-shell h2 {
  font-size: 1.05rem;
}

.panel-copy,
.status {
  font-size: 0.9rem;
}

.compact-copy {
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.admin-card .survey-list-head h2,
.admin-card .survey-list-summary h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.25rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.survey-create-settings {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.event-form-block {
  padding: 0;
  border: 0;
  border-radius: 0;
}

.event-form-block-details {
  background: transparent;
}

.event-form-block-head {
  margin-bottom: 12px;
}

.event-form-block-head h3,
.survey-create-settings-head h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.event-form-block-details .event-form-block-head h3 {
  color: #7a5700;
  font-weight: 700;
}

.survey-create-settings .event-form-block-head h3 {
  color: #204f88;
  font-weight: 700;
}

.survey-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.survey-settings-grid.survey-settings-grid-quad {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1.18fr) minmax(0, 1.02fr) minmax(0, 0.8fr);
}

.survey-settings-grid.survey-settings-grid-third {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr);
}

.event-builder-accordion {
  border: 1px solid #d7e1ef;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.event-builder-accordion-rooms {
  background: linear-gradient(180deg, #fff6cf 0%, #fffdf2 100%);
  border-color: #ead38a;
}

.event-builder-accordion-speakers {
  background: linear-gradient(180deg, #e8f7df 0%, #f7fdf3 100%);
  border-color: #b7d7a9;
}

.event-builder-accordion-speakers .event-compact-speakers-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-builder-accordion-speakers .event-compact-speakers-grid > * {
  min-width: 0;
}

.event-builder-accordion-speakers .event-compact-speakers-grid::before {
  left: calc(50% - 1px);
}

.event-builder-accordion-speakers .event-compact-speakers-grid::after {
  display: none;
}

.event-builder-accordion summary {
  list-style: none;
  display: block;
}

.event-builder-accordion summary::-webkit-details-marker {
  display: none;
}

.event-builder-accordion summary::marker {
  content: "";
}

.event-builder-accordion-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px 14px;
  cursor: pointer;
  background: transparent;
  transition: background 0.18s ease;
}

.event-builder-accordion-summary:hover,
.event-builder-accordion-summary:focus-visible {
  background: rgba(255, 255, 255, 0.34);
}

.event-builder-accordion-summary::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(32, 58, 85, 0.16);
  color: #2b3a55;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.event-builder-accordion[open] .event-builder-accordion-summary::after {
  content: '−';
}

.event-builder-accordion-copy {
  min-width: 0;
}

.event-builder-accordion-copy h3 {
  margin: 0;
  color: #24364d;
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.event-builder-accordion-copy p {
  margin: 6px 0 0;
  color: #5a6b82;
  font-size: 0.88rem;
  line-height: 1.4;
}

.event-builder-accordion-divider {
  height: 1px;
  margin: 0 18px;
  background: rgba(43, 58, 85, 0.14);
}

.event-builder-accordion-body {
  padding: 12px 18px 16px;
  min-height: 12px;
  background: rgba(255, 255, 255, 0.4);
}

.event-compact-speakers-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 18px;
}

.event-compact-speakers-grid::before,
.event-compact-speakers-grid::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(43, 58, 85, 0.14);
  pointer-events: none;
}

.event-compact-speakers-grid::before {
  left: calc(33.3333% - 3px);
}

.event-compact-speakers-grid::after {
  left: calc(66.6666% + 3px);
}

.event-compact-speaker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px;
  gap: 6px;
  align-items: center;
  padding: 0;
  justify-self: stretch;
  min-width: 0;
  width: 100%;
}

.event-compact-speaker-row-speaker {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto 28px;
}

.event-compact-speaker-row input {
  min-height: 34px;
  padding: 7px 10px 7px 4px;
  border: 1px solid #d6dfeb;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: #24364d;
  font-size: 0.86rem;
  text-align: left !important;
  justify-self: stretch;
}

.event-compact-speaker-prepare {
  min-height: 34px;
  min-width: 0;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  white-space: nowrap;
  justify-self: stretch;
}

.event-compact-speaker-link {
  min-height: 34px;
  min-width: 0;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  white-space: nowrap;
  justify-self: stretch;
}

.event-compact-speaker-prepare[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.event-compact-speaker-link[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.event-compact-speaker-remove {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #d6dfeb;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  color: #5f6f84;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.event-compact-speaker-remove:disabled {
  opacity: 0.45;
  cursor: default;
}

.event-compact-speaker-add {
  margin-top: 10px;
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.8rem;
}

.event-compact-speaker-row:nth-child(3n + 1) input,
.event-compact-speaker-row:nth-child(3n + 1) .event-compact-speaker-remove {
  background: rgba(255, 248, 235, 0.96);
}

.event-compact-speaker-row:nth-child(3n + 2) input,
.event-compact-speaker-row:nth-child(3n + 2) .event-compact-speaker-remove {
  background: rgba(238, 246, 255, 0.96);
}

.event-compact-speaker-row:nth-child(3n + 3) input,
.event-compact-speaker-row:nth-child(3n + 3) .event-compact-speaker-remove {
  background: rgba(255, 232, 228, 0.98);
}

.event-compact-speaker-row:nth-child(3n + 1) .event-compact-speaker-prepare {
  border-color: #e7c998;
  background: rgba(255, 248, 235, 0.96);
}

.event-compact-speaker-row:nth-child(3n + 1) .event-compact-speaker-link {
  border-color: #e7c998;
  background: rgba(255, 248, 235, 0.96);
}

.event-compact-speaker-row:nth-child(3n + 2) .event-compact-speaker-prepare {
  border-color: #b8d0ec;
  background: rgba(238, 246, 255, 0.96);
}

.event-compact-speaker-row:nth-child(3n + 2) .event-compact-speaker-link {
  border-color: #b8d0ec;
  background: rgba(238, 246, 255, 0.96);
}

.event-compact-speaker-row:nth-child(3n + 3) .event-compact-speaker-prepare {
  border-color: #ebc2be;
  background: rgba(255, 232, 228, 0.98);
}

.event-compact-speaker-row:nth-child(3n + 3) .event-compact-speaker-link {
  border-color: #ebc2be;
  background: rgba(255, 232, 228, 0.98);
}

.event-room-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 2px;
}

.event-room-mode-copy {
  color: #3a4a62;
  font-size: 0.93rem;
  line-height: 1.35;
  font-weight: 600;
}

.event-room-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.event-room-mode-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.event-room-mode-label {
  color: #98a2b3;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  transition: color 160ms ease;
}

.event-room-mode-slider {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: #d7dfeb;
  box-shadow: inset 0 0 0 1px rgba(43, 58, 85, 0.08);
  transition: background 160ms ease;
}

.event-room-mode-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
  transition: transform 160ms ease;
}

.event-room-mode-switch input:checked + .event-room-mode-slider {
  background: #4f7cff;
}

.event-room-mode-switch input:checked + .event-room-mode-slider::after {
  transform: translateX(16px);
}

.event-room-mode-switch .event-room-mode-label:first-child {
  color: #356ae6;
  font-weight: 800;
}

.event-room-mode-switch.is-multi-room .event-room-mode-label:last-child {
  color: #356ae6;
  font-weight: 800;
}

.event-room-mode-switch.is-multi-room .event-room-mode-label:first-child,
.event-room-mode-switch:not(.is-multi-room) .event-room-mode-label:last-child {
  color: #98a2b3;
  font-weight: 700;
}

.field-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.field-inline-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.field-inline-toggle-label {
  color: #667085;
  font-size: 0.85rem;
  font-weight: 500;
}

.admin-card-compact {
  padding: 14px;
}

.stack-compact {
  gap: 10px;
}

.answers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

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

.rating-captions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 10px;
  align-items: start;
}

.rating-captions-grid .field {
  min-width: 0;
}

.rating-captions-grid .field span {
  font-size: 0.82rem;
  line-height: 1.1;
}

.rating-captions-grid .field input {
  min-width: 0;
  padding: 10px 12px;
  font-size: 0.95rem;
}

.survey-fixed-options-note {
  margin: -2px 0 2px;
}

.compact-actions {
  gap: 8px;
  margin-top: 10px;
  padding-top: 4px;
}

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

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(31, 143, 82, 0.35);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.12);
    box-shadow: 0 0 0 6px rgba(31, 143, 82, 0);
  }
}

@keyframes results-arrow-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

@keyframes results-row-reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .client-login-shell {
    width: min(100vw - 24px, 100%);
    padding-top: 16px;
  }

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

  .client-login-showcase {
    padding: 26px 20px 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .client-login-form-panel {
    padding: 26px 20px;
  }

  .client-demo-banner {
    padding: 22px 20px;
  }

  .client-demo-banner-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .client-demo-banner-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .client-demo-panel-center,
  .client-demo-panel-qr {
    border-left: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.18);
    padding-left: 0;
    padding-top: 22px;
    margin-left: 0;
  }

  .client-demo-panel h3 {
    font-size: 1.15rem;
  }

  .client-demo-panel p {
    font-size: 0.92rem;
  }

  .client-demo-banner-action {
    margin-top: 26px;
  }

  .client-demo-banner-button {
    width: 100%;
    min-height: 78px;
    font-size: 1.05rem;
    white-space: normal;
  }

  .client-demo-banner-button-arrow {
    font-size: 1.6rem;
  }

  .client-demo-links-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .client-demo-qr-list {
    flex-wrap: wrap;
  }

  .client-demo-qr-card img {
    width: 112px;
    height: 112px;
  }

  .client-login-copy h1 {
    max-width: none;
  }

  .client-login-client-identity {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .app-shell,
  .admin-shell {
    width: min(100vw - 24px, 1120px);
    padding: 12px 0 20px;
  }

  .topbar,
  .admin-topbar,
  .section-head,
  .survey-admin-item,
  .vote-status-card,
  .bar-meta,
  .subhead,
  .actions,
  .split-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .public-card,
  .admin-card {
    padding: 16px;
    border-radius: 18px;
  }

  .admin-header-card {
    padding: 12px;
  }

  .admin-topbar-card,
  .topbar-card {
    gap: 14px;
    padding: 0;
    align-items: flex-start;
  }

  .public-header-shell .admin-topbar,
  .public-header-shell .admin-topbar-card {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    min-height: 48px;
  }

  .public-header-plain .admin-topbar-card {
    padding: 0;
  }

  .public-platform-logo-frame {
    width: 200px;
    height: 62px;
  }

  .public-platform-logo {
    transform: none;
  }

  .public-room-chip-row {
    gap: 10px;
  }

  .admin-topbar h1,
  .topbar-title h1,
  .survey-stage-card h2 {
    max-width: 100%;
    word-break: break-word;
  }

  .event-brand {
    align-items: center;
  }

  .client-dashboard-brand {
    gap: 10px;
  }

  .client-dashboard-brand-divider {
    display: none;
  }

  .client-dashboard-client-logo-frame {
    width: 86px;
    height: 30px;
  }

  .public-header-shell .event-brand {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0;
  }

  .public-header-shell .admin-topbar h1 {
    display: block;
    margin: 0;
    line-height: 1.12;
    transform: none;
  }

  .event-brand-logo-frame {
    width: 122px;
    height: 42px;
  }

  .public-header-shell .public-platform-logo-frame {
    width: 176px;
    height: 54px;
  }

  .public-event-title {
    font-size: 1.08rem;
  }

  .public-room-panel {
    padding-bottom: 14px;
  }

  .public-room-chip-list {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .public-room-chip {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 6px 11px;
    font-size: 0.82rem;
    border-width: 1.5px;
  }

  .admin-nav-box {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .admin-nav {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
  }

  .admin-nav .ghost-button,
  .admin-nav .primary-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .room-switcher {
    gap: 10px;
    margin-top: 10px;
    margin-left: -2px;
    margin-right: -2px;
    padding: 0 2px 6px;
  }

  .public-header-shell,
  .public-stage-shell,
  .survey-admin-item.survey-admin-item-active {
    margin-left: 0;
    margin-right: 0;
  }

  .survey-stage-card h2 {
    margin-bottom: 14px !important;
    font-size: clamp(1.05rem, 4.8vw, 1.4rem) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.01em;
  }

  .public-survey-timer {
    width: 100%;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 16px;
  }

  .public-survey-timer-head {
    gap: 10px;
    align-items: center;
  }

  .public-survey-timer-label {
    max-width: 60%;
    line-height: 1.3;
  }

  .vote-status-card {
    padding: 12px 14px;
  }

  .vote-status-card .ghost-button,
  .vote-status-card .primary-button {
    width: 100%;
  }

  .answer-list,
  .active-options-preview,
  .results-bars,
  .active-options-list {
    gap: 22px;
  }

  .public-waiting-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .public-waiting-media {
    justify-content: flex-start;
  }

  .public-waiting-image {
    width: min(100%, 180px);
  }

  .answer-option,
  .active-options-preview-item {
    min-height: 56px;
    padding: 12px 14px;
    align-items: flex-start;
  }

  .answer-option {
    font-size: 1rem;
  }

  .survey-stage-card-live .answer-option {
    gap: 10px;
  }

  .survey-stage-card-live .answer-option-result {
    display: block;
  }

  .survey-stage-card-live .results-section {
    display: none;
  }

  .answers-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rating-captions-grid {
    grid-template-columns: 1fr;
  }

  .room-field-row {
    grid-template-columns: 1fr auto;
  }

  .room-manager-row {
    grid-template-columns: 1fr;
  }

  .room-manager-remove-button {
    justify-self: flex-end;
  }

  .survey-create-settings-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .survey-create-settings-head .room-add-button {
    width: 100%;
  }

  .client-event-rooms-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .survey-settings-grid {
    grid-template-columns: 1fr;
  }

  .survey-settings-grid.survey-settings-grid-third {
    grid-template-columns: 1fr;
  }

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

  .event-compact-speakers-grid::before,
  .event-compact-speakers-grid::after {
    display: none;
  }

  .survey-speaker-new-fields,
  .survey-media-inline-row {
    grid-template-columns: 1fr;
  }

  .survey-list-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    padding-left: 0;
    padding-right: 0;
  }

  .survey-list-head-main {
    flex: 1 1 auto;
    min-width: 0;
  }

  .survey-list-head-title-row {
    align-items: flex-start;
  }

  .survey-list-head-tools {
    flex: 0 0 auto;
    justify-content: flex-end;
    width: auto;
  }

  .survey-list-head-tools-compact {
    flex-direction: column;
    align-items: flex-end;
  }

  .survey-head-filter-field {
    width: 100%;
    min-width: 0;
  }

  .survey-list-head-tools form {
    width: auto;
  }

  .survey-list-divider {
    margin-left: 0;
    margin-right: 0;
  }

  .survey-flat-list,
  .question-list-bulk-form-standalone {
    padding-left: 0;
    padding-right: 0;
  }

  .question-list-bulk-form-standalone {
    margin-left: 0;
    margin-right: 0;
  }

  .survey-empty-state,
  .survey-empty-state-plain {
    padding-left: 0;
    padding-right: 0;
  }

  .survey-filter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .active-close-button {
    min-height: 32px;
    padding: 6px 12px;
  }

  .active-voting-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .active-voting-toggle-form {
    width: 100%;
  }

  .active-survey-tools {
    width: 100%;
  }

  .active-survey-tools form {
    width: 100%;
  }

  .active-toggle-button,
  .active-toggle-step,
  .active-toggle-title {
    width: 100%;
  }

  .active-command-panel,
  .survey-create-settings {
    padding: 12px;
    border-radius: 14px;
  }

  .active-command-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .active-voting-toggle-option {
    min-height: 56px;
  }

  .active-command-votes {
    position: static;
    min-width: 0;
    width: 100%;
  }

  .active-command-status {
    justify-content: stretch;
  }

  .active-survey-label {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .active-live-votes {
    justify-content: flex-start;
    min-width: 0;
    padding-left: 0;
    flex-wrap: wrap;
  }

  .survey-admin-item {
    padding: 12px;
  }

  .survey-admin-item h3 {
    font-size: 1rem;
  }

  .survey-admin-tools {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    flex-wrap: wrap;
  }

  .survey-admin-tools form {
    width: 100%;
  }

  .survey-admin-tools .ghost-button,
  .survey-admin-tools .primary-button {
    width: 100%;
    min-width: 0;
  }

  .survey-admin-item.survey-admin-item-active {
    padding: 18px 16px 16px;
    border-radius: 20px;
  }

  .survey-admin-item.survey-admin-item-active .active-survey-title {
    font-size: clamp(1.55rem, 5.6vw, 1.9rem);
  }

  .active-option-row,
  .bar-row {
    gap: 20px;
  }

  .active-option-meta,
  .bar-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    line-height: 1.35;
  }

  .bar-meta span {
    display: block;
    overflow-wrap: anywhere;
    font-size: 1.02rem;
  }

  .bar-meta {
    margin-bottom: 6px;
  }

  .active-bar-track,
  .bar-track {
    margin-right: 0;
    height: 12px;
    margin-top: 6px;
  }

  .active-option-percent-badge,
  .bar-percent-badge {
    min-width: 48px;
    height: 26px;
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .active-option-votes-badge,
  .bar-votes-badge {
    display: none;
  }

  .compact-actions,
  .actions,
  .split-actions {
    gap: 10px;
  }

  .compact-actions .ghost-button,
  .compact-actions .primary-button,
  .actions .ghost-button,
  .actions .primary-button,
  .split-actions .ghost-button,
  .split-actions .primary-button {
    width: 100%;
  }
}
