:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-muted: #f1f5f9;
  --text: #0b0d12;
  --text-secondary: #344054;
  --text-muted: #667085;
  --text-disabled: #98a2b3;
  --primary: #5727e9;
  --primary-hover: #4d20d2;
  --primary-pressed: #3f12c8;
  --primary-soft: #efe9ff;
  --ring-bg: #dce7ff;
  --border: #e5e7eb;
  --border-strong: #d0d5dd;
  --success: #16a34a;
  --success-soft: #ecfdf3;
  --error: #dc2626;
  --error-soft: #fef2f2;
  --warning: #f59e0b;
  --warning-soft: #fffbeb;
  --recording: #e11d48;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow-soft: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 14px rgba(16, 24, 40, 0.05);
  --radius-card: 16px;
  --radius-video: 12px;
  --radius-button: 8px;
  --radius-pill: 999px;
  --nav-h: 72px;
  --page-x: 56px;
  --page-y: 32px;
  --gap: 24px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button {
  border: 0;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

.interview-app {
  min-height: 100vh;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(31, 85, 215, 0.05), transparent 32rem),
    var(--bg);
}

.topbar {
  height: var(--nav-h);
  padding: 0 var(--page-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar__left,
.topbar__right,
.topbar__secure {
  display: flex;
  align-items: center;
}

.topbar__left {
  gap: 22px;
  min-width: 0;
}

.topbar__right {
  gap: 14px;
}

.brand {
  font-size: 28px;
  line-height: 32px;
  font-weight: 750;
  letter-spacing: -0.04em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.session-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--text-secondary);
}

.session-title__text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
  flex: 0 0 auto;
}

.topbar__secure {
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: currentColor;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--lg {
  width: 24px;
  height: 24px;
}

.page {
  padding: var(--page-y) var(--page-x) 56px;
  max-width: 1504px;
  margin: 0 auto;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--gap);
  align-items: start;
}

.main-stack {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.interview-grid {
  display: grid;
  grid-template-columns: minmax(560px, 1fr) 320px;
  gap: var(--gap);
  align-items: start;
}

.sidebar {
  display: grid;
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.card--flat {
  box-shadow: none;
}

.card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 0;
}

.card__body {
  padding: 24px;
}

.card__title {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.card__subtitle {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-muted);
}

.question-panel {
  padding: 24px;
}

.question-header {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.question-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.question-title {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.answer-limit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.answer-limit strong,
.answer-limit__badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.progress {
  width: 100%;
}

.progress__bar {
  width: 100%;
  height: 8px;
  background: var(--surface-muted);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress__fill {
  display: block;
  height: 100%;
  width: var(--progress, 37.5%);
  background: var(--primary);
  border-radius: inherit;
  transition: width 220ms ease;
}

.progress--segmented {
  display: grid;
  grid-template-columns: repeat(var(--segments, 8), 1fr);
  gap: 6px;
}

.progress--segmented .progress__segment {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
}

.progress--segmented .progress__segment.is-complete,
.progress--segmented .progress__segment.is-active {
  background: var(--primary);
}

.instruction {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.instruction .icon {
  color: var(--primary);
}

.video-card {
  overflow: hidden;
  border-radius: var(--radius-video);
  background: #111827;
  border: 1px solid rgba(11, 13, 18, 0.08);
  position: relative;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-soft);
  margin-top: 18px;
}

.video-card img,
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), transparent);
  pointer-events: none;
}

.play-overlay {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: rgba(11, 13, 18, 0.72);
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
  z-index: 2;
  padding: 0;
}

.play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.04);
  background: rgba(11, 13, 18, 0.82);
}

.video-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto auto;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.video-controls__button {
  width: 28px;
  height: 28px;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.video-controls__track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.video-controls__fill {
  width: var(--video-progress, 0%);
  height: 100%;
  background: #fff;
  border-radius: inherit;
}

.video-controls__chip {
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
}

.camera-card {
  padding: 22px 24px 24px;
}

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

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

.camera-card__title-wrap .icon {
  color: var(--primary);
  margin-top: 2px;
}

.camera-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.camera-card__desc {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.camera-preview {
  min-height: 212px;
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.camera-preview video,
.camera-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-preview__empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: var(--text-muted);
  padding: 28px;
}

.camera-preview__avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #fff;
  color: var(--text-disabled);
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.camera-preview__empty strong {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 22px;
}

.camera-preview__empty span {
  max-width: 280px;
  font-size: 13px;
  line-height: 18px;
}

.camera-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.device-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.device-chip,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.device-chip__dot,
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
}

.device-chip.is-off .device-chip__dot,
.badge.is-off .badge__dot {
  background: var(--error);
}

.device-chip.is-warning .device-chip__dot,
.badge.is-warning .badge__dot {
  background: var(--warning);
}

.action-panel {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.countdown-card {
  text-align: center;
}

.countdown-title {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.countdown-desc {
  margin: 10px auto 0;
  max-width: 240px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.countdown-ring {
  --ring-size: 136px;
  --ring-value: 78%;
  width: var(--ring-size);
  height: var(--ring-size);
  margin: 18px auto;
  border-radius: 50%;
  background: conic-gradient(var(--primary) var(--ring-value), var(--ring-bg) 0);
  display: grid;
  place-items: center;
  position: relative;
}

.countdown-ring::before {
  content: "";
  width: calc(var(--ring-size) - 18px);
  height: calc(var(--ring-size) - 18px);
  border-radius: inherit;
  background: var(--surface);
  position: absolute;
}

.countdown-ring__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.countdown-ring__number {
  font-size: 48px;
  line-height: 52px;
  font-weight: 750;
  letter-spacing: -0.05em;
  color: var(--text);
}

.countdown-ring__label {
  font-size: 13px;
  line-height: 16px;
  color: var(--text-muted);
  font-weight: 600;
}

.button {
  height: 44px;
  border-radius: var(--radius-button);
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 80ms ease, opacity 160ms ease;
  text-decoration: none;
  user-select: none;
}

.button:active {
  transform: translateY(1px);
}

.button:disabled,
.button.is-disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

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

.button--primary:hover:not(:disabled):not(.is-disabled) {
  background: var(--primary-hover);
}

.button--primary:active:not(:disabled):not(.is-disabled) {
  background: var(--primary-pressed);
}

.button--secondary {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
}

.button--secondary:hover:not(:disabled):not(.is-disabled) {
  background: var(--surface-soft);
}

.button--ghost {
  background: transparent;
  color: var(--text-muted);
}

.button--ghost:hover:not(:disabled):not(.is-disabled) {
  background: var(--surface-muted);
  color: var(--text-secondary);
}

.button--danger {
  background: var(--recording);
  color: #fff;
}

.button--danger:hover:not(:disabled):not(.is-disabled) {
  background: #be123c;
}

.button--full {
  width: 100%;
  height: 56px;
  font-size: 16px;
  line-height: 22px;
}

.helper-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.sidebar-card {
  padding: 22px;
}

.sidebar-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.sidebar-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-card__title-wrap .icon {
  color: var(--primary);
}

.sidebar-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

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

.meta-row {
  display: grid;
  gap: 4px;
}

.meta-row__label {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.meta-row__value {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 650;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

.rule-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.rule-item .icon,
.rule-item__check {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}

.help-card {
  display: grid;
  gap: 12px;
}

.help-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.powered-by {
  color: var(--text-disabled);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  text-align: center;
}

.notice {
  padding: 14px 16px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.notice--success {
  background: var(--success-soft);
  color: #027a48;
  border: 1px solid #abefc6;
}

.notice--error {
  background: var(--error-soft);
  color: #b42318;
  border: 1px solid #fecdca;
}

.notice--warning {
  background: var(--warning-soft);
  color: #b54708;
  border: 1px solid #fedf89;
}

.recording-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-video);
  aspect-ratio: 16 / 9;
  background: #111827;
  border: 1px solid rgba(11, 13, 18, 0.08);
}

.recording-frame video,
.recording-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recording-hud {
  position: absolute;
  inset: 16px 16px auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(225, 29, 72, 0.94);
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.rec-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  animation: recPulse 1.2s infinite;
}

.recording-timer {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(11, 13, 18, 0.72);
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  font-weight: 750;
}

@keyframes recPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.42; transform: scale(0.86); }
}

.upload-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 32px 24px;
  text-align: center;
}

.upload-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}

.upload-panel h2,
.complete-panel h2 {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.upload-panel p,
.complete-panel p {
  margin: 0;
  max-width: 420px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 22px;
}

.upload-progress {
  width: min(420px, 100%);
  height: 8px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--surface-muted);
}

.upload-progress__fill {
  width: var(--upload-progress, 40%);
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width 200ms ease;
}

.complete-panel {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 44px 26px;
  text-align: center;
}

.post-interview-form {
  width: min(100%, 520px);
  margin-top: 10px;
  margin-bottom: 0;
  display: grid;
  gap: 9px;
  text-align: left;
}

.post-interview-field {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  line-height: 18px;
  font-weight: 760;
}

.post-interview-field textarea,
.post-interview-field input {
  width: 100%;
  border: 1px solid #d7deea;
  border-radius: 8px;
  background: #fff;
  color: #101828;
  font: inherit;
  font-size: 15px;
  line-height: 22px;
}

.post-interview-field textarea {
  min-height: 104px;
  padding: 12px;
  resize: vertical;
}

.post-interview-field input {
  min-height: 48px;
  padding: 0 12px;
}

.post-interview-field small,
.post-interview-status {
  color: #667085;
  font-size: 12px;
  line-height: 17px;
  font-weight: 560;
}

.post-interview-status {
  min-height: 17px;
  margin: 0;
  text-align: center;
}

.post-interview-status:empty {
  display: none;
}

.post-interview-note-button {
  margin-bottom: 0;
  min-height: 50px;
  border-radius: 8px;
  font-weight: 850;
}

.post-interview-join-button {
  min-height: 52px;
  border: 1px solid #b98720;
  border-radius: 8px;
  color: #231604;
  background: linear-gradient(180deg, #f8d87c 0%, #d89b25 100%);
  box-shadow: 0 14px 28px rgba(166, 111, 18, 0.2);
  font-weight: 900;
}

.post-interview-join-button:hover:not(:disabled):not(.is-disabled) {
  background: linear-gradient(180deg, #f8d986 0%, #c98617 100%);
  box-shadow: 0 18px 34px rgba(166, 111, 18, 0.28);
}

.post-interview-join-button:active:not(:disabled):not(.is-disabled) {
  transform: translateY(1px);
}

.post-interview-form.is-submitted .post-interview-status {
  color: #027a48;
  font-weight: 720;
}

.complete-panel > a.button {
  width: min(100%, 520px);
  min-height: 54px;
  margin-top: 6px;
  border-radius: 8px;
  font-weight: 900;
}

.complete-mark {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid #abefc6;
}

.state-before-play .show-question-playing,
.state-before-play .show-countdown,
.state-before-play .show-recording,
.state-before-play .show-uploading,
.state-before-play .show-upload-failed,
.state-before-play .show-question-complete,
.state-before-play .show-complete,
.state-question-playing .show-before-play,
.state-question-playing .show-countdown,
.state-question-playing .show-recording,
.state-question-playing .show-uploading,
.state-question-playing .show-upload-failed,
.state-question-playing .show-question-complete,
.state-question-playing .show-complete,
.state-countdown .show-before-play,
.state-countdown .show-question-playing,
.state-countdown .show-recording,
.state-countdown .show-uploading,
.state-countdown .show-upload-failed,
.state-countdown .show-question-complete,
.state-countdown .show-complete,
.state-recording .show-before-play,
.state-recording .show-question-playing,
.state-recording .show-countdown,
.state-recording .show-uploading,
.state-recording .show-upload-failed,
.state-recording .show-question-complete,
.state-recording .show-complete,
.state-uploading .show-before-play,
.state-uploading .show-question-playing,
.state-uploading .show-countdown,
.state-uploading .show-recording,
.state-uploading .show-upload-failed,
.state-uploading .show-question-complete,
.state-uploading .show-complete,
.state-upload-failed .show-before-play,
.state-upload-failed .show-question-playing,
.state-upload-failed .show-countdown,
.state-upload-failed .show-recording,
.state-upload-failed .show-uploading,
.state-upload-failed .show-question-complete,
.state-upload-failed .show-complete,
.state-question-complete .show-before-play,
.state-question-complete .show-question-playing,
.state-question-complete .show-countdown,
.state-question-complete .show-recording,
.state-question-complete .show-uploading,
.state-question-complete .show-upload-failed,
.state-question-complete .show-complete,
.state-complete .show-before-play,
.state-complete .show-question-playing,
.state-complete .show-countdown,
.state-complete .show-recording,
.state-complete .show-uploading,
.state-complete .show-upload-failed,
.state-complete .show-question-complete {
  display: none !important;
}

.state-question-playing .question-start-explainer,
.state-countdown .question-start-explainer,
.state-recording .question-start-explainer,
.state-uploading .question-start-explainer,
.state-upload-failed .question-start-explainer,
.state-question-complete .question-start-explainer,
.state-complete .question-start-explainer {
  display: none !important;
}

.state-question-playing .play-overlay {
  opacity: 0;
  pointer-events: none;
}

.state-countdown .countdown-card {
  border-color: rgba(31, 85, 215, 0.24);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 12px 34px rgba(31, 85, 215, 0.12);
}

.state-recording .camera-card,
.state-recording .recording-frame {
  border-color: rgba(225, 29, 72, 0.34);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 12px 34px rgba(225, 29, 72, 0.1);
}

.state-recording .badge__dot {
  background: var(--recording);
}

.state-upload-failed .upload-icon {
  background: var(--error-soft);
  color: var(--error);
}

.state-complete .layout,
.state-complete .interview-grid {
  display: block;
}

.state-complete .main-stack {
  max-width: 760px;
  margin: 56px auto 0;
}

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

.checkin-form label {
  display: grid;
  gap: 7px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 18px;
  font-weight: 650;
}

.checkin-form input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-button);
  background: var(--surface);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

.checkin-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(31, 85, 215, 0.12);
}

.audio-question-card {
  display: grid;
  place-items: center;
}

.audio-question-visual {
  position: relative;
  z-index: 1;
  width: min(560px, 86%);
  display: grid;
  justify-items: center;
  gap: 12px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.question-visual-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #0b1020;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
}

.audio-question-visual.has-loaded-question-image .question-visual-image,
.preview-question-text-card.has-loaded-question-image .question-visual-image {
  opacity: 1;
}

.audio-question-visual.has-loaded-question-image span,
.audio-question-visual.has-loaded-question-image strong,
.preview-question-text-card.has-loaded-question-image span,
.preview-question-text-card.has-loaded-question-image strong {
  opacity: 0;
}

.audio-question-visual::before {
  content: "";
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.08));
  box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.05);
}

.audio-question-visual span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.audio-question-visual strong {
  font-size: 22px;
  line-height: 30px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.mic-meter {
  width: 100%;
  height: 9px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--surface-muted);
}

.mic-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--success);
  transition: width 100ms linear;
}

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

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

@media (max-width: 980px) {
  :root {
    --page-x: 24px;
  }

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

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

@media (max-width: 640px) {
  :root {
    --nav-h: 56px;
    --page-x: 16px;
    --page-y: 16px;
    --gap: 16px;
    --radius-card: 14px;
  }

  .topbar {
    padding: 0 16px;
    gap: 12px;
  }

  .brand {
    font-size: 22px;
    line-height: 28px;
    letter-spacing: -0.045em;
  }

  .session-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: 168px;
    font-size: 12px;
    line-height: 16px;
    justify-content: center;
  }

  .session-title .status-dot,
  .topbar__secure span,
  .leave-button {
    display: none;
  }

  .topbar__right {
    margin-left: auto;
  }

  .page {
    padding-bottom: 28px;
  }

  .main-stack {
    gap: 14px;
  }

  .question-panel,
  .camera-card,
  .action-panel,
  .sidebar-card {
    padding: 16px;
  }

  .question-header {
    gap: 12px;
    margin-bottom: 14px;
  }

  .question-header__row {
    align-items: flex-start;
    gap: 12px;
  }

  .question-title {
    font-size: 22px;
    line-height: 30px;
  }

  .answer-limit {
    font-size: 12px;
    line-height: 16px;
    gap: 6px;
  }

  .answer-limit__label {
    display: none;
  }

  .answer-limit strong,
  .answer-limit__badge {
    height: 26px;
    padding: 0 9px;
  }

  .progress--segmented {
    gap: 4px;
  }

  .instruction {
    align-items: flex-start;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 18px;
  }

  .play-overlay {
    width: 54px;
    height: 54px;
  }

  .video-controls {
    left: 10px;
    right: 10px;
    bottom: 9px;
    grid-template-columns: auto auto 1fr auto auto;
    gap: 7px;
    font-size: 11px;
  }

  .video-controls__chip:last-child {
    display: none;
  }

  .countdown-ring {
    --ring-size: 112px;
    margin: 14px auto;
  }

  .countdown-ring::before {
    width: calc(var(--ring-size) - 16px);
    height: calc(var(--ring-size) - 16px);
  }

  .countdown-ring__number {
    font-size: 40px;
    line-height: 44px;
  }

  .countdown-title,
  .camera-card__title,
  .card__title {
    font-size: 17px;
    line-height: 24px;
  }

  .countdown-desc,
  .camera-card__desc,
  .helper-text,
  .rule-item,
  .help-card p {
    font-size: 13px;
    line-height: 18px;
  }

  .button--full {
    height: 52px;
    font-size: 16px;
  }

  .camera-preview {
    min-height: 168px;
  }

  .camera-actions {
    display: grid;
    gap: 10px;
  }

  .device-chips {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .device-chip {
    justify-content: center;
  }

  .camera-actions .button {
    width: 100%;
  }

  .sidebar-card__header {
    margin-bottom: 12px;
  }

  .meta-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .meta-row--full {
    grid-column: 1 / -1;
  }

  .rule-list {
    gap: 10px;
  }

  .upload-panel,
  .complete-panel {
    padding: 32px 16px;
  }

  .upload-panel h2,
  .complete-panel h2 {
    font-size: 22px;
    line-height: 30px;
  }

  .complete-mark {
    width: 64px;
    height: 64px;
  }

  .audio-question-visual {
    gap: 8px;
    transform: translateY(-12px);
  }

  .audio-question-visual::before {
    width: 56px;
    height: 56px;
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.05);
  }

  .audio-question-visual strong {
    font-size: 18px;
    line-height: 23px;
    max-height: 50px;
    overflow: hidden;
  }

  .state-before-play #stop,
  .state-countdown #stop,
  .state-recording #record {
    display: none;
  }

  .state-before-play #record,
  .state-countdown #record,
  .state-recording #stop {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 30;
    width: auto;
    box-shadow: 0 12px 28px rgba(31, 85, 215, 0.22);
  }

  #orientationGate:not([hidden]) {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 84px;
    z-index: 30;
    box-shadow: var(--shadow-card);
  }

  .interview-app {
    padding-bottom: 88px;
  }
}

@media (max-width: 380px) {
  .session-title {
    max-width: 132px;
  }

  .meta-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) and (max-height: 520px) {
  .state-before-play #stop,
  .state-countdown #stop,
  .state-recording #record {
    display: none;
  }

  .state-before-play #record,
  .state-countdown #record,
  .state-recording #stop {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 30;
    width: auto;
    box-shadow: 0 12px 28px rgba(31, 85, 215, 0.22);
  }

  #orientationGate:not([hidden]) {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 84px;
    z-index: 30;
    box-shadow: var(--shadow-card);
  }

  .interview-app {
    padding-bottom: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Interviewee design image match */
.interview-app {
  min-height: 100vh;
  background: #f8faff;
  padding: 0;
}

.interview-app .topbar {
  display: none;
}

.interview-app .page {
  max-width: none;
  margin: 0;
  padding: 0;
}

.guest-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 267px minmax(0, 1fr);
  background:
    radial-gradient(circle at 76% 3%, rgba(31, 90, 255, 0.035), transparent 28rem),
    #f8faff;
  color: #09112f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.guest-app.guest-page--question {
  grid-template-columns: minmax(0, 1fr);
}

.guest-sidebar {
  min-height: 100vh;
  border-right: 1px solid #dde5f1;
  background: rgba(255, 255, 255, 0.48);
  padding: 26px 24px 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
}

.guest-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #09112f;
  text-decoration: none;
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.guest-logo {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.06em;
  background: linear-gradient(145deg, #0f66ff 0%, #174bd9 100%);
  box-shadow: inset 0 -9px 18px rgba(6, 35, 137, 0.24), 0 9px 18px rgba(21, 82, 232, 0.18);
}

.guest-nav {
  margin-top: 60px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.guest-nav a {
  height: 51px;
  padding: 0 12px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #53617d;
  text-decoration: none;
  font-size: 18px;
  line-height: 24px;
  font-weight: 690;
}

.guest-nav a.is-active {
  color: #1558f0;
  background: linear-gradient(90deg, #eaf2ff 0%, #efe9ff 100%);
}

.guest-nav .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2.25;
}

.guest-account {
  border-top: 1px solid #dfe7f2;
  padding-top: 24px;
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  color: #09112f;
}

.guest-avatar {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dce9ff;
  color: #5727e9;
  font-size: 15px;
  line-height: 1;
  font-weight: 770;
}

.guest-account strong,
.guest-account span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.guest-account strong {
  font-size: 15px;
  line-height: 20px;
  font-weight: 790;
}

.guest-account div span {
  margin-top: 1px;
  color: #52607b;
  font-size: 13px;
  line-height: 18px;
  font-weight: 540;
}

.guest-account .guest-avatar {
  display: grid;
  place-items: center;
  overflow: visible;
  text-align: center;
  white-space: normal;
}

.guest-main {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 38px 43px 36px 45px;
}

.guest-page--question .guest-main {
  padding-bottom: 0;
}

.guest-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
}

.guest-header h1 {
  margin: 0;
  color: #07102d;
  font-size: 41px;
  line-height: 48px;
  font-weight: 830;
  letter-spacing: -0.055em;
}

.guest-header strong {
  margin-top: 11px;
  color: #314b86;
  font-size: 20px;
  line-height: 26px;
  font-weight: 780;
  white-space: nowrap;
}

.question-start-explainer {
  max-width: 850px;
  margin: 12px 0 0;
  padding: 11px 13px;
  border: 1px solid #d9e6fb;
  border-radius: 10px;
  background: #f7faff;
  color: #314b86;
  font-size: 14px;
  line-height: 20px;
  font-weight: 680;
}

.guest-kicker {
  margin: 0 0 4px;
  color: #52617b;
  font-size: 13px;
  line-height: 18px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guest-steps {
  margin-top: 29px;
  display: grid;
  grid-template-columns: 1.12fr 0.92fr 0.98fr;
  gap: 20px;
}

.guest-step {
  min-height: 102px;
  border: 1px solid #d8e2ef;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  padding: 20px 21px;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(15, 35, 75, 0.025);
}

.guest-step.is-active {
  border-color: #1b5eff;
  box-shadow: 0 16px 36px rgba(16, 86, 240, 0.06);
}

.guest-step__icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #1558f0;
  background: #edf3ff;
}

.guest-step.is-active .guest-step__icon {
  border: 2px solid #1558f0;
  background: #f8fbff;
}

.guest-step__icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.05;
}

.guest-step__number {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-self: start;
  margin-top: 8px;
  background: #d8e8ff;
  color: #1558f0;
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
}

.guest-step.is-active .guest-step__number {
  color: #fff;
  background: #1558f0;
}

.guest-step strong {
  display: block;
  color: #09112f;
  font-size: 18px;
  line-height: 24px;
  font-weight: 810;
}

.guest-step p {
  margin: 4px 0 0;
  color: #314b86;
  font-size: 15px;
  line-height: 21px;
  font-weight: 540;
}

.guest-work-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 497px;
  gap: 26px;
  align-items: start;
}

.guest-left-stack,
.guest-right-stack {
  min-width: 0;
  display: grid;
  gap: 21px;
}

.guest-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #dce4ef;
  border-radius: 13px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.035), 0 12px 30px rgba(38, 54, 86, 0.04);
}

.guest-question-card {
  padding: 21px 20px 20px;
}

.guest-question-card h2,
.guest-answer-card h2,
.guest-next-card h2,
.guest-guidelines-card h2,
.guest-checkin-card h2,
.guest-intro-card h2,
.guest-tech-card h2 {
  margin: 0;
  color: #09112f;
  font-size: 20px;
  line-height: 27px;
  font-weight: 820;
  letter-spacing: -0.025em;
}

.guest-question-card .video-card {
  width: 100%;
  margin-top: 13px;
  aspect-ratio: 2.19 / 1;
  border-radius: 9px;
  border: 0;
  box-shadow: none;
  background: #121827;
}

.guest-question-card .video-card video {
  object-fit: cover;
}

.guest-question-card .video-card::after {
  height: 34%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent);
}

.guest-question-card .play-overlay {
  width: 78px;
  height: 78px;
  background: rgba(255, 255, 255, 0.93);
  color: #1558f0;
  box-shadow: 0 18px 42px rgba(12, 23, 52, 0.22);
}

.guest-question-card .play-overlay .icon {
  width: 32px;
  height: 32px;
}

.guest-question-card .video-controls {
  left: 18px;
  right: 18px;
  bottom: 16px;
  grid-template-columns: 22px auto minmax(0, 1fr) 24px 28px 24px auto;
  gap: 12px;
  color: #fff;
  font-size: 14px;
  line-height: 19px;
  font-weight: 680;
  z-index: 10;
}

.guest-question-card .video-controls__button {
  width: 24px;
  height: 24px;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
}

.guest-question-card .video-controls__track {
  height: 7px;
  background: rgba(255, 255, 255, 0.42);
}

.guest-question-card .video-controls__fill {
  background: rgba(255, 255, 255, 0.94);
}

.guest-question-card .video-controls__chip {
  min-width: 27px;
  height: 22px;
  padding: 0 5px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  color: #45516b;
  font-size: 12px;
  line-height: 16px;
  font-weight: 850;
}

.guest-question-card .video-controls__chip:last-child {
  display: none;
}

.guest-question-card .audio-question-visual {
  width: min(88%, 520px);
  padding-bottom: 46px;
}

.guest-question-card .audio-question-visual strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.28;
}

.guest-question-card .audio-question-card .play-overlay {
  top: 36%;
}

.guest-question-text {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #d9e6fb;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fbff, #f1f6ff);
}

.guest-question-text span,
.answer-cue span {
  display: block;
  color: #1558f0;
  font-size: 11px;
  line-height: 15px;
  font-weight: 850;
  text-transform: uppercase;
}

.guest-question-text p {
  margin: 4px 0 0;
  color: #09112f;
  font-size: 15px;
  line-height: 22px;
  font-weight: 680;
  overflow-wrap: anywhere;
}

.audio-question-card {
  background:
    radial-gradient(circle at 50% 45%, rgba(21, 88, 240, 0.24), transparent 15rem),
    linear-gradient(135deg, #111827, #17213a);
}

.guest-answer-card {
  padding: 17px 20px 20px;
}

.answer-cue {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #d9e6fb;
  border-radius: 10px;
  background: #f7faff;
  display: grid;
  gap: 4px;
}

.answer-cue strong {
  display: block;
  color: #09112f;
  font-size: 15px;
  line-height: 21px;
  font-weight: 820;
}

.answer-cue p {
  margin: 0;
  color: #53617d;
  font-size: 13px;
  line-height: 19px;
  font-weight: 560;
  overflow-wrap: anywhere;
}

.answer-cue[data-stage="countdown"] {
  border-color: #bfd4ff;
  background: #eef5ff;
}

.answer-cue[data-stage="recording"] {
  border-color: #fecdd7;
  background: #fff5f7;
}

.answer-cue[data-stage="recording"] span {
  color: #e11d48;
}

.guest-answer-frame {
  margin-top: 12px;
  min-height: 162px;
  border: 1px solid #d7e5ff;
  border-radius: 10px;
  background: #f8fbff;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.guest-answer-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b1020;
  z-index: 1;
}

.guest-answer-frame video[src=""],
.guest-answer-frame video:not([src]) {
  opacity: 0;
}

.guest-answer-frame #camera {
  opacity: 1;
}

.preview-question-layer,
.preview-countdown-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  place-items: center;
  overflow: hidden;
  background: #0b1020;
  color: #fff;
}

.preview-question-layer video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b1020;
}

.preview-question-text-card {
  position: relative;
  width: min(94%, 760px);
  max-height: calc(100% - 20px);
  min-height: 0;
  padding: clamp(10px, 2vw, 20px);
  border-radius: 16px;
  display: grid;
  gap: 7px;
  align-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(21, 88, 240, 0.18), rgba(15, 23, 42, 0.1)), #111827;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.preview-question-text-card .question-visual-image {
  border-radius: inherit;
}

.preview-question-text-card span {
  color: #93c5fd;
  font-size: 12px;
  line-height: 16px;
  font-weight: 850;
  text-transform: uppercase;
}

.preview-question-text-card strong {
  color: #fff;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.16;
  font-weight: 820;
  min-height: 0;
  max-height: 100%;
  display: block;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.preview-countdown-layer span {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #1558f0;
  box-shadow: 0 24px 70px rgba(21, 88, 240, 0.32);
  font-size: 58px;
  line-height: 1;
  font-weight: 880;
}

.guest-answer-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #314b86;
  position: relative;
  z-index: 0;
}

.guest-answer-empty .icon {
  width: 39px;
  height: 39px;
  color: #1558f0;
  stroke-width: 2.15;
}

.guest-answer-empty strong,
.guest-answer-empty span {
  display: block;
}

.guest-answer-empty strong {
  color: #314b86;
  font-size: 15px;
  line-height: 21px;
  font-weight: 760;
}

.guest-answer-empty span {
  color: #314b86;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.answer-pills {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 13px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.answer-pill {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #079143;
  background: #dcf9e9;
  border: 1px solid #bdeccb;
  font-size: 13px;
  line-height: 18px;
  font-weight: 760;
}

.answer-pill > span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.answer-pill.is-recording {
  color: #e11d48;
  background: #fff1f3;
  border-color: #fecdd7;
}

.camera-guidance-overlay {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 4;
  width: max-content;
  max-width: calc(100% - 24px);
  transform: translateX(-50%);
  pointer-events: none;
}

.camera-guidance-overlay span {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  background: rgba(9, 17, 47, 0.78);
  box-shadow: 0 12px 32px rgba(4, 13, 31, 0.2);
  font-size: 13px;
  line-height: 18px;
  font-weight: 850;
  text-align: center;
}

.state-recording .camera-guidance-overlay span {
  background: rgba(225, 29, 72, 0.9);
}

.guest-answer-card .notice {
  margin-top: 12px;
}

.guest-answer-card #orientationGate[hidden] {
  display: none !important;
}

.guest-next-card {
  min-height: 444px;
  padding: 22px 25px 22px;
}

.next-list,
.guideline-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.next-list {
  margin-top: 22px;
  display: grid;
  gap: 20px;
}

.next-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
}

.next-list > li > span {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #1558f0;
  background: #edf3ff;
}

.next-list .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}

.next-list strong {
  display: block;
  color: #09112f;
  font-size: 15px;
  line-height: 20px;
  font-weight: 810;
}

.next-title-index {
  margin-right: 0.32em;
}

.next-list p {
  margin: 2px 0 0;
  color: #314b86;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.next-divider {
  height: 1px;
  margin: 22px 2px 18px;
  background: #dce4ef;
}

.guest-next-card .countdown-card {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 29px;
  text-align: left;
}

.countdown-copy {
  margin: 0;
  color: #09112f;
  font-size: 16px;
  line-height: 22px;
  font-weight: 760;
}

.guest-next-card .countdown-ring {
  --ring-size: 94px;
  margin: 0;
  border: 0;
  flex: 0 0 auto;
  background: conic-gradient(#1558f0 var(--ring-value), #dce8ff 0);
}

.guest-next-card .countdown-ring::before {
  width: 78px;
  height: 78px;
  background: #fff;
}

.guest-next-card .countdown-ring__number {
  color: #09112f;
  font-size: 31px;
  line-height: 34px;
  font-weight: 850;
  letter-spacing: -0.055em;
}

.guest-next-card .countdown-ring__label {
  margin-top: 2px;
  color: #314b86;
  font-size: 12px;
  line-height: 14px;
  font-weight: 560;
}

.guest-play-button {
  margin-top: 12px;
  height: 58px;
  border-radius: 8px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 810;
  background: #1558f0;
  box-shadow: 0 14px 30px rgba(21, 88, 240, 0.22);
}

.guest-play-button .icon {
  width: 22px;
  height: 22px;
}

.guest-skip-button {
  margin-top: 8px;
  min-height: 46px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 820;
}

.question-skip-row {
  display: none;
  margin-top: 12px;
}

.state-question-playing .question-skip-row {
  display: block;
}

.skipped-question-tag {
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 10px;
  border: 1px solid rgba(91, 34, 207, .18);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #5727e9;
  background: #f4f0ff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.guest-record-button,
.guest-stop-button {
  margin-top: 10px;
  height: 48px;
}

.state-before-play .guest-stop-button,
.state-question-playing .guest-stop-button,
.state-countdown .guest-stop-button,
.state-question-playing .guest-play-button,
.state-before-play .guest-skip-button,
.state-countdown .guest-play-button,
.state-countdown .guest-skip-button,
.state-recording .guest-play-button,
.state-recording .guest-skip-button,
.state-recording .guest-record-button,
.state-question-complete .guest-play-button,
.state-question-complete .guest-skip-button,
.state-question-complete .guest-record-button,
.state-question-complete .guest-stop-button {
  display: none;
}

.state-before-play .guest-record-button,
.state-question-playing .guest-record-button,
.state-countdown .guest-record-button {
  display: none;
}

.guest-record-button.is-visible {
  display: inline-flex !important;
}

.state-recording .guest-stop-button {
  display: inline-flex;
}

.state-before-play .guest-next-card .countdown-card,
.state-question-playing .guest-next-card .countdown-card {
  display: none;
}

.state-recording .guest-next-card .countdown-card {
  display: none;
}

.state-question-complete .guest-next-card .countdown-card {
  display: none;
}

.state-question-complete .background-upload-status {
  display: none;
}

.answer-review-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(91, 34, 207, 0.16);
  border-radius: 12px;
  display: grid;
  gap: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96));
  box-shadow: 0 14px 30px rgba(44, 57, 95, 0.07);
}

.answer-review-panel[hidden] {
  display: none !important;
}

.answer-review-panel strong {
  display: block;
  color: #09112f;
  font-size: 16px;
  line-height: 22px;
  font-weight: 820;
}

.answer-review-panel p {
  margin: 3px 0 0;
  color: #536078;
  font-size: 14px;
  line-height: 20px;
  font-weight: 560;
}

.answer-review-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.answer-review-actions .button {
  height: 48px;
}

.answer-review-panel small {
  color: #667085;
  font-size: 12px;
  line-height: 17px;
  font-weight: 700;
}

.guest-next-card .upload-progress {
  display: none;
}

.background-upload-status {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #f8fbff;
  color: #314b86;
  display: grid;
  gap: 9px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 650;
}

.background-upload-status:empty {
  display: none;
}

.background-upload-status > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.background-upload-status .icon {
  color: #1558f0;
}

.background-upload-status .upload-progress {
  display: block;
  width: 100%;
  height: 6px;
}

.upload-queue-list {
  width: min(520px, 100%);
  display: grid;
  gap: 10px;
  margin: 6px 0 4px;
}

.upload-queue-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fff;
  text-align: left;
}

.upload-queue-item > span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #1558f0;
  background: #edf3ff;
}

.upload-queue-item.is-uploaded > span {
  color: #079143;
  background: #dcf9e9;
}

.upload-queue-item.is-failed > span {
  color: #b42318;
  background: #fef2f2;
}

.upload-queue-item strong {
  display: block;
  color: #09112f;
  font-size: 14px;
  line-height: 19px;
  font-weight: 800;
}

.upload-queue-item p {
  margin: 2px 0 0;
  color: #4f5d78;
  font-size: 13px;
  line-height: 18px;
}

.guest-next-card .helper-text {
  display: none;
}

.guest-next-card .helper-text.is-visible {
  display: block;
}

.guest-guidelines-card {
  min-height: 204px;
  padding: 20px 25px;
}

.guideline-list {
  margin-top: 24px;
  display: grid;
  gap: 17px;
}

.guideline-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  color: #4f5d78;
  font-size: 14px;
  line-height: 19px;
  font-weight: 540;
}

.guideline-list .icon {
  color: #62708a;
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.guest-onboarding-grid,
.guest-work-grid--tech {
  margin-top: 31px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 497px;
  gap: 26px;
  align-items: start;
}

.guest-intro-card,
.guest-checkin-card,
.guest-tech-card {
  padding: 26px;
}

.guest-tech-card > .answer-pills {
  position: static;
  margin-top: 14px;
}

.guest-intro-card {
  min-height: 320px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
}

.guest-intro-card p,
.guest-checkin-card p,
.guest-tech-card p {
  margin: 0;
  max-width: 520px;
  color: #53617d;
  font-size: 15px;
  line-height: 23px;
}

.guest-intro-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #1558f0;
  background: #edf3ff;
}

.guest-checkin-card {
  display: grid;
  gap: 14px;
}

.guest-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.guest-card-heading > .icon {
  color: #1558f0;
  margin-top: 2px;
}

.guest-camera-frame {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #111827;
}

.guest-camera-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sound-check-panel {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.guest-signal-list {
  display: grid;
  gap: 18px;
  margin: 20px 0 24px;
}

.guest-signal-list > div {
  display: grid;
  gap: 7px;
}

.guest-signal-list span {
  color: #52617b;
  font-size: 12px;
  line-height: 16px;
  font-weight: 750;
}

.guest-signal-list strong {
  color: #314b86;
  font-size: 14px;
  line-height: 20px;
  font-weight: 620;
}

.guest-status-panel {
  max-width: 760px;
  margin: 72px auto 0;
}

.guest-permission-panel {
  text-align: left;
}

.guest-permission-panel .upload-icon {
  margin-inline: 0;
}

.guest-permission-steps {
  margin: 18px 0 22px;
  padding-left: 22px;
  display: grid;
  gap: 9px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 21px;
}

.guest-permission-actions {
  display: grid;
  gap: 10px;
}

.guest-permission-panel .helper-text {
  margin: 14px 0 0;
}

.guest-app #stop,
.guest-app #orientationGate:not([hidden]) {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
  width: 100%;
}

.guest-page--question .guest-main {
  padding: 22px 32px 24px;
  width: min(1480px, 100%);
  margin: 0 auto;
}

.guest-page--question .guest-header h1 {
  font-size: 34px;
  line-height: 40px;
  letter-spacing: 0;
}

.guest-page--question .guest-header strong {
  margin-top: 8px;
  font-size: 16px;
  line-height: 22px;
}

.guest-page--question .guest-steps {
  margin-top: 16px;
  gap: 12px;
}

.guest-page--question .guest-step {
  min-height: 76px;
  grid-template-columns: 24px minmax(0, 1fr);
  padding: 12px 14px;
  gap: 10px;
}

.guest-page--question .guest-step__icon {
  width: 42px;
  height: 42px;
}

.guest-page--question .guest-step__icon .icon {
  width: 21px;
  height: 21px;
}

.guest-page--question .guest-step strong {
  font-size: 15px;
  line-height: 20px;
}

.guest-page--question .guest-step p {
  margin-top: 2px;
  font-size: 12px;
  line-height: 17px;
}

.guest-page--question .guest-work-grid {
  margin-top: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
  gap: 18px;
}

.guest-page--question .guest-left-stack,
.guest-page--question .guest-right-stack {
  gap: 14px;
}

.guest-page--question .guest-question-card,
.guest-page--question .guest-answer-card,
.guest-page--question .guest-next-card,
.guest-page--question .guest-guidelines-card {
  padding: 14px 16px;
}

.guest-page--question .guest-question-card h2,
.guest-page--question .guest-answer-card h2,
.guest-page--question .guest-next-card h2,
.guest-page--question .guest-guidelines-card h2 {
  font-size: 18px;
  line-height: 23px;
}

.guest-page--question .guest-question-card .video-card {
  height: clamp(190px, 27vh, 250px);
  aspect-ratio: auto;
  margin-top: 10px;
}

.guest-page--question .guest-question-text,
.guest-page--question .answer-cue {
  padding: 10px 12px;
}

.guest-page--question .guest-question-text p {
  font-size: 14px;
  line-height: 20px;
}

.guest-page--question .answer-cue strong {
  font-size: 14px;
  line-height: 19px;
}

.guest-page--question .answer-cue p {
  font-size: 12px;
  line-height: 17px;
}

.guest-page--question .guest-question-card .audio-question-card {
  height: clamp(220px, 30vh, 300px);
  place-items: stretch;
}

.guest-page--question .guest-question-card .audio-question-visual {
  width: 100%;
  height: 100%;
  padding: 20px 28px 56px;
  overflow: auto;
  align-content: center;
  justify-items: center;
  transform: none;
}

.guest-page--question .guest-question-card .audio-question-visual::before {
  display: none;
}

.guest-page--question .guest-question-card .audio-question-visual strong {
  width: 100%;
  max-width: 720px;
  max-height: none;
  display: block;
  overflow: visible;
  font-size: clamp(14px, 1.28vw, 20px);
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.guest-page--question .guest-question-card .audio-question-card .play-overlay {
  top: auto;
  right: 18px;
  bottom: 16px;
  left: auto;
  transform: none;
}

.guest-page--question .guest-question-card .play-overlay {
  width: 64px;
  height: 64px;
}

.guest-page--question .guest-question-card .play-overlay .icon {
  width: 27px;
  height: 27px;
}

.guest-page--question .guest-answer-frame {
  height: clamp(180px, 27vh, 250px);
  min-height: 0;
  background: #0b1020;
}

.guest-page--question .guest-next-card {
  min-height: 0;
}

.guest-page--question .next-list {
  margin-top: 12px;
  gap: 10px;
}

.guest-page--question .next-list li {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
}

.guest-page--question .next-list > li > span {
  width: 30px;
  height: 30px;
}

.guest-page--question .next-list strong {
  font-size: 14px;
  line-height: 19px;
}

.guest-page--question .next-list p {
  font-size: 12px;
  line-height: 17px;
}

.guest-page--question .next-divider {
  margin: 12px 2px;
}

.guest-page--question .guest-next-card .countdown-card {
  gap: 18px;
}

.guest-page--question .guest-next-card .countdown-ring {
  --ring-size: 78px;
}

.guest-page--question .guest-next-card .countdown-ring::before {
  width: 64px;
  height: 64px;
}

.guest-page--question .guest-play-button {
  height: 48px;
  margin-top: 10px;
  font-size: 16px;
  line-height: 21px;
}

.guest-page--question .guest-record-button,
.guest-page--question .guest-stop-button {
  height: 44px;
  margin-top: 8px;
}

.guest-page--question .guest-guidelines-card {
  min-height: 0;
}

.guest-page--question .guideline-list {
  margin-top: 12px;
  gap: 8px;
}

.guest-page--question .guideline-list li {
  font-size: 13px;
  line-height: 18px;
}

@media (max-width: 1180px) {
  .guest-app {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .guest-main {
    padding: 30px 26px;
  }

  .guest-steps,
  .guest-work-grid,
  .guest-onboarding-grid,
  .guest-work-grid--tech {
    grid-template-columns: 1fr;
  }

  .guest-right-stack {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .guest-page--question .guest-work-grid {
    grid-template-columns: 1fr;
  }

  .guest-page--question .guest-right-stack {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px), (max-width: 980px) and (max-height: 520px) {
  .guest-page--question button {
    touch-action: manipulation;
  }

  .guest-app {
    display: block;
  }

  .guest-sidebar {
    min-height: 0;
    padding: 15px 16px;
    border-right: 0;
    border-bottom: 1px solid #dde5f1;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 16px;
  }

  .guest-brand {
    font-size: 22px;
    line-height: 28px;
  }

  .guest-logo {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    font-size: 25px;
  }

  .guest-nav {
    display: none;
  }

  .guest-account {
    border-top: 0;
    padding-top: 0;
    grid-template-columns: 38px minmax(0, 1fr);
    max-width: 160px;
    justify-self: end;
  }

  .guest-account > .icon {
    display: none;
  }

  .guest-avatar {
    width: 38px;
    height: 38px;
  }

  .guest-main {
    padding: 22px 16px 28px;
  }

  .guest-header h1 {
    font-size: 30px;
    line-height: 37px;
  }

  .guest-header {
    align-items: flex-start;
  }

  .guest-header strong {
    margin-top: 8px;
    font-size: 13px;
    line-height: 18px;
  }

  .guest-steps {
    margin-top: 20px;
    gap: 10px;
  }

  .guest-step {
    min-height: 74px;
    grid-template-columns: 42px 22px minmax(0, 1fr);
    padding: 14px;
    gap: 10px;
  }

  .guest-step__icon {
    width: 42px;
    height: 42px;
  }

  .guest-step__icon .icon {
    width: 21px;
    height: 21px;
  }

  .guest-step strong {
    font-size: 15px;
    line-height: 20px;
  }

  .guest-step p {
    font-size: 12px;
    line-height: 17px;
  }

  .guest-work-grid {
    margin-top: 16px;
  }

  .guest-right-stack {
    grid-template-columns: 1fr;
  }

  .guest-question-card,
  .guest-answer-card,
  .guest-next-card,
  .guest-guidelines-card,
  .guest-intro-card,
  .guest-checkin-card,
  .guest-tech-card {
    padding: 16px;
  }

  .guest-question-card .video-card {
    aspect-ratio: 16 / 9;
  }

  .guest-question-card .audio-question-visual {
    width: 90%;
    gap: 8px;
    padding-bottom: 36px;
  }

  .guest-question-card .audio-question-visual::before {
    width: 58px;
    height: 58px;
  }

  .guest-question-card .audio-question-visual strong {
    font-size: 18px;
    line-height: 23px;
  }

  .guest-question-card .audio-question-card .play-overlay {
    top: 34%;
  }

.guest-question-card .video-controls {
    grid-template-columns: 20px auto minmax(0, 1fr) 22px 28px;
    gap: 8px;
    font-size: 12px;
  }

  .guest-question-card .video-controls__button:nth-of-type(3),
  .guest-question-card .video-controls__chip {
    display: none;
  }

  .guest-question-text,
  .answer-cue {
    margin-top: 10px;
    padding: 10px 12px;
  }

  .guest-question-text p,
  .answer-cue strong {
    font-size: 14px;
    line-height: 20px;
  }

  .answer-cue p {
    font-size: 12px;
    line-height: 17px;
  }

  .guest-answer-frame {
    min-height: 178px;
  }

  .answer-review-actions {
    grid-template-columns: 1fr;
  }

  .guest-next-card .countdown-card {
    gap: 18px;
  }

  .guest-next-card .countdown-ring {
    --ring-size: 82px;
  }

  .guest-next-card .countdown-ring::before {
    width: 68px;
    height: 68px;
  }

  .guest-play-button {
    height: 52px;
    font-size: 17px;
  }

  .answer-pills {
    left: 12px;
    right: 12px;
    bottom: 10px;
  }

  .camera-guidance-overlay {
    top: 10px;
  }

  .camera-guidance-overlay span {
    min-height: 30px;
    padding: 0 11px;
    font-size: 12px;
    line-height: 16px;
  }
}

/* Hidden simplified guest-flow review: /i/:token/simplified */
.simplified-guest-flow .topbar {
  border-bottom-color: #ebe8ff;
}

.guest-simple-welcome {
  width: min(680px, calc(100% - 32px));
  margin: clamp(30px, 8vh, 84px) auto 24px;
}

.guest-simple-welcome__card,
.guest-simple-check,
.guest-simple-recorder {
  border: 1px solid #e7e2ff;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(50, 32, 114, 0.1);
}

.guest-simple-welcome__card {
  padding: clamp(28px, 6vw, 52px);
}

.guest-simple-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 22px;
  color: #5740b5;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guest-simple-welcome h1 {
  max-width: 560px;
  margin: 0;
  color: #21174d;
  font-size: clamp(2.35rem, 7vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.guest-simple-lede {
  margin: 20px 0 24px;
  color: #5d5872;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.55;
}

.guest-simple-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.guest-simple-facts span,
.guest-simple-check__ready span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4a4269;
  font-size: 0.82rem;
  font-weight: 760;
}

.guest-simple-facts span {
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid #e4def8;
  border-radius: 11px;
  background: #f8f6ff;
  line-height: 1.3;
}

.guest-simple-facts span:first-child {
  justify-content: center;
  text-align: center;
}

.guest-simple-check__ready span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #f4f1ff;
}

.guest-simple-form,
.guest-simple-fields {
  display: grid;
  gap: 12px;
}

.guest-simple-fields {
  grid-template-columns: 1fr 1fr;
}

.guest-simple-fields label {
  display: grid;
  gap: 7px;
  color: #39324f;
  font-size: 0.84rem;
  font-weight: 780;
}

.guest-simple-fields input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #dcd6f2;
  border-radius: 12px;
  color: #21174d;
  background: #fff;
  font: inherit;
  font-weight: 600;
}

.guest-simple-fields input:focus {
  border-color: #7457df;
  outline: 3px solid rgba(116, 87, 223, 0.14);
}

.guest-simple-primary {
  min-height: 54px;
  font-size: 1rem;
}

.guest-simple-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  width: min(1000px, calc(100% - 32px));
  margin: 34px auto 18px;
}

.guest-simple-header h1,
.guest-simple-header p {
  margin: 0;
}

.guest-simple-header h1 {
  color: #21174d;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.guest-simple-header > strong {
  padding: 8px 12px;
  border-radius: 999px;
  color: #605877;
  background: #f3f1f8;
  font-size: 0.78rem;
}

.guest-simple-check {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 28px;
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto 42px;
  padding: clamp(18px, 3vw, 28px);
}

.guest-simple-check__preview {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 18px;
  background: #171329;
}

.guest-simple-check__preview video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transform: scaleX(-1);
}

.guest-simple-check__ready {
  position: absolute;
  inset: auto 14px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guest-simple-check__ready span {
  color: #075d39;
  background: rgba(236, 255, 245, 0.94);
  backdrop-filter: blur(8px);
}

.guest-simple-check__controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.guest-simple-check__label {
  display: block;
  margin-bottom: 9px;
  color: #2c244d;
  font-weight: 850;
}

.guest-simple-check__controls p {
  margin: 8px 0 4px;
  color: #746e84;
  font-size: 0.84rem;
}

.guest-simple-recorder {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 44px;
  padding: 16px;
}

.guest-simple-cue {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  color: #423963;
  background: #f4f1ff;
}

.guest-simple-cue > span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: #6e50d5;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guest-simple-cue strong,
.guest-simple-cue p {
  margin: 0;
}

.guest-simple-cue p {
  color: #736b88;
  font-size: 0.82rem;
}

.guest-simple-question-card,
.guest-simple-answer-card,
.guest-simple-actions {
  margin: 0;
  border: 1px solid #ebe7f7;
  border-radius: 18px;
  box-shadow: none;
}

.guest-simple-question-card {
  grid-column: 1;
}

.guest-simple-answer-card {
  grid-column: 2;
  grid-row: 2 / span 2;
}

.guest-simple-actions {
  grid-column: 1;
}

.guest-simple-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.guest-simple-card-heading h2,
.guest-simple-card-heading span {
  margin: 0;
}

.guest-simple-card-heading span {
  color: #827b92;
  font-size: 0.75rem;
}

.guest-page--simplified-question .guest-answer-frame {
  min-height: 360px;
  border-radius: 14px;
}

.guest-page--simplified-question .guest-play-button,
.guest-page--simplified-question .guest-stop-button,
.guest-page--simplified-question .guest-pause-button,
.guest-page--simplified-question .guest-skip-button {
  min-height: 52px;
}

.guest-page--simplified-question .guest-simple-actions #state {
  display: block;
  margin: 0 0 10px;
  text-align: center;
}

.guest-page--simplified-question .countdown-card {
  margin-bottom: 12px;
}

.state-recording .guest-page--simplified-question .guest-simple-cue {
  color: #fff;
  background: #c92f42;
}

.state-recording .guest-page--simplified-question .guest-simple-cue > span {
  color: #c92f42;
  background: #fff;
}

.state-recording .guest-page--simplified-question .guest-simple-cue p {
  color: rgba(255, 255, 255, 0.88);
}

.state-recording .guest-page--simplified-question .guest-answer-card {
  border-color: #d9364a;
  box-shadow: 0 0 0 4px rgba(217, 54, 74, 0.13);
}

@media (max-width: 800px) {
  .guest-simple-fields,
  .guest-simple-check,
  .guest-simple-recorder {
    grid-template-columns: 1fr;
  }

  .guest-simple-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .guest-simple-check__preview,
  .guest-simple-check__preview video,
  .guest-page--simplified-question .guest-answer-frame {
    min-height: 280px;
  }

  .guest-simple-cue,
  .guest-simple-question-card,
  .guest-simple-answer-card,
  .guest-simple-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .guest-simple-cue {
    grid-template-columns: auto 1fr;
  }

  .guest-simple-cue p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .guest-simple-welcome {
    width: min(100% - 20px, 680px);
    margin-top: 18px;
  }

  .guest-simple-welcome__card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .guest-simple-facts {
    grid-template-columns: 1fr;
  }

  .guest-simple-header,
  .guest-simple-check,
  .guest-simple-recorder {
    width: calc(100% - 20px);
  }

  .guest-simple-check,
  .guest-simple-recorder {
    padding: 10px;
    border-radius: 18px;
  }
}

@media (max-width: 760px), (max-width: 980px) and (max-height: 520px) {
  .guest-page--question .guest-main {
    padding: 12px 12px calc(96px + env(safe-area-inset-bottom));
  }

  .state-before-play .guest-page--question .guest-main {
    padding-bottom: calc(172px + env(safe-area-inset-bottom));
  }

  .guest-page--question .guest-header h1 {
    display: none;
  }

  .guest-page--question .guest-header strong {
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf3ff;
    color: #1558f0;
    font-size: 13px;
    line-height: 17px;
    font-weight: 850;
  }

  .guest-page--question .question-start-explainer {
    margin-top: 8px;
    padding: 9px 10px;
    font-size: 13px;
    line-height: 18px;
  }

  .guest-page--question .guest-steps {
    display: none;
  }

  .guest-page--question .guest-work-grid {
    margin-top: 10px;
    gap: 10px;
  }

  .guest-page--question .guest-left-stack,
  .guest-page--question .guest-right-stack {
    gap: 10px;
  }

  .guest-page--question .guest-question-card,
  .guest-page--question .guest-answer-card {
    padding: 10px;
    border-radius: 12px;
  }

  .guest-page--question .guest-question-card {
    display: none;
  }

  .guest-page--question .guest-question-card h2,
  .guest-page--question .guest-answer-card h2 {
    font-size: 18px;
    line-height: 22px;
  }

  .guest-page--question .guest-question-card .video-card {
    height: clamp(160px, 26vh, 220px);
    aspect-ratio: auto;
  }

  .guest-page--question .answer-cue,
  .guest-page--question #orientationGate,
  .guest-page--question .answer-pills {
    display: none !important;
  }

  .guest-page--question .guest-question-card .audio-question-card {
    height: clamp(190px, 31vh, 260px);
  }

  .guest-page--question .guest-question-card .audio-question-visual {
    width: 100%;
    height: 100%;
    padding: 18px 18px 52px;
  }

  .guest-page--question .guest-question-card .audio-question-visual strong {
    font-size: clamp(13px, 3.35vw, 17px);
    line-height: 1.3;
  }

  .guest-page--question .guest-answer-frame {
    height: min(52vh, 390px);
    min-height: 260px;
  }

  .guest-page--question .preview-question-layer {
    display: grid;
    opacity: 0;
    pointer-events: none;
  }

  .state-question-playing .guest-page--question .preview-question-layer,
  .state-countdown .guest-page--question .preview-countdown-layer {
    display: grid;
  }

  .state-question-playing .guest-page--question .preview-question-layer {
    opacity: 1;
  }

  .guest-page--question .preview-question-text-card {
    width: min(92%, 560px);
    max-height: calc(100% - 28px);
    padding: 18px;
    border-radius: 14px;
  }

  .guest-page--question .preview-question-text-card strong {
    font-size: clamp(12px, 3.3vw, 22px);
    line-height: 1.26;
  }

  .guest-page--question .preview-countdown-layer span {
    width: 98px;
    height: 98px;
    font-size: 52px;
  }

  .guest-page--question .guest-right-stack {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .guest-page--question .guest-next-card {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .guest-page--question .guest-guidelines-card {
    display: none;
  }

  .guest-page--question .guest-next-card h2,
  .guest-page--question .next-list,
  .guest-page--question .next-divider,
  .guest-page--question .guest-next-card .countdown-card,
  .guest-page--question .background-upload-status:empty {
    display: none !important;
  }

  .guest-page--question .guest-play-button,
  .guest-page--question .guest-stop-button {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    z-index: 80 !important;
    width: auto !important;
    height: 58px;
    margin: 0;
    border-radius: 12px;
    font-size: 18px;
    line-height: 22px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2);
  }

  .guest-page--question #state {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    z-index: 79;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #53617d;
    font-size: 13px;
    line-height: 18px;
    font-weight: 720;
    text-align: center;
  }

  .state-recording .guest-page--question #state {
    display: none;
  }

  .guest-page--question .camera-guidance-overlay {
    display: none;
  }

  .guest-page--question .recording-hud {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .guest-page--question .rec-badge,
  .guest-page--question .recording-timer {
    min-height: 32px;
    font-size: 13px;
  }

  .guest-page--sound-check .guest-main {
    padding-top: 20px;
  }

  .guest-page--sound-check .guest-header h1 {
    font-size: 25px;
    line-height: 31px;
  }

  .guest-page--sound-check .guest-work-grid--sound {
    margin-top: 18px;
    gap: 14px;
  }
}

@media (max-width: 980px) and (max-height: 520px) {
  .guest-page--question .guest-main {
    padding: 8px 12px calc(72px + env(safe-area-inset-bottom));
  }

  .guest-page--question .guest-header {
    min-height: 0;
  }

  .guest-page--question .question-start-explainer {
    margin-top: 6px;
    padding: 7px 9px;
    font-size: 12px;
    line-height: 16px;
  }

  .guest-page--question .guest-work-grid {
    margin-top: 6px;
  }

  .guest-page--question .guest-answer-card {
    width: min(620px, 78vw);
    margin: 0 auto;
    padding: 8px;
  }

  .guest-page--question .guest-answer-card h2 {
    display: none;
  }

  .guest-page--question .guest-answer-frame {
    height: min(54vh, 230px);
    min-height: 178px;
    margin-top: 0;
  }

  .guest-page--question .guest-play-button,
  .guest-page--question .guest-stop-button {
    left: 76px !important;
    right: 76px !important;
    bottom: calc(8px + env(safe-area-inset-bottom)) !important;
    height: 50px;
    font-size: 16px;
    line-height: 20px;
  }

  .guest-page--question #state {
    bottom: calc(62px + env(safe-area-inset-bottom));
    left: 76px;
    right: 76px;
    font-size: 12px;
    line-height: 16px;
  }

  .guest-page--question .recording-hud {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .guest-page--question .preview-countdown-layer span {
    width: 82px;
    height: 82px;
    font-size: 44px;
  }
}

/* MicRelay brand assets */
.brand-logo,
.guest-brand__logo {
  display: block;
  height: auto;
}

.brand-logo {
  width: 176px;
}

.guest-brand {
  gap: 0;
}

.guest-brand__logo {
  width: 189px;
}

@media (max-width: 760px) {
  .guest-brand__logo {
    width: 148px;
  }
}

/* Interview invite landing */

body:has(.guest-landing) {
  background: #f8faff;
}

.interview-app:has(.guest-landing) {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #fbfcff 0%, #fff 47%, #f6fbff 100%);
  color: #101421;
}

.interview-app:has(.guest-landing) .topbar {
  display: flex;
  position: relative;
  height: 82px;
  padding: 0 clamp(24px, 4vw, 64px);
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

.topbar__help {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #25314a;
  text-decoration: none;
  font-size: 16px;
  line-height: 24px;
  font-weight: 720;
}

.topbar__help .icon {
  width: 21px;
  height: 21px;
}

.interview-app:has(.guest-landing) .page {
  width: min(1240px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 8px 0 46px;
}

.guest-landing {
  display: grid;
  gap: 24px;
  color: #101421;
}

.guest-landing__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.guest-landing__copy {
  min-width: 0;
  max-width: none;
}

.guest-landing__kicker {
  width: fit-content;
  margin: 0 0 16px;
  padding: 6px 10px;
  border: 1px solid #dde5f1;
  border-radius: 7px;
  color: #475067;
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 16px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guest-landing h1 {
  max-width: 1060px;
  margin: 0;
  color: #07091a;
  font-size: clamp(46px, 5.4vw, 72px);
  line-height: 1.03;
  font-weight: 780;
  letter-spacing: 0;
}

.guest-landing__lede {
  max-width: 860px;
  margin: 18px 0 0;
  color: #334155;
  font-size: 20px;
  line-height: 30px;
  font-weight: 470;
}

.guest-landing__note-stack {
  max-width: none;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guest-landing__answer-length,
.guest-landing__single-take {
  max-width: none;
  padding: 15px 16px;
  border: 1px solid rgba(91, 34, 207, 0.18);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  background: linear-gradient(135deg, rgba(245, 240, 255, 0.94), rgba(255, 255, 255, 0.9));
  box-shadow: 0 12px 26px rgba(91, 34, 207, 0.06);
}

.guest-landing__answer-length {
  border-color: rgba(21, 88, 240, 0.18);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.94), rgba(255, 255, 255, 0.9));
  box-shadow: 0 12px 26px rgba(21, 88, 240, 0.055);
}

.guest-landing__answer-length > .icon,
.guest-landing__single-take .icon {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 999px;
  color: #5727e9;
  background: #fff;
  box-shadow: 0 8px 18px rgba(91, 34, 207, 0.08);
}

.guest-landing__answer-length > .icon {
  color: #1558f0;
}

.guest-landing__answer-length strong {
  display: block;
  color: #172033;
  font-size: 15px;
  line-height: 21px;
  font-weight: 820;
}

.guest-landing__answer-length p,
.guest-landing__single-take p {
  margin: 0;
  color: #25314a;
  font-size: 15px;
  line-height: 23px;
  font-weight: 620;
}

.guest-landing__answer-length p {
  margin-top: 3px;
  font-size: 14px;
  line-height: 21px;
  font-weight: 560;
}

.guest-landing__welcome {
  padding: 16px;
  border: 1px solid rgba(216, 224, 238, 0.96);
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 38px rgba(32, 42, 68, 0.07);
}

.guest-landing__welcome video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  display: block;
  background: #111827;
  object-fit: cover;
}

.guest-landing__welcome span {
  color: #5727e9;
  font-size: 12px;
  line-height: 17px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guest-landing__welcome h2 {
  margin: 6px 0 0;
  color: #07091a;
  font-size: 25px;
  line-height: 31px;
  font-weight: 820;
}

.guest-landing__welcome p {
  margin: 8px 0 0;
  color: #536078;
  font-size: 15px;
  line-height: 23px;
  font-weight: 560;
}

.guest-welcome-step {
  width: min(1040px, calc(100vw - 32px));
  min-height: min(640px, calc(100vh - 64px));
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(216, 224, 238, 0.96);
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(32, 42, 68, 0.08);
}

.guest-welcome-step__media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  display: block;
  background: #111827;
  object-fit: cover;
}

.guest-welcome-step__media--audio {
  min-height: 320px;
  padding: 28px;
  border: 1px solid rgba(216, 224, 238, 0.96);
  border-radius: 10px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background: #f7f8fb;
  text-align: center;
}

.guest-welcome-step__media--audio strong {
  color: #20263a;
  font-size: 16px;
  line-height: 22px;
  font-weight: 780;
}

.guest-welcome-step__media--audio audio {
  width: min(100%, 440px);
}

.guest-welcome-step__audio-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #5727e9;
  background: #efe9ff;
}

.guest-welcome-step__copy {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: center;
}

.guest-welcome-step__copy span {
  color: #5727e9;
  font-size: 12px;
  line-height: 17px;
  font-weight: 840;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guest-welcome-step__copy h1 {
  margin: 0;
  color: #07091a;
  font-size: clamp(30px, 5vw, 56px);
  line-height: .98;
  font-weight: 880;
  letter-spacing: 0;
}

.guest-welcome-step__copy p {
  margin: 0;
  color: #536078;
  font-size: 16px;
  line-height: 24px;
  font-weight: 560;
}

.guest-landing__preview {
  min-height: 326px;
  padding: 18px;
  border: 1px solid rgba(216, 224, 238, 0.96);
  border-radius: 10px;
  display: grid;
  align-content: start;
  gap: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.95));
  box-shadow: 0 18px 38px rgba(32, 42, 68, 0.08);
}

.guest-preview__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #667085;
  font-size: 13px;
  line-height: 18px;
  font-weight: 680;
}

.guest-preview__top strong {
  color: #5727e9;
}

.guest-preview__question {
  min-height: 96px;
  padding: 17px;
  border: 1px solid #dde5f1;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: #fff;
}

.guest-preview__play {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #4f18d8;
  box-shadow: 0 10px 20px rgba(91, 34, 207, 0.17);
}

.guest-preview__play .icon {
  width: 23px;
  height: 23px;
}

.guest-preview__question small,
.guest-preview__count small {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 17px;
  font-weight: 680;
}

.guest-preview__question strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #111827;
  font-size: 17px;
  line-height: 22px;
  font-weight: 760;
}

.guest-preview__question em {
  color: #344054;
  font-size: 14px;
  line-height: 18px;
  font-style: normal;
  font-weight: 800;
}

.guest-preview__answer {
  min-height: 160px;
  padding: 16px;
  border: 1px solid #dce7f5;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 14px;
  background: linear-gradient(135deg, #f7fbff, #fff);
}

.guest-preview__camera {
  min-width: 0;
  border: 1px dashed #b9c9e6;
  border-radius: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #5727e9;
  background: #eef6ff;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}

.guest-preview__camera--video {
  border: 0;
  display: block;
  overflow: hidden;
  background: #111827;
}

.guest-preview__video {
  width: 100%;
  height: 100%;
  min-height: 128px;
  display: block;
  object-fit: cover;
  background: #111827;
}

.guest-preview__camera--text {
  padding: 16px;
  place-items: stretch;
  align-content: start;
  justify-items: stretch;
  border-style: solid;
  color: #182033;
  background: linear-gradient(135deg, #f8fbff, #fff);
  text-align: left;
}

.guest-preview__prompt {
  min-width: 0;
}

.guest-preview__prompt audio {
  display: none;
}

.guest-preview__prompt small {
  display: block;
  margin-bottom: 7px;
  color: #5727e9;
  font-size: 11px;
  line-height: 15px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guest-preview__prompt p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  margin: 0;
  color: #111827;
  font-size: 17px;
  line-height: 23px;
  font-weight: 760;
}

.guest-preview__camera .icon {
  width: 34px;
  height: 34px;
}

.guest-preview__count {
  border-radius: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #111827;
  background: #f4f0ff;
  text-align: center;
}

.guest-preview__count span {
  width: 56px;
  height: 56px;
  border: 4px solid #5727e9;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #351199;
  background: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.guest-landing__start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

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

.guest-landing__rules article {
  min-height: 142px;
  padding: 18px;
  border: 1px solid #dde5f1;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: rgba(255, 255, 255, 0.88);
  text-align: left;
  box-shadow: 0 12px 26px rgba(29, 45, 78, 0.045);
}

.guest-landing__rules article > span,
.guest-landing__form-head > span {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #5727e9;
  background: #f0e9ff;
}

.guest-landing__rules article:nth-child(2) > span {
  color: #0f766e;
  background: #e9f8f6;
}

.guest-landing__rules article:nth-child(3) > span {
  color: #5727e9;
  background: #edf5ff;
}

.guest-landing__rules article > span .icon,
.guest-landing__form-head > span .icon {
  width: 23px;
  height: 23px;
  stroke-width: 2.2;
}

.guest-landing__rules h2 {
  margin: 0 0 5px;
  color: #0b0d12;
  font-size: 19px;
  line-height: 24px;
  font-weight: 760;
  letter-spacing: 0;
}

.guest-landing__rules p {
  margin: 0;
  color: #334155;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
}

.guest-landing__form {
  width: 100%;
  padding: 18px;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(180px, .65fr) minmax(180px, .65fr) minmax(220px, .7fr);
  gap: 14px;
  align-items: end;
  background: #fff;
  text-align: left;
  box-shadow: 0 18px 36px rgba(29, 45, 78, 0.08);
}

.guest-landing__form-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-bottom: 0;
}

.guest-landing__form-head strong {
  display: block;
  color: #0b0d12;
  font-size: 20px;
  line-height: 25px;
  font-weight: 780;
}

.guest-landing__form-head p {
  margin: 4px 0 0;
  color: #536078;
  font-size: 14px;
  line-height: 20px;
  font-weight: 560;
}

.guest-landing__form label {
  display: grid;
  gap: 8px;
  color: #172033;
  font-size: 13px;
  line-height: 18px;
  font-weight: 720;
}

.guest-landing__form label small {
  color: #667085;
  font-size: 13px;
  font-weight: 620;
}

.guest-landing__form input {
  width: 100%;
  height: 50px;
  border: 1px solid #d8deea;
  border-radius: 8px;
  padding: 0 15px;
  background: #fbfcff;
  color: #0b0d12;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.guest-landing__form input:focus {
  border-color: #5727e9;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(91, 34, 207, 0.12);
}

.guest-landing__error {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  background: #fff1f2;
  color: #be123c;
  font-size: 14px;
  line-height: 20px;
  font-weight: 720;
}

.guest-landing__start {
  width: 100%;
  height: 50px;
  margin-top: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background: #4f18d8;
  color: #fff;
  font-size: 17px;
  line-height: 22px;
  font-weight: 760;
  box-shadow: 0 14px 26px rgba(91, 34, 207, 0.2);
}

.guest-landing__start:hover {
  background: #3f12c8;
}

.guest-landing__start .icon {
  width: 24px;
  height: 24px;
}

.guest-landing__start:disabled {
  cursor: wait;
  opacity: 0.78;
}

.guest-landing__foot {
  grid-column: 1 / -1;
  margin: 0;
  color: #667085;
  text-align: left;
  font-size: 14px;
  line-height: 21px;
  font-weight: 620;
}

.guest-landing__ready-warning {
  grid-column: 1 / -1;
  margin: -3px 0 0;
  color: #0b0d12;
  text-align: left;
  font-size: 14px;
  line-height: 21px;
  font-weight: 780;
}

@media (max-width: 980px) {
  .guest-landing__hero,
  .guest-landing__start-grid,
  .guest-landing__welcome {
    grid-template-columns: 1fr;
  }

  .guest-welcome-step {
    min-height: 0;
    grid-template-columns: 1fr;
  }

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

  .guest-landing__form-head,
  .guest-landing__start,
  .guest-landing__foot,
  .guest-landing__ready-warning {
    grid-column: 1 / -1;
  }

  .guest-landing__preview {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .interview-app:has(.guest-landing) .topbar {
    height: 64px;
    padding: 0 20px;
  }

  .topbar__help span {
    display: none;
  }

  .interview-app:has(.guest-landing) .page {
    width: min(100% - 28px, 560px);
    padding-top: 10px;
    padding-bottom: 26px;
  }

  .guest-landing {
    gap: 16px;
  }

  .guest-welcome-step__media--audio {
    min-height: 220px;
    padding: 22px 16px;
  }

  .guest-welcome-step {
    width: min(100% - 28px, 560px);
    padding: 12px;
    gap: 16px;
  }

  .guest-welcome-step__copy {
    gap: 12px;
  }

  .guest-welcome-step__copy h1 {
    font-size: 32px;
    line-height: 36px;
  }

  .guest-welcome-step__copy p {
    font-size: 15px;
    line-height: 22px;
  }

  .guest-landing__hero {
    gap: 16px;
  }

  .guest-landing__kicker {
    margin-bottom: 10px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 17px;
  }

  .guest-landing h1 {
    font-size: 31px;
    line-height: 36px;
    font-weight: 780;
  }

  .guest-landing__lede {
    margin-top: 12px;
    font-size: 16px;
    line-height: 23px;
  }

  .guest-landing__note-stack {
    margin-top: 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .guest-landing__answer-length,
  .guest-landing__single-take {
    margin-top: 0;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 13px;
  }

  .guest-landing__answer-length > .icon,
  .guest-landing__single-take .icon {
    width: 34px;
    height: 34px;
    padding: 8px;
  }

  .guest-landing__answer-length strong {
    font-size: 14px;
    line-height: 20px;
  }

  .guest-landing__answer-length p,
  .guest-landing__single-take p {
    font-size: 14px;
    line-height: 21px;
  }

  .guest-landing__welcome {
    padding: 12px;
    gap: 14px;
  }

  .guest-landing__welcome h2 {
    font-size: 20px;
    line-height: 25px;
  }

  .guest-landing__welcome p {
    font-size: 14px;
    line-height: 21px;
  }

  .guest-landing__preview {
    display: none;
  }

  .guest-landing__start-grid {
    gap: 14px;
  }

  .guest-landing__form {
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 10px;
    gap: 12px;
  }

  .guest-landing__form-head {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .guest-landing__form-head > span,
  .guest-landing__rules article > span {
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }

  .guest-landing__form-head > span .icon,
  .guest-landing__rules article > span .icon {
    width: 23px;
    height: 23px;
  }

  .guest-landing__form-head strong {
    font-size: 18px;
    line-height: 23px;
  }

  .guest-landing__form-head p {
    font-size: 13px;
    line-height: 19px;
  }

  .guest-landing__form input {
    height: 50px;
    font-size: 16px;
  }

  .guest-landing__start {
    height: 56px;
    margin-top: 0;
    font-size: 16px;
    line-height: 21px;
  }

  .guest-landing__rules {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .guest-landing__rules article {
    min-height: 0;
    padding: 14px;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    border-radius: 8px;
  }

  .guest-landing__rules h2 {
    margin-bottom: 3px;
    font-size: 16px;
    line-height: 20px;
  }

  .guest-landing__rules p {
    font-size: 13px;
    line-height: 19px;
  }
}

/* Simplified interview invite */

body:has(.guest-invite) {
  background: #fbfcff;
}

.interview-app:has(.guest-invite) {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 38%, rgba(91, 34, 207, 0.08), transparent 34rem),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 48%, #f7f9ff 100%);
  color: #07091a;
}

.interview-app:has(.guest-invite) .topbar {
  display: flex;
  position: relative;
  top: auto;
  z-index: auto;
  height: 88px;
  padding: 0 clamp(28px, 3.8vw, 52px);
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

.interview-app:has(.guest-invite) .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.interview-app:has(.guest-invite) .brand-logo {
  display: none;
}

.interview-app:has(.guest-invite) .brand::before {
  content: "";
  width: 33px;
  height: 39px;
  display: block;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg viewBox='0 0 24 28' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%235721df' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5a4 4 0 0 0-4 4v7a4 4 0 0 0 8 0v-7a4 4 0 0 0-4-4Z'/%3E%3Cpath d='M21 12v1.5a9 9 0 0 1-18 0V12'/%3E%3Cpath d='M12 22.5v3'/%3E%3Cpath d='M8 25.5h8'/%3E%3C/svg%3E");
}

.interview-app:has(.guest-invite) .brand::after {
  content: "MicRelay";
  color: #07091a;
  font-size: 31px;
  line-height: 38px;
  font-weight: 850;
  letter-spacing: 0;
}

.interview-app:has(.guest-invite) .topbar__help {
  color: #2e3a52;
  font-size: 17px;
  line-height: 24px;
  font-weight: 560;
}

.interview-app:has(.guest-invite) .page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 6px clamp(20px, 4vw, 56px) 26px;
}

.guest-invite {
  min-height: calc(100vh - 120px);
  display: grid;
  justify-items: center;
  align-content: start;
  color: #07091a;
}

.guest-invite__card {
  width: min(100%, 930px);
  padding: 38px 46px 30px;
  border: 1px solid rgba(214, 222, 235, 0.88);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 28px 72px rgba(17, 24, 39, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  text-align: center;
}

.guest-invite__badge {
  width: fit-content;
  min-height: 38px;
  margin: 0 auto 30px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #f1eaff;
  color: #4f18d8;
  font-size: 14px;
  line-height: 18px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guest-invite__badge .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.guest-invite h1 {
  max-width: 860px;
  margin: 0 auto;
  color: #07091a;
  font-size: clamp(48px, 5vw, 70px);
  line-height: 1.04;
  font-weight: 880;
  letter-spacing: 0;
}

.guest-invite h1 span {
  display: block;
}

.guest-invite__lede {
  max-width: 570px;
  margin: 22px auto 0;
  color: #4a5670;
  font-size: 22px;
  line-height: 32px;
  font-weight: 520;
}

.guest-invite__form {
  width: min(100%, 430px);
  margin: 30px auto 0;
  display: grid;
  gap: 17px;
  justify-items: center;
}

.guest-invite__error {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #fecdd3;
  border-radius: 10px;
  background: #fff1f2;
  color: #be123c;
  font-size: 14px;
  line-height: 20px;
  font-weight: 720;
  text-align: center;
}

.guest-invite__start {
  width: 100%;
  height: 72px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(180deg, #6727f4 0%, #4f18d8 100%);
  color: #fff;
  font-size: 24px;
  line-height: 30px;
  font-weight: 820;
  box-shadow: 0 16px 30px rgba(91, 34, 207, 0.28);
}

.guest-invite__start:hover {
  background: linear-gradient(180deg, #5f22e5 0%, #4614c3 100%);
}

.guest-invite__start:disabled {
  cursor: wait;
  opacity: 0.78;
}

.guest-invite__start .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.4;
}

.guest-invite__check {
  margin: 0;
  color: #46536d;
  font-size: 17px;
  line-height: 24px;
  font-weight: 560;
}

.guest-invite__divider {
  width: 100%;
  height: 1px;
  margin: 28px 0 0;
  background: #dce2ec;
}

.guest-invite__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.guest-invite__step {
  min-height: 152px;
  padding: 0 42px;
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.guest-invite__step + .guest-invite__step {
  border-left: 1px solid #dde3ee;
}

.guest-invite__step > span,
.guest-invite__note > span {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #5721df;
  background: linear-gradient(180deg, #f0e9ff 0%, #ebe3ff 100%);
}

.guest-invite__step .icon,
.guest-invite__note .icon {
  width: 34px;
  height: 34px;
  stroke-width: 2.25;
}

.guest-invite__step h2 {
  margin: 21px 0 0;
  color: #07091a;
  font-size: 21px;
  line-height: 27px;
  font-weight: 850;
}

.guest-invite__step p {
  margin: 10px 0 0;
  color: #46536d;
  font-size: 17px;
  line-height: 27px;
  font-weight: 520;
}

.guest-invite__settings {
  width: min(100%, 720px);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  text-align: left;
}

.guest-invite__settings article {
  min-height: 118px;
  padding: 18px;
  border: 1px solid #d9e1ee;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.guest-invite__preview {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d7deea;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #4f18d8;
  background: #fff;
  font-size: 16px;
  font-weight: 780;
}

.guest-invite__preview:hover {
  border-color: #b9a5f5;
  background: #f8f6ff;
}

.guest-question-preview-dialog {
  width: min(100%, 620px);
  max-height: calc(100dvh - 44px);
  overflow: auto;
}

.guest-question-preview-dialog > p {
  margin: -8px 0 20px;
  color: #667085;
  font-size: 15px;
  line-height: 22px;
}

.guest-question-preview-dialog ol {
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.guest-question-preview-dialog li {
  padding: 13px 14px;
  border: 1px solid #e4e7ec;
  border-radius: 9px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  background: #fafbff;
}

.guest-question-preview-dialog li span {
  color: #5727e9;
  font-size: 12px;
  line-height: 20px;
  font-weight: 850;
}

.guest-question-preview-dialog li strong {
  color: #111322;
  font-size: 14px;
  line-height: 20px;
  font-weight: 680;
}

.guest-invite__settings .guest-invite__setup-request {
  grid-column: 1 / -1;
}

.guest-invite__settings article > span {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #5721df;
  background: #f1eaff;
}

.guest-invite__settings .icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.35;
}

.guest-invite__settings strong {
  display: block;
  color: #07091a;
  font-size: 18px;
  line-height: 23px;
  font-weight: 850;
}

.guest-invite__settings small {
  display: block;
  margin-bottom: 3px;
  color: #5727e9;
  font-size: 11px;
  line-height: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.guest-invite__settings p {
  margin: 6px 0 0;
  color: #46536d;
  font-size: 14px;
  line-height: 21px;
  font-weight: 560;
}

.guest-invite .guest-landing__welcome {
  margin-top: 20px;
  text-align: left;
}

.guest-invite__note {
  margin-top: 20px;
  padding: 20px 23px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background: linear-gradient(100deg, #f1eaff 0%, #faf7ff 100%);
  color: #07091a;
  text-align: left;
}

.guest-invite__note > span {
  width: 58px;
  height: 58px;
  border-radius: 12px;
}

.guest-invite__note .icon {
  width: 30px;
  height: 30px;
}

.guest-invite__note p {
  margin: 0;
  color: #07091a;
  font-size: 17px;
  line-height: 26px;
  font-weight: 520;
}

.guest-invite__note strong {
  font-weight: 850;
}

.guest-invite__ready-note {
  margin: 14px 0 0;
  color: #1f2a44;
  font-size: 15px;
  line-height: 21px;
  font-weight: 800;
  text-align: center;
}

.guest-invite__powered {
  margin: 14px 0 0;
  color: #4a5670;
  font-size: 17px;
  line-height: 24px;
  font-weight: 520;
}

.guest-invite__powered strong {
  color: #4f18d8;
  font-weight: 820;
}

.guest-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 22px;
  display: grid;
  place-items: center;
  background: rgba(7, 9, 26, .44);
  backdrop-filter: blur(10px);
}

.guest-confirm-dialog {
  width: min(100%, 448px);
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 14px;
  position: relative;
  background: #fff;
  box-shadow: 0 28px 72px rgba(7, 9, 26, .25);
}

.guest-confirm-close {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid #d9e1ee;
  border-radius: 8px;
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  color: #475569;
  background: #fff;
  cursor: pointer;
}

.guest-confirm-close .icon {
  width: 16px;
  min-width: 16px;
  height: 16px;
}

.guest-confirm-kicker {
  color: #5727e9;
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.guest-confirm-dialog h2 {
  margin: 6px 42px 18px 0;
  color: #07091a;
  font-size: 30px;
  line-height: 36px;
  font-weight: 880;
  letter-spacing: 0;
}

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

.guest-confirm-form label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  line-height: 18px;
  font-weight: 780;
}

.guest-confirm-form label span {
  color: #7b8498;
  font-weight: 650;
}

.guest-confirm-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid #d7deea;
  border-radius: 9px;
  background: #fff;
  color: #101828;
  font: inherit;
  font-size: 15px;
}

.guest-confirm-actions {
  margin-top: 6px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
}

@media (max-width: 900px) {
  .interview-app:has(.guest-invite) .topbar {
    height: 72px;
    padding: 0 22px;
  }

  .interview-app:has(.guest-invite) .page {
    padding: 6px 14px 24px;
  }

  .guest-invite {
    min-height: auto;
  }

  .guest-invite__card {
    padding: 28px 22px 22px;
    border-radius: 18px;
  }

  .guest-invite__badge {
    min-height: 34px;
    margin-bottom: 22px;
    font-size: 12px;
    line-height: 16px;
  }

  .guest-invite h1 {
    max-width: 520px;
    font-size: clamp(34px, 9.4vw, 52px);
    line-height: 1.06;
  }

  .guest-invite__lede {
    max-width: 420px;
    margin-top: 16px;
    font-size: 17px;
    line-height: 25px;
  }

  .guest-invite__form {
    margin-top: 25px;
    gap: 12px;
  }

  .guest-invite__start {
    height: 60px;
    font-size: 19px;
    line-height: 24px;
  }

  .guest-invite__start .icon {
    width: 24px;
    height: 24px;
  }

  .guest-invite__check,
  .guest-invite__powered {
    font-size: 14px;
    line-height: 20px;
  }

  .guest-invite__divider {
    margin-top: 24px;
  }

  .guest-invite__steps {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .guest-invite__step {
    min-height: 0;
    padding: 18px 6px;
  }

  .guest-invite__step + .guest-invite__step {
    border-left: 0;
    border-top: 1px solid #dde3ee;
  }

  .guest-invite__step > span {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }

  .guest-invite__step .icon {
    width: 28px;
    height: 28px;
  }

  .guest-invite__step h2 {
    margin-top: 13px;
    font-size: 18px;
    line-height: 23px;
  }

  .guest-invite__step p {
    max-width: 280px;
    margin-top: 5px;
    font-size: 14px;
    line-height: 21px;
  }

  .guest-invite__settings {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .guest-invite__settings article {
    min-height: 0;
    padding: 14px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
  }

  .guest-invite__settings article > span {
    width: 38px;
    height: 38px;
  }

  .guest-invite__settings strong {
    font-size: 14px;
    line-height: 20px;
  }

  .guest-invite__settings p {
    font-size: 13px;
    line-height: 19px;
  }

  .guest-invite .guest-landing__welcome {
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guest-invite__note {
    margin-top: 18px;
    padding: 16px;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
  }

  .guest-invite__note > span {
    width: 46px;
    height: 46px;
  }

  .guest-invite__note .icon {
    width: 24px;
    height: 24px;
  }

  .guest-invite__note p {
    font-size: 14px;
    line-height: 21px;
  }

  .guest-invite__ready-note {
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 760px) {
  .interview-app:has(.guest-invite) .topbar__help span {
    display: none;
  }
}

/* Final recording page reference layout */
.interview-app:has(.guest-page--question) {
  min-height: 100vh;
  background: #f8faff;
}

.interview-app:has(.guest-page--question) .topbar {
  display: none;
  position: relative;
  height: 92px;
  padding: 0 51px;
  border-bottom: 1px solid #dde4f0;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: none;
}

.interview-app:has(.guest-page--question) .brand-logo {
  width: 176px;
}

.interview-app:has(.guest-page--question) .topbar__help {
  color: #5727e9;
  font-size: 18px;
  line-height: 24px;
  font-weight: 780;
}

.interview-app:has(.guest-page--question) .topbar__help .icon {
  width: 24px;
  height: 24px;
}

.guest-app.guest-page--question {
  min-height: 100vh;
  display: block;
  background:
    radial-gradient(circle at 78% 8%, rgba(91, 34, 207, .045), transparent 28rem),
    #f8faff;
}

.guest-page--question .guest-main {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 35px 58px 56px;
}

.guest-page--question .guest-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
}

.guest-page--question .guest-header h1 {
  margin: 0;
  color: #07102d;
  font-size: 44px;
  line-height: 52px;
  font-weight: 850;
  letter-spacing: 0;
}

.guest-page--question .guest-header strong {
  margin-top: 14px;
  color: #58627c;
  font-size: 16px;
  line-height: 22px;
  font-weight: 780;
  white-space: nowrap;
}

.guest-page--question .guest-steps {
  margin-top: 22px;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}

.guest-page--question .guest-step {
  min-height: 72px;
  padding: 16px 25px;
  border: 1px solid #dbe2ed;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .035), 0 12px 26px rgba(38, 54, 86, .035);
}

.guest-page--question .guest-step.is-active {
  border-color: rgba(91, 34, 207, .42);
  box-shadow: 0 18px 34px rgba(91, 34, 207, .07);
}

.guest-page--question .guest-step__number {
  width: 38px;
  height: 38px;
  margin: 0;
  align-self: center;
  color: #5d667c;
  background: #eef1f7;
  font-size: 15px;
  line-height: 1;
  font-weight: 830;
}

.guest-page--question .guest-step.is-active .guest-step__number {
  color: #fff;
  background: linear-gradient(180deg, #6b29e8, #5620d6);
  box-shadow: 0 10px 24px rgba(91, 34, 207, .22);
}

.guest-page--question .guest-step strong {
  color: #5d667c;
  font-size: 16px;
  line-height: 22px;
  font-weight: 780;
}

.guest-page--question .guest-step.is-active strong {
  color: #5727e9;
}

.guest-page--question .guest-step p {
  display: none;
}

.guest-page--question .guest-work-grid {
  margin-top: 23px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 434px;
  gap: 20px;
  align-items: start;
}

.guest-page--question .guest-left-stack,
.guest-page--question .guest-right-stack {
  display: grid;
  gap: 18px;
}

.guest-page--question .guest-question-card,
.guest-page--question .guest-answer-card,
.guest-page--question .guest-next-card {
  padding: 25px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  display: block;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 34px rgba(38, 54, 86, .045);
}

.guest-page--question .guest-question-card h2,
.guest-page--question .guest-answer-card h2,
.guest-page--question .guest-next-card h2 {
  margin: 0;
  color: #07102d;
  font-size: 22px;
  line-height: 29px;
  font-weight: 850;
  letter-spacing: 0;
}

.guest-page--question .guest-question-card .video-card {
  width: 100%;
  height: auto;
  min-height: 0;
  margin-top: 17px;
  aspect-ratio: 2.9 / 1;
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 46%, rgba(79, 70, 229, .18), transparent 18rem),
    linear-gradient(135deg, #060b17, #10182a);
  box-shadow: none;
}

.guest-page--question .guest-question-card .audio-question-card {
  height: auto;
  min-height: clamp(270px, 40vh, 430px);
  aspect-ratio: 16 / 9;
  place-items: center;
}

.guest-page--question .guest-question-card .audio-question-visual {
  width: min(92%, 920px);
  height: 100%;
  min-height: 0;
  padding: 18px 24px 58px;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  transform: none;
}

.guest-page--question .guest-question-card .audio-question-visual.has-loaded-question-image {
  width: 100%;
  padding: 0;
}

.guest-page--question .guest-question-card .audio-question-visual.has-loaded-question-image .question-visual-image {
  object-fit: contain;
  object-position: center;
}

.guest-page--question .guest-question-card .audio-question-visual::before,
.guest-page--question .guest-question-card .audio-question-visual span {
  display: none;
}

.guest-page--question .guest-question-card .audio-question-visual strong {
  width: 100%;
  max-width: none;
  min-height: 0;
  max-height: 100%;
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: clamp(14px, 1.65vw, 22px);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.guest-page--question .guest-question-text {
  margin-top: 14px;
  padding: 14px 16px;
  border-color: #e3dffd;
  border-radius: 8px;
  background: #faf9ff;
}

.guest-page--question .guest-question-text span {
  color: #5727e9;
}

.guest-page--question .guest-question-text p {
  margin-top: 5px;
  color: #07102d;
  font-size: 16px;
  line-height: 24px;
  font-weight: 620;
}

.guest-page--question .guest-question-card .video-controls {
  left: 28px;
  right: 28px;
  bottom: 24px;
  grid-template-columns: 24px auto minmax(0, 1fr) auto 24px 24px auto;
  gap: 14px;
  font-size: 14px;
  line-height: 19px;
  font-weight: 680;
}

.guest-page--question .guest-question-card .video-controls__button {
  width: 24px;
  height: 24px;
  background: transparent;
}

.guest-page--question .guest-question-card .video-controls__track {
  height: 6px;
  background: rgba(255, 255, 255, .35);
}

.guest-page--question .guest-question-card .video-controls__fill {
  background: #7d54e7;
}

.guest-page--question .guest-question-card .video-controls__chip {
  min-width: 0;
  height: auto;
  padding: 0;
  color: #fff;
  background: transparent;
  font-size: 14px;
  line-height: 19px;
}

.guest-page--question .guest-question-card .video-controls__chip:nth-last-child(2) {
  display: none;
}

.guest-page--question .guest-answer-card {
  padding-top: 22px;
}

.guest-page--question .answer-cue {
  margin: 5px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: grid !important;
  gap: 2px;
  background: transparent;
}

.guest-page--question .answer-cue span,
.guest-page--question .answer-cue strong {
  color: #5727e9;
}

.guest-page--question .answer-cue[data-stage="before"] span,
.guest-page--question .answer-cue[data-stage="before"] strong {
  display: none;
}

.guest-page--question .answer-cue strong {
  font-size: 15px;
  line-height: 20px;
  font-weight: 800;
}

.guest-page--question .answer-cue p {
  margin: 0;
  color: #4d5876;
  font-size: 16px;
  line-height: 23px;
  font-weight: 520;
}

.guest-page--question .guest-answer-frame {
  width: min(100%, 920px, 130vh);
  height: auto;
  min-height: 0;
  margin: 13px auto 0;
  aspect-ratio: 16 / 9;
  border: 1px solid #e3dffd;
  border-radius: 8px;
  background: #0b1020;
}

.guest-page--question .guest-answer-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: #5727e9;
  text-align: center;
}

.guest-page--question .guest-answer-empty .icon {
  width: 74px;
  height: 74px;
  padding: 22px;
  border-radius: 50%;
  color: #5727e9;
  background: #fff;
  stroke-width: 2.1;
  box-shadow: 0 16px 34px rgba(91, 34, 207, .08);
}

.guest-page--question .guest-answer-empty strong {
  color: #5727e9;
  font-size: 14px;
  line-height: 20px;
  font-weight: 760;
}

.guest-page--question .guest-answer-empty span,
.guest-page--question .answer-pills {
  display: none !important;
}

.guest-page--question .guest-answer-frame #camera {
  object-fit: contain;
  background: #0b1020;
}

.guest-page--question .answer-complete-row {
  width: min(100%, 920px, 130vh);
  margin: 14px auto 0;
}

.guest-page--question .answer-recording-actions {
  display: flex;
  gap: 10px;
}

.guest-page--question .answer-recording-actions .button {
  width: auto;
  min-height: 52px;
  min-width: 0;
  flex: 1 1 0;
}

.guest-page--question .guest-pause-button .icon {
  width: 18px;
  height: 18px;
}

.is-answer-paused .camera-guidance-overlay {
  display: none !important;
}

.is-answer-paused .rec-badge {
  background: rgba(17, 19, 34, .92);
}

.is-answer-paused .rec-badge::before {
  animation: none;
}

.answer-pill.is-paused {
  border-color: #d0d5dd;
  color: #475467;
  background: #f2f4f7;
}

.state-countdown .guest-page--question .preview-countdown-layer {
  display: grid;
  background: rgba(11, 16, 32, .24);
}

.guest-page--question .guest-next-card {
  min-height: 626px;
  padding: 28px;
}

.guest-page--question .guest-next-card--compact {
  min-height: 0;
}

.state-before-play .guest-page--question.guest-page--later-question .guest-main {
  min-height: 100vh;
  display: grid;
  align-content: start;
  padding-top: clamp(96px, 20vh, 190px);
  padding-bottom: clamp(24px, 9vh, 92px);
}

.state-before-play .guest-page--question.guest-page--later-question .guest-header,
.state-before-play .guest-page--question.guest-page--later-question .guest-steps,
.state-before-play .guest-page--question.guest-page--later-question .guest-left-stack {
  display: none !important;
}

.state-before-play .guest-page--question.guest-page--later-question .guest-work-grid {
  width: min(100%, 560px);
  margin: 0 auto;
  display: block !important;
  grid-template-columns: none !important;
  gap: 0;
}

.state-before-play .guest-page--question.guest-page--later-question .guest-right-stack {
  width: 100%;
  display: block;
}

.state-before-play .guest-page--question.guest-page--later-question .guest-next-card--compact {
  padding: 32px;
}

.state-before-play .guest-page--question.guest-page--later-question #state:not(.is-visible),
.state-before-play .guest-page--question.guest-page--later-question .background-upload-status {
  display: none !important;
}

.guest-page--question .next-list {
  margin-top: 29px;
  display: grid !important;
  gap: 28px;
}

.guest-page--question .next-list li {
  display: grid;
  grid-template-columns: 61px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.guest-page--question .next-list > li > span {
  width: 61px;
  height: 61px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #5727e9;
  background: linear-gradient(135deg, #f4f0ff, #eeeaff);
}

.guest-page--question .next-list .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.25;
}

.guest-page--question .next-list strong {
  display: block;
  color: #07102d;
  font-size: 20px;
  line-height: 26px;
  font-weight: 850;
}

.guest-page--question .next-list p {
  margin: 4px 0 0;
  color: #43506d;
  font-size: 15px;
  line-height: 21px;
  font-weight: 520;
}

.guest-page--question .next-divider {
  height: 1px;
  margin: 30px 0 24px;
  display: block !important;
  background: #dfe5ee;
}

.guest-page--question .question-start-explainer {
  display: block !important;
  max-width: none;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #43506d;
  font-size: 14px;
  line-height: 21px;
  font-weight: 620;
  text-align: center;
}

.state-question-playing .guest-page--question .question-start-explainer,
.state-countdown .guest-page--question .question-start-explainer,
.state-recording .guest-page--question .question-start-explainer,
.state-uploading .guest-page--question .question-start-explainer,
.state-upload-failed .guest-page--question .question-start-explainer,
.state-question-complete .guest-page--question .question-start-explainer,
.state-complete .guest-page--question .question-start-explainer {
  display: none !important;
}

.guest-page--question .guest-next-card .countdown-card {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: none;
  background: transparent;
  box-shadow: none;
}

.state-countdown .guest-page--question .guest-next-card .countdown-card {
  margin-bottom: 16px;
  display: flex !important;
}

.state-countdown .guest-page--question .guest-main,
.state-recording .guest-page--question .guest-main {
  padding-bottom: max(56px, 42vh);
}

.guest-page--question .guest-play-button,
.guest-page--question .guest-stop-button {
  position: static !important;
  width: 100% !important;
  height: 62px;
  margin: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #6b29e8, #5620d6);
  box-shadow: 0 18px 34px rgba(91, 34, 207, .26);
  font-size: 20px;
  line-height: 26px;
  font-weight: 850;
}

.guest-page--question .guest-stop-button {
  background: #e11d48;
}

.guest-page--question #state {
  position: static;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4d5876;
  font-size: 14px;
  line-height: 20px;
  font-weight: 620;
  text-align: center;
}

.state-recording .guest-page--question #state {
  display: block;
}

.recording-single-take-note {
  margin-top: 28px;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #43506d;
  text-align: center;
}

.recording-single-take-note .icon {
  width: 24px;
  height: 24px;
  color: #5727e9;
  stroke-width: 2.35;
}

.recording-single-take-note strong {
  color: #5727e9;
  font-size: 17px;
  line-height: 23px;
  font-weight: 850;
}

.recording-single-take-note p {
  max-width: 340px;
  margin: 0;
  color: #43506d;
  font-size: 15px;
  line-height: 22px;
  font-weight: 530;
}

@media (max-width: 1100px) {
  .guest-page--question .guest-main {
    padding: 28px 28px 46px;
  }

  .guest-page--question .guest-work-grid {
    grid-template-columns: 1fr;
  }

  .guest-page--question .guest-next-card {
    min-height: 0;
  }
}

@media (min-width: 981px) {
  .guest-page--question .guest-steps {
    display: none !important;
  }

  .guest-page--question .guest-work-grid {
    margin-top: 16px;
  }

  .state-question-playing .guest-page--question .guest-main,
  .state-countdown .guest-page--question .guest-main,
  .state-recording .guest-page--question .guest-main {
    min-height: 100vh;
    display: grid;
    align-content: center;
    padding: clamp(24px, 4vh, 44px) 58px;
  }

  .state-question-playing .guest-page--question .guest-header,
  .state-question-playing .guest-page--question .guest-steps,
  .state-question-playing .guest-page--question .guest-right-stack,
  .state-question-playing .guest-page--question .guest-answer-card,
  .state-countdown .guest-page--question .guest-header,
  .state-countdown .guest-page--question .guest-steps,
  .state-countdown .guest-page--question .guest-right-stack,
  .state-countdown .guest-page--question .guest-question-card,
  .state-recording .guest-page--question .guest-header,
  .state-recording .guest-page--question .guest-steps,
  .state-recording .guest-page--question .guest-right-stack,
  .state-recording .guest-page--question .guest-question-card {
    display: none !important;
  }

  .state-question-playing .guest-page--question .guest-work-grid,
  .state-countdown .guest-page--question .guest-work-grid,
  .state-recording .guest-page--question .guest-work-grid {
    width: min(100%, 820px);
    margin: 0 auto;
    display: block !important;
    grid-template-columns: none !important;
  }

  .state-question-playing .guest-page--question .guest-left-stack,
  .state-countdown .guest-page--question .guest-left-stack,
  .state-recording .guest-page--question .guest-left-stack {
    display: block;
  }

  .state-question-playing .guest-page--question .guest-question-card {
    width: min(100%, 820px);
    margin: 0 auto;
    padding: 18px;
  }

  .state-question-playing .guest-page--question .guest-question-card h2 {
    display: none;
  }

  .state-question-playing .guest-page--question .guest-question-card .video-card {
    width: min(100%, 720px, calc((100vh - 238px) * 16 / 9));
    margin: 0 auto;
    aspect-ratio: 16 / 9;
  }

  .state-question-playing .guest-page--question .guest-question-card .audio-question-card {
    min-height: 0;
  }

  .state-question-playing .guest-page--question .guest-question-text {
    width: min(100%, 760px);
    max-height: min(28vh, 190px);
    margin: 16px auto 0;
    padding: 18px 20px;
    overflow: hidden;
  }

  .state-question-playing .guest-page--question .guest-question-text p {
    margin-top: 7px;
    font-size: 20px;
    line-height: 29px;
    font-weight: 720;
  }

  .state-countdown .guest-page--question .guest-answer-card,
  .state-recording .guest-page--question .guest-answer-card {
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .state-countdown .guest-page--question .guest-answer-card h2,
  .state-countdown .guest-page--question .answer-cue,
  .state-recording .guest-page--question .guest-answer-card h2,
  .state-recording .guest-page--question .answer-cue {
    display: none !important;
  }

  .state-countdown .guest-page--question .guest-answer-frame,
  .state-recording .guest-page--question .guest-answer-frame {
    width: min(100%, 920px, calc((100vh - 136px) * 16 / 9));
    margin: 0 auto;
  }

  .state-countdown .guest-page--question .answer-complete-row,
  .state-recording .guest-page--question .answer-complete-row {
    width: min(100%, 920px, calc((100vh - 136px) * 16 / 9));
  }

  .state-countdown .guest-page--question #orientationGate,
  .state-recording .guest-page--question #orientationGate {
    width: min(100%, 920px, calc((100vh - 136px) * 16 / 9));
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px), (max-width: 980px) and (max-height: 520px) {
  .interview-app:has(.guest-page--question) .topbar {
    height: 68px;
    padding: 0 18px;
  }

  .interview-app:has(.guest-page--question) .brand-logo {
    width: 142px;
  }

  .interview-app:has(.guest-page--question) .topbar__help span {
    display: none;
  }

  .guest-page--question .guest-main,
  .state-before-play .guest-page--question .guest-main {
    width: 100%;
    padding: 22px 14px calc(34px + env(safe-area-inset-bottom));
  }

  .guest-page--question .guest-header {
    display: grid;
    gap: 8px;
  }

  .guest-page--question .guest-header h1 {
    display: block;
    font-size: 29px;
    line-height: 36px;
  }

  .guest-page--question .guest-header strong {
    width: max-content;
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf3ff;
    color: #5727e9;
    font-size: 13px;
    line-height: 18px;
  }

  .guest-page--question .guest-steps {
    display: none !important;
  }

  .guest-page--question .guest-work-grid {
    margin-top: 14px;
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  .guest-page--question .guest-left-stack,
  .guest-page--question .guest-right-stack {
    display: contents;
  }

  .guest-page--question .guest-next-card {
    order: 1;
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  .guest-page--question .guest-question-card {
    order: 2;
  }

  .guest-page--question .guest-answer-card {
    order: 3;
  }

  .guest-page--question .guest-question-card,
  .guest-page--question .guest-answer-card,
  .guest-page--question .guest-next-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 15px;
    border-radius: 10px;
  }

  .guest-page--question .guest-question-card {
    display: block !important;
  }

  .guest-page--question .guest-question-card h2,
  .guest-page--question .guest-answer-card h2,
  .guest-page--question .guest-next-card h2 {
    display: block;
    font-size: 19px;
    line-height: 25px;
  }

  .guest-page--question .guest-question-card .video-card {
    height: auto;
    min-height: 190px;
    aspect-ratio: 16 / 9;
  }

  .guest-page--question .guest-question-card .audio-question-card {
    min-height: clamp(250px, 48vh, 420px);
  }

  .guest-page--question .guest-question-card .audio-question-visual {
    width: min(92%, 520px);
    height: 100%;
    min-height: 0;
    padding: 12px 12px 42px;
    align-content: center;
  }

  .guest-page--question .guest-question-card .audio-question-visual.has-loaded-question-image {
    width: 100%;
    padding: 0;
  }

  .guest-page--question .guest-question-card .audio-question-visual strong {
    font-size: clamp(9px, 2.75vw, 15px);
    line-height: 1.08;
  }

  .guest-page--question .guest-question-text {
    margin-top: 10px;
    padding: 12px;
  }

  .guest-page--question .guest-question-text p {
    font-size: 15px;
    line-height: 21px;
  }

  .guest-page--question .guest-question-card .video-controls {
    left: 16px;
    right: 16px;
    bottom: 14px;
    grid-template-columns: 44px auto minmax(0, 1fr) 44px;
    gap: 9px;
    font-size: 12px;
    line-height: 16px;
  }

  .guest-page--question .guest-question-card .video-controls__button {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .guest-page--question .guest-question-card .video-controls__chip,
  .guest-page--question .guest-question-card .video-controls > span:nth-child(5),
  .guest-page--question .guest-question-card .video-controls > span:nth-child(6),
  .guest-page--question .guest-question-card .video-controls > span:nth-child(7) {
    display: none;
  }

  .guest-page--question .answer-cue {
    display: grid !important;
  }

  .guest-page--question .guest-answer-frame {
    min-height: 205px;
    aspect-ratio: 16 / 9;
  }

  .guest-page--question .preview-question-layer {
    display: grid;
    opacity: 0;
    pointer-events: none;
  }

  .state-question-playing .guest-page--question .preview-question-layer,
  .state-countdown .guest-page--question .preview-countdown-layer {
    display: grid;
  }

  .state-question-playing .guest-page--question .preview-question-layer {
    opacity: 1;
  }

  .guest-page--question .guest-next-card h2,
  .guest-page--question .next-list,
  .guest-page--question .next-divider {
    display: revert !important;
  }

  .guest-page--question .background-upload-status:empty {
    display: none !important;
  }

  .guest-page--question .guest-next-card h2 {
    order: 1;
  }

  .guest-page--question .next-list {
    order: 2;
    display: grid !important;
    gap: 18px;
  }

  .guest-page--question .recording-single-take-note {
    order: 3;
    margin-top: 4px;
  }

  .guest-page--question .next-divider {
    order: 4;
    margin: 8px 0 2px;
  }

  .guest-page--question .question-start-explainer {
    order: 5;
  }

  .guest-page--question .guest-next-card .countdown-card {
    order: 6;
  }

  .guest-page--question #state {
    order: 7;
  }

  .state-before-play .guest-page--question #state {
    display: none;
  }

  .guest-page--question .guest-play-button {
    order: 8;
  }

  .guest-page--question .prestart-skip-row {
    order: 9;
  }

  .state-before-play .guest-page--question .prestart-skip-row {
    display: none;
  }

  .guest-page--question #answerReviewPanel {
    order: 10;
  }

  .guest-page--question .background-upload-status {
    order: 11;
  }

  .guest-page--question .next-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  .guest-page--question .next-list > li > span {
    width: 48px;
    height: 48px;
    border-radius: 11px;
  }

  .guest-page--question .next-list .icon {
    width: 23px;
    height: 23px;
  }

  .guest-page--question .next-list strong {
    font-size: 17px;
    line-height: 23px;
  }

  .guest-page--question .next-title-index {
    display: none;
  }

  .guest-page--question .next-list p {
    font-size: 14px;
    line-height: 20px;
  }

  .guest-page--question .question-start-explainer {
    display: block !important;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 19px;
  }

  .state-question-playing .guest-page--question .question-start-explainer,
  .state-countdown .guest-page--question .question-start-explainer,
  .state-recording .guest-page--question .question-start-explainer,
  .state-uploading .guest-page--question .question-start-explainer,
  .state-upload-failed .guest-page--question .question-start-explainer,
  .state-question-complete .guest-page--question .question-start-explainer,
  .state-complete .guest-page--question .question-start-explainer {
    display: none !important;
  }

  .guest-page--question .guest-play-button,
  .guest-page--question .guest-pause-button,
  .guest-page--question .guest-stop-button {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 56px;
    margin: 0;
    border-radius: 10px;
    font-size: 17px;
    line-height: 22px;
  }

  .guest-page--question #state {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 18px;
  }

  .guest-page--question .camera-guidance-overlay {
    display: block;
  }

  .recording-single-take-note {
    margin-top: 22px;
  }

  .state-before-play .guest-page--question .guest-question-card,
  .state-before-play .guest-page--question .guest-answer-card {
    display: none !important;
  }

  .state-question-playing .guest-page--question .guest-next-card,
  .state-question-playing .guest-page--question .guest-answer-card {
    display: none !important;
  }

  .state-question-playing .guest-page--question .guest-question-card {
    order: 1;
    display: block !important;
  }

  .state-countdown .guest-page--question .guest-next-card,
  .state-countdown .guest-page--question .guest-question-card,
  .state-recording .guest-page--question .guest-next-card,
  .state-recording .guest-page--question .guest-question-card {
    display: none !important;
  }

  .state-countdown .guest-page--question .guest-answer-card,
  .state-recording .guest-page--question .guest-answer-card {
    order: 1;
    display: block !important;
  }

  .state-countdown .guest-page--question .guest-answer-card h2,
  .state-countdown .guest-page--question .answer-cue,
  .state-recording .guest-page--question .guest-answer-card h2,
  .state-recording .guest-page--question .answer-cue {
    display: none !important;
  }

  .state-countdown .guest-page--question .guest-answer-frame,
  .state-recording .guest-page--question .guest-answer-frame {
    margin-top: 0;
  }
}

/* Guest-side sharpening pass */
:root {
  --guest-sharp-bg: #f8f9fc;
  --guest-sharp-surface: #ffffff;
  --guest-sharp-surface-subtle: #f4f5f8;
  --guest-sharp-text: #111322;
  --guest-sharp-muted: #667085;
  --guest-sharp-border: #e4e7ec;
  --guest-sharp-brand: #6d28d9;
  --guest-sharp-brand-hover: #5b21b6;
  --guest-sharp-success: #16a34a;
  --guest-sharp-danger: #dc2626;
}

.interview-app:has(.guest-invite),
.guest-app {
  --primary: var(--guest-sharp-brand);
  --primary-hover: var(--guest-sharp-brand-hover);
  --primary-soft: #f4f0ff;
  --success: var(--guest-sharp-success);
  --success-soft: #ecfdf3;
  background: var(--guest-sharp-bg);
  color: var(--guest-sharp-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body:has(.guest-invite),
body:has(.guest-app) {
  background: var(--guest-sharp-bg);
}

.interview-app:has(.guest-invite) {
  background: var(--guest-sharp-bg);
}

.interview-app:has(.guest-invite) .topbar {
  height: 76px;
  padding: 0 clamp(20px, 4vw, 48px);
}

.interview-app:has(.guest-invite) .brand::before {
  width: 29px;
  height: 35px;
}

.interview-app:has(.guest-invite) .brand::after {
  color: var(--guest-sharp-text);
  font-size: 27px;
  line-height: 34px;
  font-weight: 850;
}

.interview-app:has(.guest-invite) .topbar__help {
  color: var(--guest-sharp-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 650;
}

.interview-app:has(.guest-invite) .page {
  padding: 8px clamp(16px, 4vw, 52px) 28px;
}

.guest-invite {
  min-height: calc(100vh - 112px);
}

.guest-invite__card {
  width: min(100%, 900px);
  padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 42px) 28px;
  border: 1px solid var(--guest-sharp-border);
  border-radius: 10px;
  background: var(--guest-sharp-surface);
  box-shadow: 0 1px 2px rgba(17, 19, 34, 0.05);
}

.guest-invite__badge {
  min-height: 32px;
  margin-bottom: 24px;
  padding: 0 10px;
  border: 1px solid #eadcff;
  border-radius: 6px;
  background: #faf7ff;
  color: var(--guest-sharp-brand);
  font-size: 12px;
  line-height: 16px;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.guest-invite__badge .icon {
  width: 15px;
  height: 15px;
}

.guest-invite h1 {
  max-width: 810px;
  color: var(--guest-sharp-text);
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1.03;
  font-weight: 880;
  letter-spacing: 0;
}

.guest-invite__lede {
  max-width: 560px;
  margin-top: 18px;
  color: #475467;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.45;
  font-weight: 520;
}

.guest-invite__form {
  width: min(100%, 404px);
  margin-top: 26px;
  gap: 12px;
}

.guest-invite__start,
.guest-app .button--primary,
.guest-confirm-dialog .button--primary {
  border: 1px solid var(--guest-sharp-brand);
  border-radius: 6px;
  background: var(--guest-sharp-brand);
  box-shadow: none;
  color: #fff;
}

.guest-invite__start:hover,
.guest-app .button--primary:hover:not(:disabled):not(.is-disabled),
.guest-confirm-dialog .button--primary:hover:not(:disabled):not(.is-disabled) {
  border-color: var(--guest-sharp-brand-hover);
  background: var(--guest-sharp-brand-hover);
  box-shadow: none;
}

.guest-invite__start {
  height: 62px;
  gap: 12px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 820;
}

.guest-invite__start .icon {
  width: 24px;
  height: 24px;
}

.guest-invite__check {
  color: var(--guest-sharp-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 560;
}

.guest-invite__settings {
  width: min(100%, 710px);
  margin-top: 24px;
  gap: 12px;
}

.guest-invite__settings article {
  min-height: 104px;
  padding: 16px;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  border-color: var(--guest-sharp-border);
  border-radius: 8px;
  background: var(--guest-sharp-surface);
  box-shadow: none;
}

.guest-invite__settings article > span {
  width: 40px;
  height: 40px;
  border: 1px solid #eadcff;
  border-radius: 6px;
  color: var(--guest-sharp-brand);
  background: #faf7ff;
}

.guest-invite__settings .icon {
  width: 20px;
  height: 20px;
}

.guest-invite__settings small {
  color: var(--guest-sharp-brand);
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.04em;
}

.guest-invite__settings strong {
  color: var(--guest-sharp-text);
  font-size: 16px;
  line-height: 21px;
  font-weight: 850;
}

.guest-invite__settings p {
  color: var(--guest-sharp-muted);
  font-size: 13px;
  line-height: 19px;
}

.guest-invite .guest-landing__welcome,
.guest-invite__note {
  border: 1px solid var(--guest-sharp-border);
  border-radius: 8px;
  background: var(--guest-sharp-surface);
  box-shadow: none;
}

.guest-invite__note {
  padding: 16px;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
}

.guest-invite__note > span {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  color: var(--guest-sharp-brand);
  background: #faf7ff;
}

.guest-invite__note .icon {
  width: 21px;
  height: 21px;
}

.guest-invite__note p {
  color: var(--guest-sharp-text);
  font-size: 14px;
  line-height: 21px;
}

.guest-invite__powered {
  color: var(--guest-sharp-muted);
  font-size: 14px;
  line-height: 20px;
}

.guest-invite__powered strong {
  color: var(--guest-sharp-brand);
}

.guest-confirm-overlay {
  background: rgba(17, 19, 34, 0.5);
  backdrop-filter: none;
}

.guest-confirm-dialog {
  padding: 22px;
  border-color: var(--guest-sharp-border);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 19, 34, 0.22);
}

.guest-confirm-close {
  width: 32px;
  height: 32px;
  min-height: 32px;
  border-color: var(--guest-sharp-border);
  border-radius: 6px;
  color: var(--guest-sharp-muted);
}

.guest-confirm-kicker {
  color: var(--guest-sharp-brand);
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.04em;
}

.guest-confirm-dialog h2 {
  margin-bottom: 16px;
  color: var(--guest-sharp-text);
  font-size: 27px;
  line-height: 33px;
  letter-spacing: 0;
}

.guest-confirm-form label {
  color: #344054;
  font-size: 12px;
  line-height: 17px;
  font-weight: 750;
}

.guest-confirm-form input,
.post-interview-field textarea,
.post-interview-field input {
  border-color: #d0d5dd;
  border-radius: 6px;
  color: var(--guest-sharp-text);
  background: #fff;
  box-shadow: none;
}

.guest-confirm-form input:focus,
.post-interview-field textarea:focus,
.post-interview-field input:focus {
  border-color: var(--guest-sharp-brand);
  outline: 2px solid rgba(109, 40, 217, 0.14);
  outline-offset: 0;
}

.guest-confirm-actions {
  margin-top: 8px;
}

.guest-app {
  grid-template-columns: 220px minmax(0, 1fr);
}

.guest-sidebar {
  border-right: 1px solid var(--guest-sharp-border);
  background: var(--guest-sharp-surface);
  padding: 22px 18px 20px;
}

.guest-brand__logo {
  width: 132px;
}

.guest-account {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding-top: 18px;
  border-top-color: var(--guest-sharp-border);
}

.guest-avatar {
  width: 36px;
  height: 36px;
  border: 1px solid #eadcff;
  border-radius: 8px;
  background: #faf7ff;
  color: var(--guest-sharp-brand);
  font-size: 12px;
  font-weight: 850;
}

.guest-account strong {
  color: var(--guest-sharp-text);
  font-size: 13px;
  line-height: 18px;
}

.guest-account div span {
  color: var(--guest-sharp-muted);
  font-size: 12px;
  line-height: 16px;
}

.guest-main {
  padding: 32px clamp(24px, 4vw, 48px) 36px;
}

.guest-app:not(.guest-page--question) .guest-main {
  width: min(1220px, 100%);
}

.guest-header h1,
.guest-page--question .guest-header h1 {
  color: var(--guest-sharp-text);
  letter-spacing: 0;
}

.guest-header h1 {
  font-size: clamp(32px, 3vw, 40px);
  line-height: 1.15;
  font-weight: 850;
}

.guest-kicker {
  margin-bottom: 5px;
  color: var(--guest-sharp-brand);
  font-size: 11px;
  line-height: 15px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.guest-header strong {
  margin-top: 6px;
  padding: 5px 8px;
  border: 1px solid var(--guest-sharp-border);
  border-radius: 4px;
  background: #fff;
  color: var(--guest-sharp-muted);
  font-size: 12px;
  line-height: 17px;
  font-weight: 750;
}

.guest-card,
.guest-question-card,
.guest-answer-card,
.guest-next-card,
.guest-guidelines-card,
.guest-intro-card,
.guest-checkin-card,
.guest-tech-card,
.upload-panel,
.complete-panel {
  border: 1px solid var(--guest-sharp-border);
  border-radius: 8px;
  background: var(--guest-sharp-surface);
  box-shadow: none;
}

.guest-onboarding-grid,
.guest-work-grid,
.guest-work-grid--tech {
  margin-top: 20px;
  gap: 18px;
}

.guest-work-grid--tech {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
}

.guest-tech-card {
  padding: 22px;
}

.guest-app:not(.guest-page--question) .guest-next-card {
  min-height: 0;
}

.guest-status-panel {
  margin-top: 32px;
}

.guest-card-heading {
  gap: 12px;
  margin-bottom: 16px;
}

.guest-card-heading > .icon {
  width: 22px;
  height: 22px;
  color: var(--guest-sharp-brand);
}

.guest-question-card h2,
.guest-answer-card h2,
.guest-next-card h2,
.guest-guidelines-card h2,
.guest-checkin-card h2,
.guest-intro-card h2,
.guest-tech-card h2,
.upload-panel h2,
.complete-panel h2 {
  color: var(--guest-sharp-text);
  font-size: 19px;
  line-height: 25px;
  font-weight: 850;
  letter-spacing: 0;
}

.guest-intro-card p,
.guest-checkin-card p,
.guest-tech-card p,
.upload-panel p,
.complete-panel p {
  color: var(--guest-sharp-muted);
  font-size: 14px;
  line-height: 21px;
}

.guest-camera-frame,
.guest-question-card .video-card,
.guest-answer-frame {
  border-radius: 6px;
}

.guest-camera-frame {
  border: 1px solid #111322;
}

.sound-check-panel {
  gap: 10px;
}

.guest-signal-list {
  gap: 12px;
  margin: 16px 0 18px;
}

.guest-signal-list span {
  color: var(--guest-sharp-muted);
  font-size: 11px;
  line-height: 15px;
  font-weight: 800;
}

.guest-signal-list strong {
  color: var(--guest-sharp-text);
  font-size: 13px;
  line-height: 19px;
  font-weight: 620;
}

.mic-meter {
  background: var(--guest-sharp-surface-subtle);
}

.mic-meter span {
  background: var(--guest-sharp-brand);
}

.guest-app .button,
.guest-confirm-dialog .button,
.post-interview-form .button,
.complete-panel > a.button {
  border-radius: 6px;
  box-shadow: none;
}

.guest-app .button--secondary,
.guest-confirm-dialog .button--secondary,
.post-interview-note-button {
  border: 1px solid var(--guest-sharp-border);
  background: #fff;
  color: var(--guest-sharp-text);
}

.guest-app .button--secondary:hover:not(:disabled):not(.is-disabled),
.guest-confirm-dialog .button--secondary:hover:not(:disabled):not(.is-disabled),
.post-interview-note-button:hover:not(:disabled):not(.is-disabled) {
  border-color: #cfd4dc;
  background: var(--guest-sharp-surface-subtle);
  box-shadow: none;
}

.guest-app .button:disabled,
.guest-app .button.is-disabled,
.guest-confirm-dialog .button:disabled,
.guest-confirm-dialog .button.is-disabled {
  border-color: var(--guest-sharp-border);
  background: #eef0f4;
  color: #98a2b3;
  opacity: 1;
}

.helper-text,
.background-upload-status {
  color: var(--guest-sharp-muted);
}

.guest-page--question .guest-main {
  width: min(1320px, 100%);
  padding: 28px clamp(24px, 4vw, 44px) 34px;
}

.guest-page--question .guest-header h1 {
  font-size: clamp(30px, 2.6vw, 36px);
  line-height: 1.16;
  font-weight: 850;
}

.guest-page--question .guest-work-grid {
  margin-top: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 16px;
}

.guest-page--question .guest-left-stack,
.guest-page--question .guest-right-stack {
  gap: 12px;
}

.guest-page--question .guest-question-card,
.guest-page--question .guest-answer-card,
.guest-page--question .guest-next-card {
  padding: 16px;
}

.guest-page--question .guest-steps {
  gap: 10px;
}

.guest-page--question .guest-step {
  min-height: 62px;
  padding: 10px 12px;
  border-color: var(--guest-sharp-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.guest-page--question .guest-step.is-active {
  border-color: #d7bdfd;
  box-shadow: none;
}

.guest-page--question .guest-step__number {
  width: 30px;
  height: 30px;
  color: var(--guest-sharp-muted);
  background: var(--guest-sharp-surface-subtle);
}

.guest-page--question .guest-step.is-active .guest-step__number {
  background: var(--guest-sharp-brand);
  box-shadow: none;
}

.guest-page--question .guest-step strong,
.guest-page--question .guest-step.is-active strong {
  color: var(--guest-sharp-text);
  font-size: 14px;
  line-height: 19px;
}

.guest-page--question .guest-question-card .video-card {
  border: 1px solid #111322;
  background: #111322;
}

.guest-page--question .guest-question-card .audio-question-card {
  background: #111322;
}

.guest-page--question .guest-question-card .audio-question-visual strong,
.preview-question-text-card strong {
  letter-spacing: 0;
}

.guest-page--question .guest-question-card .play-overlay {
  color: var(--guest-sharp-brand);
  box-shadow: none;
}

.guest-page--question .guest-question-text,
.guest-page--question .answer-cue,
.background-upload-status,
.answer-review-panel {
  border-color: var(--guest-sharp-border);
  border-radius: 6px;
  background: var(--guest-sharp-surface-subtle);
  box-shadow: none;
}

.guest-page--question .guest-question-text span,
.guest-page--question .answer-cue span,
.guest-page--question .answer-cue strong,
.background-upload-status .icon {
  color: var(--guest-sharp-brand);
}

.guest-page--question .guest-question-text p,
.guest-page--question .answer-cue p,
.answer-review-panel p {
  color: var(--guest-sharp-muted);
}

.guest-page--question .guest-question-text p {
  color: var(--guest-sharp-text);
  font-weight: 640;
}

.guest-page--question .guest-answer-frame {
  border-color: var(--guest-sharp-border);
  background: #111322;
}

.guest-page--question .guest-answer-empty .icon {
  color: var(--guest-sharp-brand);
  background: #fff;
  box-shadow: none;
}

.guest-page--question .guest-answer-empty strong {
  color: var(--guest-sharp-text);
}

.guest-page--question .question-start-explainer {
  color: var(--guest-sharp-muted);
  font-weight: 620;
}

.guest-page--question .next-list {
  gap: 18px;
}

.guest-page--question .next-list > li > span {
  border: 1px solid #eadcff;
  border-radius: 6px;
  color: var(--guest-sharp-brand);
  background: #faf7ff;
}

.guest-page--question .next-list strong {
  color: var(--guest-sharp-text);
}

.guest-page--question .next-list p {
  color: var(--guest-sharp-muted);
}

.guest-page--question .next-divider {
  background: var(--guest-sharp-border);
}

.guest-page--question .guest-play-button,
.guest-page--question .guest-stop-button {
  height: 56px;
  border-radius: 6px;
  background: var(--guest-sharp-brand);
  box-shadow: none;
  font-size: 17px;
  line-height: 22px;
}

.guest-page--question .guest-play-button:hover:not(:disabled):not(.is-disabled),
.guest-page--question .guest-stop-button:hover:not(:disabled):not(.is-disabled) {
  background: var(--guest-sharp-brand-hover);
}

.guest-page--question .guest-skip-button {
  min-height: 44px;
  border-radius: 6px;
}

.guest-page--question .prestart-skip-row {
  margin-top: 10px;
}

.guest-page--question .guest-prestart-skip-button {
  min-height: 44px;
  border-radius: 6px;
}

.state-question-playing .guest-page--question .prestart-skip-row,
.state-countdown .guest-page--question .prestart-skip-row,
.state-recording .guest-page--question .prestart-skip-row,
.state-uploading .guest-page--question .prestart-skip-row,
.state-upload-failed .guest-page--question .prestart-skip-row,
.state-question-complete .guest-page--question .prestart-skip-row,
.state-complete .guest-page--question .prestart-skip-row {
  display: none;
}

.state-before-play .guest-page--question.guest-page--later-question .guest-main {
  padding-top: clamp(72px, 14vh, 132px);
}

.guest-page--question .guest-question-card .video-controls__fill,
.preview-countdown-layer span {
  background: var(--guest-sharp-brand);
}

.preview-countdown-layer span {
  box-shadow: none;
}

.camera-guidance-overlay span {
  border-radius: 6px;
  box-shadow: none;
}

.state-recording .camera-guidance-overlay span {
  background: rgba(17, 19, 34, 0.86);
}

.answer-pill {
  border-color: #bbf7d0;
  border-radius: 4px;
  color: var(--guest-sharp-success);
  background: #f0fdf4;
}

.answer-pill.is-recording {
  border-color: #fecaca;
  color: var(--guest-sharp-danger);
  background: #fef2f2;
}

.answer-review-panel {
  padding: 14px;
}

.answer-review-panel strong {
  color: var(--guest-sharp-text);
}

.complete-panel {
  max-width: 660px;
  padding: 34px 24px;
  gap: 12px;
}

.complete-mark {
  width: 56px;
  height: 56px;
  border-color: #bbf7d0;
  color: var(--guest-sharp-success);
  background: #f0fdf4;
}

.post-interview-form {
  width: min(100%, 500px);
  margin-top: 8px;
  gap: 9px;
}

.post-interview-field {
  color: #344054;
  font-size: 12px;
  line-height: 17px;
  font-weight: 760;
}

.post-interview-field textarea {
  min-height: 96px;
}

.post-interview-note-button,
.post-interview-join-button,
.complete-panel > a.button {
  min-height: 48px;
  font-weight: 850;
}

.post-interview-join-button {
  border: 1px solid #b7791f;
  color: #211504;
  background: #d8a32f;
  box-shadow: none;
}

.post-interview-join-button:hover:not(:disabled):not(.is-disabled) {
  border-color: #9c6518;
  background: #c99025;
  box-shadow: none;
}

.complete-panel > a.button {
  margin-top: 0;
}

.guest-app :is(button, a, input, textarea):focus-visible,
.guest-invite :is(button, a, input, textarea):focus-visible,
.guest-confirm-dialog :is(button, a, input, textarea):focus-visible {
  outline: 2px solid rgba(109, 40, 217, 0.32);
  outline-offset: 2px;
}

@media (max-width: 1180px) {
  .guest-app {
    grid-template-columns: 204px minmax(0, 1fr);
  }

  .guest-work-grid,
  .guest-work-grid--tech,
  .guest-page--question .guest-work-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .interview-app:has(.guest-invite) .topbar {
    height: 58px;
    padding: 0 16px;
  }

  .interview-app:has(.guest-invite) .brand::before {
    width: 21px;
    height: 26px;
  }

  .interview-app:has(.guest-invite) .brand::after {
    font-size: 20px;
    line-height: 25px;
  }

  .interview-app:has(.guest-invite) .page {
    padding: 4px 12px 22px;
  }

  .guest-invite__card {
    padding: 22px 16px 18px;
    border-radius: 10px;
  }

  .guest-invite__badge {
    min-height: 28px;
    margin-bottom: 16px;
    font-size: 10px;
    line-height: 14px;
  }

  .guest-invite h1 {
    font-size: clamp(30px, 8.2vw, 40px);
    line-height: 1.05;
  }

  .guest-invite__lede {
    margin-top: 12px;
    font-size: 15px;
    line-height: 22px;
  }

  .guest-invite__start {
    height: 50px;
    font-size: 16px;
    line-height: 21px;
  }

  .guest-invite__settings {
    margin-top: 18px;
  }

  .guest-invite__settings article {
    padding: 13px;
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .guest-invite__settings article > span {
    width: 36px;
    height: 36px;
  }

  .guest-invite__settings strong {
    font-size: 14px;
    line-height: 19px;
  }
}

@media (max-width: 760px), (max-width: 980px) and (max-height: 520px) {
  .guest-app {
    display: block;
  }

  .guest-sidebar {
    min-height: 0;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--guest-sharp-border);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }

  .guest-brand__logo {
    width: 116px;
  }

  .guest-account {
    grid-template-columns: 32px minmax(0, 1fr);
    max-width: 148px;
    padding-top: 0;
    border-top: 0;
  }

  .guest-avatar {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }

  .guest-main,
  .guest-app:not(.guest-page--question) .guest-main {
    width: 100%;
    padding: 18px 14px 24px;
  }

  .guest-header {
    display: grid;
    gap: 8px;
  }

  .guest-header h1 {
    font-size: 28px;
    line-height: 34px;
  }

  .guest-header strong {
    width: fit-content;
    margin-top: 0;
  }

  .guest-work-grid,
  .guest-work-grid--tech {
    margin-top: 14px;
    gap: 12px;
  }

  .guest-card,
  .guest-question-card,
  .guest-answer-card,
  .guest-next-card,
  .guest-guidelines-card,
  .guest-intro-card,
  .guest-checkin-card,
  .guest-tech-card,
  .upload-panel,
  .complete-panel {
    border-radius: 8px;
  }

  .guest-tech-card,
  .guest-question-card,
  .guest-answer-card,
  .guest-next-card,
  .guest-guidelines-card,
  .guest-intro-card,
  .guest-checkin-card {
    padding: 14px;
  }

  .guest-page--question .guest-main,
  .state-before-play .guest-page--question .guest-main {
    padding: 18px 12px calc(24px + env(safe-area-inset-bottom));
  }

  .state-before-play .guest-page--question.guest-page--later-question .guest-main {
    padding-top: clamp(54px, 10vh, 88px);
  }

  .guest-page--question .guest-header h1 {
    font-size: 26px;
    line-height: 32px;
  }

  .guest-page--question .guest-question-card,
  .guest-page--question .guest-answer-card,
  .guest-page--question .guest-next-card {
    padding: 13px;
  }

  .guest-page--question .guest-play-button,
  .guest-page--question .guest-stop-button {
    height: 52px;
    border-radius: 6px;
    font-size: 16px;
    line-height: 21px;
  }

  .guest-page--question .guest-question-text {
    padding: 10px;
  }

  .guest-page--question .guest-question-text p {
    font-size: 14px;
    line-height: 20px;
  }

  .guest-confirm-overlay {
    padding: 14px;
  }

  .guest-confirm-dialog {
    padding: 18px;
  }

  .guest-confirm-dialog h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .complete-panel {
    padding: 28px 16px;
  }

  .guest-status-panel {
    margin-top: 20px;
  }
}

.experience-rating {
  min-width: 0;
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid rgba(31, 36, 48, .12);
  border-bottom: 1px solid rgba(31, 36, 48, .12);
  display: grid;
  gap: 10px;
}

.experience-rating legend {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  color: #171a22;
  font-size: 15px;
  line-height: 20px;
  font-weight: 800;
}

.experience-rating__scale {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
}

.experience-rating__scale button {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(31, 36, 48, .16);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #343a49;
  background: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}

.experience-rating__scale button:hover,
.experience-rating__scale button:focus-visible,
.experience-rating__scale button.is-selected {
  border-color: #6428e8;
  color: #fff;
  background: #6428e8;
}

.experience-rating__labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #697083;
  font-size: 11px;
  line-height: 15px;
  font-weight: 700;
}

.experience-suggestions {
  margin-top: 6px;
  display: grid;
  gap: 10px;
}

.experience-suggestions[hidden] {
  display: none;
}

@media (max-width: 560px) {
  .experience-rating__scale {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .experience-rating__scale button {
    min-height: 44px;
    aspect-ratio: auto;
  }
}

/* Final guest setup guide */
.guest-page--recording-guide .guest-main {
  width: min(960px, 100%) !important;
}

.guest-recording-guide__header,
.guest-recording-guide {
  width: min(780px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.guest-recording-guide {
  margin-top: 18px;
}

.guest-recording-guide .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.guest-recording-guide__image {
  position: relative;
  border: 1px solid var(--guest-sharp-border);
  border-radius: 8px;
  display: block;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}

.guest-recording-guide__image img {
  width: 100%;
  height: auto;
  display: block;
}

.guest-recording-guide__image > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--guest-sharp-border);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--guest-sharp-text);
  background: rgba(255, 255, 255, .94);
}

.guest-recording-guide__image:hover > span,
.guest-recording-guide__image:focus-visible > span {
  border-color: var(--guest-sharp-brand);
  color: var(--guest-sharp-brand);
}

.guest-recording-guide__action {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--guest-sharp-border);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  background: #fff;
}

.guest-recording-guide__action .helper-text {
  margin: 0;
  text-align: center;
}

@media (max-width: 760px) {
  .guest-recording-guide {
    margin-top: 14px;
  }

  .guest-recording-guide__image > span {
    right: 8px;
    bottom: 8px;
  }

  .guest-recording-guide__action {
    padding: 12px;
  }
}
/* Optional silent editorial camera hold */
.editorial-hold-offer,
.editorial-hold-camera {
  width: min(760px, 100%);
  margin-inline: auto;
  text-align: center;
}

.editorial-hold-offer h2,
.editorial-hold-camera h2 {
  max-width: 680px;
  margin-inline: auto;
}

.editorial-hold-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.invite-option-card--wide {
  width: 100%;
}

.editorial-hold-preview {
  position: relative;
  overflow: hidden;
  width: min(680px, 100%);
  margin: 24px auto 14px;
  aspect-ratio: 16 / 9;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: #10131a;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.editorial-hold-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.editorial-hold-countdown {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 4px;
  color: #fff;
  background: rgba(8, 10, 16, 0.62);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.editorial-hold-countdown > span:first-child {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.editorial-hold-countdown > strong {
  font-size: clamp(4rem, 16vw, 8rem);
  line-height: 0.95;
}

.editorial-hold-countdown.is-recording {
  inset: 18px auto auto 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(9, 12, 18, 0.82);
  backdrop-filter: blur(8px);
}

.editorial-hold-countdown.is-recording > strong {
  font-size: 1.15rem;
  line-height: 1;
}

.editorial-hold-countdown.is-recording small {
  color: rgba(255, 255, 255, 0.72);
}

.editorial-hold-rec-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff3b4f;
  box-shadow: 0 0 0 6px rgba(255, 59, 79, 0.2);
  animation: editorial-hold-rec-pulse 1s ease-in-out infinite;
}

.editorial-hold-privacy {
  font-weight: 700;
  color: var(--muted, #6b7280);
}

.guest-page--editorial-hold-finished {
  min-height: min(720px, calc(100vh - 40px));
}

.guest-page--editorial-hold-finished .guest-main {
  display: grid;
  place-items: center;
}

.editorial-hold-finished {
  width: min(780px, 100%);
  padding: clamp(46px, 9vw, 100px) clamp(22px, 7vw, 70px);
  border: 4px solid #9ff5c0;
  border-radius: 30px;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, #087443 0%, #0aa461 55%, #087443 100%);
  box-shadow: 0 0 0 12px rgba(12, 193, 111, 0.18), 0 30px 90px rgba(0, 94, 53, 0.38);
  animation: editorial-hold-finish-arrival 550ms cubic-bezier(.2,.9,.3,1.25) both;
}

.editorial-hold-finished__mark {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: #087443;
  background: #fff;
}

.editorial-hold-finished p {
  margin: 0 0 8px;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d8ffe7;
}

.editorial-hold-finished h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  line-height: 0.95;
}

.editorial-hold-finished > span {
  display: block;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
}

@keyframes editorial-hold-rec-pulse {
  50% { opacity: 0.45; transform: scale(0.82); }
}

@keyframes editorial-hold-finish-arrival {
  from { opacity: 0; transform: scale(0.82); filter: brightness(1.8); }
  to { opacity: 1; transform: scale(1); filter: brightness(1); }
}

@media (max-width: 600px) {
  .editorial-hold-actions { grid-template-columns: 1fr; }
  .editorial-hold-preview { border-radius: 16px; }
  .editorial-hold-countdown.is-recording { inset: 10px auto auto 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-hold-rec-dot,
  .editorial-hold-finished { animation: none; }
}

/* Keep recording-start blockers visible on compact guest layouts. */
.guest-page--question #state.recording-start-status {
  display: block !important;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid #c7d7fe;
  border-radius: 8px;
  color: #243b78;
  background: #eff4ff;
  font-weight: 760;
  text-align: left;
}

.guest-page--question #state.recording-start-status.is-error {
  border-color: #fecaca;
  color: #991b1b;
  background: #fff1f2;
}

@media (max-width: 760px), (max-width: 980px) and (max-height: 520px) {
  .guest-page--question #orientationGate:not([hidden]) {
    display: flex !important;
  }

  .state-before-play .guest-page--question #state.recording-start-status {
    display: block !important;
  }
}

/* Simplified-flow overrides intentionally follow the established guest theme. */
.guest-page--simplified-question .guest-simple-cue {
  display: grid !important;
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: #f4f1ff;
}

.guest-page--simplified-question .guest-simple-cue[data-stage="before"] span,
.guest-page--simplified-question .guest-simple-cue[data-stage="before"] strong {
  display: block;
}

.guest-page--simplified-question .guest-simple-cue > span {
  width: fit-content;
  justify-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: #6e50d5;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guest-page--simplified-question .guest-simple-cue strong {
  color: #423963;
}

.guest-page--simplified-question .guest-simple-cue p {
  margin: 0;
  color: #736b88;
  font-size: 0.82rem;
}

.guest-page--simplified-question .guest-simple-question-card {
  grid-column: 1;
  grid-row: 2 / span 2;
}

.guest-page--simplified-question .guest-simple-answer-card {
  grid-column: 2;
  grid-row: 2;
}

.guest-page--simplified-question .guest-simple-actions {
  grid-column: 2;
  grid-row: 3;
}

.guest-page--simplified-question .guest-answer-frame {
  min-height: 250px;
}

.state-recording .guest-page--simplified-question .guest-simple-cue {
  background: #c92f42;
}

.state-recording .guest-page--simplified-question .guest-simple-cue > span {
  color: #c92f42;
  background: #fff;
}

.state-recording .guest-page--simplified-question .guest-simple-cue strong,
.state-recording .guest-page--simplified-question .guest-simple-cue p {
  color: #fff;
}

@media (max-width: 800px) {
  .guest-page--simplified-question .guest-simple-cue {
    grid-template-columns: auto 1fr;
  }

  .guest-page--simplified-question .guest-simple-cue strong {
    text-align: right;
  }

  .guest-page--simplified-question .guest-simple-cue p,
  .guest-page--simplified-question .guest-simple-question-card,
  .guest-page--simplified-question .guest-simple-answer-card,
  .guest-page--simplified-question .guest-simple-actions {
    grid-column: 1;
    grid-row: auto;
  }
}
.guest-voice-controls {
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid #dedbe6;
  border-radius: 8px;
  background: #fff;
}
.guest-voice-controls label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.guest-voice-controls p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: #645f73; }
.guest-voice-controls [data-voice-status] { color: #5934a2; }

.guest-publication-release { max-width: 620px; margin: 32px auto; padding: 28px; }
.guest-publication-release form { display: grid; gap: 18px; }
.guest-publication-release label { display: grid; gap: 8px; }
.guest-publication-release .guest-release-agree { display: flex; align-items: flex-start; gap: 10px; }
.guest-release-agree input, .guest-voice-controls input { flex: 0 0 auto; width: 18px; height: 18px; }
.guest-voice-controls label { font-weight: 400; line-height: 1.5; }
.guest-publication-record { margin: 16px 0; }

.guest-invite__powered a { color: inherit; text-decoration: none; }
.guest-invite__powered a:hover, .guest-invite__powered a:focus-visible { text-decoration: underline; }

/* Keep the recording flow focused on the current step. */
.guest-app { grid-template-columns: minmax(0, 1fr); }
.guest-voice-controls { width: fit-content; max-width: 100%; padding: 8px 12px; margin: 0 0 12px; border: 1px solid #a78bda; background: #f2ebff; color: #402078; }
.guest-voice-controls label { gap: 10px; min-height: 28px; font-size: 14px; line-height: 1.4; }
.guest-voice-controls input { min-height: 20px; height: 20px; width: 20px; padding: 0; margin: 0; accent-color: #6532ad; }
.guest-voice-controls strong { font-weight: 750; }

.guest-recording-guide__action .guest-voice-controls { margin: 0 auto 12px; }
.guest-publication-release .guest-release-agree { align-items: center; }
.guest-publication-release .guest-release-agree input { min-height: 20px; height: 20px; width: 20px; padding: 0; margin: 0; }

.guest-page--minimal-recorder .guest-main { width: min(860px, 100%) !important; margin: 0 auto; }
.guest-page--minimal-recorder .guest-voice-controls { margin: 0 auto 20px; }
.guest-page--minimal-recorder .guest-simple-recorder { display: flex; flex-direction: column; gap: 16px; }
.guest-page--minimal-recorder .guest-simple-question-card,
.guest-page--minimal-recorder .guest-simple-answer-card,
.guest-page--minimal-recorder .guest-simple-actions { width: 100%; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.guest-page--minimal-recorder .guest-recording-question { margin: 0; text-align: center; font-size: clamp(20px, 3vw, 28px); line-height: 1.3; }
.guest-page--minimal-recorder .guest-recording-limit { margin: 10px 0 0; text-align: center; color: #645f73; font-size: 14px; }
.guest-page--minimal-recorder .guest-answer-frame { min-height: 0; aspect-ratio: 16 / 9; }
.guest-page--minimal-recorder #state:empty,
.guest-page--minimal-recorder #backgroundUploadStatus:empty { display: none; }
.state-countdown .guest-page--minimal-recorder .guest-question-card,
.state-recording .guest-page--minimal-recorder .guest-question-card { display: block !important; order: 0; }
.guest-page--minimal-recorder .guest-simple-answer-card { order: 1; }
.guest-page--minimal-recorder .guest-simple-actions { order: 2; }

.guest-newsletter-dialog { position: fixed; width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 48px 24px 24px; border: 0; border-radius: 12px; background: white; color: #242033; box-shadow: 0 16px 60px #0003; }
.guest-newsletter-dialog::backdrop { background: #17112680; }
.guest-newsletter-dialog > p { margin: 0 0 24px; font-size: 17px; line-height: 1.55; }
.guest-newsletter-dialog form { display: grid; gap: 16px; }
.guest-newsletter-dialog label { display: grid; gap: 6px; }
.guest-newsletter-dialog input { width: 100%; }
.guest-newsletter-dialog [data-newsletter-status]:empty { display: none; }
