/* Interview workbench: fixed answering area, contextual reading on the left. */
body[data-page="interview"] {--workbench-height:max(400px,calc(100dvh - 230px));}
body[data-page="interview"] .site-header {height:60px}
body[data-page="interview"] .workspace{max-width:1600px;margin:0 auto;padding:0 24px 16px}
.interview-heading{height:78px;min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;margin:0}
.interview-heading>div:first-child{display:flex;align-items:center;gap:14px;width:auto;padding:0}
.interview-heading .back-link{position:static;display:grid;place-items:center;height:36px;padding:0 10px;font-size:14px;white-space:nowrap}
.interview-heading h1{font-size:25px;line-height:1.35;letter-spacing:0;white-space:normal}.interview-heading h1 span{background:linear-gradient(180deg,#59ddf5 0%,#0095fa 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:#59ddf5!important;text-shadow:none!important}
.interview-heading p{font-size:14px;color:#9cb5d1;margin:3px 0 0}
.interview-tools{display:flex;align-items:center;gap:16px;flex-shrink:0}
.mode-switch{width:auto;min-width:216px;margin:0;display:flex;border-radius:12px;padding:3px;background:#0c203a}
.mode-switch button{font-size:14px;min-height:36px;padding:6px 16px;border-radius:9px;white-space:nowrap}
.mode-switch button:disabled{cursor:default;opacity:.65}.mode-switch button.selected:disabled{opacity:1}
.notes-trigger{display:flex;align-items:center;gap:6px;height:38px;padding:0 12px!important;font-size:14px;border-radius:10px}
.notes-trigger svg{width:17px;height:17px}#notes-indicator{width:5px;height:5px;background:#24d1fa;border-radius:50%}
.finish-interview{margin:0!important;font-size:14px;color:#98b1ce;white-space:nowrap}
.finish-interview:hover{color:#ff9baf}
.interview-status{display:flex;align-items:center;gap:24px;padding:12px 18px;margin:0 0 14px;min-height:66px;border-radius:14px;background:#071c31}
.status-role{display:flex;align-items:center;gap:10px;padding-right:24px;border-right:1px solid #1b3854;min-width:190px;max-width:40%}
.status-role .tile-icon{width:36px;height:36px;flex-shrink:0;border-radius:9px}.status-role .tile-icon svg{width:22px;height:22px}
.status-role h2{font-size:17px;margin:0;line-height:1.4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:300px}
.status-role p{font-size:12px;color:#8daac9;margin:2px 0 0;line-height:1.3}
.question-status{display:flex;align-items:center;gap:12px}.question-status h3{font-size:15px;margin:0 0 5px}
.question-dots{display:flex;gap:5px}.question-dots span{width:23px;height:4px;border-radius:8px}.question-dots span.filled{background:linear-gradient(90deg,#30d2f5,#2e8aff)}
.timer{display:flex;align-items:center;gap:10px;margin-left:auto;padding:0;background:none;border:0;white-space:nowrap}
.timer svg{width:21px;height:21px}.timer>span{font-size:13px;color:#9cb6d4}.timer strong{font-size:25px;line-height:1;font-variant-numeric:tabular-nums}.timer small{font-size:12px;color:#8daac9;margin-left:8px}
.interview-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:18px;align-items:stretch;height:var(--workbench-height)}
.interview-main{height:100%;min-height:0;overflow-y:auto;scrollbar-width:thin;padding:20px;display:flex;flex-direction:column;gap:16px;background:linear-gradient(140deg,#0a2037,#04172b);border-radius:16px}
.question-stage{display:grid;grid-template-columns:70px minmax(0,1fr);gap:17px;align-items:start;flex-shrink:0;padding:0;min-height:0}
.interviewer-portrait{width:70px;height:84px;min-height:0;max-height:none;position:relative;align-self:start;border-radius:12px;background-size:579.2px 434.4px;background-position:-21px -118px;overflow:hidden;box-shadow:0 0 15px #078fff20}
.interviewer-portrait>span{position:absolute;bottom:0;left:0;right:0;text-align:center;min-height:0;font-size:10px;line-height:1.3;background:#0d315e;padding:5px 0;white-space:nowrap}
.question-bubble{padding:0;min-height:0;max-height:min(35dvh,320px);border:0;border-radius:0;background:none;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#285579 transparent}
.question-bubble:before{display:none}.question-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.question-topline p{font-size:14px;line-height:1.5;color:#8caecd;margin:0}
#replay-question{display:flex;align-items:center;gap:5px;font-size:13px;color:#63c6f2;white-space:nowrap;flex-shrink:0;padding:4px 0}#replay-question svg{width:15px;height:15px}
.question-bubble h2{font-size:clamp(22px,1.75vw,28px);font-weight:650;line-height:1.65;margin:0;color:#eff5ff;letter-spacing:.2px;overflow-wrap:anywhere}
.conversation-region{display:flex;flex-direction:column;gap:12px;flex:1;min-height:100px;padding-top:16px;border-top:1px solid #1a3551}
.context-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;color:#92acc9}.context-heading h3{font-size:15px;font-weight:600;letter-spacing:0}.context-heading button{font-size:13px;color:#83b9dd;padding:0}
.context-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}
.conversation-region .conversation{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#285579 transparent;min-height:0;display:flex;flex-direction:column;gap:18px;margin:0;padding-right:6px}
.conversation-region.is-expanded{flex:1 0 auto}
.conversation-region.is-expanded .conversation{flex:1 0 auto;min-height:480px;max-height:760px}
.conversation-region .message{display:grid;grid-template-columns:50px minmax(0,1fr);gap:8px 10px;align-items:start}
.conversation-region .message-name{grid-column:1;grid-row:1 / 3;width:auto;font-size:12px;color:#84a3c4;line-height:1.6;padding-top:4px}
.conversation-region .message p{grid-column:2;min-height:0;font-size:16px;line-height:1.7;padding:10px 13px;margin:0;border-radius:10px;overflow-wrap:anywhere}
.conversation-region .message p:first-of-type{font-size:15px;color:#9cb6d4;background:#0c243d}
.conversation-region .message p:last-child{font-size:17px;color:#c5d6ec;background:#102b48}
.conversation .empty-note{font-size:15px;line-height:1.7;color:#7895b5;margin:0;padding:12px 0}
.answer-score-receipt{flex-shrink:0;margin:0;padding:8px 11px;font-size:13px;line-height:1.6;color:#97c7df;border-radius:9px;background:#0b253b;border:1px solid #1c445d}
.answer-workspace{height:100%;min-height:0;padding:20px;display:flex;flex-direction:column;border-radius:16px;background:linear-gradient(145deg,#09243f,#06192e);box-shadow:inset 0 1px 0 #174d702e}
.answer-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.answer-heading>div{display:flex;align-items:center;gap:10px}.answer-heading h2{font-size:19px;margin:0;line-height:1.4}.answer-heading-icon{width:31px;height:31px;display:grid;place-items:center;background:#103b62;border-radius:9px;color:#4ccfff}.answer-heading-icon svg{width:21px;height:21px}.input-method{font-size:12px;color:#8aaacc}
.recording-panel{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;overflow:hidden;padding:0;margin:0;border:0;box-shadow:none;background:none;border-radius:0}
.recording-label{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-height:36px;font-size:14px;line-height:1.5;color:#b4c8e3;padding:0 2px;flex-shrink:0}
.recording-label strong{font-weight:500;flex:1}.recording-label>i{width:8px;height:8px;background:#24c8f5;box-shadow:0 0 0 4px #155f8c40;flex-shrink:0}.recording-panel.live .recording-label>i{background:#ff557a;box-shadow:0 0 0 4px #8a244240}
#recording-time{font-size:13px;color:#67cef0;font-variant-numeric:tabular-nums}
.waveform{height:30px;min-height:30px;max-height:30px;flex:none;gap:5px;overflow:hidden;margin:0;display:flex;justify-content:center;align-items:center}
.waveform i{width:3px;height:calc(var(--height) * .4);flex-shrink:0}.recording-panel.paused .waveform{display:none}
#transcript[hidden]{display:none!important}
.answer-editor{position:relative;flex:1;min-height:100px;display:flex}
#answer-input{display:block;flex:1;width:100%;min-height:0;height:100%;margin:0;padding:16px 17px;resize:none;font-family:inherit;font-size:19px;line-height:1.75;color:#e2edff;background:#071a2d;border:1px solid #244a6d;border-radius:12px;outline:none;scrollbar-width:thin;scrollbar-color:#2b5b7d transparent;overscroll-behavior:contain}
#answer-input::placeholder{color:#6d8ba9}#answer-input:focus{border-color:#299cd3;box-shadow:0 0 0 3px #1988c518}
.latest-text{position:absolute;right:14px;bottom:12px;font-size:12px;color:#a7e9ff;background:#103b5d;border:1px solid #25658b;border-radius:24px;padding:7px 11px;box-shadow:0 4px 14px #0004}
.editor-meta{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#7195b4;min-height:20px;flex-shrink:0}.editor-meta #draft-status{font-size:12px;color:#8bb8d4;margin:0}
.answer-footer{flex-shrink:0;margin-top:10px;border-top:1px solid #183d59;padding-top:8px}
.answer-secondary{display:flex;align-items:center;gap:14px;min-height:40px}.answer-secondary button{font-size:14px;color:#a2bdd8;padding:8px 0;min-height:36px}.answer-secondary button:hover{color:#5ed5fa}.answer-secondary .skip-action{margin-left:auto;color:#8ea5c0}
.answer-actions{display:block;margin:0}.answer-actions .primary-button{width:100%;height:52px;min-height:48px;font-size:18px;font-weight:650;border-radius:11px;color:#fff;background:linear-gradient(100deg,#ff6d88,#ee285b);box-shadow:inset 0 1px 0 #ffd4de70,0 4px 17px #ee285b33}
.answer-actions .primary-button.is-recording{background:linear-gradient(100deg,#ff5d7c,#e4144c);color:#fff}.answer-actions .primary-button:disabled{opacity:.48;cursor:default}.answer-actions .primary-button:disabled[data-action="finish-question"]{cursor:progress}
#answer-action-help{font-size:12px;color:#799ab8;text-align:center;margin:9px 0 0;line-height:1.5;min-height:18px}
.coach-guidance,.coach-feedback{flex-shrink:0;border:1px solid #225076;border-radius:12px;background:#0b2944;overflow:hidden}
.coach-guidance>summary,.coach-feedback>summary{cursor:pointer;list-style:none;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px;color:#cae3fb;margin:0}
.coach-guidance summary::-webkit-details-marker,.coach-feedback summary::-webkit-details-marker{display:none}.coach-guidance summary>span:first-child{display:flex;align-items:center;gap:8px}.coach-guidance summary svg{width:19px;height:19px;color:#45cbff}.coach-guidance summary small{font-size:12px;font-weight:400;color:#84a9c8}.fold-indicator{color:#7ab6db}.coach-guidance[open] .fold-indicator,.coach-feedback[open] .fold-indicator{transform:rotate(180deg)}
.coach-guidance .intent-panel,.coach-guidance .structure-panel{padding:0 14px 12px;border:0;background:none;margin:0}.coach-guidance .intent-panel h3,.coach-guidance .structure-panel h3{font-size:14px;color:#9acbec}.coach-guidance .intent-panel p{font-size:15px;line-height:1.65;margin:6px 0 0;color:#b0c8df}.coach-guidance .section-title{margin:0 0 8px}.coach-guidance .section-title button{font-size:12px}.structure-list{margin:0;display:flex;flex-direction:column;gap:9px}.structure-list li{display:grid;grid-template-columns:23px 80px 1fr;gap:8px;align-items:start;font-size:14px}.structure-list li>b{width:22px;height:22px;font-size:12px}.structure-list li>strong{font-size:14px;line-height:1.6}.structure-list li>span{font-size:13px;line-height:1.6;color:#92b5d2}.answer-tips{display:block;padding:0 14px 12px;margin:0;border:0;background:none}.answer-tips .chips{display:flex;gap:6px;flex-wrap:wrap}.answer-tips .chips span{font-size:11px;padding:4px 8px}
.coach-feedback h2{font-size:15px!important;display:flex;align-items:center;gap:8px}.coach-feedback #issues-content{padding:0 12px 12px}.coach-feedback .issue-row{padding:10px;gap:9px}.coach-feedback .issue-row strong{font-size:14px}.coach-feedback .issue-row p{font-size:13px;line-height:1.7}.coach-feedback .issue-row>span{display:none}.coach-feedback .empty-note{font-size:14px;margin:0}
body[data-page="interview"][data-mode="formal"] .coach-guidance,body[data-page="interview"][data-mode="formal"] .coach-feedback{display:none!important}
.workbench-drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:440px;max-width:100%;padding:28px 24px;border:0;border-left:1px solid #285371;background:#071c30;color:#e9f3ff;box-shadow:-20px 0 80px #0005;overflow:auto}
.workbench-drawer::backdrop{background:#00101b99;backdrop-filter:blur(3px)}.workbench-drawer>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}.workbench-drawer h2{font-size:23px;margin:0 0 6px}.workbench-drawer header p{font-size:13px;color:#8daac7;margin:0}.workbench-drawer .icon-button{font-size:28px;line-height:1;padding:0 4px;color:#8eb7d7}.workbench-drawer #interview-notes{width:100%;height:calc(100dvh - 185px);min-height:220px;resize:none;padding:16px;font-family:inherit;font-size:17px;line-height:1.8;background:#061629;border:1px solid #284f72;border-radius:12px;color:#dfedff}.notes-save-state{font-size:12px;color:#8baecb}.history-drawer{width:620px}.history-turn{padding:0 0 20px;margin:0 0 20px;border-bottom:1px solid #21425c}.history-turn>span{font-size:12px;color:#68b9e4}.history-turn h3{font-size:17px!important;line-height:1.65;margin:9px 0!important}.history-turn p{padding:13px;font-size:17px;line-height:1.75;background:#0d2a45;border-radius:10px;color:#bfd5e9;overflow-wrap:anywhere}
.interview-empty{padding:64px 24px;text-align:center;min-height:420px;display:flex;align-items:center;flex-direction:column;justify-content:center}.empty-symbol{width:64px;height:64px;border:1px solid #21688b;border-radius:20px;display:grid;place-items:center;color:#54d5ff;background:#103450}.empty-symbol svg{width:33px;height:33px}.workbench-eyebrow{font-size:11px!important;letter-spacing:2px;color:#4db7dc!important;margin-top:20px!important}.interview-empty h2{font-size:27px;margin:0 0 14px}.interview-empty>p{font-size:16px;color:#92b4d1;max-width:540px;margin:0 0 24px;line-height:1.75}.interview-empty>a{padding:0 28px;display:flex;align-items:center;justify-content:center;gap:12px;height:50px;font-size:17px!important}.interview-empty .empty-footnote{font-size:12px;color:#698fac;margin:18px 0 0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body[data-page="interview"] [hidden]{display:none!important}
@media(min-width:981px) and (max-height:760px){.interview-heading{height:66px;min-height:66px}.interview-heading p{display:none}body[data-page="interview"]{--workbench-height:max(380px,calc(100dvh - 210px))}.interview-main,.answer-workspace{padding:16px}.question-bubble h2{font-size:22px}.question-topline{margin-bottom:8px}.interviewer-portrait{width:60px;height:73px;background-size:506.8px 380.1px;background-position:-18px -103px}.question-stage{grid-template-columns:60px minmax(0,1fr);gap:13px}.answer-heading{margin-bottom:7px}.answer-actions .primary-button{height:48px}.question-bubble{max-height:27dvh}}
@media(max-width:1200px) and (min-width:981px){.interview-tools{gap:10px}.mode-switch{min-width:188px}.mode-switch button{font-size:13px;padding:6px 12px}.interview-heading h1{font-size:23px}.interview-heading p{font-size:12px}.interview-main,.answer-workspace{padding:16px}.interview-layout{gap:14px}.timer small{display:none}.question-bubble h2{font-size:22px}.question-topline{flex-wrap:wrap;gap:3px}.status-role{max-width:36%}.status-role h2{max-width:220px}}
@media(max-width:980px){body[data-page="interview"] .workspace{padding:0 18px 20px;margin:0}.interview-heading{height:auto;min-height:88px;flex-wrap:wrap;gap:10px}.interview-heading p{display:none}.interview-tools{margin-left:auto;gap:12px}.interview-layout{height:auto;grid-template-columns:1fr}.interview-main{height:auto;max-height:none;overflow:visible}.question-bubble{max-height:none}.conversation-region{min-height:0}.conversation-region .conversation{max-height:240px}.answer-workspace{height:540px;min-height:480px}.timer>span,.timer small{display:none}.interview-status{gap:15px}.status-role{max-width:45%;min-width:0;padding-right:16px}.status-role h2{max-width:210px}.question-dots span{width:18px}.coach-guidance[open],.coach-feedback[open]{max-height:340px;overflow:auto}.question-bubble h2{font-size:23px}}
@media(max-width:600px){body[data-page="interview"] .site-header{height:104px}body[data-page="interview"] .header-inner{height:104px;padding-bottom:44px}body[data-page="interview"] .navigation{height:35px;bottom:5px}body[data-page="interview"] .workspace{padding:0 12px 16px;margin:0}.interview-heading{padding:14px 0 12px;gap:12px}.interview-heading>div:first-child{gap:9px}.interview-heading .back-link{height:28px;padding:0;border:0;background:none;font-size:12px}.interview-heading h1{font-size:21px}.interview-tools{width:100%;margin:0;gap:10px}.mode-switch{min-width:0;flex:1;max-width:210px}.mode-switch button{flex:1;min-height:32px;font-size:13px;padding:4px 8px}.notes-trigger{height:34px;font-size:13px;padding:0 8px!important}.notes-trigger svg{display:none}.finish-interview{font-size:12px;margin-left:auto!important}.interview-status{padding:11px 12px;gap:12px;min-height:65px;margin-bottom:12px}.status-role{max-width:40%;gap:0;padding-right:12px}.status-role .tile-icon{display:none}.status-role h2{font-size:14px;max-width:110px}.status-role p{font-size:10px}.question-status h3{font-size:12px}.question-dots{gap:3px}.question-dots span{width:10px;height:3px}.timer{gap:4px}.timer svg{display:none}.timer strong{font-size:20px}.interview-main,.answer-workspace{padding:15px;border-radius:14px}.interview-layout{gap:12px}.question-stage{grid-template-columns:42px minmax(0,1fr);gap:11px}.interviewer-portrait{width:42px;height:52px;background-size:362px 271.5px;background-position:-13px -74px;border-radius:9px}.interviewer-portrait>span{font-size:7px;padding:3px 0}.question-topline{display:block;margin-bottom:7px}.question-topline p{font-size:12px}.question-bubble h2{font-size:20px;line-height:1.65}#replay-question{font-size:12px;margin-top:4px}.conversation-region{padding-top:13px;gap:10px}.context-heading h3{font-size:14px}.context-heading button{font-size:12px}.conversation-region .conversation{max-height:170px}.conversation-region .message{grid-template-columns:1fr;gap:6px}.conversation-region .message-name{grid-column:1;grid-row:auto;font-size:11px}.conversation-region .message p{grid-column:1}.conversation-region .message p:first-of-type{font-size:14px}.conversation-region .message p:last-child{font-size:16px}.answer-workspace{height:560px;min-height:480px}.answer-heading h2{font-size:18px}.input-method{font-size:11px}.recording-label{font-size:13px}#answer-input{font-size:18px;padding:13px;line-height:1.7}.answer-actions .primary-button{height:50px;font-size:17px}.answer-secondary{gap:12px}.answer-secondary button{font-size:13px}#answer-action-help{font-size:11px}.coach-guidance summary>span:first-child{flex-wrap:wrap;gap:5px}.coach-guidance summary small{font-size:11px}.structure-list li{grid-template-columns:22px 1fr}.structure-list li>span{grid-column:2}.workbench-drawer{padding:24px 18px}.workbench-drawer h2{font-size:21px}.interview-empty{padding:44px 20px;min-height:380px}.interview-empty h2{font-size:23px}.interview-empty>p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.waveform i{animation:none!important}.workbench-drawer::backdrop{backdrop-filter:none}}

.finish-interview[aria-disabled="true"]{pointer-events:none;opacity:.45}
