/* Gena voice workspace: pure black, white and the Biz Bridge orange. */
:root{--ink:#000;--muted:#696969;--paper:#fff;--line:#e7e7e7;--orange:#ff980e;--ease:cubic-bezier(.23,1,.32,1)}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font:400 14px/1.55 'DM Sans',sans-serif}button,select,textarea,input{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:#fff;border-radius:10px}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}:focus-visible{outline:2px solid #bc5b0a;outline-offset:4px}a{color:inherit;text-decoration:none}button,a{transition:color .18s,background .18s,border-color .18s,transform .18s var(--ease)}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.gena{display:flex;flex-direction:column;max-width:620px;height:100dvh;min-height:0;overflow:hidden;margin:auto;background:#fff}.gena-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 26px;background:#000;color:#fff;border-bottom:1px solid #ffffff20;flex:none}.brand{display:flex;align-items:center;gap:11px;font:600 15px 'Manrope',sans-serif;letter-spacing:-.45px}.brand-bolt{width:23px;height:32px;stroke:none}.brand small{display:block;font:500 8px 'DM Sans',sans-serif;letter-spacing:.16em;color:#aaa;margin-top:5px}.session-time{font:10px monospace;letter-spacing:.06em;color:#ddd;border:1px solid #ffffff30;padding:6px 10px;border-radius:20px}.session-time::before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--orange);margin-right:7px}.gena-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none}
.gena-stage{position:relative;overflow:hidden;padding:24px 26px 22px;background:#000;color:#fff;text-align:center}.stage-eyebrow{font-size:8px;letter-spacing:.18em;font-weight:500;color:#b7b7b7;margin:0}.gena-stage h1{font:500 clamp(29px,6vw,36px)/1.14 'Manrope',sans-serif;letter-spacing:-.05em;margin:15px 0 10px}.gena-stage h1 em{font-style:normal;color:#ff980e}.stage-description{font-size:11px;line-height:1.6;color:#aaa;margin:0}.voice-sculpture{width:138px;height:138px;margin:8px auto 2px;pointer-events:none}.voice-sculpture .ai-orbit__ring{border-width:1.2px}.session-badge{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:5px 10px;border:1px solid #ffffff30;border-radius:30px;color:#ddd;font-size:10px}.session-badge>i{width:5px;height:5px;flex:none;background:#ff980e;border-radius:50%}.voice-bars{display:flex;gap:3px;align-items:center;height:13px;margin-left:4px;padding-left:8px;border-left:1px solid #ffffff30}.voice-bars i{width:2px;height:3px;border-radius:2px;background:#aaa}.live-caption{font-size:10px;line-height:1.6;min-height:25px;max-width:390px;margin:10px auto 9px;color:#bcbcbc;overflow-wrap:anywhere}.stage-actions{display:flex;justify-content:center;align-items:center;gap:8px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;min-width:230px;padding:11px 20px;border:1px solid var(--orange);border-radius:28px;background:var(--orange);color:#000;font-size:13px;font-weight:700}.primary svg{width:19px;height:19px}.interrupt{min-height:44px;padding:10px 12px;background:#000;border-color:#777;color:#fff;font-size:11px}.voice-disclosure{font-size:8px;line-height:1.6;color:#999;max-width:330px;margin:12px auto 0}.screen-panel{margin:18px 24px 0;border:1px solid #d5d5d5;border-radius:12px;overflow:hidden;background:#fff}.screen-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px;font-size:10px}.screen-heading span{display:flex;align-items:center;gap:5px}.screen-heading i{width:5px;height:5px;border-radius:50%;background:#ff980e}.screen-heading button{min-height:32px;padding:5px 8px;font-size:10px}.screen-panel video{display:block;width:100%;max-height:200px;background:#000;object-fit:contain}.screen-tools{padding:10px 12px}.screen-tools p{font-size:10px;color:#777;margin:0 0 8px}.screen-tools label{display:flex;align-items:center;gap:8px;font-size:11px}.screen-tools input{accent-color:#000}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(prefers-reduced-motion:no-preference){.gena:is([data-state=listening],[data-state=speaking]) .voice-bars i{animation:gena-wave .85s ease-in-out infinite alternate}.voice-bars i:nth-child(2n){animation-delay:-.3s}.voice-bars i:nth-child(3n){animation-delay:-.6s}@keyframes gena-wave{to{height:11px;opacity:.65}}}
.gena-hidden .ai-orbit i{animation-play-state:paused}
@media(hover:hover) and (pointer:fine){button:hover:enabled{border-color:#b5b5b5;background:#f7f7f7}.primary:hover:enabled{background:#ffad3d;border-color:#ffad3d}.interrupt:hover:enabled{background:#000;border-color:var(--orange);color:var(--orange)}.brand:hover{color:#ffb65c}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.primary:hover:enabled{transform:translateY(-1px)}button:active:enabled{transform:scale(.98)}}
@media(max-width:420px){.gena-header{padding:15px 18px}.brand{font-size:13px;gap:8px}.brand small{font-size:7px}.session-time{font-size:9px}.gena-stage{padding:21px 18px 20px}.gena-stage h1{font-size:31px}.voice-sculpture{width:126px;height:126px}.screen-panel{margin-inline:18px}.stage-actions{flex-wrap:wrap}.primary{min-width:220px}.live-caption{font-size:10px}.voice-disclosure{font-size:8px}}
@media(max-height:650px){.gena-header{padding-block:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* Keep the composer within reach in the 520×860 launch window. */
.gena-header{padding-block:14px}
.gena-stage{padding-top:18px;padding-bottom:18px}
.gena-stage h1{font-size:32px;margin-top:12px;margin-bottom:8px}
.voice-sculpture{width:116px;height:116px;margin-top:2px;margin-bottom:0}
.gena[data-state=ready] .live-caption{display:none}
.gena[data-state=ready] .stage-actions{margin-top:13px}
.stage-type{min-height:42px;padding:9px 8px;border:0;border-radius:0;background:#000;color:#c6c6c6;text-decoration:underline;text-underline-offset:4px;font-size:10px;white-space:nowrap}
.voice-disclosure{margin-top:9px}
@media(hover:hover) and (pointer:fine){.stage-type:hover:enabled{background:#000;color:#fff}}
@media(max-width:420px){.gena-stage h1{font-size:29px}.primary{min-width:190px;padding-inline:15px;font-size:12px}.stage-actions{gap:6px;flex-wrap:nowrap}.stage-type{font-size:9px;padding-inline:4px}}
.gena:is([data-state=thinking],[data-state=speaking]) .stage-type{display:none}
.gena:is([data-state=thinking],[data-state=speaking]) .primary{min-width:0}

/* ImageGen reference artwork, prepared as transparent alpha masks. */
.gena-glyph{display:inline-block;flex:none;width:20px;height:20px;background:currentColor;mask:var(--gena-icon) center/contain no-repeat;pointer-events:none;vertical-align:middle;transition:transform .18s var(--ease)}
.gena-glyph--microphone{--gena-icon:url('../../assets/icons/gena/microphone-v1.png')}
.gena-glyph--chat{--gena-icon:url('../../assets/icons/gena/chat-v1.png')}
.gena-glyph--send{--gena-icon:url('../../assets/icons/gena/send-v1.png')}
.gena-glyph--settings{--gena-icon:url('../../assets/icons/gena/settings-v1.png')}
.gena-glyph--chevron{--gena-icon:url('../../assets/icons/gena/chevron-v1.png')}
.gena-glyph--screen{--gena-icon:url('../../assets/icons/gena/screen-v1.png')}
.gena-glyph--repeat{--gena-icon:url('../../assets/icons/gena/repeat-v1.png')}
.gena-glyph--end{--gena-icon:url('../../assets/icons/gena/end-v1.png')}
.gena-glyph--lock{--gena-icon:url('../../assets/icons/gena/lock-v1.png')}
.primary .gena-glyph{width:18px;height:23px;color:#fff}
/* Guided starting points and a deliberate voice-preferences panel. */
.session-badge{appearance:none;background:#000;cursor:pointer;transition:border-color .18s,color .18s}
.session-badge::after{content:'+';font:13px/1 monospace;margin-left:3px;color:#aaa}
.session-badge[aria-expanded=true]::after{content:'−'}
.session-info{max-width:330px;margin:12px auto 2px;padding:13px 14px;border:1px solid #555;border-radius:10px;background:#000;color:#ccc;text-align:left}
.session-info p{font-size:10px;line-height:1.7;margin:0 0 10px}
.session-info button{min-height:36px;padding:7px 10px;background:#fff;border:1px solid #fff;color:#000;font-size:10px}
.session-info>[data-audio-status]{display:block;font-size:9px;color:#aaa;margin-top:9px}
@media(hover:hover) and (pointer:fine){.gena-stage .session-badge:hover:enabled{background:#000;color:#fff;border-color:#ff980e}.session-info button:hover:enabled{background:#ff980e;border-color:#ff980e}}

/* Keep popup content centered without exposing a scrollbar track. */
.gena-scroll::-webkit-scrollbar{display:none}
.gena-stage .stage-actions{flex-direction:column;align-items:center;gap:4px;width:100%;margin-inline:auto}
.gena-stage .primary{width:min(100%,260px);min-width:0}
.gena-stage .stage-type{min-height:36px;padding:8px 14px}
.gena-stage .voice-disclosure{max-width:330px;margin:9px auto 0;text-align:center;text-wrap:balance}

/* Conversation workspace, based on the ImageGen detail reference. */
.conversation{padding:20px 24px 16px;background:#fff;position:relative}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:13px;border-bottom:1px solid var(--line);margin-bottom:18px}
.conversation-heading h2{display:flex;align-items:center;gap:8px;font:600 10px/1.4 'DM Sans',sans-serif;letter-spacing:.12em;margin:0}
.conversation-heading h2::before{content:'';width:6px;height:6px;background:var(--orange)}
.conversation-heading>[data-turn-count]{display:block;margin-top:4px;font-size:10px;color:#777}
.transcript-actions{display:flex;gap:3px}
.transcript-actions button{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:8px;background:transparent;color:#333}
.transcript-actions svg{width:17px;height:17px;stroke-width:1.6}
.transcript{display:flex;flex-direction:column;gap:18px;max-height:300px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ddd transparent;padding:2px 3px 12px}
.transcript-empty{text-align:center;padding:6px 0 14px}
.empty-emblem{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 14px;border-radius:11px;background:#fff8ee;color:#4b4236}.empty-emblem>.gena-glyph{width:25px;height:25px}
.transcript-empty h3{font:600 18px/1.35 'Manrope',sans-serif;letter-spacing:-.55px;margin:0 0 7px}
.transcript-empty p{font-size:12px;line-height:1.6;color:#777;margin:0}
.turn{max-width:96%;font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.turn.user{align-self:flex-end;padding:11px 14px;border:1px solid #ececec;background:#f6f6f6;border-radius:13px 13px 3px 13px}
.turn.assistant{padding:4px 0 4px 13px;border-left:2px solid #ffb44d}
.turn-label{display:block;font:600 9px/1.4 'DM Sans',sans-serif;letter-spacing:.08em;color:#777;margin-bottom:7px}
.turn p{margin:0;white-space:pre-wrap}
.turn small{display:block;font-size:10px;line-height:1.5;color:#855328;margin-top:8px}
.latest-message{display:flex;gap:12px;align-items:center;justify-content:center;margin:0 auto 10px;min-height:36px;padding:7px 13px;border:1px solid #ddd;border-radius:20px;background:#fff;font-size:11px;box-shadow:0 2px 7px #00000008}
.composer{display:flex;align-items:flex-end;gap:10px;padding:7px;border:1px solid #d1d1d1;border-radius:12px;background:#fff;margin-top:8px;transition:border-color 180ms ease,box-shadow 180ms ease}
.composer:focus-within{border-color:#a96b1c;box-shadow:0 0 0 3px #ff990012}
.composer textarea{display:block;flex:1;min-width:0;min-height:42px;max-height:118px;resize:none;padding:10px 8px;border:0;outline:0;background:transparent;font:400 15px/1.5 'DM Sans',sans-serif}
.composer textarea::placeholder{color:#777}
.composer button{display:grid;place-items:center;flex:none;width:42px;height:42px;border:0;border-radius:50%;background:#000;color:#fff}
.composer button svg{width:20px;height:20px;stroke-width:1.6}
.composer button:disabled{background:#e9e9e9;opacity:1;color:#999}
.composer-meta{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#888;padding:8px 2px 0}
.composer-meta>[data-character-count]{flex:none;font-variant-numeric:tabular-nums}
.quick-prompts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.quick-prompts button{display:flex;align-items:center;gap:9px;text-align:left;min-height:65px;padding:12px;border:1px solid #e4e4e4;border-radius:10px;background:#fff}
.prompt-mark{display:none}
.quick-prompts button>span:nth-child(2){flex:1;min-width:0}
.quick-prompts strong{display:block;color:#111;font-size:12px;font-weight:600;line-height:1.4}
.quick-prompts small{display:block;color:#777;font-size:10px;line-height:1.4;margin-top:4px}
.prompt-arrow{font-size:20px;flex:none;color:#b85b00;transition:transform 180ms var(--ease)}
.voice-settings{margin:0 24px 20px;border:1px solid #e3e3e3;border-radius:11px;background:#fff;overflow:hidden}
.voice-settings summary{display:flex;align-items:center;gap:12px;min-height:68px;padding:13px 15px;cursor:pointer;list-style:none}
.voice-settings summary::-webkit-details-marker{display:none}
.voice-settings summary>.settings-icon{flex:none;width:24px;height:24px;color:#555}
.voice-settings summary>span:not(.gena-glyph){flex:1;font-size:13px;font-weight:600}
.voice-settings summary small{display:block;margin-top:4px;font-size:10px;font-weight:400;color:#777}
.voice-settings .settings-chevron{width:13px;height:13px;color:#777;transition:transform 180ms ease}
.voice-settings[open] .settings-chevron{transform:rotate(180deg)}
.settings-body{display:grid;gap:17px;padding:18px 16px;border-top:1px solid var(--line)}
.settings-intro{margin:0;font-size:15px;font-weight:600;line-height:1.5}
.settings-intro span{font-size:11px;font-weight:400;color:#777}
.settings-body>label:not(.setting-toggle){font-size:11px;font-weight:500}
.settings-body select{display:block;width:100%;min-height:44px;margin-top:8px;padding:10px;border:1px solid #ddd;border-radius:7px;background:#fff;font-size:12px}
.pace label{display:flex;align-items:center;justify-content:space-between;font-size:11px}
.pace output{font:11px monospace;padding:3px 6px;border-radius:5px;background:#f5f5f5}
.pace input{width:100%;accent-color:#000;margin:12px 0 0}
.settings-body>[data-preview]{min-height:44px;background:#000;color:#fff;border-color:#000;border-radius:7px;font-size:12px}
.setting-toggle{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:12px;border-bottom:1px solid #eee;padding-bottom:8px}
.setting-toggle input{appearance:none;flex:none;width:34px;height:20px;border:1px solid #ccc;border-radius:20px;background:#eee;position:relative;transition:background 180ms ease}
.setting-toggle input::after{content:'';position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0002;transition:transform 180ms ease}
.setting-toggle input:checked{background:#000;border-color:#000}.setting-toggle input:checked::after{transform:translateX(14px)}
.settings-note{margin:0;font-size:10px;line-height:1.7;color:#777}
.error{padding:13px;margin:10px 0;background:#fff8ef;border:1px solid #eed7b9;border-radius:9px;font-size:12px}
.error p{margin:0 0 8px}.error button{min-height:36px;padding:7px 11px;font-size:11px;margin:2px 5px 0 0}
.gena-footer{flex:none;padding:10px 24px 12px;border-top:1px solid var(--line);background:#fff}
.utility-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.utility-actions button{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:7px;min-height:76px;padding:5px;border:0;border-radius:9px;background:#fff;font-size:10px;color:#555}
.utility-icon{display:grid;place-items:center;width:38px;height:36px;border:1px solid #ddd;border-radius:9px;background:#fff;transition:border-color 180ms ease,background 180ms ease}
.utility-icon .gena-glyph,.utility-icon svg{width:20px;height:20px;color:#333}
.utility-actions [data-end]{color:#b33d35}.utility-actions [data-end] .utility-icon{border-color:#efc9c5}.utility-actions [data-end] .gena-glyph{color:#d53d35}
.gena-footer>p{margin:7px auto 3px;text-align:center;font-size:9px;line-height:1.6;color:#777}
.gena-footer>p .gena-glyph{width:10px;height:10px;margin-right:5px}
.gena-footer>a{display:block;width:max-content;max-width:100%;margin:auto;font-size:9px;color:#777;text-decoration:underline;text-underline-offset:3px}
@media(hover:hover) and (pointer:fine){.transcript-actions button:hover:enabled{background:#f5f5f5;border-color:transparent}.quick-prompts button:hover:enabled{background:#fffaf3;border-color:#dcad70}.quick-prompts button:hover:enabled .prompt-arrow{transform:translate(2px,-2px)}.voice-settings summary:hover{background:#fafafa}.utility-actions button:hover:enabled{background:#f7f7f7}.utility-actions button:hover:enabled .utility-icon{border-color:#aaa}.utility-actions [data-end]:hover:enabled{background:#fff6f5}.composer button:hover:enabled{background:#222;color:#ffb951}}
@media(max-width:420px){.conversation{padding:18px 18px 15px}.voice-settings{margin-inline:18px}.gena-footer{padding:8px 18px 10px}.composer textarea{font-size:16px}.transcript-empty h3{font-size:17px}.quick-prompts button{padding:11px}.quick-prompts strong{font-size:11px}.composer-meta{font-size:8px}.utility-actions button{font-size:9px}}
@media(max-width:360px){.quick-prompts{gap:7px}.quick-prompts button{gap:4px;padding:9px}.quick-prompts small{font-size:9px}.prompt-arrow{font-size:16px}.voice-settings summary{padding:12px;gap:10px}.transcript-actions button{width:36px}.conversation-heading h2{font-size:9px}}
@media(max-height:650px){.gena-footer{padding-block:6px}.utility-actions button{min-height:58px;gap:4px}.utility-icon{width:31px;height:29px}.gena-footer>p{display:none}}
@media(prefers-reduced-motion:reduce){.composer,.setting-toggle input,.setting-toggle input::after,.prompt-arrow,.utility-icon,.voice-settings .settings-chevron{transition:none}}

.utility-actions [data-share][aria-pressed=true]{background:#fff8ee;color:#7d4400}
.gena-context{padding:14px 22px;border-bottom:1px solid #ddd;background:#fff;color:#151515;display:grid;gap:9px;font-size:12px;max-height:280px;overflow:auto}.gena-context[hidden]{display:none}.gena-context textarea{width:100%;min-height:70px;max-height:130px;border:1px solid #ccc;border-radius:5px;padding:8px;resize:vertical}.gena-context button{min-height:36px;background:#111;color:#fff;border:0;border-radius:5px;padding:8px}.gena-context label{display:flex;align-items:flex-start;gap:8px}
