body.admin-page.admin-login.voice-auth {
  display: flex !important;
  align-items: stretch;
  justify-content: center;
  min-height: 100dvh;
  padding: 0;
  background: #0c1422;
  color: #f2f3f5;
}

body.voice-auth .admin-main,
body.voice-auth .admin-main-login,
body.voice-auth .login-stage,
body.voice-auth .login-sky {
  display: contents;
}

.voice-room {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  box-sizing: border-box;
  overflow: hidden;
  background: linear-gradient(185deg, #0c1422 0%, #121c2e 58%, #0e1828 100%);
}

.voice-aurora {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .16);
  filter: blur(40px);
  pointer-events: none;
}

.voice-window {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  height: min(680px, calc(100dvh - 40px));
  display: flex;
  flex-direction: column;
  background: #16263a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: visible;
  color: #f2f3f5;
}

.voice-chrome {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 16px;
  background: #0c1422;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.voice-dots {
  display: flex;
  gap: 6px;
}

.voice-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.voice-dots i:first-child { background: #ed6a5e; }
.voice-dots i:nth-child(2) { background: #f4bf4f; }
.voice-dots i:nth-child(3) { background: #61c554; }

.voice-chrome-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.voice-chrome-title strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.voice-chrome-title span {
  display: block;
  color: #9aa1ad;
  font-size: 0.75rem;
  font-weight: 600;
}

.voice-live {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #23a559;
  box-shadow: 0 0 0 0 rgba(35, 165, 89, .7);
  animation: voice-pulse 2.2s ease-out infinite;
}

.voice-brand {
  margin-left: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #93c5fd;
}

.voice-brand-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: 92px;
  height: auto;
  display: block;
  pointer-events: none;
}

.locale-switch {
  display: inline-flex;
  gap: 2px;
  margin-left: auto;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.locale-switch a {
  min-width: 34px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #c5c8d0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
}

.locale-switch a.is-on {
  background: #2563eb;
  color: #fff;
}

.voice-split {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 0;
}

.voice-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 18px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, .10), transparent 42%),
    #0c1422;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.voice-headset-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.voice-headset {
  width: 148px;
  height: auto;
  color: #dbeafe;
  filter: drop-shadow(0 12px 24px rgba(37, 99, 235, .28));
}

.voice-wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
}

.voice-wave span {
  width: 4px;
  height: 8px;
  border-radius: 99px;
  background: #23a559;
  animation: voice-bar 1s ease-in-out infinite;
}

.voice-wave span:nth-child(2) { animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { animation-delay: 0.32s; }
.voice-wave span:nth-child(5) { animation-delay: 0.14s; }
.voice-wave span:nth-child(6) { animation-delay: 0.26s; }
.voice-wave span:nth-child(7) { animation-delay: 0.05s; }

.voice-window.is-muted .voice-mic-tip,
.voice-window.is-deaf .voice-wave span {
  background: #ed6a5e;
}

.voice-window.is-muted .voice-wave span,
.voice-window.is-deaf .voice-wave span {
  animation: none;
  height: 6px;
  opacity: 0.55;
}

.voice-stage-caption {
  margin: 0;
  text-align: center;
  color: #b5bac1;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.4;
}

.voice-thread {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #121c2e;
}

.voice-messages {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.voice-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.voice-avatar {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #16263a;
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 800;
}

.voice-msg header {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.voice-msg strong {
  font-size: 0.86rem;
}

.voice-msg time {
  color: #8b919c;
  font-size: 0.72rem;
  font-weight: 600;
}

.voice-msg p {
  margin: 4px 0 0;
  color: #d7dbe3;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 500;
}

.voice-composer {
  padding: 8px 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.voice-auth .voice-composer h1 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: #fff;
  text-align: left;
}

body.voice-auth .voice-composer .lede {
  margin: 4px 0 12px;
  color: #9aa1ad;
  font-size: 0.84rem;
  text-align: left;
}

body.voice-auth .voice-composer .auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  text-align: left;
}

body.voice-auth .voice-composer .auth-form label span {
  color: #b5bac1;
  font-size: 0.74rem;
}

body.voice-auth .voice-composer .auth-form input:not([type="checkbox"]):not([type="radio"]) {
  background: #0a1018;
  color: #f2f3f5;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
}

body.voice-auth .voice-composer .auth-form input::placeholder {
  color: #6d7380;
}

body.voice-auth .voice-composer .auth-form input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .25);
}

body.voice-auth .voice-composer .password-toggle {
  color: #9aa1ad;
}

body.voice-auth .voice-composer .login-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 0;
}

body.voice-auth .voice-composer .login-remember {
  position: relative;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.55rem !important;
  flex: 0 0 auto;
  min-width: 0;
  color: #f4f6fb !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

body.voice-auth .voice-composer .remember-copy {
  color: #f4f6fb !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

body.voice-auth .voice-composer .ui-check {
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  background: #0a1018 !important;
  border: 1.5px solid #e7ebf3 !important;
  box-sizing: border-box;
}

body.voice-auth .login-remember input:checked + .ui-check {
  background: #2563eb !important;
  border-color: #2563eb !important;
}

body.voice-auth .voice-composer .login-forgot,
body.voice-auth .voice-composer .login-foot,
body.voice-auth .voice-composer .login-foot a {
  color: #d5dbe6;
  font-size: 0.84rem;
}

body.voice-auth .voice-composer .login-foot {
  margin: 10px 0 0;
  text-align: center;
}

body.voice-auth .voice-composer .login-foot a,
body.voice-auth .voice-composer .login-forgot {
  color: #93c5fd;
  font-weight: 700;
  text-decoration: none;
}

body.voice-auth .voice-composer .login-forgot:hover,
body.voice-auth .voice-composer .login-foot a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.voice-auth .admin-main-login .btn-primary,
body.voice-auth .voice-composer .btn-primary {
  width: 100%;
  margin-top: 4px;
  min-height: 44px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  box-shadow: none;
  font-weight: 700;
}

body.voice-auth .voice-composer .btn-primary:hover {
  background: #3b82f6;
  filter: none;
}

body.voice-auth .voice-composer .login-alert {
  margin: 0 0 10px;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 650;
}

body.voice-auth .voice-composer .login-alert p {
  margin: 0;
}

body.voice-auth .voice-composer .login-alert p + p {
  margin-top: 4px;
}

body.voice-auth .voice-composer .login-alert.is-error {
  background: rgba(237, 106, 94, 0.14);
  color: #ffd2cd;
  border: 1px solid rgba(237, 106, 94, 0.35);
}

body.voice-auth .voice-composer .login-alert.is-ok {
  background: rgba(35, 165, 89, .14);
  color: #c8f5d4;
  border: 1px solid rgba(35, 165, 89, .35);
}

.voice-dock {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  padding: 8px 12px;
  background: #0c1422;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 18px 18px;
  position: relative;
  z-index: 30;
}

.dock-pick {
  position: relative;
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 240px;
  height: 40px;
  padding: 0 12px;
  border: none;
  border-radius: 999px;
  background: #0a1018;
  color: #e8eaef;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.dock-btn [data-pick-label] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dock-chevron {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0.75;
}

.dock-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 40;
  width: min(280px, 70vw);
  max-height: 240px;
  overflow: auto;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #0a1018;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.dock-option {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #e8eaef;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.dock-option:hover,
.dock-option.is-selected {
  background: rgba(37, 99, 235, .22);
}

.dock-option.is-selected {
  color: #fff;
}

.dock-empty {
  margin: 0;
  padding: 8px 10px;
  color: #b5bac1;
  font-size: 0.78rem;
  line-height: 1.4;
}

.dock-btn > svg:first-child {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.dock-btn .dock-slash {
  display: none;
}

.dock-btn[aria-pressed="true"] {
  background: rgba(237, 106, 94, 0.18);
  color: #ffd2cd;
}

.dock-btn[aria-pressed="true"] .dock-slash {
  display: block;
}

.dock-btn:hover {
  background: #16263a;
}

.dock-btn[aria-pressed="true"]:hover {
  background: rgba(237, 106, 94, 0.28);
}

.voice-status {
  margin: 0 0 0 auto;
  color: #9aa1ad;
  font-size: 0.78rem;
  font-weight: 650;
}

@keyframes voice-pulse {
  0% { box-shadow: 0 0 0 0 rgba(35, 165, 89, .55); }
  70% { box-shadow: 0 0 0 8px rgba(35, 165, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(35, 165, 89, 0); }
}

@keyframes voice-bar {
  0%, 100% { height: 6px; }
  50% { height: 24px; }
}

@media (max-width: 760px) {
  .voice-room {
    padding: 0;
    align-items: stretch;
  }

  .voice-window {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }

  .voice-split {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .voice-stage {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .voice-headset {
    width: 84px;
  }

  .voice-headset-wrap {
    flex-direction: row;
    gap: 12px;
  }

  .voice-stage-caption {
    text-align: left;
  }

  .voice-brand,
  .voice-brand-logo {
    display: none;
  }

  .voice-status {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice-live,
  .voice-wave span {
    animation: none;
  }
}
