:root {
  --bg: #06101b;
  --surface: rgba(9, 18, 29, 0.9);
  --border: rgba(149, 202, 255, 0.14);
  --text: #eef4ff;
  --muted: #9baecc;
  --accent-strong: #1a6fd4;
  --shadow: 0 24px 54px rgba(0, 0, 0, 0.32);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(67, 138, 255, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(92, 224, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #040810 0%, var(--bg) 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  max-width: 1460px;
  margin: 0 auto;
  padding: 28px;
}

.hero-card,
.panel,
.sub-panel,
.period-row,
.manual-search-box,
.result-block,
.status-dialog {
  backdrop-filter: blur(14px);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 32px;
}

.compact-hero {
  padding-top: 18px;
  padding-bottom: 18px;
}

.simple-hero {
  grid-template-columns: 1fr;
  gap: 0;
}

.stage-badge {
  margin: 0;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #3ca7ff, var(--accent-strong));
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.hero-copy p,
.panel-head p,
.sub-panel-head p,
.inline-note,
.helper-list,
.meta-line,
.empty-state,
.field span,
.toggle-field span {
  color: var(--muted);
}

.hero-copy p,
.panel-head p,
.sub-panel-head p,
.meta-line {
  line-height: 1.65;
}

.hero-link {
  align-self: start;
  justify-self: end;
  color: #7ec9ff;
  font-weight: 700;
  text-decoration: none;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.9fr);
  gap: 24px;
  margin-top: 24px;
}

.layout-grid.single-column {
  grid-template-columns: minmax(0, 1fr);
}

.left-column,
.right-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.adjust-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel {
  border-radius: var(--radius-xl);
  padding: 24px;
}

.panel-head {
  margin-bottom: 18px;
}

.panel-head h2,
.sub-panel-head h3 {
  margin: 0 0 8px;
}

.mode-switch {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mode-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 700;
  color: #8fd4ff;
  background: rgba(40, 104, 184, 0.14);
}

.mode-button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #2e9fff, var(--accent-strong));
}

.stack-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-actions {
  justify-content: flex-end;
}

.field span {
  font-size: 0.95rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(149, 202, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(8, 16, 28, 0.88);
  color: var(--text);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(82, 171, 255, 0.18);
  border-color: rgba(82, 171, 255, 0.48);
}

input[readonly] {
  background: rgba(15, 27, 42, 0.96);
  color: #8fd4ff;
  cursor: default;
}

input[type="date"],
input[type="time"] {
  color-scheme: dark;
  padding-right: 52px;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  padding: 6px;
  border-radius: 10px;
  background: rgba(143, 212, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(143, 212, 255, 0.12);
  filter: invert(0.94) sepia(0.12) saturate(0.9) hue-rotate(176deg) brightness(1.22);
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  background: rgba(143, 212, 255, 0.24);
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-button,
.ghost-button,
.tiny-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.primary-button {
  padding: 14px 22px;
  color: #fff;
  background: linear-gradient(135deg, #32a6ff, var(--accent-strong));
}

.ghost-button {
  padding: 12px 18px;
  color: #9bd9ff;
  background: rgba(53, 112, 181, 0.14);
}

.tiny-button {
  padding: 9px 14px;
  color: #9bd9ff;
  background: rgba(53, 112, 181, 0.18);
}

.wide-button {
  width: 100%;
}

.toggle-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.toggle-field input {
  width: auto;
}

.sub-panel {
  border-radius: 22px;
  padding: 18px;
}

.voice-panel {
  background:
    linear-gradient(180deg, rgba(38, 110, 196, 0.12), rgba(8, 16, 28, 0.96));
}

.sub-panel-head,
.result-headline,
.manual-search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.voice-panel-head {
  align-items: flex-start;
}

.voice-button-row {
  justify-content: flex-end;
}

.voice-assistant-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr);
  gap: 16px;
  margin-top: 14px;
}

.voice-role-card,
.voice-assistant-controls,
.voice-input-row {
  border-radius: 18px;
  background: rgba(8, 16, 28, 0.82);
  border: 1px solid rgba(149, 202, 255, 0.12);
}

.voice-role-card {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(117, 193, 255, 0.18), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(10, 21, 35, 0.98), rgba(8, 16, 28, 0.92));
}

.voice-role-card[data-persona="teacher"] {
  background:
    radial-gradient(circle at top left, rgba(143, 222, 255, 0.18), rgba(255, 255, 255, 0) 44%),
    linear-gradient(135deg, rgba(10, 22, 38, 0.98), rgba(8, 16, 28, 0.92));
}

.voice-role-card[data-persona="coach"] {
  background:
    radial-gradient(circle at top left, rgba(102, 217, 255, 0.2), rgba(255, 255, 255, 0) 44%),
    linear-gradient(135deg, rgba(9, 21, 37, 0.98), rgba(8, 16, 28, 0.92));
}

.voice-role-figure {
  position: relative;
  display: grid;
  place-items: center;
}

.voice-role-shadow {
  position: absolute;
  bottom: 8px;
  width: 118px;
  height: 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  filter: blur(8px);
}

.voice-role-stage {
  position: relative;
  width: 168px;
  height: 176px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  animation: voiceStageFloat 3.4s ease-in-out infinite;
}

.voice-role-stage-glow {
  position: absolute;
  inset: 18px 14px 26px;
  border-radius: 42% 42% 48% 48%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(61, 167, 255, 0.52), rgba(26, 111, 212, 0.24));
  box-shadow: 0 18px 42px rgba(17, 76, 134, 0.24);
}

.voice-role-card[data-persona="teacher"] .voice-role-stage-glow {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(82, 197, 255, 0.48), rgba(35, 126, 206, 0.24));
}

.voice-role-card[data-persona="coach"] .voice-role-stage-glow {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(89, 233, 255, 0.52), rgba(32, 128, 198, 0.26));
}

.voice-role-image {
  position: relative;
  width: 136px;
  height: 136px;
  object-fit: contain;
  z-index: 2;
  transform-origin: center bottom;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.voice-role-wave {
  position: absolute;
  inset: 16px 12px 20px;
  border-radius: 50%;
  border: 1px solid rgba(196, 109, 63, 0.2);
  opacity: 0;
}

.voice-role-stage.is-speaking .voice-role-wave {
  opacity: 1;
}

.voice-role-stage.is-listening .voice-role-wave {
  opacity: 1;
}

.voice-role-stage.is-listening .voice-role-wave-a {
  animation: voiceListenPulse 2.2s ease-out infinite;
}

.voice-role-stage.is-listening .voice-role-wave-b {
  animation: voiceListenPulse 2.2s ease-out 0.7s infinite;
}

.voice-role-stage.is-speaking .voice-role-wave-a {
  animation: voicePulse 1.6s ease-out infinite;
}

.voice-role-stage.is-speaking .voice-role-wave-b {
  animation: voicePulse 1.6s ease-out 0.45s infinite;
}

.voice-role-stage.is-listening .voice-role-image {
  animation: voiceListenBob 2.2s ease-in-out infinite;
  filter: saturate(1.04);
}

.voice-role-stage.is-speaking .voice-role-image {
  animation: voiceTalkBob 720ms ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(29, 111, 181, 0.28));
}

.voice-role-meta {
  display: grid;
  gap: 10px;
}

.voice-role-meta strong {
  color: #d8efff;
}

.voice-role-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.voice-role-headline strong {
  font-size: 1.15rem;
}

.voice-role-voice-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13, 28, 44, 0.88);
  border: 1px solid rgba(149, 202, 255, 0.18);
  color: #8fd4ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.voice-role-meta p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.voice-role-bubble {
  position: relative;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(10, 21, 35, 0.88);
  border: 1px solid rgba(149, 202, 255, 0.16);
  line-height: 1.72;
  color: var(--text);
  min-height: 74px;
}

.voice-role-bubble::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 22px;
  width: 18px;
  height: 18px;
  border-left: 1px solid rgba(149, 202, 255, 0.16);
  border-bottom: 1px solid rgba(149, 202, 255, 0.16);
  background: rgba(10, 21, 35, 0.88);
  transform: rotate(45deg);
}

.voice-role-card[data-persona="teacher"] .voice-role-voice-label,
.voice-role-card[data-persona="teacher"] .voice-role-bubble {
  border-color: rgba(120, 207, 255, 0.18);
}

.voice-role-card[data-persona="coach"] .voice-role-voice-label,
.voice-role-card[data-persona="coach"] .voice-role-bubble {
  border-color: rgba(100, 223, 255, 0.18);
}

.voice-assistant-controls {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(9, 18, 29, 0.88), rgba(7, 14, 24, 0.94));
  border: 1px solid rgba(149, 202, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(149, 202, 255, 0.06);
}

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

.voice-persona-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(149, 202, 255, 0.16);
  border-radius: 16px;
  background: rgba(8, 16, 28, 0.78);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.voice-persona-card:hover {
  transform: translateY(-1px);
  border-color: rgba(126, 201, 255, 0.3);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
}

.voice-persona-card.is-active {
  border-color: rgba(126, 201, 255, 0.42);
  background: linear-gradient(180deg, rgba(20, 52, 88, 0.92), rgba(9, 18, 29, 0.98));
  box-shadow: 0 18px 30px rgba(4, 14, 26, 0.34);
}

.voice-persona-card.is-active img {
  transform: scale(1.04);
}

.voice-persona-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: transform 160ms ease;
}

.voice-persona-copy {
  display: grid;
  gap: 3px;
}

.voice-persona-copy strong {
  color: #dff2ff;
  font-size: 0.98rem;
}

.voice-persona-copy small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.voice-speak-toggle {
  font-size: 0.95rem;
}

.voice-summary,
.voice-transcript {
  white-space: pre-line;
}

.voice-summary-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.voice-summary-list strong {
  color: var(--accent-strong);
}

.voice-transcript {
  display: grid;
  gap: 10px;
  max-height: 180px;
  overflow: auto;
}

.voice-message {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(8, 16, 28, 0.72);
  border: 1px solid rgba(149, 202, 255, 0.12);
}

.voice-message.user {
  background: linear-gradient(180deg, rgba(53, 112, 181, 0.22), rgba(8, 16, 28, 0.78));
}

.voice-message.assistant {
  background: linear-gradient(180deg, rgba(26, 111, 212, 0.18), rgba(8, 16, 28, 0.82));
}

.voice-message.system {
  background: rgba(12, 24, 38, 0.88);
}

.voice-message-role {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.voice-message-text {
  line-height: 1.7;
  color: var(--text);
}

.voice-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
}

.voice-input-row input {
  margin: 0;
}

@keyframes voiceStageFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes voicePulse {
  0% {
    transform: scale(0.92);
    opacity: 0.42;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

@keyframes voiceListenPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.24;
  }
  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

@keyframes voiceListenBob {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(-1deg);
  }
}

@keyframes voiceTalkBob {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  35% {
    transform: translateY(-2px) scale(1.04);
  }
  70% {
    transform: translateY(1px) scale(0.99);
  }
}

.period-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.period-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
}

.period-row.single {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
}

.helper-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0;
}

.empty-state {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(9, 18, 29, 0.84), rgba(7, 14, 24, 0.92));
  border: 1px solid rgba(149, 202, 255, 0.12);
}

.result-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adjust-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.25fr);
  gap: 24px;
}

.adjust-class-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adjust-class-card {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(149, 202, 255, 0.16);
  border-radius: 20px;
  padding: 16px 18px;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(9, 18, 29, 0.88), rgba(7, 14, 24, 0.96));
  color: var(--text);
}

.adjust-class-card.is-active {
  border-color: rgba(126, 201, 255, 0.42);
  box-shadow: 0 14px 30px rgba(4, 14, 26, 0.34);
}

.adjust-class-card-head,
.adjust-detail-head,
.adjust-student-head,
.adjust-insert-head,
.adjust-candidate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.adjust-class-card h3,
.adjust-block h3 {
  margin: 0;
}

.adjust-detail-head {
  align-items: flex-start;
  flex-wrap: wrap;
}

.adjust-detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adjust-detail-hint {
  margin-top: 8px;
}

.adjust-class-card p,
.adjust-detail-meta,
.adjust-candidate-meta,
.adjust-student-meta {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.adjust-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.adjust-block + .adjust-block {
  margin-top: 18px;
}

.adjust-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adjust-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(26, 111, 212, 0.16);
  color: #dff2ff;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid rgba(149, 202, 255, 0.14);
}

.adjust-badge.is-open {
  background: rgba(46, 204, 113, 0.14);
  color: #baf5d3;
}

.adjust-badge.is-close {
  background: rgba(255, 177, 66, 0.16);
  color: #ffd89d;
}

.adjust-student-list,
.adjust-candidate-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adjust-student-item,
.adjust-candidate-item {
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(8, 16, 28, 0.76);
  border: 1px solid rgba(149, 202, 255, 0.14);
}

.adjust-student-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.adjust-candidate-item label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.adjust-candidate-item input {
  width: auto;
  margin-top: 4px;
}

.adjust-insert-actions,
.adjust-candidate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adjust-type-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
  color: #b8dcff;
  background: rgba(26, 111, 212, 0.12);
  border: 1px solid rgba(149, 202, 255, 0.12);
}

.adjust-type-button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #32a6ff, var(--accent-strong));
}

.adjust-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.result-block {
  border-radius: 20px;
  padding: 18px;
}

.result-block.success {
  background: linear-gradient(180deg, rgba(46, 204, 113, 0.14), rgba(7, 16, 27, 0.96));
  border: 1px solid rgba(90, 222, 144, 0.2);
}

.result-block.warning {
  background: linear-gradient(180deg, rgba(255, 177, 66, 0.14), rgba(7, 16, 27, 0.96));
  border: 1px solid rgba(255, 196, 98, 0.2);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pill-list,
.candidate-list,
.manual-result-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.pill,
.candidate-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 16, 28, 0.78);
  border: 1px solid rgba(149, 202, 255, 0.14);
  font-size: 0.94rem;
}

.unresolved-item {
  padding: 14px 0;
  border-top: 1px dashed rgba(128, 113, 96, 0.2);
}

.manual-search-box {
  border-radius: 20px;
  padding: 18px;
  margin-top: 12px;
}

.manual-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  margin-top: 12px;
}

.manual-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(8, 16, 28, 0.76);
  border: 1px solid rgba(149, 202, 255, 0.14);
}

.manual-result-item input {
  width: auto;
}

.status-line {
  margin-top: 8px;
  font-size: 0.94rem;
  color: var(--accent-strong);
}

.inline-note {
  font-size: 0.94rem;
}

.adjust-inline-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: -2px;
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(58, 44, 33, 0.28);
  z-index: 999;
}

.status-dialog {
  width: min(460px, 100%);
  border-radius: 24px;
  padding: 22px;
}

.status-dialog-head,
.status-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-dialog-head h3 {
  margin: 0;
  font-size: 1.3rem;
}

.status-dialog-body {
  margin: 16px 0 20px;
}

.status-dialog-body p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
  white-space: pre-line;
}

.dialog-close-button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.25rem;
  color: #cfe7ff;
  background: rgba(26, 111, 212, 0.14);
  border: 1px solid rgba(149, 202, 255, 0.12);
}

.status-dialog-actions {
  justify-content: flex-end;
}

.status-dialog-actions .primary-button {
  min-width: 120px;
}

.status-dialog.is-busy .status-dialog-actions .primary-button,
.status-dialog.is-busy .dialog-close-button {
  opacity: 0.55;
  pointer-events: none;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .layout-grid,
  .hero-card {
    grid-template-columns: 1fr;
  }

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

  .hero-link {
    justify-self: start;
  }

  .voice-role-card {
    grid-template-columns: 1fr;
  }

  .voice-role-figure {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 16px;
  }

  .panel,
  .hero-card {
    padding: 18px;
  }

  .field-grid,
  .period-row,
  .period-row.single,
  .result-grid,
  .manual-search-form,
  .adjust-search-row {
    grid-template-columns: 1fr;
  }

  .voice-assistant-bar,
  .voice-input-row {
    grid-template-columns: 1fr;
  }

  .voice-role-card {
    padding: 16px;
  }

  .voice-role-stage {
    width: 150px;
    height: 160px;
  }

  .voice-role-image {
    width: 122px;
    height: 122px;
  }

  .voice-role-bubble::after {
    left: 18px;
    top: -8px;
    border-left: 0;
    border-bottom: 0;
    border-top: 1px solid rgba(141, 76, 47, 0.16);
    border-right: 1px solid rgba(141, 76, 47, 0.16);
  }
}
