:root {
    --ink: #070b14;
    --panel: #101827;
    --panel2: #151f33;
    --line: #263249;
    --text: #f6f8fc;
    --muted: #8f9bb2;
    --brand: #18228C;
    --accent: #68DED2;
    --highlight: #FFD000
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: 'DM Sans', sans-serif
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font: 700 14px/1.15 Manrope
}

.brand small {
    font: 600 10px DM Sans;
    letter-spacing: .18em;
    color: var(--muted)
}

.brand-mark {
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff55;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), #39d4ff);
    box-shadow: 0 0 28px #18228C55
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .24em;
    color: var(--accent);
    margin: 0 0 12px
}

.btn-glow {
    background: linear-gradient(120deg, var(--brand), #18228C);
    border: 0;
    color: white;
    font-weight: 700;
    box-shadow: 0 12px 30px #18228C38
}

.btn-glow:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 14px 35px #18228C66
}

.btn-xl {
    padding: 16px 26px;
    border-radius: 14px
}

.glass-panel,
.panel {
    background: linear-gradient(145deg, #141d2ee8, #0d1423e8);
    border: 1px solid var(--line);
    box-shadow: 0 24px 70px #0005
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 25% 20%, #39297755, transparent 32%), radial-gradient(circle at 85% 80%, #0e7b7755, transparent 28%), #080c15
}

.auth-card {
    width: min(460px, calc(100% - 32px));
    padding: 44px;
    border-radius: 24px
}

.auth-card h1,
.page-head h1 {
    font: 800 clamp(32px, 4vw, 46px)/1.1 Manrope
}

.form-control {
    background: #0a111f;
    border: 1px solid var(--line);
    color: white;
    padding: 13px 15px;
    border-radius: 10px
}

.form-control:focus {
    background: #0a111f;
    color: white;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px #18228C20
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 240px 1fr
}

.admin-nav {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 28px 20px;
    border-right: 1px solid var(--line);
    background: #0b101b;
    display: flex;
    flex-direction: column
}

.admin-nav nav {
    margin-top: 56px;
    display: grid;
    gap: 8px
}

.admin-nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 10px;
    display: flex;
    gap: 12px
}

.admin-nav nav a.active,
.admin-nav nav a:hover {
    background: #18228C1c;
    color: white
}

.nav-foot {
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding-top: 14px
}

.admin-main {
    padding: 42px clamp(24px, 4vw, 62px);
    max-width: 1600px;
    width: 100%
}

.admin-main.narrow {
    max-width: 1100px
}

.page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 34px
}

.page-head h1 {
    margin: 0 0 9px
}

.page-head p {
    color: var(--muted);
    margin: 0
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.stat-card {
    background: #101827;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    gap: 16px
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center
}

.purple {
    background: #18228C22;
    color: #68DED2
}

.cyan {
    background: #1ed5ff22;
    color: #45dbff
}

.green {
    background: #68DED222;
    color: #68DED2
}

.orange {
    background: #ff9f4322;
    color: #ffad5c
}

.stat-card div {
    display: grid
}

.stat-card small {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: .12em
}

.stat-card strong {
    font: 700 28px Manrope
}

.stat-card em {
    font-size: 11px;
    color: #6f7a91;
    font-style: normal
}

.dash-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 20px;
    margin-top: 20px
}

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

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px
}

.panel-head h2 {
    font: 700 20px Manrope;
    margin: 0
}

.panel-head a {
    color: #68DED2;
    text-decoration: none;
    font-size: 13px
}

.event-row {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding: 18px 0
}

.event-date {
    width: 52px;
    height: 58px;
    background: #1a2437;
    border-radius: 10px;
    display: grid;
    place-items: center
}

.event-date b {
    font: 700 20px Manrope
}

.event-date span {
    font-size: 9px;
    color: var(--muted);
    margin-top: -12px
}

.event-row h3 {
    font: 700 15px Manrope;
    margin: 0
}

.event-row p {
    color: var(--muted);
    font-size: 12px;
    margin: 5px 0 0
}

.live-dot {
    color: var(--accent);
    font-size: 9px;
    letter-spacing: .12em
}

.icon-btn {
    color: white;
    text-decoration: none;
    background: #1a2437;
    border: 1px solid var(--line);
    padding: 8px 11px;
    border-radius: 8px
}

.health-orb {
    height: 128px;
    display: grid;
    place-items: center;
    position: relative;
    text-align: center
}

.health-orb span {
    position: absolute;
    width: 96px;
    height: 96px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 40px #68DED233, inset 0 0 35px #68DED222
}

.health-orb b {
    font-size: 12px;
    z-index: 1
}

.studio-status ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.studio-status li {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--muted)
}

.studio-status li b {
    color: var(--accent)
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: #dce2ee;
    --bs-table-border-color: var(--line);
    margin: 0
}

.table th {
    font-size: 9px;
    letter-spacing: .14em;
    color: #718097;
    font-weight: 700
}

.table td {
    font-size: 13px;
    padding: 14px 10px
}

.table td small {
    display: block;
    color: var(--muted)
}

.empty {
    text-align: center !important;
    padding: 40px !important;
    color: var(--muted) !important
}

.status {
    font-size: 10px;
    text-transform: uppercase;
    padding: 5px 8px;
    border-radius: 20px;
    background: #ffffff10
}

.status-ready {
    background: #68DED21f;
    color: var(--accent)
}

.status-processing {
    background: #ff9f4320;
    color: #ffb565
}

.form-panel {
    padding: 32px
}

.form-label span {
    font-size: 11px;
    color: var(--muted)
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line)
}

.kiosk {
    min-height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at 72% 45%, #47318b38, transparent 30%), radial-gradient(circle at 20% 80%, #0b6c6a26, transparent 26%), linear-gradient(145deg, #090d18, #080b13);
    position: relative
}

.kiosk:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#ffffff05 1px, transparent 1px), linear-gradient(90deg, #ffffff05 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to bottom, transparent, #000, transparent);
    pointer-events: none
}

.kiosk-head,
.kiosk-foot {
    height: 78px;
    padding: 0 clamp(24px, 5vw, 76px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 3
}

.secure-pill {
    font-size: 9px;
    letter-spacing: .15em;
    color: #9ba7bc;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 9px 13px
}

.secure-pill span {
    color: var(--accent)
}

.kiosk-progress {
    height: 32px;
    display: flex;
    justify-content: center;
    gap: 7px;
    position: relative
}

.kiosk-progress span {
    width: 44px;
    height: 2px;
    background: #354058
}

.kiosk-progress span.active {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent)
}

.kiosk-progress small {
    position: absolute;
    top: 9px;
    color: #647087;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .15em
}

.kiosk-stage {
    display: none;
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 150px);
    padding: 5vh clamp(24px, 7vw, 110px)
}

.kiosk-stage.active {
    display: flex
}

.kiosk-stage[data-step="0"] {
    align-items: center;
    gap: 6vw
}

.hero-copy {
    width: 52%;
    max-width: 720px
}

.hero-copy h1 {
    font: 800 clamp(56px, 7vw, 104px)/.94 Manrope;
    letter-spacing: -.06em;
    margin: 14px 0 26px
}

.hero-copy h1 i {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1px #FFD000;
    text-shadow: 0 0 30px #18228C55
}

.hero-copy>p:not(.eyebrow) {
    color: #a5afc1;
    font-size: clamp(17px, 1.4vw, 21px);
    line-height: 1.65;
    max-width: 600px
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 34px 0
}

.sound-toggle,
.back-btn,
.btn-quiet {
    background: transparent;
    border: 0;
    color: #8e99ae
}

.trust-row {
    display: flex;
    gap: 25px;
    color: #748198;
    font-size: 11px
}

.avatar-wrap {
    width: 42%;
    height: 62vh;
    position: relative;
    display: grid;
    place-items: center
}

.avatar-wrap:before {
    content: "";
    width: 76%;
    aspect-ratio: 1;
    position: absolute;
    border: 1px solid #8e7bff44;
    border-radius: 50%;
    box-shadow: 0 0 90px #18228C33
}

.avatar-ring {
    position: absolute;
    width: 88%;
    aspect-ratio: 1;
    border: 1px dashed #ffffff1c;
    border-radius: 50%;
    animation: spin 40s linear infinite
}

.avatar-wrap canvas {
    position: relative;
    z-index: 2
}

.host-tag {
    position: absolute;
    bottom: 5%;
    left: 5%;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0c1221dd;
    backdrop-filter: blur(14px);
    border: 1px solid #ffffff1c;
    border-radius: 14px;
    padding: 14px 18px;
    z-index: 4
}

.host-tag>span {
    color: var(--accent);
    font-size: 23px
}

.host-tag div {
    display: grid
}

.host-tag small {
    font-size: 10px;
    color: var(--muted)
}

.host-tag i {
    margin-left: auto;
    color: var(--accent);
    font: normal 9px DM Sans;
    letter-spacing: .12em
}

.step-card {
    margin: auto;
    width: min(620px, 100%);
    padding: 42px;
    border-radius: 24px
}

.step-card h2,
.consent-layout h2,
.complete-card h2 {
    font: 800 clamp(34px, 4vw, 54px)/1.05 Manrope;
    letter-spacing: -.03em
}

.step-card>p,
.consent-layout>div>p,
.complete-card>p {
    color: var(--muted)
}

.kiosk-form {
    display: grid;
    gap: 13px;
    margin-top: 28px
}

.kiosk-form label {
    font-size: 12px;
    color: #c9d0dd
}

.voice-field {
    display: flex;
    position: relative
}

.voice-field input {
    width: 100%;
    background: #0a111f;
    border: 1px solid var(--line);
    color: white;
    padding: 16px;
    border-radius: 11px
}

.mic-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: #18228C22;
    border: 1px solid #18228C55;
    color: #68DED2
}

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

.language-grid input {
    display: none
}

.language-grid span {
    display: grid;
    grid-template-columns: 44px 1fr;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px
}

.language-grid input:checked+span {
    border-color: var(--brand);
    background: #18228C13
}

.language-grid b {
    grid-row: 1/3;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: #18228C22;
    border-radius: 50%;
    color: #68DED2
}

.language-grid small {
    color: var(--muted)
}

.consent-layout {
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr .8fr;
    gap: 7vw;
    align-items: center;
    max-width: 1200px
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 32px 0
}

.privacy-list li {
    display: flex;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding: 18px 0
}

.privacy-list li>span {
    color: var(--accent);
    font: 700 11px Manrope
}

.privacy-list li div {
    display: grid
}

.privacy-list small {
    color: var(--muted)
}

.consent-card {
    padding: 18px;
    border-radius: 22px
}

.camera-preview {
    height: 260px;
    background: #060912;
    border-radius: 14px;
    overflow: hidden;
    position: relative
}

.camera-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1)
}

.camera-preview span {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #0009;
    padding: 6px 9px;
    border-radius: 6px;
    font-size: 10px
}

.consent-check {
    display: flex;
    gap: 12px;
    padding: 18px 4px;
    cursor: pointer
}

.consent-check input {
    width: 22px
}

.consent-check p {
    display: grid;
    margin: 0
}

.consent-check small {
    color: var(--muted)
}

.centered {
    display: block;
    margin: 16px auto 0
}

.interview-stage {
    padding: 24px clamp(20px, 4vw, 60px);
    flex-direction: column
}

.recording-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #111a2a;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 15px
}

.recording-bar span {
    color: #ff5a71;
    font-size: 10px
}

.recording-bar button {
    margin-left: auto;
    background: transparent;
    color: #ff8797;
    border: 1px solid #ff5a7155;
    padding: 7px 12px;
    border-radius: 8px
}

.interview-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 15px;
    height: 65vh
}

.guest-feed,
.host-feed {
    background: #0b111d;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    position: relative
}

.guest-feed video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1)
}

.guest-label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: #000b;
    padding: 8px 12px;
    border-radius: 8px
}

.host-feed {
    background: #0D143F
}

.host-feed canvas {
    width: 100% !important;
    height: 100% !important
}

.waveform {
    position: absolute;
    left: 50%;
    bottom: 120px;
    transform: translateX(-50%);
    height: 30px;
    display: flex;
    align-items: center;
    gap: 3px
}

.waveform i {
    width: 2px;
    height: 8px;
    background: var(--accent);
    animation: wave 1s ease-in-out infinite
}

.waveform i:nth-child(3n) {
    animation-delay: .2s
}

.waveform i:nth-child(4n) {
    animation-delay: .4s
}

.question-card {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 15px;
    background: #0a101dcc;
    border: 1px solid #ffffff1c;
    border-radius: 12px;
    backdrop-filter: blur(12px)
}

.question-card small {
    color: var(--accent);
    letter-spacing: .15em;
    font-size: 8px
}

.question-card p {
    margin: 5px 0 0;
    font-size: 13px
}

.recording-note {
    text-align: center;
    color: var(--muted);
    font-size: 11px;
    margin: 12px
}

.complete-card {
    margin: auto;
    text-align: center;
    width: min(650px, 100%)
}

.success-orb {
    margin: 0 auto 22px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 36px;
    color: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: 0 0 55px #68DED233
}

.processing-card,
.qr-result {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    background: #101827;
    border: 1px solid var(--line);
    padding: 22px;
    border-radius: 15px;
    margin: 30px auto
}

.processing-card div:last-child,
.qr-result div {
    display: grid
}

.processing-card small,
.qr-result small {
    color: var(--muted)
}

.qr-result img {
    width: 130px;
    height: 130px;
    background: white;
    padding: 8px;
    border-radius: 10px
}

.qr-result .btn {
    margin-top: 10px
}

.kiosk-foot {
    height: 40px;
    color: #58647a;
    font-size: 9px;
    letter-spacing: .1em
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes wave {
    50% {
        height: 27px
    }
}

@media(max-width:900px) {
    .admin-shell {
        grid-template-columns: 76px 1fr
    }

    .admin-nav {
        padding: 24px 10px
    }

    .admin-nav .brand span:last-child,
    .admin-nav a span {
        display: none
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr
    }

    .dash-grid {
        grid-template-columns: 1fr
    }

    .kiosk-stage[data-step="0"] {
        flex-direction: column;
        padding-top: 3vh
    }

    .hero-copy {
        width: 100%;
        text-align: center
    }

    .hero-copy h1 {
        font-size: 52px
    }

    .hero-copy>p:not(.eyebrow) {
        margin-inline: auto
    }

    .hero-actions,
    .trust-row {
        justify-content: center
    }

    .avatar-wrap {
        width: 70%;
        height: 36vh
    }

    .consent-layout {
        grid-template-columns: 1fr
    }

    .consent-layout>div:first-child {
        display: none
    }

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

    .host-feed {
        position: absolute;
        width: 30%;
        height: 30%;
        right: 35px;
        top: 150px
    }

    .question-card {
        display: none
    }
}

@media(max-width:600px) {
    .admin-main {
        padding: 24px 14px
    }

    .page-head {
        align-items: flex-start;
        gap: 18px
    }

    .stat-grid {
        grid-template-columns: 1fr
    }

    .kiosk-head {
        padding: 0 18px
    }

    .secure-pill {
        display: none
    }

    .kiosk-stage {
        padding-inline: 18px
    }

    .hero-copy h1 {
        font-size: 43px
    }

    .hero-actions {
        flex-direction: column
    }

    .trust-row {
        flex-wrap: wrap
    }

    .avatar-wrap {
        width: 100%
    }

    .step-card {
        padding: 25px 18px
    }

    .language-grid {
        grid-template-columns: 1fr
    }

    .kiosk-foot {
        padding-inline: 18px
    }
}

#interviewAvatar {
    position: absolute;
    inset: 30px 20px 170px;
    display: flex;
    align-items: center;
    justify-content: center
}

#interviewAvatar:before {
    content: "";
    position: absolute;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, #18228C42, transparent 68%);
    filter: blur(18px);
    animation: voicePulse 2.4s ease-in-out infinite
}

#interviewAvatar img {
    position: relative;
    z-index: 2;
    width: min(96%, 620px);
    height: auto;
    object-fit: contain;
    transition: filter .08s linear, transform .08s linear
}

.host-feed .waveform {
    left: 8%;
    right: 8%;
    bottom: 130px;
    transform: none;
    justify-content: center;
    z-index: 3
}

.host-feed .waveform i {
    width: 4px;
    min-height: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, #68DED2, #18228C);
    animation: none;
    transition: height .055s linear, opacity .08s linear;
    box-shadow: 0 0 8px #18228C66
}

@keyframes voicePulse {
    50% {
        transform: scale(1.08);
        opacity: .72
    }
}

.instructions-stage {
    align-items: center;
    justify-content: center
}

.instructions-card {
    width: min(720px, 100%)
}

.instructions-card h1 {
    font: 800 clamp(36px, 5vw, 62px)/1.04 Manrope;
    letter-spacing: -.04em
}

.instruction-list {
    list-style: none;
    padding: 0;
    margin: 28px 0
}

.instruction-list li {
    display: flex;
    gap: 18px;
    padding: 15px 0;
    border-top: 1px solid var(--line);
    color: #cbd3e2
}

.instruction-list b {
    color: var(--highlight);
    font-size: 11px
}

.language-label {
    display: block;
    margin-bottom: 10px;
    color: #c9d0dd;
    font-size: 12px
}

.instructions-card .language-grid {
    margin-bottom: 22px
}

.review-input {
    width: 100%;
    background: #0a111f;
    border: 1px solid var(--line);
    color: white;
    padding: 16px;
    border-radius: 11px
}

.review-input:focus {
    outline: 0;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px #68DED220
}

.form-error {
    min-height: 20px;
    color: #FFD000;
    margin: 4px 0 0;
    font-size: 12px
}

.btn-glow {
    background: linear-gradient(120deg, var(--brand), #2637c9);
    box-shadow: 0 12px 30px #18228C55
}

.btn-glow span,
.recording-bar b {
    color: var(--highlight)
}

.success-orb {
    color: var(--highlight);
    border-color: var(--highlight);
    box-shadow: 0 0 55px #FFD0002e
}

.detail-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 20px
}

.detail-list {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    margin: 0
}

.detail-list dt {
    color: var(--muted);
    font-size: 12px
}

.detail-list dd {
    margin: 0;
    font-size: 13px;
    overflow-wrap: anywhere
}

.detail-copy {
    color: #bcc6d8;
    white-space: pre-wrap
}

.metadata-tags {
    color: var(--accent) !important
}

.panel h3 {
    font: 700 11px Manrope;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--highlight);
    margin: 24px 0 8px
}

.transcript-view {
    margin: 0;
    white-space: pre-wrap;
    color: #cbd3e2;
    font: 13px/1.7 'DM Sans', sans-serif;
    background: #080e19;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    max-height: 440px;
    overflow: auto
}

@media(max-width:800px) {
    .detail-grid {
        grid-template-columns: 1fr
    }
}

/* Light application theme */
body {
    background: #f5faf9;
    color: #18228C
}

.kiosk {
    background: radial-gradient(circle at 90% 20%, #68DED238, transparent 28%), radial-gradient(circle at 8% 85%, #FFD0002b, transparent 25%), linear-gradient(145deg, #fbfefd, #eef8f6)
}

.kiosk:before {
    background-image: linear-gradient(#18228C08 1px, transparent 1px), linear-gradient(90deg, #18228C08 1px, transparent 1px)
}

.brand {
    color: #18228C
}

.brand small,
.kiosk-foot,
.recording-note {
    color: #61717d
}

.brand-mark {
    color: white;
    border: 0;
    background: linear-gradient(135deg, #18228C, #68DED2);
    box-shadow: 0 8px 20px #18228C25
}

.glass-panel,
.panel,
.step-card,
.processing-card {
    background: #fffffff2;
    border-color: #d7e7e4;
    box-shadow: 0 24px 60px #18228C12
}

.instructions-card h1,
.step-card h2,
.complete-card h2 {
    color: #18228C
}

.instructions-card>p,
.step-card>p,
.complete-card>p {
    color: #5d6c78
}

.instruction-list li {
    border-color: #d7e7e4;
    color: #344554
}

.language-grid span {
    background: white;
    border-color: #cfdfdc;
    color: #18228C
}

.language-grid input:checked+span {
    background: #edf5ff;
    border-color: #18228C
}

.language-grid small {
    color: #687986
}

.secure-pill {
    background: white;
    color: #445866;
    border-color: #cfdfdc
}

.kiosk-progress span {
    background: #c5d8d4
}

.review-input,
.form-control {
    background: white;
    color: #18228C;
    border-color: #cbdedb
}

.review-input:focus,
.form-control:focus {
    background: white;
    color: #18228C
}

.recording-bar {
    background: white;
    border-color: #d7e7e4;
    color: #18228C
}

.guest-feed,
.host-feed {
    border-color: #cbdedb
}

.host-feed {
    background: radial-gradient(circle, #68DED270, #eef8f6 68%)
}

.question-card {
    background: #ffffffea;
    border-color: #cbdedb;
    color: #18228C
}

.btn-quiet {
    color: #18228C
}

.auth-shell {
    background: radial-gradient(circle at 20% 10%, #68DED255, transparent 32%), #f5faf9
}

.auth-card {
    background: white
}

.auth-card .text-secondary {
    color: #61717d !important
}

.simple-admin {
    min-height: 100vh;
    padding: 42px clamp(20px, 5vw, 76px);
    background: #f5faf9
}

.simple-admin-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-end;
    margin-bottom: 28px
}

.simple-admin-head h1 {
    font: 800 clamp(38px, 5vw, 62px)/1 Manrope;
    color: #18228C;
    margin: 42px 0 8px
}

.simple-admin-head p {
    color: #60717d;
    margin: 0
}

.admin-actions {
    display: flex;
    gap: 10px
}

.btn-soft {
    background: white;
    border: 1px solid #cbdedb;
    color: #18228C;
    border-radius: 10px;
    padding: 10px 16px
}

.btn-soft:hover {
    background: #eef8f6;
    color: #18228C
}

.simple-table-card {
    background: white;
    border: 1px solid #d7e7e4;
    border-radius: 18px;
    box-shadow: 0 14px 45px #18228C0d;
    overflow: hidden
}

.simple-table {
    width: 100%;
    border-collapse: collapse
}

.simple-table th {
    background: #eef8f6;
    color: #536873;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 14px 18px;
    text-align: left
}

.simple-table td {
    border-top: 1px solid #e4efed;
    padding: 18px;
    vertical-align: top;
    color: #2e414d;
    font-size: 13px
}

.simple-table td strong,
.simple-table td span {
    display: block
}

.simple-table td strong {
    color: #18228C;
    margin-bottom: 4px
}

.simple-table td span {
    color: #6b7b86
}

.simple-table .status {
    display: inline-block;
    color: #18228C;
    background: #68DED24a
}

.simple-table .status-ready {
    background: #68DED266
}

.table-actions {
    display: grid;
    gap: 10px;
    min-width: 110px
}

.table-actions a {
    color: #18228C;
    font-weight: 700;
    text-decoration: none
}

.recording-link {
    background: #FFD000;
    padding: 8px 10px;
    border-radius: 8px;
    text-align: center
}

.metadata-tags {
    margin-top: 7px
}

.simple-table .empty {
    color: #6b7b86 !important
}

@media(max-width:760px) {
    .simple-admin-head {
        align-items: flex-start;
        flex-direction: column
    }

    .simple-table {
        min-width: 980px
    }
}

.simple-admin .panel {
    background: white;
    color: #2e414d;
    border-color: #d7e7e4
}

.simple-admin .panel h2 {
    color: #18228C
}

.simple-admin .detail-copy {
    color: #526773
}

.simple-admin .detail-list dt {
    color: #70818a
}

.simple-admin .transcript-view {
    background: #f5faf9;
    color: #304651;
    border-color: #d7e7e4
}

/* Podcast booth — reference layout */
.kiosk {
    height: 100vh;
    min-height: 720px;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    overflow: hidden;
    background: #f2fcfb
}

.kiosk:before {
    display: none
}

.booth-sidebar {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    padding: 28px 22px 24px;
    background: linear-gradient(180deg, #edfafa, #e8f8f6);
    border-right: 1px solid #d9efec
}

.booth-sidebar .brand {
    gap: 10px;
    white-space: nowrap
}

.booth-sidebar .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 12px
}

.booth-sidebar .brand>span:last-child {
    font-size: 12px
}

.booth-sidebar .brand small {
    font-size: 8px
}

.booth-nav {
    display: grid;
    gap: 8px;
    margin: 52px -22px 0
}

.booth-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 24px;
    color: #18234e;
    text-decoration: none;
    font-size: 14px
}

.booth-nav a span {
    width: 20px;
    color: #18228C;
    font-size: 19px;
    text-align: center
}

.booth-nav a.active:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: #68DED2
}

.booth-nav a:hover {
    background: #ffffff80
}

.booth-ready {
    margin-top: auto;
    text-align: center;
    color: #18234e
}

.booth-ready b {
    font-size: 10px;
    letter-spacing: .04em
}

.mini-wave {
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-top: 8px
}

.mini-wave i {
    width: 2px;
    height: 7px;
    background: #68DED2;
    border-radius: 4px
}

.mini-wave i:nth-child(2),
.mini-wave i:nth-child(6) {
    height: 15px
}

.mini-wave i:nth-child(3),
.mini-wave i:nth-child(5) {
    height: 23px
}

.mini-wave i:nth-child(4) {
    height: 11px
}

.booth-workspace {
    position: relative;
    min-width: 0;
    background: radial-gradient(circle at 100% 0, #68DED21e, transparent 27%), #f8fdfc
}

.booth-topbar {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center
}

.booth-workspace .kiosk-progress {
    height: 48px;
    width: 220px;
    padding-top: 13px
}

.booth-workspace .kiosk-progress span {
    width: 38px;
    height: 2px;
    background: #cadbd8
}

.booth-workspace .kiosk-progress span:after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin: -3px auto 0;
    border-radius: 50%;
    background: #cadbd8;
    box-shadow: 0 0 0 4px #f8fdfc
}

.booth-workspace .kiosk-progress span.active {
    background: #68DED2;
    box-shadow: none
}

.booth-workspace .kiosk-progress span.active:after {
    background: #68DED2
}

.booth-workspace .kiosk-progress small {
    top: 29px;
    width: 300px;
    text-align: center;
    color: #273451;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none
}

.booth-workspace .kiosk-stage {
    min-height: calc(100vh - 92px);
    padding: 10px 24px 18px
}

.booth-workspace .instructions-stage {
    padding-bottom: 34px
}

.booth-workspace .step-card {
    background: white;
    border: 1px solid #d8ebe8;
    border-radius: 22px;
    box-shadow: 0 22px 55px #18228C12
}

.booth-workspace .instructions-card {
    max-height: calc(100vh - 120px);
    overflow: auto
}

.booth-workspace .instructions-card h1 {
    font-size: clamp(38px, 4.3vw, 62px)
}

.booth-workspace .interview-stage {
    position: relative;
    display: none;
    flex-direction: column;
    padding-top: 10px
}

.booth-workspace .interview-stage.active {
    display: flex
}

.recording-bar {
    position: absolute;
    z-index: 8;
    right: 24px;
    top: -67px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 0
}

.recording-bar span,
.recording-bar b {
    height: 42px;
    display: flex;
    align-items: center;
    background: #FFD000;
    color: #362d10
}

.recording-bar span {
    padding: 0 5px 0 14px;
    border-radius: 12px 0 0 12px
}

.recording-bar b {
    padding: 0 15px 0 5px;
    border-radius: 0 12px 12px 0;
    font-size: 15px
}

.recording-bar button {
    height: 42px;
    margin-left: 12px;
    padding: 0 18px;
    border: 2px solid #312071;
    border-radius: 11px;
    background: #171448;
    color: #ed6c86;
    box-shadow: 0 4px 0 #8d6aa8, 0 8px 20px #18228C24;
    font-weight: 600
}

.booth-workspace .interview-grid {
    width: 100%;
    height: calc(100vh - 150px);
    min-height: 540px;
    display: grid;
    grid-template-columns: minmax(0, 1.34fr) minmax(340px, 1fr);
    gap: 16px
}

.booth-workspace .guest-feed,
.booth-workspace .host-feed {
    border: 0;
    border-radius: 20px;
    box-shadow: 0 10px 26px #18228C10
}

.booth-workspace .guest-feed {
    background: #dce8e5
}

.booth-workspace .guest-feed video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1)
}

.booth-workspace .guest-label {
    left: 18px;
    top: 18px;
    bottom: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    background: #ffffff42;
    border: 1px solid #ffffff70;
    border-radius: 10px;
    color: white;
    backdrop-filter: blur(8px);
    font-size: 12px
}

.booth-workspace .guest-label i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #68DED2;
    box-shadow: 0 0 10px #68DED2
}

.guest-controls {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white
}

.guest-controls>div {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    overflow: hidden;
    border: 3px solid #17176b;
    border-radius: 24px;
    background: #17176b
}

.guest-controls button {
    width: 55px;
    height: 40px;
    border: 0;
    background: #68DED2;
    color: #18228C;
    font-size: 18px
}

.guest-controls button+button {
    background: #28218e;
    color: #68DED2
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 2px;
    text-shadow: 0 1px 8px #000
}

.volume-control i {
    width: 3px;
    height: 14px;
    background: #d6fffa;
    border-radius: 2px
}

.volume-control i:nth-child(3n) {
    height: 20px
}

.booth-workspace .host-feed {
    background: #0D143F;
    overflow: hidden
}

.booth-workspace #interviewAvatar {
    inset: 30px 15px 160px
}

.booth-workspace #interviewAvatar:before {
    width: 76%;
    /* background: radial-gradient(circle, #68DED25c, transparent 65%); */
    filter: blur(25px)
}

.booth-workspace #interviewAvatar img {
    width: min(92%, 540px);
    /* filter: drop-shadow(0 0 18px #68DED288) */
}

.booth-workspace .host-feed .waveform {
    left: 13%;
    right: 13%;
    bottom: 132px;
    height: 42px
}

.booth-workspace .host-feed .waveform i {
    width: 3px;
    background: linear-gradient(180deg, #68DED2, #6bb9ff);
    box-shadow: 0 0 7px #68DED277
}

.booth-workspace .question-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    min-height: 104px;
    padding: 14px 15px;
    background: #ffffff13;
    border: 1px solid #ffffff24;
    border-radius: 12px;
    color: white
}

.booth-workspace .question-card small {
    color: #68DED2;
    font-weight: 700
}

.booth-workspace .question-card p {
    max-width: 88%;
    font-size: 13px;
    line-height: 1.35
}

.sparkle {
    position: absolute;
    right: 15px;
    bottom: 3px;
    color: #aeb0df;
    font-size: 38px
}

.booth-workspace .recording-note {
    height: 25px;
    margin: 9px 0 0;
    color: #425362;
    font-size: 10px
}

.booth-workspace .complete-card {
    background: white;
    border: 1px solid #d8ebe8;
    border-radius: 22px;
    padding: 42px;
    box-shadow: 0 22px 55px #18228C12
}

.processing-card {
    color: #18228C
}

.processing-card small {
    color: #657781
}

@media(max-width:980px) {
    .kiosk {
        grid-template-columns: 82px 1fr
    }

    .booth-sidebar {
        padding: 20px 12px
    }

    .booth-sidebar .brand>span:last-child,
    .booth-nav a:not(.active) {
        display: none
    }

    .booth-sidebar .brand {
        justify-content: center
    }

    .booth-nav {
        margin: 40px -12px 0
    }

    .booth-nav a.active {
        justify-content: center;
        padding: 14px
    }

    .booth-nav a.active {
        font-size: 0
    }

    .booth-nav a.active span {
        font-size: 20px
    }

    .booth-ready b {
        display: none
    }

    .booth-workspace .interview-grid {
        grid-template-columns: 1fr
    }

    .booth-workspace .host-feed {
        position: absolute;
        width: 34%;
        height: 34%;
        right: 38px;
        top: 35px
    }

    .booth-workspace .host-feed .question-card {
        display: none
    }

    .booth-workspace #interviewAvatar {
        inset: 8px
    }

    .booth-workspace .host-feed .waveform {
        bottom: 18px
    }

    .recording-bar {
        right: 16px
    }

    .booth-workspace .kiosk-stage {
        padding-inline: 16px
    }
}

@media(max-width:620px) {
    .kiosk {
        grid-template-columns: 1fr
    }

    .booth-sidebar {
        display: none
    }

    .booth-topbar {
        justify-content: flex-start;
        padding-left: 15px
    }

    .booth-workspace .kiosk-progress {
        width: 155px
    }

    .recording-bar span,
    .recording-bar b {
        display: none
    }

    .recording-bar button {
        margin: 0
    }

    .booth-workspace .interview-grid {
        height: calc(100vh - 145px)
    }

    .booth-workspace .host-feed {
        width: 40%;
        height: 27%;
        right: 28px;
        top: 28px
    }

    .guest-controls>div {
        left: auto;
        right: 0;
        transform: none
    }

    .booth-workspace .step-card {
        padding: 25px 18px
    }
}

.booth-workspace .instructions-stage {
    overflow: auto
}

.booth-workspace .instructions-card {
    max-height: calc(100vh - 112px);
    padding: 30px 42px
}

.booth-workspace .instructions-card h1 {
    font-size: clamp(38px, 4vw, 54px);
    margin-bottom: 10px
}

.booth-workspace .instructions-card .instruction-list {
    margin: 18px 0
}

.booth-workspace .instructions-card .instruction-list li {
    padding: 11px 0
}

.booth-workspace .instructions-card .language-grid {
    margin-bottom: 14px
}

/* Sidebar-free booth */
.kiosk {
    display: block;
    grid-template-columns: none
}

.booth-workspace {
    width: 100%;
    height: 100vh
}

.booth-topbar {
    position: relative;
    padding: 0 26px
}

.booth-brand {
    position: absolute;
    left: 26px;
    top: 25px
}

.booth-brand .brand-mark {
    width: 38px;
    height: 38px
}

.booth-workspace .kiosk-stage {
    padding-inline: 28px
}

.booth-workspace .interview-grid {
    grid-template-columns: minmax(0, 1.42fr) minmax(360px, 1fr);
    max-width: 1500px;
    margin: 0 auto
}

.booth-workspace .instructions-card {
    width: min(760px, 100%);
    max-height: calc(100vh - 110px);
    padding: 32px 38px
}

.instructions-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 20px;
    align-items: center
}

.instructions-hero h1 {
    color: #18228C
}

.instructions-hero>div:first-child>p:last-child {
    color: #485b68;
    line-height: 1.45
}

.instruction-visual {
    height: 170px;
    position: relative;
    display: grid;
    place-items: center;
    align-self: center;
    transform: translateY(-14px)
}

.instruction-visual img {
    position: relative;
    z-index: 2;
    width: 170px;
    filter: drop-shadow(0 12px 20px #18228C28);
    background: transparent
}

.question-card {
    padding-right: 20px
}

.recording-bar {
    right: 28px
}

@media(max-width:900px) {
    .booth-brand>span:last-child {
        display: none
    }

    .booth-brand {
        left: 18px
    }

    .booth-workspace .interview-grid {
        grid-template-columns: 1fr
    }

    .booth-workspace .host-feed {
        position: absolute;
        width: 35%;
        height: 34%;
        right: 42px;
        top: 35px
    }

    .booth-workspace .kiosk-stage {
        padding-inline: 18px
    }

    .instructions-hero {
        grid-template-columns: minmax(0, 1fr) 180px
    }

    .instruction-visual img {
        width: 150px
    }
}

@media(max-width:620px) {
    .booth-topbar {
        height: 76px;
        padding: 0 14px
    }

    .booth-brand {
        top: 18px;
        left: 14px
    }

    .booth-brand .brand-mark {
        width: 32px;
        height: 32px
    }

    .booth-workspace .kiosk-progress {
        margin-left: auto;
        margin-right: auto
    }

    .booth-workspace .kiosk-stage {
        min-height: calc(100vh - 76px);
        padding: 8px 12px 18px
    }

    .booth-workspace .instructions-card {
        padding: 24px 18px;
        max-height: calc(100vh - 88px)
    }

    .instructions-hero {
        grid-template-columns: 1fr
    }

    .instruction-visual {
        position: absolute;
        right: 22px;
        top: 74px;
        width: 115px;
        height: 110px;
        opacity: .9;
        transform: none
    }

    .instruction-visual img {
        width: 105px
    }

    .instructions-hero>div:first-child {
        padding-right: 88px
    }

    .booth-workspace .instructions-card h1 {
        font-size: 38px
    }

    .booth-workspace .instructions-card .instruction-list {
        margin-top: 16px
    }

    .booth-workspace .interview-grid {
        height: calc(100vh - 125px)
    }

    .booth-workspace .host-feed {
        right: 22px;
        top: 22px;
        width: 42%;
        height: 28%
    }

    .recording-bar {
        top: -58px;
        right: 12px
    }

    .recording-bar button {
        height: 38px
    }

    .language-grid span {
        padding: 10px
    }

    .language-grid small {
        display: none
    }
}

/* Blend the rectangular Saumya artwork into the host panel. */
.booth-workspace #interviewAvatar:after {
    content: "";
    position: absolute;
    inset: 8% 3%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, #68DED238 0, #182b8066 38%, transparent 72%);
    filter: blur(24px);
    z-index: 1;
    pointer-events: none
}

.booth-workspace #interviewAvatar img {
    -webkit-mask-image: radial-gradient(ellipse 72% 70% at center, #000 42%, #000c 57%, transparent 82%);
    mask-image: radial-gradient(ellipse 72% 70% at center, #000 42%, #000c 57%, transparent 82%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%
}

/* Responsive stacked interview and centered live host waveform. */
.booth-workspace .host-feed .waveform {
    left: 8%;
    right: 8%;
    bottom: 122px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transform: none
}

.booth-workspace .host-feed .waveform i {
    flex: 0 1 5px;
    width: 5px;
    min-width: 2px;
    min-height: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, #35D9F3 0%, #68DED2 46%, #9A3FF0 54%, #7A2DD3 100%);
    box-shadow: 0 0 9px #68DED288, 0 0 14px #9A3FF044;
    opacity: .62;
    transform-origin: center;
    transition: height .07s linear, opacity .1s ease
}

@media(max-width:980px) {

    .kiosk,
    .booth-workspace {
        height: auto;
        min-height: 100vh;
        overflow: visible
    }

    .booth-workspace .interview-stage.active {
        display: flex;
        overflow: visible
    }

    .booth-workspace .interview-grid {
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 14px
    }

    .booth-workspace .guest-feed {
        position: relative;
        width: 100%;
        height: min(58vh, 620px);
        min-height: 380px
    }

    .booth-workspace .host-feed {
        position: relative;
        inset: auto;
        width: 100%;
        height: min(54vh, 560px);
        min-height: 390px
    }

    .booth-workspace #interviewAvatar {
        inset: 18px 15px 162px
    }

    .booth-workspace .recording-note {
        margin-bottom: 18px
    }
}

@media(max-width:620px) {
    .booth-workspace .interview-grid {
        height: auto
    }

    .booth-workspace .guest-feed {
        height: 48vh;
        min-height: 300px;
        border-radius: 14px
    }

    .booth-workspace .host-feed {
        position: relative;
        inset: auto;
        width: 100%;
        height: 460px;
        min-height: 420px;
        border-radius: 14px
    }

    .booth-workspace #interviewAvatar {
        inset: 12px 8px 155px
    }

    .booth-workspace .host-feed .waveform {
        left: 6%;
        right: 6%;
        bottom: 112px;
        gap: 3px;
        height: 66px
    }

    .booth-workspace .host-feed .waveform i {
        flex-basis: 4px;
        width: 4px
    }

    .booth-workspace .question-card {
        min-height: 92px;
        left: 10px;
        right: 10px;
        bottom: 10px
    }
}

/* Final responsive override: both interview panels share the available viewport. */
.kiosk,
.booth-workspace {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden
}

.booth-workspace .interview-stage.active {
    height: calc(100vh - 92px);
    height: calc(100dvh - 92px);
    min-height: 0;
    overflow: visible
}

.booth-workspace .interview-grid {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr)
}

.booth-workspace .guest-feed,
.booth-workspace .host-feed {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0
}

@media(max-width:620px) {
    .booth-workspace .interview-stage.active {
        height: calc(100vh - 76px);
        height: calc(100dvh - 76px)
    }

    .booth-workspace .interview-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px
    }

    .booth-workspace .recording-note {
        margin: 5px 0 0
    }
}

@media(max-width:1100px) {
    .booth-workspace .interview-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px
    }

    .booth-workspace .host-feed .question-card {
        display: block;
        min-height: 88px;
        padding: 10px
    }

    .booth-workspace .host-feed .question-card p {
        max-width: 100%;
        font-size: 11px
    }

    .booth-workspace #interviewAvatar {
        inset: 6px 6px 126px
    }

    .booth-workspace .host-feed .waveform {
        bottom: 92px;
        height: 42px
    }
}

/* Compact, viewport-aware start screen. */
.booth-workspace .instructions-stage {
    min-height: calc(100vh - 92px);
    min-height: calc(100dvh - 92px);
    padding: clamp(16px, 3vh, 32px) clamp(14px, 3vw, 32px);
    display: none;
    place-items: center;
    overflow: auto
}

.booth-workspace .instructions-stage.active {
    display: grid
}

.booth-workspace .instructions-card {
    width: min(720px, 100%);
    min-height: clamp(320px, 52vh, 500px);
    max-height: none;
    margin: auto;
    padding: clamp(24px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: clamp(24px, 4vh, 42px);
    overflow: visible
}

.booth-workspace .instructions-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    width: 100%;
    gap: 0
}

.booth-workspace .instruction-visual {
    width: 100%;
    height: clamp(150px, 24vh, 230px);
    position: relative;
    display: grid;
    place-items: center;
    transform: none
}

.booth-workspace .instruction-visual img {
    width: clamp(145px, 20vw, 220px);
    max-width: 72%;
    max-height: 100%;
    object-fit: contain
}

.booth-workspace .instructions-card #startInterview {
    min-height: 56px;
    margin: 0;
    padding: 14px clamp(18px, 4vw, 32px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.2
}

.booth-workspace .instructions-card .form-error {
    min-height: 0;
    margin: -18px 0 0;
    text-align: center
}

@media(max-width:620px) {
    .booth-topbar {
        height: 68px
    }

    .booth-brand {
        top: 14px
    }

    .booth-workspace .instructions-stage {
        min-height: calc(100vh - 68px);
        min-height: calc(100dvh - 68px);
        padding: 12px
    }

    .booth-workspace .instructions-card {
        width: 100%;
        min-height: min(430px, calc(100dvh - 92px));
        padding: clamp(20px, 6vw, 28px);
        border-radius: 18px;
        gap: 24px
    }

    .booth-workspace .instruction-visual {
        position: relative;
        inset: auto;
        width: 100%;
        height: clamp(150px, 30vh, 220px);
        opacity: 1
    }

    .booth-workspace .instruction-visual img {
        width: clamp(140px, 48vw, 200px)
    }
}

@media(max-height:600px) and (min-width:621px) {
    .booth-topbar {
        height: 64px
    }

    .booth-brand {
        top: 13px
    }

    .booth-workspace .instructions-stage {
        min-height: calc(100dvh - 64px);
        padding-block: 10px
    }

    .booth-workspace .instructions-card {
        width: min(760px, 100%);
        min-height: 0;
        padding: 22px 30px;
        gap: 18px
    }

    .booth-workspace .instruction-visual {
        height: min(31vh, 170px)
    }

    .booth-workspace .instruction-visual img {
        width: min(28vh, 170px)
    }
}

/* Five-second pre-interview countdown. */
.interview-countdown {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 12px;
    color: white;
    background: radial-gradient(circle at center, #18228Cdd, #070b14f2 68%);
    backdrop-filter: blur(8px)
}

.interview-countdown[hidden] {
    display: none
}

.interview-countdown span {
    min-width: 1.2em;
    text-align: center;
    font: 800 clamp(96px, 24vw, 240px)/1 Manrope, sans-serif;
    color: white;
    text-shadow: 0 0 32px #68DED2aa
}

.interview-countdown small {
    color: var(--accent);
    font: 700 clamp(15px, 2.2vw, 22px)/1.2 Manrope, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase
}

.interview-countdown .countdown-pop {
    animation: countdownPop .9s ease-out both
}

@keyframes countdownPop {
    0% {
        opacity: 0;
        transform: scale(.55)
    }

    22% {
        opacity: 1;
        transform: scale(1.08)
    }

    100% {
        opacity: .88;
        transform: scale(1)
    }
}

@media(prefers-reduced-motion:reduce) {
    .interview-countdown .countdown-pop {
        animation: none
    }
}
