:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#17211e;background:#f5f7f5}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100vh;display:grid;place-items:center;padding:1rem}.chat-shell{width:min(100%,800px);height:min(780px,calc(100vh - 2rem));display:flex;flex-direction:column;background:#fff;border:1px solid #dce4df;border-radius:18px;box-shadow:0 14px 45px #153a2820;overflow:hidden}.app-header{display:flex;justify-content:space-between;align-items:start;gap:1rem;padding:1.4rem 1.5rem;border-bottom:1px solid #e7ece9}.chat-brand{display:flex;align-items:center;gap:.9rem;min-width:0}.chat-brand-logo{display:block;flex:none;width:150px;max-width:29vw;height:auto}.eyebrow{color:#087443;font-weight:800;font-size:.75rem;letter-spacing:.12em;margin:0 0 .25rem}h1{font-size:1.25rem;margin:0}.messages{flex:1;overflow-y:auto;padding:1.25rem;display:flex;flex-direction:column;gap:1rem}.message{max-width:82%;padding:.85rem 1rem;border-radius:12px;line-height:1.5}.message p{margin:.25rem 0 0;white-space:pre-wrap}.assistant-message{align-self:flex-start;background:#edf5ef}.user-message{align-self:flex-end;color:#fff;background:#087443}.message-label{font-size:.75rem;font-weight:700;opacity:.75}.message-turn-status{align-self:flex-start;max-width:82%;margin:-.55rem 0 .1rem;padding:.35rem .55rem;color:#5a6b63;font-size:.78rem;line-height:1.4}.citations{list-style:none;padding:.75rem 0 0;margin:0;display:grid;gap:.4rem}.citations a,.citation-text{color:#075e37;font-size:.875rem;font-weight:650}.answer-content{margin-top:.25rem;white-space:pre-wrap}.answer-block{display:grid;gap:.15rem}.answer-line{min-height:1.5em}.answer-blank-line{min-height:.8rem}.scheme-record{display:grid;gap:.45rem;margin:.2rem 0 1.25rem}.scheme-card{display:grid;gap:.25rem;padding:.9rem 1rem;border:1px solid #b9d8c3;border-left:4px solid #087443;border-radius:10px;background:#f8fcf9;box-shadow:0 2px 7px #153a280d}.scheme-heading{margin:0 0 .35rem;padding-bottom:.5rem;border-bottom:1px solid #d8e8dd;color:#075e37;font-size:1rem;line-height:1.4}.job-record{margin:.2rem 0 1.25rem}.job-card{display:grid;gap:.25rem;padding:.9rem 1rem;border:1px solid #c7d1e5;border-left:4px solid #365ea8;border-radius:10px;background:#f8faff;box-shadow:0 2px 7px #153a280d}.job-heading{margin:0 0 .35rem;padding-bottom:.5rem;border-bottom:1px solid #dbe3f1;color:#294a86;font-size:1rem;line-height:1.4}.job-card .line-citations{border-left-color:#8ca8d9}.job-card .line-citations a{color:#294a86}.answer-source-link{color:#075e37;font-size:.875rem;font-weight:650}.line-citations{padding-top:.35rem;padding-left:.75rem;border-left:2px solid #a9cfb6;gap:.25rem}.citations-footer{margin-top:.75rem;padding-top:.65rem;border-top:1px solid #c9dfd0}.citations-footer .citations{padding-top:.35rem}.citations-heading{font-size:.75rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#486257}.fallback{border:1px solid #e3b65d;background:#fff8e9}.composer{display:flex;gap:.75rem;padding:1rem 1.25rem;border-top:1px solid #e7ece9}textarea{resize:none;min-height:46px;max-height:140px;flex:1;padding:.75rem;border:1px solid #b9c8bf;border-radius:9px;font:inherit}textarea:focus{outline:3px solid #b8e1ca;border-color:#087443}.button{border:0;border-radius:9px;background:#087443;color:#fff;padding:.65rem 1rem;font:inherit;font-weight:700;cursor:pointer}.button:hover{background:#065d35}.button:disabled{cursor:wait;opacity:.65}.button-secondary{color:#075e37;background:#e8f3ec}.button-secondary:hover{background:#d5eadc}.status{min-height:1.25rem;margin:0;padding:0 1.25rem .8rem;font-size:.875rem;color:#a12b2b}.status button{margin-left:.5rem}.status[data-state=thinking]{display:flex;align-items:center;gap:.45rem;color:#486257}.thinking-spinner{width:.9rem;height:.9rem;border:2px solid #b9d8c3;border-top-color:#087443;border-radius:50%;animation:thinking-spin .8s linear infinite}@keyframes thinking-spin{to{transform:rotate(360deg)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:560px){body{padding:0}.chat-shell{height:100vh;border:0;border-radius:0}.app-header{padding:1rem}.message{max-width:92%}.composer{padding:.75rem}.button{padding:.6rem .75rem}}.app-layout{display:flex;align-items:stretch;justify-content:center;gap:1rem;width:100%;height:min(780px,calc(100vh - 2rem))}.app-layout .chat-shell{height:100%;min-width:0}.history-sidebar{flex:0 1 270px;min-width:210px;display:flex;flex-direction:column;background:#fff;border:1px solid #dce4df;border-radius:18px;box-shadow:0 14px 45px #153a2820;overflow:hidden}.history-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:1.1rem 1rem .9rem;border-bottom:1px solid #e7ece9}.history-head h2{margin:0;font-size:.95rem}.history-list{flex:1;overflow-y:auto;list-style:none;margin:0;padding:.35rem;display:grid;gap:.1rem;align-content:start}.history-entry{position:relative}.history-item{display:block;width:100%;text-align:left;border:0;background:transparent;border-radius:10px;padding:.55rem 2.1rem .55rem .7rem;font:inherit;cursor:pointer}.history-item:hover{background:#f1f6f3}.history-item[aria-current=true]{background:#e8f3ec}.history-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.85rem;font-weight:650;line-height:1.35}.history-meta{display:block;margin-top:.2rem;font-size:.72rem;color:#5a6b63}.history-delete{position:absolute;top:.4rem;right:.35rem;width:1.5rem;height:1.5rem;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:#8b9a93;font:inherit;font-size:1.05rem;line-height:1;cursor:pointer;opacity:0}.history-entry:hover .history-delete,.history-delete:focus-visible{opacity:1}.history-delete:hover{background:#fdeceb;color:#b3261e}@media(hover:none){.history-delete{opacity:1}}.history-empty{margin:0;padding:1.25rem 1rem;font-size:.85rem;line-height:1.5;color:#5a6b63}.message-actions{margin-top:.55rem}.debug-link{border:0;background:transparent;padding:0;font:inherit;font-size:.75rem;font-weight:650;color:#5a6b63;text-decoration:underline;cursor:pointer}.debug-link:hover{color:#17211e}.debug-link:disabled{cursor:wait;opacity:.6}.debug-note{margin:0;font-size:.75rem;color:#5a6b63}.message-time{font-weight:600;opacity:.8}@media(max-width:860px){.history-sidebar{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;flex-basis:auto;border:0;border-radius:0}}@media(max-width:560px){.app-layout{height:100vh}}.button-voice{padding:.65rem .8rem;font-size:1.05rem;line-height:1;background:#e8f3ec;color:#075e37}.button-voice:hover{background:#d5eadc}.button-voice[aria-pressed=false]{opacity:.5}.live-voice-icon{display:block;width:1.25rem;height:1.25rem;overflow:visible}.voice-language{font-size:.85rem;padding:.65rem .5rem;cursor:pointer}.voice-control{position:relative;display:flex;flex:none}.voice-options{position:absolute;right:0;bottom:calc(100% + .6rem);z-index:20;display:flex;align-items:center;gap:.45rem;padding:.45rem;border:1px solid #dce4df;border-radius:12px;background:#fff;box-shadow:0 10px 25px #153a2820}.voice-options:after{content:"";position:absolute;right:.9rem;top:100%;width:.65rem;height:.65rem;border-right:1px solid #dce4df;border-bottom:1px solid #dce4df;background:#fff;transform:translateY(-.35rem) rotate(45deg)}.voice-options>*{position:relative;z-index:1}#record[aria-pressed=true]{background:#b3261e;color:#fff;opacity:1;animation:record-pulse 1.4s ease-in-out infinite}#record[aria-pressed=true]:hover{background:#97201a}.recording-status{display:flex;align-items:center;gap:.5rem;margin:0;padding:0 1.25rem .4rem;font-size:.8rem;color:#5a6b63}.recording-dot{width:.55rem;height:.55rem;border-radius:50%;background:#b3261e;animation:record-pulse 1.4s ease-in-out infinite}.recording-status[data-state=busy] .recording-dot{background:#087443}.message-audio{display:block;width:100%;max-width:320px;margin-top:.75rem}@keyframes record-pulse{0%,to{opacity:1}50%{opacity:.35}}@media(prefers-reduced-motion:reduce){#record[aria-pressed=true],.recording-dot,.thinking-spinner{animation:none}}@media(max-width:560px){.composer{gap:.4rem}.button-voice{padding:.6rem .55rem}.voice-options{gap:.3rem;padding:.35rem}.recording-status{padding:0 .75rem .4rem}}.header-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.button-ghost{background:transparent;color:#075e37;padding:.5rem .75rem}.button-ghost:hover{background:#eef4f0}.button-danger{background:#b3261e;color:#fff}.button-danger:hover{background:#8f1e17}.profile-banner{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1rem;margin:0;padding:.85rem 1.5rem;background:#fff8e9;border-bottom:1px solid #f0dfb2}.profile-banner p{margin:0;flex:1 1 260px;font-size:.9rem;color:#6b4e10}.profile-banner-actions{display:flex;gap:.5rem}.profile-dialog{width:min(100%,640px);max-height:min(90vh,820px);padding:0;border:1px solid #dce4df;border-radius:16px;box-shadow:0 22px 60px #153a2833;color:#17211e}.profile-dialog::backdrop{background:#10241c66}.profile-dialog form{display:flex;flex-direction:column;max-height:inherit;overflow-y:auto;padding:1.5rem;gap:1rem}.profile-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}.profile-head h2{margin:0;font-size:1.2rem}.icon-button{border:0;background:transparent;font-size:1.6rem;line-height:1;color:#5a6b63;cursor:pointer;padding:0 .25rem}.icon-button:hover{color:#17211e}.profile-privacy{margin:0;padding:.75rem .9rem;background:#edf5ef;border-radius:10px;font-size:.85rem;color:#234a38}.profile-hint{margin:0;font-size:.8rem;color:#5a6b63}.profile-section{border:1px solid #e3ebe6;border-radius:12px;margin:0;padding:1rem 1rem 1.1rem}.profile-section legend{padding:0 .4rem;font-weight:800;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:#087443}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem 1rem}.field{display:flex;flex-direction:column;gap:.35rem;font-size:.875rem}.field>span{font-weight:650;color:#2b3a33}.field em{font-style:normal;font-weight:600;color:#087443}.field input[type=text],.field input[type=number],.field select{padding:.55rem .6rem;border:1px solid #b9c8bf;border-radius:8px;font:inherit;background:#fff}.field input:focus,.field select:focus{outline:3px solid #b8e1ca;border-color:#087443}.field-toggle{flex-direction:row;align-items:center;gap:.55rem}.field-toggle input{width:1.15rem;height:1.15rem;accent-color:#087443}.field-toggle>span{font-weight:650}.profile-status{margin:0;min-height:1.1rem;font-size:.875rem}.profile-status[data-tone=error]{color:#a12b2b}.profile-status[data-tone=success]{color:#0a7a45}.profile-status[data-tone=info]{color:#5a6b63}.profile-status[data-tone=locked]{padding:.75rem .85rem;border:1px solid #e0b4b0;border-radius:10px;background:#fdeceb;color:#8f2019;font-weight:650;line-height:1.5}.profile-actions{display:flex;align-items:center;gap:.5rem}.profile-actions .spacer{flex:1}.settings-dialog{width:min(100% - 2rem,420px);padding:0;border:1px solid #dce4df;border-radius:16px;box-shadow:0 22px 60px #153a2833;color:#17211e}.settings-dialog::backdrop{background:#10241c66}.settings-dialog form{display:grid;gap:1rem;padding:1.35rem}@media(max-width:560px){.field-grid{grid-template-columns:1fr}.profile-dialog{width:100%;max-height:100vh;border-radius:0}.profile-actions{flex-wrap:wrap}.profile-actions .spacer{flex-basis:100%;height:0}}.login-body{display:block;min-height:100vh;padding:0;background:#f5f7f5}.login-hero{width:100%;height:min(22vw,305px);min-height:165px;overflow:hidden;background:#8290f4}.login-hero img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 58%}.login-brand{display:none;line-height:0}.login-brand img{display:block;width:min(31vw,300px);height:auto}.login-brand:focus-visible{outline:3px solid #087443;outline-offset:4px;border-radius:4px}.login-shell{position:relative;z-index:1;width:min(calc(100% - 2rem),400px);margin:-5.5rem auto 2rem;background:#fff;border:1px solid #dce4df;border-radius:18px;box-shadow:0 14px 45px #153a2820;padding:2rem 1.75rem}.login-head{margin-bottom:1.5rem}.login-head h1{margin:0 0 .4rem}.login-sub{margin:0;font-size:.9rem;color:#5a6b63}.login-form{display:grid;gap:1rem}.login-form .field input{padding:.6rem .65rem;border:1px solid #b9c8bf;border-radius:8px;font:inherit;background:#fff}.login-form .field input:focus{outline:3px solid #b8e1ca;border-color:#087443}.login-submit{width:100%;padding:.75rem}.login-form .pin-input{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,monospace;font-size:1.1rem;letter-spacing:.5em;text-indent:.5em;text-align:center}.field-error{color:#a12b2b;font-size:.78rem;font-weight:650}.hint{color:#5a6b63;font-size:.78rem;line-height:1.45}.login-switch{margin:1.1rem 0 0;font-size:.85rem;color:#5a6b63;text-align:center}a.link-button{display:inline-block}.login-note{margin:1.1rem 0 0;font-size:.82rem;color:#5a6b63;text-align:center;line-height:1.5}.app-language-picker{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin:1.5rem 0 0;padding-top:1rem;border-top:1px solid #e7ece9;color:#5a6b63;font-size:.82rem}.app-language-picker select{min-width:7rem;padding:.45rem .55rem;border:1px solid #b9c8bf;border-radius:8px;background:#fff;color:#17211e;font:inherit}.login-privacy{margin-top:1rem;padding:.8rem .9rem;border:1px solid #d8e8dd;border-radius:10px;background:#f8fcf9;color:#486257;font-size:.76rem;line-height:1.5}.login-privacy summary{color:#234a38;font-size:.8rem;font-weight:750;cursor:pointer}.login-privacy summary:focus-visible{outline:3px solid #b8e1ca;outline-offset:3px;border-radius:4px}.login-privacy-content{padding-top:.35rem}.login-privacy p{margin:.4rem 0 0}.link-button{border:0;background:transparent;padding:0 .15rem;font:inherit;font-size:.85rem;font-weight:700;color:#075e37;text-decoration:underline;cursor:pointer}.link-button:hover{color:#054d2c}@media(min-width:561px){.login-shell{margin:1.5rem auto 2rem;padding:1.15rem 1.75rem;background:#fff;border-color:#dce4df;box-shadow:0 14px 45px #153a2820;backdrop-filter:none;-webkit-backdrop-filter:none}.login-head{margin-bottom:.9rem}.login-form{gap:.75rem}.login-switch,.login-note{margin-top:.8rem}.app-language-picker{margin-top:1rem;padding-top:.75rem}.login-privacy{margin-top:.75rem;padding:.65rem .8rem}}@media(max-width:560px){.login-hero{display:none}.login-brand{display:block;position:static;margin:1rem 1.25rem 0;width:fit-content}.login-brand img{width:min(78vw,300px)}.login-shell{width:100%;margin:0;border:0;border-radius:0;box-shadow:none;padding:1.5rem 1.25rem}}.account-menu{position:relative}.profile-menu-toggle{display:grid;width:2.35rem;height:2.35rem;place-items:center;padding:.4rem;border-radius:999px}.profile-menu-toggle svg{width:1.25rem;height:1.25rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.profile-menu{position:absolute;z-index:40;top:calc(100% + .45rem);right:0;width:min(15rem,calc(100vw - 1.5rem));padding:.4rem;border:1px solid #dce4df;border-radius:12px;background:#fff;box-shadow:0 12px 30px #153a2828}.signed-in{display:block;max-width:100%;margin:0;padding:.55rem .65rem .45rem;font-size:.78rem;font-weight:650;color:#5a6b63;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#signed-in-as{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu-item{display:block;width:100%;border:0;border-radius:7px;padding:.55rem .65rem;background:transparent;color:#17211e;font:inherit;font-size:.85rem;text-align:left;text-decoration:none;cursor:pointer}.profile-menu-item:hover,.profile-menu-item:focus-visible{background:#eef4f0;color:#075e37;outline:0}.profile-menu-divider{height:1px;margin:.35rem .2rem;background:#e7ece9}.profile-menu-signout{color:#a12b2b}.profile-menu-signout:hover,.profile-menu-signout:focus-visible{color:#8f1e17;background:#fdeceb}.mobile-chat-menu-item{display:none}.feedback-prompt{display:flex;align-items:center;gap:.65rem;align-self:flex-start;max-width:82%;padding:.7rem .85rem;border:1px solid #b9d8c3;border-radius:10px;background:#f8fcf9;font-size:.875rem}.feedback-prompt strong{margin-right:auto}.feedback-prompt .button{padding:.45rem .65rem;font-size:.8rem}.feedback-dismiss{width:1.6rem;height:1.6rem;border:0;border-radius:6px;background:transparent;color:#5a6b63;font:inherit;font-size:1.15rem;cursor:pointer}.feedback-dismiss:hover{background:#e7ece9;color:#17211e}.feedback-dialog{width:min(100% - 2rem,760px);max-height:min(90vh,850px);padding:0;border:1px solid #dce4df;border-radius:16px;box-shadow:0 22px 60px #153a2833;color:#17211e}.feedback-dialog::backdrop{background:#10241c66}.feedback-dialog form{display:flex;flex-direction:column;max-height:inherit;overflow-y:auto;padding:1.35rem;gap:1rem}.feedback-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}.feedback-head h2{margin:0;font-size:1.2rem}#feedback-fields{display:grid;gap:1rem}.feedback-field{min-width:0;margin:0;padding:.85rem;border:1px solid #e3ebe6;border-radius:10px}.feedback-field>legend,.feedback-question{display:block;padding:0 .2rem;font-size:.9rem;font-weight:750;line-height:1.4}.feedback-scale,.feedback-options{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.7rem}.feedback-choice{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:2.25rem;border:1px solid #b9c8bf;border-radius:8px;background:#fff;color:#234a38;cursor:pointer;overflow:hidden}.feedback-choice input{position:absolute;opacity:0;top:0;right:0;bottom:0;left:0;cursor:pointer}.feedback-choice span{padding:.45rem .65rem;font-size:.85rem;line-height:1.25}.feedback-choice:has(input:checked){border-color:#087443;box-shadow:inset 0 0 0 1px #087443;background:#e8f3ec}.feedback-choice:has(input:focus-visible){outline:3px solid #b8e1ca;outline-offset:2px}.feedback-emoji-scale .feedback-choice{min-width:2.7rem;font-size:1.35rem}.feedback-emoji-scale .feedback-choice span{padding:.35rem .55rem}.feedback-star-scale .feedback-choice{color:#987000}.feedback-scale-hint{margin:.45rem 0 0;font-size:.78rem;color:#5a6b63}.feedback-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.feedback-options .feedback-choice{justify-content:flex-start}.feedback-issues{margin:0}.feedback-issues summary{cursor:pointer;font-weight:750;color:#075e37}.feedback-issues .feedback-question{margin-top:.7rem}.feedback-issue-options{grid-template-columns:1fr}.feedback-voice-section{display:grid;gap:1rem}.feedback-voice-section .feedback-field{margin:0}.feedback-matrix{width:100%;margin-top:.7rem;border-collapse:collapse;font-size:.76rem}.feedback-matrix th,.feedback-matrix td{padding:.35rem;border-bottom:1px solid #e7ece9;text-align:center;vertical-align:middle}.feedback-matrix th[scope=row]{width:34%;text-align:left;font-weight:650;line-height:1.3}.feedback-matrix-choice{display:inline-grid;place-items:center;width:1.6rem;height:1.6rem;border:1px solid #b9c8bf;border-radius:50%;cursor:pointer}.feedback-matrix-choice input{position:absolute;opacity:0}.feedback-matrix-choice span{font-size:.7rem}.feedback-matrix-choice:has(input:checked){border-color:#087443;background:#087443;color:#fff}.feedback-matrix-choice:has(input:focus-visible){outline:3px solid #b8e1ca;outline-offset:2px}.feedback-field textarea{width:100%;min-height:5.5rem;margin-top:.7rem}.feedback-counter{display:block;margin-top:.35rem;font-size:.75rem;color:#5a6b63;text-align:right}.feedback-actions{display:flex;justify-content:flex-end;gap:.5rem}.feedback-status{min-height:1.1rem;margin:0;font-size:.85rem}.feedback-status[data-tone=error],.feedback-field-error{color:#a12b2b}.feedback-field-error{margin:.55rem 0 0;font-size:.8rem;font-weight:650}.feedback-thanks{margin:0;padding:.8rem .9rem;border-radius:9px;background:#edf5ef;color:#234a38}.feedback-unavailable{margin:0;padding:.8rem .9rem;border-radius:9px;background:#f0f3f1;color:#486257;line-height:1.5}.feedback-returned-comment{padding:.8rem .9rem;border-left:3px solid #87bd98;background:#f8fcf9;white-space:pre-wrap}.feedback-returned-comment strong{display:block;margin-bottom:.3rem}@media(max-width:560px){.feedback-dialog{width:100%;max-height:100vh;border:0;border-radius:0}.feedback-dialog form{padding:1.15rem}.feedback-prompt{max-width:92%;flex-wrap:wrap}.feedback-prompt strong{flex:1 1 100%}.feedback-options{grid-template-columns:1fr}.feedback-matrix{font-size:.68rem}.feedback-matrix th,.feedback-matrix td{padding:.25rem .12rem}.feedback-matrix-choice{width:1.45rem;height:1.45rem}}.live-panel{display:flex;align-items:center;gap:.5rem;padding:0 1.25rem .5rem;font-size:.8rem;color:#5a6b63;min-width:0;max-width:100%;overflow:hidden}.live-dot{flex:none;width:.55rem;height:.55rem;border-radius:50%;background:#087443;animation:record-pulse 1.4s ease-in-out infinite}.live-state{flex:none;font-weight:650}.live-caption{flex:1 1 0;width:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.85}.live-panel .button{flex:none;padding:.35rem .7rem;font-size:.8rem}@media(max-width:560px){body:not(.login-body){min-height:100dvh;display:block;overflow:hidden}body.login-body{min-height:100dvh;display:block;overflow-x:hidden;overflow-y:auto}body.login-body .login-shell{min-height:100dvh;padding-bottom:calc(1.5rem + env(safe-area-inset-bottom))}.app-layout{width:100%;height:100dvh}.chat-shell{width:100%;height:100dvh;min-height:100dvh}.app-header{align-items:center;gap:.55rem;padding:.7rem .8rem}.app-header>div:first-child{min-width:0}.chat-brand{gap:.5rem}.chat-brand-logo{width:78px;max-width:24vw}.eyebrow{margin-bottom:.15rem;font-size:.62rem;letter-spacing:.1em}h1{font-size:1.05rem;line-height:1.2;overflow-wrap:anywhere}.header-actions{gap:.3rem}.header-actions .button:not(.profile-menu-toggle){padding:.52rem .55rem;font-size:.8rem;white-space:nowrap}.profile-menu-toggle{width:2.25rem;height:2.25rem}.profile-banner{gap:.6rem;padding:.75rem .8rem}.profile-banner p{flex-basis:100%;font-size:.84rem}.profile-banner-actions{width:100%}.profile-banner-actions .button{flex:1;padding-inline:.55rem}.messages{min-height:0;padding:.85rem .75rem;gap:.75rem;overscroll-behavior:contain}.message{max-width:96%;padding:.75rem .85rem;overflow-wrap:anywhere}.message,.message *{overflow-wrap:anywhere}.scheme-card,.job-card{padding:.75rem .8rem}.scheme-record,.job-record{margin-bottom:1rem}.message-audio{max-width:100%}.composer{align-items:flex-end;gap:.45rem;padding:.65rem .75rem calc(.65rem + env(safe-area-inset-bottom))}.composer textarea{min-width:0;min-height:44px;padding:.65rem}.composer .button{min-height:44px;padding:.6rem .65rem}.composer .button-voice{width:44px;padding:.5rem}.live-voice-icon{width:1.2rem;height:1.2rem;margin:auto}.live-panel{gap:.4rem;padding:.45rem .75rem calc(.55rem + env(safe-area-inset-bottom))}.live-panel .button{min-height:36px;padding:.35rem .6rem}.status{padding:0 .75rem calc(.65rem + env(safe-area-inset-bottom))}.history-sidebar{inset:auto 0 0;height:min(82dvh,680px);border:1px solid #dce4df;border-radius:18px 18px 0 0;box-shadow:0 -10px 32px #153a2820}.profile-menu{width:min(18rem,calc(100vw - 1rem))}}@media(max-width:560px)and (max-height:820px){.chat-brand-logo{width:180px;max-width:50vw}.chat-brand .eyebrow{display:none}}@media(max-width:720px){body:not(.login-body):not(.admin-body){display:block;min-height:100svh;min-height:100dvh;padding:0;overflow:hidden}.app-layout:not(.chat-embedded){width:100%;height:100vh;height:100dvh;min-height:100svh}.app-layout:not(.chat-embedded) .chat-shell{width:100%;height:100vh;height:100dvh;min-height:100svh;border:0;border-radius:0;box-shadow:none}.app-layout:not(.chat-embedded) .app-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand account";align-items:center;gap:.45rem;padding:calc(.65rem + env(safe-area-inset-top)) .75rem .75rem}.app-layout:not(.chat-embedded) .chat-brand{grid-area:brand;min-width:0;gap:.55rem}.app-layout:not(.chat-embedded) .chat-brand-logo{width:clamp(132px,46vw,190px);max-width:100%}.app-layout:not(.chat-embedded) .chat-brand .eyebrow{display:none}.app-layout:not(.chat-embedded) .header-actions{display:contents}.app-layout:not(.chat-embedded) #toggle-history,.app-layout:not(.chat-embedded) #new-chat{display:none}.app-layout:not(.chat-embedded) .account-menu{grid-area:account;justify-self:end;align-self:center}.app-layout:not(.chat-embedded) .profile-menu-toggle{width:42px;height:42px}.app-layout:not(.chat-embedded) .mobile-chat-menu-item{display:block}.app-layout:not(.chat-embedded) .profile-menu{width:min(19rem,calc(100vw - 1rem))}.app-layout:not(.chat-embedded) .messages{min-height:0;margin:0;padding:.85rem clamp(.75rem,3vw,1.1rem);gap:.8rem;border:1px solid #dce4df;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.app-layout:not(.chat-embedded) .message,.app-layout:not(.chat-embedded) .message-turn-status,.app-layout:not(.chat-embedded) .feedback-prompt{max-width:94%}.app-layout:not(.chat-embedded) .message{padding:.75rem .85rem;overflow-wrap:anywhere}.app-layout:not(.chat-embedded) .message *{overflow-wrap:anywhere}.app-layout:not(.chat-embedded) .scheme-card,.app-layout:not(.chat-embedded) .job-card{padding:.72rem .78rem}.app-layout:not(.chat-embedded) .scheme-record,.app-layout:not(.chat-embedded) .job-record{margin-bottom:.85rem}.app-layout:not(.chat-embedded) .composer{align-items:center;gap:.45rem;padding:.65rem .75rem calc(.7rem + env(safe-area-inset-bottom))}.app-layout:not(.chat-embedded) .composer textarea{min-width:0;min-height:44px;max-height:min(140px,28dvh);padding:.65rem;font-size:.9rem;line-height:1.35}.app-layout:not(.chat-embedded) .composer textarea::placeholder{font-size:clamp(.75rem,2.6vw,.9rem);line-height:1.3;text-align:left}.app-layout:not(.chat-embedded) .composer .button{min-height:44px;padding:.6rem .7rem}.app-layout:not(.chat-embedded) .composer .button-voice{width:44px;padding:.5rem}.app-layout:not(.chat-embedded) .live-panel{gap:.4rem;padding:.45rem .75rem calc(.55rem + env(safe-area-inset-bottom))}.app-layout:not(.chat-embedded) .live-panel .button{min-height:36px;padding:.35rem .6rem}.app-layout:not(.chat-embedded) .status{padding:0 .75rem calc(.65rem + env(safe-area-inset-bottom))}.app-layout:not(.chat-embedded) .status:empty{display:none}.app-layout:not(.chat-embedded) .history-sidebar{inset:auto 0 0;height:min(78dvh,680px);min-width:0;border:1px solid #dce4df;border-radius:18px 18px 0 0;box-shadow:0 -10px 32px #153a2820}.app-layout:not(.chat-embedded) .history-head{padding-top:.9rem}.feedback-dialog{width:min(100% - 1rem,760px);max-height:min(92dvh,850px)}}@media(max-width:720px)and (max-height:520px){.app-layout:not(.chat-embedded) .app-header{padding-top:calc(.4rem + env(safe-area-inset-top));padding-bottom:.45rem}.app-layout:not(.chat-embedded) .chat-brand-logo{width:clamp(116px,30vw,150px)}.app-layout:not(.chat-embedded) .header-actions .button:not(.profile-menu-toggle),.app-layout:not(.chat-embedded) .profile-menu-toggle{min-height:38px;height:38px}.app-layout:not(.chat-embedded) .messages{padding-top:.55rem;padding-bottom:.55rem}.app-layout:not(.chat-embedded) .composer{padding-top:.45rem;padding-bottom:calc(.45rem + env(safe-area-inset-bottom))}}
