/* New identity assets have unique URLs; historical prototype files stay archived. */
.editorial-landing .cinematic-landing .cinematic-photo-frame{left:44%;right:0;background:#aaa7a0}
.editorial-landing .cinematic-landing .cinematic-photo-frame [data-scene-image]{width:100%;height:100%;object-fit:contain;object-position:center bottom;transform:none!important;filter:none}
.cinematic-auth .auth-scene-photo{background:#a7a5a0}.cinematic-auth .auth-scene-photo [data-scene-image]{object-fit:contain;object-position:70% center;transform:none!important}
[data-cinematic-scene="portrait"] .scene-flame,[data-cinematic-scene="portrait"] .scene-reflection,[data-cinematic-scene="portrait"] .scene-rain,[data-cinematic-scene="portrait"] .scene-headlight{display:none}
#view-call #videoAvatar .live-portrait-shell{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;overflow:hidden;transform:none;box-shadow:none;background:#b7b4ad}
#view-call .call-avatar-photo{width:100%;height:100%;object-fit:contain;object-position:center;transform:none}
#anamVideo{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#adaaa5;z-index:3;cursor:pointer}#anamVideo[hidden]{display:none}
.anam-connected #videoAvatar{visibility:hidden}.anam-connected .call-caption{z-index:5;background:#15291fba;font-size:12px;max-height:3.4em;overflow:hidden}.anam-connected .call-badge{z-index:5}
.anam-session-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0;padding:16px;background:var(--surface-soft,#e5e9db);border:1px solid var(--border,#c9d1c0);border-radius:20px}.anam-session-controls button{min-height:44px}.anam-consent{display:flex;align-items:flex-start;gap:9px;width:100%;font-size:12px;line-height:1.5;color:var(--muted,#596752);cursor:pointer}.anam-consent input{margin-top:3px;width:17px;height:17px;flex-shrink:0}.anam-status{width:100%;font-size:12px;line-height:1.5;margin:0;color:var(--muted,#596752)}.anam-session-controls button[hidden]{display:none}
#view-call .anam-status{font:400 12px/1.5 Inter,system-ui,sans-serif;color:var(--muted,#596752);margin:0}
.anam-session-controls.is-connected .anam-consent,.anam-session-controls.is-connected #anamStart{display:none}
.anam-consent[hidden]{display:none}
.anam-call-active #answerAudio{display:none}
/* Keep text/background pairs together in both themes, including pastel covers. */
#appShell{--wx-muted:#566451}
#appShell .sidebar :is(.presence,#queueStatus){color:#b8c8b6}
#appShell .profile-initial{background:var(--wx-gold-soft);color:var(--wx-ink)}
#appShell .token-balance span{color:var(--wx-ink)}
#appShell #view-call .call-stage{background:linear-gradient(145deg,var(--wx-soft),var(--wx-gold-soft));color:var(--wx-ink)}
#appShell #view-call .call-panel{background:var(--wx-surface);color:var(--wx-ink)}
#appShell #view-call :is(.call-metrics>div,.call-history,.call-history-row){background:var(--wx-surface);color:var(--wx-ink);border-color:var(--wx-line)}
#appShell #view-call .call-metrics :is(strong,span),#appShell #view-call .call-history :is(p,summary,strong,button){color:var(--wx-ink)}
#appShell #view-call .call-history small,#appShell #view-call .messages.compact .message>strong{color:var(--wx-muted);opacity:1}
#appShell #view-call:not([data-has-audio="true"]) #answerAudio{display:none}
#appShell #view-call .call-status-board{background:var(--wx-surface);color:var(--wx-ink)}
#appShell #view-call .call-status-board #status{color:var(--wx-ink);font-size:14px}
#appShell #view-call .call-status-board strong{color:var(--wx-muted);opacity:1}
#appShell #view-call .call-room-intro{background:var(--wx-gold-soft);color:var(--wx-ink)}
#appShell #view-call .call-room-intro :is(h3,p){color:var(--wx-ink)}
#appShell #view-call .anam-session-controls{background:var(--wx-surface);border-color:var(--wx-line)}
#appShell #view-call :is(.anam-status,.anam-consent){color:var(--wx-muted)}
#appShell #view-call .anam-consent a{color:var(--wx-ink);text-decoration:underline}
#appShell .soft-label{color:var(--wx-ink);background:var(--wx-soft)}
#appShell :is(.pf-cover,.test-card,.assessment-spotlight,.achievement-row.unlocked) :is(h2,h3,strong,p,small,.pf-cover-symbol,.test-card-kicker,.test-card-footer){color:#20362d;opacity:1}
/* The reply has its own row, so it never covers the face or the photograph. */
#appShell #view-call .call-caption{position:relative;inset:auto;transform:none;width:auto;max-width:100%;margin:10px 0;max-height:5.8em;overflow:auto;box-sizing:border-box;background:var(--wx-surface);color:var(--wx-ink);border:1px solid var(--wx-line);font:400 13px/1.5 Inter,system-ui,sans-serif}
#appShell .wx-discovery{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
#appShell .wx-scene{display:flow-root;min-width:0}
#appShell .wx-bubble{clear:both;overflow-wrap:anywhere}
#appShell .wx-bubble-own small{color:var(--wx-ink)}
.editorial-landing .voice-screen .message-user{color:#192e24}
.editorial-landing .voice-screen .message-zinaida{display:grid;grid-template-columns:44px minmax(0,1fr);min-width:0;color:#f8f6ef}
.editorial-landing .voice-screen .message-zinaida img{position:static;grid-column:1;min-width:0}
.editorial-landing .voice-screen .message-zinaida>div,.editorial-landing .voice-screen .message-zinaida>p{grid-column:2;min-width:0;margin:0;overflow-wrap:anywhere}
.editorial-landing .voice-screen .message{hyphens:none}
@media(max-width:960px){#appShell .wx-discovery{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){
 .editorial-landing .voice-screen .message-zinaida{grid-template-columns:28px minmax(0,1fr)}
 .editorial-landing .voice-screen .message-question{display:none}
 .editorial-landing .cinematic-landing{display:flex;flex-direction:column;height:auto;min-height:0;padding-top:calc(56px + env(safe-area-inset-top));overflow:hidden}
 .editorial-landing .cinematic-landing .cinematic-photo-frame{position:relative;inset:auto;left:auto;right:auto;width:100%;height:38svh;min-height:260px;max-height:430px;margin:0;flex:none}
 .editorial-landing .cinematic-landing::after{display:none}
 .editorial-landing .cinematic-landing .hero-copy{position:relative;inset:auto;width:100%;height:auto;max-width:none;padding:24px 20px 32px}
 .editorial-landing .cinematic-landing h1{font-size:clamp(30px,8.2vw,38px);line-height:1.02;margin:0 0 15px}
 .editorial-landing .cinematic-landing .hero-truth{font-size:15px;line-height:1.5}
 .editorial-landing .cinematic-landing .hero-promise{font-size:14px;margin-top:12px}
 .editorial-landing .cinematic-landing .hero-actions{margin-top:18px;gap:8px}
 .editorial-landing .cinematic-landing .hero-actions .primary-cta{width:100%}
 .editorial-landing .cinematic-landing .cinematic-facts,.editorial-landing .cinematic-landing .cinematic-lab-link{display:none}
 .cinematic-auth .auth-scene-photo [data-scene-image]{object-fit:contain;object-position:center}
 #authScreen.cinematic-auth .auth-scene-photo [data-scene-image],#hero.cinematic-landing .cinematic-photo-frame [data-scene-image]{object-fit:cover!important;object-position:50% 0%!important;transform:none!important}
 #view-call .video-frame{height:clamp(260px,42svh,440px);min-height:0;max-height:440px}
 #anamVideo{object-fit:cover;object-position:50% 30%}
 .anam-session-controls{padding:13px;gap:8px}.anam-session-controls button{flex:1;padding:10px 12px;font-size:12px}.anam-consent{font-size:12px}
}

@media (max-width:760px) and (max-height:680px) {
  #view-call .call-stage{display:flex;flex-direction:column;gap:8px}
  #view-call :is(.call-mode-switch,.anam-session-controls){order:-2;margin-block:0}
  #view-call .call-buttons{order:-1;margin-block:0}
  #view-call .call-buttons button{min-height:44px}
  #view-call .call-stage .video-frame{flex:none}
}
