@font-face{font-family:Onest;src:url('/fonts/onest-400-700-cyrillic.woff2') format('woff2');font-weight:400 700;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Onest;src:url('/fonts/onest-400-700-latin.woff2') format('woff2');font-weight:400 700;font-display:swap}
/* Approved composition A, with the existing blue palette and application controls. */
:root{--sans:Onest,"Segoe UI",sans-serif;--navigation-width:248px;--radius-sm:7px;--radius-md:10px;--radius-lg:14px}
body{background:var(--surface)}
.app-shell,body.history-collapsed .app-shell,body.scan-view .app-shell{grid-template-columns:var(--navigation-width) minmax(0,1fr)}
.sidebar{padding:25px 17px 17px;background:var(--history);color:var(--ink);border-right:1px solid var(--line);overflow:auto;gap:0}
.brand{justify-content:flex-start;gap:9px;min-height:34px;margin:0 6px 25px;color:var(--ink);flex:none}
.brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:var(--accent);color:#fff;flex:none}
.brand-mark .icon{width:24px;height:24px}
.brand-name{font-size:25px;letter-spacing:-.035em}.brand-name>span{color:var(--ink)}
.cabinet-block{padding:11px 10px 8px;border:1px solid #c4d3e6;border-radius:10px;flex:none;background:#f4f8fd}
.cabinet-label{font-size:11px;margin:0 0 3px;color:var(--muted)}
.cabinet-block select{border:0;background:transparent;padding:6px 0;min-height:32px;font-size:12px}
.cabinet-meta{min-height:27px;font-size:11px}.cabinet-meta .icon-button{min-width:27px;min-height:27px;padding:5px}
.sidebar-link{min-height:30px;font-size:11px;padding:4px 0}
.new-chat{margin:18px 0 17px;min-height:44px;font-size:12px;border-radius:8px;flex:none}
.main-nav{flex:none;gap:3px;overflow:visible}
.nav-item{flex-direction:row;justify-content:flex-start;gap:10px;min-height:37px;padding:9px 11px;font-size:12px;line-height:1.4;text-align:left;border-radius:7px;color:var(--muted)}
.nav-item:hover{background:#dce8f8;color:var(--ink)}
.nav-item.active{background:#d5e3f5;color:var(--accent-hover)}
.nav-icon{width:18px;height:18px}.nav-label{white-space:normal;max-width:none}.nav-count{position:static;margin-left:auto;min-width:19px;padding:1px 5px;font-size:11px;background:#d5e3f5;color:var(--ink);border-radius:4px}
#notification-count{background:var(--orange-soft);color:var(--orange)}
.history-sidebar{flex:1;min-height:100px;padding:0;margin:24px 0 0;border:0;background:transparent;overflow:hidden}
.chat-list-heading{flex:none;margin:0 8px 9px;font-size:11px;color:var(--muted)}
.chat-list{padding-bottom:4px}.chat-item{min-height:49px;padding:9px 10px;gap:6px;flex-wrap:wrap;margin-bottom:4px}
.chat-item>span{white-space:normal;overflow-wrap:anywhere;font-size:12px;flex:1 1 100%;line-height:1.45}
.chat-item time{font-size:11px}.chat-item.selected{background:#fff;color:var(--ink);box-shadow:0 2px 6px #15283e0a}
.chat-item.selected>span{font-weight:500}.sidebar-empty{font-size:11px}
.sidebar-bottom{flex:none;margin-top:15px;padding-top:11px;border-top:1px solid #d0deef}
.sidebar-bottom .nav-item{min-height:35px;padding-block:8px;font-size:11px}
.version{margin:8px 10px 0;color:var(--muted);font-size:11px;text-align:left}
.connection{margin-top:11px;padding:10px 4px 0;gap:7px}.connection strong{font-size:11px}.connection>div>span{font-size:11px;margin-top:2px}
.history-toggle{display:inline-flex}.mobile-menu-button{display:none}
.workspace{background:var(--surface)}
.topbar{min-height:76px;padding:0 33px;background:#fff;border-color:var(--line)}
.topbar strong{font-size:12px;font-weight:500;color:var(--ink)}
.conversation-heading{padding:30px 34px 25px;align-items:flex-start}
.conversation-heading h1{font-size:25px;letter-spacing:-.035em;margin:0 0 8px;font-weight:600}
.conversation-meta{font-size:11px;line-height:1.6;color:var(--muted)}
.conversation-actions{display:flex;gap:8px;align-items:center;flex:none}.task-toggle{font-size:11px;min-height:40px;background:transparent;border-color:var(--line)}
.conversation-layout{gap:32px;padding:0 34px;min-width:0}
.conversation-main{max-width:none;min-width:0;flex:1;margin:0}
.messages{padding-right:4px}.message{max-width:70ch;padding:20px 0}.message.user{max-width:85%;border-radius:12px 12px 3px 12px;background:var(--accent-soft);padding:15px 18px}
.message-head{font-size:12px}.message-head>span:first-child{background:var(--accent);color:white;border-radius:7px}
.message.user .message-head>span:first-child{background:#d5e3f5;color:var(--ink)}
.message-content{font-size:14px;line-height:1.8}
.composer{margin-top:16px;border:1px solid #bdccdf;border-radius:12px;padding:13px 15px;box-shadow:0 8px 26px #15283e08;background:white;flex:none}
.composer:focus-within{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.composer textarea{font-size:13px;min-height:60px;padding:6px 0;max-height:150px}
.composer-bottom{gap:10px}.composer-tools{gap:8px}.attach-button{font-size:11px;background:transparent;padding:7px 4px;min-height:36px;color:var(--muted)}
.composer-bottom>.primary-button{min-height:40px;font-size:12px;border-radius:8px}
.composer-disclaimer{font-size:11px;padding:10px 3px 18px;gap:12px}
.confirmation{border-color:#ead8b4;border-radius:10px;background:#fffbf2}
.digest{margin:0 34px 15px;padding:10px 13px;background:#eaf1fa;font-size:12px}
.task-panel{width:248px;flex:0 0 248px;min-height:0;overflow:auto;border-left:1px solid var(--line);padding:0 0 24px 24px;color:var(--ink)}
.task-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:22px}.task-panel-heading h2{font-size:12px;font-weight:600;margin:0}.task-panel-heading .icon-button{min-width:30px;min-height:34px;padding:6px}.task-panel-heading .icon{width:17px;height:17px}
.task-symbol{display:grid;place-items:center;width:42px;height:42px;background:var(--accent-soft);color:var(--accent);border-radius:12px;margin-bottom:15px}
.task-panel>h3{font-size:18px;line-height:1.4;font-weight:500;letter-spacing:-.02em;margin:0 0 8px;overflow-wrap:anywhere}
.task-panel>p{font-size:11px;line-height:1.75;overflow-wrap:anywhere;margin:0 0 16px}
.task-state{display:inline-block;padding:5px 8px;border-radius:5px;background:var(--accent-soft);color:var(--accent-hover)}
.task-state.pending{background:var(--orange-soft);color:var(--orange)}
.task-panel .task-next{color:var(--muted);margin-bottom:23px}
.task-pending{border-top:1px solid var(--line);padding-top:18px;margin-bottom:22px}.task-pending h3,.task-files h3{font-size:11px;font-weight:500;color:var(--muted);margin:0 0 10px}
.task-pending p{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin-bottom:8px}
.task-files{padding:18px 0;border-block:1px solid var(--line)}.task-files p{font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 7px}.task-files .text-button{font-size:11px;min-height:36px}
.task-autonomy{display:flex;align-items:flex-start;gap:9px;margin-top:22px}.task-autonomy>.icon{width:16px;height:16px;color:var(--accent);margin-top:3px}.task-autonomy p{font-size:11px;line-height:1.75;color:var(--muted);margin-bottom:7px}.task-autonomy .text-button{font-size:11px;min-height:34px}
.task-panel,.sidebar{scrollbar-width:thin;scrollbar-color:#b3c6df transparent}
.mobile-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.mobile-sections .mobile-menu-item{min-height:44px;margin:0;padding:10px;font-size:12px;line-height:1.5;text-align:left}
@media(min-width:1600px){:root{--navigation-width:260px}.conversation-layout{padding-inline:45px;gap:42px}.conversation-heading{padding-inline:45px}.task-panel{width:270px;flex-basis:270px}}
@media(max-width:1280px){:root{--navigation-width:230px}.conversation-layout{padding-inline:27px;gap:25px}.conversation-heading{padding-inline:27px}.sidebar{padding-inline:13px}.task-panel{width:230px;flex-basis:230px;padding-left:18px}.conversation-heading h1{font-size:23px}.topbar{padding-inline:24px}}
@media(max-width:1179px){.task-panel{position:fixed;z-index:5;inset:98px 20px 22px auto;max-height:calc(100dvh - 120px);width:300px;max-width:calc(100% - 40px);padding:22px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-overlay);overflow:auto}.conversation-layout{gap:0}.conversation-main{max-width:900px;margin:0 auto;width:100%}.task-panel-heading{margin-bottom:19px}}
@media(max-width:1000px){.app-shell,body.history-collapsed .app-shell,body.scan-view .app-shell{grid-template-columns:214px minmax(0,1fr)}.sidebar{padding:23px 12px 15px}.brand{font-size:23px}.nav-item{font-size:11px}.history-sidebar{display:flex}.topbar{padding:0 19px;gap:8px}.history-toggle{display:inline-flex}.mobile-menu-button{display:none}.network-button{padding:8px 3px}.network-node+.network-node::before{width:6px;margin-right:4px}.network-node{font-size:11px}.conversation-layout{padding-inline:23px}.conversation-heading{padding:25px 23px 21px}.conversation-heading h1{font-size:22px}.composer-bottom{flex-wrap:wrap}.composer-tools{flex:1}.composer-disclaimer>span:last-child{display:none}}
@media(max-width:760px){.app-shell,body.history-collapsed .app-shell,body.scan-view .app-shell{grid-template-columns:minmax(0,1fr)}.sidebar{display:none}.history-toggle{display:none}.mobile-menu-button{display:inline-flex}.topbar{min-height:64px;padding:0 13px;gap:7px}.topbar-heading{gap:4px}.topbar strong{font-size:12px;max-width:125px}.topbar-right{gap:4px}.topbar-right>.icon-button{display:none}.network{display:none}.network-button{margin-left:auto;padding:8px}.network-button>.icon{display:none}.network-button>.network-symbol{display:block;width:18px;height:18px}.tag{font-size:11px;padding:4px 6px}.conversation-heading{padding:23px 18px 18px;gap:10px}.conversation-heading h1{font-size:22px;margin-bottom:7px}.conversation-meta{font-size:11px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.conversation-actions{gap:4px}.conversation-actions .quiet-button{max-width:68px;font-size:11px;line-height:1.5;padding:6px}.task-toggle{min-width:38px;min-height:38px;padding:8px}.task-toggle>span{display:none}.conversation-layout{padding:0 18px}.composer{padding:11px 13px;margin-top:12px}.composer textarea{min-height:55px;font-size:14px}.composer-bottom{flex-wrap:nowrap;gap:8px}.composer-tools{flex:1;gap:6px;min-width:0}.attach-button{font-size:11px;min-height:36px;padding:6px 3px}.composer-bottom>.primary-button{font-size:12px;min-height:38px;padding:8px 11px}.composer-bottom>.primary-button>span{display:none}.composer-bottom>.primary-button>.icon{width:18px;height:18px}.composer-disclaimer{padding:9px 0 14px;font-size:11px;line-height:1.5}.welcome{padding:22px 0}.welcome h2{font-size:27px}.welcome>p{font-size:14px}.suggestion-grid{grid-template-columns:1fr}.suggestion{min-height:49px;padding:12px 4px}.suggestion small{font-size:12px}.message.user{max-width:94%;padding:13px 15px}.message{padding:18px 0}.message-content{font-size:14px}.digest{margin:0 18px 13px}.task-panel{inset:82px 12px 18px auto;width:310px;max-width:calc(100% - 24px);max-height:calc(100dvh - 100px)}.data-view{padding:24px 18px}.global-banner{padding:10px 18px}.context-panel{inset:74px 12px auto auto;max-height:calc(100dvh - 90px)}}
@media(max-height:800px) and (min-width:761px){.sidebar{padding-top:16px}.brand{margin-bottom:17px}.cabinet-block{padding:8px 10px 6px}.cabinet-meta{min-height:24px}.sidebar-link{min-height:26px}.new-chat{margin:12px 0;min-height:40px;padding-block:9px}.nav-item{min-height:34px;padding-block:7px}.history-sidebar{margin-top:17px;min-height:78px}.sidebar-bottom{margin-top:9px;padding-top:6px}.sidebar-bottom .nav-item{min-height:32px;padding-block:6px}.connection{padding-top:8px;margin-top:8px}.topbar{min-height:64px}.conversation-heading{padding-top:21px;padding-bottom:18px}.composer textarea{min-height:48px}.composer-disclaimer{padding-bottom:13px}}
@media(prefers-reduced-motion:reduce){.task-panel{scroll-behavior:auto}.sidebar,.task-panel{animation:none;transition:none}}
