:root{--bg:#060806;--surface:#121612;--ink:#f4f6ef;--muted:#a3ad9f;--line:#293127;--accent:#d4fb59;--accent-soft:#222b13;--sidebar:#0b0e0b;--danger:#ffaaa0;--radius:16px;--shadow:0 20px 60px #0008;font-family:'Segoe UI',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;color-scheme:dark}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid #62aaa0;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #83b7ac;outline-offset:1px}a{color:var(--accent)}[hidden]{display:none!important}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon.small{width:17px;height:17px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.7px;color:var(--muted);margin:0 0 14px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:11px 18px;border-radius:9px;font-size:13px;font-weight:600;white-space:nowrap;transition:background .16s,transform .16s}.button:hover{transform:translateY(-1px)}.button.primary{color:#fff;background:var(--accent)}.button.primary:hover{background:#105e58}.button.secondary{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.button.secondary:hover{background:#f0f4f0}.button.full{width:100%;justify-content:space-between}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b0bbb7;flex-shrink:0}.status-dot.online{background:#409976;box-shadow:0 0 0 3px #40997612}.status-dot.waiting{background:#c59c4c}.status-dot.offline{background:#b7655a}.status-dot.neutral{background:#aab7b1}.brandmark{display:flex;align-items:center;justify-content:center;background:var(--ink);color:#fafcf8;width:40px;height:40px;border-radius:11px;font-size:21px;font-weight:450;letter-spacing:-1px}.brandmark span{color:#77c5b1;padding:0 2px}.brandmark.large{width:66px;height:66px;font-size:34px;border-radius:19px;box-shadow:0 10px 25px #203b3220}
.login-page{min-height:100dvh;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:40px 24px;background:radial-gradient(ellipse at 78% 30%,#e1ebe3 0,transparent 45%),var(--bg)}.login-card{max-width:430px;width:100%;position:relative;z-index:1}.login-card .eyebrow{margin-top:35px;color:var(--accent)}.login-card h1{font-weight:450;font-size:43px;letter-spacing:-1.5px;line-height:1.14;margin:0 0 21px}.login-description{font-size:15px;color:var(--muted);line-height:1.7;margin:0 0 34px}.login-card label{display:block;font-size:12px;font-weight:600;margin-bottom:9px}.code-input-wrap{display:flex;align-items:center;border:1px solid #d7e1d8;border-radius:9px;background:#ffffffa8;padding:0 14px;gap:10px;margin-bottom:14px}.code-input-wrap .icon{width:18px;color:#8a9791}.code-input-wrap input{width:100%;height:49px;border:0;outline:0;background:transparent;color:var(--ink);font-size:14px}.login-card .button{height:48px}.login-note{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;margin-top:23px}.login-footer{position:absolute;bottom:22px;font-size:9px;letter-spacing:1.8px;color:#86928c}.login-footer span{margin:0 8px;color:#b6c0ba}.login-orbit{position:absolute;width:730px;height:730px;border:1px solid #dbe5db88;border-radius:50%;right:-270px;top:50%;transform:translateY(-50%)}.login-orbit:after{content:'';position:absolute;inset:65px;border:1px solid #dbe5db88;border-radius:50%}
.app-shell{display:flex;min-height:100dvh}.sidebar{position:fixed;top:0;bottom:0;left:0;width:238px;padding:29px 22px 20px;background:var(--sidebar);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:10}.brand{text-decoration:none;display:flex;align-items:center;gap:11px;color:var(--ink)}.brand strong{display:block;font-size:13px;font-weight:650;letter-spacing:-.3px}.brand>div:last-child>span{display:block;font-size:10px;color:var(--muted);margin-top:4px;letter-spacing:.5px}.project-block{margin-top:44px}.project-block>.eyebrow{display:block;font-size:9px;letter-spacing:1.4px;margin-left:10px}.project-selector{display:grid;gap:5px}.project-button{display:flex;align-items:center;gap:10px;min-height:46px;text-align:left;border-radius:9px;background:transparent;color:#6b7976;font-size:13px;padding:7px 10px;font-weight:550}.project-button:hover{background:#e7eee6}.project-button.active{background:var(--surface);color:var(--ink);box-shadow:0 2px 6px #203b3206}.project-letter{display:flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:8px;background:#e5ebe4;color:#65776c;font-size:12px;font-weight:700}.project-button.active .project-letter{background:var(--accent-soft);color:var(--accent)}.project-check{margin-left:auto;font-size:11px;color:var(--accent);visibility:hidden}.project-button.active .project-check{visibility:visible}.main-nav{display:grid;gap:4px;margin-top:27px}.nav-button{display:flex;align-items:center;gap:12px;min-height:43px;padding:10px 12px;background:transparent;border-radius:9px;color:#71817a;font-size:13px;text-align:left}.nav-button .icon{width:18px;height:18px}.nav-button:hover{background:#e5ede4}.nav-button.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.nav-count{font-size:10px;background:#e3e9e1;padding:1px 6px;border-radius:4px;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:32px}.server-mini{padding:15px 10px 12px;border-top:1px solid #dde5dc}.server-mini-title{display:flex;align-items:center;gap:8px}.server-mini-title .icon{width:15px;height:15px;color:#89958c}.server-mini-title strong{font-size:10px;font-weight:550}.server-mini-title>.status-dot{margin-left:auto;width:5px;height:5px}.storage-track{height:3px;background:#dbe3d8;border-radius:3px;margin-top:14px;overflow:hidden}.storage-track>span{display:block;width:0;height:100%;background:#70a597;border-radius:3px;transition:width .4s}.server-mini p{font-size:9px;line-height:1.5;color:#879289;margin:8px 0 0}.lock-button{display:flex;align-items:center;gap:9px;color:#89948f;background:transparent;font-size:10px;padding:9px 10px;margin-top:5px}.lock-button .icon{width:14px;height:14px}.lock-button:hover{color:var(--ink)}
.main-area{margin-left:238px;flex:1;min-width:0}.topbar{height:71px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#f7f8f5ed;gap:16px}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:12px}.breadcrumb-symbol{font-size:19px;color:var(--accent)}.breadcrumb-separator{color:#bcc5bd}.breadcrumb span:last-child{color:#86908b}.ai-pill{display:flex;align-items:center;gap:7px;font-size:10px;color:#76847b;background:#edf2ec;border:1px solid #e4eae1;border-radius:20px;padding:6px 10px;white-space:nowrap}.app-notice{padding:11px 42px;background:#fcf3e2;border-bottom:1px solid #ecdab8;color:#937234;font-size:12px}.content-view{width:100%}.chat-view{height:calc(100dvh - 71px);display:flex;flex-direction:column;max-width:1120px;margin:auto;padding:0 42px}.app-notice:not([hidden])+.chat-view{height:calc(100dvh - 110px)}.chat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:31px 0 20px}.chat-toolbar h1{font-size:20px;font-weight:550;letter-spacing:-.4px;margin:0 0 6px}.chat-toolbar p{color:var(--muted);font-size:12px;margin:0}.mode-selector{display:flex;border:1px solid var(--line);padding:4px;background:#edf1ec;border-radius:9px;gap:2px;flex-shrink:0}.mode-selector button{background:transparent;display:flex;align-items:center;gap:6px;color:#7c8880;border-radius:6px;padding:7px 10px;font-size:11px}.mode-selector button.active{background:var(--surface);color:var(--accent);box-shadow:0 1px 4px #12281f0a}.chat-scroll{flex:1;min-height:0;overflow:auto;scroll-behavior:smooth;padding:0 2px;scrollbar-width:thin;scrollbar-color:#d5dfd3 transparent}.chat-empty{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:26px 20px 34px}.empty-emblem{position:relative;width:76px;height:76px;border:1px solid #d4e4d8;background:linear-gradient(145deg,#eef5ec,#e2efe6);border-radius:24px;display:flex;align-items:center;justify-content:center;margin-bottom:24px;transform:rotate(-7deg)}.empty-emblem .icon{width:36px;height:36px;stroke-width:1.1;color:var(--accent);transform:rotate(7deg)}.orbit-dot{position:absolute;width:10px;height:10px;background:#d7b270;border:3px solid var(--bg);border-radius:50%;right:-2px;top:11px}.chat-empty .eyebrow{font-size:9px;color:#8b998e;margin:0 0 13px}.chat-empty h2{font-weight:450;font-size:32px;letter-spacing:-.8px;line-height:1.23;margin:0 0 18px}.chat-empty>p:not(.eyebrow){font-size:13px;line-height:1.7;color:var(--muted);max-width:390px;margin:0}.empty-actions{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:24px}.empty-actions .button{font-size:11px;min-height:39px;padding:10px 14px}.privacy-caption{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:29px;font-size:10px;color:#97a197}.privacy-caption .icon{width:12px;height:12px}.composer-area{padding:19px 0 23px}.composer{background:var(--surface);border:1px solid #dde6de;border-radius:15px;display:flex;align-items:flex-end;padding:13px 13px 13px 19px;gap:12px;box-shadow:0 5px 18px #193e2507}.composer:focus-within{border-color:#99bdb0;box-shadow:0 5px 18px #193e250d}.composer textarea{border:0;background:transparent;outline:0!important;resize:none;flex:1;max-height:180px;min-height:35px;font-size:13px;line-height:1.65;color:var(--ink);padding:7px 0 0;width:100%}.composer textarea::placeholder{color:#a1aaa2}.send-button{width:35px;height:35px;border-radius:10px;background:var(--accent);display:flex;align-items:center;justify-content:center;color:white;flex-shrink:0}.send-button .icon{width:18px;height:18px}.send-button:hover{background:#0d635b}.composer-note{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:9px;color:#95a091;padding:10px 4px 0}.composer-note>span:last-child{max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.messages{max-width:760px;margin:0 auto;padding:12px 0 20px}.message{margin:19px 0 27px}.message-heading{display:flex;align-items:center;gap:8px;font-size:10px;color:#76897c;margin:0 0 10px}.message-avatar{display:flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:7px;background:var(--accent-soft);color:var(--accent);font-size:10px;font-weight:650}.message.user{display:flex;flex-direction:column;align-items:flex-end}.message.user .message-heading{display:none}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;color:#30483e}.message.user .message-text{background:#e9eee6;border-radius:14px 14px 4px 14px;padding:12px 17px;max-width:85%;font-size:13px;line-height:1.65}.message.error .message-text{color:#a04c43;background:#f9ebe5;border:1px solid #efdcd1;border-radius:10px;padding:12px 15px;font-size:12px}.message.pending .message-text{font-size:12px;color:#95a396;display:flex;align-items:center;gap:10px}.loading-dots{display:flex;gap:4px}.loading-dots span{width:4px;height:4px;border-radius:50%;background:#7aa491;animation:dot-pulse 1.2s infinite}.loading-dots span:nth-child(2){animation-delay:.2s}.loading-dots span:nth-child(3){animation-delay:.4s}@keyframes dot-pulse{0%,70%,100%{opacity:.25;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}.sources{margin-top:17px;padding-top:12px;border-top:1px solid var(--line)}.sources-label{font-size:9px;letter-spacing:1px;color:#98a592;font-weight:650;margin-bottom:8px}.source-list{display:flex;flex-wrap:wrap;gap:7px}.source-chip{display:inline-flex;align-items:center;gap:7px;background:var(--surface);border:1px solid #e2e8de;border-radius:8px;color:#526b58;padding:8px 10px;font-size:11px;text-decoration:none;max-width:100%}.source-chip:hover{border-color:#9fbeaa}.source-chip .source-number{background:#edf3e9;color:var(--accent);border-radius:4px;font-size:9px;padding:2px 4px;flex-shrink:0}.source-chip .source-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}.source-chip .icon{width:12px;height:12px}.source-unlinked{color:#748473}.sources-note{font-size:10px;color:#92a08e;margin:7px 0 0}
.page-view{max-width:1180px;margin:auto;padding:38px 42px 55px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.page-heading .eyebrow{font-size:9px;margin-bottom:10px}.page-heading h1{font-size:28px;font-weight:450;letter-spacing:-.8px;margin:0 0 10px}.page-heading p:not(.eyebrow){font-size:12px;line-height:1.65;color:var(--muted);margin:0}.page-heading .button{font-size:11px}.coverage-banner{display:flex;gap:15px;align-items:center;padding:20px 22px;background:#eef3e9;border:1px solid #e3eadc;border-radius:12px;margin-bottom:33px}.coverage-banner>.icon{width:27px;height:27px;color:#769872}.coverage-banner strong{font-size:12px;font-weight:550}.coverage-banner p{font-size:11px;color:#88977d;line-height:1.6;margin:5px 0 0}.document-list-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.document-list-header h2{font-size:14px;font-weight:550;margin:0}.count-badge{display:inline-block;background:#e9eee4;border-radius:6px;color:#88987b;margin-left:7px;padding:2px 6px;font-size:10px}.text-button{background:transparent;font-size:11px;color:var(--accent);padding:5px}.text-button:hover{text-decoration:underline}.document-empty{padding:45px 25px;text-align:center;background:var(--surface);border:1px dashed #d9e2d3;border-radius:14px}.empty-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#f2f5ed;margin:0 auto 17px;color:#94a888}.document-empty h3{font-size:18px;font-weight:450;margin:0 0 10px}.document-empty p{color:#8d9b85;font-size:12px;line-height:1.8;margin:0 0 21px}.document-empty .button{font-size:11px}.document-list{display:grid;gap:9px}.document-row{display:flex;align-items:center;gap:15px;background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:16px 19px}.document-symbol{width:37px;height:42px;background:#eff4eb;display:flex;align-items:center;justify-content:center;border-radius:8px;color:#7c9c77;flex-shrink:0}.document-details{min-width:0;flex:1}.document-details h3{font-size:13px;font-weight:550;margin:0 0 7px;overflow-wrap:anywhere}.document-metadata{font-size:10px;color:#99a290;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.document-open{display:flex;align-items:center;justify-content:center;color:#91a48a;width:33px;height:33px;border-radius:8px}.document-open:hover{background:#edf4e9}.document-open .icon{width:16px;height:16px}.quiet-message{font-size:12px;color:var(--muted);padding:25px 0}
.connection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.connection-card{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:21px;display:flex;flex-direction:column;min-width:0}.connection-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:23px}.provider-logo{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;font-size:32px;font-weight:500}.provider-logo.drive{color:#60866d;background:#eef5e9}.provider-logo.dropbox{color:#558ca9;background:#edf3f9}.provider-logo.remote{color:#7e7596;background:#f2eef7}.provider-logo.remote .icon{width:24px;height:24px}.connection-status{font-size:9px;color:#8d9a83;border:1px solid #e4e9df;border-radius:15px;padding:5px 8px;background:#f7f9f4;white-space:nowrap}.connection-status.active{color:var(--accent);background:var(--accent-soft);border-color:#cce4d7}.connection-card h2{font-size:17px;font-weight:550;margin:0 0 10px;letter-spacing:-.25px}.connection-card>p:not(.card-footnote){font-size:11px;line-height:1.75;color:#8a9684;margin:0 0 20px;min-height:58px}.folder-item{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #f0f2ed;font-size:11px;color:#6e8467}.folder-item .icon{width:15px;height:15px;color:#9eb495}.folder-item span{margin-left:auto;font-size:8px;letter-spacing:.4px;color:#a8b49d}.assignment-note{display:flex;align-items:center;gap:7px;font-size:9px;line-height:1.65;color:#a2ac97;padding:12px 0}.assignment-note .status-dot{width:5px;height:5px}.card-footnote{font-size:10px;line-height:1.8;color:#a2ac98;border-top:1px solid #edf0e8;margin:auto 0 0;padding-top:16px}.device-row{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0 25px}.device-row span{font-size:10px;border:1px solid #e8e7ec;padding:6px 9px;border-radius:7px;color:#94899e;background:#faf9fc}.system-section{margin-top:35px;padding-top:29px;border-top:1px solid var(--line)}.system-section .eyebrow{font-size:9px;margin-bottom:8px}.system-section h2{font-size:22px;font-weight:450;margin:0 0 8px;letter-spacing:-.4px}.system-section>div>p:not(.eyebrow){font-size:11px;color:#929d88;line-height:1.7;margin:0}.system-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px;gap:20px}.system-stats>div{padding-left:16px;border-left:1px solid #dbe4d2;min-width:0}.system-stats span,.system-stats strong,.system-stats small{display:block}.system-stats span{font-size:10px;color:#98a18d;margin-bottom:10px}.system-stats strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.system-stats small{font-size:9px;color:#a0aa94;line-height:1.7;margin-top:6px}
.ingest-dialog{max-width:650px;width:calc(100% - 36px);max-height:calc(100dvh - 50px);border:1px solid #e0e7db;border-radius:19px;padding:28px;background:var(--surface);box-shadow:var(--shadow);color:var(--ink)}.ingest-dialog::backdrop{background:#20392e55;backdrop-filter:blur(4px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.modal-header .eyebrow{font-size:9px;margin-bottom:9px}.modal-header h2{font-size:24px;font-weight:450;letter-spacing:-.5px;margin:0}.icon-button{display:flex;align-items:center;justify-content:center;background:#f3f6ef;color:#91a085;border-radius:9px;width:31px;height:31px;align-self:flex-start}.icon-button .icon{width:16px;height:16px}.modal-description{font-size:12px;line-height:1.8;color:#8a9780;margin:17px 0 23px}.ingest-dialog label{display:block;font-size:11px;font-weight:550;margin-bottom:7px}.ingest-dialog input,.ingest-dialog textarea,.ingest-dialog select{border:1px solid #dfe6d8;background:#fbfcf9;border-radius:8px;padding:10px 11px;color:var(--ink);font-size:12px;width:100%}.ingest-dialog input{height:39px;margin-bottom:18px}.ingest-dialog textarea{resize:vertical;min-height:140px;margin-bottom:18px;line-height:1.65}.ingest-dialog input::placeholder,.ingest-dialog textarea::placeholder{color:#acb4a1}.ingest-dialog select{height:39px}.form-columns{display:grid;grid-template-columns:1fr 1.7fr;gap:15px}.optional{font-size:10px;font-weight:400;color:#a8b29a;margin-left:5px}.modal-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:19px;margin-top:5px}.modal-footer>span{font-size:10px;color:#97a38a}.modal-footer .button{font-size:11px}.form-error{font-size:12px;color:var(--danger);line-height:1.6;margin:12px 0}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:var(--ink);color:#f8fbf4;box-shadow:var(--shadow);border-radius:11px;padding:13px 20px;font-size:12px;max-width:calc(100% - 40px);z-index:30}
@media(min-width:1550px){.chat-view{max-width:1230px;padding:0 80px}.chat-toolbar{padding-top:38px}.chat-empty h2{font-size:36px}.topbar{padding-left:65px;padding-right:65px}}
@media(max-width:1100px){.sidebar{width:208px;padding-left:16px;padding-right:16px}.main-area{margin-left:208px}.topbar{padding:0 28px}.chat-view{padding:0 28px}.page-view{padding:31px 28px 45px}.connection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.remote-card{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:30px}.remote-card .connection-card-top,.remote-card h2,.remote-card>p:not(.card-footnote){grid-column:1}.remote-card .device-row{grid-column:2;grid-row:2/4;align-items:center;justify-content:flex-end}.remote-card .card-footnote{grid-column:1/-1}.remote-card>p:not(.card-footnote){min-height:0}.chat-toolbar{align-items:flex-start}.mode-selector{margin-top:1px}.mode-selector button{padding:7px 8px;font-size:10px;gap:4px}.mode-selector .icon{width:14px;height:14px}}
@media(max-width:760px){.app-shell{flex-direction:column}.sidebar{position:relative;width:100%;height:auto;padding:16px 20px 0;border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:0 15px}.brand{gap:9px}.brandmark{width:33px;height:33px;border-radius:9px;font-size:18px}.brand strong{font-size:11px}.brand>div:last-child>span{font-size:9px;margin-top:3px}.project-block{margin:0;grid-column:2;grid-row:1}.project-block>.eyebrow{display:none}.project-selector{display:flex;gap:3px;background:#e6ece2;border-radius:8px;padding:3px}.project-button{min-height:32px;padding:5px 9px;font-size:10px;gap:0;border-radius:6px}.project-letter,.project-check{display:none}.main-nav{grid-column:1/-1;display:flex;gap:17px;margin-top:17px}.nav-button{border-radius:0;padding:11px 0;min-height:40px;font-size:11px;gap:7px;position:relative}.nav-button .icon{width:15px;height:15px}.nav-button:hover{background:transparent}.nav-button.active{background:transparent}.nav-button.active:after{content:'';position:absolute;height:2px;background:var(--accent);bottom:-1px;left:0;right:0;border-radius:2px}.nav-count{font-size:8px;padding:0 4px}.sidebar-bottom{display:none}.main-area{margin:0}.topbar{height:47px;padding:0 20px}.breadcrumb{font-size:10px;gap:9px}.breadcrumb-symbol{font-size:15px}.ai-pill{font-size:9px;padding:5px 8px}.chat-view{padding:0 20px;height:calc(100dvh - 161px)}.chat-toolbar{padding:22px 0 15px;flex-wrap:wrap;gap:13px}.chat-toolbar h1{font-size:18px;margin-bottom:4px}.chat-toolbar p{font-size:11px}.mode-selector{padding:3px}.mode-selector button{padding:6px 8px;font-size:10px}.chat-empty{padding:25px 5px 30px;min-height:100%}.empty-emblem{width:64px;height:64px;border-radius:20px;margin-bottom:20px}.empty-emblem .icon{width:30px;height:30px}.chat-empty h2{font-size:28px;letter-spacing:-.7px;margin-bottom:14px}.chat-empty>p:not(.eyebrow){font-size:12px;max-width:340px}.chat-empty .eyebrow{font-size:8px}.empty-actions{margin-top:20px;gap:7px}.empty-actions .button{font-size:10px;padding:9px 12px;min-height:37px}.privacy-caption{font-size:9px;margin-top:23px}.composer-area{padding:13px 0 max(14px,env(safe-area-inset-bottom))}.composer{padding:10px 10px 10px 14px;border-radius:13px}.composer textarea{font-size:13px}.composer-note{font-size:8px;padding-top:8px}.composer-note>span:last-child{max-width:30%}.page-view{padding:26px 20px 40px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:17px;margin-bottom:22px}.page-heading h1{font-size:25px}.page-heading .button{font-size:10px;min-height:37px}.coverage-banner{padding:16px;gap:12px;margin-bottom:26px}.coverage-banner strong{font-size:11px}.coverage-banner p{font-size:10px}.connection-grid{grid-template-columns:1fr;gap:13px}.connection-card{padding:20px}.connection-card-top{margin-bottom:17px}.connection-card>p:not(.card-footnote){min-height:0;font-size:12px}.connection-card h2{font-size:18px}.folder-item{font-size:12px}.card-footnote{margin-top:20px}.remote-card{display:flex;grid-column:auto}.remote-card .device-row{justify-content:flex-start;margin:0 0 0}.remote-card .card-footnote{margin-top:20px}.system-stats{grid-template-columns:1fr;gap:19px;margin-top:23px}.system-stats span{margin-bottom:5px}.system-stats strong{font-size:13px}.system-stats small{font-size:10px}.document-row{padding:14px;gap:12px}.document-details h3{font-size:12px}.document-metadata{font-size:9px;gap:7px}.document-empty{padding:35px 18px}.message-text{font-size:13px}.message.user .message-text{max-width:93%;font-size:12px}.source-chip{font-size:10px;max-width:100%}.source-chip .source-title{max-width:220px}.app-notice{padding:10px 20px;font-size:11px}.app-notice:not([hidden])+.chat-view{height:calc(100dvh - 205px)}.ingest-dialog{padding:22px;max-height:calc(100dvh - 24px);width:calc(100% - 24px)}.modal-header h2{font-size:22px}.form-columns{grid-template-columns:1fr;gap:0}.form-columns>div:first-child{margin-bottom:18px}.modal-footer{gap:12px}.modal-footer>span{max-width:48%;line-height:1.6}.modal-description{font-size:11px}.toast{font-size:11px;padding:11px 15px;bottom:20px}}
@media(max-width:400px){.sidebar{padding-left:14px;padding-right:14px;gap:0 8px}.brand strong{font-size:10px}.project-button{font-size:9px;padding-left:7px;padding-right:7px}.chat-view,.topbar{padding-left:16px;padding-right:16px}.page-view{padding-left:16px;padding-right:16px}.chat-toolbar{gap:10px}.chat-toolbar h1{font-size:17px}.chat-toolbar p{font-size:10px}.mode-selector button{font-size:9px}.mode-selector .icon{display:none}.empty-actions .button{font-size:9px;gap:6px;padding:9px 10px}.empty-actions .icon{width:13px;height:13px}.composer-note>span:first-child{max-width:72%;line-height:1.6}.login-card h1{font-size:37px}.login-card .eyebrow{font-size:9px}.login-description{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.document-stale{color:#b69558}
.cloud-connect-steps{list-style:none;padding:0;margin:0;display:grid;gap:20px}.cloud-connect-step{display:flex;gap:13px;align-items:flex-start;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fbfcf8}.cloud-step-number{width:25px;height:25px;flex:0 0 25px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--accent-soft);color:var(--accent);font-size:11px;font-weight:600}.cloud-connect-step>div{flex:1;min-width:0}.cloud-connect-step h3{margin:3px 0 8px;font-size:13px;font-weight:550}.cloud-connect-step p{margin:0 0 14px;font-size:11px;line-height:1.8;color:var(--muted)}.cloud-connect-step .button{font-size:11px;min-height:38px;text-decoration:none}.cloud-connect-step input{margin-bottom:12px}.cloud-connect-status{font-size:11px;line-height:1.8;color:var(--muted);margin:16px 0 8px;overflow-wrap:anywhere}.cloud-connect-status:empty{display:none}.cloud-connect-step form{margin:0}.cloud-connect-step label{font-size:10px}.cloud-connect-step input{font-size:11px}@media(max-width:760px){.cloud-connect-steps{gap:13px}.cloud-connect-step{padding:14px;gap:10px}.cloud-connect-step h3{font-size:12px}.cloud-connect-step p{font-size:10px}.cloud-connect-step .button{font-size:10px;padding:9px 11px}.cloud-step-number{width:23px;height:23px;flex-basis:23px;font-size:10px}}
.messages:empty{display:none}
.conversation-bar{display:flex;align-items:center;gap:14px;padding:0 0 15px;flex-shrink:0;border-bottom:1px solid var(--line)}
.conversation-bar select{flex:1;min-width:0;max-width:390px;background:#131b10;color:var(--ink);border:1px solid #39492b;border-radius:8px;padding:9px 10px;font-size:12px}
.conversation-bar>span{font-size:10px;color:var(--muted);margin-left:auto}
.copy-answer{margin-top:10px;font-size:10px}
.document-search{display:flex;gap:10px;align-items:center;margin-bottom:24px;flex-wrap:wrap}
.document-search input{flex:1;min-width:120px;background:#131b10;border:1px solid #39492b;border-radius:9px;color:var(--ink);padding:12px;font:inherit;font-size:13px}
.document-excerpt{font-size:12px;line-height:1.8;color:var(--muted);margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){.conversation-bar{gap:10px;padding-bottom:12px;flex-wrap:wrap}.conversation-bar select{font-size:16px;width:65%;max-width:none}.conversation-bar>span{display:none}.conversation-bar .text-button{font-size:10px;white-space:nowrap}.document-search input{font-size:16px}.document-search .button{min-height:40px;font-size:11px}.document-row{align-items:flex-start}}
@media(max-height:760px){.chat-empty{justify-content:flex-start;padding-top:24px;padding-bottom:24px}}
.heading-actions{display:flex;gap:8px;flex-shrink:0}.card-browse{align-self:flex-start;margin:13px 0 16px;padding:0;font-size:10px}.cloud-dialog{max-width:740px}.cloud-remotes{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.remote-button{border:1px solid var(--line);border-radius:8px;padding:9px 12px;background:#f7f9f3;color:#8a997f;font-size:11px}.remote-button.active{background:var(--accent-soft);border-color:#bddbcc;color:var(--accent)}.cloud-pathbar{display:flex;align-items:center;gap:16px;padding:9px 0 13px;border-bottom:1px solid var(--line);margin-bottom:10px;min-width:0}.cloud-pathbar>span{font-size:11px;color:#899b7f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cloud-pathbar .text-button{flex-shrink:0}.cloud-empty{font-size:12px;line-height:1.85;background:#f4f7ef;padding:25px 20px;border-radius:12px;color:#8a9b7e;text-align:center}.cloud-files{display:grid;gap:5px;max-height:45dvh;overflow:auto;scrollbar-width:thin}.cloud-file{display:flex;align-items:center;gap:11px;background:#fbfcf8;border:1px solid #e8eee1;border-radius:9px;padding:11px 12px;width:100%;text-align:left;color:var(--ink)}.cloud-file:hover{background:#eff5e8;border-color:#d0dfc5}.cloud-file-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#edf3e6;color:#8da67d;width:32px;height:34px;border-radius:7px}.cloud-file-icon .icon{width:17px;height:17px}.cloud-file-text{flex:1;min-width:0}.cloud-file-text strong{display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}.cloud-file-text small{display:block;color:#a5b198;font-size:9px;margin-top:4px}.cloud-file-action{color:var(--accent);font-size:10px;white-space:nowrap;flex-shrink:0}.cloud-footnote{font-size:10px;color:#a3af97;margin-top:19px;padding-top:15px;border-top:1px solid var(--line)}@media(max-width:760px){.heading-actions{width:100%}.cloud-file{padding:10px;gap:9px}.cloud-file-text strong{font-size:11px}.cloud-file-action{font-size:9px}.remote-button{font-size:10px;padding:8px 10px}.cloud-empty{font-size:11px;padding:20px 15px}.cloud-footnote{font-size:9px}}

/* JUNO: original brand asset, displayed in white on the dark workspace. */
.juno-logo{display:block;object-fit:contain;height:auto;filter:invert(1);flex-shrink:0}
.login-page{background:radial-gradient(ellipse at 14% 17%,#28381945 0,transparent 45%),radial-gradient(ellipse at 85% 75%,#1e291c44 0,transparent 42%),var(--bg);padding:62px 64px 88px}
.login-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:88px;width:100%;max-width:1100px;align-items:center;position:relative;z-index:1}
.login-logo{width:154px;margin-bottom:43px}
.login-intro .eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:20px;color:#c2ccbb}
.login-intro h1{font-size:clamp(54px,5.8vw,78px);font-weight:600;line-height:1.04;letter-spacing:-3.5px;margin:0 0 24px}
.login-intro h1 span{color:var(--accent)}
.login-description{color:var(--muted);font-size:15px;line-height:1.8;margin:0 0 31px}
.login-archives{display:flex;gap:28px}
.login-archives>div{display:grid;grid-template-columns:34px 1fr;gap:3px 11px;align-items:center}
.archive-mark{grid-row:1/3;display:flex;align-items:center;justify-content:center;width:34px;height:39px;border:1px solid #3a4532;border-radius:8px;background:#151d12;color:var(--accent);font-size:13px;font-weight:600}
.login-archives strong{font-size:11px;font-weight:600;letter-spacing:.3px}
.login-archives small{font-size:10px;color:var(--muted)}
.login-card{background:linear-gradient(135deg,#171d16,#0e120e);border:1px solid #343e2f;border-radius:22px;padding:34px;max-width:420px;box-shadow:0 25px 80px #0007}
.login-card-icon{width:40px;height:40px;border:1px solid #3b4830;border-radius:12px;background:#212c17;display:flex;align-items:center;justify-content:center;color:var(--accent)}
.login-card-icon .icon{width:20px;height:20px}
.login-card .eyebrow{margin:24px 0 11px;font-size:9px;letter-spacing:1.8px;color:var(--accent)}
.login-card h2{font-size:27px;font-weight:600;letter-spacing:-1px;line-height:1.2;margin:0 0 13px}
.access-description{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 28px}
.login-card label{font-size:11px;color:#d6dece}
.code-input-wrap{background:#080b08;border-color:#374130;border-radius:10px;transition:border-color .15s}
.code-input-wrap:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #d4fb5912}
.code-input-wrap .icon{color:#87977a}
.code-input-wrap input{font-size:13px;height:50px;min-width:0}
.code-input-wrap input::placeholder{color:#87917f}
.login-card .button{height:49px;border-radius:10px}
.login-note{padding-top:20px;margin-top:23px;border-top:1px solid var(--line);font-size:10px;color:#a2ae98;gap:7px}
.login-note .icon{width:12px;height:12px}
.login-footer{color:#8b987f;font-size:8px;letter-spacing:2px;bottom:20px;text-align:center;left:20px;right:20px;margin:0}
.login-orbit{border-color:#879b5520;right:-330px;width:850px;height:850px}
.login-orbit:after{border-color:#879b5518}
.sidebar-logo{width:91px}
.brand{gap:13px}
.brand strong{font-size:11px;font-weight:600;letter-spacing:.1px}
.brand>div:last-child>span{font-size:9px;color:#a2ac9a;letter-spacing:0}
.sidebar{border-right-color:#242d20}
.project-button,.nav-button{color:#a6b09d}
.project-button:hover,.nav-button:hover{background:#1a2117}
.project-button.active{background:#1c2515;border:1px solid #465630;box-shadow:none}
.project-button{border:1px solid transparent}
.project-letter{background:#1d2519;color:#a4b596}
.project-button.active .project-letter{background:#d4fb59;color:#101707}
.nav-button.active{background:#222d14;color:var(--accent)}
.nav-count{background:#313c24;color:#c7d6b6}
.server-mini{border-top-color:var(--line)}
.server-mini-title .icon,.server-mini p,.lock-button{color:#a1ac95}
.storage-track{background:#252e1e}
.storage-track>span{background:var(--accent)}
.topbar{background:#090c09}
.breadcrumb span:last-child{color:#a1ae96}
.breadcrumb-separator{color:#4a5740}
.ai-pill{background:#151d11;border-color:#33402a;color:#bed2a8}
.status-dot.online{background:#d4fb59;box-shadow:0 0 0 3px #d4fb5912}
.status-dot.waiting{background:#f1bd60}
.status-dot.offline{background:#f09887}
.status-dot.neutral{background:#7d8975}
.app-notice{background:#302613;border-color:#514026;color:#ead4a4}
.button.primary,.send-button{background:var(--accent);color:#111806}
.button.primary:hover,.send-button:hover{background:#e0ff7a}
.button.secondary:hover{background:#1d2518}
.button:focus-visible,button:focus-visible,a:focus-visible{outline-color:var(--accent)}
input:focus,textarea:focus,select:focus{outline-color:#bbdd60}
.mode-selector{background:#11170f;border-color:#303b27}
.mode-selector button{color:#a0ad92}
.mode-selector button.active{background:#2a371b;color:var(--accent);box-shadow:none}
.chat-scroll{scrollbar-color:#38472c transparent}
.chat-toolbar h1{font-size:22px;font-weight:600;letter-spacing:-.6px}
.empty-emblem{border-color:#455533;background:linear-gradient(145deg,#283819,#151f10);border-radius:23px;box-shadow:0 10px 45px #c4ed2610}
.orbit-dot{background:var(--accent)}
.chat-empty .eyebrow{color:#b3c29e;letter-spacing:2px}
.chat-empty h2{font-weight:600;font-size:35px;letter-spacing:-1.1px}
.privacy-caption,.composer-note{color:#a0ad93}
.composer{background:#141b10;border-color:#39492b;box-shadow:0 6px 22px #0004}
.composer:focus-within{border-color:#96ad66;box-shadow:0 0 0 3px #d4fb5908}
.composer textarea::placeholder{color:#9bab89}
.message-heading{color:#afbe9f}
.message-avatar{color:var(--accent)}
.message-text{color:#e3ead9}
.message.user .message-text{background:#26341c;color:#f0f5e8;border:1px solid #3d512c}
.message.error .message-text{color:#ffb1a7;background:#301b18;border-color:#5d352e}
.message.pending .message-text{color:#b0be9e}
.loading-dots span{background:var(--accent)}
.sources-label,.source-unlinked,.sources-note{color:#a3b095}
.source-chip{background:#151d10;border-color:#39492c;color:#c0d2ac}
.source-chip:hover{border-color:#96ac64}
.source-chip .source-number{background:#2c3b1e;color:var(--accent)}
.page-heading h1{font-weight:600;letter-spacing:-1px}
.coverage-banner{background:#151f10;border-color:#334b22}
.coverage-banner>.icon{color:var(--accent)}
.coverage-banner p{color:#a9b899}
.count-badge{background:#2b391e;color:#d0e1b5}
.document-empty{border-color:#3b4a2e}
.empty-icon,.document-symbol{background:#25321b;color:#c3da9d}
.document-empty p,.document-metadata{color:#a4b293}
.document-open{color:#bed19f}
.document-open:hover{background:#27361b}
.document-stale{color:#f0cb83}
.provider-logo.drive{color:#ceeb8c;background:#2a371d}
.provider-logo.dropbox{color:#89c5f6;background:#172a39}
.provider-logo.remote{color:#cfb7f1;background:#2d223d}
.connection-card{border-color:#303a28;box-shadow:0 8px 25px #0002}
.connection-status{background:#1c2416;border-color:#38452b;color:#bdc9ad}
.connection-status.active{background:var(--accent-soft);border-color:#506637;color:var(--accent)}
.connection-card>p:not(.card-footnote){color:#a7b49a}
.folder-item{border-bottom-color:#283420;color:#d1dec1}
.folder-item .icon{color:#b3ca8b}
.folder-item span{color:#a1b386}
.assignment-note,.card-footnote,.system-section>div>p:not(.eyebrow){color:#a4b492}
.card-footnote{border-top-color:var(--line)}
.device-row span{border-color:#3d3349;color:#cdbbdf;background:#211b29}
.system-section h2{font-weight:600}
.system-stats>div{border-left-color:#425031}
.system-stats span,.system-stats small{color:#a7b796}
.ingest-dialog{background:#121810;border-color:#3b4a2e;box-shadow:0 25px 100px #000b}
.ingest-dialog::backdrop{background:#000a;backdrop-filter:blur(6px)}
.modal-header h2{font-weight:600}
.icon-button{background:#27341c;color:#c8dab0}
.modal-description,.optional,.modal-footer>span{color:#a7b695}
.ingest-dialog input,.ingest-dialog textarea,.ingest-dialog select{border-color:#3a482e;background:#090e07;color:var(--ink)}
.ingest-dialog input::placeholder,.ingest-dialog textarea::placeholder{color:#879778}
.toast{background:#d4fb59;color:#18200f}
.cloud-connect-step{background:#182111;border-color:#344329}
.remote-button{background:#182111;color:#b3c39f}
.remote-button.active{border-color:#637d3e;background:#2a381b;color:var(--accent)}
.cloud-pathbar>span,.cloud-footnote{color:#a4b591}
.cloud-empty{background:#1a2512;color:#becfaa}
.cloud-file{background:#172010;border-color:#334528}
.cloud-file:hover{background:#26371a;border-color:#607c3e}
.cloud-file-icon{background:#2b3a1e;color:#c3db9d}
.cloud-file-text small{color:#a7b98f}
@media(min-width:1550px){.chat-empty h2{font-size:40px}}
@media(max-width:1100px){.login-layout{gap:50px}.login-page{padding-left:44px;padding-right:44px}.login-intro h1{font-size:58px}.login-card{padding:28px}.sidebar-logo{width:74px}.brand{gap:10px}}
@media(max-width:760px){.login-page{padding:28px 24px 54px;align-items:flex-start}.login-layout{grid-template-columns:1fr;gap:31px;max-width:430px}.login-logo{width:111px;margin-bottom:24px}.login-intro .eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:13px}.login-intro h1{font-size:46px;line-height:1.05;letter-spacing:-2px;margin-bottom:17px}.login-description{font-size:13px;line-height:1.65;margin-bottom:21px}.login-archives{gap:25px}.login-archives strong{font-size:10px}.login-archives small{font-size:9px}.archive-mark{height:35px;width:30px;font-size:11px}.login-archives>div{grid-template-columns:30px 1fr;gap:3px 9px}.login-card{max-width:none;padding:24px;border-radius:18px}.login-card-icon{width:33px;height:33px;border-radius:10px}.login-card-icon .icon{width:17px;height:17px}.login-card .eyebrow{margin-top:19px;font-size:8px}.login-card h2{font-size:25px}.access-description{font-size:11px;margin-bottom:22px}.login-note{font-size:9px;margin-top:19px;padding-top:17px}.login-footer{font-size:6px;letter-spacing:1.3px;bottom:17px}.login-orbit{right:-500px;opacity:.7}.sidebar-logo{width:66px}.brand{gap:9px}.brand strong{font-size:10px}.brand>div:last-child>span{font-size:8px;margin-top:3px}.project-selector{background:#202b17;border:1px solid #344529}.project-button.active{background:#d4fb59;color:#121806;border-color:#d4fb59}.nav-button.active{background:transparent}.nav-button:hover{background:transparent}.chat-toolbar h1{font-size:19px}.chat-empty h2{font-size:29px;letter-spacing:-1px}.chat-empty{padding-top:24px}.empty-emblem{width:61px;height:61px;border-radius:20px}.code-input-wrap input,.ingest-dialog input,.ingest-dialog textarea,.ingest-dialog select,.composer textarea{font-size:16px}}
@media(max-width:400px){.sidebar-logo{width:58px}.brand{gap:7px}.brand strong{font-size:9px}.brand>div:last-child>span{font-size:7px}.login-page{padding-left:20px;padding-right:20px}.login-intro h1{font-size:43px}.login-card{padding:22px}.chat-toolbar h1{font-size:18px}.chat-empty h2{font-size:27px}}
