:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:#eaf1ed;background:#0c1d20;color-scheme:dark}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;padding:20px max(20px,env(safe-area-inset-right));border-bottom:1px solid #294146;gap:16px}header span,.muted{color:#aebfba}main{max-width:1200px;margin:auto;padding:32px max(20px,env(safe-area-inset-left)) max(30px,env(safe-area-inset-bottom))}.intro{max-width:760px;margin-bottom:32px}h1{font-size:clamp(38px,6vw,68px);line-height:1.05;letter-spacing:-.045em;margin:20px 0}h1 span{display:block;color:#e3bc80}p{line-height:1.65}.eyebrow{color:#e3bc80;text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:700}.layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:30px}aside img{width:100%;border-radius:18px}aside,section{min-width:0}.panel{padding:24px;border:1px solid #365055;border-radius:20px;background:#13282b}button,.button,summary{min-height:44px;font:inherit;font-size:16px;cursor:pointer}button,.button{display:inline-flex;align-items:center;justify-content:center;background:#e3bc80;color:#102125;border:1px solid transparent;border-radius:9px;padding:11px 16px;text-decoration:none}button:disabled{opacity:.5;cursor:not-allowed}button:hover:not(:disabled),.button:hover{background:#efd1a4;color:#102125}textarea{display:block;width:100%;font:inherit;font-size:16px;line-height:1.5;padding:14px;background:#0c1d20;color:#fff;border:1px solid #527275;border-radius:10px;margin:10px 0 14px;resize:vertical}.examples,.voice{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0}.examples button,.voice button,#logout{background:#243e42;color:#eee;border-color:#527275;font-size:14px}.turn{padding:18px 0;border-bottom:1px solid #365055;overflow-wrap:anywhere}.turn h3{font-size:16px;color:#e3bc80}.turn pre{white-space:pre-wrap;font:inherit;line-height:1.6}details{margin:16px 0}summary{padding:10px 0;color:#e3bc80}dt{font-weight:700;margin-top:15px}dd{margin:4px 0;overflow-wrap:anywhere;font-size:14px;color:#bbccc6}.exports{display:flex;flex-wrap:wrap;gap:7px}.exports button{background:#244b4c;color:#fff;font-size:14px}a{color:#e3bc80}:focus-visible{outline:3px solid #ffcf79;outline-offset:3px}.skip{position:absolute;top:-90px}.skip:focus{top:4px}.login{max-width:680px;padding-top:12vh}#status{padding:12px;background:#203b3b;border-radius:8px;margin-top:0}@media(max-width:760px){.layout{grid-template-columns:1fr}.intro{margin-bottom:24px}aside img{max-width:180px;float:left;margin:0 18px 12px 0}aside details{clear:both}.panel{padding:16px}main{padding-top:20px}header{flex-wrap:wrap}h1{font-size:42px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.login input{display:block;width:100%;min-height:48px;padding:12px;font:inherit;font-size:16px;background:#13282b;color:#eaf1ed;border:1px solid #527275;border-radius:9px;margin:8px 0 20px}
/* Executive voice stage: all rules scoped to preserve enrollment/sign-in. */
[hidden]{display:none!important}.voice-first{background:#080d0d}.experience{max-width:none;padding:0;margin:0}.ruben-stage{position:relative;height:100svh;height:100dvh;min-height:420px;overflow:hidden;isolation:isolate;background:#101b19}.ruben-portrait{position:absolute;width:100%;height:100%;object-fit:contain;object-position:center;background:#101b19}.stage-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.7),transparent 25%,transparent 55%,rgba(0,0,0,.88));pointer-events:none}.stage-header{position:absolute;inset:0 0 auto;border:0;padding:max(20px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) 0 max(24px,env(safe-area-inset-left));align-items:flex-start}.stage-header h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.04em;font-size:44px;margin:6px 0}.stage-header .eyebrow{font-size:10px;color:#e1d4bc}.voice-first button{min-height:48px}.stage-header button,.voice-controls button{background:#132321e6;color:#fff;border:1px solid #aebfba70;border-radius:999px;backdrop-filter:blur(12px)}.stage-bottom{position:absolute;bottom:0;width:100%;padding:16px max(20px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));text-align:center}.voice-first #status{background:transparent;margin:0 auto 12px;padding:0;max-width:650px;font-size:15px;line-height:1.45;text-shadow:0 2px 10px #000}.voice-controls{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.voice-controls #mic{background:#e3bc80;color:#102125;min-width:155px;font-weight:650}.voice-controls #mic[aria-pressed=true]{background:#e79b8f}.voice-controls #sound[aria-pressed=true]{border-color:#e3bc80;color:#ffe0ac}.stage-hint{font-size:12px;color:#d3d9d2;margin:10px 0 0}.workspace{position:fixed;z-index:5;inset:0 0 0 auto;width:min(600px,100%);background:#102321;box-shadow:-20px 0 80px #0009;padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));overflow-y:auto;overscroll-behavior:contain}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.workspace h2{font-family:Georgia,serif;font-weight:400;font-size:30px}.voice-first .skip:focus{z-index:20}.voice-first:has(.workspace:not([hidden])) .ruben-stage{visibility:hidden}@media(max-width:600px){.ruben-portrait{object-fit:cover;object-position:74% center}.stage-header h1{font-size:36px}.stage-header button{font-size:14px;padding:10px 14px}.voice-controls{gap:8px}.voice-controls button{padding:10px 13px;font-size:14px}.voice-controls #mic{min-width:145px}.stage-bottom{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}}@media(orientation:landscape) and (max-height:600px){.ruben-stage{min-height:0;height:100dvh}.ruben-portrait{object-fit:cover;object-position:center 40%}.stage-header{padding-top:max(10px,env(safe-area-inset-top))}.stage-header h1{font-size:28px;margin:2px 0}.stage-header .eyebrow{font-size:9px}.stage-bottom{padding-top:6px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.stage-hint{display:none}.voice-first #status{margin-bottom:8px;font-size:13px;max-width:600px}.voice-controls button{min-height:44px;padding:8px 16px}}
/* Keep the portrait unobstructed in portrait; reserve a separate control dock. */
.voice-first .avatar-source{opacity:0;pointer-events:none}.voice-first .avatar-canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.voice-first .ruben-stage{display:grid;grid-template-rows:minmax(0,1fr) auto}.voice-first .stage-bottom{position:relative;grid-row:2;background:#0c1817;border-top:1px solid #ffffff18;z-index:2}.voice-first .ruben-portrait,.voice-first .avatar-canvas,.voice-first .stage-shade{height:100%;grid-row:1}.voice-first .stage-header{z-index:3}.voice-first .stage-shade{bottom:auto;background:linear-gradient(180deg,#0009,transparent 25%)}
@media(orientation:portrait){.voice-first .ruben-portrait,.voice-first .avatar-canvas{object-fit:cover;object-position:center center}.voice-first .stage-header h1{font-size:26px}.voice-first .stage-header{padding-top:max(12px,env(safe-area-inset-top))}.voice-first .stage-header .eyebrow{font-size:9px}.voice-first .stage-bottom{padding-top:12px}.voice-first .stage-hint{display:none}.voice-first #status{font-size:13px;margin-bottom:10px}.voice-first .voice-controls{display:grid;grid-template-columns:1fr 1fr 1fr}.voice-first .voice-controls #mic{min-width:0}.voice-first #fullscreen{display:none}}
@media(orientation:landscape) and (max-height:600px){.voice-first .ruben-stage{display:block}.voice-first .stage-bottom{position:absolute;background:linear-gradient(transparent,#000c);border:0}.voice-first .avatar-canvas{object-fit:contain}.voice-first .stage-header h1{font-size:24px}}

.portrait-surface{position:relative;min-height:0;overflow:hidden;grid-row:1;width:100%;height:100%}@media(orientation:landscape) and (max-height:600px){.portrait-surface{height:100%}}

.voice-first .stage-header{flex-wrap:nowrap}.voice-first .stage-header>div{min-width:0}.voice-first .stage-header button{flex-shrink:0}@media(max-width:420px){.voice-first .stage-header{gap:8px;padding-left:14px;padding-right:14px}.voice-first .stage-header .eyebrow{font-size:8px;letter-spacing:.08em}.voice-first .stage-header button{font-size:12px;padding:8px 10px}}

.quick-ask{display:flex;gap:8px;max-width:620px;margin:0 auto 10px}.quick-ask input{min-width:0;flex:1;min-height:44px;font:inherit;font-size:16px;border:1px solid #607773;border-radius:12px;padding:10px;background:#132321;color:white}.voice-first #heard{font-size:13px;margin:0 auto 8px;max-height:3em;overflow:auto;max-width:620px}.voice-first #heard:empty{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}

.voice-first,.experience,.ruben-stage,.portrait-surface,.stage-bottom{min-width:0;max-width:100%;width:100%}.quick-ask{min-width:0;width:100%}.quick-ask input{width:0}.voice-first .stage-header{width:100%;min-width:0}.voice-first .stage-header button{max-width:48%;white-space:normal;overflow-wrap:anywhere}.voice-first .voice-controls{min-width:0}.voice-first .voice-controls button{min-width:0;overflow-wrap:anywhere}.voice-first #heard{overflow-wrap:anywhere}

.voice-controls button{white-space:nowrap;word-break:normal;overflow-wrap:normal;font-size:16px;min-width:0;padding-inline:12px}
