/* One viewport: navigation, scrollable conversation, always-reachable composer. */
body.chat-shell{height:var(--chat-height,100dvh)!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;background:#fafaf8!important}
body.chat-shell>header{flex:0 0 auto!important;padding:10px 16px!important;min-height:56px!important;box-sizing:border-box;border-bottom:1px solid #e7e7e2!important;gap:12px}
body.chat-shell>header .brand{font-size:32px!important}
body.chat-shell>header .brand span{font-size:9px!important;letter-spacing:.13em!important}
body.chat-shell>header>div{display:flex!important;align-items:center;gap:8px;min-width:0}
body.chat-shell>header select{font-size:14px!important;max-width:105px;min-height:40px;padding:6px!important}
body.chat-shell .shell-signin{min-height:40px;padding:6px 12px!important;border:1px solid #ddd!important;border-radius:20px!important;background:white!important;font-size:13px!important;color:#333!important}
body.chat-shell .shell-signin[hidden]{display:none!important}
body.chat-shell .mobile-workspace-bar{flex:0 0 auto;padding:5px 16px!important;min-height:40px!important;border-bottom:1px solid #e7e7e2!important;gap:12px}
body.chat-shell .mobile-workspace-bar button{min-height:36px!important;padding:5px 12px!important;font-size:13px!important;border:0!important;background:#f0f0ec!important;border-radius:18px!important}
body.chat-shell .mobile-workspace-bar span{font-size:12px!important;color:#777}
body.chat-shell main.interview-workspace{flex:1!important;min-height:0!important;height:auto!important;margin:0 auto!important;padding:0!important;overflow:hidden!important;width:100%;max-width:1200px}
body.chat-shell .interview-column{height:100%!important;min-height:0!important;overflow:hidden!important;display:flex;flex-direction:column}
body.chat-shell[data-journey-view=talk] .conversation{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;background:#fafaf8!important;box-shadow:none!important}
body.chat-shell .chat-head{flex:0 0 auto;padding:12px 18px!important;border:0!important;gap:12px;align-items:center}
body.chat-shell #chat-title{font-size:14px!important;font-weight:600!important}
body.chat-shell #status{font-size:10px!important;line-height:1.4!important;max-width:130px;text-align:right}
body.chat-shell #messages{flex:1 1 0!important;min-height:0!important;max-height:none!important;height:auto!important;overflow-y:auto!important;overscroll-behavior:contain;padding:14px 18px!important;scroll-padding-bottom:24px}
body.chat-shell .bubble{font-size:15px!important;line-height:1.7!important;margin-bottom:18px!important}
body.chat-shell .bubble.user{background:#eeefeb!important;border:0!important;border-radius:16px 16px 4px 16px!important;padding:12px 16px!important}
body.chat-shell #suggestions{flex:0 0 auto;display:flex;flex-wrap:nowrap!important;gap:7px!important;overflow-x:auto;padding:8px 14px!important;margin:0!important;scrollbar-width:none}
body.chat-shell #suggestions[hidden]{display:none!important}
body.chat-shell #suggestions button{flex:0 0 auto;white-space:nowrap;font-size:11px!important;min-height:34px!important;padding:6px 11px!important;border:1px solid #dfe2d9!important;border-radius:18px!important;background:#fff!important;color:#435247!important}
body.chat-shell #chat-form{flex:0 0 auto!important;position:relative!important;bottom:auto!important;padding:7px 12px max(8px,env(safe-area-inset-bottom))!important;margin:0!important;background:#fafaf8!important;border:0!important;box-shadow:0 -12px 24px #fafaf8!important}
body.chat-shell #chat-form .composer-shell{background:#fff!important;border:1px solid #d7dbd2!important;border-radius:24px!important;padding:8px!important;box-shadow:0 4px 18px #23342908!important}
body.chat-shell #chat-form #message{font-size:16px!important;line-height:24px!important;min-height:40px!important;max-height:min(160px,22dvh)!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.chat-shell #chat-form .inline-voice-controls{padding:0 6px 4px!important;min-height:0!important}
body.chat-shell #chat-form .inline-voice-controls button{font-size:11px!important;padding:4px 8px!important;min-height:28px!important;border-radius:14px!important}
body.chat-shell #chat-form .voice-state{font-size:11px!important;margin:0 8px 5px!important;line-height:1.4!important;max-height:32px;overflow:auto}
body.chat-shell #chat-form .voice-state:empty{display:none!important}
body.chat-shell #consent-text{font-size:9px!important;line-height:1.35!important;margin:6px 8px 0!important;color:#888!important}
body.chat-shell .shell-more{display:block;margin:4px auto 0!important;padding:3px 8px!important;min-height:24px!important;font:11px/1.4 system-ui!important;color:#777!important;border:0!important;background:none!important}
body.chat-shell .application-context-status:empty,body.chat-shell>footer{display:none!important}
body.chat-shell .application-context-status:not(:empty){flex:0 0 auto;margin:0!important;padding:6px 18px!important;font-size:11px!important;max-height:44px;overflow:auto}
body.chat-shell .shell-retry{font:11px/1.4 system-ui!important;padding:6px!important;border:1px solid #ddd!important;background:white!important}
body.chat-shell .shell-retry[hidden]{display:none!important}
body.chat-shell dialog.shell-auth,body.chat-shell dialog.shell-options{position:fixed;inset:0;margin:auto;width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 32px);box-sizing:border-box;border:1px solid #ddd;border-radius:22px!important;padding:22px;background:#fafaf8;overflow-y:auto;color:#252628}
.shell-auth::backdrop,.shell-options::backdrop{background:#18291f88;backdrop-filter:blur(5px)}
body.chat-shell .shell-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.chat-shell .shell-panel-head h2{font:500 23px/1.3 Georgia,serif!important;margin:0}
body.chat-shell .shell-close{width:44px;height:44px;flex:0 0 44px;border:0!important;border-radius:50%!important;background:#eeefea!important;font:26px/1 system-ui!important;padding:0!important}
body.chat-shell .shell-auth-hint{font-size:13px;line-height:1.6;color:#6a716b}
body.chat-shell .shell-auth .callback-identity{padding:0!important;border:0!important;margin:16px 0 0!important;background:none!important}
body.chat-shell .shell-auth .callback-identity[hidden]{display:none!important}
body.chat-shell .shell-auth .callback-identity-links{display:grid;gap:8px}
body.chat-shell .shell-auth .callback-button{display:block;text-align:center;margin:0!important;border-radius:12px!important;min-height:44px;box-sizing:border-box}
body.chat-shell .shell-options>details{padding:14px 0;border-bottom:1px solid #ddd}
body.chat-shell .shell-options summary{min-height:32px;font-size:14px}
body.chat-shell .shell-options p{font-size:12px;line-height:1.6}
body.chat-shell :focus-visible{outline:2px solid #527761;outline-offset:3px}
@media(max-width:760px){
 body.chat-shell{position:fixed!important;top:var(--chat-top,0px)!important;left:0;right:0;width:100%}
 body.chat-shell .account-menu{max-width:85px}
 body.chat-shell .account-menu>span{display:none!important}
 body.chat-shell .account-menu button{font-size:11px!important;padding:6px!important;min-height:36px!important}
 body.chat-shell .composer-controls button{min-height:44px!important}
 body.chat-shell.keyboard-open .chat-head,body.chat-shell.keyboard-open #suggestions,body.chat-shell.keyboard-open .inline-voice-controls,body.chat-shell.keyboard-open #consent-text,body.chat-shell.keyboard-open .shell-more{display:none!important}
}
@media(min-width:761px){body.chat-shell .journey-dock{flex:0 0 auto;margin:8px auto!important}body.chat-shell[data-journey-view=talk] .conversation{max-width:820px;margin:0 auto!important}body.chat-shell #chat-form{padding-bottom:18px!important}}@media(max-height:550px) and (max-width:760px){body.chat-shell .chat-head,body.chat-shell #suggestions,body.chat-shell #chat-form .inline-voice-controls,body.chat-shell #consent-text,body.chat-shell .shell-more{display:none!important}body.chat-shell>header{min-height:44px!important;padding:3px 14px!important}body.chat-shell .mobile-workspace-bar{min-height:34px!important;padding:2px 14px!important}body.chat-shell #chat-form{padding-top:4px!important}body.chat-shell #message{max-height:85px!important}}
body.chat-shell .interview-column[hidden]{display:none!important}
body.chat-shell[data-journey-view=evidence] .interview-column{overflow-y:auto!important}
body.chat-shell .cv-panel{min-height:0!important;max-height:100%;overflow-y:auto!important}
body.chat-shell #chat-form .composer-shell{box-sizing:border-box!important;width:100%!important}
body.chat-shell main.interview-workspace,body.chat-shell .interview-column,body.chat-shell .conversation,body.chat-shell #chat-form,body.chat-shell #messages,body.chat-shell #suggestions{min-width:0!important;max-width:100%;box-sizing:border-box!important}
body.chat-shell .chat-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:2px 10px!important}
body.chat-shell .chat-head>div{min-width:0!important}
body.chat-shell #status{grid-column:1;text-align:left!important;max-width:none}
body.chat-shell .shell-retry{grid-column:2;grid-row:1/3;max-width:96px;white-space:normal}
