@font-face{font-family:Geist;src:url('/static/geist-cyrillic.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0400-052F,U+2DE0-2DFF,U+A640-A69F}
@font-face{font-family:Geist;src:url('/static/geist-latin.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0000-03FF,U+2000-206F,U+2190-21FF}
:root{color-scheme:light;--ink:#262720;--sub:#66665c;--line:#deded4;--paper:#fbfaf7;--side:#f1f1e9;--red:#ac3427;--button:#282b23;--radius:14px;font-family:Geist,Arial,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}
body{margin:0}
button,input,textarea{font:inherit;color:inherit}
button{cursor:pointer}button:disabled{cursor:default}
button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #b34a39;outline-offset:3px}
button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:none;border:0}
svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
[hidden],.symbols{display:none!important}
.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.skip:focus{position:fixed;z-index:10;padding:10px;background:white}
.shell{height:100vh;height:100dvh;display:grid;grid-template-columns:clamp(220px,20vw,278px) minmax(0,1fr)}
.side{display:flex;flex-direction:column;background:var(--side);border-right:1px solid var(--line);padding:25px 19px 12px;min-height:0}
.side-head,.bar,.bar-left,.guest-actions,.account,.brand{display:flex;align-items:center}
.side-head{justify-content:space-between;padding:2px 5px 33px}
.brand{gap:7px}.brand svg{height:33px;width:33px;color:var(--red)}.brand>span{font-size:26px;font-weight:730;letter-spacing:-1.5px;line-height:1}.brand>small{font-size:10px;background:#e5e4d9;border:1px solid #d2d3c6;padding:2px 4px;border-radius:4px;font-weight:650;align-self:start}
.new-chat{background:var(--button);color:#fffef8;justify-content:flex-start;border-radius:10px;padding:12px 14px;font-size:14px;font-weight:540}
.new-chat:hover,.pill:hover{background:#41453a}.new-chat svg{width:17px;height:17px}
.side-label{font-size:12px;font-weight:640;margin:29px 10px 11px;color:#575a50}
.history-empty{margin:3px 10px 0;max-width:180px;color:var(--sub);font-size:13px;line-height:1.5}
.history{overflow:auto;min-height:0}
.history button{width:100%;justify-content:flex-start;padding:10px 9px;border-radius:8px;font-size:13px;text-align:left}
.history button[aria-current],.history button:hover{background:#e3e5d8}.history button svg{width:15px}
.history button span,.account strong,.bar-left span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account{margin-top:auto;gap:9px;border-top:1px solid var(--line);padding-top:13px;font-size:13px;min-width:0}
.avatar{display:grid;place-items:center;width:31px;height:31px;flex:none;background:#e9d7cb;color:#783327;border-radius:50%;text-transform:uppercase;font-weight:650}
.account .icon-button{margin-left:auto}
.icon-button{width:36px;height:36px;border-radius:8px;padding:8px}.icon-button:hover{background:#e9e9de}
.main{height:100%;display:grid;grid-template-rows:64px minmax(0,1fr) auto;min-width:0}
.bar{padding:0 clamp(19px,3.6vw,52px);justify-content:space-between;border-bottom:1px solid #e5e4dc;gap:16px}
.bar-left{min-width:0;gap:12px;font-size:14px;font-weight:590}.guest-actions{gap:14px;flex:none}
.text-button{font-size:13px;font-weight:560;padding:6px 1px}.text-button:hover{text-decoration:underline;text-underline-offset:4px}
.pill{padding:9px 15px;border-radius:22px;background:var(--button);color:#fff;font-weight:550;font-size:13px}
.mobile,.scrim{display:none}
.scroll{overflow:auto;display:flex;flex-direction:column;overscroll-behavior:contain}
.welcome{width:min(700px,100%);padding:20px 14px 22px;margin:auto;display:flex;flex-direction:column;align-items:center;text-align:center}
.scene{position:relative;width:245px;height:180px;display:grid;place-items:center;isolation:isolate}
.scene img{width:180px;height:180px;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 7px 5px #60544317)}
.orbit{position:absolute;left:50%;top:75%;width:175px;height:34px;border:1px solid #d4caba;border-radius:50%;transform:translate(-50%,-50%) rotate(-7deg)}
.orbit::after,.orbit::before{content:"";position:absolute;inset:3px -22px;border:1px solid #ded7c9;border-radius:50%}.orbit::before{inset:6px -40px;border-color:#e9e3d8}
.welcome h1{font-size:clamp(45px,5vw,71px);font-weight:550;letter-spacing:-.07em;margin:12px 0 7px;line-height:1.1}
.welcome h1 em{font-family:Georgia,'Times New Roman',serif;color:var(--red);font-weight:400;letter-spacing:-.065em}
.welcome>p{font-size:clamp(13px,1.3vw,16px);line-height:1.55;color:var(--sub);margin:0 0 23px}
.suggestions{display:flex;gap:9px;flex-wrap:wrap;justify-content:center}
.suggestions button{gap:8px;background:#fffefa;border:1px solid var(--line);border-radius:30px;padding:9px 12px;font-size:12px;line-height:1.3;font-weight:500}
.suggestions button:hover{border-color:#b99482;background:#fff}.tile-icon{color:var(--red);width:15px;height:15px}.tile-arrow{width:11px;height:11px;color:#737368}
.messages{width:min(100%,796px);padding:27px 28px 30px;margin:0 auto;display:flex;flex-direction:column;gap:22px}.messages:empty{display:none}
.msg{display:flex;align-items:flex-start;gap:11px;overflow-wrap:anywhere;line-height:1.65;font-size:15px;min-width:0}
.msg .symbol{width:30px;height:30px;padding:5px;background:#f1e4d9;color:var(--red);border-radius:9px}
.msg .by{display:block;font-size:12px;font-weight:660;color:#695c51;margin:2px 0 5px}
.msg .copy{white-space:pre-wrap;overflow-wrap:anywhere}
.msg.user{align-self:flex-end;max-width:86%;padding:11px 15px;border-radius:16px 16px 4px 16px;background:#eaece2}
.msg.pending .copy{color:var(--sub);font-style:italic}
.dock{width:min(100%,800px);margin:auto;padding:12px 26px max(16px,env(safe-area-inset-bottom));}
.composer{background:#fffefb;border:1px solid #cccdbf;box-shadow:0 3px 13px #312f210a;border-radius:19px;display:flex;align-items:flex-end;padding:10px;gap:10px}
.composer:focus-within{border-color:#8a9080}
.composer textarea{resize:none;flex:1;min-width:0;background:none;border:none;line-height:1.5;min-height:40px;max-height:135px;padding:9px 8px;font-size:15px;outline:none!important}
.composer textarea::placeholder{color:#78796d}
#send{background:var(--red);border-radius:12px;color:white;height:39px;width:39px;flex:none}#send:disabled{background:#e6e7de;color:#757769}#send:hover:enabled,.primary:hover{background:#8d2b22}
.composer-foot a,.auth-privacy a{color:inherit;text-underline-offset:2px}.composer-foot{flex-wrap:wrap;gap:3px 12px;display:flex;justify-content:center;color:var(--sub);font-size:11px;margin-top:9px}
.notice{font-size:13px;background:#fff0e9;color:#853323;padding:9px 12px;border-radius:8px;line-height:1.45;margin:0 0 8px}
dialog{padding:0;border:none;border-radius:22px;width:min(400px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;color:var(--ink);background:var(--paper);box-shadow:0 25px 95px #1b1d1440}
dialog::backdrop{background:#25291f73}
.dialog-inner{padding:29px;position:relative}.dialog-close{position:absolute;top:12px;right:12px}
.auth-logo{color:var(--red);width:36px;height:36px;margin-bottom:15px}
.dialog-inner h2{font-size:31px;line-height:1.12;margin:0 0 8px;letter-spacing:-.05em;font-weight:610}
.dialog-inner p.auth-privacy{font-size:12px;line-height:1.4;margin:-6px 0 16px}.dialog-inner>p{color:var(--sub);font-size:14px;margin:0 0 20px;line-height:1.5}
#auth-form{display:flex;flex-direction:column;gap:7px}
#auth-form label{font-size:13px;font-weight:600}
#auth-form input{background:#fffefc;border:1px solid #c8cabe;border-radius:9px;min-height:42px;padding:9px 10px}
#handle{margin-bottom:7px}
#pass-hint{color:var(--sub);font-size:11px}
.primary{background:var(--red);color:white;border-radius:10px;min-height:43px;margin:10px 0 0;font-size:14px;font-weight:600}
.primary:disabled{opacity:.7}
.auth-alt{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:14px;font-size:12px;color:var(--sub)}.auth-alt button{color:var(--red)}
@media(max-width:740px){
.shell{display:block}
.side{position:fixed;z-index:4;left:0;top:0;bottom:0;max-width:86vw;width:270px;transform:translateX(-102%);visibility:hidden}
body.menu .side{transform:none;visibility:visible}.scrim{position:fixed;inset:0;z-index:3;background:#24261c55;width:100%;height:100%}
body.menu .scrim,.mobile{display:inline-flex}
.main{grid-template-rows:57px minmax(0,1fr) auto}
.bar{padding:0 13px 0 7px}.bar-left{gap:3px;font-size:13px}.guest-actions{gap:9px}.pill{padding:8px 12px}
.welcome{padding:12px;max-width:570px}.scene{height:143px;width:205px}.scene img{width:149px;height:149px}.orbit{width:140px}
.welcome h1{margin-top:9px}.welcome>p{max-width:255px;margin-bottom:18px}
.suggestions{column-gap:5px;row-gap:7px}.suggestions button{padding:8px 10px;font-size:11px;gap:6px}.suggestions .tile-arrow{display:none}
.messages{padding:20px 15px}.dock{padding:6px 11px max(10px,env(safe-area-inset-bottom))}.composer textarea{font-size:16px}.composer-foot{font-size:10px}
}
@media (max-height:590px){.scene{height:89px}.scene img{height:95px;width:95px}.orbit{width:82px;height:16px}.welcome h1{font-size:39px}.welcome>p{margin-bottom:10px}}
