@font-face{font-family:Roboto;src:url('/static/fonts/roboto-regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Roboto;src:url('/static/fonts/roboto-bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
:root{--ink:#202741;--muted:#667087;--blue:#2e3886;--blue-dark:#242d70;--teal:var(--blue);--teal-dark:var(--blue-dark);--yellow:#f2f200;--line:#e0e4ed;--surface:#f5f6fa;--sidebar:var(--blue);--font:Roboto,Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;font-family:var(--font);font-size:14px;line-height:1.5;color:var(--ink);background:white}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--blue)}button:focus-visible,a:focus-visible{outline:3px solid #6875c4;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid var(--blue);outline-offset:2px}svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.skip{position:fixed;top:-80px;left:20px;z-index:50;padding:12px;background:white}.skip:focus{top:10px}.muted{color:var(--muted)}
.sidebar{width:248px;height:100dvh;position:fixed;inset:0 auto 0 0;background:var(--blue);color:#e4e7fa;display:flex;flex-direction:column;padding:30px 18px 0}.brand{display:block;padding:0 8px}.brand img{display:block;width:192px;max-width:100%;height:auto}.workspace-label{font-size:10px;letter-spacing:1.6px;color:#c2c8ed;margin:29px 12px 17px;display:flex;justify-content:space-between}.workspace-label span{font-size:9px;letter-spacing:1px}nav{display:flex;flex-direction:column;gap:6px}.nav-item{width:100%;border:0;border-left:3px solid transparent;background:transparent;color:#e1e4f6;display:flex;align-items:center;gap:11px;padding:14px 12px;text-align:left;border-radius:2px;font-size:13px}.nav-item:hover{background:#ffffff10;color:white}.nav-item.active{background:#ffffff13;border-left-color:var(--yellow);color:white;font-weight:700}.nav-item.active svg{color:var(--yellow)}.nav-item:focus-visible,.model-button:focus-visible{outline-color:white}.nav-count{margin-left:auto;background:#ffffff1c;padding:1px 6px;font-size:11px;border-radius:2px}.sidebar-note{margin:auto 12px 34px;padding-top:45px;color:#d0d5f0;font-size:12px;line-height:1.8}.sidebar-note>span{color:var(--yellow)}.sidebar-note p{margin:11px 0 0}.sidebar-bottom{border-top:1px solid #ffffff28;margin:0 -18px;padding:19px}.model-button{display:flex;gap:10px;align-items:center;text-align:left;width:100%;background:none;border:0;color:white;padding:0}.model-button>span:nth-child(2){flex:1}.model-button strong{font-size:12px;font-weight:700}.model-button small{display:block;color:#d3d7f0;font-size:11px;margin-top:3px}.model-button svg{width:17px}.dot{display:inline-block;flex-shrink:0;width:6px;height:6px;border-radius:50%;background:#adb4c7}.dot.green{background:#77cf99;box-shadow:0 0 0 3px #77cf9918}.pilot-label{margin-top:22px;display:flex;gap:7px;align-items:center;font-size:10px;color:#d1d5f0}.pilot-label>span:last-child{margin-left:auto;font-size:10px}.pilot-mark{width:5px;height:5px;background:var(--yellow)}
.shell{margin-left:248px}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid var(--line);gap:15px}.breadcrumb{font-size:12px;color:var(--muted);white-space:nowrap}.breadcrumb span{margin:0 13px;color:#afb5c8}.breadcrumb strong{font-weight:400;color:var(--ink)}.topbar-actions{display:flex;align-items:center;gap:16px}.account-summary{text-align:right;max-width:145px}.account-summary strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.account-summary small{display:block;color:var(--muted);font-size:10px}.button{border-radius:3px;padding:10px 14px;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;text-decoration:none;white-space:nowrap}.button svg{width:15px;height:15px}.primary{background:var(--blue);color:white}.primary:hover{background:var(--blue-dark)}.secondary{background:white;border-color:#cfd5e4;color:var(--blue)}.secondary:hover{background:#f1f3fa}.danger{background:#a73532;color:white}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:none;border:0;padding:8px;color:#6b7594;border-radius:3px}.icon-button:hover{background:#eef0f8;color:var(--blue)}
.chat-view{display:grid;grid-template-columns:minmax(0,1fr) 310px;min-height:calc(100dvh - 84px)}.chat-workspace{display:flex;flex-direction:column;min-width:0;height:calc(100dvh - 84px)}.context-bar{display:flex;align-items:center;gap:15px;padding:20px 29px;border-bottom:1px solid var(--line);background:#fafbfe;min-height:82px}.context-icon{color:#727e9d}.context-bar label{display:block;min-width:0;max-width:46%}.context-bar label>span{display:block;font-size:9px;color:var(--muted);letter-spacing:1.25px;font-weight:700;margin-bottom:4px}.context-bar select{background:transparent;border:0;color:#30395b;font-size:12px;max-width:100%;padding:0 15px 0 0;height:23px}.context-separator{height:30px;width:1px;background:var(--line)}.context-bar>.icon-button{margin-left:auto}.conversation{overflow-y:auto;flex:1;padding:27px 34px;scroll-behavior:smooth;overscroll-behavior:contain}.welcome{max-width:740px;margin:clamp(25px,6vh,65px) auto 35px}.eyebrow{font-size:10px;color:var(--blue);font-weight:700;letter-spacing:1.35px}.welcome h1{font-size:30px;font-weight:700;line-height:1.3;letter-spacing:-.5px;margin:17px 0 15px}.welcome>p{color:var(--muted);line-height:1.85;font-size:14px;margin:0 0 31px}.suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.suggestions button{position:relative;background:white;border:1px solid var(--line);min-height:134px;border-radius:3px;padding:18px 14px;text-align:left}.suggestions button:hover{border-color:var(--blue);background:#fafbff}.suggestion-icon{display:block;color:var(--blue);margin-bottom:20px}.suggestions strong{display:block;font-size:12px;margin-bottom:6px}.suggestions small{display:block;color:var(--muted);font-size:11px;line-height:1.5}.suggestion-arrow{position:absolute;right:12px;top:16px;color:#929bb5}.suggestion-arrow svg{width:14px}.corpus-hint{font-size:12px;line-height:1.75;color:var(--muted);margin-top:23px}.composer-wrap{padding:10px 30px 18px;flex-shrink:0;background:white}.composer{border:1px solid #cbd2e4;border-radius:4px;padding:16px;box-shadow:0 3px 12px #20295706}.composer:focus-within{border-color:var(--blue)}.composer textarea{width:100%;min-height:56px;max-height:180px;resize:vertical;border:0;background:none;outline:none;padding:0;line-height:1.7;color:var(--ink);font-size:14px}.composer textarea::placeholder{color:#7b849c}.composer textarea:focus{outline:none}.composer-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px}.mode-switch{display:flex;gap:4px;padding:3px;background:#f2f3f9;border-radius:3px}.mode{display:flex;align-items:center;gap:6px;font-size:11px;padding:7px 10px;background:none;border:0;border-radius:2px;color:var(--muted)}.mode svg{width:14px;height:14px}.mode.active{background:white;color:var(--blue);box-shadow:0 1px 3px #232f6c18;font-weight:700}.send-area{display:flex;gap:12px;align-items:center}.send-area small{font-size:10px;color:var(--muted)}.send-button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:0;border-radius:3px;background:var(--blue);color:white}.send-button:hover{background:var(--blue-dark)}.composer-footnote{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:var(--muted);margin:12px 0 0}.composer-footnote svg{width:12px;height:12px}
.sources-panel{height:calc(100dvh - 84px);display:flex;flex-direction:column;background:#f7f8fc;border-left:1px solid var(--line);min-width:0}.sources-heading{padding:25px 23px 18px;border-bottom:1px solid var(--line)}.sources-heading>div{display:flex;gap:8px;align-items:center}.sources-heading>div>span:first-child{color:var(--blue)}.sources-heading h2{font-size:15px;margin:0;font-weight:700}.count-badge{font-size:10px;border:1px solid #d6dcec;background:white;min-width:19px;text-align:center;border-radius:3px;color:var(--blue)}.search-mode{display:block;font-size:8px;color:var(--muted);letter-spacing:1px;margin-top:10px}.sources-body{flex:1;overflow:auto;padding:22px 18px}.sources-empty{padding:55px 12px 25px;text-align:center}.source-illustration{background:#e9ecf6;width:55px;height:62px;display:flex;align-items:center;justify-content:center;margin:0 auto 25px;color:var(--blue);border-radius:3px}.source-illustration svg{width:28px;height:28px}.sources-empty h3{font-size:15px;margin:0 0 12px;line-height:1.6}.sources-empty p{font-size:12px;line-height:1.85;color:var(--muted);margin:0}.sources-footer{display:flex;align-items:center;justify-content:center;gap:7px;padding:18px 12px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.sources-footer svg{width:13px}.source-card{padding:16px;margin-bottom:13px;background:white;border:1px solid #dce1ef;border-radius:3px;transition:border-color .15s}.source-card.selected{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.source-card-top{display:flex;align-items:flex-start;gap:9px}.source-card h3{font-size:12px;line-height:1.6;margin:0}.source-number{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;background:#eef0f9;color:var(--blue);font-size:10px;font-weight:700;border-radius:2px}.source-meta{font-size:10px;line-height:1.7;color:var(--muted);margin:10px 0}.source-text{margin:12px 0;white-space:pre-wrap;font-size:11px;line-height:1.9;color:#505970;max-height:350px;overflow:auto}.source-card>a{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:700;text-decoration:none;border-top:1px solid var(--line);padding-top:11px}.source-card>a svg{width:13px}.source-warning{font-size:10px;line-height:1.7;color:#8a5b1e}.source-text mark{background:#faf8ae;color:var(--ink)}
.message{max-width:760px;margin:0 auto 26px}.message.user{display:flex;justify-content:flex-end}.user-bubble{background:#eef0f8;color:#293460;max-width:90%;padding:12px 17px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.assistant-label{display:flex;gap:7px;align-items:center;font-size:9px;letter-spacing:1px;color:var(--blue);font-weight:700;margin-bottom:15px}.tiny-spark{display:inline-block;color:var(--blue);font-size:17px}.answer-status{display:inline-block;font-size:10px;background:#edf3ef;color:#28633e;padding:4px 8px;border-radius:2px;margin-bottom:8px}.answer-status.warning{color:#805314;background:#faf2e2}.message-notice{font-size:12px;color:var(--muted);line-height:1.9}.claim{font-size:14px;line-height:1.9;margin:17px 0;white-space:pre-wrap}.claim>div{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.citation-button{display:inline-flex;align-items:center;gap:5px;background:#f0f2fa;border:1px solid #d9dfef;border-radius:3px;color:var(--blue);font-size:10px;padding:5px 8px}.citation-button svg{width:11px;height:11px}.question-button,.show-sources{background:white;border:1px solid #d6ddef;border-radius:3px;color:var(--blue);padding:9px 11px;font-size:12px;line-height:1.7;display:block;text-align:left;margin:9px 0}.message-warnings{font-size:11px;color:#775c2b;line-height:1.85;border-left:2px solid #d6bd68;padding-left:12px;margin-top:18px}.thinking{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);padding:10px 0}.spinner{display:inline-block;width:13px;height:13px;border:2px solid #d2d8ea;border-top-color:var(--blue);border-radius:50%;animation:spin .85s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}
.content-view{padding:40px 42px 60px;background:#fbfcfe;min-height:calc(100dvh - 84px)}.page-heading h1{font-size:30px;margin:9px 0 9px;line-height:1.4;letter-spacing:-.4px}.page-heading p{font-size:13px;color:var(--muted);margin:0;line-height:1.8}.library-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:29px 0}.stat{border:1px solid var(--line);background:white;padding:21px 23px;border-radius:3px}.stat strong{display:block;font-size:29px;color:var(--blue);font-weight:700}.stat small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:30px 0 18px}.filter-input{display:flex;align-items:center;gap:9px;color:var(--muted);min-width:0}.filter-input input{background:none;border:0;padding:7px 0;width:310px;max-width:100%;font-size:12px;color:var(--ink)}.document-list,.user-list{border:1px solid var(--line);border-radius:3px;background:white;overflow:hidden}.document-row{display:grid;grid-template-columns:32px minmax(120px,1fr) 115px 110px 100px;align-items:center;gap:16px;padding:19px 20px;border-bottom:1px solid var(--line)}.document-row:last-child{border:0}.pdf-symbol{display:flex;align-items:center;justify-content:center;background:#eef0fa;color:var(--blue);width:31px;height:39px;border-radius:2px}.pdf-symbol svg{width:17px}.document-title{font-size:13px;font-weight:700;overflow-wrap:anywhere}.document-title a{color:var(--ink);text-decoration:none}.document-title a:hover{color:var(--blue);text-decoration:underline}.document-subtitle,.doc-pages{color:var(--muted);font-size:11px;line-height:1.7;margin-top:4px}.doc-pages{margin:0}.doc-actions{display:flex;gap:3px;justify-content:flex-end}.doc-actions .icon-button{padding:6px}.doc-actions svg{width:16px;height:16px}.status-badge{display:inline-flex;align-items:center;gap:6px;font-size:10px;line-height:1.5;padding:4px 8px;border-radius:2px;background:#edf3ef;color:#28633e}.status-badge.warn{background:#fcf3df;color:#82570d}.status-badge.error{background:#fbeceb;color:#9e3430}.status-badge.draft{background:#f0f1f6;color:#69718a}.library-warning{font-size:11px;color:#8a5b1e;line-height:1.7;margin-top:5px}.empty-state{text-align:center;padding:53px 24px;border:1px solid var(--line);border-radius:3px;background:white}.document-list>.empty-state,.user-list>.empty-state{border:0}.empty-state>span{color:#8994be}.empty-state>span svg{width:30px;height:30px}.empty-state h3{font-size:16px;margin:17px 0 8px}.empty-state p{font-size:12px;color:var(--muted);line-height:1.8;max-width:450px;margin:0 auto 20px}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.asset-card{background:white;border:1px solid var(--line);padding:25px;border-radius:3px}.asset-card>span{color:var(--blue)}.asset-card h3{font-size:16px;margin:15px 0 5px}.asset-card>p{color:var(--muted);font-size:12px;margin:0 0 18px}.asset-card dl{display:grid;grid-template-columns:95px 1fr;gap:9px;font-size:12px;margin:20px 0}.asset-card dt{color:var(--muted)}.asset-card dd{margin:0;overflow-wrap:anywhere}.asset-card .button{width:100%;margin-top:8px}.role-explanation{display:flex;align-items:flex-start;gap:14px;border:1px solid #dce1f0;border-left:3px solid var(--yellow);background:white;padding:20px;margin-top:26px;max-width:780px}.role-explanation>span{color:var(--blue)}.role-explanation strong{font-size:13px;color:var(--blue)}.role-explanation p{font-size:12px;color:var(--muted);line-height:1.9;margin:5px 0 0}.user-row{display:grid;grid-template-columns:minmax(160px,1fr) 145px 140px minmax(160px,auto);gap:17px;align-items:center;padding:20px;border-bottom:1px solid var(--line)}.user-row:last-child{border-bottom:0}.user-row strong{font-size:13px}.user-row .username{font-size:11px;color:var(--muted);margin-top:3px}.user-role{font-size:12px;color:var(--blue)}.user-state small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.user-actions{display:flex;gap:8px;justify-content:flex-end}.user-actions .button{font-size:10px;padding:8px 10px}.inactive-user{background:#fafbfe}.self-marker{font-size:9px;padding:2px 5px;margin-left:7px;background:#eef0fa;color:var(--blue);font-weight:400}
.modal{width:min(620px,calc(100% - 30px));max-height:90dvh;overflow-y:auto;border:1px solid var(--line);padding:29px;border-radius:4px;box-shadow:0 15px 70px #15204b30;color:var(--ink)}.modal::backdrop{background:#18234e6b}.small-modal{width:min(490px,calc(100% - 30px))}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:24px}.modal-heading h2{font-size:23px;margin:6px 0 0;line-height:1.3}.modal-heading .icon-button{margin-top:-5px;margin-right:-8px}.modal>p,.modal>div>p{font-size:13px;line-height:1.85;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.form-grid label{display:block;font-size:12px;font-weight:700}.form-grid input,.form-grid select{display:block;width:100%;height:41px;margin-top:8px;border:1px solid #cfd5e2;border-radius:3px;padding:8px 10px;color:var(--ink);background:white;font-size:12px;font-weight:400}.form-grid input[readonly]{background:#f3f5fa;color:var(--muted)}.form-grid .full{grid-column:1/-1}.form-grid .checkbox-label{display:flex;gap:10px;align-items:center}.checkbox-label input{width:17px!important;height:17px!important;margin:0!important;accent-color:var(--blue)}.file-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;min-height:155px;padding:22px;border:1px dashed #b7c1dc;background:#f7f8fd;border-radius:3px;color:var(--blue);text-align:center;cursor:pointer;overflow:hidden}.file-drop>span{margin-bottom:12px}.file-drop strong{font-size:13px}.file-drop small{font-size:10px;color:var(--muted);margin-top:5px}.file-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-drop.dragging{border-color:var(--blue);background:#eef1ff}.form-note{font-size:11px;line-height:1.85;color:var(--muted);margin-top:20px}.form-error{font-size:12px;color:#a72f2b;line-height:1.8;min-height:0;overflow-wrap:anywhere}.form-error:empty{display:none}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.credentials{display:grid;gap:6px;margin:20px 0}.credentials dt{font-size:11px;color:var(--muted);margin-top:10px}.credentials dd{margin:0;padding:10px;border:1px solid var(--line);background:#f7f8fd;overflow-wrap:anywhere}.credentials code{font-size:14px}.toast{position:fixed;left:calc(50% + 124px);transform:translateX(-50%);bottom:26px;z-index:100;background:var(--blue-dark);color:white;padding:13px 19px;box-shadow:0 4px 20px #18234e20;border-radius:3px;font-size:12px;max-width:calc(100vw - 35px)}
.auth-page{min-height:100dvh;background:#f2f4f9;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px 20px;border-top:6px solid var(--blue)}.auth-card{width:100%;max-width:430px;border:1px solid #dce1ed;background:white;border-radius:4px;box-shadow:0 8px 32px #28357209;overflow:hidden}.auth-brand{padding:28px 35px;background:var(--blue);border-bottom:3px solid var(--yellow)}.auth-brand img{display:block;width:215px;max-width:100%;height:auto;margin:auto}.auth-brand>span{display:block;text-align:center;letter-spacing:2px;color:white;font-size:10px;margin-top:14px}.auth-content{padding:28px 34px 31px}.auth-content h1{font-size:26px;color:var(--blue);line-height:1.3;margin:0 0 10px}.auth-content>p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 25px}.auth-content form>label{display:block;font-size:12px;font-weight:700;margin:18px 0 7px}.auth-content form>input{width:100%;height:44px;border:1px solid #c8cfdf;border-radius:3px;padding:10px;font-size:14px;background:white;color:var(--ink)}.auth-submit{width:100%;margin-top:22px;height:43px}.auth-submit.secondary{margin-top:10px}.auth-content .auth-help{border-top:1px solid var(--line);padding-top:18px;font-size:11px;line-height:1.85;margin:25px 0 0}.auth-footer{margin-top:22px;color:var(--muted);font-size:10px;letter-spacing:.5px}
@media(max-width:1260px){.topbar{padding:0 23px}.topbar-actions{gap:10px}.topbar .breadcrumb{font-size:11px}.topbar .breadcrumb span{margin:0 8px}.topbar #upload-top{font-size:11px;padding:9px}.chat-view{grid-template-columns:minmax(0,1fr) 280px}.conversation{padding:25px}.composer-wrap{padding-left:25px;padding-right:25px}.context-bar{padding-left:23px;padding-right:23px;gap:12px}.context-icon{display:none}.sources-heading{padding-left:18px}.sources-body{padding:18px 13px}.content-view{padding:35px 28px}.document-row{grid-template-columns:29px minmax(110px,1fr) 105px 92px;gap:12px}.doc-pages{display:none}.user-row{grid-template-columns:minmax(130px,1fr) 115px 95px;gap:12px}.user-actions{grid-column:1/-1;justify-content:flex-end;padding-top:8px}}
@media(max-width:1050px){.chat-view{grid-template-columns:1fr}.chat-workspace{height:calc(100dvh - 84px);min-height:650px}.sources-panel{border-left:0;border-top:1px solid var(--line);height:auto;min-height:210px}.sources-heading{padding:18px 25px}.sources-heading>div{display:inline-flex}.sources-heading .search-mode{display:inline-block;margin:0 0 0 18px}.sources-body{padding:20px 25px;display:flex;gap:12px;overflow-x:auto;align-items:flex-start}.sources-empty{padding:16px 0 5px;width:100%;text-align:left;display:grid;grid-template-columns:45px 1fr;column-gap:14px}.source-illustration{grid-row:1/3;width:42px;height:48px;margin:0}.source-illustration svg{width:21px}.sources-empty h3{margin:0 0 5px;font-size:13px}.sources-empty p{font-size:11px}.source-card{min-width:280px;max-width:350px;margin-bottom:5px}.sources-footer{padding:12px}.breadcrumb{display:none}.topbar{justify-content:flex-end}.welcome{max-width:750px;margin-top:45px}.suggestions button{min-height:125px}}
@media(max-width:760px){.sidebar{position:relative;width:100%;height:70px;flex-direction:row;align-items:center;padding:10px 15px}.brand{padding:0;max-width:155px}.brand img{width:140px}.workspace-label,.sidebar-note,.sidebar-bottom{display:none}.sidebar nav{margin-left:auto;flex-direction:row;gap:4px}.nav-item{font-size:0;padding:10px;border-left:0;border-bottom:2px solid transparent}.nav-item svg{width:19px;height:19px}.nav-item.active{border-bottom-color:var(--yellow)}.nav-count{display:none}.shell{margin-left:0}.topbar{height:65px;padding:0 15px}.topbar-actions{gap:9px;width:100%;justify-content:flex-end}.account-summary{max-width:115px;margin-left:auto}.account-summary strong{font-size:11px}.account-summary small{font-size:9px}.topbar #upload-top{font-size:0;padding:8px;width:34px;height:34px;margin-right:auto}.topbar #logout{font-size:10px;padding:8px 9px}.topbar .icon-button{padding:6px}.chat-workspace{height:calc(100dvh - 135px);min-height:615px}.context-bar{padding:15px 17px;gap:10px;min-height:78px}.context-bar label>span{font-size:8px;letter-spacing:1px}.context-bar select{font-size:11px}.conversation{padding:23px 20px}.welcome{margin:27px auto}.welcome h1{font-size:27px;margin:13px 0}.welcome>p{font-size:13px;line-height:1.8;margin-bottom:23px}.eyebrow{font-size:9px}.suggestions{grid-template-columns:1fr;gap:9px}.suggestions button{min-height:64px;padding:13px 35px 12px 47px}.suggestion-icon{position:absolute;left:15px;top:20px;margin:0}.suggestion-icon svg{width:17px;height:17px}.suggestions strong{font-size:12px;margin-bottom:2px}.suggestions small{font-size:10px}.suggestion-arrow{top:20px}.corpus-hint{font-size:11px;margin-top:19px}.composer-wrap{padding:8px 15px 14px}.composer{padding:13px}.composer textarea{font-size:13px}.composer-footnote{font-size:9px;justify-content:flex-start;line-height:1.6}.send-area small{display:none}.sources-heading{padding:17px}.sources-body{padding:17px}.sources-heading .search-mode{font-size:7px;margin-left:12px}.content-view{padding:28px 17px;min-height:calc(100dvh - 135px)}.page-heading h1{font-size:27px}.page-heading p{font-size:12px}.library-stats{gap:7px;margin:23px 0}.stat{padding:15px 11px}.stat strong{font-size:23px}.stat small{font-size:9px;line-height:1.65}.table-toolbar{gap:10px;margin-top:25px}.table-toolbar .button{padding:9px 11px;font-size:11px}.filter-input{gap:0;flex:1}.filter-input>span{display:none}.filter-input input{width:100%;min-width:0;font-size:11px}.document-row{grid-template-columns:27px minmax(90px,1fr) 94px;padding:17px 12px;gap:11px}.document-row>.doc-state{grid-column:2;grid-row:2}.doc-actions{grid-column:3;grid-row:1/3}.document-title{font-size:12px}.document-subtitle{font-size:10px}.user-row{padding:17px 14px;grid-template-columns:minmax(100px,1fr) 105px;gap:11px}.user-state{grid-column:1}.user-actions{grid-column:2;grid-row:2;flex-wrap:wrap;gap:6px;padding:0}.user-actions .button{font-size:9px;padding:6px 7px}.role-explanation{padding:16px;gap:12px}.role-explanation p{font-size:11px}.form-grid{gap:15px 12px}.modal{padding:23px 19px}.modal-heading h2{font-size:21px}.toast{left:50%;width:max-content;bottom:17px;font-size:11px}.desktop-break{display:none}.auth-content{padding:26px}.auth-page{padding:22px 17px}.auth-brand{padding:25px}}
@media(max-height:820px) and (min-width:761px){.welcome{margin:12px auto 20px}.welcome h1{font-size:28px;margin:12px 0}.welcome>p{font-size:13px;margin-bottom:24px}.suggestions button{min-height:115px;padding:15px 13px}.suggestion-icon{margin-bottom:14px}.corpus-hint{margin-top:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

.auth-divider{display:flex;align-items:center;gap:13px;margin:21px 0;color:var(--muted);font-size:11px}.auth-divider::before,.auth-divider::after{content:"";height:1px;flex:1;background:var(--line)}.passkey-login{width:100%;justify-content:center;min-height:43px}.security-subheading{font-size:15px;margin:24px 0 12px}.passkey-list{margin-bottom:22px}.passkey-row{display:flex;align-items:center;gap:12px;justify-content:space-between;border:1px solid var(--line);padding:13px;margin-bottom:8px}.passkey-row strong{display:block;font-size:13px;overflow-wrap:anywhere}.passkey-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.passkey-row .button{font-size:11px;padding:8px 10px;flex-shrink:0}#passkey-form>label{display:block;font-size:12px;font-weight:700;margin:17px 0 7px}#passkey-form>input{width:100%;min-height:40px;border:1px solid var(--line);padding:10px;font-size:14px;background:#fff;color:var(--ink)}.security-password{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:28px;padding-top:20px;gap:15px}.security-password h3{font-size:15px;margin:0}

.passkey-reminder{flex-shrink:0;border-bottom:1px solid var(--line);border-left:3px solid var(--yellow);background:#f7f8ff;padding:16px 25px}.passkey-reminder strong{font-size:13px}.passkey-reminder p{font-size:11px;color:var(--muted);line-height:1.7;margin:5px 0 12px}.reminder-actions{display:flex;flex-wrap:wrap;gap:8px}.reminder-actions .button{font-size:11px;padding:8px 11px}.credentials code{overflow-wrap:anywhere;white-space:normal;font-size:12px}#setup-passkey-form>label{display:block;font-size:12px;font-weight:700;margin:22px 0 7px}#setup-passkey-name{width:100%;min-height:40px;padding:10px;border:1px solid var(--line);font:inherit}
