/* ==========================================================================
   UCS Live Voting — Frontend Stylesheet  (v2.1 / Enfold-hardened)

   Diese Datei deckt ALLE in den Templates verwendeten Klassen ab:
   participant.php, participant-enter-code.php, participant-not-found.php,
   stage.php, speaker.php, speaker-list.php, und das Dashboard.

   Theme-Hardening:
   - `-webkit-text-fill-color: currentColor !important` neutralisiert Enfold's
     Transparent-Headlines.
   - Button-Reset killt Enfold-Default-Borders/Padding/Shadow.
   - Form-Inputs erzwingen eigenes Background+Color.
   - List-Marker werden explizit entfernt.
   ========================================================================== */


/* ==========================================================================
   1. THEME RESET LAYER
   ========================================================================== */

.ucs-vote,
.ucs-vote *,
.ucs-vote *::before,
.ucs-vote *::after {
  box-sizing: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
}

.ucs-vote h1, .ucs-vote h2, .ucs-vote h3,
.ucs-vote h4, .ucs-vote h5, .ucs-vote h6 {
  text-shadow: none !important;
  text-transform: none !important;
  font-style: normal !important;
  text-decoration: none !important;
}

.ucs-vote button,
.ucs-vote input[type="button"],
.ucs-vote input[type="submit"] {
  margin: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  font: inherit !important;
  letter-spacing: normal !important;
  line-height: 1.4 !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  cursor: pointer;
  color: inherit !important;
  min-height: auto !important;
  height: auto !important;
  text-decoration: none !important;
}

.ucs-vote input[type="text"],
.ucs-vote input[type="email"],
.ucs-vote input[type="number"],
.ucs-vote input[type="tel"],
.ucs-vote input[type="search"],
.ucs-vote textarea,
.ucs-vote select {
  background: #fff !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  border: 1.5px solid var(--ucs-rule) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font: inherit !important;
  font-family: var(--sans) !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  text-shadow: none !important;
  min-height: auto !important;
  height: auto !important;
}
.ucs-vote textarea {
  resize: vertical;
  min-height: 80px !important;
  line-height: 1.5 !important;
}

.ucs-vote a {
  text-decoration: none;
  background: transparent !important;
  text-shadow: none !important;
}
.ucs-vote a:hover {
  text-decoration: none;
}

.ucs-vote p {
  margin: 0 0 12px;
  text-shadow: none !important;
  line-height: 1.5;
}
.ucs-vote ol,
.ucs-vote ul,
.ucs-vote li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  background: transparent !important;
}
.ucs-vote ol::marker,
.ucs-vote ul::marker,
.ucs-vote li::marker {
  content: '' !important;
  display: none !important;
}


/* ==========================================================================
   2. DESIGN TOKENS
   ========================================================================== */

.ucs-vote {
  --ucs-ink:        #0E1B2C;
  --ucs-ink-2:      #18293F;
  --ucs-paper:      #F7F4ED;
  --ucs-paper-2:    #EFEAE0;
  --ucs-rule:       #D9D2C2;
  --ucs-accent:     #C0392B;
  --ucs-accent-2:   #E07A5F;
  --ucs-success:    #4A7C59;
  --ucs-warn:       #D4A24C;
  --ucs-muted:      #6E7787;

  --sans: 'Helvetica Neue', 'HelveticaNeue', Helvetica, Inter, Arial, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --shadow-soft: 0 1px 2px rgba(14,27,44,.04), 0 4px 16px rgba(14,27,44,.08);
  --shadow-card: 0 1px 2px rgba(14,27,44,.06), 0 8px 32px rgba(14,27,44,.16);

  font-family: var(--sans) !important;
  color: var(--ucs-ink) !important;
  line-height: 1.5 !important;
  font-size: 16px !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ==========================================================================
   3. SHARED ATOMS
   ========================================================================== */

/* Crumb (eyebrow) */
.ucs-vote__crumb {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ucs-rule);
  margin-bottom: 18px;
}

/* Headlines */
.ucs-vote__h,
.ucs-vote h1.ucs-vote__h,
.ucs-vote h2.ucs-vote__h,
.ucs-vote .ucs-vote__h {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: 28px !important;
  line-height: 1.18 !important;
  letter-spacing: -0.024em !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  background: transparent !important;
  margin: 0 0 10px !important;
  text-shadow: none !important;
  text-transform: none !important;
}
.ucs-vote__sub {
  font-size: 14.5px !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  margin: 0 0 22px !important;
  line-height: 1.6 !important;
}

/* Buttons */
.ucs-vote__btn,
.ucs-vote a.ucs-vote__btn,
.ucs-vote button.ucs-vote__btn {
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  border: 1.5px solid var(--ucs-rule) !important;
  background: #fff !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  cursor: pointer !important;
  transition: all .15s !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  letter-spacing: -0.005em !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  vertical-align: middle !important;
  min-height: 0 !important;
  height: auto !important;
}
.ucs-vote__btn:hover:not(:disabled) {
  border-color: var(--ucs-ink) !important;
  transform: translateY(-1px);
  background: #fff !important;
  color: var(--ucs-ink) !important;
}
.ucs-vote__btn:disabled {
  opacity: .35;
  cursor: not-allowed !important;
}
.ucs-vote__btn--primary,
.ucs-vote a.ucs-vote__btn--primary,
.ucs-vote button.ucs-vote__btn--primary {
  background: var(--ucs-ink) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  border-color: var(--ucs-ink) !important;
}
.ucs-vote__btn--primary:hover:not(:disabled) {
  background: var(--ucs-ink-2) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  border-color: var(--ucs-ink-2) !important;
}
.ucs-vote__btn--lg {
  padding: 14px 28px !important;
  font-size: 15px !important;
  min-width: 200px;
}
.ucs-vote__btn--danger,
.ucs-vote button.ucs-vote__btn--danger {
  background: #fff !important;
  color: var(--ucs-accent) !important;
  -webkit-text-fill-color: var(--ucs-accent) !important;
  border-color: var(--ucs-accent) !important;
}
.ucs-vote__btn--danger:hover:not(:disabled) {
  background: var(--ucs-accent) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}


/* ==========================================================================
   4. GATE (Login Required)
   ========================================================================== */

.ucs-vote--gate {
  max-width: 640px;
  margin: 40px auto;
  background: var(--ucs-paper) !important;
  border: 1px solid var(--ucs-rule);
  border-radius: 14px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.ucs-vote--gate h2 {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: 26px !important;
  margin: 0 0 14px !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  letter-spacing: -0.022em !important;
}
.ucs-vote-gate__eyebrow {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: var(--ucs-accent) !important;
  -webkit-text-fill-color: var(--ucs-accent) !important;
  margin: 0 0 12px !important;
}


/* ==========================================================================
   5. PARTICIPANT (Mobile join + voting)
   ========================================================================== */

.ucs-vote--participant {
  max-width: 540px;
  margin: 24px auto;
  background: var(--ucs-paper) !important;
  border: 1px solid var(--ucs-rule);
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  /* v2.4: positioning context für den Watermark (unten rechts) */
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ucs-vote--participant > *:not(.ucs-vote__watermark) {
  position: relative;
  z-index: 1;
}
.ucs-vote__topbar {
  margin-bottom: 4px;
}
.ucs-vote__screen {
  display: none !important;
}
.ucs-vote__screen.is-active {
  display: block !important;
}

/* Code-entry view */
.ucs-vote__enter-form {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 360px;
  margin: 24px auto 0;
}
.ucs-vote__enter-input,
.ucs-vote input[type="text"].ucs-vote__enter-input {
  font-family: var(--mono) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  text-align: center !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  padding: 16px !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  background: #fff !important;
  border: 1.5px solid var(--ucs-rule) !important;
  border-radius: 8px !important;
  width: 100% !important;
}
.ucs-vote__enter-input::placeholder {
  color: rgba(14,27,44,.28) !important;
  -webkit-text-fill-color: rgba(14,27,44,.28) !important;
}
.ucs-vote__enter-input:focus {
  border-color: var(--ucs-ink) !important;
}
.ucs-vote__enter-form .ucs-vote__btn {
  width: 100%;
}

/* Not-found screen */
.ucs-vote__session-code {
  font-family: var(--mono) !important;
  background: var(--ucs-paper-2);
  border: 1px solid var(--ucs-rule);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.ucs-vote__hint {
  background: var(--ucs-paper-2);
  border: 1px solid var(--ucs-rule);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13px !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  margin-bottom: 18px;
}

/* Waiting / Question / Done screens */
.ucs-vote__waiting-icon {
  width: 56px; height: 56px;
  margin: 24px auto 16px;
  border-radius: 50%;
  background: var(--ucs-paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--ucs-ink);
}
.ucs-vote__live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--ucs-success);
  border-radius: 50%;
  margin-right: 6px;
  animation: ucs-vote-pulse 1.6s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes ucs-vote-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}
.ucs-vote__q-meta {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  margin-bottom: 12px;
}
.ucs-vote__q-text,
.ucs-vote h3.ucs-vote__q-text {
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: 22px !important;
  line-height: 1.32 !important;
  letter-spacing: -0.018em !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  background: transparent !important;
  margin: 0 0 22px !important;
  text-shadow: none !important;
}
.ucs-vote__options {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

/* v2.7 FIX: Das JS rendert Option-Buttons mit Klasse `ucs-vote__option`
   (ohne __btn) — vorher fehlte dafür komplettes Styling, daher sahen die
   Buttons aus wie Plaintext. Jetzt vollständig durchstyled. */
.ucs-vote__options .ucs-vote__option,
.ucs-vote__options button.ucs-vote__option,
.ucs-vote__options .ucs-vote__btn,
.ucs-vote__options button.ucs-vote__btn {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 16px 18px !important;
  background: #fff !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  border: 1.5px solid var(--ucs-rule) !important;
  border-radius: 10px !important;
  text-align: left !important;
  justify-content: flex-start !important;
  cursor: pointer !important;
  transition: border-color .15s, transform .1s, box-shadow .15s !important;
  text-shadow: none !important;
  line-height: 1.3 !important;
  font-family: var(--sans) !important;
  letter-spacing: -0.01em !important;
}
.ucs-vote__options .ucs-vote__option:hover,
.ucs-vote__options button.ucs-vote__option:hover {
  border-color: var(--ucs-ink) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(14,27,44,.1);
}
.ucs-vote__options .ucs-vote__option:active,
.ucs-vote__options button.ucs-vote__option:active {
  transform: translateY(0);
}
.ucs-vote__options .ucs-vote__option.is-loading,
.ucs-vote__options .ucs-vote__option.is-selected {
  background: var(--ucs-ink) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  border-color: var(--ucs-ink) !important;
}

/* Letter-Badge in der Option (A, B, C, ...) */
.ucs-vote__option-letter,
.ucs-vote__options .ucs-vote__option-letter {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: var(--ucs-paper-2) !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  font-family: var(--mono) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}
.ucs-vote__options .ucs-vote__option.is-selected .ucs-vote__option-letter,
.ucs-vote__options .ucs-vote__option.is-loading .ucs-vote__option-letter {
  background: rgba(247,244,237,.18) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
}

/* v2.7 — `.is-hidden` Klasse als theme-resistenter Ersatz für das HTML
   `hidden` Attribut, das von Enfold mit `display: block !important` 
   überschrieben wurde. */
.ucs-vote .is-hidden,
.ucs-vote__options.is-hidden,
.ucs-vote__slider-wrap.is-hidden {
  display: none !important;
}

.ucs-vote__options .ucs-vote__btn.is-selected {
  background: var(--ucs-ink) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  border-color: var(--ucs-ink) !important;
}

/* Slider question type */
.ucs-vote__slider-wrap {
  padding: 18px 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.ucs-vote__slider-wrap [data-slider-submit] {
  /* v2.4: Antwort-senden-Button mittig + mit deutlich mehr Abstand zum Slider */
  align-self: center !important;
  margin-top: 28px !important;
  min-width: 220px !important;
}
.ucs-vote__slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--ucs-paper-2);
  outline: none;
}
.ucs-vote__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ucs-ink);
  border: 3px solid var(--ucs-paper);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.ucs-vote__slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ucs-ink);
  border: 3px solid var(--ucs-paper);
  cursor: pointer;
}
.ucs-vote__slider-value {
  font-family: var(--mono) !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  text-align: center;
  margin: 14px 0 6px;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
}
.ucs-vote__slider-ends {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono) !important;
  font-size: 11px !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
}

/* Done state */
.ucs-vote__done-icon {
  width: 64px; height: 64px;
  margin: 28px auto 18px;
  border-radius: 50%;
  background: var(--ucs-success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
}
.ucs-vote__foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--ucs-rule);
  font-family: var(--mono) !important;
  font-size: 10px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* v2.14 — Speaker- und Dashboard-Footer mit nur einem Element zentrieren statt
   space-between (sonst hängt der Text links). */
.ucs-vote--speaker .ucs-vote__foot,
.ucs-vote--dashboard .ucs-vote__foot {
  justify-content: center;
  text-align: center;
  margin: 22px 28px 22px;
  padding: 16px 0 4px;
}
.ucs-vote--speaker .ucs-vote__foot small,
.ucs-vote--dashboard .ucs-vote__foot small {
  font-size: 10px !important;
  letter-spacing: .12em !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
}


/* ==========================================================================
   6. STAGE (Beamer View)
   ========================================================================== */

.ucs-vote--stage {
  position: relative;
  /* v2.3 — Speaker-Schutz: Stage darf NIEMALS scrollen. height statt
     min-height, plus overflow:hidden auf html+body als Fallback. */
  height: 100vh;
  max-height: 100vh;
  background: var(--ucs-ink) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  padding: clamp(20px, 3vh, 48px) clamp(24px, 3vw, 56px);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
/* Body lock damit auch der äußere Browser-Scrollbar weg ist, wenn die Stage
   als Vollbild-Seite gerendert wird (z.B. /voting-stage/). */
body:has(.ucs-vote--stage) {
  overflow: hidden;
  height: 100vh;
}
html:has(.ucs-vote--stage) {
  overflow: hidden;
  height: 100%;
}
.ucs-vote--stage::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 50% 0%,  rgba(212,162,76,.1),  transparent 65%),
    radial-gradient(700px 400px at 18% 90%, rgba(192,57,43,.16),  transparent 65%),
    radial-gradient(700px 400px at 82% 90%, rgba(74,124,89,.12),  transparent 65%);
}
.ucs-vote--stage > * {
  position: relative;
  z-index: 1;
}

.ucs-vote-stage__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* v2.3: kompakter Margin damit darunter mehr Platz für Content bleibt */
  margin-bottom: clamp(12px, 2vh, 24px);
  gap: 24px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.ucs-vote-stage__brand {
  flex: 1;
  min-width: 280px;
}
.ucs-vote-stage__brand-name {
  font-family: var(--mono) !important;
  font-size: 13px !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  color: rgba(247,244,237,.65) !important;
  -webkit-text-fill-color: rgba(247,244,237,.65) !important;
  margin-bottom: 6px;
}
.ucs-vote-stage__brand-sub {
  font-family: var(--sans) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  letter-spacing: -0.012em !important;
}

/* Join card top-right */
.ucs-vote-stage__join {
  background: rgba(247,244,237,.06);
  border: 1px solid rgba(247,244,237,.15);
  border-radius: 12px;
  padding: 14px 20px;
  text-align: right;
  min-width: 240px;
}
.ucs-vote-stage__join-label {
  font-family: var(--mono) !important;
  font-size: 10px !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: rgba(247,244,237,.55) !important;
  -webkit-text-fill-color: rgba(247,244,237,.55) !important;
  margin-bottom: 4px;
}
.ucs-vote-stage__join-code {
  font-family: var(--mono) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  line-height: 1.1 !important;
  margin-bottom: 4px;
}
.ucs-vote-stage__join-url {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  color: rgba(247,244,237,.55) !important;
  -webkit-text-fill-color: rgba(247,244,237,.55) !important;
  word-break: break-all;
}

/* Stage screens — v2.3: füllen den verbleibenden Platz nach dem Header,
   ohne ihn zu überlaufen. min-height:0 ist essenziell, damit Flex-Items
   schrumpfen dürfen. */
.ucs-vote-stage__screen {
  display: none !important;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.ucs-vote-stage__screen.is-active {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

/* Idle screen — QR code centered, big headline must be solid white */
.ucs-vote-stage__screen--idle {
  padding: 0;
}
.ucs-vote-stage__idle-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* v2.3: keine fixe min-height mehr - nutzt verfügbaren Platz */
  flex: 1 1 auto;
  min-height: 0;
  text-align: center;
  gap: clamp(16px, 2.5vh, 32px);
  width: 100%;
}
.ucs-vote-stage__qr {
  background: #fff;
  border-radius: 18px;
  padding: clamp(10px, 1.2vmin, 18px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 1;
  /* v2.4: Container schrumpft mit, statt zu sprengen */
  max-width: min(38vmin, 360px);
  max-height: min(38vmin, 360px);
  width: auto;
  height: auto;
}
.ucs-vote-stage__qr img,
.ucs-vote-stage__qr svg,
.ucs-vote-stage__qr canvas {
  display: block;
  /* v2.4: QR skaliert mit kleinster Viewport-Achse (vmin), also reagiert
     er auf BEIDE Dimensionen — auf Querformat-Beamer (16:9) bremst die
     Höhe, auf engen Vertikal-Monitoren bremst die Breite. Hartes Max bei
     320px damit er nie unangemessen groß wird. */
  width: clamp(160px, 32vmin, 320px) !important;
  height: clamp(160px, 32vmin, 320px) !important;
  max-width: 100%;
  max-height: 100%;
}
/* CRITICAL: this was unreadable in the screenshot */
.ucs-vote-stage__idle-h,
.ucs-vote h2.ucs-vote-stage__idle-h,
.ucs-vote--stage h2.ucs-vote-stage__idle-h {
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: clamp(22px, 2.4vw, 36px) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.016em !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  background: transparent !important;
  margin: 0 !important;
  max-width: 980px;
  text-shadow: none !important;
  text-transform: none !important;
}
.ucs-vote-stage__participants {
  margin-top: 8px;
  font-family: var(--mono) !important;
  font-size: 14px !important;
  color: rgba(247,244,237,.7) !important;
  -webkit-text-fill-color: rgba(247,244,237,.7) !important;
}
.ucs-vote-stage__participants span {
  font-family: var(--sans) !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  margin-right: 8px;
  letter-spacing: -0.022em !important;
}
.ucs-vote-stage__participants small {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: rgba(247,244,237,.55) !important;
  -webkit-text-fill-color: rgba(247,244,237,.55) !important;
  display: block;
  margin-top: 4px;
}

/* Live question screen */
.ucs-vote-stage__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
.ucs-vote-stage__q {
  position: relative;
}
.ucs-vote-stage__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono) !important;
  font-size: 14px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: var(--ucs-accent-2) !important;
  -webkit-text-fill-color: var(--ucs-accent-2) !important;
  margin-bottom: clamp(10px, 1.5vh, 18px);
  flex-shrink: 0;
}
.ucs-vote-stage__live-dot {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--ucs-accent-2);
  border-radius: 50%;
  animation: ucs-vote-pulse 1.4s ease-in-out infinite;
}
.ucs-vote-stage__live-sep {
  opacity: .4;
  color: rgba(247,244,237,.6) !important;
  -webkit-text-fill-color: rgba(247,244,237,.6) !important;
}

.ucs-vote-stage__q-text,
.ucs-vote h2.ucs-vote-stage__q-text,
.ucs-vote--stage h2.ucs-vote-stage__q-text {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  /* v2.3: kleiner clampen, damit lange Fragen nicht den Viewport sprengen */
  font-size: clamp(28px, 3.6vw, 56px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.028em !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  background: transparent !important;
  margin: 0 0 clamp(16px, 2.5vh, 36px) !important;
  text-shadow: none !important;
  text-transform: none !important;
  flex-shrink: 0;
}

.ucs-vote-stage__stats {
  display: flex;
  gap: clamp(20px, 2.5vw, 36px);
  margin-bottom: clamp(12px, 2vh, 22px);
  flex-shrink: 0;
}
.ucs-vote-stage__stat-num {
  font-family: var(--sans) !important;
  font-size: clamp(34px, 3.4vw, 54px) !important;
  font-weight: 700 !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  letter-spacing: -0.028em !important;
  line-height: 1 !important;
}
.ucs-vote-stage__stat-label {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: rgba(247,244,237,.55) !important;
  -webkit-text-fill-color: rgba(247,244,237,.55) !important;
  margin-top: 6px;
}
.ucs-vote-stage__join-mini {
  font-family: var(--mono) !important;
  font-size: 13px !important;
  color: rgba(247,244,237,.55) !important;
  -webkit-text-fill-color: rgba(247,244,237,.55) !important;
  letter-spacing: .04em !important;
}
.ucs-vote-stage__join-mini strong {
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  margin-left: 8px;
}

/* Live tally bars — v2.3: füllen den restlichen Platz, schrumpfen dynamisch.
   Bars-Container ist Flex-Kind und füllt was übrig bleibt. */
.ucs-vote-stage__bars {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vh, 18px);
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  /* Bei sehr vielen Optionen verteilen sich die Bars gleichmäßig */
  justify-content: flex-start;
}
.ucs-vote-stage__bar {
  position: relative;
}
.ucs-vote-stage__bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  gap: 12px;
}
.ucs-vote-stage__bar-label {
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  letter-spacing: -0.012em !important;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ucs-vote-stage__bar-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 6px;
  background: rgba(247,244,237,.12);
  font-weight: 700 !important;
  font-size: 14px !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
}
.ucs-vote-stage__bar-stats,
.ucs-vote-stage__bar-stats strong,
.ucs-vote--stage .ucs-vote-stage__bar-stats strong {
  font-family: var(--sans) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  background: transparent !important;
  letter-spacing: -0.018em !important;
}
.ucs-vote-stage__bar-stats small,
.ucs-vote--stage .ucs-vote-stage__bar-stats small {
  font-family: var(--mono) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: rgba(247,244,237,.55) !important;
  -webkit-text-fill-color: rgba(247,244,237,.55) !important;
  background: transparent !important;
  margin-left: 6px;
}
.ucs-vote-stage__bar-track {
  height: 22px;
  background: rgba(247,244,237,.06);
  border-radius: 11px;
  overflow: hidden;
}
.ucs-vote-stage__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ucs-accent), var(--ucs-warn));
  border-radius: 11px;
  transition: width 1s cubic-bezier(.22,.61,.36,1);
}
.ucs-vote-stage__bar.is-leader .ucs-vote-stage__bar-fill {
  background: linear-gradient(90deg, var(--ucs-warn), var(--ucs-success));
}


/* ==========================================================================
   7. SPEAKER CONSOLE
   ========================================================================== */

.ucs-vote--speaker {
  max-width: 1280px;
  margin: 24px auto;
  background: var(--ucs-paper) !important;
  border: 1px solid var(--ucs-rule);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.ucs-vote-speaker__head {
  background: var(--ucs-ink) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  padding: 26px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ucs-vote-speaker__head .ucs-vote__crumb {
  color: rgba(247,244,237,.55) !important;
  -webkit-text-fill-color: rgba(247,244,237,.55) !important;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ucs-vote-speaker__back,
.ucs-vote-speaker__head a.ucs-vote-speaker__back {
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  border-bottom: 1px solid transparent;
  transition: border-color .15s, opacity .15s;
  background: transparent !important;
}
.ucs-vote-speaker__back:hover {
  border-bottom-color: var(--ucs-paper);
  opacity: .9;
}
.ucs-vote-speaker__crumb-sep {
  opacity: .4;
}
.ucs-vote-speaker__title,
.ucs-vote h2.ucs-vote-speaker__title,
.ucs-vote--speaker h2.ucs-vote-speaker__title {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  margin: 0 !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  letter-spacing: -0.022em !important;
  text-shadow: none !important;
}
.ucs-vote-speaker__head-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ucs-vote-speaker__code-pill {
  background: rgba(247,244,237,.08);
  border: 1px solid rgba(247,244,237,.18);
  padding: 10px 16px;
  border-radius: 8px;
  text-align: left;
}
.ucs-vote-speaker__code-pill small {
  display: block;
  font-family: var(--mono) !important;
  font-size: 10px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: rgba(247,244,237,.55) !important;
  -webkit-text-fill-color: rgba(247,244,237,.55) !important;
  margin-bottom: 2px;
}
.ucs-vote-speaker__code-pill strong {
  font-family: var(--mono) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
}
/* Head's button needs to be visible against dark bg */
.ucs-vote-speaker__head .ucs-vote__btn,
.ucs-vote-speaker__head a.ucs-vote__btn {
  background: rgba(247,244,237,.08) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  border-color: rgba(247,244,237,.25) !important;
}
.ucs-vote-speaker__head .ucs-vote__btn:hover {
  background: rgba(247,244,237,.18) !important;
  border-color: rgba(247,244,237,.4) !important;
}

/* Three-panel grid */
.ucs-vote-speaker__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-areas:
    "editor live"
    "list   list";
  gap: 0;
}
.ucs-vote-speaker__editor   { grid-area: editor; }
.ucs-vote-speaker__live-panel { grid-area: live; }
.ucs-vote-speaker__list-panel { grid-area: list; }

.ucs-vote-speaker__panel {
  padding: 26px 32px;
  border-bottom: 1px solid var(--ucs-rule);
}
.ucs-vote-speaker__editor {
  border-right: 1px solid var(--ucs-rule);
}
.ucs-vote-speaker__live-panel {
  background: var(--ucs-paper-2) !important;
}
.ucs-vote-speaker__list-panel {
  border-bottom: none;
}
.ucs-vote-speaker__panel-h,
.ucs-vote h3.ucs-vote-speaker__panel-h {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  font-weight: 500 !important;
  margin: 0 0 18px !important;
}

/* Type pills */
.ucs-vote-speaker__type-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.ucs-vote-speaker__pill,
.ucs-vote button.ucs-vote-speaker__pill {
  background: #fff !important;
  border: 1.5px solid var(--ucs-rule) !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  font-family: var(--sans) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all .12s !important;
}
.ucs-vote-speaker__pill:hover {
  border-color: var(--ucs-ink) !important;
}
.ucs-vote-speaker__pill.is-active {
  background: var(--ucs-ink) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  border-color: var(--ucs-ink) !important;
}

.ucs-vote-speaker__label {
  display: block;
  font-family: var(--mono) !important;
  font-size: 10px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  margin: 0 0 8px !important;
  font-weight: 500 !important;
}
.ucs-vote-speaker__textarea {
  margin-bottom: 18px !important;
}

/* Options editor — Grid-Layout für saubere Ausrichtung */
.ucs-vote-speaker__options {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.ucs-vote-speaker__option {
  display: grid !important;
  grid-template-columns: 44px 1fr 44px;
  align-items: stretch;
  gap: 8px;
}
.ucs-vote-speaker__option-letter {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--ucs-paper-2) !important;
  border: 1px solid var(--ucs-rule);
  border-radius: 6px;
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  min-height: 44px;
}
.ucs-vote-speaker__option-input,
.ucs-vote input[type="text"].ucs-vote-speaker__option-input {
  margin: 0 !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
}
.ucs-vote-speaker__option-del,
.ucs-vote button.ucs-vote-speaker__option-del {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  border: 1px solid var(--ucs-rule) !important;
  border-radius: 6px !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  cursor: pointer !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  padding: 0 !important;
  min-height: 44px !important;
  height: 44px !important;
  line-height: 1 !important;
  transition: all .12s;
}
.ucs-vote-speaker__option-del:hover {
  color: var(--ucs-accent) !important;
  -webkit-text-fill-color: var(--ucs-accent) !important;
  border-color: var(--ucs-accent) !important;
}

.ucs-vote-speaker__slider-cfg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.ucs-vote-speaker__editor-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--ucs-rule);
  margin-top: 18px;
  flex-wrap: wrap;
}

/* Live status panel */
.ucs-vote-speaker__live-status {
  margin-bottom: 18px;
}
/* v2.7 — Live-Active mit Block-Layout: „LIVE seit 12:00" oben,
   Fragentext darunter als eigene Zeile. Vorher klebten beide aneinander. */
.ucs-vote-speaker__live-active {
  background: #fff;
  border: 1px solid var(--ucs-rule);
  border-left: 4px solid var(--ucs-success);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ucs-vote-speaker__live-meta {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono) !important;
  font-size: 12px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
}
.ucs-vote-speaker__live-q,
.ucs-vote-speaker__live-active strong {
  display: block !important;
  font-family: var(--sans) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  line-height: 1.45 !important;
  letter-spacing: -0.01em !important;
  background: transparent !important;
}
.ucs-vote-speaker__live-empty {
  background: #fff;
  border: 1px solid var(--ucs-rule);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
}
.ucs-vote-speaker__live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ucs-success);
  margin-right: 6px;
  vertical-align: middle;
  animation: ucs-vote-pulse 1.4s ease-in-out infinite;
}
.ucs-vote-speaker__live-dot--idle {
  background: var(--ucs-muted);
  animation: none;
}

/* QR card in speaker */
.ucs-vote-speaker__qr-card {
  background: var(--ucs-ink) !important;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.ucs-vote-speaker__qr {
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ucs-vote-speaker__qr img,
.ucs-vote-speaker__qr svg,
.ucs-vote-speaker__qr canvas {
  width: 92px;
  height: 92px;
  display: block;
}
.ucs-vote-speaker__qr-meta {
  flex: 1;
  min-width: 0;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
}
.ucs-vote-speaker__qr-meta small {
  display: block;
  font-family: var(--mono) !important;
  font-size: 10px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: rgba(247,244,237,.55) !important;
  -webkit-text-fill-color: rgba(247,244,237,.55) !important;
  margin-bottom: 6px;
}
.ucs-vote-speaker__qr-meta a {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  word-break: break-all;
  line-height: 1.5 !important;
  text-decoration: none;
}
.ucs-vote-speaker__qr-meta a:hover {
  text-decoration: underline;
}

/* Stat pair */
.ucs-vote-speaker__stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ucs-vote-speaker__stat-pair > div {
  background: #fff;
  border: 1px solid var(--ucs-rule);
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
}
.ucs-vote-speaker__stat-num {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: 26px !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  letter-spacing: -0.022em !important;
  line-height: 1 !important;
}
.ucs-vote-speaker__stat-label {
  font-family: var(--mono) !important;
  font-size: 10px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  margin-top: 6px;
}

/* Question list */
.ucs-vote-speaker__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ucs-vote-speaker__list-item {
  background: #fff;
  border: 1px solid var(--ucs-rule);
  border-radius: 8px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
}
.ucs-vote-speaker__list-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  line-height: 1.4;
}
.ucs-vote-speaker__list-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ucs-vote-speaker__list-actions {
  display: flex;
  gap: 6px;
  /* v2.6: drei Buttons (Live, Bearbeiten, Löschen) brauchen u.U. mehr Platz */
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ucs-vote-speaker__empty {
  text-align: center;
  padding: 30px 20px;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  background: #fff;
  border: 1px dashed var(--ucs-rule);
  border-radius: 8px;
}

/* Chips */
.ucs-vote-speaker__chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  font-family: var(--mono) !important;
  font-size: 10px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}
.ucs-vote-speaker__chip--type    { background: var(--ucs-paper-2); color: var(--ucs-muted) !important; -webkit-text-fill-color: var(--ucs-muted) !important; }
.ucs-vote-speaker__chip--live    { background: rgba(192,57,43,.18); color: var(--ucs-accent) !important; -webkit-text-fill-color: var(--ucs-accent) !important; }
.ucs-vote-speaker__chip--closed  { background: rgba(110,119,135,.18); color: var(--ucs-muted) !important; -webkit-text-fill-color: var(--ucs-muted) !important; }
.ucs-vote-speaker__chip--queued  { background: rgba(212,162,76,.18); color: #8B6B2D !important; -webkit-text-fill-color: #8B6B2D !important; }
.ucs-vote-speaker__chip--draft   { background: rgba(110,119,135,.18); color: var(--ucs-muted) !important; -webkit-text-fill-color: var(--ucs-muted) !important; }
.ucs-vote-speaker__chip--ended   { background: rgba(110,119,135,.32); color: var(--ucs-ink) !important; -webkit-text-fill-color: var(--ucs-ink) !important; }


/* ==========================================================================
   8. SPEAKER LIST (when /voting-speaker/ called without session)
   ========================================================================== */

.ucs-vote-speaker__session-list {
  display: grid;
  gap: 10px;
  padding: 20px 24px;
}
.ucs-vote-speaker__session-card {
  background: #fff;
  border: 1px solid var(--ucs-rule);
  border-radius: 10px;
  padding: 18px 22px;
}
.ucs-vote-speaker__session-card-h {
  font-family: var(--sans) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  margin: 0 0 6px !important;
}
.ucs-vote-speaker__session-card-meta {
  font-size: 12px !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}


/* ==========================================================================
   9. DASHBOARD (Frontend Speaker-Hub)
   ========================================================================== */

.ucs-vote--dashboard {
  max-width: 1180px;
  margin: 24px auto;
  padding: 36px 40px 40px;
  background: var(--ucs-paper) !important;
  border: 1px solid var(--ucs-rule);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}
.ucs-vote-dash__head {
  margin-bottom: 28px;
}
.ucs-vote-dash__title,
.ucs-vote h2.ucs-vote-dash__title,
.ucs-vote--dashboard h2.ucs-vote-dash__title {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: 28px !important;
  margin: 6px 0 0 !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  background: transparent !important;
  letter-spacing: -0.024em !important;
  text-shadow: none !important;
}

/* Create card on dark background */
.ucs-vote-dash__create {
  background: var(--ucs-ink) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 32px;
}
.ucs-vote-dash__create-h,
.ucs-vote h3.ucs-vote-dash__create-h,
.ucs-vote--dashboard h3.ucs-vote-dash__create-h {
  margin: 0 0 14px !important;
  font-size: 11px !important;
  font-family: var(--mono) !important;
  text-transform: uppercase !important;
  letter-spacing: .14em !important;
  color: rgba(247,244,237,.72) !important;
  -webkit-text-fill-color: rgba(247,244,237,.72) !important;
  font-weight: 500 !important;
  background: transparent !important;
  text-shadow: none !important;
}
.ucs-vote-dash__create-row {
  display: flex !important;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}
.ucs-vote-dash__create-input,
.ucs-vote input[type="text"].ucs-vote-dash__create-input {
  flex: 1 1 280px;
  background: rgba(247,244,237,.08) !important;
  border: 1.5px solid rgba(247,244,237,.22) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  border-radius: 8px !important;
  padding: 0 16px !important;
  font: 500 15px var(--sans) !important;
  letter-spacing: -0.005em !important;
  min-height: 48px !important;
  height: 48px !important;
}
.ucs-vote-dash__create-input::placeholder {
  color: rgba(247,244,237,.42) !important;
  -webkit-text-fill-color: rgba(247,244,237,.42) !important;
}
.ucs-vote-dash__create-input:focus {
  border-color: var(--ucs-accent-2) !important;
  background: rgba(247,244,237,.14) !important;
  outline: none !important;
}
/* The submit-button needs to be visually distinct AND aligned with input */
.ucs-vote-dash__create-row .ucs-vote__btn,
.ucs-vote-dash__create-row button.ucs-vote__btn {
  background: var(--ucs-accent) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: var(--ucs-accent) !important;
  padding: 0 24px !important;
  min-height: 48px !important;
  height: 48px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  flex-shrink: 0;
  white-space: nowrap;
}
.ucs-vote-dash__create-row .ucs-vote__btn:hover {
  background: var(--ucs-accent-2) !important;
  color: #fff !important;
  border-color: var(--ucs-accent-2) !important;
}

.ucs-vote-dash__create-msg {
  margin: 12px 0 0 !important;
  font-size: 12px !important;
  font-family: var(--mono) !important;
  letter-spacing: .04em !important;
  color: rgba(247,244,237,.6) !important;
  -webkit-text-fill-color: rgba(247,244,237,.6) !important;
  min-height: 16px;
}
.ucs-vote-dash__create-msg.is-error   { color: #FFB1A3 !important; -webkit-text-fill-color: #FFB1A3 !important; }
.ucs-vote-dash__create-msg.is-success { color: #9BD3AB !important; -webkit-text-fill-color: #9BD3AB !important; }
.ucs-vote-dash__create-msg.is-loading { color: rgba(247,244,237,.55) !important; -webkit-text-fill-color: rgba(247,244,237,.55) !important; }

.ucs-vote-dash__list-h,
.ucs-vote h3.ucs-vote-dash__list-h {
  margin: 0 0 14px !important;
  font-size: 11px !important;
  font-family: var(--mono) !important;
  text-transform: uppercase !important;
  letter-spacing: .14em !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  font-weight: 500 !important;
}
.ucs-vote-dash__list {
  display: grid !important;
  gap: 12px;
}
.ucs-vote-dash__card {
  background: #fff !important;
  border: 1px solid var(--ucs-rule);
  border-radius: 10px;
  padding: 18px 20px;
}
.ucs-vote-dash__card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.ucs-vote-dash__card-title,
.ucs-vote h4.ucs-vote-dash__card-title {
  margin: 0 0 4px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  letter-spacing: -0.012em !important;
  background: transparent !important;
  text-shadow: none !important;
}
.ucs-vote-dash__card-meta {
  font-size: 12px !important;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.ucs-vote-dash__code {
  font-family: var(--mono) !important;
  background: var(--ucs-paper-2) !important;
  border: 1px solid var(--ucs-rule);
  padding: 2px 8px !important;
  border-radius: 4px;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  font-size: 11px !important;
}
.ucs-vote-dash__card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ucs-vote-dash__empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--ucs-muted) !important;
  -webkit-text-fill-color: var(--ucs-muted) !important;
  background: #fff;
  border: 1px dashed var(--ucs-rule);
  border-radius: 10px;
}


/* ==========================================================================
   10. RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
  .ucs-vote-speaker__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "editor"
      "live"
      "list";
  }
  .ucs-vote-speaker__editor {
    border-right: none;
  }
  .ucs-vote-stage__split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .ucs-vote--participant {
    margin: 16px;
    padding: 22px 18px;
  }
  /* v2.13 — Voting Speaker/Dashboard-Logos auf Mobile auf 40px begrenzen */
  .ucs-vote-speaker__head-brand .ucs-vote__logo img,
  .ucs-vote-dash__head-brand .ucs-vote__logo img {
    height: 40px !important;
    max-width: 200px !important;
  }
  /* v2.14 — Stage-Logo auf Mobile auf 42px begrenzen */
  .ucs-vote-stage__brand .ucs-vote__logo img {
    height: 42px !important;
    max-width: 220px !important;
  }
  .ucs-vote--stage {
    padding: 28px 20px;
  }
  .ucs-vote-stage__head {
    flex-direction: column;
  }
  .ucs-vote-stage__join {
    text-align: left;
  }
  .ucs-vote--speaker {
    margin: 16px;
  }
  .ucs-vote-speaker__head {
    padding: 22px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .ucs-vote-speaker__panel {
    padding: 22px 20px;
  }
  .ucs-vote-speaker__slider-cfg {
    grid-template-columns: repeat(2, 1fr);
  }
  .ucs-vote-speaker__list-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ucs-vote--dashboard {
    margin: 16px;
    padding: 24px 18px;
  }
  .ucs-vote-dash__create {
    padding: 18px;
  }
  .ucs-vote-dash__create-row {
    flex-direction: column;
  }
  .ucs-vote-dash__create-row .ucs-vote__btn {
    width: 100%;
  }
}


/* ==========================================================================
   11. UCS BRAND — LOGO HEADER + ICON WATERMARK
   ========================================================================== */

.ucs-vote__logo,
.ucs-vote a.ucs-vote__logo,
.ucs-vote-gate__logo {
  display: inline-block !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: opacity .2s ease;
}
.ucs-vote__logo:hover,
.ucs-vote-gate__logo:hover {
  opacity: .8;
}
.ucs-vote__logo img,
.ucs-vote-gate__logo img {
  display: block !important;
  height: 28px !important;
  width: auto !important;
  max-width: 200px !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  background: transparent !important;
}
.ucs-vote__logo--dark img {
  filter: brightness(0) invert(1) opacity(.92) !important;
}
.ucs-vote__logo--dark:hover img {
  filter: brightness(0) invert(1) opacity(1) !important;
}
.ucs-vote__logo--light img {
  filter: none !important;
}

/* Participant topbar: logo links, crumb mittig, code rechts */
.ucs-vote--participant .ucs-vote__topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ucs-rule);
  margin-bottom: 18px;
}
.ucs-vote--participant .ucs-vote__topbar .ucs-vote__logo {
  flex-shrink: 0;
}
.ucs-vote--participant .ucs-vote__topbar .ucs-vote__logo img {
  height: 22px !important;
}
.ucs-vote--participant .ucs-vote__topbar .ucs-vote__crumb {
  flex: 1;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.ucs-vote--participant .ucs-vote__topbar .ucs-vote__session-code {
  flex-shrink: 0;
}

/* Stage: Logo prominent oben links, "UNICconsult"-Schriftzug darunter */
.ucs-vote-stage__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.ucs-vote-stage__brand .ucs-vote__logo {
  margin-bottom: 4px;
}
.ucs-vote-stage__brand .ucs-vote__logo img {
  height: 58px !important;
  max-width: 300px !important;
}

/* Speaker-Konsole: Logo + Title in einer Reihe */
.ucs-vote-speaker__head-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}
.ucs-vote-speaker__head-brand .ucs-vote__logo {
  flex-shrink: 0;
}
.ucs-vote-speaker__head-brand .ucs-vote__logo img {
  height: 55px !important;
  max-width: 280px !important;
}
.ucs-vote-speaker__head-brand .ucs-vote__crumb {
  color: rgba(247,244,237,.55) !important;
  -webkit-text-fill-color: rgba(247,244,237,.55) !important;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 4px;
}
.ucs-vote-speaker__head-meta-text {
  min-width: 0;
  flex: 1;
}

/* Dashboard: Logo + Title in einer Reihe */
.ucs-vote-dash__head-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ucs-vote-dash__head-brand .ucs-vote__logo {
  flex-shrink: 0;
}
.ucs-vote-dash__head-brand .ucs-vote__logo img {
  height: 55px !important;
  max-width: 280px !important;
}

/* Gate logo */
.ucs-vote-gate__logo {
  display: block !important;
  margin: 0 auto 22px !important;
  text-align: center;
}
.ucs-vote-gate__logo img {
  height: 32px !important;
  max-width: 220px !important;
  margin: 0 auto !important;
}


/* --- Icon-Watermark --- */

.ucs-vote__watermark {
  position: absolute !important;
  pointer-events: none !important;
  user-select: none !important;
  z-index: 0 !important;
  background-image: var(--ucs-watermark-url) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  width: 320px;
  height: 320px;
  opacity: .06;
  transition: opacity .4s ease;
}
.ucs-vote__watermark--lg  { width: 220px; height: 220px; }
.ucs-vote__watermark--xl  { width: 360px; height: 360px; }
.ucs-vote__watermark--xxl { width: 560px; height: 560px; }

.ucs-vote__watermark--light {
  filter: brightness(0) invert(1) !important;
  opacity: .05;
}
.ucs-vote__watermark--dark {
  filter: none !important;
  opacity: .04;
}

.ucs-vote__watermark--tl { top:   -120px; left:  -120px; }
.ucs-vote__watermark--tr { top:   -120px; right: -120px; }
.ucs-vote__watermark--bl { bottom: -120px; left:  -120px; }
.ucs-vote__watermark--br { bottom: -120px; right: -120px; }
.ucs-vote__watermark--cl { top: 50%; left:  -160px; transform: translateY(-50%); }
.ucs-vote__watermark--cr { top: 50%; right: -160px; transform: translateY(-50%); }

.ucs-vote__watermark--xxl.ucs-vote__watermark--tl { top:   -260px; left:  -260px; }
.ucs-vote__watermark--xxl.ucs-vote__watermark--tr { top:   -260px; right: -260px; }
.ucs-vote__watermark--xxl.ucs-vote__watermark--bl { bottom: -260px; left:  -260px; }
.ucs-vote__watermark--xxl.ucs-vote__watermark--br { bottom: -260px; right: -260px; }
.ucs-vote__watermark--xxl.ucs-vote__watermark--cl { left: -320px; }
.ucs-vote__watermark--xxl.ucs-vote__watermark--cr { right: -320px; }

/* Auf der Stage etwas stärker — der Watermark IST hier ein Designstatement */
.ucs-vote--stage .ucs-vote__watermark--light {
  opacity: .07;
}

/* Drift-Animation auf der Stage */
.ucs-vote--stage .ucs-vote__watermark {
  animation: ucs-vote-watermark-drift 18s ease-in-out infinite alternate;
}
@keyframes ucs-vote-watermark-drift {
  from { transform: translateY(-50%) translateX(0);     }
  to   { transform: translateY(-44%) translateX(-14px); }
}
.ucs-vote--stage .ucs-vote__watermark--bl,
.ucs-vote--stage .ucs-vote__watermark--br,
.ucs-vote--stage .ucs-vote__watermark--tl,
.ucs-vote--stage .ucs-vote__watermark--tr {
  animation-name: ucs-vote-watermark-drift-corner;
}
@keyframes ucs-vote-watermark-drift-corner {
  from { transform: translate(0, 0)      rotate(0deg);  }
  to   { transform: translate(-8px, 6px) rotate(2deg);  }
}

@media (prefers-reduced-motion: reduce) {
  .ucs-vote--stage .ucs-vote__watermark { animation: none !important; }
}

/* Positioning-Kontexte für Watermarks */
.ucs-vote--participant,
.ucs-vote--dashboard,
.ucs-vote--gate {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ucs-vote--stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Content z-index lifting */
.ucs-vote--participant > *:not(.ucs-vote__watermark),
.ucs-vote--dashboard   > *:not(.ucs-vote__watermark),
.ucs-vote--gate        > *:not(.ucs-vote__watermark) {
  position: relative;
  z-index: 1;
}


/* ==========================================================================
   12. SLIDER STAGE RESULT (v2.2)
   Vollständig neu — vorher war's blau-auf-blau und langweilig.
   Jetzt: großer Avg-Hero, Range-Visualisierung mit Marker, Meta-Stats.
   ========================================================================== */

.ucs-vote-stage__slider {
  display: flex;
  flex-direction: column;
  /* v2.3: gap clamped, container füllt verfügbaren Platz */
  gap: clamp(16px, 3vh, 36px);
  max-width: 880px;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  justify-content: center;
  margin: 0 auto;
}

/* Hero: Durchschnitts-Zahl gigantisch + Label */
.ucs-vote-stage__slider-hero {
  text-align: center;
  padding: 24px 0 12px;
}
.ucs-vote-stage__slider-hero-label {
  font-family: var(--mono) !important;
  font-size: clamp(12px, 0.9vw, 14px) !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  color: rgba(247, 244, 237, 0.6) !important;
  -webkit-text-fill-color: rgba(247, 244, 237, 0.6) !important;
  margin-bottom: 14px;
}
.ucs-vote-stage__slider-hero-value {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: clamp(80px, 9vw, 140px) !important;
  line-height: 1 !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  letter-spacing: -0.04em !important;
  text-shadow: 0 0 32px rgba(247, 244, 237, 0.18) !important;
}

/* Range Track mit Avg-Marker */
.ucs-vote-stage__slider-range {
  /* v2.4: extra Platz unten für das Avg-Label, damit es nicht in die Meta-Zeile rutscht */
  margin: 0 8px 48px;
}
.ucs-vote-stage__slider-range-ends {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ucs-vote-stage__slider-range-ends span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ucs-vote-stage__slider-range-ends span:first-child {
  text-align: left;
}
.ucs-vote-stage__slider-range-ends span:last-child {
  text-align: right;
}
.ucs-vote-stage__slider-range-ends small {
  font-family: var(--mono) !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: rgba(247, 244, 237, 0.55) !important;
  -webkit-text-fill-color: rgba(247, 244, 237, 0.55) !important;
}
.ucs-vote-stage__slider-range-ends strong {
  font-family: var(--sans) !important;
  font-size: clamp(24px, 2.4vw, 36px) !important;
  font-weight: 700 !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  letter-spacing: -0.022em !important;
}
.ucs-vote-stage__slider-range-track {
  position: relative;
  height: 14px;
  background: rgba(247, 244, 237, 0.08);
  border-radius: 7px;
  overflow: visible;
}
.ucs-vote-stage__slider-range-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--ucs-accent), var(--ucs-warn), var(--ucs-success));
  border-radius: 7px;
  transition: width 1s cubic-bezier(.22, .61, .36, 1);
}
.ucs-vote-stage__slider-range-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: left 1s cubic-bezier(.22, .61, .36, 1);
}
.ucs-vote-stage__slider-range-marker-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ucs-paper);
  box-shadow: 0 0 0 4px var(--ucs-ink), 0 0 16px rgba(247, 244, 237, 0.4);
}
.ucs-vote-stage__slider-range-marker-label {
  position: absolute;
  top: 100%;
  /* v2.4: vom Track 20px nach unten, statt 12px — sonst zu nah an der Trennlinie */
  margin-top: 20px;
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: clamp(16px, 1.4vw, 22px) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  letter-spacing: -0.012em !important;
  white-space: nowrap;
  background: rgba(247, 244, 237, 0.1);
  border: 1px solid rgba(247, 244, 237, 0.18);
  padding: 4px 12px;
  border-radius: 6px;
}

/* Meta-Stats Grid am unteren Rand */
.ucs-vote-stage__slider-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  /* v2.4: deutlich mehr Whitespace nach oben, damit das Marker-Label nicht
     auf der Trennlinie sitzt. */
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(247, 244, 237, 0.1);
}
.ucs-vote-stage__slider-meta > div {
  text-align: center;
}
.ucs-vote-stage__slider-meta small {
  display: block;
  font-family: var(--mono) !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: rgba(247, 244, 237, 0.55) !important;
  -webkit-text-fill-color: rgba(247, 244, 237, 0.55) !important;
  margin-bottom: 6px;
}
.ucs-vote-stage__slider-meta strong {
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  font-size: clamp(22px, 2vw, 30px) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  letter-spacing: -0.022em !important;
}

/* Edit-Button-Indikator im Speaker-Editor */
.ucs-vote__btn.is-editing,
.ucs-vote button.ucs-vote__btn.is-editing {
  background: var(--ucs-warn) !important;
  color: var(--ucs-ink) !important;
  -webkit-text-fill-color: var(--ucs-ink) !important;
  border-color: var(--ucs-warn) !important;
}


/* ==========================================================================
   13. DASHBOARD — IMPORT QUESTIONS FROM ENDED SESSION (v2.5)
   ========================================================================== */

.ucs-vote-dash__import {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 244, 237, 0.08);
}
.ucs-vote-dash__import-label {
  display: flex;
  cursor: pointer;
  user-select: none;
}
.ucs-vote-dash__import-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px !important;
  font-family: var(--mono) !important;
  letter-spacing: .04em !important;
  color: rgba(247, 244, 237, 0.7) !important;
  -webkit-text-fill-color: rgba(247, 244, 237, 0.7) !important;
  cursor: pointer;
}
.ucs-vote-dash__import-toggle input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  cursor: pointer;
  accent-color: var(--ucs-accent);
}
.ucs-vote-dash__import-toggle:hover {
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
}

.ucs-vote-dash__import-row {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ucs-vote-dash__import-row[hidden] {
  display: none;
}
.ucs-vote-dash__import-select,
.ucs-vote select.ucs-vote-dash__import-select {
  width: 100%;
  padding: 10px 14px !important;
  background: rgba(247, 244, 237, 0.06) !important;
  color: var(--ucs-paper) !important;
  -webkit-text-fill-color: var(--ucs-paper) !important;
  border: 1px solid rgba(247, 244, 237, 0.18) !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-family: var(--sans) !important;
  outline: none !important;
  cursor: pointer;
}
.ucs-vote-dash__import-select:focus {
  border-color: var(--ucs-accent) !important;
}
.ucs-vote-dash__import-select option {
  background: var(--ucs-ink) !important;
  color: var(--ucs-paper) !important;
}
.ucs-vote-dash__import-hint {
  font-size: 12px !important;
  font-family: var(--mono) !important;
  letter-spacing: .04em !important;
  color: rgba(247, 244, 237, 0.5) !important;
  -webkit-text-fill-color: rgba(247, 244, 237, 0.5) !important;
  line-height: 1.5 !important;
}
