.usage-summary{box-sizing:border-box;color:#242424;width:min(100%,360px)}.usage-summary-head h2{margin:0;font-size:1rem;line-height:1.3}.usage-summary-head p,.usage-summary-empty p{color:#737373;margin:.35rem 0 0;font-size:.76rem;line-height:1.45}.usage-summary-list{gap:.55rem;margin-top:.85rem;display:grid}.usage-summary-card{background:#fafafa;border:1px solid #e7e7e7;border-radius:.75rem;min-width:0;padding:.75rem}.usage-summary-model{justify-content:space-between;align-items:baseline;gap:.5rem;min-width:0;display:flex}.usage-summary-model strong{overflow-wrap:anywhere;min-width:0;font-size:.88rem}.usage-summary-model span{color:#777;flex:none;font-size:.68rem}.usage-summary-metrics{grid-template-columns:1fr 1fr;gap:.55rem;margin:.7rem 0 0;display:grid}.usage-summary-metrics div{min-width:0}.usage-summary-metrics dt{color:#737373;font-size:.68rem;line-height:1.35}.usage-summary-metrics dd{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:.18rem 0 0;font-size:.9rem;font-weight:650}.usage-summary-empty{padding:.4rem 0}@media (width<=340px){.usage-summary-metrics{grid-template-columns:1fr;gap:.45rem}}.admin-dashboard{width:min(1160px,100%);max-height:calc(var(--app-height,100dvh) - 32px);color:#242424;background:#fff;border-radius:16px;padding:24px;overflow:auto}.dashboard-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.dashboard-header h2{margin:0;font-size:22px}.dashboard-header p,.dashboard-note,.dashboard-header small{color:#656565;font-size:13px;line-height:1.6}.dashboard-header p{margin:6px 0 0}.dashboard-actions{flex-wrap:wrap;align-items:center;gap:8px;margin:18px 0;display:flex}.dashboard-actions>span{color:#666;margin-right:auto;font-size:13px}.admin-people{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.admin-person{text-align:left;color:inherit;background:#fafafa;border:1px solid #ddd;border-radius:12px;padding:16px;display:block}.admin-person:hover,.admin-person.selected{background:#f1f7f4;border-color:#175c4c}.admin-person-name{justify-content:space-between;gap:8px;display:flex}.admin-person-name span{color:#656565;font-size:12px}.admin-person dl{grid-template-columns:1fr 1fr;gap:12px;margin:18px 0;display:grid}.admin-person dt{color:#666;font-size:12px}.admin-person dd{overflow-wrap:anywhere;margin:6px 0;font-size:17px;font-weight:600}.admin-person-link{color:#175c4c;font-size:13px;display:block}.dashboard-note{margin:10px 0 20px}.admin-user-section h3{margin:16px 0 12px;font-size:18px}.admin-user-section h3 small{color:#666;font-size:13px;font-weight:400}.model-usage-details{margin:12px 0;font-size:13px}.model-usage-details summary{cursor:pointer;color:#175c4c}.model-usage-details .usage-summary{width:100%;max-width:none;margin-top:12px}.model-usage-details .usage-summary-list{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.admin-browser{border:1px solid #e2e2e2;border-radius:12px;grid-template-columns:260px minmax(0,1fr);display:grid;overflow:hidden}.admin-conversation-list{background:#fafafa;border-right:1px solid #e2e2e2;padding:12px}.admin-conversation-list input{border:1px solid #ddd;border-radius:8px;width:100%;height:40px;margin-bottom:10px;padding:8px}.admin-conversation-list button{text-align:left;width:100%;color:inherit;background:0 0;border-radius:8px;margin:3px 0;padding:12px;display:block}.admin-conversation-list button:hover,.admin-conversation-list button.selected{background:#e8efe9}.admin-conversation-list strong{overflow-wrap:anywhere;font-size:14px;display:block}.admin-conversation-list span{color:#666;margin-top:6px;font-size:12px;display:block}.admin-reader{outline:none;min-width:0;padding:20px}.admin-reader header p{color:#666;font-size:13px}.admin-full-message{border-top:1px solid #e7e7e7;padding:20px 0}.admin-full-meta{color:#666;flex-wrap:wrap;gap:10px;margin-bottom:10px;font-size:13px;display:flex}.admin-full-meta strong{color:#242424}.admin-full-meta time{margin-left:auto}.admin-full-message pre{background:#f5f5f5;border-radius:8px;max-width:100%;padding:12px;overflow:auto}.admin-full-message .message-text{line-height:1.75}.admin-all-files{border-top:1px solid #ddd;padding-top:12px}.admin-all-files a{color:#175c4c;overflow-wrap:anywhere}.admin-all-files>div{margin:12px 0}.reader-back{display:none}.reader-placeholder,.select-person-hint{color:#666;font-size:14px;line-height:1.6}.dashboard-error{color:#8c2929;overflow-wrap:anywhere;background:#fff1f1;border-radius:8px;padding:12px}.dashboard-error button{background:0 0;margin-left:12px;text-decoration:underline}@media (width<=700px){.dialog-backdrop.admin-dashboard-backdrop{padding:8px}.admin-dashboard{max-height:calc(var(--app-height,100dvh) - 16px);border-radius:12px;padding:16px}.admin-people{grid-template-columns:1fr}.admin-person{padding:12px}.admin-person dl{gap:10px;margin:12px 0}.admin-person dd{font-size:16px}.dashboard-header h2{font-size:20px}.admin-browser{display:block}.admin-conversation-list{border:0}.admin-reader{padding:14px;display:none}.admin-browser.is-reading .admin-reader{display:block}.admin-browser.is-reading .admin-conversation-list{display:none}.reader-back{display:block}.dashboard-actions>span{width:100%}.admin-full-meta time{width:100%;margin:0}}.dashboard-header{z-index:2;background:#fff;padding-bottom:10px;position:sticky;top:0}.admin-user-section,.admin-reader{scroll-margin-top:96px}:root{color:#202123;font-synthesis:none;background:#fff;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Segoe UI,sans-serif;font-size:16px}*{box-sizing:border-box}body{background:#fff;min-width:320px;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}.app-shell{background:#fff;min-height:100vh;display:flex}.sidebar{background:#f7f7f8;border-right:1px solid #e6e6e4;flex-direction:column;flex:0 0 260px;width:260px;padding:16px 12px;display:flex}.sidebar-head{justify-content:space-between;align-items:center;padding:0 8px 18px;display:flex}.brand{letter-spacing:-.02em;align-items:center;gap:9px;font-weight:700;display:flex}.brand-mark{color:#fff;background:#175c4c;border-radius:9px;place-items:center;width:30px;height:30px;font-weight:700;display:grid}.brand-mark.small{border-radius:7px;width:26px;height:26px;font-size:14px}.icon-button,.menu-button{color:#656568;background:0 0;min-width:44px;min-height:44px;font-size:24px}.new-chat{text-align:left;color:#202123;background:#fff;border:1px solid #d9d9d7;border-radius:8px;height:44px;margin-bottom:16px;padding:0 13px;box-shadow:0 1px 2px #00000008}.new-chat span{color:#175c4c;vertical-align:-1px;margin-right:6px;font-size:20px}.search{color:#656568;padding:0 8px 8px;font-size:12px;display:block}.search input{background:#fff;border:1px solid #dededc;border-radius:7px;outline:none;width:100%;height:36px;margin-top:6px;padding:0 10px;display:block}.search input:focus{border-color:#175c4c;box-shadow:0 0 0 3px #175c4c20}.chat-list{gap:2px;display:grid;overflow:auto}.chat-row{color:#343438;text-align:left;background:0 0;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:42px;padding:0 10px;display:flex}.chat-row:hover,.chat-row.active{background:#e8e8e7}.chat-more{color:#888;letter-spacing:2px}.sidebar-bottom{border-top:1px solid #e3e3e1;margin-top:auto;padding-top:10px}.main-area{flex-direction:column;flex:1;min-width:0;min-height:100vh;display:flex}.topbar{border-bottom:1px solid #ececeb;align-items:center;gap:12px;height:64px;padding:0 24px;display:flex}.menu-button{display:none}.topbar-title{flex:1;font-weight:600}.admin-link{color:#175c4c;background:0 0;min-height:44px;padding:0 10px}.conversation{flex:1;min-height:0;overflow:auto}.empty-state{text-align:center;align-content:center;justify-items:center;max-width:800px;min-height:calc(100vh - 300px);margin:auto;padding:40px 24px;display:grid}.empty-orb{color:#175c4c;background:#edf3ef;border:1px solid #d5e3db;border-radius:17px;place-items:center;width:56px;height:56px;margin-bottom:22px;font-size:22px;font-weight:700;display:grid}.empty-state h1{letter-spacing:-.03em;margin:0 0 10px;font-size:25px;font-weight:600;line-height:1.35}.empty-state p,.muted{color:#747477;margin:0;line-height:1.7}.context-notice{color:#68686b;background:#fafaf9;border:1px solid #e4e4e2;border-radius:8px;max-width:800px;margin:16px auto 0;padding:10px 12px;font-size:13px;line-height:1.55}.context-notice details{margin-top:5px}.context-notice summary{color:#175c4c;cursor:pointer}.context-notice p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0}.message-stack{gap:24px;max-width:800px;margin:0 auto;padding:32px 24px 42px;display:grid}.message{gap:14px;line-height:1.7;display:flex}.avatar{color:#175c4c;background:#edf3ef;border-radius:9px;flex:0 0 32px;place-items:center;width:32px;height:32px;font-size:13px;font-weight:600;display:grid}.user-message .avatar{color:#555;background:#e9e9e8}.message-body{flex:1;min-width:0}.message-meta{margin-bottom:5px;font-size:13px;font-weight:600}.status{color:#666;background:#f1f1f0;border-radius:99px;margin-left:8px;padding:2px 7px;font-size:12px;font-weight:500}.status-running{color:#175c4c;background:#e8f1ed}.status-failed{color:#a83a35;background:#fbeaea}.status-unknown{color:#755600;background:#fff4d9}.message-text{white-space:pre-wrap;overflow-wrap:anywhere}.attachment-chip{border:1px solid #ddd;border-radius:7px;margin-top:8px;padding:4px 8px;font-size:13px;display:inline-block}.attachment-preview{object-fit:contain;border:1px solid #e2e2e0;border-radius:8px;max-width:min(320px,100%);max-height:240px;margin-top:8px;display:block}.composer-files{flex-wrap:wrap;gap:6px;padding:6px 4px 0;display:flex}.composer-files .attachment-chip{margin:0}.composer-files button{color:#777;background:0 0;padding:0 0 0 5px}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.composer-wrap{width:min(800px,100% - 48px);margin:0 auto;padding-bottom:24px}.controls{flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:9px;display:flex}.controls label{color:#666;align-items:center;gap:6px;font-size:12px;display:flex}.controls select{color:#303033;background:#fff;border:1px solid #dededc;border-radius:6px;height:32px;padding:0 8px;font-size:13px}.fast-toggle input{accent-color:#175c4c;width:16px;height:16px}.fast-toggle span{color:#888}.composer{border:1px solid #cfcfcd;border-radius:14px;align-items:end;min-height:58px;padding:8px;display:flex;box-shadow:0 1px 3px #0000000c}.composer textarea{resize:none;border:0;outline:0;flex:1;min-height:40px;max-height:160px;padding:9px 8px;line-height:1.5}.attach-button,.send-button{color:#666;background:0 0;border-radius:9px;flex:0 0 40px;width:40px;height:40px;font-size:22px}.send-button{color:#fff;background:#175c4c;font-size:21px}.send-button:hover{background:#0f4539}.composer-note{color:#8b8b8d;justify-content:space-between;padding:8px 6px 0;font-size:11px;display:flex}.notice{color:#765b08;background:#fff8e8;border:1px solid #f0dfac;border-radius:7px;margin:10px 0 0;padding:9px 11px;font-size:13px}.scrim{display:none}.login-page{background:#f7f7f8;place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fff;border:1px solid #e5e5e3;border-radius:14px;width:min(400px,100%);padding:32px;box-shadow:0 8px 30px #00000009}.login-card .brand-mark{margin-bottom:24px}.login-card h1{margin:0 0 10px;font-size:24px}.login-card label{color:#555;gap:7px;margin-top:18px;font-size:13px;display:grid}.login-card input{border:1px solid #d9d9d7;border-radius:7px;outline:none;height:44px;padding:0 11px}.login-card input:focus{border-color:#175c4c;box-shadow:0 0 0 3px #175c4c20}.wide{width:100%;margin-top:22px}.primary,.secondary{border-radius:8px;min-height:44px;padding:0 16px;font-weight:600}.primary{color:#fff;background:#175c4c}.secondary{color:#343438;background:#f1f1f0}.error-text{color:#a83a35;margin:14px 0 -4px;font-size:13px}.dialog-backdrop{z-index:10;background:#20212366;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dialog{background:#fff;border:1px solid #ddd;border-radius:14px;width:min(470px,100%);padding:26px;box-shadow:0 16px 48px #0003}.dialog-kicker{color:#175c4c;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:700}.dialog h2{margin:9px 0 12px;font-size:21px}.dialog p{color:#444;margin:0;line-height:1.7}.dialog-actions{justify-content:end;gap:8px;margin-top:24px;display:flex}.astra-manual{color:#656568;gap:6px;margin-top:16px;font-size:13px;display:grid}.astra-manual input,.admin-filters input{border:1px solid #d9d9d7;border-radius:7px;outline:none;height:40px;padding:0 10px}.admin-panel{background:#fff;border-radius:14px;width:min(920px,100%);max-height:calc(100vh - 40px);padding:24px;overflow:auto}.admin-head{border-bottom:1px solid #ececeb;justify-content:space-between;align-items:center;display:flex}.admin-head h2{margin:0 0 15px}.admin-section{margin-top:20px}.admin-section h3{margin:0 0 10px;font-size:15px}.admin-panel table{border-collapse:collapse;width:100%;font-size:13px}.admin-panel th,.admin-panel td{text-align:left;border-bottom:1px solid #ececeb;padding:9px 7px}.admin-filters{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.admin-filters input{flex:140px}.usage-json{white-space:pre-wrap;background:#f7f7f8;border-radius:8px;max-height:240px;padding:12px;font-size:12px;overflow:auto}.chat-row>button:first-child{text-align:left;min-height:42px;color:inherit;background:0 0;flex:1}.chat-actions{gap:2px;display:flex}.chat-actions button{color:#777;background:0 0;min-width:30px;min-height:34px}.cancel-task{color:#755600;background:#fff8e8;border:1px solid #d9d9d7;border-radius:7px;margin-top:8px;padding:7px 11px}.table-link{color:#175c4c;background:0 0;padding:0;text-decoration:underline}.conversation-detail{border:1px solid #e4e4e2;border-radius:8px;margin-top:12px;padding:12px}.conversation-detail h4{margin:0 0 8px}.admin-messages p{margin:8px 0;line-height:1.5}.admin-files{flex-wrap:wrap;gap:8px;display:flex}.admin-files a{color:#175c4c}.regenerate-button{color:#175c4c;background:0 0;border:1px solid #cbdcd2;border-radius:7px;min-height:36px;margin-top:9px;padding:0 10px;display:block}.history-files{flex-wrap:wrap;align-items:center;gap:8px;max-width:800px;margin:0 auto;padding:0 24px 18px;font-size:13px;display:flex}.history-files span{color:#777}.history-files a{color:#175c4c}@media (width<=700px){.sidebar{z-index:5;transition:transform .18s;position:fixed;inset:0 auto 0 0;transform:translate(-100%);box-shadow:8px 0 32px #0002}.sidebar.is-open{transform:translate(0)}.scrim{z-index:4;background:#20212352;display:block;position:fixed;inset:0}.menu-button{margin-left:-10px;display:block}.topbar{height:56px;padding:0 16px}.composer-wrap{width:calc(100% - 32px);padding-bottom:calc(16px + env(safe-area-inset-bottom))}.message-stack{padding:24px 16px 32px}.empty-state{min-height:calc(100vh - 230px);padding:24px 16px}.empty-state h1{font-size:22px}.controls{gap:5px}.controls label{flex:auto}.controls select{max-width:100%}.composer-note{font-size:10px}.admin-link{padding-right:0}}.admin-tasks{border-top:1px solid #ececeb;margin-top:14px;padding-top:10px}.admin-tasks h5{margin:0 0 7px;font-size:13px}.admin-task{border-bottom:1px solid #f0f0ee;justify-content:space-between;align-items:center;gap:10px;padding:7px 0;font-size:13px;display:flex}.user-menu{position:relative}.user-pill{color:#444;background:0 0;border-radius:8px;min-height:40px;padding:0 10px}.user-pill:hover{background:#f0f0ef}.usage-popover{z-index:3;background:#fff;border:1px solid #dededc;border-radius:12px;width:300px;padding:14px;font-size:12px;position:absolute;top:46px;right:0;box-shadow:0 10px 28px #0002}.usage-close{float:right;background:0 0;font-size:18px}.usage-row{color:#666;justify-content:space-between;gap:10px;padding-top:10px;display:flex}.stop-inline{color:#755600;background:#fff8e8;border:1px solid #d9d9d7;border-radius:9px;min-height:40px;margin-left:6px;padding:0 12px}.notice{justify-content:space-between;align-items:center;gap:10px;display:flex}.notice button{color:inherit;background:0 0;font-size:18px}.chat-actions{position:relative}.chat-menu{z-index:2;background:#fff;border:1px solid #dededc;border-radius:8px;min-width:92px;padding:4px;display:grid;position:absolute;top:34px;right:0;box-shadow:0 8px 20px #0002}.chat-menu button{text-align:left;color:#444;background:0 0;min-height:36px;padding:0 8px}.chat-menu button:hover{background:#f0f0ef}.upload-cards{gap:8px;padding:8px 0 2px;display:grid}.file-chip{background:#fafaf9;border:1px solid #e0e0de;border-radius:10px;grid-template-columns:1fr auto;align-items:center;gap:6px 10px;padding:9px 10px;font-size:12px;display:grid}.file-chip-main{gap:2px;min-width:0;display:grid}.file-chip-main strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-chip-main span{color:#777}.file-chip progress{accent-color:#175c4c;grid-column:1;width:100%}.file-chip button{color:#555;background:#fff;border:1px solid #d8d8d6;border-radius:7px;grid-area:1/2/span 2;min-height:34px;padding:0 9px}.image-stage{color:#888;gap:6px;margin:8px 0;font-size:11px;display:flex}.image-stage span{border:1px solid #e1e1df;border-radius:999px;padding:3px 7px}.image-stage .active{color:#175c4c;background:#edf3ef;border-color:#175c4c}.notice[role=dialog]{z-index:20;background:#fff8e8;border-radius:14px;width:min(440px,100% - 32px);padding:18px 20px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 16px 50px #0003}.skill-row{flex-wrap:wrap;gap:6px;padding:4px 0 8px;display:flex}.skill-chip{color:#175c4c;background:#edf3ef;border:1px solid #cbdcd2;border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:12px;display:inline-flex}.skill-chip button{color:inherit;background:0 0;padding:0}.skill-button{color:#175c4c;background:0 0;border-radius:9px;flex:0 0 40px;width:40px;height:40px;font-size:18px}.skills-panel{z-index:2;background:#fff;border:1px solid #dededc;border-radius:12px;max-height:300px;padding:10px;position:relative;overflow:auto;box-shadow:0 8px 24px #0002}.skills-panel>input{border:1px solid #ddd;border-radius:7px;width:100%;height:38px;padding:0 9px}.skills-list{gap:3px;margin-top:8px;display:grid}.skills-list button{text-align:left;background:0 0;border-radius:7px;gap:2px;padding:8px;display:grid}.skills-list button:hover,.skills-list button.selected{background:#edf3ef}.markdown-table-row{border-bottom:1px solid #e6e6e4;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px;padding:6px 0;display:grid}.message-text pre{background:#f4f4f3;border-radius:8px;padding:10px;overflow-x:auto}.message-text ul{padding-left:22px}.sidebar{background:#f8f8f8;border-right:1px solid #ececec;flex-basis:252px;width:252px}.brand-mark{background:#242424;border-radius:50%}.sidebar .icon-button{font-size:20px}.new-chat{box-shadow:none;background:0 0;border:0;border-radius:10px;font-weight:550}.new-chat:hover,.chat-item:hover{background:#ededed}.search-label input{background:#f0f0f0;border:1px solid #0000;border-radius:10px}.main-area{min-width:0;height:100dvh}.topbar{border-bottom-color:#0000;padding-left:28px;padding-right:28px}.topbar-title{color:#555;font-weight:500}.user-pill{color:#3b3b3b;background:#fff;border:1px solid #e7e7e7;border-radius:999px;padding:8px 13px}.composer-wrap{width:100%;max-width:828px;padding:12px 24px 20px}.composer{border:1px solid #dedede;border-radius:24px;align-items:center;min-height:78px;padding:12px;box-shadow:0 3px 14px #00000005}.composer:focus-within{border-color:#b8b8b8;box-shadow:0 3px 18px #00000008}.composer textarea{resize:none;max-height:200px;font-size:16px;line-height:1.6}.attach-button,.skill-button{color:#444;border-radius:50%;flex-basis:36px;width:36px;min-width:36px;height:36px}.attach-button:hover,.skill-button:hover{background:#ededed}.send-button{background:#252525;border-radius:50%;flex:0 0 40px;width:40px;height:40px}.send-button:disabled{color:#a3a3a3;cursor:default;background:#e7e7e7}.stop-inline{color:#333;background:#fff;border:1px solid #ddd;border-radius:50%;width:40px;min-width:40px;height:40px;padding:0;font-size:12px}.controls{gap:10px;padding:0 4px 10px}.controls label{color:#666;font-size:12px}.controls select{background:#fff;border:1px solid #e8e8e8;border-radius:9px;padding:7px 10px;font-size:13px}.composer-note{color:#777;margin-top:9px;padding:0 8px}.main-area:has(.empty-state) .conversation{flex:none;min-height:0;padding-top:clamp(80px,21vh,200px);padding-bottom:0}.main-area:has(.empty-state) .empty-state{min-height:0;padding:0}.main-area:has(.empty-state) .empty-orb{display:none}.main-area:has(.empty-state) .empty-state h1{letter-spacing:-.04em;margin:0;font-size:30px;font-weight:550}.main-area:has(.empty-state) .empty-state p{color:#848484;margin:14px 0 0;font-size:14px}.main-area:has(.empty-state) .composer-wrap{margin-top:28px;margin-bottom:auto;padding-top:0}.message-stack{max-width:780px}.message-avatar{color:#333;background:#f2f2f2;border-radius:50%}.message-text{font-size:16px;line-height:1.8}.file-chip{background:#fafafa;border-color:#e7e7e7;border-radius:14px;padding:12px 14px}.file-chip progress{appearance:none;border:0;border-radius:999px;height:5px;overflow:hidden}.file-chip progress::-webkit-progress-bar{background:#e6e6e6}.file-chip progress::-webkit-progress-value{background:#535353;border-radius:999px;transition:width .16s linear}.skills-panel{border-color:#e7e7e7;border-radius:18px;padding:12px;box-shadow:0 12px 35px #00000014}.skills-list button{border-radius:10px;min-height:58px;padding:10px 12px}.skills-list strong{font-size:14px;font-weight:550}.skills-list span{color:#666;font-size:12px}.notice[role=dialog]{color:#333;background:#fff;border:1px solid #e6e6e6;padding:24px}button:focus-visible,a:focus-visible,select:focus-visible{outline-offset:3px;outline:2px solid #666}@media (width<=700px){.sidebar{width:252px}.topbar{height:60px;padding:0 16px}.topbar-title{text-overflow:ellipsis;white-space:nowrap;max-width:120px;overflow:hidden}.user-pill{padding:7px 9px;font-size:12px}.composer-wrap{padding:10px 16px calc(12px + env(safe-area-inset-bottom))}.composer{border-radius:21px;min-height:68px;padding:8px}.controls{flex-wrap:wrap;gap:7px}.controls label{gap:4px}.controls select{padding:6px;font-size:12px}.fast-toggle{width:100%}.main-area:has(.empty-state) .conversation{padding-top:20vh}.main-area:has(.empty-state) .empty-state h1{font-size:24px}.main-area:has(.empty-state) .composer-wrap{margin-top:28px}.composer-note span{display:none}.usage-popover{max-width:calc(100vw - 32px);right:16px}}html,body,#root{height:100%;min-height:0}body{overflow:hidden}.app-shell{top:var(--app-top,0px);height:var(--app-height,100dvh);min-height:0;position:fixed;left:0;right:0;overflow:hidden}.main-area{height:100%;min-height:0;overflow:hidden}.topbar{flex:0 0 60px;min-height:0}.conversation{overscroll-behavior:contain;min-height:0}.composer-wrap{background:#fff;flex:none;min-height:0;position:relative}.composer textarea{width:0;min-width:0}.skills-panel{max-height:min(390px, calc(var(--app-height,100dvh) - 220px));z-index:8;position:absolute;bottom:calc(100% - 8px);left:24px;right:24px;overflow:auto}.skills-panel>input{z-index:1;background:#fff;width:calc(100% - 34px);position:sticky;top:0}.skills-close{float:right;color:#555;background:#fff;width:30px;height:36px;font-size:22px;position:sticky;top:0}.skill-row:empty{display:none}.skill-row,.composer-files,.upload-cards{overscroll-behavior:contain;max-height:96px;overflow-y:auto}.attachment-chip{overflow-wrap:anywhere;max-width:100%}.attachment-chip a{overflow-wrap:anywhere}.notice[role=status]{left:50%;bottom:calc(24px + env(safe-area-inset-bottom));z-index:12;max-width:calc(100vw - 32px);position:fixed;transform:translate(-50%);box-shadow:0 6px 28px #0002}.sidebar{min-height:0}.chat-list{flex:1;min-height:0}.login-page{height:var(--app-height,100dvh);min-height:0;overflow:auto}@media (width<=700px),(height<=520px){.main-area:has(.empty-state) .conversation{flex:1 1 0;place-items:center;min-height:0;padding:16px;display:grid}.main-area:has(.empty-state) .empty-state{min-height:0;padding:0}.main-area:has(.empty-state) .composer-wrap{margin:0 auto;padding-top:8px}.skills-panel{bottom:calc(100% - 2px);left:16px;right:16px}.skills-list button{min-height:50px}.sidebar{height:var(--app-height,100dvh)}.composer-note{margin-top:7px}.composer-files,.upload-cards,.skill-row{max-height:64px}.topbar-title{min-width:0}.topbar{gap:6px}.fast-toggle span{font-size:11px}}@media (height<=520px){.main-area:has(.empty-state) .empty-state p{display:none}.main-area:has(.empty-state) .empty-state h1{font-size:20px}.composer-note{display:none}.topbar{flex-basis:48px}.composer-wrap{padding-bottom:max(8px, env(safe-area-inset-bottom))}}@media (width<=700px){html[data-keyboard=true] .main-area:has(.empty-state) .conversation{display:none}html[data-keyboard=true] .composer-wrap{margin-top:auto!important}html[data-keyboard=true] .controls,html[data-keyboard=true] .composer-note{display:none}html[data-keyboard=true] .skills-panel{max-height:calc(var(--app-height,100dvh) - 160px)}.dialog-backdrop{top:var(--app-top,0px);height:var(--app-height,100dvh);bottom:auto;overflow:auto}.dialog{max-height:100%;overflow-y:auto}}.image-progress{max-width:340px;margin:12px 0}.image-progress progress{accent-color:#333;border:0;width:100%;height:6px}.image-progress .image-stage{justify-content:space-between}.attachment-preview{max-width:min(640px,100%);max-height:560px}.upload-picker{flex:0 0 36px;height:36px;position:relative}.upload-options{z-index:10;background:#fff;border:1px solid #e6e6e6;border-radius:16px;width:240px;max-width:calc(100vw - 48px);padding:6px;position:absolute;bottom:calc(100% + 18px);left:0;box-shadow:0 12px 40px #0002}.upload-options button{text-align:left;color:#242424;background:0 0;border-radius:10px;align-items:center;gap:12px;width:100%;min-height:62px;padding:10px 12px;display:flex}.upload-options button:hover,.upload-options button:focus-visible{background:#f3f3f3}.upload-options button>span:first-child{color:#666;font-size:24px}.upload-options strong,.upload-options small{display:block}.upload-options strong{font-size:15px;font-weight:500}.upload-options small{color:#777;margin-top:3px;font-size:12px}.fast-dialog-close{float:right;color:#666;background:0 0;width:36px;height:36px;margin:-10px -10px 0 0;font-size:24px}@media (width<=700px){.usage-popover{top:calc(var(--app-top,0px) + 60px);width:auto;max-width:none;max-height:calc(var(--app-height,100dvh) - 80px);z-index:12;position:fixed;left:12px;right:12px;overflow-y:auto}}
