:root {
  color-scheme: light;
  --ink: #0b0d12;
  --muted: #667085;
  --line: #e5e7eb;
  --paper: #f7f8fb;
  --panel: #ffffff;
  --accent: #1f55d7;
  --accent-dark: #1948c6;
  --warn: #dc2626;
  --soft: #f8fafc;
  --soft-blue: #eaf1ff;
  --success: #16a34a;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px rgba(16, 24, 40, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(31, 85, 215, 0.05), transparent 32rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body:has(.interviewee-page) {
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 102, 255, .26), transparent 24%),
    radial-gradient(circle at 12% 86%, rgba(41, 255, 124, .10), transparent 24%),
    linear-gradient(135deg, #000 0%, #050608 48%, #101217 100%);
  color: #f7f9ff;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.narrow {
  width: min(480px, calc(100% - 32px));
  min-height: 100vh;
  display: grid;
  align-content: center;
}

.wide {
  width: min(1440px, calc(100% - 32px));
}

.masthead,
.row,
.inline-form,
.question-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.masthead,
.between {
  justify-content: space-between;
}

.masthead {
  margin-bottom: 22px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
}

.admin-shell h1 {
  margin: 0;
  font-size: 34px;
  line-height: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.admin-shell h2 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.panel {
  background: var(--panel);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
}

h1,
h2 {
  margin: 0 0 8px;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
  line-height: 1.5;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

input,
select,
button,
.button {
  min-height: 44px;
  border-radius: 8px;
  font: inherit;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  padding: 0 12px;
  color: var(--ink);
}

textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  padding: 12px;
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--accent);
  color: white;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

button:hover,
.button:hover {
  background: var(--accent-dark);
}

button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.secondary {
  background: var(--ink);
}

.danger {
  background: var(--warn);
}

.danger:hover {
  background: #b91c1c;
}

.compact {
  min-height: 36px;
  padding: 0 12px;
  font-size: .88rem;
}

.inline-form {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 240px auto;
}

.inline-form input {
  min-width: 0;
}

.interview {
  margin-top: 18px;
}

.interview > .row:first-child {
  align-items: flex-start;
}

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

.follow-up-note {
  margin: 6px 0 0;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 700;
}

.question-form {
  align-items: stretch;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.question-form input[name="prompt"] {
  flex: 1 1 260px;
}

.question-form input[name="maxSeconds"] {
  width: 120px;
}

.item {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.item strong {
  color: var(--ink);
}

.question-item__header {
  gap: 12px;
}

.question-item__header strong {
  min-width: 0;
}

audio,
video {
  width: 100%;
}

.answer-player {
  max-height: 520px;
  aspect-ratio: 16 / 9;
  background: #111827;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(11, 13, 18, 0.08);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 14px rgba(16, 24, 40, 0.05);
}

.answer-actions,
.response-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.answer-actions a,
.follow-up-list a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.answer-actions a:hover,
.follow-up-list a:hover {
  text-decoration: underline;
}

.status {
  color: var(--warn);
  font-weight: 700;
  align-self: center;
}

.response {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.response summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
  padding: 8px 0;
}

.response-toolbar {
  margin: 10px 0 14px;
}

.follow-up-list {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.content-kit-panel {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
  display: grid;
  gap: 16px;
}

.content-kit-panel h3,
.content-kit-panel h4 {
  margin: 0 0 8px;
}

.content-kit-form {
  display: grid;
  gap: 12px;
}

.transcript-field {
  color: var(--ink);
}

.content-kit-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.content-kit-preview > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.content-kit-preview ul {
  margin: 0;
  padding-left: 20px;
}

.content-kit-preview li {
  margin: 6px 0;
  line-height: 1.4;
}

.content-kit-preview pre {
  margin: 0;
  white-space: pre-wrap;
  font: inherit;
  line-height: 1.45;
  color: var(--muted);
}

.recorder {
  width: min(1280px, calc(100% - 32px));
}

.interviewee-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(430px, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(26px, 5vw, 64px) 0;
  color: #f7f9ff;
}

.interviewee-page::before,
.interviewee-page::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border: 10px solid transparent;
  border-radius: 50%;
}

.interviewee-page::before {
  width: 920px;
  height: 460px;
  top: -8px;
  right: -260px;
  border-color: #2f8cff #2f8cff transparent transparent;
  transform: rotate(13deg);
  opacity: .86;
}

.interviewee-page::after {
  width: 760px;
  height: 380px;
  top: 240px;
  right: -180px;
  border-color: transparent #25e66f #25e66f transparent;
  transform: rotate(142deg);
  opacity: .74;
}

.interview-hero {
  min-height: min(760px, calc(100vh - 96px));
  display: grid;
  align-content: space-between;
  gap: 44px;
  padding: 0;
  border-bottom: 0;
}

.interview-hero > *,
.hero-copy,
.hero-status {
  min-width: 0;
  max-width: 100%;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: .85rem;
  font-weight: 850;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(47, 140, 255, .86);
  border-radius: 50%;
  color: #f7f9ff;
  background: #075ee8;
  box-shadow: 0 0 34px rgba(47, 140, 255, .52);
}

.hero-copy {
  width: min(760px, 100%);
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.6rem, 8.2vw, 7.7rem);
  line-height: .88;
  overflow-wrap: anywhere;
  color: #f7f9ff;
  text-wrap: balance;
}

.hero-copy p:last-child {
  max-width: 620px;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: #e6ebf5;
  line-height: 1.38;
}

.hero-status,
.quality-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-status span,
.quality-list span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(47, 140, 255, .52);
  border-radius: 999px;
  background: rgba(5, 8, 13, .78);
  padding: 0 14px;
  color: #f7f9ff;
  font-size: .86rem;
  font-weight: 750;
  max-width: 100%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.interview-surface {
  position: relative;
  margin: 0;
  background: linear-gradient(180deg, rgba(17, 20, 27, .96), rgba(7, 9, 13, .96));
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, .72),
    0 0 0 1px rgba(47, 140, 255, .10);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.interview-surface::before {
  content: "";
  display: block;
  height: 42px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .10), transparent 34%),
    #11151c;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.interview-surface::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25e66f;
  box-shadow: 16px 0 0 #e6c65c, 32px 0 0 #2f8cff;
}

.setup,
.setup-view,
.recording-view,
.complete-view {
  display: grid;
  gap: 20px;
}

.setup-view,
.recording-view,
.complete-view {
  padding: clamp(22px, 3.4vw, 38px);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.setup-copy,
.question-card,
.camera-card,
.setup-panel {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(15, 18, 24, .92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.setup-copy,
.question-card {
  padding: clamp(18px, 3vw, 30px);
}

.setup-copy h2,
.question-header h2,
.complete-view h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: .96;
  color: #f7f9ff;
  text-wrap: balance;
}

.setup-panel {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #aeb8c8;
  font-size: .76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.step-label,
.card-label {
  margin: 0 0 8px;
  color: #2f8cff;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.question-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.question-count {
  min-width: 58px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47, 140, 255, .72);
  border-radius: 999px;
  color: #f7f9ff;
  background: #0b63ce;
  font-weight: 900;
}

.progress-rail {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}

.progress-rail span {
  display: block;
  height: 100%;
  background: #2f8cff;
}

.question-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.lock-note {
  margin: 0;
  font-size: .92rem;
  color: #aeb8c8;
}

.camera-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(47, 140, 255, .10), transparent 28%),
    #05070a;
  box-shadow:
    0 0 0 1px rgba(47, 140, 255, .20),
    0 18px 48px rgba(0, 0, 0, .38);
}

.preview {
  aspect-ratio: 16 / 9;
  background: #05070a;
  border-radius: 8px;
  object-fit: cover;
}

.studio-preview {
  display: block;
  min-height: 300px;
  border-radius: 10px;
}

.camera-card .studio-preview {
  height: 100%;
  min-height: 360px;
  border-radius: 0;
}

.recording-indicator {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(3, 7, 12, .82);
  color: #f7f9ff;
  padding: 0 12px;
  font-size: .82rem;
  font-weight: 850;
  border: 1px solid rgba(255, 255, 255, .18);
}

.recording-indicator span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9aa8bd;
}

.recording-indicator.is-recording span {
  background: #b42318;
}

.controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.studio-controls {
  justify-content: flex-end;
}

.primary-action {
  min-width: 190px;
  background: #0b63ce;
  box-shadow: 0 14px 34px rgba(47, 140, 255, .22);
  min-height: 52px;
  border-radius: 999px;
}

.secondary-action {
  min-width: 170px;
  background: #202733;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
}

.compact {
  width: auto;
  min-height: 38px;
  padding: 9px 14px;
  font-size: .9rem;
}

.tech-check .studio-grid {
  align-items: stretch;
}

.tech-panel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(6, 11, 18, .72);
}

.check-row {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.check-row:first-of-type {
  border-top: 0;
}

.check-row strong {
  color: #f7f9ff;
}

.check-row p {
  margin: 0;
  color: #aeb8c8;
}

.meter {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}

.upload-meter {
  height: 8px;
}

.meter > span {
  display: block;
  width: 0;
  height: 100%;
  background: #2f8cff;
  transition: width .2s ease;
}

.mic-meter {
  height: 12px;
}

.state-line {
  margin: 0;
  min-height: 24px;
  font-weight: 720;
  color: #d7deeb;
}

.orientation-gate {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(47, 140, 255, .42);
  background: rgba(47, 140, 255, .10);
  color: #f7f9ff;
}

.orientation-gate[hidden] {
  display: none;
}

.orientation-gate strong,
.orientation-gate p {
  margin: 0;
}

.orientation-gate p {
  color: #c4cedd;
}

.upload-lock {
  min-height: 430px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 36px;
  border: 1px solid rgba(47, 140, 255, .32);
  background:
    linear-gradient(135deg, rgba(47, 140, 255, .14), transparent 34%),
    rgba(5, 8, 13, .94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

.upload-lock h2 {
  margin: 0;
  max-width: 720px;
  color: #f7f9ff;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: .98;
}

.upload-lock p {
  margin: 0;
  max-width: 640px;
  color: #c4cedd;
}

.lock-box {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
}

.lock-box strong {
  color: #f7f9ff;
}

.lock-box span {
  color: #aeb8c8;
}

.retry-action {
  justify-self: start;
}

.countdown-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 30px;
  border: 1px solid #e1e7f0;
  border-radius: 16px;
  background: #ffffff;
  color: #111827;
  text-align: center;
  min-height: 332px;
  align-content: center;
}

.countdown-card p {
  margin: 0;
  color: #5f6b7c;
}

.countdown-ring {
  width: 166px;
  height: 166px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 10px solid #dfe6f3;
  border-top-color: #2458d8;
  border-radius: 50%;
}

.countdown-card.is-counting .countdown-ring {
  border-color: #2458d8;
  border-left-color: #dfe6f3;
}

.countdown-ring strong {
  display: block;
  color: #111827;
  font-size: 3.2rem;
  line-height: .9;
}

.countdown-ring span {
  display: block;
  color: #111827;
  font-weight: 750;
}

.answer-panel .primary-action {
  min-height: 58px;
  font-size: 1.05rem;
  border-radius: 8px;
}

.answer-panel .secondary-action {
  min-height: 48px;
  border-radius: 8px;
}

.complete-view {
  min-height: 320px;
  align-content: center;
  text-align: center;
}

.complete-view p {
  margin-inline: auto;
  max-width: 520px;
}

body:has(.interviewee-page) {
  background: #fbfcfe;
  color: #111827;
}

.interviewee-page {
  color: #111827;
}

.interviewee-page::before,
.interviewee-page::after {
  display: none;
}

.interview-hero {
  color: #111827;
}

.brand-row {
  color: #111827;
  text-transform: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.72rem;
  font-weight: 760;
}

.brand-mark {
  display: none;
}

.hero-copy h1,
.setup-copy h2,
.question-header h2,
.complete-view h2 {
  color: #111827;
}

.hero-copy p:last-child {
  color: #5f6b7c;
}

.hero-status span,
.quality-list span {
  border-color: #dbe3ef;
  background: #ffffff;
  color: #344054;
  box-shadow: none;
}

.interview-surface {
  background: #ffffff;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.interview-surface::before,
.interview-surface::after {
  display: none;
}

.setup-copy,
.question-card,
.camera-card,
.setup-panel {
  border-color: #dbe3ef;
  background: #ffffff;
  box-shadow: none;
}

.panel-topline,
.lock-note,
.state-line {
  color: #5f6b7c;
}

.step-label,
.card-label {
  color: #2458d8;
}

.question-count {
  border-color: #d6e2ff;
  background: #eef4ff;
  color: #2458d8;
}

.progress-rail {
  background: #e5eaf2;
}

.progress-rail span,
.meter > span {
  background: #2458d8;
}

.camera-card {
  background: #f8fafc;
}

.primary-action {
  background: #2458d8;
  box-shadow: 0 12px 26px rgba(36, 88, 216, .18);
}

.secondary-action {
  background: #ffffff;
  border: 1px solid #cfd8e6;
  color: #111827;
}

.recording-indicator {
  background: rgba(255, 255, 255, .92);
  color: #111827;
  border-color: #dbe3ef;
}

.orientation-gate {
  border-color: #d6e2ff;
  background: #eef4ff;
  color: #111827;
}

.orientation-gate p {
  color: #5f6b7c;
}

.interviewee-page {
  width: min(100% - 48px, 1490px);
  display: block;
  padding: 0 0 34px;
}

.interview-hero {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid #dbe3ef;
}

.hero-copy {
  width: auto;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.05rem, 1.9vw, 1.34rem);
  line-height: 1.2;
  font-weight: 780;
}

.hero-copy p:last-child {
  margin: 0;
  font-size: .88rem;
}

.hero-status {
  justify-content: flex-end;
}

.hero-status span:first-child {
  color: #166534;
  background: #eaf8ef;
  border-color: #c9ead4;
}

.interview-surface {
  margin-top: 30px;
  overflow: visible;
}

.polished-interview {
  gap: 22px;
  padding: 0 32px 34px;
}

.polished-interview .question-header {
  align-items: center;
}

.polished-interview .question-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.65vw, 2.35rem);
  line-height: 1.1;
}

.segmented-progress {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
  gap: 7px;
  width: min(540px, 100%);
  margin-top: 16px;
}

.segmented-progress span {
  height: 8px;
  border-radius: 999px;
  background: #e1e7f0;
}

.segmented-progress span.is-active {
  background: #2458d8;
}

.answer-limit {
  white-space: nowrap;
  color: #5f6b7c;
  font-weight: 650;
}

.answer-limit strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  background: #eef4ff;
  padding: 0 10px;
  color: #2458d8;
}

.interview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, .74fr) minmax(280px, .72fr);
  gap: 24px;
  align-items: start;
}

.interview-main,
.answer-panel,
.interview-sidebar {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.listen-note {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #344054;
  font-weight: 650;
  min-height: 28px;
}

.listen-note span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #d6e2ff;
  border-radius: 999px;
  background: #eef4ff;
  padding: 0 10px;
  color: #2458d8;
  font-size: .82rem;
  font-weight: 850;
}

.listen-note p {
  margin: 0;
  color: #344054;
}

.host-media-card {
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
}

.host-media-card .card-label {
  margin: 0;
  padding: 16px 18px;
  color: #111827;
  font-size: 1rem;
  font-weight: 780;
  text-transform: none;
}

#questionMedia {
  display: block;
  width: 100%;
  border-radius: 0;
}

audio#questionMedia {
  padding: 0 18px 20px;
}

video#questionMedia {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.camera-section {
  display: grid;
  gap: 12px;
  padding: 18px 18px 20px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #ffffff;
}

.camera-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.camera-title strong {
  color: #111827;
}

.camera-title span {
  color: #5f6b7c;
  font-size: .92rem;
}

.camera-section .camera-card {
  border-radius: 10px;
  border-color: #dbe3ef;
  background: #f8fafc;
}

.camera-section .camera-card .studio-preview {
  min-height: 0;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 330px;
}

.answer-panel {
  position: sticky;
  top: 22px;
  gap: 18px;
}

.answer-panel .studio-controls {
  display: grid;
}

.answer-panel .primary-action,
.answer-panel .secondary-action {
  width: 100%;
}

.side-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .035);
}

.side-card h3 {
  margin: 0;
  color: #111827;
  font-size: 1rem;
}

.side-card p {
  position: relative;
  margin: 0;
  padding-left: 20px;
  color: #344054;
  font-size: .94rem;
  line-height: 1.45;
}

.side-card p::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #2458d8;
  font-weight: 900;
}

.help-card p::before {
  content: "";
}

.about-card dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.about-card div {
  display: grid;
  gap: 5px;
}

.about-card div + div {
  padding-top: 16px;
  border-top: 1px solid #e5eaf2;
}

.about-card dt {
  color: #667085;
  font-size: .9rem;
}

.about-card dd {
  margin: 0;
  color: #111827;
  font-weight: 680;
}

@media (max-width: 980px) {
  .interviewee-page {
    width: min(100% - 22px, 1180px);
    display: block;
    gap: 26px;
    padding-top: 18px;
  }

  .interview-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 14px;
    text-align: center;
  }

  .brand-row,
  .hero-status {
    justify-content: center;
  }

  .hero-copy {
    display: grid;
    gap: 6px;
  }

  .studio-grid,
  .question-header {
    grid-template-columns: 1fr;
    display: grid;
  }

  .interview-grid {
    grid-template-columns: 1fr;
  }

  .answer-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  main {
    width: min(100% - 24px, 1120px);
    padding: 20px 0;
  }

  .masthead,
  .row,
  .inline-form {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-form {
    grid-template-columns: 1fr;
  }

  button,
  .button {
    width: 100%;
  }

  .content-kit-preview {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .setup-view {
    gap: 14px;
  }

  .setup-view .setup-panel {
    order: -1;
  }

  .setup-panel .studio-preview {
    min-height: 150px;
    max-height: 180px;
  }

  .setup-panel #preview {
    display: none;
  }

  .question-count {
    width: 58px;
  }

  .setup-view,
  .recording-view,
  .complete-view,
  .upload-lock {
    padding: 18px;
  }

  .upload-lock {
    min-height: 360px;
  }

  .retry-action {
    justify-self: stretch;
  }

  .camera-card .studio-preview,
  .studio-preview {
    min-height: 220px;
  }

  .studio-controls {
    justify-content: stretch;
  }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 980px) {
  main.interviewee-page {
    width: min(100% - 16px, 1180px);
    gap: 12px;
    padding: 8px 0;
  }

  .interview-hero {
    display: none;
  }

  .interview-surface::before {
    height: 28px;
  }

  .interview-surface::after {
    top: 10px;
  }

  .recording-view {
    gap: 8px;
    padding: 10px;
  }

  .recording-view .question-header {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .recording-view .question-header h2 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.15;
  }

  .recording-view .step-label,
  .recording-view .card-label,
  .recording-view .lock-note {
    display: none;
  }

  .recording-view .question-count {
    min-width: 46px;
    min-height: 34px;
    font-size: .78rem;
  }

  .recording-view .studio-grid {
    grid-template-columns: minmax(150px, .62fr) minmax(300px, 1fr);
    gap: 10px;
  }

  .recording-view .interview-grid {
    grid-template-columns: minmax(150px, .62fr) minmax(240px, 1fr);
    gap: 10px;
  }

  .recording-view .listen-note,
  .recording-view .host-media-card,
  .recording-view .camera-title {
    display: none;
  }

  .recording-view .interview-main {
    gap: 8px;
  }

  .recording-view .camera-section {
    padding: 8px;
    gap: 0;
  }

  .recording-view .interview-sidebar {
    display: none;
  }

  .recording-view .answer-panel {
    position: static;
    gap: 8px;
  }

  .recording-view .countdown-card {
    padding: 10px;
  }

  .recording-view .countdown-ring {
    width: 82px;
    height: 82px;
    border-width: 6px;
  }

  .recording-view .countdown-ring strong {
    font-size: 1.8rem;
  }

  .recording-view .question-card {
    padding: 10px;
    gap: 8px;
  }

  .recording-view .camera-card .studio-preview,
  .recording-view .studio-preview {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .recording-view .camera-section .camera-card .studio-preview {
    width: 100%;
  }

  .recording-view .recording-indicator {
    top: 8px;
    left: 8px;
    min-height: 26px;
    padding: 0 10px;
    font-size: .75rem;
  }

  .recording-view .studio-controls {
    position: sticky;
    bottom: 0;
    z-index: 3;
    justify-content: flex-end;
    padding-top: 2px;
    background: linear-gradient(180deg, transparent, rgba(7, 9, 13, .96) 18%);
  }

  .recording-view .primary-action,
  .recording-view .secondary-action {
    width: auto;
    min-width: 140px;
    min-height: 42px;
    padding: 0 14px;
  }

  .recording-view .state-line {
    min-height: 18px;
    font-size: .82rem;
  }
}

/* Creator Studio admin */

body:has(.admin-studio),
body:has(.admin-login) {
  background:
    radial-gradient(circle at 12% 0%, rgba(31, 85, 215, .07), transparent 34rem),
    linear-gradient(180deg, #f7f8fb 0%, #eef2f7 100%);
  color: #0b0d12;
}

.admin-studio {
  --studio-text: #0b0d12;
  --studio-muted: #667085;
  --studio-soft: #f8fafc;
  --studio-line: #e5e7eb;
  --studio-strong-line: #d0d5dd;
  --studio-blue: #1f55d7;
  --studio-blue-dark: #1948c6;
  --studio-dark: #0f172a;
  --studio-danger: #dc2626;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0 0 56px;
}

.admin-login {
  width: min(520px, calc(100% - 32px));
}

.login-panel {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(229, 231, 235, .92);
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.login-panel h1 {
  font-size: 42px;
  letter-spacing: -.04em;
}

.login-panel p {
  margin: 0;
}

.login-form {
  display: grid;
  gap: 14px;
}

.button--primary {
  background: var(--studio-blue, var(--accent));
  color: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 8px 18px rgba(31, 85, 215, .16);
}

.button--primary:hover {
  background: var(--studio-blue-dark, var(--accent-dark));
}

.button--secondary {
  border: 1px solid var(--studio-strong-line, #d0d5dd);
  background: #fff;
  color: #344054;
  box-shadow: none;
}

.button--secondary:hover {
  background: #f8fafc;
  color: #0b0d12;
}

.button--danger {
  background: var(--studio-danger, #dc2626);
  color: #fff;
  box-shadow: none;
}

.button--danger:hover {
  background: #b91c1c;
}

.studio-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(229, 231, 235, .86);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px);
}

.studio-brand,
.studio-topbar__meta,
.studio-secure {
  display: flex;
  align-items: center;
}

.studio-brand {
  gap: 12px;
}

.studio-brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #0b0d12;
  color: #fff;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(11, 13, 18, .18);
}

.studio-brand strong,
.studio-brand span {
  display: block;
}

.studio-brand strong {
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -.02em;
}

.studio-brand span:not(.studio-brand__mark) {
  color: #667085;
  font-size: 13px;
  line-height: 18px;
  font-weight: 650;
}

.studio-topbar__meta {
  gap: 12px;
}

.admin-studio .icon,
.admin-login .icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: currentColor;
}

.admin-studio .icon--sm,
.admin-login .icon--sm {
  width: 16px;
  height: 16px;
}

.studio-secure {
  gap: 7px;
  color: #667085;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.studio-layout {
  display: grid;
  grid-template-columns: 332px minmax(0, 1fr);
  gap: 28px;
  width: min(1620px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 28px;
}

.studio-rail {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding-right: 2px;
}

.studio-create,
.studio-module,
.metric-card,
.studio-empty {
  border: 1px solid rgba(229, 231, 235, .92);
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-card);
}

.studio-create {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.section-kicker {
  margin: 0;
  color: #1f55d7;
  font-size: 12px;
  line-height: 16px;
  font-weight: 850;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.create-form {
  display: grid;
  gap: 12px;
}

.mode-picker {
  display: grid;
  gap: 8px;
}

.mode-picker label {
  color: #344054;
}

.mode-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}

.mode-picker span {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 750;
}

.mode-picker input:checked + span {
  border-color: rgba(31, 85, 215, .42);
  background: #eaf1ff;
  color: #1f55d7;
}

.rail-list {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(229, 231, 235, .78);
  border-radius: 10px;
  background: rgba(255, 255, 255, .52);
}

.rail-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #0b0d12;
  text-decoration: none;
}

.rail-item:hover,
.rail-item.is-active {
  border-color: #dbe4ff;
  background: #fff;
}

.rail-item__status {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #98a2b3;
  box-shadow: 0 0 0 4px rgba(152, 162, 179, .12);
}

.rail-item__status.is-published {
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .12);
}

.rail-item__body {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.rail-item__body strong,
.rail-item__body span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rail-item__body strong {
  font-size: 14px;
  line-height: 20px;
}

.rail-item__body span,
.rail-item__mode,
.empty-copy {
  color: #667085;
  font-size: 12px;
  line-height: 16px;
  font-weight: 650;
}

.rail-item__mode {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #344054;
}

.studio-workspace {
  min-width: 0;
  display: grid;
  gap: 24px;
}

.studio-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.metric-card {
  padding: 16px;
  box-shadow: var(--shadow-soft, 0 1px 2px rgba(16, 24, 40, .04));
}

.metric-card span {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 16px;
  font-weight: 750;
}

.metric-card strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
  line-height: 34px;
  letter-spacing: -.04em;
}

.studio-interview {
  scroll-margin-top: 92px;
  display: grid;
  gap: 16px;
  padding-top: 6px;
}

.interview-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 8px 2px;
}

.interview-heading__copy {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.interview-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.chip-row,
.content-kit-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip,
.status-pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: #f1f5f9;
  color: #344054;
  font-size: 12px;
  line-height: 16px;
  font-weight: 750;
  white-space: nowrap;
}

.status-pill.is-ready {
  background: #ecfdf3;
  color: #027a48;
}

.status-pill.is-processing {
  background: #eaf1ff;
  color: #1f55d7;
}

.status-pill.is-failed {
  background: #fef2f2;
  color: #b42318;
}

.interview-actions,
.content-kit-actions,
.answer-actions,
.response-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.studio-module-grid {
  display: grid;
  grid-template-columns: minmax(360px, .86fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: start;
}

.studio-module {
  padding: 18px;
}

.module-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.module-header h3 {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -.02em;
}

.module-header p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 18px;
}

.module-count {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1f55d7;
  font-weight: 850;
}

.question-list,
.responses {
  display: grid;
  gap: 10px;
}

.question-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid #e5e7eb;
}

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

.question-index {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.question-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.question-body strong {
  line-height: 1.35;
}

.question-body span {
  color: #667085;
  font-size: 12px;
  font-weight: 650;
}

.question-media {
  width: 100%;
  max-height: 180px;
  border-radius: 8px;
  background: #111827;
}

.text-card-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f8fafc;
}

.text-card-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 750;
}

.text-card-form textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
}

.text-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.text-card-status {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #344054;
  font-size: 12px;
  font-weight: 750;
}

.text-card-status.is-ready {
  background: #ecfdf3;
  color: #027a48;
}

.text-card-status.is-processing {
  background: #eaf1ff;
  color: #1f55d7;
}

.text-card-status.is-failed {
  background: #fef2f2;
  color: #b42318;
}

.studio-question-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.studio-question-form label {
  min-width: 0;
  font-size: 12px;
}

.studio-question-form input[name="maxSeconds"] {
  width: 100%;
}

.studio-question-form .button {
  width: 100%;
}

.question-recording-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #dbe4ff;
  border-radius: 10px;
  background: #f8fbff;
}

.question-recording-meter[hidden] {
  display: none;
}

.question-recording-meter strong {
  color: #1f55d7;
  font-size: 13px;
  line-height: 18px;
}

.question-recording-meter span {
  min-width: 54px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.question-draft-preview {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbe4ff;
  border-radius: 8px;
  background: #f8fbff;
}

.question-draft-preview[hidden] {
  display: none;
}

.question-draft-preview__header {
  display: grid;
  gap: 2px;
}

.question-draft-preview__header strong {
  color: #0b0d12;
  font-size: 13px;
  line-height: 18px;
}

.question-draft-preview__header span {
  color: #667085;
  font-size: 12px;
  line-height: 16px;
  font-weight: 650;
}

.question-draft-preview audio,
.question-draft-preview video {
  width: 100%;
  border-radius: 8px;
  background: #111827;
}

.studio-status {
  grid-column: 1 / -1;
  min-height: 20px;
}

.empty-state,
.studio-empty {
  color: #667085;
  font-size: 14px;
  line-height: 20px;
}

.empty-state {
  padding: 18px;
  border: 1px dashed #d0d5dd;
  border-radius: 10px;
  background: #f8fafc;
}

.studio-empty {
  padding: 34px;
}

.studio-empty h2 {
  margin: 0 0 8px;
}

.studio-response {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

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

.studio-response summary::-webkit-details-marker {
  display: none;
}

.studio-response[open] summary {
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

.response-person {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  flex: 0 0 auto;
}

.response-person strong,
.response-person small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.response-person small {
  color: #667085;
  font-size: 12px;
  line-height: 16px;
  font-weight: 650;
}

.response-summary-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-response .response-toolbar {
  padding: 14px 16px 0;
}

.response-status {
  margin: 10px 16px 0;
}

.follow-up-list {
  margin: 14px 16px 0;
}

.answer-review {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(280px, 1fr);
  gap: 16px;
  padding: 16px;
  border-top: 1px solid #e5e7eb;
}

.answer-review:first-of-type {
  margin-top: 14px;
}

.answer-media {
  min-width: 0;
}

.answer-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 440px;
  object-fit: contain;
}

.answer-detail {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
}

.answer-detail__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.answer-detail__header strong {
  display: block;
  margin-top: 4px;
  line-height: 1.35;
}

.answer-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.answer-meta div {
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
}

.answer-meta dt,
.answer-meta dd {
  margin: 0;
}

.answer-meta dt {
  color: #667085;
  font-size: 11px;
  line-height: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.answer-meta dd {
  margin-top: 3px;
  color: #344054;
  font-size: 13px;
  font-weight: 750;
}

.transcript-snippet {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
}

.transcript-snippet summary {
  padding: 10px 12px;
  cursor: pointer;
  color: #344054;
  font-weight: 800;
}

.transcript-snippet p {
  margin: 0;
  padding: 0 12px 12px;
  color: #344054;
  font-size: 13px;
  line-height: 20px;
}

.content-kit-panel {
  margin: 16px;
  padding: 16px;
  border: 1px solid #dbe4ff;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.content-kit-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.content-kit-header h3 {
  margin: 0;
  font-size: 18px;
}

.content-kit-header p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 18px;
}

.content-kit-stats {
  margin-top: 12px;
}

.content-kit-form {
  margin-top: 14px;
}

.transcript-editor {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.transcript-editor summary {
  padding: 12px 14px;
  cursor: pointer;
  color: #344054;
  font-weight: 850;
}

.transcript-grid {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}

.transcript-field span {
  color: #344054;
  font-size: 13px;
  line-height: 18px;
}

.content-kit-preview {
  margin-top: 16px;
}

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100% - 40px));
}

.toast {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #abefc6;
  border-radius: 10px;
  background: #ecfdf3;
  color: #027a48;
  box-shadow: 0 16px 38px rgba(16, 24, 40, .16);
}

.toast--error {
  border-color: #fecdca;
  background: #fef2f2;
  color: #b42318;
}

.toast span {
  font-size: 13px;
  line-height: 18px;
  color: inherit;
  overflow-wrap: anywhere;
}

.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(8px);
}

.confirm-dialog {
  width: min(480px, 100%);
  display: grid;
  gap: 20px;
  padding: 22px;
  border: 1px solid rgba(229, 231, 235, .96);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
}

.confirm-dialog h2 {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -.03em;
}

.confirm-message {
  margin: 8px 0 0;
}

.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 1240px) {
  .studio-layout,
  .studio-module-grid {
    grid-template-columns: 1fr;
  }

  .studio-rail {
    position: static;
    max-height: none;
  }

  .rail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rail-list .section-kicker {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .studio-topbar,
  .interview-heading,
  .content-kit-header,
  .studio-response summary,
  .answer-detail__header {
    align-items: stretch;
    flex-direction: column;
  }

  .studio-topbar {
    position: static;
    min-height: 0;
    padding: 16px;
  }

  .studio-layout {
    width: min(100% - 28px, 1620px);
    padding-top: 18px;
  }

  .studio-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .interview-actions,
  .content-kit-actions {
    width: 100%;
  }

  .interview-actions .button,
  .content-kit-actions .button {
    flex: 1 1 180px;
  }

  .studio-question-form,
  .answer-review,
  .answer-meta {
    grid-template-columns: 1fr;
  }

  .question-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .question-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .studio-overview,
  .rail-list {
    grid-template-columns: 1fr;
  }

  .metric-card strong {
    font-size: 25px;
    line-height: 30px;
  }

  .studio-module,
  .studio-create,
  .content-kit-panel {
    padding: 14px;
  }

  .interview-heading h2 {
    font-size: 25px;
    line-height: 31px;
  }

  .response-summary-meta,
  .answer-actions,
  .response-toolbar,
  .text-card-actions,
  .confirm-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .response-summary-meta .chip,
  .answer-actions .button,
  .response-toolbar .button,
  .text-card-actions .button,
  .confirm-actions .button {
    width: 100%;
  }
}

/* MicRelay simple host backend */

body:has(.admin-studio) {
  background: #f8faff;
  color: #0b1220;
}

.admin-studio {
  --studio-bg: #f8faff;
  --studio-surface: #ffffff;
  --studio-surface-soft: #fafcff;
  --studio-surface-blue: #eff5ff;
  --studio-primary: #1452e8;
  --studio-primary-2: #246bfd;
  --studio-primary-soft: #eef4ff;
  --studio-text: #0b1220;
  --studio-muted: #64748b;
  --studio-subtle: #475569;
  --studio-border: #e3e8f0;
  --studio-border-blue: #c9d8ff;
  --studio-success: #16a34a;
  --studio-success-soft: #dcfce7;
  --studio-danger: #dc2626;
  --studio-shadow-card: 0 1px 2px rgba(16, 24, 40, .06), 0 10px 22px rgba(16, 24, 40, .07);
  --studio-shadow-soft: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 16px rgba(16, 24, 40, .05);
  width: 100%;
  min-height: 100vh;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  background: linear-gradient(135deg, #fff 0%, var(--studio-bg) 100%);
  color: var(--studio-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.studio-sidebar {
  min-height: 100vh;
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 31px 22px;
  border-right: 1px solid #e6eaf0;
  background: #fff;
}

.studio-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--studio-text);
  text-decoration: none;
  font-size: 29px;
  line-height: 34px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.studio-brand__mark {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(#246bfd, #1452e8);
  color: #fff;
  font-size: 29px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(20, 82, 232, .24);
}

.studio-nav {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.studio-nav-item {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 17px;
  border-radius: 12px;
  color: var(--studio-subtle);
  text-decoration: none;
  font-size: 17px;
  line-height: 24px;
  font-weight: 750;
}

.studio-nav-item:hover,
.studio-nav-item.is-active {
  background: var(--studio-surface-blue);
  color: var(--studio-primary);
}

.admin-studio .icon--lg {
  width: 42px;
  height: 42px;
}

.admin-studio .button,
.admin-studio button {
  border-radius: 10px;
}

.admin-studio .button--primary,
.admin-studio button.button--primary {
  background: linear-gradient(#246bfd, #1452e8);
  color: #fff;
  box-shadow: 0 10px 18px rgba(20, 82, 232, .18);
}

.admin-studio .button--secondary,
.admin-studio button.button--secondary {
  border: 1px solid var(--studio-border);
  background: #fff;
  color: var(--studio-subtle);
}

.admin-studio .button--danger,
.admin-studio button.button--danger {
  background: var(--studio-danger);
  color: #fff;
}

.studio-create {
  display: block;
  gap: 0;
  padding: 0;
  border: 1px solid var(--studio-border);
  border-radius: 14px;
  background: var(--studio-surface);
  box-shadow: none;
  overflow: hidden;
}

.studio-create summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  cursor: pointer;
  color: var(--studio-text);
  font-weight: 850;
}

.studio-create__body {
  padding: 0 16px 16px;
}

.studio-create .button {
  width: 100%;
}

.rail-list {
  max-height: 260px;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rail-list .section-kicker {
  color: var(--studio-muted);
  padding: 0 2px;
}

.rail-item {
  min-height: 58px;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  padding: 9px 10px;
  border-radius: 12px;
}

.rail-item:hover,
.rail-item.is-active {
  border-color: transparent;
  background: var(--studio-surface-blue);
}

.studio-sidebar-account {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #e5eaf2;
  display: flex;
  align-items: center;
  gap: 13px;
}

.studio-account-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(#246bfd, #1452e8);
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}

.studio-sidebar-account strong,
.studio-sidebar-account small {
  display: block;
}

.studio-sidebar-account strong {
  max-width: 160px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--studio-text);
  font-size: 17px;
  line-height: 22px;
}

.studio-sidebar-account small {
  color: var(--studio-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.studio-workspace {
  min-width: 0;
  width: 100%;
  display: grid;
  gap: 38px;
  align-content: start;
  padding: 52px 36px 48px 40px;
}

.studio-interview {
  display: grid;
  gap: 29px;
  scroll-margin-top: 24px;
}

.interview-heading {
  padding: 0;
  align-items: flex-start;
}

.interview-heading h2 {
  margin: 0;
  color: var(--studio-text);
  font-size: 48px;
  line-height: 56px;
  font-weight: 800;
  letter-spacing: -1.8px;
}

.interview-heading__copy {
  gap: 12px;
}

.interview-heading .chip-row {
  display: none;
}

.studio-secure {
  color: var(--studio-muted);
}

.studio-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 25px;
}

.studio-action-card {
  min-height: 246px;
  border: 1px solid var(--studio-border-blue);
  border-radius: 16px;
  background: var(--studio-surface-soft);
  box-shadow: var(--studio-shadow-soft);
  color: var(--studio-text);
  text-decoration: none;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
  cursor: pointer;
  padding: 28px;
}

button.studio-action-card {
  width: 100%;
  font: inherit;
}

.studio-action-card:hover {
  border-color: rgba(20, 82, 232, .38);
  background: #fff;
  transform: translateY(-1px);
}

.studio-action-icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--studio-primary);
  box-shadow: var(--studio-shadow-soft);
}

.studio-action-card strong {
  color: var(--studio-text);
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: -.8px;
}

.studio-action-card span:last-child {
  color: var(--studio-muted);
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
}

.studio-module-grid {
  display: grid;
  grid-template-columns: minmax(420px, .96fr) minmax(460px, 1fr);
  gap: 25px;
  align-items: start;
}

.studio-module {
  padding: 0;
  border: 1px solid var(--studio-border);
  border-radius: 16px;
  background: var(--studio-surface);
  box-shadow: var(--studio-shadow-card);
  overflow: hidden;
}

.module-header {
  min-height: 88px;
  align-items: center;
  margin: 0;
  padding: 0 30px;
  border-bottom: 1px solid #e5eaf2;
}

.module-header h3 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: -.8px;
}

.module-header p {
  display: none;
}

.module-count,
.chip {
  min-height: 32px;
  border-radius: 999px;
  padding: 0 16px;
  background: #f0f4fa;
  color: var(--studio-subtle);
  font-size: 14px;
  font-weight: 700;
}

.question-list,
.responses {
  gap: 0;
}

.question-row {
  min-height: 102px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 30px;
  border-top: 0;
  border-bottom: 1px solid #e5eaf2;
}

.question-row:first-child {
  padding-top: 18px;
}

.question-index {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--studio-primary-soft);
  color: var(--studio-primary);
  font-size: 20px;
}

.question-body strong {
  color: var(--studio-text);
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
}

.question-body > span {
  color: var(--studio-muted);
  font-size: 13px;
}

.question-media {
  max-height: 96px;
  border-radius: 12px;
}

.studio-question-form {
  margin: 0;
  padding: 22px 30px 30px;
  border-top: 0;
  background: #fff;
}

.studio-response {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.studio-response summary {
  min-height: 160px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0 30px;
  border-bottom: 1px solid #e5eaf2;
  background: #fff;
}

.studio-response[open] summary {
  background: #fff;
}

.response-person {
  gap: 22px;
}

.avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(#e6eaf0, #cbd5e1);
  color: var(--studio-text);
  font-size: 24px;
}

.response-person strong {
  color: var(--studio-text);
  font-size: 21px;
  line-height: 28px;
  font-weight: 800;
}

.response-person small {
  color: var(--studio-muted);
  font-size: 15px;
  line-height: 21px;
}

.response-summary-meta {
  gap: 12px;
}

.response-summary-meta .chip {
  background: var(--studio-success-soft);
  color: var(--studio-success);
}

.response-open-button {
  min-width: 189px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(#246bfd, #1452e8);
  color: #fff;
  font-size: 19px;
  line-height: 24px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(20, 82, 232, .18);
}

.studio-response .response-toolbar {
  padding: 18px 30px 0;
}

.answer-review {
  grid-template-columns: minmax(260px, .82fr) minmax(280px, 1fr);
  padding: 24px 30px;
}

@media (max-width: 1300px) {
  .admin-studio {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .studio-sidebar {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 1240px) {
  .studio-module-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .studio-action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .admin-studio {
    display: block;
  }

  .studio-sidebar {
    position: static;
    min-height: 0;
  }

  .studio-nav,
  .rail-list {
    grid-template-columns: 1fr 1fr;
  }

  .studio-workspace {
    padding: 28px 16px 36px;
  }

  .interview-heading,
  .studio-response summary {
    display: grid;
    gap: 16px;
  }

  .interview-heading h2 {
    font-size: 34px;
    line-height: 40px;
  }

  .studio-action-card {
    min-height: 188px;
  }
}

/* Sample3 exact host dashboard pass */

body:has(.admin-studio) {
  background: #f8faff;
}

.admin-studio {
  --studio-bg: #f8faff;
  --studio-surface: #ffffff;
  --studio-surface-soft: #fafcff;
  --studio-surface-blue: #eff5ff;
  --studio-primary: #1452e8;
  --studio-primary-2: #246bfd;
  --studio-primary-soft: #eef4ff;
  --studio-text: #0b1220;
  --studio-muted: #64748b;
  --studio-subtle: #475569;
  --studio-border: #e3e8f0;
  --studio-border-blue: #c9d8ff;
  --studio-success: #16a34a;
  --studio-success-soft: #dcfce7;
  --studio-danger: #dc2626;
  --studio-shadow-card: 0 1px 2px rgba(16, 24, 40, .06), 0 10px 22px rgba(16, 24, 40, .07);
  --studio-shadow-soft: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 16px rgba(16, 24, 40, .05);
  grid-template-columns: 300px minmax(0, 1fr);
  min-width: 0;
  background: linear-gradient(135deg, #fff 0%, var(--studio-bg) 100%);
  font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.studio-sidebar {
  min-height: 100vh;
  gap: 0;
  padding: 32px 22px;
  border-right: 1px solid #e6eaf0;
  background: #fff;
}

.studio-brand {
  gap: 12px;
  font-size: 29px;
  line-height: 34px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.studio-brand__mark {
  position: relative;
  width: 49px;
  height: 49px;
  border-radius: 11px;
  font-size: 29px;
  line-height: 1;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(20, 82, 232, .24);
}

.studio-brand__mark::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 10px;
  bottom: 7px;
  height: 7px;
  border-bottom: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
}

.studio-nav {
  margin-top: 49px;
  gap: 23px;
}

.studio-nav-item {
  width: 250px;
  min-height: 62px;
  gap: 24px;
  padding: 0 18px;
  border-radius: 12px;
  color: var(--studio-subtle);
  font-size: 17px;
  line-height: 24px;
  font-weight: 750;
}

.studio-nav-item .icon {
  width: 24px;
  height: 24px;
}

.studio-nav-item.is-active,
.studio-nav-item:hover {
  background: var(--studio-surface-blue);
  color: var(--studio-primary);
}

.studio-sidebar-account {
  min-height: 84px;
  margin-top: auto;
  padding: 24px 0 0;
  border-top: 1px solid #e5eaf2;
  gap: 13px;
}

.studio-account-avatar {
  width: 52px;
  height: 52px;
  font-size: 23px;
}

.studio-sidebar-account strong {
  max-width: 140px;
  font-size: 17px;
  line-height: 22px;
  font-weight: 800;
}

.studio-sidebar-account small {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.studio-account-caret {
  margin-left: auto;
  color: var(--studio-subtle);
}

.studio-workspace {
  padding: 52px 27px 40px 40px;
  gap: 0;
}

.studio-interview {
  display: block;
  margin-top: 0;
  padding-top: 0;
}

.interview-heading {
  display: block;
  margin: 0 0 27px;
  padding: 0;
}

.interview-heading h2 {
  margin: 0;
  font-size: 48px;
  line-height: 56px;
  font-weight: 800;
  letter-spacing: -1.8px;
}

.follow-up-note {
  margin: 8px 0 0;
  color: var(--studio-muted);
}

.studio-action-grid {
  width: 1310px;
  display: grid;
  grid-template-columns: repeat(3, 420px);
  gap: 25px;
  margin: 0 0 29px;
}

.studio-action-card,
button.studio-action-card {
  width: 420px;
  height: 246px;
  min-height: 0;
  padding: 29px 24px 28px;
  border: 1px solid var(--studio-border-blue);
  border-radius: 16px;
  background: var(--studio-surface-soft);
  box-shadow: var(--studio-shadow-soft);
  display: grid;
  grid-template-rows: 96px auto auto;
  justify-items: center;
  align-content: start;
  gap: 12px;
  text-align: center;
  color: var(--studio-text);
}

.studio-action-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  color: var(--studio-primary);
  box-shadow: none;
}

.admin-studio .studio-action-icon .icon--lg {
  width: 54px;
  height: 54px;
}

.studio-action-card strong {
  margin-top: 9px;
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: -.8px;
}

.studio-action-card span:last-child {
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
}

.studio-module-grid {
  width: 1305px;
  display: grid;
  grid-template-columns: 630px 650px;
  gap: 25px;
  align-items: start;
}

.studio-module {
  height: 490px;
  border: 1px solid var(--studio-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--studio-shadow-card);
  overflow: hidden;
}

.module-header {
  height: 88px;
  min-height: 0;
  padding: 0 30px;
  border-bottom: 1px solid #e5eaf2;
}

.module-header h3 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: -.8px;
}

.module-count {
  min-width: 0;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f0f4fa;
  color: var(--studio-subtle);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.question-list {
  max-height: 306px;
  overflow: auto;
}

.question-preview-row {
  height: 102px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 24px 48px minmax(0, 1fr) 58px 48px;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #e5eaf2;
}

.question-drag-handle {
  width: 16px;
  display: grid;
  grid-template-columns: repeat(2, 4px);
  gap: 4px;
}

.question-drag-handle span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--studio-subtle);
}

.question-preview-number {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--studio-primary-soft);
  color: var(--studio-primary);
  font-size: 20px;
  font-weight: 850;
}

.question-preview-copy {
  min-width: 0;
  display: block;
}

.question-preview-copy strong {
  display: -webkit-box;
  color: var(--studio-text);
  font-size: 18px;
  line-height: 26px;
  font-weight: 650;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.question-preview-media {
  display: none;
}

.question-preview-duration {
  color: var(--studio-text);
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  text-align: right;
}

.question-preview-play {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--studio-primary-soft);
  color: var(--studio-primary);
  cursor: pointer;
}

.question-preview-play.is-playing {
  background: var(--studio-primary);
  color: #fff;
}

.questions-drag-hint {
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--studio-subtle);
  font-size: 19px;
  line-height: 24px;
  font-weight: 500;
}

.responses {
  max-height: 402px;
  overflow: auto;
}

.studio-response {
  border: 0;
  border-radius: 0;
  background: #fff;
}

.studio-response summary {
  height: 160px;
  min-height: 0;
  padding: 0 45px 0 35px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 189px;
  gap: 38px;
  align-items: center;
  border-bottom: 1px solid #e5eaf2;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.studio-response summary::-webkit-details-marker {
  display: none;
}

.response-person {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  color: var(--studio-text);
  font-size: 24px;
  font-weight: 800;
}

.response-person strong {
  font-size: 19px;
  line-height: 24px;
  font-weight: 800;
  color: var(--studio-text);
}

.response-person small {
  margin-top: 3px;
  color: var(--studio-muted);
  font-size: 15px;
  line-height: 21px;
  font-weight: 600;
}

.response-status-badge {
  width: max-content;
  min-height: 32px;
  margin-top: 8px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--studio-success-soft);
  color: var(--studio-success);
  font-size: 14px;
  line-height: 20px;
  font-weight: 800;
}

.response-status-badge span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
}

.response-summary-meta {
  display: block;
}

.response-open-button {
  width: 189px;
  min-width: 0;
  height: 64px;
  min-height: 0;
  border-radius: 10px;
  background: linear-gradient(#246bfd, #1452e8);
  color: #fff;
  font-size: 19px;
  line-height: 24px;
  font-weight: 800;
}

.studio-empty-panel-row {
  min-height: 58px;
  margin: 0;
  padding: 20px 30px;
  color: var(--studio-subtle);
  font-size: 14px;
  line-height: 20px;
  border-bottom: 1px dashed #d8e0ea;
  background: #fbfdff;
}

.studio-response .response-toolbar,
.answer-review,
.content-kit-panel {
  background: #fff;
}

.studio-admin-drawer,
.studio-operation-drawer {
  display: none;
}

.studio-admin-drawer:target,
.studio-operation-drawer:target {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: block;
}

.studio-drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .28);
  backdrop-filter: blur(2px);
}

.studio-drawer-panel {
  position: absolute;
  top: 32px;
  right: 32px;
  bottom: 32px;
  width: min(720px, calc(100vw - 64px));
  padding: 24px;
  overflow: auto;
  border: 1px solid var(--studio-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

.studio-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.studio-drawer-header h2 {
  margin: 4px 0 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: -.8px;
}

.studio-manager-list {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.studio-operation-drawer .question-row {
  border: 1px solid var(--studio-border);
  border-radius: 12px;
}

.studio-operation-drawer .studio-question-form,
.studio-admin-drawer .studio-create {
  border: 1px solid var(--studio-border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: none;
}

.studio-empty {
  width: min(1305px, 100%);
  min-height: calc(100vh - 92px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--studio-text);
  display: grid;
  align-content: center;
  gap: 34px;
}

.studio-empty__hero {
  max-width: 820px;
  display: grid;
  justify-items: start;
  gap: 18px;
}

.studio-empty__hero h2 {
  margin: 0;
  color: var(--studio-text);
  font-size: clamp(44px, 5vw, 72px);
  line-height: .97;
  font-weight: 850;
  letter-spacing: -2.6px;
}

.studio-empty__hero p {
  max-width: 680px;
  margin: 0;
  color: var(--studio-subtle);
  font-size: 19px;
  line-height: 30px;
  font-weight: 520;
}

.studio-empty__hero .button {
  height: 58px;
  min-height: 0;
  margin-top: 6px;
  padding: 0 24px;
  border-radius: 11px;
  font-size: 16px;
  box-shadow: 0 16px 28px rgba(20, 82, 232, .2);
}

.studio-empty__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.studio-empty-step {
  min-height: 286px;
  padding: 26px;
  border: 1px solid var(--studio-border-blue);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(250, 252, 255, .9)),
    var(--studio-surface);
  box-shadow: var(--studio-shadow-card);
  display: grid;
  align-content: start;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.studio-empty-step::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, rgba(20, 82, 232, .16), rgba(20, 82, 232, .72), rgba(20, 82, 232, .16));
}

.studio-empty-step__number {
  color: var(--studio-primary);
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  letter-spacing: .08em;
}

.studio-empty-step__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--studio-primary);
  box-shadow: var(--studio-shadow-soft);
}

.studio-empty-step__icon .icon {
  width: 34px;
  height: 34px;
}

.studio-empty-step strong {
  margin-top: 8px;
  color: var(--studio-text);
  font-size: 25px;
  line-height: 31px;
  font-weight: 850;
  letter-spacing: -.8px;
}

.studio-empty-step p {
  margin: 0;
  color: var(--studio-muted);
  font-size: 16px;
  line-height: 25px;
  font-weight: 520;
}

@media (max-width: 1500px) {
  .studio-action-grid,
  .studio-module-grid {
    width: 100%;
  }

  .studio-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .studio-action-card,
  button.studio-action-card {
    width: auto;
  }

  .studio-module-grid {
    grid-template-columns: minmax(0, .96fr) minmax(0, 1fr);
  }

  .studio-empty {
    width: 100%;
  }
}

@media (max-width: 1120px) {
  .admin-studio {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .studio-action-grid,
  .studio-module-grid {
    grid-template-columns: 1fr;
  }

  .studio-module {
    height: auto;
    min-height: 360px;
  }

  .studio-empty {
    min-height: auto;
    align-content: start;
  }

  .studio-empty__steps {
    grid-template-columns: 1fr;
  }

  .studio-empty-step {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .admin-studio {
    display: block;
  }

  .studio-sidebar {
    min-height: 0;
  }

  .studio-nav {
    grid-template-columns: 1fr 1fr;
  }

  .studio-nav-item {
    width: auto;
  }

  .studio-workspace {
    padding: 28px 16px;
  }

  .interview-heading h2 {
    font-size: 34px;
    line-height: 40px;
  }

  .studio-response summary,
  .response-person {
    grid-template-columns: 1fr;
    height: auto;
    padding: 24px;
  }

  .studio-empty {
    gap: 24px;
  }

  .studio-empty__hero h2 {
    font-size: 38px;
    line-height: 42px;
    letter-spacing: -1.4px;
  }

  .studio-empty__hero p {
    font-size: 16px;
    line-height: 25px;
  }

  .studio-empty-step {
    padding: 22px;
  }
}

/* MicRelay brand assets */
.login-logo {
  width: min(294px, 100%);
  height: auto;
  margin: 0 0 18px;
  display: block;
}

.studio-brand {
  min-height: 49px;
  text-decoration: none;
}

.studio-brand__logo {
  width: 214px;
  height: auto;
  display: block;
}

.brand-logo {
  width: 176px;
  height: auto;
  display: block;
}

@media (max-width: 820px) {
  .studio-brand__logo {
    width: 184px;
  }
}
