/* OPTICAL interview only. Existing nodes, state, color and model remain shared. */
.optical-question-grid{display:none}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"]{overflow:auto;overscroll-behavior:auto;background:#171f23}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] .workspace,
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] .workspace>main{display:contents}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] .workspace>main>:not(#notice){display:none}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #notice{z-index:90;left:50%;bottom:24px;max-width:min(680px,calc(100% - 32px))}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell{position:relative;inset:auto;width:100%;height:auto;min-height:100svh;margin:0;overflow:visible;pointer-events:auto;background:radial-gradient(ellipse at 28% 26%,#34424a40,transparent 53%),#171f23}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .optical-question-grid{display:grid;grid-template-columns:minmax(0,.42fr) minmax(0,.58fr);align-items:start;gap:clamp(26px,3.4vw,64px);width:min(1536px,100%);margin:0 auto;padding:clamp(24px,3.1vw,52px) clamp(24px,3.7vw,64px) 48px;min-height:100svh}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #optical-question-portrait{position:sticky;top:24px;width:100%;height:auto;aspect-ratio:3 / 4;max-height:min(780px,calc(100svh - 48px));min-width:0;min-height:0;overflow:hidden;isolation:isolate;background:#242a2f;border-radius:1px}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #optical-question-portrait .interviewer-card{position:relative;inset:auto;z-index:auto;display:flex;flex-direction:column;width:100%;height:100%;min-height:0;margin:0;border:0;overflow:hidden;background:transparent;box-shadow:none}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #optical-question-portrait .studio-scene{position:relative;display:flex;flex-direction:column;width:100%;height:100%;min-height:0;border-radius:0;overflow:hidden;background:transparent}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #optical-question-portrait .stage{position:relative;flex:1 1 auto;width:100%;height:100%;min-height:0;margin:0;background:transparent}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #optical-question-portrait #avatar-canvas{position:absolute;inset:0;width:100%;height:100%;min-height:0;filter:none}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #optical-question-portrait #avatar-loading{inset:0;width:auto;height:auto;padding:24px;font-size:13px;line-height:1.9;background:transparent}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .optical-question-reading{position:relative;min-width:0;padding:4px 0 0;isolation:isolate}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .optical-question-reading::before{content:"";position:absolute;z-index:-1;top:18px;bottom:12%;left:-23px;width:10px;border-left:1px solid #b1c4c338;background:linear-gradient(112deg,#c9d8d51a,#718d9824 47%,transparent);transform:skewY(-14deg);pointer-events:none}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-header{position:relative;inset:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:20px;width:100%;min-width:0;min-height:0;margin:0;padding:0 0 26px;border-bottom:1px solid var(--op-line-soft);background:none}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-header::after{content:none}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-brand{min-width:0;gap:6px}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-eyebrow{font-size:9px;letter-spacing:.1em}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #focus-company{display:block;max-width:none;-webkit-line-clamp:unset;overflow:visible;text-overflow:clip;font-size:clamp(13px,1.1vw,16px);line-height:1.65;font-weight:500;overflow-wrap:anywhere;white-space:normal}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-role-line{display:flex;flex-wrap:wrap;gap:4px 12px;min-width:0}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #focus-role{max-width:none;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;font-size:11px;line-height:1.8}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-session-info{position:static;display:flex;flex-direction:column;align-items:flex-end;max-width:160px;min-width:0;padding:0;gap:6px;text-align:right}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #focus-progress{white-space:normal;font-size:11px;line-height:1.8;overflow-wrap:anywhere}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #focus-recording{max-width:100%;height:auto;min-height:26px;padding:4px 8px;white-space:normal;font-size:10px;line-height:1.7;overflow-wrap:anywhere}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-bottom{position:relative;inset:auto;left:auto;top:auto;display:flex;flex-direction:column;align-items:stretch;width:100%;max-width:52rem;min-width:0;margin:28px 0 0;padding:0;gap:0;background:none}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-question-card{position:static;inset:auto;left:auto;bottom:auto;width:100%;min-width:0;min-height:0;max-width:none;max-height:none;padding:0;margin:0;transform:none;overflow:visible;border:0;background:none;box-shadow:none;opacity:1}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-question-label{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-start;gap:6px 16px;font-size:11px;line-height:1.8;letter-spacing:.025em}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #focus-status{display:inline;max-width:100%;margin:0;font-size:11px;line-height:1.8;white-space:normal;overflow-wrap:anywhere}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #focus-question{position:static;inset:auto;width:100%;max-width:34em;height:auto;min-height:0;max-height:none;margin:14px 0 0;padding:0;font-size:clamp(21px,calc(1.5vw + 6px),29px);line-height:1.78;letter-spacing:-.025em;overflow:visible;overscroll-behavior:auto;white-space:pre-wrap;overflow-wrap:anywhere;transform:none;animation:none}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-brand.op-motion-focus-expand{animation:none;opacity:1;transform:none}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .checkpoint-status{max-width:100%;margin-top:14px;overflow-wrap:anywhere;white-space:normal}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #conversation-card{position:static;inset:auto;left:auto;bottom:auto;z-index:auto;width:100%;height:auto;min-height:0;max-width:none;max-height:none;margin:26px 0 0;padding:0;overflow:visible;transform:none;border:0;border-radius:0;box-shadow:none;background:none}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #answer-form{display:block;width:100%;min-width:0;margin:0;padding:0;border:0;background:none}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #answer-form>label{position:static;display:block;width:auto;height:auto;clip:auto;clip-path:none;overflow:visible;white-space:normal;margin:0 0 10px;font-size:12px;line-height:1.8}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #answer{box-sizing:border-box;width:100%;height:auto;min-height:132px;max-height:clamp(180px,35svh,340px);margin:0;padding:14px 16px;font-size:16px;line-height:1.8;overflow-y:auto;resize:vertical;background:#15242bd9;border:1px solid #718a8c;border-radius:2px}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .composer-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-width:0;margin:0;padding-top:12px}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #mic-button{justify-self:start;max-width:100%;min-width:0;min-height:44px;padding:6px 0;white-space:normal;overflow-wrap:anywhere;line-height:1.7;text-align:left}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .shortcut{margin:0;max-width:100%;font-size:10px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #send-button{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;height:auto;min-height:54px;min-width:0;max-width:100%;padding:13px 20px;font-size:14px;line-height:1.7;white-space:normal;overflow:visible;border-radius:2px}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .optical-send-label{min-width:0;overflow-wrap:anywhere}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .input-note{width:100%;margin:12px 0 0;padding:0;font-size:11px;line-height:1.85;text-align:left;overflow-wrap:anywhere}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .auto-answer-choice{max-width:100%;margin:14px 0 0;font-size:11px;line-height:1.8;white-space:normal}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-controls{position:static;inset:auto;display:flex;flex-wrap:wrap;align-items:stretch;justify-content:flex-start;gap:8px;width:100%;min-width:0;margin:22px 0 0;padding:18px 0 0;border-top:1px solid var(--op-line-soft);background:none}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-controls button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:44px;height:auto;max-width:100%;padding:10px 13px;font-size:12px;line-height:1.7;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #focus-end-button{margin-left:auto;min-width:min(140px,100%)}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .optical-motion-control--focus{flex-basis:100%;margin-top:6px}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .optical-motion-control--focus button{justify-content:flex-start;padding-left:0;padding-right:0;font-size:11px}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .live-microphone-panel{width:100%;max-width:100%;min-width:0;height:auto;margin-top:18px;padding:14px;overflow:visible;overflow-wrap:anywhere}
html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .microphone-settings :is(label,select,button){min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}

@media(max-width:760px){
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .optical-question-grid{grid-template-columns:minmax(0,.44fr) minmax(0,.56fr);gap:0;width:min(820px,100%);padding:0 20px 36px;align-items:start}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #optical-question-portrait{position:relative;top:auto;grid-column:2;grid-row:1;height:245px;aspect-ratio:auto;max-height:none;width:100%;margin:0;align-self:start;border-radius:0}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .optical-question-reading{display:contents}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .optical-question-reading::before{content:none}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-header{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:10px;width:100%;min-height:0;padding:22px 14px 20px 0;border:0}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-session-info{align-items:flex-start;max-width:100%;gap:5px;text-align:left}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-bottom{grid-column:1 / -1;grid-row:2;max-width:none;width:100%;margin:0;padding-top:25px;border-top:1px solid var(--op-line-soft)}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #focus-question{font-size:clamp(21px,2.6vw,25px);line-height:1.72;max-height:none}
}
@media(max-width:600px){
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .optical-question-grid{padding-left:max(18px,env(safe-area-inset-left,0px));padding-right:max(18px,env(safe-area-inset-right,0px));padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #optical-question-portrait{height:205px}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-header{padding-top:17px;padding-bottom:16px;padding-right:12px;gap:8px}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-eyebrow{font-size:8px;letter-spacing:.05em}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #focus-company{font-size:12px;line-height:1.65}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell :is(#focus-role,#focus-mode-label,#focus-progress){font-size:10px;line-height:1.7}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #focus-recording{font-size:9px;line-height:1.65;padding:3px 5px}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-bottom{padding-top:20px}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #focus-question{font-size:21px;line-height:1.7;letter-spacing:-.025em;margin-top:12px}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #conversation-card{margin-top:22px}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #answer{min-height:112px;font-size:16px;line-height:1.75;padding:12px 14px}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #send-button{min-height:52px;padding:12px 17px}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-controls{margin-top:18px;padding-top:16px;gap:8px}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell .focus-controls>button{flex:1 1 calc(50% - 8px);min-height:44px;font-size:11px;padding:9px 10px}
 html[data-design-theme="optical"] body.interview-focus[data-optical-question-layout="spatial"] #focus-shell #focus-end-button{flex-basis:100%;margin-left:0}
}
