@charset "UTF-8";

:root{color-scheme:dark;--bg:#090a13;--surface:#10121e;--surface-raised:#171827;--line:rgba(173,167,216,.13);--text:#f1f0fc;--muted:#a09bb4;--faint:#6e6b83;--violet:#a883ff;--purple:#884ff6;--blue:#6b9bff;--pink:#d179df;--cyan:#62c9da;--font:Inter,"Segoe UI",Arial,sans-serif}
:root{--zennie-logo:url("assets/zennie-z.png")}
.zennie-logo{display:block;flex-shrink:0;background:var(--zennie-logo) center/contain no-repeat}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;min-width:0}
body{background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.5;overflow:hidden;-webkit-font-smoothing:antialiased}
button,input,textarea{font:inherit}
button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}
button{color:inherit;cursor:pointer}
button{border:0}
button:disabled{cursor:default;opacity:.45}
button:not(:disabled),a,input,textarea,summary{transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,transform .18s ease}
button:not(:disabled):active{transform:translateY(1px)}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--violet);outline-offset:4px}
a{color:var(--violet);text-decoration:none}
a:hover{text-decoration:underline}
svg{width:20px;height:20px;flex-shrink:0;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
[hidden]{display:none!important}
.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}
.ambient{pointer-events:none;position:fixed;z-index:-1;border-radius:50%;filter:blur(90px);opacity:.26;animation:drift 18s ease-in-out infinite alternate}
.ambient-one{width:640px;height:500px;left:calc(50% - 320px);top:1%;background:radial-gradient(ellipse,rgba(111,43,224,.5),transparent 68%)}
.ambient-two{width:500px;height:400px;right:-310px;bottom:-100px;background:radial-gradient(ellipse,rgba(35,82,201,.6),transparent 70%);animation-delay:-9s}
.app-shell{height:100vh;height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;isolation:isolate}
.app-header{min-height:86px;padding:18px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid rgba(184,167,247,.075);background:rgba(9,10,19,.65);backdrop-filter:blur(18px);z-index:3}
.brand{display:inline-flex;align-items:center;gap:12px;color:inherit;flex-shrink:0}
.brand:hover{text-decoration:none}
.brand-icon{width:42px;height:42px}
.brand-copy{display:flex;flex-direction:column}
.brand-name{font-size:23px;font-weight:650;letter-spacing:-.7px;line-height:1.12}
.brand-dot{color:#b389ff}
.brand-subtitle{font-size:10.5px;font-weight:400;color:var(--muted);letter-spacing:.25px;margin-top:5px}
.header-actions{display:flex;align-items:center;gap:9px}
.knowledge-status{display:flex;align-items:center;gap:8px;font-size:10px;color:#858299;letter-spacing:.15px;white-space:nowrap;margin-right:10px}
.knowledge-status strong{font-weight:550;color:#b7b1c9}
.knowledge-separator{padding:0 9px;color:#4b475f}
.live-dot{width:5px;height:5px;border-radius:50%;background:#98d7b4;box-shadow:0 0 7px #5ccd9d55}
.header-divider{width:1px;height:23px;background:var(--line);margin:0 9px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;font-weight:550}
.quiet-button{border:1px solid var(--line);background:#141420b3;padding:8px 12px;border-radius:9px;font-size:11px}
.quiet-button svg{width:15px;height:15px}
.quiet-button:hover{background:#242036;border-color:#a683ff55}
.icon-button{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;width:35px;height:35px;border-radius:9px;background:transparent;color:#9390a9}
.icon-button:hover{background:#ffffff09;color:#e5dcff}
.icon-button svg{width:18px;height:18px}
.conversation{min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth;scrollbar-gutter:stable both-edges;outline:0;overscroll-behavior-y:contain}
*{scrollbar-width:thin;scrollbar-color:#373045 transparent}
::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{border-radius:9px;background:#373045}::-webkit-scrollbar-track{background:transparent}
.welcome{min-height:100%;padding:38px 24px 20px;display:flex;align-items:center;justify-content:center}
.welcome-inner{width:100%;max-width:786px;text-align:center;padding-bottom:3px}
.welcome-logo{width:140px;height:120px;margin:0 auto 24px;display:grid;place-items:center}
.welcome-logo .zennie-logo{width:100%;height:100%}
.welcome-eyebrow{color:#9581ba;font-size:9px;letter-spacing:2px;line-height:1.4;font-weight:600;display:flex;align-items:center;justify-content:center;gap:7px;margin-bottom:14px}
.welcome-eyebrow span{width:4px;height:4px;border-radius:50%;background:#a070ed;box-shadow:0 0 7px #a070ed88}
h1{font-size:43px;line-height:1.2;letter-spacing:-1.7px;font-weight:550;margin:0 0 12px}
h1 span{background:linear-gradient(100deg,#d4b7ff 5%,#b889ff 55%,#8da4ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.welcome-description{font-size:16px;color:#a6a0b9;font-weight:400;letter-spacing:-.15px;margin:0}
.suggestions{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:37px auto 0;max-width:736px;text-align:left}
.suggestion{position:relative;display:flex;align-items:center;gap:15px;padding:21px 18px;min-height:100px;text-align:left;border:1px solid #a797d018;border-radius:13px;background:linear-gradient(130deg,#19162599,#12131fb3);box-shadow:inset 0 1px 0 #ffffff03;overflow:hidden}
.suggestion:hover{border-color:#a77cef60;background:linear-gradient(130deg,#282035bb,#17192bb3);box-shadow:0 5px 25px #0002,0 0 24px #915bf008;transform:translateY(-2px)}
.suggestion-icon{width:36px;height:36px;display:grid;place-items:center;flex-shrink:0;border-radius:10px;border:1px solid currentColor;color:var(--violet);background:#8057ca12;border-color:#a883ff1a}
.suggestion-icon svg{width:19px;height:19px;stroke-width:1.45}
.suggestion-icon.blue{color:#7d9ff5;background:#4e6ab916;border-color:#7d9ff51a}
.suggestion-icon.pink{color:#c985d1;background:#bf57c016;border-color:#c985d11a}
.suggestion-icon.cyan{color:#73bcc9;background:#47adb616;border-color:#73bcc91a}
.suggestion-copy{display:flex;flex-direction:column;gap:6px;font-size:12px;line-height:1.55;font-weight:450;color:#d3cede;padding-right:12px}
.suggestion-category{font-size:8px;line-height:1.2;letter-spacing:1.25px;font-weight:600;color:#7c728f}
.suggestion-arrow{position:absolute;right:14px;top:15px;width:11px;height:11px;color:#62576f;stroke-width:1.5}
.suggestion:hover .suggestion-arrow{color:#c59fff}
.welcome-footnote{display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;color:#646075;margin:23px 0 0}
.welcome-footnote svg{width:12px;height:12px;stroke-width:1.4;color:#837096}
.messages{display:flex;flex-direction:column;gap:28px;width:100%;max-width:872px;margin:0 auto;padding:32px 18px 20px}
.messages:empty{display:none}
.message{min-width:0;animation:message-in .3s ease-out;overflow-wrap:anywhere}
.message.user{max-width:82%;align-self:flex-end;border:1px solid #a883ff20;background:linear-gradient(115deg,#261d38,#211c34);border-radius:18px 18px 5px 18px;padding:15px 20px;box-shadow:0 5px 16px #0000000a}
.message.user .message-label{color:#b1a3c7;margin:0 0 6px;font-size:9px;letter-spacing:1px;text-transform:uppercase}
.message.user .message-content{white-space:pre-wrap;font-size:14px;color:#eee8fa}
.message.assistant{align-self:stretch;border:1px solid #a797d018;border-radius:17px;padding:22px 24px;background:linear-gradient(140deg,#141320d9,#10111cbf);box-shadow:0 8px 28px #0000000a}
.message-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.message-label{font-size:13px;font-weight:600;color:#ccb0ff;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.message.assistant>.message-label::before{content:"";display:block;flex-shrink:0;width:23px;height:23px;background:var(--zennie-logo) center/contain no-repeat}
.message-header .message-label{margin:0}
.reference-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.reference-chip{display:inline-flex;align-items:center;border:1px solid #a584f02a;border-radius:6px;background:#8757cc12;color:#c9a9ff;font-size:10px;line-height:1.4;padding:5px 8px;cursor:pointer;letter-spacing:.15px}
.reference-chip:hover{background:#8757cc2c;border-color:#a584f067;color:#e1cdff}
.reference-chip button{background:transparent;color:inherit;font-size:inherit;padding:0}
.message-content{font-size:14px;line-height:1.8;letter-spacing:.02px;color:#cfcbdd}
.message-content>:first-child{margin-top:0}.message-content>:last-child{margin-bottom:0}
.message-content p{margin:0 0 12px}
.message-content h2,.message-content h3,.message-content h4{font-size:14px;line-height:1.5;font-weight:650;letter-spacing:0;color:#eee8fb;margin:21px 0 9px}
.message-content strong{color:#eee7fc;font-weight:600}
.message-content ul,.message-content ol{margin:9px 0 15px;padding-left:21px}
.message-content li{margin:5px 0;padding-left:3px}.message-content li::marker{color:#aa87dd}
.message-content code{padding:2px 5px;border-radius:4px;background:#a391cd12;color:#dec5fa;font-size:.93em}
.message-content pre{max-width:100%;overflow:auto;padding:12px;border-radius:8px;background:#080911}
.message-content blockquote{border-left:2px solid #956de2;margin:16px 0;padding:3px 16px;color:#b6a8cf}
.message-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;font-size:12px}
.message-content td,.message-content th{padding:9px 12px;text-align:left;border:1px solid var(--line)}
.message-actions{display:flex;align-items:center;gap:7px;margin-top:18px;padding-top:13px;border-top:1px solid #b6a1e30d}
.message-actions button{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:6px;font-size:10px;color:#9f92b7;background:transparent}
.message-actions button:hover{background:#a48cc612;color:#d7baff}.message-actions button svg{width:13px;height:13px}
.web-sources{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0 0}
.web-sources>.source-meta{display:block;width:100%;font-size:8px;color:#6f849f;font-weight:650;letter-spacing:1.1px;margin:0 0 1px;text-transform:uppercase}
.web-source{min-width:0;max-width:100%;display:inline-flex;border:1px solid #72a7ec24;background:#619ae60a;border-radius:6px;font-size:10px;padding:5px 8px;line-height:1.4}
.web-source a,a.web-source{color:#8fb5e6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.message.error{border:1px solid #e286aa36;background:linear-gradient(115deg,#44213540,#22182477);border-radius:14px;padding:19px 22px;color:#e1bad0}
.message.error .message-label{color:#eaa3bc}.message.error .message-content{color:#c9adbd}
.message.assistant.is-pending{display:grid;place-items:center;min-height:170px;padding:20px;border-color:transparent;background:none;box-shadow:none;animation:none}
.analysis-logo{position:relative;isolation:isolate;width:150px;aspect-ratio:1297/1212;background:none}
.analysis-animation{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.composer-dock{position:relative;padding:4px 28px 19px;background:linear-gradient(0deg,#090a13 75%,#090a13d9 92%,#090a1300);z-index:2}
.composer-container{max-width:838px;margin:auto}
.status{min-height:25px;padding:0 13px 8px;font-size:11px;color:#b295d9;line-height:1.5;letter-spacing:.1px}
.status:not(:empty)::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#b58cff;margin-right:8px;box-shadow:0 0 7px #b58cff66;vertical-align:2px;animation:status-pulse 1.6s ease-in-out infinite}
.composer{display:flex;align-items:flex-end;gap:14px;padding:11px 12px 11px 22px;border:1px solid #a594c52e;border-radius:17px;background:linear-gradient(115deg,#171522,#121420);box-shadow:0 7px 34px #0003,inset 0 1px 0 #d5baff08;transition:box-shadow .2s ease,border-color .2s ease}
.composer:focus-within{border-color:#a46cfa80;box-shadow:0 0 0 3px #9b51e908,0 0 32px #9155ff14,0 7px 34px #0002}
textarea{display:block;min-width:0;flex:1;width:100%;min-height:43px;max-height:180px;padding:11px 0 9px;resize:none;border:0;outline:0;color:#e7dff3;background:transparent;line-height:1.65;font-size:13px;caret-color:#c7a2ff;overflow-y:auto}
textarea::placeholder{color:#797286;opacity:1}textarea:disabled{opacity:.65}
.composer-actions{display:flex;gap:6px;align-items:center;flex-shrink:0}
.mic-button{width:39px;height:43px;color:#aaa0bc}
.mic-button svg{width:21px;height:21px;stroke-width:1.6}
.mic-button.recording,.mic-button[aria-pressed="true"]{color:#f19fd0;background:#d854a624;box-shadow:0 0 0 1px #d86cad55;animation:recording-pulse 1.5s ease-in-out infinite}
.send-button{width:43px;height:43px;border-radius:11px;display:grid;place-items:center;color:white;background:linear-gradient(145deg,#a56af7,#8250df 63%,#7351d9);box-shadow:inset 0 1px 0 #e2beff55,0 2px 13px #854ade22;flex-shrink:0}
.send-button svg{width:21px;height:21px;stroke-width:2}
.send-button:hover:not(:disabled){background:linear-gradient(145deg,#b882ff,#9560ea 63%,#8060eb);box-shadow:inset 0 1px 0 #e2beff55,0 0 19px #985cf34d}
.send-button:disabled{opacity:.45}
.composer-hint{display:flex;justify-content:space-between;gap:15px;font-size:9px;line-height:1.5;color:#615a72;padding:10px 4px 0}
.composer-hint>span:first-child{color:#6f657f}
kbd{font:inherit;color:#81738f}.hint-divider{padding:0 5px;color:#4e445c}
.dialog{width:calc(100% - 36px);max-width:470px;max-height:calc(100dvh - 40px);margin:auto;border:1px solid #a17dcc3d;border-radius:22px;padding:34px;background:radial-gradient(ellipse at 20% 0,#58308121,transparent 55%),#12121f;color:var(--text);box-shadow:0 30px 140px #000b,0 0 70px #9862f40a;overflow:auto}
.dialog::backdrop{background:#060710bb;backdrop-filter:blur(10px)}
.dialog[open]{animation:dialog-in .2s ease-out}
.dialog-close{position:absolute;top:17px;right:16px}
.setup-mark{width:48px;height:48px;margin:0 0 25px}
.dialog-eyebrow{font-size:8px;font-weight:650;letter-spacing:1.45px;color:#8a729e;line-height:1.5;margin-bottom:9px}
.dialog h2{font-size:29px;line-height:1.2;letter-spacing:-.9px;font-weight:550;margin:0 0 12px}
.dialog-description{font-size:12px;line-height:1.7;color:#9790a9;margin:0}
.settings-form{margin-top:28px}
.form-field+.form-field{margin-top:20px}
.form-field>label{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px;color:#d6cae7;margin:0 0 8px;font-weight:550}
.form-field label span{font-size:9px;font-weight:400;color:#796b8e}
.key-field{display:flex;align-items:center;border:1px solid #a492c627;border-radius:10px;background:#0c0d17;overflow:hidden;transition:box-shadow .2s,border-color .2s}
.key-field:focus-within{border-color:#a477f799;box-shadow:0 0 0 3px #a168f70a}
.key-field input{min-width:0;width:100%;flex:1;background:transparent;color:#d7c9ed;border:0;outline:0;padding:13px 14px;font-size:12px;line-height:1.5;letter-spacing:.2px}
.key-field input::placeholder{color:#60596e;letter-spacing:0}
.key-visibility{margin-right:6px;width:32px;height:32px}.key-visibility svg{width:16px;height:16px}
.storage-note{font-size:9px;color:#746a86;display:flex;align-items:flex-start;gap:7px;margin:16px 0 24px;line-height:1.6}
.storage-note svg{width:13px;height:13px;margin-top:1px;stroke-width:1.4}
.primary-button{width:100%;min-height:44px;background:linear-gradient(105deg,#a166f1,#7c4cdb);border:1px solid #bd91fa32;color:#fff;border-radius:10px;box-shadow:0 4px 19px #8948e31a,inset 0 1px 0 #e2b4ff22;font-size:12px;gap:12px}
.primary-button svg{width:16px;height:16px}.primary-button:hover{background:linear-gradient(105deg,#ac77f7,#8f60e7);box-shadow:0 4px 22px #8948e333}
.settings-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:23px;padding-top:20px;border-top:1px solid #a791ca15}
.toggle-label{display:flex;align-items:center;gap:8px;font-size:9px;color:#8c819f;cursor:pointer;position:relative}
.toggle-label input{position:absolute;width:1px;height:1px;opacity:0}
.toggle-track{width:27px;height:16px;border:1px solid #80728d36;border-radius:12px;background:#242032;position:relative;flex-shrink:0;transition:background .2s,border-color .2s}
.toggle-track::after{content:"";position:absolute;width:10px;height:10px;border-radius:50%;left:2px;top:2px;background:#82758d;transition:transform .2s,background .2s}
.toggle-label input:checked+.toggle-track{background:#784ab8;border-color:#b782f288}.toggle-label input:checked+.toggle-track::after{transform:translateX(11px);background:#e8d5ff}
.toggle-label input:focus-visible+.toggle-track{outline:2px solid var(--violet);outline-offset:3px}
.text-button{font-size:9px;padding:5px 0;color:#a18bab;background:transparent;white-space:nowrap}.text-button:hover{color:#edb3d0}
.sources-dialog{max-width:748px;padding:0;background:#12121f}
.sources-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:27px 30px 23px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#12121ff7;backdrop-filter:blur(12px);z-index:1}
.sources-header h2{font-size:24px;margin-bottom:7px}.sources-header .dialog-description{font-size:11px}.sources-header .dialog-eyebrow{font-size:8px}.sources-header .icon-button{margin-right:-8px;margin-top:-8px}
.sources-content{padding:6px 30px 27px}
.source-rule{padding:22px 0;border-bottom:1px solid var(--line)}.source-rule:last-child{border-bottom:0;padding-bottom:0}
.source-rule h3{color:#e1d3f6;font-size:14px;line-height:1.6;margin:7px 0 10px;font-weight:550}.source-rule h4{font-size:12px;color:#cbb8e7;margin:0 0 10px}
.source-meta{font-size:10px;color:#a989ca;display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;line-height:1.6}
.source-text{white-space:pre-wrap;font-size:12px;line-height:1.9;color:#bfb6d0;overflow-wrap:anywhere;margin:0}
.debug-panel{max-width:838px;margin:12px auto 25px;border:1px solid #75618b40;border-radius:10px;background:#14111bd9;color:#c1afcc;font-size:11px;padding:12px;overflow:hidden}
.debug-panel summary{cursor:pointer;color:#b58fd6;padding:4px}.debug-panel pre{font-family:Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;line-height:1.7;max-height:400px;overflow:auto}
.toast{position:fixed;bottom:117px;left:50%;transform:translateX(-50%);z-index:20;padding:10px 17px;max-width:calc(100% - 32px);border:1px solid #ae84d94d;border-radius:10px;background:#221c31f5;color:#dcc6f0;box-shadow:0 8px 28px #0004;font-size:12px;text-align:center;animation:toast-in .18s ease-out}
@keyframes drift{from{transform:translate(-20px,0)}to{transform:translate(30px,30px)}}
@keyframes message-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes status-pulse{50%{opacity:.4}}
@keyframes recording-pulse{50%{box-shadow:0 0 0 5px #d86cad0a,0 0 18px #d854a626}}
@keyframes dialog-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes toast-in{from{opacity:0;bottom:111px}to{opacity:1;bottom:117px}}
@media(min-width:1450px){.welcome{padding-bottom:35px}.welcome-logo{margin-bottom:29px}.suggestions{margin-top:42px}.app-header{padding-left:44px;padding-right:44px}}
@media(max-height:800px) and (min-width:701px){.welcome{padding-top:24px;padding-bottom:8px}.welcome-logo{height:98px;margin-bottom:17px;transform:scale(.88)}.welcome-eyebrow{margin-bottom:12px}h1{font-size:37px}.welcome-description{font-size:14px}.suggestions{margin-top:27px;gap:9px}.suggestion{min-height:86px;padding:16px 18px}.welcome-footnote{margin-top:18px}.composer-dock{padding-bottom:13px}.app-header{min-height:78px;padding-top:15px;padding-bottom:15px}}
@media(max-width:1000px){.app-header{padding:17px 24px}.knowledge-status{display:none}.header-divider{display:none}.welcome{padding-left:30px;padding-right:30px}}
@media(max-width:700px){.app-header{min-height:73px;padding:14px 18px;gap:12px}.brand{gap:9px}.brand-icon{width:37px;height:37px;border-radius:11px}.brand-name{font-size:21px}.brand-subtitle{font-size:9px;letter-spacing:0;margin-top:4px}.header-actions{gap:4px}.header-actions>.icon-button{width:30px;height:32px}.new-chat-button{padding:7px 8px;font-size:10px;gap:5px}.new-chat-button svg{width:14px;height:14px}.welcome{padding:27px 20px 16px}.welcome-inner{max-width:490px}.welcome-logo{width:120px;height:93px;margin-bottom:21px}.welcome-eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:13px}h1{font-size:34px;letter-spacing:-1.2px;margin-bottom:10px}.welcome-description{font-size:13px;letter-spacing:0}.suggestions{margin-top:28px;gap:9px}.suggestion{min-height:108px;padding:15px 12px;gap:10px;align-items:flex-start;flex-direction:column}.suggestion-icon{width:27px;height:27px;border-radius:7px}.suggestion-icon svg{width:16px;height:16px}.suggestion-copy{font-size:11px;line-height:1.5;gap:5px;padding-right:0}.suggestion-category{font-size:6.5px;letter-spacing:.8px}.suggestion-arrow{right:12px;top:13px;width:10px;height:10px}.welcome-footnote{font-size:8px;margin-top:20px;gap:5px}.welcome-footnote svg{width:11px;height:11px}.messages{gap:22px;padding:25px 15px 15px}.message.assistant{padding:18px}.message.user{padding:13px 16px;max-width:91%}.message-content,.message.user .message-content{font-size:13px}.message-label{font-size:12px}.message-actions{margin-top:15px;padding-top:10px}.composer-dock{padding:0 15px max(13px,env(safe-area-inset-bottom))}.composer{gap:7px;padding:8px 9px 8px 15px;border-radius:14px}textarea{font-size:12px;padding-top:10px;min-height:40px;max-height:130px}.composer-actions{gap:3px}.send-button{width:38px;height:40px;border-radius:9px}.mic-button{width:33px;height:40px}.mic-button svg{width:19px;height:19px}.composer-hint{font-size:8px;padding-top:9px;justify-content:center}.composer-hint>span:last-child{display:none}.status{font-size:10px;min-height:23px;padding-left:8px}.debug-panel{margin:12px 15px 20px}.dialog{padding:27px;max-width:440px;border-radius:18px}.dialog h2{font-size:27px}.dialog-close{top:12px;right:11px}.sources-dialog{padding:0}.sources-header{padding:23px}.sources-header h2{font-size:23px}.sources-content{padding:2px 23px 24px}.source-text{font-size:11px}.source-rule h3{font-size:13px}.toast{bottom:105px}}
@media(max-width:400px){.app-header{padding:13px 13px}.brand-subtitle{font-size:8px}.brand-name{font-size:20px}.brand-icon{width:34px;height:34px}.brand{gap:8px}.new-chat-button{width:30px;height:32px;padding:0;border:0;background:transparent}.new-chat-button span{display:none}.new-chat-button svg{width:18px;height:18px}.header-actions{gap:2px}.welcome{padding-left:16px;padding-right:16px;padding-top:22px}.welcome-logo{height:82px;margin-bottom:20px;transform:scale(.9)}h1{font-size:31px}.welcome-description{font-size:12px}.welcome-eyebrow{font-size:7px;letter-spacing:1.3px}.suggestions{gap:8px;margin-top:23px}.suggestion{padding:13px 11px;min-height:112px;gap:9px}.suggestion-copy{font-size:10px}.suggestion-category{font-size:6px;letter-spacing:.6px}.welcome-footnote{font-size:7px}.dialog{padding:25px 22px}.form-field>label{font-size:10px}.form-field label span{font-size:8px}.settings-options{gap:10px}.toggle-label{font-size:8px}.storage-note{font-size:8px}.sources-dialog{padding:0}}
.settings-error{font-size:12px;line-height:1.6;color:#f9a6bd;margin:0;overflow-wrap:anywhere}
.settings-error:empty{display:none}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-motion:reduce){.analysis-animation{display:none}.analysis-logo{background:var(--zennie-logo) center/contain no-repeat}}

/* Production access and phone viewport behavior. */
html,body{overflow-x:hidden}
.app-shell{height:var(--app-height,100dvh);position:relative;top:var(--viewport-top,0px)}
.app-header{padding-top:calc(14px + env(safe-area-inset-top));min-width:0}
.composer-dock{padding-bottom:calc(16px + env(safe-area-inset-bottom))}
.icon-button,.quiet-button,.send-button,.reference-chip{min-height:44px;min-width:44px}
.message-actions button{min-height:44px;padding:8px 10px}
.quiet-button{font-size:12px}
.header-actions{gap:4px;min-width:0}
.reference-chips,.web-sources,.message-content{min-width:0;max-width:100%;overflow-wrap:anywhere}
.reference-chip,.web-source{white-space:normal;overflow-wrap:anywhere}
.auth-screen{height:var(--app-height,100dvh);position:relative;top:var(--viewport-top,0px);overflow-y:auto;display:flex;align-items:center;justify-content:center;padding:calc(28px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom))}
.auth-card{width:100%;max-width:410px;min-width:0;padding:32px;border:1px solid #a17dcc3d;border-radius:24px;background:radial-gradient(ellipse at 15% 0,#6331a52c,transparent 65%),#12121fee;box-shadow:0 24px 100px #0008}
.auth-brand{text-align:center;margin-bottom:32px}
.auth-logo{width:92px;height:88px;margin:0 auto 15px}
.auth-brand h1{font-size:34px;letter-spacing:-1px;margin-bottom:4px}
.auth-brand p{font-size:13px;color:var(--muted);margin:0}
.auth-card h2{font-size:24px;font-weight:550;letter-spacing:-.6px;margin:0 0 8px}
.auth-description{color:var(--muted);font-size:13px;margin:0 0 24px}
.auth-card label{display:block;font-size:13px;color:#d6cae7;margin:18px 0 8px}
.auth-card input{display:block;width:100%;min-width:0;min-height:48px;border:1px solid #a492c640;border-radius:11px;background:#090b17;color:var(--text);font-size:16px;padding:12px 14px;outline:0}
.auth-card input:focus{border-color:var(--violet);box-shadow:0 0 0 3px #a168f715}
#activation-code{font-size:23px;letter-spacing:5px;text-align:center;font-variant-numeric:tabular-nums}
.auth-error{color:#f9a6bd;font-size:13px;overflow-wrap:anywhere;margin:14px 0;min-height:0}
.auth-error:empty{display:none}
.auth-card .primary-button{margin-top:22px;min-height:48px;font-size:15px}
#connection-status{text-align:center;color:var(--muted);font-size:14px}
#prompt{font-size:16px}
@media(max-width:700px){
  .app-header{padding-left:12px;padding-right:12px;gap:8px;min-height:76px}
  .brand{gap:8px}.brand-icon{width:33px;height:33px}.brand-name{font-size:21px}.brand-subtitle{font-size:9px}
  .header-actions{gap:1px}.quiet-button{padding:8px;font-size:10px}.new-chat-button svg{display:none}
  .welcome{padding-top:28px;padding-bottom:18px}.welcome-logo{width:88px;height:82px;margin-bottom:18px}
  .welcome h1{font-size:31px}.welcome-description{font-size:14px}
  .suggestions{gap:8px;margin-top:26px}.suggestion{padding:14px 12px;min-height:90px;gap:10px}
  .suggestion-copy{font-size:12px}.suggestion-category{font-size:8px}.suggestion-icon{width:30px;height:30px}
  .composer-dock{padding-left:12px;padding-right:12px}.composer-hint>span:last-child{display:none}
  .messages{padding-left:18px;padding-right:18px}.dialog{max-height:calc(var(--app-height,100dvh) - 24px);width:calc(100% - 24px)}
  .sources-header,.sources-content{padding-left:18px;padding-right:18px}.sources-header{gap:8px}
  .auth-card{padding:28px 22px}.auth-brand{margin-bottom:28px}
}
@media(max-height:600px){.auth-screen{align-items:flex-start}.auth-logo{width:58px;height:56px}.auth-brand{margin-bottom:18px}.welcome-logo{display:none}}
