/* КСВ AI — brandbook pp. 18–34. Fonts and vector marks are served locally. */
@font-face{font-family:Gearz;src:url('/assets/fonts/Gearz-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Gearz KSV';src:url('/assets/fonts/GearzKSV-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
:root{--red:#e7343f;--deep-red:#b81823;--paper:#f5f3f2;--sand:#ddd4c5;--ink:#312c2a;--muted:#756b63;--line:#e3ded9;--surface:#fff;--sidebar:268px;--display:'Gearz KSV',Gearz,sans-serif;--ease:cubic-bezier(.22,1,.36,1);font-family:Gearz,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;color:var(--ink);background:var(--paper);font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button,a{touch-action:manipulation}button,input,textarea,select{-webkit-tap-highlight-color:transparent}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--red);outline-offset:4px}button{transition:background .2s,color .2s,border-color .2s,box-shadow .25s,transform .3s var(--ease)}button:not(:disabled):active{transform:scale(.975)}a{color:var(--deep-red)}button svg{flex-shrink:0}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,strong{font-family:var(--display);font-weight:500}h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.025em}small{font-size:12px}::selection{background:#e7343f25;color:var(--ink)}.muted{color:var(--muted);line-height:1.7}.hidden{display:none!important}.loading{height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--muted)}.loading img{width:58px;animation:arrive .7s var(--ease) both}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#b6aba080;border-radius:10px}
/* Navigation */
.layout{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);height:100dvh;overflow:hidden;transition:grid-template-columns .45s var(--ease)}.sidebar{display:flex;flex-direction:column;min-width:0;padding:33px 20px 20px;background:var(--ink);color:var(--paper);gap:27px;overflow:hidden}.brand{padding:0 15px;flex-shrink:0}.brand-lockup{display:flex;align-items:center;gap:22px;min-height:52px}.brand-logo{width:82px;height:auto;display:block}.brand-ai{font-family:var(--display);font-size:24px;line-height:1;padding-left:20px;border-left:1px solid #ffffff35;color:var(--sand)}.brand small{display:block;font-size:9px;letter-spacing:1.5px;text-transform:uppercase;color:#c6bdb5;margin-top:15px;white-space:nowrap}.new-chat{display:flex;align-items:center;gap:10px;width:100%;min-height:47px;border:1px solid var(--red);border-radius:10px;background:var(--deep-red);color:#fff;padding:10px 12px;font-size:13px;white-space:nowrap;box-shadow:0 4px 14px #1e151515}.new-chat:hover{background:var(--deep-red);border-color:var(--deep-red);box-shadow:0 5px 24px #1e15152e}.new-plus{display:flex}.new-chat svg{width:18px;height:18px;transition:transform .35s var(--ease)}.new-chat:hover svg{transform:rotate(90deg)}.new-chat kbd{margin-left:auto;font:10px Gearz,sans-serif;color:#fff9}.nav{display:flex;flex-direction:column;gap:5px;margin-top:-8px}.nav button{border:0;background:none;color:#c7beb8;padding:12px 13px;display:flex;align-items:center;gap:12px;border-radius:9px;text-align:left;font-size:12px;min-height:43px;white-space:nowrap;position:relative}.nav button svg{width:18px;height:18px;color:#a89e96;transition:color .2s,transform .3s}.nav button.active{background:#ffffff0d;color:#fff}.nav button.active::before{content:'';position:absolute;left:0;top:14px;bottom:14px;width:2px;background:var(--red);border-radius:2px}.nav button.active svg{color:#f37178}.nav button:hover{background:#ffffff10;color:#fff}.nav button:hover svg{transform:translateY(-1px);color:#fff}.nav .badge{margin-left:auto;background:#ffffff12;border-radius:4px;padding:3px 6px;color:#d3c8bf;font-size:10px}.history-section{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.history-heading{display:flex;justify-content:space-between;align-items:center;padding:0 13px;margin-bottom:15px}.eyebrow{font-family:var(--display);font-size:9px;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted)}.sidebar .eyebrow{color:#b5aaa1}.history-count{font-size:10px;color:#b5aaa1}.search-wrap{display:flex;align-items:center;gap:8px;margin:0 2px 9px;padding:0 11px;border:1px solid #ffffff13;border-radius:7px;transition:border-color .2s;background:#00000008}.search-wrap:focus-within{border-color:#ddd4c56b}.search-wrap svg{width:14px;height:14px;flex-shrink:0;color:#b5aaa1}.history-search{background:none;color:var(--paper);outline:none!important;border:0;padding:10px 0;font-size:11px;min-width:0;width:100%}.history-search::placeholder{color:#b5aaa1}.history-list{overflow:auto;min-height:0}.history-item{display:flex;align-items:center;gap:9px;width:100%;background:none;border:0;border-radius:7px;text-align:left;padding:10px 12px;font-size:11px;color:#bfb4ab;min-height:35px}.history-item.active,.history-item:hover{background:#ffffff0e;color:#fff}.history-item.active svg{color:#f37178}.history-item svg{width:14px;height:14px;flex-shrink:0}.history-item span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-empty{padding:8px 13px;font-size:11px;line-height:1.8;color:#ac9f94}.sidebar-bottom{margin-top:auto;flex-shrink:0}.budget{border:1px solid #ffffff12;border-radius:9px;padding:13px;margin-bottom:18px}.usage-line{display:flex;flex-direction:column;gap:10px;color:#bcb0a6;font-size:9px}.usage-line strong{font-size:20px;color:#eee7df;letter-spacing:-.03em}progress{appearance:none;display:block;border:0;width:100%;height:3px;border-radius:5px;margin-top:12px;background:#ffffff12}progress::-webkit-progress-bar{background:#ffffff12;border-radius:5px}progress::-webkit-progress-value{background:var(--red);border-radius:5px}progress::-moz-progress-bar{background:var(--red)}.profile{display:flex;align-items:center;gap:10px;padding:0 4px}.initial{display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;border-radius:50%;background:var(--sand);color:var(--ink);font-family:var(--display);font-size:12px}.profile-name{flex:1;min-width:0}.profile-name strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#f5f3f2}.profile-name small{display:block;color:#b7aaa0;font-size:10px;margin-top:4px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;flex-shrink:0;border:0;border-radius:8px;background:none;color:var(--muted)}.icon-button svg{width:18px;height:18px}.icon-button:hover{background:#ddd4c53d;color:var(--ink)}.sidebar .icon-button{color:#b7aaa0;width:28px}.sidebar .icon-button:hover{background:#ffffff12;color:#fff}
/* The workspace is deliberately quiet; the brand lives in the type and geometry. */
.main{display:flex;flex-direction:column;min-width:0;position:relative;background:var(--paper)}.topbar{height:74px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid var(--line);gap:20px;background:#f5f3f2f2}.crumb{display:flex;align-items:center;gap:18px;min-width:0}.crumb-divider{height:17px;width:1px;background:#d6cfc8}.crumb strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{display:flex;align-items:center;gap:18px}.local-pill{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;white-space:nowrap}.dot{width:5px;height:5px;border-radius:50%;background:var(--red);flex-shrink:0}.model-picker{display:flex;align-items:center;gap:7px;border:1px solid #dcd5ce;border-radius:8px;padding-left:11px;background:#ffffff80;color:#84766c}.model-picker svg{width:15px;height:15px}.model-select{max-width:225px;outline:none;border:0;background:transparent;color:var(--ink);font-size:11px;padding:9px 10px 9px 0;cursor:pointer}.assistant-toggle{display:none}.workspace{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;scrollbar-gutter:stable}.chat-screen{width:100%;max-width:1128px;min-height:100%;margin:0 auto;display:flex;flex-direction:column;padding:0 48px}.welcome{flex:1;display:flex;flex-direction:column;justify-content:center;padding:34px 0 12px}.hero-row{display:grid;grid-template-columns:1fr 260px;gap:25px;align-items:center;margin-bottom:45px}.hero-copy{min-width:0}.welcome-tag{display:flex;align-items:center;gap:10px;font-size:9px;letter-spacing:1.4px;color:var(--muted);margin-bottom:25px}.tiny-line{width:22px;height:2px;background:var(--red);flex-shrink:0}.welcome h1{font-size:clamp(40px,4.4vw,65px);line-height:1.03;margin-bottom:24px;letter-spacing:-.04em}.welcome h1 span{color:var(--red)}.subtitle{font-size:14px;line-height:1.7;color:var(--muted);margin-bottom:0}.brand-sculpture{height:268px;position:relative;width:260px;justify-self:end}.shape{position:absolute;transition:transform .8s var(--ease)}.shape-square{width:101px;height:101px;right:15px;top:17px;background:var(--sand)}.shape-triangle{width:92px;height:92px;left:13px;top:31px;background:var(--red);clip-path:polygon(0 0,100% 50%,0 100%)}.shape-circle{width:149px;height:149px;left:28px;top:95px;border-radius:50%;background:var(--red);display:grid;place-items:center;box-shadow:0 17px 27px -20px #b8182370}.shape-circle img{width:91px;height:auto}.shape-outline{width:101px;height:101px;right:6px;top:137px;border:1px solid #b7a897;border-radius:50%;z-index:2}.sculpture-caption{position:absolute;bottom:-16px;right:5px;color:#8d7e70;font-size:7px;letter-spacing:1.2px}.brand-sculpture:hover .shape-square{transform:translate(8px,-6px)}.brand-sculpture:hover .shape-triangle{transform:translate(-5px,-3px)}.brand-sculpture:hover .shape-circle{transform:translateY(5px)}.brand-sculpture:hover .shape-outline{transform:translate(4px,9px)}.suggestion-heading{display:flex;align-items:center;gap:18px;margin:0 0 14px;color:var(--muted);font-size:8px;letter-spacing:1.1px}.suggestion-rule{height:1px;background:var(--line);flex:1}.suggestions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.suggestion{display:flex;flex-direction:column;position:relative;align-items:flex-start;text-align:left;min-height:158px;border:1px solid var(--line);border-radius:12px;background:#ffffffb8;padding:16px 16px 20px;overflow:hidden;transition:transform .4s var(--ease),background .25s,border-color .25s,box-shadow .4s}.suggestion:hover{transform:translateY(-5px);background:#fff;border-color:#e7343f70;box-shadow:0 12px 28px -16px #312c2a2b}.suggestion-top{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.suggestion-icon{display:flex;color:#7b6256}.suggestion-icon svg{width:21px;height:21px;stroke-width:1.45;transition:color .25s}.suggestion-number{font-size:9px;color:#a59a91}.suggestion strong{font-size:12px;line-height:1.3;margin-bottom:8px}.suggestion small{color:var(--muted);font-size:10px;line-height:1.55;padding-right:9px}.suggestion-arrow{position:absolute;right:12px;bottom:13px;color:#b5a99f;transition:transform .35s var(--ease),color .25s;font-family:Arial,sans-serif;font-size:17px}.suggestion:hover .suggestion-arrow{color:var(--red);transform:translate(2px,-2px)}.suggestion:hover .suggestion-icon{color:var(--red)}
/* Prompt and messages */
.composer-wrap{position:sticky;bottom:0;z-index:2;padding:21px 0 22px;background:linear-gradient(0deg,var(--paper) 86%,#f5f3f200)}.composer{background:#fff;border:1px solid #dcd4cc;border-radius:16px;padding:18px 19px 14px;box-shadow:0 6px 22px -10px #312c2a10;transition:border-color .3s,box-shadow .3s}.composer:focus-within{border-color:#bba89c;box-shadow:0 6px 25px -10px #312c2a25,0 0 0 3px #ddd4c538}.composer textarea{display:block;width:100%;border:0;outline:none;resize:none;min-height:64px;max-height:160px;line-height:1.7;color:var(--ink);background:none;font-size:14px;padding:0 2px}.composer textarea::placeholder{color:var(--muted)}.composer-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:7px}.composer-left{display:flex;align-items:center;gap:7px;min-width:0}.tool-button{display:flex;align-items:center;gap:6px;border:0;background:none;border-radius:7px;padding:7px 8px;color:#81766d;font-size:10px;white-space:nowrap}.tool-button:hover{color:var(--ink);background:var(--paper)}.tool-button svg{width:16px;height:16px}.attachment-button{padding-left:5px;color:#61564e}.attachment-button svg{width:19px;height:19px}.tool-separator{height:15px;width:1px;background:var(--line);margin:0 1px}.send{display:grid;place-items:center;width:37px;height:37px;flex-shrink:0;background:var(--red);border:0;color:white;border-radius:11px;box-shadow:0 3px 9px #e7343f14}.send svg{width:19px;height:19px;transition:transform .3s var(--ease)}.send:hover{background:var(--deep-red)}.send:hover svg{transform:translateY(-2px)}.send:disabled{background:#e4ded8;opacity:1;color:#a5988d;box-shadow:none}.send:disabled svg{transform:none}.composer-note{display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--muted);font-size:9px;line-height:1.6;margin:12px 4px 0}.enter-hint{display:flex;gap:4px;align-items:center;white-space:nowrap;color:#9d938a}.enter-hint svg{width:10px;height:10px;transform:rotate(90deg)}.attachment-chips{display:flex;flex-wrap:wrap;gap:8px}.attachment-chips:not(:empty){margin-bottom:14px}.chip{display:inline-flex;align-items:center;max-width:100%;gap:7px;padding:8px 10px;background:var(--paper);color:#6e5e51;border:1px solid var(--line);border-radius:8px;font-size:10px;animation:arrive .35s var(--ease) both}.chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chip svg{width:13px;height:13px;flex-shrink:0}.chip button{border:0;background:none;color:inherit;padding:0;display:flex}.conversation-toolbar{display:flex;align-items:center;justify-content:space-between;padding:22px 0 7px;font-size:11px;color:var(--muted);gap:20px;border-bottom:1px solid var(--line)}.conversation-toolbar>span{max-width:75%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.conversation-toolbar>div{display:flex;gap:4px}.messages{flex:1;display:flex;flex-direction:column;gap:34px;padding:29px 0 17px}.message{display:flex;align-items:flex-start;gap:14px;font-size:14px;line-height:1.85}.message .initial,.message .ai-icon{width:31px;height:31px;font-size:10px;flex-shrink:0}.message-body{min-width:0;flex:1}.message-meta{display:flex;align-items:center;gap:10px;font-size:10px;line-height:1.6;margin:5px 0 12px;color:#877d74}.message-meta strong{font-size:11px;color:var(--ink)}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#51483f;line-height:1.9}.message.user .message-text{display:inline-block;max-width:100%;padding:13px 18px;background:#e9e3dc;border-radius:2px 13px 13px 13px;color:var(--ink)}.message .copy{display:flex;align-items:center;gap:5px;font-size:10px;color:#8d8074;background:none;border:0;padding:10px 0;margin-top:9px}.copy svg{width:13px;height:13px}.message .copy:hover{color:var(--deep-red)}.request-note{font-size:11px;line-height:1.8;padding:12px 15px;color:var(--deep-red);background:#e7343f08;border-left:2px solid var(--red);margin-left:45px}.typing{display:inline-flex;align-items:center;gap:4px;min-height:30px;color:var(--muted)}.typing>span{font-size:11px;margin-left:8px}.typing i{width:5px;height:5px;border-radius:50%;background:var(--red);animation:thinking 1.3s ease-in-out infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}
/* Documents, team, preferences */
.page{width:100%;max-width:1200px;margin:0 auto;padding:42px 44px 88px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.page h1{font-size:31px;line-height:1.2;margin-bottom:10px}.page-heading p{margin:0;font-size:12px;line-height:1.7;color:var(--muted)}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;line-height:1.4;padding:11px 16px;min-height:38px;border-radius:8px;white-space:nowrap}.primary{border:1px solid var(--deep-red);background:var(--deep-red);color:white}.primary:hover{background:#9e141e;border-color:#9e141e;box-shadow:0 5px 16px #b818231a}.secondary{border:1px solid #d8cfc5;background:#fff;color:#6e5f53}.secondary:hover{border-color:#baa898;background:#f5f3f2}.primary svg,.secondary svg{width:16px;height:16px}.card{padding:24px;border:1px solid var(--line);border-radius:12px;background:#fff;margin-bottom:15px}.card h3{font-size:15px;margin-bottom:10px}.card p{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:18px}.empty-state{padding:72px 24px;border:1px dashed #ccbeb1;border-radius:14px;background:#ffffff60;text-align:center}.empty-state>svg{height:39px;width:39px;color:#a58c79;margin-bottom:18px;stroke-width:1.1}.empty-state h3{font-size:21px;margin-bottom:12px}.empty-state p{max-width:410px;margin:0 auto 26px;font-size:12px;line-height:1.9;color:var(--muted)}.file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.file-card{display:flex;flex-direction:column;gap:21px;padding:22px;border:1px solid var(--line);border-radius:12px;background:#fff;transition:border-color .2s,transform .3s var(--ease)}.file-card:hover{border-color:#c7b5a6;transform:translateY(-2px)}.file-top{display:flex;align-items:center;gap:12px}.file-type{width:40px;height:45px;flex-shrink:0;display:grid;place-items:center;background:var(--paper);color:var(--deep-red);border-radius:8px}.file-title{min-width:0;flex:1}.file-title strong{display:block;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.file-title small{display:block;margin-top:7px;font-size:10px;color:var(--muted)}.file-actions{display:flex;gap:8px;justify-content:flex-end}.file-actions .secondary{font-size:10px;padding:8px 11px;min-height:32px}.banner{font-size:11px;line-height:1.85;color:#716052;background:#eae3da;border:1px solid #e1d6c9;border-radius:9px;padding:15px 18px;margin-bottom:23px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:11px;background:#fff}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th,td{padding:17px 20px;border-bottom:1px solid var(--line)}th{background:#faf9f7;font-family:var(--display);font-size:9px;font-weight:500;letter-spacing:.5px;color:var(--muted);text-transform:uppercase}tr:last-child td{border:0}td strong{display:block}td small{display:block;margin-top:6px;font-size:10px;color:var(--muted)}.status{display:inline-flex;align-items:center;gap:6px;color:#51483f;background:#eee8df;border-radius:5px;font-size:10px;padding:6px 9px;white-space:nowrap}.status::before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.status.off{color:#8b7f74;background:#f2efeb}.row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.row:last-child{margin-bottom:0}.row .label,.row label{font-size:12px;color:#6b5c50}.row small{display:block;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.6}.divider{border:0;border-top:1px solid var(--line);margin:22px 0}.text-link{border:0;background:none;color:var(--deep-red);font-size:12px;padding:5px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-grid .card{margin:0}.models-heading{margin-top:38px}.models-heading h2{font-size:24px;margin-bottom:10px}.switch{width:41px;height:23px;border-radius:20px;border:0;background:#d6ccc3;padding:3px;display:flex;align-items:center;flex-shrink:0}.switch>span{display:block;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #312c2a25;transition:transform .35s var(--ease)}.switch.on{background:var(--deep-red)}.switch.on>span{transform:translateX(18px)}
/* Quick assistant */
.avatar-floating{position:fixed;right:23px;bottom:22px;width:53px;height:53px;display:grid;place-items:center;background:var(--red);border:4px solid var(--paper);border-radius:50%;padding:0;z-index:10;box-shadow:0 5px 23px #312c2a20;transition:box-shadow .35s,transform .5s var(--ease)}.avatar-floating>img{width:100%;height:100%;border-radius:50%;position:relative;z-index:1}.avatar-floating:hover{transform:translateY(-4px);box-shadow:0 8px 24px #b8182333}.avatar-halo{position:absolute;inset:-7px;border:1px solid #e7343f45;border-radius:50%;animation:avatar-ready 2.5s ease-out 2;pointer-events:none}.avatar-floating.paused .avatar-halo{animation:none;opacity:0}.avatar-floating.paused{opacity:.55}.avatar-caption{position:absolute;right:calc(100% + 13px);white-space:nowrap;font-size:10px;color:#6c5a4e;padding:7px 10px;background:#fff;border:1px solid var(--line);border-radius:7px;opacity:0;transform:translateX(7px);transition:opacity .25s,transform .35s;pointer-events:none}.avatar-floating:hover .avatar-caption{opacity:1;transform:translateX(0)}.avatar-floating.is-open .avatar-caption{display:none}.mini-panel{position:fixed;right:23px;bottom:89px;width:325px;padding:20px;background:#fff;border:1px solid #ded5cc;border-radius:18px;box-shadow:0 18px 60px #312c2a20;z-index:9;transform-origin:bottom right;animation:panel-open .45s var(--ease) both}.mini-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.mini-identity{display:flex;align-items:center;gap:10px}.mini-identity img{width:31px;height:31px}.mini-identity strong{display:block;font-size:13px}.mini-identity small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.mini-panel p{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:15px}.mini-panel textarea{width:100%;border:1px solid var(--line);border-radius:9px;background:#faf9f7;resize:none;padding:12px;color:var(--ink);line-height:1.7;font-size:12px}.mini-panel textarea::placeholder{color:#9b8b7d}.mini-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.mini-footer small{display:flex;align-items:center;gap:5px;font-size:9px;color:#8a7c6e}.mini-footer small svg{width:12px;height:12px}
/* The entrance is one continuous scene: the original mark recedes into the form. */
.boot-screen{min-height:100dvh;display:grid;place-items:center;background:var(--paper)}
.boot-lockup{display:flex;align-items:center;gap:48px;opacity:0;animation:fade-in .45s .15s ease forwards}
.boot-lockup img{width:clamp(170px,24vw,292px);height:auto}.boot-lockup>span{font:500 clamp(60px,8vw,108px)/1 var(--display);color:var(--ink)}
.auth-scene{position:relative;isolation:isolate;display:grid;place-items:center;min-height:100dvh;padding:82px 24px 76px;background:var(--paper);overflow:hidden}
.auth-ambient{position:absolute;inset:0;overflow:hidden;z-index:-1;pointer-events:none;opacity:1;transition:opacity .7s ease}
.ambient-shape{position:absolute;will-change:transform;animation-timing-function:cubic-bezier(.45,0,.55,1);animation-direction:alternate;animation-iteration-count:infinite}

.ambient-shape i{display:block;width:100%;height:100%}
.ambient-ring{width:clamp(180px,28vw,420px);aspect-ratio:1;left:-8%;top:32%;animation-name:ambient-drift-ring;animation-duration:23s;animation-delay:-8s}
.ambient-ring i{border:1px solid #b3a28e75;border-radius:50%}
.ambient-square{width:clamp(90px,12vw,164px);aspect-ratio:1;left:17%;top:10%;animation-name:ambient-drift-square;animation-duration:21s;animation-delay:-6s}
.ambient-square i{background:var(--sand);border-radius:2px;box-shadow:0 20px 35px -28px #6d574b45}
.ambient-disc{width:clamp(140px,18vw,250px);aspect-ratio:1;right:10%;top:17%;animation-name:ambient-drift-disc;animation-duration:19s;animation-delay:-4s}
.ambient-disc i{background:var(--red);border-radius:50%;box-shadow:0 25px 52px -35px #b8182355}
.ambient-triangle{width:clamp(105px,14vw,193px);aspect-ratio:1;left:12%;bottom:12%;animation-name:ambient-drift-triangle;animation-duration:25s;animation-delay:-10s}
.ambient-triangle i{background:var(--deep-red);clip-path:polygon(0 0,100% 50%,0 100%)}
.ambient-hexagon{width:clamp(140px,21vw,285px);aspect-ratio:1;right:6%;bottom:3%;animation-name:ambient-drift-hexagon;animation-duration:26s;animation-delay:-12s}
.ambient-hexagon i{background:#ddd4c5a8;clip-path:polygon(25% 6.7%,75% 6.7%,100% 50%,75% 93.3%,25% 93.3%,0 50%)}
.ambient-horizon{position:absolute;left:8%;right:8%;height:1px;bottom:25%;background:linear-gradient(90deg,#b3a28e00,#b3a28e38 30%,#b3a28e38 70%,#b3a28e00);transform:rotate(-12deg)}
.auth-topline{position:absolute;top:31px;left:38px;right:30px;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:3;min-height:36px}
.auth-topline>span{font-size:9px;letter-spacing:1.3px;color:#776d63}
.auth-skip{border:1px solid #d6cbbf;background:#f5f3f2b3;color:#716052;display:flex;align-items:center;gap:5px;border-radius:30px;padding:10px 13px;font-size:10px;transition:opacity .25s,background .2s,visibility .25s}
.auth-skip svg{width:13px;height:13px}.auth-skip:hover{background:#fff}
.auth-stage{position:relative;isolation:isolate;width:100%;max-width:430px;padding:34px 36px 29px;display:flex;align-items:center;flex-direction:column}
.auth-card-surface{position:absolute;inset:0;border-radius:24px;background:#ffffffd9;border:1px solid #ffffffc9;box-shadow:0 25px 90px -35px #312c2a2e,0 4px 18px -9px #312c2a10;backdrop-filter:blur(18px);z-index:-1;pointer-events:none}
.auth-brand{--brand-mark:80px;--brand-gap:22px;--brand-type:31px;--brand-height:53px;position:relative;z-index:2;width:153px;height:var(--brand-height);flex-shrink:0;margin:0 auto 25px}
.auth-brand-art{position:absolute;left:50%;top:50%;display:flex;align-items:center;justify-content:center;gap:calc(var(--brand-gap) * 4);height:calc(var(--brand-height) * 4);width:max-content;transform:translate(-50%,-50%) scale(.25);transform-origin:center;will-change:transform;white-space:nowrap}
.auth-brand-art img{width:calc(var(--brand-mark) * 4);height:auto;display:block;flex-shrink:0}.auth-brand-art>span:last-child{font-family:var(--display);font-size:calc(var(--brand-type) * 4);font-weight:500;line-height:1;color:var(--ink)}.auth-brand-divider{width:4px;height:96px;background:#b9ab9b85;flex-shrink:0}
.auth-scene .auth-form{width:100%;max-width:100%;margin:0;position:relative}
.auth-form-heading{text-align:center;margin-bottom:28px}.auth-form-heading h1{font:500 28px/1.2 var(--display);letter-spacing:-.035em;color:var(--ink);margin-bottom:11px}.auth-form-heading p{font-size:12px;line-height:1.7;color:var(--muted);margin:0}
label.field{display:block;font-size:11px;color:#726252;margin-bottom:18px}label.field input,label.field select{display:block;width:100%;font-size:12px;color:var(--ink);background:#fff;border:1px solid #dcd3ca;border-radius:8px;margin-top:9px;padding:13px 14px;outline:none;transition:border-color .2s,box-shadow .2s}label.field input:focus,label.field select:focus{border-color:#ad9180;box-shadow:0 0 0 3px #ddd4c545}label.field small{display:block;margin-top:8px;font-size:10px;line-height:1.7;color:var(--muted)}
.auth-scene label.field{font-size:12px;color:#65594f;margin-bottom:18px}.auth-scene label.field input{font-size:14px;min-height:49px;border-radius:10px;background:#ffffffb3;border-color:#ded5cb;padding:13px 15px;margin-top:8px}.auth-scene label.field input::placeholder{color:#8c7d6f}.auth-scene label.field input:focus{border-color:#b69a84;box-shadow:0 0 0 3px #ddd4c54d;background:#fff}
.auth-scene .auth-submit{width:100%;display:flex;justify-content:center;position:relative;min-height:49px;font-size:13px;border-radius:10px;margin-top:9px;background:var(--deep-red);border-color:var(--deep-red);box-shadow:0 5px 18px -8px #b8182370}.auth-submit>svg{position:absolute;right:17px;width:16px;transition:transform .35s var(--ease)}.auth-submit:hover>svg{transform:translateX(3px)}.auth-scene .auth-submit:hover{background:#9e141e;border-color:#9e141e}
.auth-caption{font-size:10px;line-height:1.8;text-align:center;color:#7e6e60;margin-top:21px}.form-error{min-height:15px;font-size:11px;color:var(--deep-red);line-height:1.7;margin:9px 0}.auth-scene .form-error:empty{display:none}.auth-scene .form-error:not(:empty){padding:10px 12px;border-radius:8px;background:#b8182308;margin:12px 0}
.auth-scene.is-preparing .auth-brand{visibility:hidden}.auth-scene.is-preparing .auth-card-surface,.auth-scene.is-preparing .auth-form{opacity:0}.auth-scene.is-preparing .auth-ambient{opacity:0}
.auth-scene.is-entering .auth-brand-art{animation:auth-brand-recede 2.3s cubic-bezier(.65,0,.2,1) both}
.auth-scene.is-entering .auth-card-surface{animation:auth-surface-arrive .95s 1.15s var(--ease) both}
.auth-scene.is-entering .auth-form{animation:auth-form-arrive .85s 1.4s var(--ease) both}
.auth-scene.is-entering .auth-ambient{animation:auth-ambient-arrive 1.65s .55s ease both}
.auth-scene.is-ready .auth-skip{opacity:0;visibility:hidden;pointer-events:none}.auth-scene.is-ready .auth-brand-art{will-change:auto}
@keyframes auth-brand-recede{0%{opacity:0;transform:translate(-50%,calc(-50% + var(--intro-travel,180px))) scale(var(--intro-art-scale,.85))}12%,32%{opacity:1;transform:translate(-50%,calc(-50% + var(--intro-travel,180px))) scale(var(--intro-art-scale,.85))}100%{opacity:1;transform:translate(-50%,-50%) scale(.25)}}
@keyframes auth-surface-arrive{from{opacity:0;transform:translate3d(0,20px,0) scale(.95)}to{opacity:1;transform:none}}
@keyframes auth-form-arrive{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:none}}
@keyframes auth-ambient-arrive{from{opacity:0}to{opacity:1}}
@keyframes ambient-drift-ring{from{transform:translate3d(-12px,-25px,0) scale(.97)}to{transform:translate3d(30px,25px,0) scale(1.06)}}
@keyframes ambient-drift-square{from{transform:translate3d(-12px,25px,0) rotate(-8deg)}to{transform:translate3d(20px,-24px,0) rotate(6deg)}}
@keyframes ambient-drift-disc{from{transform:translate3d(12px,-25px,0) scale(.95)}to{transform:translate3d(-25px,30px,0) scale(1.04)}}
@keyframes ambient-drift-triangle{from{transform:translate3d(-12px,18px,0) rotate(-7deg)}to{transform:translate3d(30px,-30px,0) rotate(7deg)}}
@keyframes ambient-drift-hexagon{from{transform:translate3d(25px,-18px,0) rotate(5deg)}to{transform:translate3d(-22px,20px,0) rotate(-7deg)}}
@media(max-width:900px){.ambient-square{left:7%;top:8%}.ambient-disc{right:-4%;top:19%}.ambient-triangle{left:1%;bottom:13%}.ambient-hexagon{right:-5%;bottom:6%}.ambient-ring{left:-18%;top:36%}.auth-topline>span{font-size:8px;letter-spacing:.8px}}
@media(max-width:520px){.auth-scene{padding:72px 20px 80px}.auth-stage{padding:29px 25px 25px;max-width:380px}.auth-card-surface{border-radius:20px;background:#ffffffe6}.auth-brand{--brand-mark:71px;--brand-gap:19px;--brand-type:28px;--brand-height:45px;width:135px;margin-bottom:23px}.auth-form-heading{margin-bottom:24px}.auth-form-heading h1{font-size:26px}.auth-form-heading p{font-size:11px}.auth-scene label.field input{font-size:16px}.auth-topline{left:23px;right:22px;top:22px;min-height:28px}.auth-topline>span{max-width:150px;font-size:7px;line-height:1.7;letter-spacing:.8px}.auth-skip{padding:8px 10px;font-size:9px}.ambient-disc{right:-13%;top:13%;width:154px}.ambient-square{left:-9%;top:8%;width:119px}.ambient-triangle{left:-14%;bottom:7%;width:156px}.ambient-hexagon{right:-18%;bottom:2%;width:205px}.ambient-ring{left:-40%;width:265px}.auth-caption{font-size:9px}.boot-lockup{gap:28px}}
@media(max-height:680px) and (min-width:521px){.auth-scene{padding-top:65px;padding-bottom:65px}.auth-stage{padding:25px 34px 24px}.auth-brand{--brand-mark:68px;--brand-type:27px;--brand-height:43px;width:137px;margin-bottom:17px}.auth-form-heading{margin-bottom:21px}.auth-form-heading h1{font-size:25px}.auth-scene label.field{margin-bottom:14px}.auth-caption{margin-top:16px}.auth-topline{top:17px}}
@media(prefers-reduced-motion:reduce){.auth-ambient .ambient-shape{will-change:auto}.auth-scene .auth-brand-art{will-change:auto}}

/* Dialogs */
.overlay{display:flex;align-items:center;justify-content:center;position:fixed;inset:0;background:#312c2a60;backdrop-filter:blur(6px);z-index:30;padding:24px;animation:fade-in .2s ease both}.dialog{width:100%;max-width:470px;max-height:90dvh;overflow:auto;background:#fff;border:1px solid #ece5de;border-radius:17px;padding:29px;box-shadow:0 30px 100px #211b1740;animation:panel-open .4s var(--ease) both}.dialog.wide{max-width:780px}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.dialog-head h2{font-size:22px;line-height:1.25;margin:0}.dialog .muted{font-size:12px}.document-preview{background:var(--paper);padding:20px;border-radius:9px;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.9 Gearz,sans-serif;color:#6b5a4c;max-height:55dvh;overflow:auto}.check{display:flex;align-items:center;gap:9px;font-size:12px;color:#7c6959;padding:10px 0}.check input{accent-color:var(--deep-red);width:15px;height:15px}.checks{margin:13px 0 20px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}#toast{position:fixed;left:50%;bottom:27px;z-index:100;transform:translate(-50%,30px);opacity:0;max-width:min(650px,90vw);background:var(--ink);color:var(--paper);padding:14px 21px;border:1px solid #ffffff13;border-radius:10px;font-size:12px;line-height:1.8;box-shadow:0 8px 30px #312c2a30;pointer-events:none;transition:opacity .25s,transform .4s var(--ease)}#toast.visible{opacity:1;transform:translate(-50%,0)}
/* Motion is tied to entry and intent; streaming does not rebuild message nodes. */
.view-enter .hero-copy,.view-enter.page{animation:arrive .7s var(--ease) both}.view-enter .shape-circle{animation:shape-circle-in 1.1s var(--ease) backwards}.view-enter .shape-square{animation:shape-square-in 1.1s .07s var(--ease) backwards}.view-enter .shape-triangle{animation:shape-triangle-in .95s .12s var(--ease) backwards}.view-enter .shape-outline{animation:shape-outline-in 1.2s .15s var(--ease) backwards}.view-enter .suggestion{animation:arrive .65s var(--ease) backwards}.view-enter .suggestion:nth-child(1){animation-delay:.12s}.view-enter .suggestion:nth-child(2){animation-delay:.19s}.view-enter .suggestion:nth-child(3){animation-delay:.26s}.view-enter .suggestion:nth-child(4){animation-delay:.33s}.view-enter .composer-wrap{animation:arrive .7s .2s var(--ease) backwards}.message-enter{animation:arrive .4s var(--ease) both}.auth-layout.view-enter .auth-copy{animation:arrive .8s var(--ease) both}.auth-layout.view-enter .auth-form-inner{animation:arrive .8s .12s var(--ease) both}.auth-layout.view-enter .auth-art{animation:arrive 1.4s .1s var(--ease) both}
@keyframes arrive{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes panel-open{from{opacity:0;transform:translateY(12px) scale(.965)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes thinking{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}@keyframes avatar-ready{0%{transform:scale(.9);opacity:0}30%{opacity:.7}100%{transform:scale(1.2);opacity:0}}@keyframes shape-circle-in{from{opacity:0;transform:translate(-16px,25px) scale(.88)}to{opacity:1;transform:none}}@keyframes shape-square-in{from{opacity:0;transform:translate(15px,-18px)}to{opacity:1;transform:none}}@keyframes shape-triangle-in{from{opacity:0;transform:translate(-25px,-10px)}to{opacity:1;transform:none}}@keyframes shape-outline-in{from{opacity:0;transform:translate(17px,20px) scale(.85)}to{opacity:1;transform:none}}
/* Compact navigation and responsive layouts. */
.sidebar-collapsed{--sidebar:82px}.sidebar-collapsed .sidebar{padding:29px 12px 22px;gap:27px}.sidebar-collapsed .brand{padding:0}.sidebar-collapsed .brand-lockup{justify-content:center;min-height:40px}.sidebar-collapsed .brand-logo{width:41px}.sidebar-collapsed .brand-ai,.sidebar-collapsed .brand small,.sidebar-collapsed .new-chat>span:not(.new-plus),.sidebar-collapsed .new-chat kbd,.sidebar-collapsed .nav button>span,.sidebar-collapsed .history-section,.sidebar-collapsed .budget,.sidebar-collapsed .profile-name,.sidebar-collapsed .profile .icon-button{display:none}.sidebar-collapsed .new-chat,.sidebar-collapsed .nav button{justify-content:center;padding:12px}.sidebar-collapsed .profile{justify-content:center;padding:0}.sidebar-collapsed .nav button.active::before{left:0}.sidebar-collapsed .sidebar-bottom{margin-top:auto}
@media(min-width:1500px){.chat-screen{max-width:1200px;padding:0 70px}.welcome{padding-top:43px}.hero-row{grid-template-columns:1fr 290px;margin-bottom:48px}.welcome h1{font-size:71px}.hero-row .brand-sculpture{margin-right:25px}.suggestion{min-height:169px;padding:19px}.suggestion strong{font-size:13px}.suggestion small{font-size:11px}.sidebar{padding-top:37px}.composer textarea{min-height:75px}.composer-wrap{padding-bottom:29px}}
@media(max-width:1150px){:root{--sidebar:238px}.sidebar{padding:28px 15px 18px;gap:23px}.nav button{font-size:11px;padding-left:11px;gap:10px}.brand{padding-left:12px}.brand-logo{width:75px}.brand small{font-size:8px}.new-chat{font-size:12px;gap:8px}.new-chat kbd{font-size:9px}.topbar{padding:0 25px}.chat-screen{padding:0 32px}.hero-row{grid-template-columns:1fr 215px;gap:10px;margin-bottom:34px}.brand-sculpture{transform:scale(.82);transform-origin:right center;margin-left:-35px;margin-top:-15px;margin-bottom:-25px}.welcome h1{font-size:49px}.suggestion{padding:13px;min-height:153px}.suggestion strong{font-size:11px}.suggestion small{font-size:9px}.suggestion-top{margin-bottom:16px}.page{padding:34px 30px 75px}.top-actions{gap:14px}.local-pill{display:none}.auth-story{padding:40px}.auth-copy h1{font-size:45px}}
@media(max-width:900px){.hero-row{grid-template-columns:1fr 170px}.brand-sculpture{transform:scale(.68);margin-left:-90px;margin-top:-40px;margin-bottom:-38px}.welcome h1{font-size:44px}.welcome-tag{font-size:8px;letter-spacing:.9px;margin-bottom:22px}.subtitle{font-size:12px}.suggestions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.suggestion{min-height:112px;padding:13px 15px}.suggestion-top{margin-bottom:10px}.suggestion strong{font-size:12px}.suggestion small{font-size:10px}.suggestion-icon svg{width:17px;height:17px}.suggestion-number{font-size:8px}.suggestion-heading{font-size:7px;gap:10px;letter-spacing:.6px}.hero-row{margin-bottom:29px}.welcome{padding-top:30px}.composer-left{gap:4px}.tool-button{padding:7px 4px;font-size:9px}.settings-grid{grid-template-columns:1fr}.file-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start;flex-direction:column}.auth-copy h1{font-size:39px}.auth-copy .welcome-tag{font-size:7px}.auth-story{padding:34px}.auth-form-wrap{padding:35px 30px 85px}}
@media(max-width:760px){:root{--sidebar:72px}.sidebar{padding:24px 9px 20px;gap:24px}.sidebar .brand{padding:0}.sidebar .brand-lockup{justify-content:center;min-height:38px}.sidebar .brand-logo{width:38px}.sidebar .brand-ai,.sidebar .brand small,.sidebar .new-chat>span:not(.new-plus),.sidebar .new-chat kbd,.nav button>span,.history-section,.budget,.profile-name,.sidebar .profile .icon-button{display:none}.sidebar .new-chat,.sidebar .nav button{justify-content:center;padding:12px}.sidebar .profile{justify-content:center;padding:0}.sidebar-bottom{margin-top:auto}.sidebar-toggle,.crumb-divider{display:none}.sidebar-collapsed{--sidebar:72px}.sidebar-collapsed .sidebar{padding:24px 9px 20px}.topbar{height:62px;padding:0 21px;gap:10px}.crumb strong{font-size:10px}.model-picker{gap:5px;padding-left:8px}.model-picker svg{width:12px}.model-select{max-width:185px;font-size:9px;padding:8px 5px 8px 0}.top-actions{gap:5px}.chat-screen{padding:0 25px}.welcome h1{font-size:44px}.hero-row{grid-template-columns:1fr 145px}.brand-sculpture{transform:scale(.6);margin-left:-115px}.page{padding:28px 25px 75px}.page h1{font-size:27px}.primary,.secondary{font-size:11px}.avatar-floating{right:16px;bottom:16px;width:45px;height:45px}.mini-panel{right:16px;bottom:73px;width:300px}.composer-wrap{padding-bottom:18px}.composer-note{font-size:8px}.enter-hint{display:none}.auth-layout{grid-template-columns:1fr}.auth-story{min-height:280px;padding:27px 30px}.auth-story .brand-logo{width:59px}.auth-story .brand-ai{font-size:20px}.auth-story .brand-lockup{min-height:38px}.auth-copy{margin:38px 0 0;padding:0;max-width:100%}.auth-copy h1{font-size:36px;margin-bottom:0}.auth-copy .welcome-tag,.auth-copy p,.auth-foot{display:none}.auth-art{transform:scale(.8);right:-50px;bottom:45px;opacity:.5}.auth-form-wrap{padding:37px 30px 75px}.auth-number{margin-bottom:25px}.auth-environment{bottom:25px}}
@media(max-width:520px){:root{--sidebar:58px}.sidebar,.sidebar-collapsed .sidebar{padding:19px 6px;gap:24px}.sidebar-collapsed{--sidebar:58px}.sidebar .brand-logo,.sidebar-collapsed .brand-logo{width:34px}.sidebar .new-chat{min-height:40px;padding:9px}.sidebar .nav button{padding:11px 8px;min-height:40px}.sidebar .initial{width:30px;height:30px;font-size:10px}.topbar{padding:0 15px}.crumb strong{font-size:9px}.model-select{max-width:145px;font-size:8px}.model-picker svg{display:none}.chat-screen{padding:0 18px}.hero-row{display:block;position:relative}.brand-sculpture{display:none}.welcome{padding-top:28px}.welcome h1{font-size:41px}.welcome-tag{font-size:7px}.subtitle{font-size:11px;line-height:1.8;max-width:250px}.desktop-break{display:none}.suggestion-heading{font-size:6px}.suggestion{padding:12px;min-height:120px}.suggestion strong{font-size:10px}.suggestion small{font-size:9px}.composer{padding:16px 13px 12px;border-radius:13px}.composer textarea{font-size:12px}.tool-button span{display:none}.tool-button{padding:6px}.composer-left{gap:5px}.tool-separator{margin:0 1px}.send{width:33px;height:33px;border-radius:9px}.composer-note{font-size:7px;max-width:calc(100% - 20px)}.messages{gap:26px}.message{gap:10px;font-size:12px}.message .initial,.message .ai-icon{width:25px;height:25px}.message-meta{margin-top:2px;flex-wrap:wrap;gap:3px 8px}.message-meta strong{font-size:10px}.message-meta span{font-size:8px}.page{padding:27px 17px 75px}.page h1{font-size:25px}.card{padding:19px}.file-actions{flex-direction:column}.two-fields{grid-template-columns:1fr}.dialog{padding:23px}.overlay{padding:15px}.dialog-head h2{font-size:20px}.mini-panel{width:min(300px,calc(100vw - 30px))}.avatar-floating{width:41px;height:41px;right:12px;bottom:11px}.avatar-caption{display:none}}
@media(max-height:760px) and (min-width:901px){.welcome{padding-top:25px}.hero-row{margin-bottom:24px}.welcome h1{font-size:47px;margin-bottom:18px}.welcome-tag{margin-bottom:18px}.brand-sculpture{transform:scale(.78);transform-origin:right center;margin-top:-25px;margin-bottom:-25px}.suggestion{min-height:135px;padding:14px}.suggestion-top{margin-bottom:12px}.composer-wrap{padding-top:16px;padding-bottom:16px}.sidebar{gap:21px}.brand small{margin-top:10px}.budget{padding:10px}.usage-line{flex-direction:row;align-items:center;gap:7px;font-size:8px}.usage-line strong{font-size:15px}}
.motion-off *,.motion-off *::before,.motion-off *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.motion-off .avatar-halo{display:none}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.avatar-halo{display:none}}

/* Keep the login corners free of captions; controls retain accessible names. */
.auth-topline{justify-content:flex-end}.auth-skip{width:34px;height:34px;padding:0;justify-content:center}
