/* Entry: a broad space. Interview: the partner and words share one plane. */
html[data-design-theme="optical"] .access-screen{background:var(--op-ground);color:var(--op-ink);isolation:isolate;align-content:center;min-height:100svh;overflow:auto}
html[data-design-theme="optical"] .access-screen::before{content:none}
html[data-design-theme="optical"] .access-brand{align-self:flex-start;margin-left:max(6vw,25px);margin-bottom:20px;text-align:left}
html[data-design-theme="optical"] .theme-entry-stage{display:block;position:fixed;inset:var(--preview-bar,0px) 0 0;z-index:-1;pointer-events:none}
html[data-design-theme="optical"] .theme-entry-stage #avatar-canvas{position:absolute;inset:0;width:100%;height:100%;filter:none}
html[data-design-theme="optical"] .access-card{width:min(500px,44vw);max-width:500px;margin:0 auto 0 max(6vw,25px);border:1px solid #61757c7a;border-radius:3px;padding:38px;background:linear-gradient(125deg,#1a282eea,#203038c9);box-shadow:0 25px 90px #07121726;backdrop-filter:none;color:#e3e7df;text-align:left}
html[data-design-theme="optical"] .access-card h1,html[data-design-theme="optical"] .access-card h2{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:30px;font-weight:400;line-height:1.6;letter-spacing:-.03em}
html[data-design-theme="optical"] .access-card .access-description,html[data-design-theme="optical"] .remote-entry-detail{color:#c3cfcc;line-height:1.95;font-size:13px}
html[data-design-theme="optical"] .access-footer{position:relative;z-index:1;max-width:500px;margin:24px auto 0 max(6vw,25px);color:#b5c6c7;text-align:left;font-size:11px}
html[data-design-theme="optical"] .access-brand{color:#dbe3df;letter-spacing:.1em}
html[data-design-theme="optical"] .remote-entry-summary{border-color:#536b72;color:#c4d3d0}
html[data-design-theme="optical"] .remote-entry-notice{background:#1d3038a3;border:1px solid #526b72;color:#c1d0ce}
html[data-design-theme="optical"] .remote-entry .candidate-guide,html[data-design-theme="optical"] .candidate-legal-summary{background:#21353c;color:#dbe2db;border-color:#566d73}
html[data-design-theme="optical"] .remote-entry [role="status"],html[data-design-theme="optical"] .access-note{color:#b3c9c9}
html[data-design-theme="optical"] .remote-entry a,html[data-design-theme="optical"] .participant-legal-links button{color:#dce4dd;text-decoration-color:#7b989d}
html[data-design-theme="optical"] .access-error{color:#edc1b0}
html[data-design-theme="optical"] .access-card .remote-entry-notice:not(.is-warning){background:#23373d;color:var(--op-muted);border-color:var(--op-line-soft);padding:12px 14px;font-size:11px;line-height:1.85;border-radius:2px}
.optical-entry-disclosure{margin:0}.optical-entry-disclosure>summary{display:none}
html[data-design-theme="optical"] .optical-entry-disclosure{border-block:1px solid var(--op-line);margin:17px 0;padding:0}
html[data-design-theme="optical"] .optical-entry-disclosure>summary{display:list-item;padding:12px 0;font-size:11px;line-height:1.8;color:var(--op-link);cursor:pointer}
html[data-design-theme="optical"] .applicant-operator-info{background:var(--op-surface);color:var(--op-ink);border-color:var(--op-line-soft);border-radius:2px;font-size:11px}
html[data-design-theme="optical"] .applicant-operator-info p{color:var(--op-muted);font-size:11px;line-height:1.85}
html[data-design-theme="optical"] .participant-start-notice{background:transparent;color:var(--op-muted);border:0;padding:4px 0;font-size:11px;line-height:1.9;border-radius:0}
html[data-design-theme="optical"] .participant-start-notice button{color:var(--op-link)}
html[data-design-theme="optical"] .participant-legal-dialog,html[data-design-theme="optical"] .participant-legal-shell,html[data-design-theme="optical"] .participant-legal-scroll,html[data-design-theme="optical"] .participant-legal-panel{background:var(--op-surface);color:var(--op-ink);border-color:var(--op-line)}
html[data-design-theme="optical"] .participant-legal-heading,html[data-design-theme="optical"] .participant-legal-tabs,html[data-design-theme="optical"] .participant-legal-footer{background:var(--op-raised);color:var(--op-ink);border-color:var(--op-line)}
html[data-design-theme="optical"] .participant-legal-dialog :is(h1,h2,h3,strong),html[data-design-theme="optical"] .participant-legal-document-title{color:var(--op-ink)}
html[data-design-theme="optical"] .participant-legal-tab{color:var(--op-muted);background:transparent}
html[data-design-theme="optical"] .participant-legal-tab[aria-selected="true"]{color:var(--op-ink);background:var(--op-hover)}
html[data-design-theme="optical"] .participant-legal-page{background:var(--op-ground);color:var(--op-ink)}
html[data-design-theme="optical"] .participant-legal-page-main{background:var(--op-surface);border-color:var(--op-line)}
html[data-design-theme="optical"] .participant-legal-page :is(p,li,dt,dd){color:var(--op-muted)}
html[data-design-theme="optical"] .participant-legal-page :is(h1,h2,h3){color:var(--op-ink)}
html[data-design-theme="optical"] .participant-legal-page a,html[data-design-theme="optical"] .participant-legal-dialog a{color:var(--op-link)}

html[data-design-theme="optical"] body.interview-focus{background:#171f23;overflow:auto;color:#e3e7df}
html[data-design-theme="optical"] body.interview-focus .interviewer-card{inset:var(--preview-bar,0px) 0 0;height:calc(100dvh - var(--preview-bar,0px));background:#242a2f}
html[data-design-theme="optical"] body.interview-focus .interviewer-card .studio-scene{height:100%;position:relative;border-radius:0}
html[data-design-theme="optical"] body.interview-focus .interviewer-card .stage{height:100%;background:transparent}
html[data-design-theme="optical"] body.interview-focus .stage-orb,html[data-design-theme="optical"] body.interview-focus .floor-ring{display:none}
html[data-design-theme="optical"] body.interview-focus .focus-shell{inset:var(--preview-bar,0px) 0 0;height:calc(100dvh - var(--preview-bar,0px));color:#e3e7df;overflow:auto;pointer-events:none}
html[data-design-theme="optical"] .focus-header{background:none;padding:27px 34px;min-height:92px}
html[data-design-theme="optical"] #focus-company{color:#dce5df;font-size:13px;font-weight:500}
html[data-design-theme="optical"] #focus-role,html[data-design-theme="optical"] #focus-progress,html[data-design-theme="optical"] .focus-eyebrow{color:#b0c0c1}
html[data-design-theme="optical"] #focus-recording{background:#24343b;border-color:#647b80;color:#bdcdca}
html[data-design-theme="optical"] .focus-intro{display:none}
html[data-design-theme="optical"] .focus-bottom{position:relative;inset:auto;left:48%;top:120px;width:46%;padding:0 0 40px;display:flex;align-items:stretch;gap:0;background:none;pointer-events:auto}
html[data-design-theme="optical"] .focus-question-card{width:100%;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;color:#e3e7df}
html[data-design-theme="optical"] .focus-question-label{color:#c1d0cd;font-size:11px;font-weight:400;justify-content:flex-start;gap:18px;letter-spacing:.02em}
html[data-design-theme="optical"] #focus-status{color:#b5cbca;font-size:11px}
html[data-design-theme="optical"] #focus-question{color:#e6e8e1;font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:25px;font-weight:400;letter-spacing:-.035em;line-height:1.8;max-height:240px;overflow:auto;margin:22px 0 0;scrollbar-color:#738e92 transparent}
html[data-design-theme="optical"] body.interview-focus.focus-input-open .focus-bottom>.conversation-card{position:static;inset:auto;left:auto;bottom:auto;transform:none;width:100%;max-width:none;max-height:none;height:auto;min-height:0;margin:26px 0 0;padding:0;display:flex;background:none;border:0;border-radius:0;box-shadow:none;overflow:visible;pointer-events:auto}
html[data-design-theme="optical"] body.interview-focus.focus-input-open .focus-bottom .composer{width:100%;padding:0}
html[data-design-theme="optical"] body.interview-focus .composer textarea{color:#ecede5;background:#17242c8a;border:0;border-bottom:1px solid #90a3a4;border-radius:0;padding:14px 16px;font-size:15px;line-height:1.9;min-height:132px;max-height:220px;resize:vertical}
html[data-design-theme="optical"] body.interview-focus .composer-bottom{margin-top:10px;gap:10px}
html[data-design-theme="optical"] body.interview-focus .send-button{border-radius:0;background:#d8dfd6;color:#223139;min-height:44px;min-width:68px;box-shadow:none}
html[data-design-theme="optical"] .focus-controls{justify-content:flex-start;gap:7px;margin-top:18px}
html[data-design-theme="optical"] .focus-controls button{color:#c3d2cf;background:#20323b99;border:1px solid #617980;border-radius:2px;font-size:11px;box-shadow:none;min-height:39px}
html[data-design-theme="optical"] #focus-mic-button{color:#e2ebe1;background:#35534f;border-color:#758f89}
html[data-design-theme="optical"] #focus-end-button{color:#e4c9b5;background:transparent;border-color:#8d7b6f}
html[data-design-theme="optical"] .checkpoint-status{color:#adc7bd;background:transparent;border-color:#556f71}
html[data-design-theme="optical"] .checkpoint-status[data-state="delayed"]{color:#e2c191}
html[data-design-theme="optical"] .live-microphone-panel{background:#20333b;border-color:#536b73;color:#dce4de;margin-top:15px}
html[data-design-theme="optical"] .live-microphone-panel [role="status"]{color:#c3d4d1}
html[data-design-theme="optical"] .live-microphone-panel meter{accent-color:#abc4b6}
html[data-design-theme="optical"] body.interview-focus .input-note{color:#b2c5c6;font-size:10px;line-height:1.8}
html[data-design-theme="optical"] body.interview-focus .preview-fill{color:#c5d2ce;background:transparent;border:0;border-bottom:1px solid #6b8589;border-radius:0;padding:5px 0}
html[data-design-theme="optical"] .focus-controls :focus-visible,html[data-design-theme="optical"] .composer :focus-visible{outline:2px solid #f0dec0;outline-offset:4px}
html[data-design-theme="optical"] .applicant-countdown{color:#edf0e5;background:#1b2f36;border:1px solid #6b8589}

@media(max-height:780px) and (min-width:801px){html[data-design-theme="optical"] .focus-bottom{top:99px}html[data-design-theme="optical"] #focus-question{font-size:22px;max-height:180px}html[data-design-theme="optical"] body.interview-focus .composer textarea{min-height:105px}}
@media(max-width:800px){html[data-design-theme="optical"] .access-screen{padding:calc(var(--preview-bar,0px) + 30px) 18px 30px;display:block}html[data-design-theme="optical"] .theme-entry-stage{height:370px;bottom:auto}html[data-design-theme="optical"] .access-card{width:100%;max-width:600px;margin:310px auto 0;padding:25px;background:#1e3038ed}html[data-design-theme="optical"] .access-footer{margin:20px auto 0;max-width:600px}html[data-design-theme="optical"] .access-card h2{font-size:26px}}
@media(max-width:700px){html[data-design-theme="optical"] body.interview-focus{overflow:auto}html[data-design-theme="optical"] body.interview-focus .focus-shell{position:relative;inset:auto;margin-top:var(--preview-bar,0px);height:auto;min-height:calc(100svh - var(--preview-bar,0px));overflow:visible;pointer-events:auto;padding-bottom:24px}html[data-design-theme="optical"] body.interview-focus .interviewer-card{position:absolute;inset:var(--preview-bar,0px) 0 auto;height:350px;z-index:30}html[data-design-theme="optical"] .focus-header{position:relative;padding:18px 19px 0;min-height:76px;gap:12px}html[data-design-theme="optical"] .focus-session-info{padding-top:0;gap:4px}html[data-design-theme="optical"] #focus-recording{font-size:9px;min-height:22px;padding:2px 6px}html[data-design-theme="optical"] #focus-company{font-size:11px;max-width:180px}html[data-design-theme="optical"] #focus-role{font-size:9px}html[data-design-theme="optical"] .focus-bottom{left:auto;top:auto;width:auto;margin:22px 19px 0;padding-bottom:20px}html[data-design-theme="optical"] .focus-question-card{width:54%;min-height:242px}html[data-design-theme="optical"] .focus-question-label{display:block;font-size:9px}html[data-design-theme="optical"] #focus-status{display:flex;justify-content:flex-start;font-size:9px;margin-top:6px}html[data-design-theme="optical"] #focus-question{font-size:18px;line-height:1.7;margin-top:15px;max-height:260px}html[data-design-theme="optical"] body.interview-focus.focus-input-open .focus-bottom>.conversation-card{margin-top:23px}html[data-design-theme="optical"] body.interview-focus .composer textarea{font-size:16px;line-height:1.7;min-height:108px}html[data-design-theme="optical"] .focus-controls{gap:6px;margin-top:13px}html[data-design-theme="optical"] .focus-controls button{min-height:38px;font-size:10px;padding:8px 11px}html[data-design-theme="optical"] .live-microphone-panel{width:185%;max-width:calc(100vw - 38px)}html[data-design-theme="optical"] #focus-question:focus-visible{outline:2px solid #f0dec0;outline-offset:4px}}

/* Explicitly outrank the existing focus/input-open layout without weakening
   its hidden/disabled rules. The actual form and all its handlers are shared. */
html[data-design-theme="optical"] body.interview-focus .interviewer-card .studio-scene>.stage>#avatar-canvas{left:0;right:0;top:0;bottom:0;width:100%;height:100%;min-height:0;filter:none}
html[data-design-theme="optical"] body.interview-focus #focus-shell .focus-header{background:none;position:absolute;inset:0 0 auto;padding:27px 34px;min-height:92px}
html[data-design-theme="optical"] body.interview-focus #focus-shell .focus-bottom{position:relative;inset:auto;left:48%;top:120px;width:46%;max-width:none;margin:0;padding:0 0 40px;display:flex;flex-direction:column;align-items:stretch;gap:0;background:none;pointer-events:auto}
html[data-design-theme="optical"] body.interview-focus #focus-shell .focus-question-card{position:static;inset:auto;left:auto;bottom:auto;transform:none;width:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:none;backdrop-filter:none;opacity:1}
html[data-design-theme="optical"] body.interview-focus #focus-shell #focus-question{position:static;inset:auto;width:auto;max-width:none;margin:22px 0 0;max-height:240px;padding:0;overflow:auto;white-space:normal;color:var(--op-ink);font-family:var(--op-focus-font);font-size:25px;line-height:1.8;font-weight:400}
html[data-design-theme="optical"] body.interview-focus #focus-shell #conversation-card{position:static;inset:auto;left:auto;bottom:auto;transform:none;width:100%;height:auto;min-height:0;max-height:none;margin:25px 0 0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;overflow:visible}
html[data-design-theme="optical"] body.interview-focus #focus-shell #answer-form{width:100%;padding:0;margin:0;background:none;border:0;box-shadow:none}
html[data-design-theme="optical"] body.interview-focus #focus-shell #answer{width:100%;color:#edf0e7;background:#17242c9e;border:0;border-bottom:1px solid #90a3a4;border-radius:0;padding:14px 16px;font-size:15px;line-height:1.9;min-height:132px;max-height:220px;opacity:1}
html[data-design-theme="optical"] body.interview-focus #focus-shell #answer::placeholder{color:#adc0bf;opacity:1}
html[data-design-theme="optical"] body.interview-focus #focus-shell .composer-bottom{background:none;border:0;padding:10px 0 0;margin:0;gap:12px}
html[data-design-theme="optical"] body.interview-focus #focus-shell #answer-form>label{position:static;display:block;clip:auto;clip-path:none;overflow:visible;width:auto;height:auto;margin:0 0 10px;white-space:normal;color:var(--op-muted);font-size:11px}
.optical-send-label{display:none}
html[data-design-theme="optical"] .optical-send-label{display:inline}
html[data-design-theme="optical"] body.interview-focus #focus-shell #send-button{color:var(--op-paper-ink);background:var(--op-paper);border:1px solid var(--op-paper);width:auto;min-width:150px;min-height:44px;padding:9px 15px;display:flex;gap:20px;justify-content:space-between;align-items:center;border-radius:0;box-shadow:none}
html[data-design-theme="optical"] body.interview-focus #focus-shell .focus-controls{position:static;inset:auto;justify-content:flex-start;margin:18px 0 0;padding:0;background:none}
@media(min-width:701px){
 html[data-design-theme="optical"] body.interview-focus #focus-shell .focus-header{left:48%;right:6%;width:auto;padding:25px 0 0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start;border:0}
 html[data-design-theme="optical"] body.interview-focus #focus-shell .focus-session-info{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;max-width:140px;padding-top:0;gap:5px}
}
@media(max-width:700px){
 html[data-design-theme="optical"] body.interview-focus #focus-shell .focus-header{position:relative;inset:auto;padding:18px 19px 0;min-height:76px}
 html[data-design-theme="optical"] body.interview-focus #focus-shell .focus-bottom{left:auto;top:auto;width:auto;margin:22px 19px 0;padding:0 0 20px}
 html[data-design-theme="optical"] body.interview-focus #focus-shell .focus-question-card{width:54%;min-height:242px}
 html[data-design-theme="optical"] body.interview-focus #focus-shell #focus-question{font-size:18px;line-height:1.7;margin-top:15px;max-height:260px}
 html[data-design-theme="optical"] body.interview-focus #focus-shell #answer{font-size:16px;line-height:1.7;min-height:108px}
 html[data-design-theme="optical"] body.interview-focus #focus-shell #conversation-card{margin-top:23px}
}
/* State surfaces must stay readable over both portrait and plain canvas. */
html[data-design-theme="optical"] body.interview-focus #focus-shell .live-microphone-panel{background:#21343bee;color:var(--op-ink);border:1px solid var(--op-line);border-radius:2px;backdrop-filter:none}
html[data-design-theme="optical"] body.interview-focus #focus-shell .live-microphone-panel :is(p,span,summary,strong,label){color:var(--op-ink)}
html[data-design-theme="optical"] body.interview-focus #focus-shell .focus-controls button{background:#23353b;color:#d5ded8;border:1px solid #73898c;border-radius:2px;box-shadow:none}
html[data-design-theme="optical"] body.interview-focus #focus-shell #focus-end-button{background:transparent;color:#efd0b9;border-color:#9b8878}
html[data-design-theme="optical"] body.interview-focus #focus-shell .focus-controls button:hover:enabled{background:#354b51;color:#fff}
@media(max-width:700px){
 html[data-design-theme="optical"] .theme-entry-stage{height:245px}
 html[data-design-theme="optical"] .access-brand{margin-left:0;margin-bottom:12px}
 html[data-design-theme="optical"] .access-card{margin-top:178px;padding:22px}
 html[data-design-theme="optical"] .access-card h2{font-size:22px;line-height:1.55;margin-top:0}
 html[data-design-theme="optical"] .remote-entry-detail{font-size:12px;line-height:1.85}
 html[data-design-theme="optical"] .remote-entry-summary{font-size:11px;padding-block:13px}
 html[data-design-theme="optical"] .access-card .remote-entry-notice:not(.is-warning){font-size:10px;line-height:1.75;padding:10px}
 html[data-design-theme="optical"] .optical-entry-disclosure{margin:12px 0}
 html[data-design-theme="optical"] .participant-start-notice{font-size:10px;line-height:1.7}
}
html[data-design-theme="optical"] .remote-entry .remote-status:empty{display:none}
html[data-design-theme="optical"] .remote-entry-summary:empty{display:none}
@media(max-width:700px){html[data-design-theme="optical"] .remote-entry h2{margin-bottom:12px}html[data-design-theme="optical"] .remote-entry-detail{margin-block:8px}}
@media(max-width:700px){html[data-design-theme="optical"] .theme-entry-stage{height:225px}html[data-design-theme="optical"] .access-card{margin-top:158px}}
/* Keep the one loading/error notice beside the retained model at the entry. */
html[data-design-theme="optical"] .theme-entry-stage #avatar-loading{inset:0 3% 0 54%;width:auto;height:auto;padding:25px;z-index:2;color:var(--op-ink);background:transparent;text-align:center;font-size:13px;line-height:1.9}
html[data-design-theme="optical"] .theme-entry-stage #avatar-loading :is(p,strong,span){color:var(--op-ink)}
@media(max-width:700px){html[data-design-theme="optical"] .theme-entry-stage #avatar-loading{inset:0;padding:35px 25px 10px;font-size:12px}}
/* Keep the fallback within the portrait area, beside the live question. */
html[data-design-theme="optical"] body.interview-focus #avatar-loading{inset:0 54% 0 0;width:auto;height:auto;padding:24px;color:var(--op-ink);background:transparent;text-align:center;font-size:13px;line-height:1.9}
html[data-design-theme="optical"] body.interview-focus #avatar-loading :is(p,strong,span){color:var(--op-ink)}
@media(max-width:700px){html[data-design-theme="optical"] body.interview-focus #avatar-loading{inset:95px 3% 0 58%;padding:12px 4px;font-size:11px}}
/* The inherited composer rule disables outlines with !important. */
html[data-design-theme="optical"] body.interview-focus #focus-shell #answer:focus-visible{outline:2px solid var(--op-focus)!important;outline-offset:4px}
.avatar-loading[data-model-notice="deferred"]>.loader{display:none}
