:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f6f7f8;color:#1f252b;font-synthesis:none;letter-spacing:0;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}html,body,#root{width:100%;height:100%;overflow:hidden}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100%;background:linear-gradient(180deg,#ffffffdb,#f6f7f8eb),#f6f7f8}button,textarea,input,select{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:clamp(240px,18vw,300px) minmax(0,1fr) clamp(260px,18vw,340px);height:100vh;width:100%;height:100dvh;min-height:0;overflow:hidden}.settings-screen{display:grid;width:100%;height:100vh;height:100dvh;min-height:0;overflow:hidden;background:#f9faf9}.thread-rail,.context-panel{min-height:0;background:#eef2f0;border-color:#d9dfdc;border-style:solid}.thread-rail{display:flex;flex-direction:column;border-width:0 1px 0 0;padding:16px 12px;background:#f7f8fa;overflow:hidden}.context-panel{display:flex;flex-direction:column;gap:14px;border-width:0 0 0 1px;padding:18px 14px;overflow-y:auto}.brand-row{display:flex;align-items:center;gap:10px;margin-bottom:18px}.brand-mark,.card-icon{display:grid;place-items:center;width:32px;height:32px;border:1px solid #cad4ce;border-radius:8px;background:#fff;color:#285b4d}.brand-mark span{font-size:12px;font-weight:800}.brand-title{font-size:15px;font-weight:700}.brand-subtitle,.card-subtitle,.empty-panel,.empty-rail,.log-row{color:#6a746f;font-size:12px}.primary-command,.send-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;border-radius:8px;border:1px solid transparent;font-weight:650}.primary-command{width:100%;margin-bottom:20px;color:#1f252b;background:#fff;border-color:#e1e5e8;box-shadow:0 1px 4px #1f252b14}.rail-section,.context-section{margin-top:18px}.thread-rail .rail-section{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}.section-title{display:flex;align-items:center;gap:7px;min-height:24px;margin-bottom:10px;color:#36413c;font-size:12px;font-weight:750;text-transform:uppercase}.thread-list,.plan-list,.approval-list,.log-list{display:grid;gap:8px}.thread-rail .thread-list{align-content:start;flex:1 1 auto;grid-auto-rows:max-content;min-height:0;overflow-y:auto;padding-right:1px}.rail-footer{display:grid;flex:0 0 auto;gap:8px;margin-top:auto;padding-top:18px}.rail-command{display:inline-flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:0 10px;border:1px solid #d5ded9;border-radius:8px;background:#fff;color:#35433c;font-weight:700}.rail-command.active,.rail-command:hover{border-color:#9eb4aa;background:#f7fbf9}.thread-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;width:100%;min-height:38px;padding:0 6px;border:1px solid transparent;border-radius:7px;background:transparent;color:#202426;text-align:left}.thread-row:hover{background:#eef2f6}.thread-row.running{background:#edf7f2}.thread-row.active{background:#e6efff}.thread-time-group{align-content:start;display:grid;gap:6px}.thread-group-label{padding:7px 4px 2px;color:#8a9299;font-size:11px;font-weight:650}.thread-row-main{display:grid;min-width:0;min-height:36px;padding:0;border:0;background:transparent;color:inherit;text-align:left}.thread-row-main:disabled{cursor:default;opacity:.7}.thread-title-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}.thread-name{overflow:hidden;color:#202426;font-weight:520;text-overflow:ellipsis;white-space:nowrap}.thread-row.active .thread-name{color:#2563eb}.thread-row-actions{display:inline-flex;align-items:center;gap:2px;opacity:0;pointer-events:none;transition:opacity .12s ease}.thread-row.active .thread-row-actions,.thread-row:hover .thread-row-actions,.thread-row:focus-within .thread-row-actions{opacity:1;pointer-events:auto}.thread-action-button{display:inline-grid;place-items:center;width:22px;height:22px;border:1px solid transparent;border-radius:6px;background:transparent;color:#8a9299}.thread-action-button.pinned{color:#2563eb}.thread-action-button:hover:not(:disabled){background:#ffffffbf;color:#374151}.thread-action-button.danger:hover:not(:disabled){border-color:#e3c6c2;background:#fff4f2;color:#b33a32}.thread-action-button:disabled{cursor:default;opacity:.65}.workspace-panel{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;height:100%;min-height:0;min-width:0;overflow:hidden;background:#f9faf9}.top-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:62px;padding:12px 20px;border-bottom:1px solid #e1e5e3;background:#f9faf9eb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.top-bar>div:first-child{flex:1 1 auto;min-width:0}.workspace-title{max-width:100%;overflow:hidden;color:#18211d;font-size:17px;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.top-actions{display:flex;align-items:center;flex:0 0 auto;gap:8px;white-space:nowrap}.status-pill{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:0 10px;border:1px solid #d7ddd9;border-radius:999px;background:#fff;color:#4e5b55;font-size:12px;font-weight:700}.status-dot{width:8px;height:8px;border-radius:999px;background:#8a9690}.status-pill.ready .status-dot,.status-pill.mock .status-dot{background:#1d8f61}.status-pill.starting .status-dot{background:#d69b2d}.status-pill.error .status-dot{background:#c9423a}.icon-button{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid #d7ddd9;border-radius:8px;background:#fff;color:#36413c}.icon-button:hover,.ghost-button:hover:not(:disabled){border-color:#9eb4aa}.icon-button.success{color:#17724d}.icon-button.danger{color:#b33a32}.timeline-shell{position:relative;min-height:0;overflow:hidden}.timeline{height:100%;display:grid;align-content:start;grid-template-columns:minmax(0,1fr);gap:12px;min-height:0;padding:16px 20px 18px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.scroll-bottom-button{position:absolute;right:22px;bottom:18px;z-index:2;display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 11px;border:1px solid #c9d7d1;border-radius:999px;background:#fffffff5;color:#255c4a;box-shadow:0 6px 18px #17221d24;font-size:12px;font-weight:760;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.scroll-bottom-button:hover{border-color:#8eaaa0;background:#fff}.blank-state{display:grid;place-items:center;gap:10px;min-height:240px;color:#78837e;font-weight:700;text-align:center}.blank-state small{max-width:360px;color:#6e7974;font-size:13px;font-weight:500;line-height:1.5}.timeline-card{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;width:100%;max-width:840px;min-width:0}.timeline-card.user{justify-self:end;grid-template-columns:36px minmax(0,auto);width:fit-content;max-width:min(760px,94%)}.timeline-card.user .card-body{width:fit-content;max-width:100%;background:#e8f4ef;border-color:#c8ddd4}.timeline-card.answer-group{max-width:900px}.timeline-card.highlighted .card-body{border-color:#4f8f7c;background:#f2fbf7;box-shadow:0 0 0 3px #4f8f7c29}.answer-group-body{padding:0;overflow:hidden}.answer-group-header{align-items:center;margin:0;padding:12px 13px 10px}.answer-segments{display:grid;min-width:0}.answer-segment{min-width:0;padding:11px 13px}.answer-segment-header{display:flex;align-items:center;gap:7px;min-width:0;margin-bottom:8px;color:#53615b;font-size:12px;font-weight:730}.answer-segment-icon{display:inline-grid;place-items:center;flex:0 0 auto;width:22px;height:22px;border-radius:6px;background:#f0f5f2;color:#456056}.answer-segment-title{min-width:0;overflow-wrap:anywhere}.active-response-line{--active-response-line-color: #53615b;--active-response-shine-color: #ffffff;background:linear-gradient(90deg,var(--active-response-line-color) 0%,var(--active-response-line-color) 34%,var(--active-response-shine-color) 48%,var(--active-response-line-color) 62%,var(--active-response-line-color) 100%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:active-response-shimmer 4.8s linear infinite}.answer-segment-subtitle{min-width:0;color:#75827c;font-size:11px;font-weight:650;overflow-wrap:anywhere}.timeline-card.error .card-body{background:#fff1ef;border-color:#ecc2bd}.card-body{min-width:0;padding:12px 13px;border:1px solid #e0e6e2;border-radius:8px;background:#fff;box-shadow:0 1px 2px #17221d0a}.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.card-header-actions{display:inline-flex;align-items:center;flex:0 0 auto;gap:6px}.card-title{color:#1d2722;font-size:13px;font-weight:760}.item-status{flex:0 0 auto;padding:2px 7px;border-radius:999px;background:#edf0ef;color:#5a6761;font-size:11px;font-weight:700}.item-status.subtle{margin-left:auto;background:#f3f5f4;color:#68756f}.card-body p{margin:0;color:#202824;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.timeline-attachment-list{display:grid;gap:8px;margin-top:12px}.timeline-attachment-card{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;padding:8px;border:1px solid #c9ded5;border-radius:8px;background:#ffffff94}.timeline-attachment-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#dcece5;color:#2f6f59}.timeline-attachment-meta{min-width:0}.timeline-attachment-name{overflow:hidden;color:#25302b;font-size:12px;font-weight:750;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.timeline-attachment-status{overflow:hidden;color:#62726b;font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.timeline-attachment-actions{display:inline-flex;flex:0 0 auto;gap:6px}.generated-file-list{display:grid;gap:8px;margin-top:12px}.generated-file-card{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;max-width:min(560px,100%);padding:8px;border:1px solid #d4dfda;border-radius:8px;background:#f6f9f7}.generated-file-card.has-media-preview{align-items:start}.generated-file-thumbnail{grid-column:1 / -1;overflow:hidden;width:100%;max-height:320px;padding:0;border:1px solid #d5e1dc;border-radius:7px;background:#fff;cursor:zoom-in}.generated-file-thumbnail img{display:block;width:100%;max-height:320px;object-fit:contain}.generated-file-video{grid-column:1 / -1;display:block;width:100%;max-height:360px;border:1px solid #d5e1dc;border-radius:7px;background:#111815}.generated-file-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#e4eee9;color:#2f6f59}.generated-file-meta{min-width:0}.generated-file-name{overflow:hidden;color:#24302a;font-size:12px;font-weight:750;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.generated-file-status{overflow:hidden;color:#68766f;font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.generated-file-actions{display:inline-flex;flex:0 0 auto;gap:6px}.message-markdown{color:#202824;font-size:14px;line-height:1.62;overflow-wrap:anywhere}.message-markdown>:first-child{margin-top:0}.message-markdown>:last-child{margin-bottom:0}.message-markdown p{margin:0 0 9px;white-space:normal}.message-markdown h1,.message-markdown h2,.message-markdown h3,.message-markdown h4{margin:12px 0 7px;color:#17211d;font-weight:760;line-height:1.32}.message-markdown h1{font-size:18px}.message-markdown h2{font-size:16px}.message-markdown h3,.message-markdown h4{font-size:14px}.message-markdown ul,.message-markdown ol{margin:6px 0 10px;padding-left:22px}.message-markdown li{margin:3px 0}.message-markdown blockquote{margin:8px 0 10px;padding:6px 10px;border-left:3px solid #b9c9c1;background:#f4f7f5;color:#405049}.message-markdown a{color:#176f5b;font-weight:650;text-decoration:underline;text-underline-offset:2px}.message-markdown code{padding:1px 5px;border-radius:5px;background:#eef4f1;color:#1d4036;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.message-markdown pre{margin:8px 0 10px;padding:10px;border-radius:8px;background:#17211d;color:#e4ece8;overflow:auto}.message-markdown pre code{padding:0;border-radius:0;background:transparent;color:inherit;font-size:12px;line-height:1.55}.markdown-table-wrap{max-width:100%;margin:8px 0 10px;overflow-x:auto;border:1px solid #d9e2dd;border-radius:8px;background:#fff}.message-markdown table{width:100%;min-width:360px;border-collapse:collapse;font-size:13px}.message-markdown th,.message-markdown td{padding:7px 9px;border-bottom:1px solid #e4ebe7;border-right:1px solid #e4ebe7;text-align:left;vertical-align:top;white-space:nowrap}.message-markdown th:last-child,.message-markdown td:last-child{border-right:0}.message-markdown tr:last-child td{border-bottom:0}.message-markdown th{background:#f2f6f4;color:#33433c;font-weight:760}.chart-card{margin:10px 0 12px;overflow:hidden;border:1px solid #d8e2dd;border-radius:8px;background:#fff}.chart-card-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border-bottom:1px solid #e4ebe7;background:#f7faf8}.chart-card-title{min-width:0;overflow:hidden;color:#1f2933;font-size:13px;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.chart-view-toggle{display:inline-flex;flex:0 0 auto;gap:2px;padding:2px;border:1px solid #d8e2dd;border-radius:7px;background:#fff}.chart-view-toggle button{min-width:44px;height:26px;padding:0 9px;border:0;border-radius:5px;background:transparent;color:#52615a;font-size:12px;font-weight:700}.chart-view-toggle button.active{background:#2563eb;color:#fff}.chart-canvas{width:100%;height:320px}.chart-data-wrap{max-width:100%;overflow-x:auto}.chart-data-table{width:100%;min-width:320px;border-collapse:collapse;font-size:13px}.chart-data-table th,.chart-data-table td{padding:8px 10px;border-bottom:1px solid #e4ebe7;border-right:1px solid #e4ebe7;text-align:left;white-space:nowrap}.chart-data-table th:last-child,.chart-data-table td:last-child{border-right:0}.chart-data-table tr:last-child td{border-bottom:0}.chart-data-table th{background:#f2f6f4;color:#33433c;font-weight:760}.chart-source-details{padding:8px 10px 10px;border-top:1px solid #e4ebe7}.chart-source-details summary{cursor:pointer;color:#52615a;font-size:12px;font-weight:700}.chart-source-details pre{margin-top:8px;padding:9px;border-radius:7px;background:#17211d;color:#e4ece8;font-size:12px;overflow:auto;white-space:pre}.chart-invalid-notice{border:1px solid #f0d9a4;border-radius:8px;background:#fff8e6;color:#7a4d08;font-size:13px;font-weight:650;padding:10px 12px}pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;letter-spacing:0}.command-line,.tool-output{margin-top:8px;padding:10px;border-radius:8px;background:#17211d;color:#e4ece8;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.5}.tool-output{max-height:280px;overflow:auto;background:#202a25}.tool-output .active-response-line{--active-response-line-color: #e4ece8}.tool-process{display:grid;gap:6px;max-width:min(720px,100%)}.tool-process-line{display:grid;grid-template-columns:54px minmax(0,1fr);gap:8px;align-items:baseline;color:#3d4d46;font-size:13px;line-height:1.5}.tool-process-line.error{color:#8a3c35}.tool-process-label{color:#6b7973;font-weight:720}.tool-process-value{min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}.tool-detail-panel{margin-top:4px;padding-top:7px;border-top:1px solid #edf2ef;color:#46554f;font-size:12px}.tool-detail-panel summary{width:fit-content;cursor:pointer;color:#315d50;font-weight:760;line-height:1.4}.tool-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px 12px;margin:8px 0 0}.tool-detail-grid div{min-width:0}.tool-detail-grid dt{color:#6c7a73;font-size:11px;font-weight:720}.tool-detail-grid dd{min-width:0;margin:1px 0 0;color:#22302a;overflow-wrap:anywhere}.tool-detail-block{display:grid;gap:5px;margin-top:8px}.tool-detail-heading{color:#6c7a73;font-size:11px;font-weight:760}.tool-sql,.tool-result-json{max-height:220px;overflow:auto;padding:9px;border-radius:7px;background:#17211d;color:#e4ece8;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px;line-height:1.5}.tool-preview-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #d9e2dd;border-radius:7px}.tool-preview-table{width:100%;min-width:320px;border-collapse:collapse;background:#fff;font-size:11px}.tool-preview-table th,.tool-preview-table td{max-width:220px;padding:6px 7px;border-right:1px solid #e6ece8;border-bottom:1px solid #e6ece8;overflow:hidden;text-align:left;text-overflow:ellipsis;vertical-align:top;white-space:nowrap}.tool-preview-table th{background:#f4f7f5;color:#394a42;font-weight:760}.tool-preview-table th:last-child,.tool-preview-table td:last-child{border-right:0}.tool-preview-table tr:last-child td{border-bottom:0}.change-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.change-list span{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:4px 7px;border-radius:6px;background:#eef2f6;color:#334357;font-size:12px}.change-preview-button{display:inline-grid;place-items:center;width:22px;height:22px;border:1px solid #c7d2da;border-radius:6px;background:#fff;color:#315c70}.change-preview-button.favorite.active{border-color:#d9a928;background:#fff8de;color:#9a6a00}.composer{border-top:1px solid #e1e5e3;background:#fff;padding:10px 20px 12px}.composer.drag-active{background:#f2faf6;box-shadow:inset 0 0 0 2px #245f4d29}.file-input{display:none}.attachment-list{display:flex;flex-wrap:wrap;gap:8px;max-height:92px;margin-bottom:10px;overflow-y:auto;overscroll-behavior:contain}.attachment-chip{display:grid;grid-template-columns:24px minmax(0,1fr) auto auto auto;align-items:center;gap:8px;max-width:min(360px,100%);min-height:42px;padding:6px 7px 6px 8px;border:1px solid #d7ddd9;border-radius:8px;background:#fbfcfb}.attachment-chip.uploading{border-color:#d7cda9;background:#fffaf0}.attachment-chip.failed{border-color:#ecc2bd;background:#fff5f3}.attachment-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:#eaf0ed;color:#2f6f59}.attachment-meta{min-width:0}.attachment-name{overflow:hidden;color:#25302b;font-size:12px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.attachment-status{overflow:hidden;color:#69766f;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.attachment-chip.failed .attachment-status{color:#a13b35}.attachment-remove,.attachment-button{display:inline-grid;place-items:center;border:1px solid #d7ddd9;border-radius:8px;background:#fff;color:#36413c}.attachment-remove{width:28px;height:28px}.attachment-remove:hover,.attachment-button:hover{border-color:#9eb4aa}.composer textarea{display:block;width:100%;min-height:92px;max-height:240px;resize:none;overflow-y:hidden;border:1px solid #d7ddd9;border-radius:8px;padding:11px 12px;outline:none;color:#1e2723;background:#fbfcfb;line-height:1.5}.composer textarea:disabled{cursor:not-allowed;background:#eef2f0;color:#77837d}.composer-access{margin-bottom:8px;padding:7px 9px;border:1px solid #cbd9d3;border-radius:8px;background:#fff;color:#315647;font-size:12px;font-weight:750;line-height:1.35}.composer-access.blocked{border-color:#e0c7c3;background:#fff6f4;color:#9b3932}.composer-access.warning{border-color:#ded0a8;background:#fffaf0;color:#7a5423}.composer textarea:focus,.context-section input:focus,.settings-pane input:focus,.settings-pane textarea:focus,.settings-pane select:focus,.auth-panel input:focus{border-color:#2c735b;box-shadow:0 0 0 3px #2c735b1f}.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.composer-left-actions{display:flex;align-items:center;gap:10px;min-width:0}.composer-right-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.attachment-button{width:36px;height:36px;color:#2b4f43}.voice-button{position:relative;isolation:isolate;overflow:visible;--voice-level: 0}.voice-button.recording{border-color:#9eb4aa;color:#2b4f43;background:#f6fbf8}.voice-button.recording:before{content:"";position:absolute;inset:-5px;z-index:-1;border:1px solid rgba(36,95,77,.22);border-radius:11px;opacity:.55;animation:voice-listening-pulse 1.4s ease-out infinite}.voice-button.recording:after{content:"";position:absolute;right:5px;bottom:5px;left:5px;height:3px;border-radius:999px;background:#7fae9a;transform:scaleX(max(.18,var(--voice-level)));transform-origin:left center;transition:background .12s ease,transform 80ms linear}.voice-button.speaking{border-color:#2c735b;color:#1f5f49;background:#eaf7f0}.voice-button.speaking:before{border-color:#2c735b6b;opacity:.9}.voice-button.speaking:after{background:#245f4d}.voice-button.auto-stopping{border-color:#d9a928;color:#7a5423;background:#fffaf0}@keyframes voice-listening-pulse{0%{opacity:.68;transform:scale(.94)}to{opacity:0;transform:scale(1.16)}}.run-state{display:inline-flex;align-items:center;gap:7px;color:#61706a;font-size:12px;font-weight:700;white-space:nowrap}.composer-model-picker{display:inline-flex;align-items:center;gap:7px;min-width:150px;max-width:min(270px,34vw);height:38px;padding:0 10px;border:1px solid #d5ddd8;border-radius:8px;color:#2b4f43;background:#fff}.composer-model-picker select{min-width:0;width:100%;border:0;outline:0;color:#2d3d38;background:transparent;font-size:12px;font-weight:700}.composer-model-picker:focus-within{border-color:#2c735b;box-shadow:0 0 0 3px #2c735b1f}.composer-model-picker:has(select:disabled){opacity:.58}.composer-model-notice{max-width:min(300px,28vw);overflow:hidden;color:#5f6c66;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.send-button{min-width:92px;color:#fff;background:#245f4d}.send-button:disabled,.attachment-button:disabled{cursor:not-allowed;opacity:.58}.send-button.stop{background:#a13b35}.context-section{padding-bottom:16px;border-bottom:1px solid #dce3df}.context-section.plan-section{margin-top:auto;border-bottom:0}.admin-live-log-section{display:flex;flex-direction:column;min-height:0}.admin-live-log-title{justify-content:space-between}.admin-live-log-title span{margin-right:auto}.admin-live-log-title em{color:#68756f;font-size:11px;font-style:normal}.admin-live-log-actions{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.admin-live-log-actions .ghost-button.inline{min-height:28px;padding:0 7px;font-size:11px}.admin-live-log-list{display:grid;max-height:min(52vh,560px);gap:8px;overflow:auto;padding-right:2px}.admin-live-log-entry{display:grid;gap:6px;border-left:3px solid #95a59e;border-radius:6px;background:#fff;padding:8px;box-shadow:0 1px 2px #1b302814}.admin-live-log-entry.incoming{border-left-color:#2f6f57}.admin-live-log-entry.outgoing{border-left-color:#8a5f19}.admin-live-log-entry.system{border-left-color:#626c74}.admin-live-log-entry header{display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:#627169;font-size:10px}.admin-live-log-entry header span{color:#2f5a4c;font-weight:800}.admin-live-log-entry header strong{color:#27332e;font-size:10px}.admin-live-log-entry header em,.admin-live-log-entry header time{font-style:normal}.admin-live-log-entry pre{max-width:100%;margin:0;border-radius:6px;background:#17211d;color:#dce7e2;padding:8px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-family:SFMono-Regular,Cascadia Code,Liberation Mono,monospace;font-size:10.5px;line-height:1.45}.quick-command-panel-list{display:grid;gap:8px}.quick-command-button{width:100%;min-height:38px;padding:8px 10px;border:1px solid #d2ddd7;border-radius:8px;background:#fff;color:#2d3b35;text-align:left;font-size:13px;font-weight:750}.quick-command-button:hover{border-color:#91aca0;background:#f7fbf9}.field-label{display:block;margin-bottom:6px;color:#6b766f;font-size:12px;font-weight:700}.field-label.secondary{margin-top:10px}.context-section input{width:100%;min-height:34px;border:1px solid #d1d9d5;border-radius:8px;padding:0 9px;color:#24302a;background:#fff;outline:none}.ghost-button{width:100%;margin-top:9px;color:#2b4f43;background:#fff;border-color:#d1d9d5}.ghost-button.inline{width:auto;min-height:34px;margin-top:0;padding:0 12px}.ghost-button.inline.active{border-color:#8fb0a4;background:#eef6f3;color:#1f5e4c}.ghost-button:disabled{cursor:not-allowed;opacity:.55}.auth-shell{display:grid;place-items:center;width:100%;height:100vh;min-height:100dvh;padding:20px;background:#f5f7f6}.auth-panel{display:grid;gap:14px;width:min(420px,100%);padding:26px;border:1px solid #d9e1dd;border-radius:8px;background:#fff;box-shadow:0 12px 34px #18221d14}.auth-mark{display:grid;place-items:center;width:42px;height:42px;border:1px solid #cad8d2;border-radius:8px;background:#edf7f2;color:#245f4d}.auth-panel h1{margin:0;color:#1b2520;font-size:22px}.auth-panel p{margin:0;color:#66736d;line-height:1.55}.auth-panel input,.settings-pane input,.settings-pane select,.settings-pane textarea{width:100%;min-height:36px;border:1px solid #d1d9d5;border-radius:8px;padding:0 10px;color:#24302a;background:#fff;outline:none}.settings-pane input:disabled{cursor:not-allowed;background:#eef2f0;color:#79857f}.settings-pane textarea{min-height:88px;padding:9px 10px;resize:vertical;line-height:1.5}.auth-error{padding:9px 10px;border:1px solid #efc6bf;border-radius:8px;background:#fff4f2;color:#9d342f;font-size:13px}.auth-hint{padding:9px 10px;border:1px solid #cddbd5;border-radius:8px;background:#f4faf7;color:#245f4d;font-size:13px;font-weight:700}.auth-submit{width:100%}.auth-switch{min-height:36px;justify-content:center}.settings-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);width:100%;height:100%;min-height:0;min-width:0;background:#f9faf9}.settings-nav{display:grid;align-content:start;gap:8px;min-height:0;padding:18px 14px;border-right:1px solid #e1e5e3;background:#f2f5f3}.settings-nav-item{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#33413b;font-weight:750}.settings-nav-item.active,.settings-nav-item:hover:not(:disabled){border-color:#cdd8d2;background:#fff}.settings-nav-item:disabled{cursor:not-allowed;opacity:.5}.settings-content{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;min-width:0}.settings-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:62px;padding:12px 20px;border-bottom:1px solid #e1e5e3;background:#f9faf9eb}.settings-header-title{display:flex;align-items:center;gap:12px;min-width:0}.settings-back-button{flex:0 0 auto;border-color:#d5ded9;background:#fff;color:#2f463d}.settings-back-button:hover{border-color:#9eb4aa;background:#f7fbf9}.settings-subtitle,.settings-message{margin-top:3px;color:#68756f;font-size:12px}.settings-message{margin-top:0;padding:6px 9px;border:1px solid #cddbd5;border-radius:999px;background:#fff;color:#245f4d;font-weight:700}.settings-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.ghost-button.inline.danger{border-color:#efc6bf;color:#9d342f}.ghost-button.inline.danger:hover:not(:disabled){border-color:#e0a49a;background:#fff4f2}.send-button.inline-action.danger{background:#a13b35}.settings-confirm-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:18px;background:#1b241f52}.settings-confirm-dialog{display:grid;gap:16px;width:min(420px,100%);padding:18px;border:1px solid #d9e1dd;border-radius:8px;background:#fff;box-shadow:0 16px 44px #18221d29}.settings-confirm-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.settings-confirm-title{color:#1b2520;font-size:17px;font-weight:800}.settings-confirm-dialog p{margin:6px 0 0;color:#68756f;font-size:13px;line-height:1.5}.learning-dialog{display:grid;gap:16px;width:min(680px,100%);max-height:min(760px,calc(100dvh - 36px));padding:20px;border:1px solid #d9e1dd;border-radius:8px;background:#fff;box-shadow:0 16px 44px #18221d29;overflow:auto}.learning-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.learning-dialog-title{color:#1b2520;font-size:18px;font-weight:850}.learning-dialog-header p{margin:6px 0 0;color:#68756f;font-size:13px;line-height:1.5}.learning-form-row{display:grid;gap:8px;margin:0}.learning-form-row.compact{gap:5px}.learning-form-label{color:#394a43;font-size:13px;font-weight:800}.learning-form-row input,.learning-form-row textarea{width:100%;border:1px solid #ccd8d2;border-radius:8px;background:#fff;color:#213029;font:inherit;outline:none}.learning-form-row input{min-height:34px;padding:0 10px;font-size:13px}.learning-form-row textarea{min-height:136px;padding:10px 11px;resize:vertical;line-height:1.5}.learning-form-row input:focus,.learning-form-row textarea:focus{border-color:#86a99c;box-shadow:0 0 0 3px #245f4d1a}.learning-example-hint{display:block;padding:7px 9px;border:1px solid #e2e9e5;border-radius:8px;background:#f7faf8;color:#6a7771;font-size:12px;font-weight:650;line-height:1.45;overflow-wrap:anywhere}.learning-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.learning-category-option{display:grid;gap:4px;min-height:72px;padding:10px;border:1px solid #d6e0db;border-radius:8px;background:#fbfcfb;color:#31443c;text-align:left}.learning-category-option span{font-size:13px;font-weight:850}.learning-category-option em{color:#68756f;font-size:11px;font-style:normal;line-height:1.35}.learning-category-option.active,.learning-category-option:hover{border-color:#86a99c;background:#f1f8f5}.learning-context-preview{display:grid;gap:10px;padding:12px;border:1px solid #cddbd5;border-radius:8px;background:linear-gradient(180deg,#f8fbfa,#fff)}.learning-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.learning-preview-heading div{display:grid;gap:3px}.learning-preview-heading span{color:#254f42;font-size:12px;font-weight:850}.learning-preview-heading strong{color:#6a7771;font-size:12px;font-weight:700}.learning-preview-heading em{flex:0 0 auto;min-height:24px;padding:3px 9px;border-radius:999px;background:#e9f5f0;color:#245f4d;font-size:12px;font-style:normal;font-weight:850}.learning-preview-card{display:grid;gap:6px;padding:10px 12px;border:1px solid #e0e8e4;border-radius:8px;background:#fff;box-shadow:inset 3px 0 #86a99c}.learning-preview-card-title{color:#22322b;font-size:13px;font-weight:850;line-height:1.45;overflow-wrap:anywhere}.learning-preview-card p{margin:0;color:#52625b;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.learning-audit-details{display:grid;gap:8px;padding:10px 12px;border:1px solid #dce5e0;border-radius:8px;background:#fbfcfb;color:#4b5d55;font-size:12px}.learning-audit-details pre{max-height:180px;margin:0;overflow:auto;white-space:pre-wrap}.learning-error{padding:9px 11px;border:1px solid #efc6bf;border-radius:8px;background:#fff6f4;color:#9d342f;font-size:13px;font-weight:750}.learning-submit-hint{color:#8a6b2f;font-size:12px;font-weight:750}.settings-pane{min-height:0;padding:18px 20px 24px;overflow:auto}.brand-settings-pane{display:grid;align-content:start;gap:16px}.brand-settings-tabs{flex-wrap:wrap}.brand-settings-section{margin-bottom:0}.settings-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field-label.wide{margin-top:12px}.settings-inline-section{margin-top:14px}.module-picker{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.module-picker label,.table-select-row{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:0 9px;border:1px solid #d6dfda;border-radius:8px;background:#fff;color:#394640;font-size:12px;font-weight:700}.module-picker input,.table-select-row input{width:auto;min-height:auto}.module-picker input:disabled+span{color:#7a8781}.settings-help{color:#66746e;font-size:12px;line-height:1.45}.invitation-block{display:grid;gap:14px;max-width:980px}.invitation-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.invitation-stats div{display:grid;gap:5px;min-width:0;padding:12px;border:1px solid #d8e1dc;border-radius:8px;background:#fbfcfb}.invitation-stats span{color:#68756f;font-size:12px}.invitation-stats strong{overflow-wrap:anywhere;color:#22312a;font-size:15px}.quota-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.quota-summary-grid div{display:grid;align-content:start;gap:5px;min-width:0;min-height:86px;padding:12px;border:1px solid #d8e1dc;border-radius:8px;background:#fff}.quota-summary-grid span{color:#68756f;font-size:12px}.quota-summary-grid strong{color:#20312a;font-size:20px;line-height:1.2}.quota-summary-grid em{overflow-wrap:anywhere;color:#8b4139;font-size:12px;font-style:normal;line-height:1.35}.quota-summary-grid .quota-ok{border-color:#bdd9cb;background:#f0faf5}.quota-summary-grid .quota-blocked{border-color:#efc6bf;background:#fff7f5}.invitation-link-field input{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}.invitation-error-panel{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid #efc6bf;border-radius:8px;background:#fff7f5;color:#9d342f}.invitation-error-panel div{display:grid;gap:3px;min-width:0}.invitation-error-panel strong{font-size:13px}.invitation-error-panel span{overflow-wrap:anywhere;color:#7f4a43;font-size:12px}.invitation-share-layout{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr);gap:14px;align-items:stretch}.invitation-poster-preview{display:grid;gap:10px;justify-items:center;min-width:0;padding:16px;border:1px solid #d8e1dc;border-radius:8px;background:linear-gradient(180deg,#edf6f0 0,#fff 34%);color:#20312a}.invitation-poster-brand{display:flex;align-items:center;gap:9px;width:100%;min-width:0}.invitation-poster-brand span{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#244d3d;color:#fff;font-size:13px;font-weight:800}.invitation-poster-brand strong{overflow:hidden;color:#20312a;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.invitation-poster-title{width:100%;color:#17231d;font-size:19px;font-weight:850;line-height:1.25}.invitation-poster-desc,.invitation-poster-reward{width:100%;color:#65746d;font-size:12px;line-height:1.45}.invitation-qr-frame{display:grid;place-items:center;width:min(220px,100%);aspect-ratio:1;padding:12px;border:1px solid #dfe7e3;border-radius:8px;background:#fff}.invitation-qr-frame img{display:block;width:100%;height:100%;object-fit:contain}.invitation-qr-placeholder{display:grid;gap:8px;justify-items:center;color:#66746e;font-size:12px;text-align:center}.invitation-poster-code{color:#65746d;font-size:12px}.invitation-poster-code strong{margin-left:6px;color:#20312a;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:20px}.invitation-link-panel{display:grid;align-content:start;gap:10px;min-width:0;padding:14px;border:1px solid #d8e1dc;border-radius:8px;background:#fbfcfb}.invitee-section{margin-top:4px}.invitee-table{min-width:760px}.settings-checkbox-row{display:inline-flex;align-items:center;align-self:end;gap:8px;min-height:38px;padding:0 10px;border:1px solid #d6dfda;border-radius:8px;background:#fff;color:#394640;font-size:12px;font-weight:700}.settings-checkbox-row input{width:auto;min-height:auto}.user-form-block{padding-bottom:16px}.user-management-pane{display:grid;align-content:start;gap:14px}.user-management-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.user-management-summary div{display:grid;gap:6px;min-width:0;padding:12px;border:1px solid #d8e1dc;border-radius:8px;background:#fff}.user-management-summary span{color:#68756f;font-size:12px}.user-management-summary strong{color:#20312a;font-size:22px;line-height:1.1}.user-management-summary .summary-ok{border-color:#b8d8c8;background:#f1faf5}.user-management-summary .summary-warn{border-color:#ead6a2;background:#fffaf0}.user-management-layout{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:14px;align-items:start;min-width:0}.user-directory-panel,.user-editor-panel{min-width:0;border:1px solid #d8e1dc;border-radius:8px;background:#fff}.user-directory-panel{position:sticky;top:0;overflow:hidden}.user-panel-header,.user-editor-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:13px 14px;border-bottom:1px solid #e4e9e6;background:#fbfcfb}.user-panel-header div,.user-editor-header div{display:grid;gap:2px;min-width:0}.user-panel-header strong,.user-editor-header strong{overflow:hidden;color:#20312a;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.user-directory-list{display:grid;gap:8px;max-height:calc(100vh - 230px);min-height:220px;overflow:auto;padding:10px}.user-directory-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;min-width:0;padding:10px;border:1px solid #dfe7e3;border-radius:8px;background:#fff;color:#26312c;cursor:pointer}.user-directory-item:hover,.user-directory-item.active{border-color:#9ec9b6;background:#f3faf6}.user-directory-select{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left}.user-directory-select:focus-visible{outline:2px solid #2b6f58;outline-offset:2px}.user-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#245f4d;color:#fff;font-weight:850}.user-directory-main{display:grid;gap:3px;min-width:0}.user-directory-main span{display:flex;align-items:center;gap:7px;min-width:0}.user-directory-main strong,.user-directory-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-directory-main strong{color:#20312a;font-size:13px}.user-directory-main em{flex:0 0 auto;padding:2px 6px;border-radius:999px;background:#eef4f1;color:#53625b;font-size:11px;font-style:normal;font-weight:750}.user-directory-main small{color:#71817a;font-size:12px}.user-directory-meta{display:grid;justify-items:end;gap:7px}.user-status-pill{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:800}.user-status-pill.active{background:#e6f6ee;color:#245f4d}.user-status-pill.disabled{background:#f0f1f0;color:#707a75}.user-status-pill.limited{background:#fff1d8;color:#8a5a17}.user-inline-action{min-width:70px;min-height:28px;padding:0 8px}.user-editor-panel{display:grid;align-content:start}.user-editor-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.user-editor-badges span{min-height:26px;padding:5px 8px;border:1px solid #d8e1dc;border-radius:999px;background:#fff;color:#52615a;font-size:12px;font-weight:800}.user-form-section{display:grid;gap:12px;padding:14px;border-bottom:1px solid #e4e9e6}.user-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.user-access-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px;border-bottom:1px solid #e4e9e6;background:#fbfcfb}.user-access-overview div{display:grid;gap:4px;min-width:0}.user-access-overview span{color:#68756f;font-size:12px}.user-access-overview strong{overflow:hidden;color:#20312a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.user-editor-actions{padding:0 14px 14px}.user-editor-actions .settings-save{margin-top:0}.settings-save{width:auto;min-width:150px;margin-top:14px;padding:0 16px}.settings-table-wrap{margin-top:18px;overflow:auto;border:1px solid #d9e0dc;border-radius:8px;background:#fff}.settings-table-wrap.compact{margin-top:12px}.settings-table{width:100%;min-width:620px;border-collapse:collapse;font-size:12px}.settings-table th,.settings-table td{padding:10px 11px;border-bottom:1px solid #e4e9e6;color:#26312c;text-align:left;vertical-align:middle}.settings-table th{background:#f2f6f4;font-weight:780}.settings-table td span{display:block;margin-top:2px;color:#708079}.settings-table-row{cursor:pointer}.settings-table-row:hover,.settings-table-row.active{background:#f6faf8}.user-management-table{min-width:1120px}.model-settings-pane{display:grid;align-content:start;gap:14px}.model-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.model-summary-strip div{display:grid;gap:5px;min-width:0;min-height:72px;padding:12px;border:1px solid #d8e1dc;border-radius:8px;background:#fff}.model-summary-strip span{color:#68756f;font-size:12px}.model-summary-strip strong{overflow:hidden;color:#20312a;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.model-summary-strip .model-test-bad{border-color:#efc6bf;background:#fff7f5}.model-config-layout{display:grid;grid-template-columns:minmax(280px,.36fr) minmax(0,1fr);gap:14px;align-items:start;min-height:min(72vh,760px)}.model-config-list{display:grid;align-content:start;gap:8px;min-width:0}.model-config-list-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px;color:#2b3b34;font-size:13px;font-weight:800}.model-config-row{display:grid;gap:5px;width:100%;min-height:74px;padding:10px;border:1px solid #d9e0dc;border-radius:8px;background:#fff;color:#26312c;text-align:left}.model-config-row:hover,.model-config-row.active{border-color:#b7d0c4;background:#f6faf8}.model-config-row-title{display:flex;align-items:center;gap:8px;min-width:0}.model-config-row-title strong,.model-config-row span,.model-config-row em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-config-row span{color:#2b3b34;font-size:12px}.model-config-row em{color:#708079;font-size:12px;font-style:normal}.model-status-dot{width:9px;height:9px;border-radius:999px;background:#b7c4bd;flex:0 0 auto}.model-status-dot.ok{background:#29845a}.model-status-dot.failed{background:#c84a3e}.model-status-dot.disabled{background:#a5aaa7}.model-config-detail{min-width:0}.model-connection-actions{display:flex;align-items:end;min-height:38px}.model-test-result{display:grid;gap:5px;min-width:0;padding:10px 12px;border:1px solid #d8e1dc;border-radius:8px;background:#fbfcfb}.model-test-result strong{color:#20312a;font-size:13px}.model-test-result span{overflow-wrap:anywhere;color:#64736c;font-size:12px;line-height:1.45}.user-management-table .user-actions-column{width:132px;min-width:132px}.user-table-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.user-table-actions .ghost-button.inline.compact{min-width:56px;min-height:32px;padding:0 10px}.user-table-actions .ghost-button.inline+.ghost-button.inline{margin-left:0}.settings-block{display:grid;gap:12px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid #dde5e1}.settings-block.nested{margin-top:18px}.db-skill-tabs{width:fit-content;margin-bottom:14px}.learning-table td:first-child{min-width:260px}.learning-skill-name{display:inline-flex;max-width:220px;overflow-wrap:anywhere;color:#42524b;font-size:12px;font-weight:800;line-height:1.4}.learning-review-cell{display:grid;gap:4px;min-width:150px}.learning-review-cell strong{color:#42524b;font-size:12px}.learning-review-cell p{margin:0;color:#7a5248;font-size:12px;line-height:1.4}.learning-context-cell{display:grid;gap:5px;min-width:0}.learning-context-cell strong{color:#213029;font-size:13px}.learning-context-cell p{max-width:520px;margin:0;overflow-wrap:anywhere;color:#68756f;line-height:1.45}.learning-category-pill,.learning-status{display:inline-flex;align-items:center;width:fit-content;min-height:24px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:850}.learning-category-pill{border:1px solid #cddbd5;background:#f6faf8;color:#31594d}.learning-status.pending{background:#fff7e8;color:#8a5a17}.learning-status.approved{background:#eaf7f1;color:#24634e}.learning-status.rejected,.learning-status.disabled{background:#fff0ed;color:#9d342f}.learning-audit-row{margin-top:9px;color:#68756f;font-size:12px}.learning-audit-row dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;margin:8px 0}.learning-audit-row dl div{min-width:0}.learning-audit-row dt{color:#7a8781;font-weight:800}.learning-audit-row dd{margin:2px 0 0;overflow-wrap:anywhere}.learning-audit-row pre{max-height:140px;margin:8px 0 0;overflow:auto;white-space:pre-wrap}.assistant-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.assistant-profile-grid textarea{min-height:92px}.settings-block.collapsible.compact{margin-bottom:0;padding-bottom:0;border-bottom:0}.settings-block-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:34px;padding:0;border:0;background:transparent;color:#2b3b34;text-align:left}.settings-block-body{display:grid;gap:12px}.settings-block-title{display:inline-flex;align-items:center;gap:8px;color:#2b3b34;font-weight:800}.favorites-pane{display:grid;align-content:start}.favorites-layout{display:grid;grid-template-columns:minmax(280px,.42fr) minmax(0,1fr);gap:14px;align-items:start;min-height:min(72vh,720px)}.favorite-list{display:grid;align-content:start;gap:8px;min-width:0}.favorite-row{display:grid;gap:5px;width:100%;min-height:58px;padding:10px;border:1px solid #d9e0dc;border-radius:8px;background:#fff;color:#26312c;text-align:left}.favorite-row:hover,.favorite-row.active{border-color:#8fb2a5;background:#f5fbf8}.favorite-row-title{overflow:hidden;color:#1f2b26;font-size:13px;font-weight:780;text-overflow:ellipsis;white-space:nowrap}.favorite-row-meta{overflow:hidden;color:#6d7a74;font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.favorite-detail{display:grid;gap:14px;min-width:0;padding:14px;border:1px solid #d9e0dc;border-radius:8px;background:#fff}.favorite-detail-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.favorite-source{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:6px;color:#68756f;font-size:12px;font-weight:650}.favorite-actions{justify-content:flex-end;margin-top:0}.favorite-section{display:grid;gap:8px;min-width:0}.favorite-section-title{color:#2c3a34;font-size:12px;font-weight:800}.favorite-question,.favorite-answer{min-width:0;padding:12px;border:1px solid #e1e7e4;border-radius:8px;background:#f8fbfa;color:#26312c;line-height:1.6;overflow-wrap:anywhere}.favorite-question{white-space:pre-wrap}.session-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.session-stat-grid div{min-height:70px;padding:12px;border:1px solid #d9e0dc;border-radius:8px;background:#fff}.session-stat-grid strong{display:block;color:#1f2b26;font-size:20px;line-height:1.2}.session-stat-grid span{display:block;margin-top:6px;color:#68756f;font-size:12px;font-weight:700}.audit-log-pane{display:grid;align-content:start;gap:16px}.audit-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.audit-stat-grid div{min-height:74px;padding:12px 13px;border:1px solid #d9e0dc;border-radius:8px;background:linear-gradient(180deg,#fff,#f8fbfa)}.audit-stat-grid strong{display:block;overflow:hidden;color:#1f2b26;font-size:19px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.audit-stat-grid span{display:block;margin-top:6px;color:#68756f;font-size:12px;font-weight:700}.audit-filter-panel{position:sticky;top:0;z-index:4;display:grid;grid-template-columns:repeat(6,minmax(120px,1fr)) auto;gap:10px;align-items:end;padding:12px;border:1px solid #d9e0dc;border-radius:8px;background:#fff}.audit-filter-actions{display:flex;align-items:center;gap:8px;min-height:38px}.audit-maintenance-panel{display:grid;grid-template-columns:minmax(180px,260px) auto;gap:10px;align-items:end;justify-content:start;padding:12px;border:1px solid #ead5d1;border-radius:8px;background:snow}.audit-timeline{position:relative;display:grid;gap:10px;min-width:0}.audit-timeline:before{position:absolute;top:46px;bottom:4px;left:5px;width:1px;background:#d8e3df;content:""}.audit-timeline-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-width:0;padding:12px;border:1px solid #d9e0dc;border-radius:8px;background:#fff}.audit-timeline-head strong,.audit-timeline-head span{display:block}.audit-timeline-head strong{color:#20302a;font-size:14px}.audit-timeline-head span,.audit-timeline-head time{color:#68756f;font-size:12px}.audit-entry{position:relative;display:grid;grid-template-columns:12px minmax(0,1fr);gap:10px;min-width:0}.audit-entry-marker{position:relative;z-index:1;width:10px;height:10px;margin-top:17px;border:2px solid #ffffff;border-radius:999px;background:#2c7b62;box-shadow:0 0 0 1px #9dc7b8}.audit-entry.is-failure .audit-entry-marker{background:#c84a3e;box-shadow:0 0 0 1px #e1aaa3}.audit-entry-body{display:grid;gap:8px;min-width:0;padding:12px 13px;border:1px solid #d9e0dc;border-radius:8px;background:#fff}.audit-entry.is-failure .audit-entry-body{border-color:#ecc8c2;background:snow}.audit-entry-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.audit-entry-head strong,.audit-entry-head span{display:block;min-width:0}.audit-entry-head strong{overflow-wrap:anywhere;color:#20302a;font-size:13px;line-height:1.45}.audit-entry-head span,.audit-entry-head time,.audit-entry-meta{color:#68756f;font-size:12px}.audit-entry-time{display:grid;gap:2px;justify-items:end}.audit-entry-time time{white-space:nowrap}.audit-entry-meta{display:flex;flex-wrap:wrap;gap:6px}.audit-chip{max-width:240px;overflow:hidden;padding:4px 7px;border:1px solid #dce5e1;border-radius:999px;background:#f7faf8;text-overflow:ellipsis;white-space:nowrap}.audit-chip.success{border-color:#b9d7c9;background:#eef8f2;color:#27664f}.audit-chip.failure{border-color:#e7b9b0;background:#fff1ef;color:#a63d33}.audit-chip.session{border-color:#c9d8e7;background:#f2f7fb;color:#355f86}.audit-chip.target,.audit-chip.muted{color:#586760}.audit-entry-details{color:#68756f;font-size:12px}.audit-entry-details pre{max-height:180px;margin:8px 0 0;overflow:auto;white-space:pre-wrap}.audit-load-more{justify-content:center}.session-admin-layout{display:grid;grid-template-columns:minmax(480px,.95fr) minmax(360px,1.05fr);gap:14px;align-items:start}.session-user-list{margin-top:0}.session-detail-panel{display:grid;gap:12px;min-width:0}.session-thread-list{display:grid;gap:7px}.session-thread-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:38px;padding:0 10px;border:1px solid #d6dfda;border-radius:8px;background:#fff;color:#2d3934;text-align:left}.session-thread-row.active,.session-thread-row:hover{border-color:#99b4aa;background:#f6faf8}.session-thread-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-thread-row em{color:#718079;font-size:12px;font-style:normal;white-space:nowrap}.session-read-panel{min-height:180px}.session-message-list{display:grid;gap:10px;max-height:min(58vh,640px);overflow:auto}.session-message{padding:12px;border:1px solid #d9e0dc;border-radius:8px;background:#fff}.session-message-title{margin-bottom:8px;color:#20302a;font-size:12px;font-weight:800}.db-skill-status{display:flex;flex-wrap:wrap;gap:8px}.db-skill-status span{padding:5px 8px;border:1px solid #d5ded9;border-radius:999px;background:#fff;color:#50605a;font-size:12px;font-weight:700}.settings-actions-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.settings-actions-row.table-actions{flex-wrap:nowrap}.settings-table td .ghost-button.inline+.ghost-button.inline{margin-left:6px}.settings-actions-row .settings-save{margin-top:0}.inline-action{width:auto;min-width:112px;min-height:34px;padding:0 12px}.selected-table-panel{display:grid;gap:8px;padding:10px;border:1px solid #d7e0db;border-radius:8px;background:#f8fbfa}.selected-table-heading{color:#4f5d57;font-size:12px;font-weight:800}.domain-selector-panel{display:grid;gap:8px;padding:10px;border:1px solid #d7e0db;border-radius:8px;background:#f8fbfa}.domain-segmented-control{width:fit-content}.domain-diagnostic{color:#66736e;font-size:12px;font-weight:650;line-height:1.45}.enhancement-panel{display:grid;gap:7px;padding:10px;border:1px solid #d7e0db;border-radius:8px;background:#f8fbfa;color:#4c5a54;font-size:12px;font-weight:650;line-height:1.45}.enhancement-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.enhancement-line span{overflow-wrap:anywhere}.enhancement-status{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border:1px solid #d3ded8;border-radius:999px;background:#fff;color:#4a5b54;font-weight:800}.enhancement-status.running{border-color:#abcdbc;background:#eaf7f0;color:#23624d}.enhancement-status.succeeded{border-color:#a8d0bc;background:#ecf8f1;color:#1f684f}.enhancement-status.failed,.enhancement-status.timed_out,.enhancement-status.cancelled{border-color:#efcfca;background:#fff2ef;color:#9a3f34}.enhancement-warning{color:#8f463a}.enhancement-note{color:#5a6862}.selected-table-list{display:flex;flex-wrap:wrap;gap:6px}.selected-table-pill{display:inline-flex;align-items:center;max-width:100%;gap:6px;padding:5px 8px;border:1px solid #d3ded8;border-radius:8px;background:#fff;color:#34413b;font-size:12px;font-weight:750}.selected-table-pill span{min-width:0;overflow-wrap:anywhere}.selected-table-pill em{color:#718079;font-style:normal;white-space:nowrap}.table-search-field{margin-bottom:10px}.table-search-field input{margin-top:6px}.table-select-list{display:grid;gap:6px}.table-select-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;justify-content:flex-start;width:100%;min-height:38px;padding:7px 10px}.table-select-row span{min-width:0;overflow-wrap:anywhere;line-height:1.35;white-space:normal}.table-select-row em{margin-left:auto;color:#74817b;font-style:normal;white-space:nowrap}.table-empty-panel{padding:12px;border:1px dashed #d2ddd7;border-radius:8px;background:#fff;color:#6a746f;font-size:12px;font-weight:700}.file-tabs{display:flex;flex-wrap:wrap;gap:6px}.draft-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.draft-file-tab{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border:1px solid #d3dcd7;border-radius:8px;background:#fff;color:#37433e;font-size:12px;font-weight:760;white-space:nowrap}.draft-file-tab.active{border-color:#2c735b;background:#edf7f2;color:#245f4d}.segmented-control{display:inline-flex;flex:0 0 auto;width:max-content;max-width:100%;padding:3px;border:1px solid #d3dcd7;border-radius:8px;background:#eef3f0}.segmented-control button{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:#43514b;font-size:12px;font-weight:750}.segmented-control button.active{background:#fff;color:#245f4d;box-shadow:0 1px 2px #17221d14}.settings-pane textarea.skill-editor{min-height:min(58vh,680px);font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.55}.skill-preview{min-height:min(58vh,680px);max-height:min(68vh,760px);padding:14px;overflow:auto;border:1px solid #d1d9d5;border-radius:8px;background:#fff}.draft-block{min-height:min(72vh,820px)}.pagination-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#66746e;font-size:12px;font-weight:700}.quick-command-list{display:grid;gap:10px}.quick-command-editor{display:grid;grid-template-columns:minmax(160px,.35fr) minmax(0,1fr) 34px;align-items:end;gap:10px}.quick-command-editor .field-label{margin-bottom:0}.quick-command-editor textarea{min-height:64px}.plan-row{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:7px;min-height:26px;color:#2e3a35;font-size:13px}.plan-row span{overflow-wrap:anywhere}.approval-card{padding:10px;border:1px solid #d1d9d5;border-radius:8px;background:#fff}.approval-title{margin-bottom:8px;font-size:13px;font-weight:750}.approval-card pre{max-height:160px;overflow:auto;color:#43504a;font-size:12px;line-height:1.45}.approval-actions{display:flex;gap:7px;margin-top:10px}.log-row{overflow-wrap:anywhere}.preview-backdrop{position:fixed;inset:0;z-index:30;display:flex;justify-content:flex-end;background:#141c1847}.attachment-preview-panel{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(820px,92vw);height:100vh;background:#f8faf9;border-left:1px solid #d5ddd8;box-shadow:-10px 0 30px #19221e29}.preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid #dfe6e2;background:#fff}.preview-header-actions{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.preview-title{color:#18211d;font-size:15px;font-weight:760;overflow-wrap:anywhere}.preview-subtitle,.sheet-meta{margin-top:4px;color:#69766f;font-size:12px}.preview-content{display:grid;align-content:start;gap:14px;min-height:0;padding:16px 18px 20px;overflow:auto}.preview-section{min-width:0}.preview-section-title{margin-bottom:8px;color:#2c3833;font-size:12px;font-weight:780}.visual-preview{width:100%;min-height:420px;border:1px solid #d9e0dc;border-radius:8px;background:#fff}.pdf-preview,.text-preview-frame{display:block;width:100%}.pdf-preview{height:min(70vh,720px)}.video-preview{display:block;width:100%;max-height:70vh;background:#111815}.text-preview-frame{height:280px;border:1px solid #d9e0dc;border-radius:8px;background:#fff}.image-preview{display:grid;place-items:center;padding:14px;overflow:auto}.image-preview img{max-width:100%;max-height:70vh;object-fit:contain}.preview-empty{display:grid;justify-items:start;gap:10px;padding:18px;border:1px solid #d9e0dc;border-radius:8px;background:#fff;color:#596660;font-size:13px;line-height:1.5}.preview-note{margin-top:7px;color:#66736d;font-size:12px;line-height:1.45}.sheet-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:8px}.sheet-tab{min-height:30px;max-width:180px;padding:0 10px;border:1px solid #d3dcd7;border-radius:8px;background:#fff;color:#37433e;font-size:12px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sheet-tab.active{border-color:#2c735b;color:#245f4d;background:#edf7f2}.sheet-preview-table-wrap{max-height:360px;margin-top:10px;overflow:auto;border:1px solid #d9e0dc;border-radius:8px;background:#fff}.sheet-preview-table{width:100%;min-width:560px;border-collapse:collapse;font-size:12px}.sheet-preview-table th,.sheet-preview-table td{max-width:260px;padding:8px 9px;border-bottom:1px solid #e3e8e5;border-right:1px solid #e3e8e5;color:#26312c;text-align:left;vertical-align:top;overflow-wrap:anywhere}.sheet-preview-table th{position:sticky;top:0;z-index:1;background:#eef4f1;font-weight:760}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes active-response-shimmer{0%{background-position:160% 0}to{background-position:-60% 0}}@media(prefers-reduced-motion:reduce){.active-response-line{background:none;color:var(--active-response-line-color);animation:none}}@media(max-width:1100px){.app-shell{grid-template-columns:230px minmax(0,1fr)}.context-panel{display:none}.session-admin-layout{grid-template-columns:1fr}.audit-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-maintenance-panel{grid-template-columns:minmax(180px,260px) auto}.audit-filter-actions{grid-column:1 / -1}.favorites-layout,.model-config-layout,.favorite-detail-header{grid-template-columns:1fr}}@media(max-width:760px){.app-shell{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.thread-rail{display:block;max-height:180px;overflow-y:auto;border-width:0 0 1px;padding:12px 14px}.rail-footer{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px;padding-top:0}.thread-rail .rail-section{display:block;min-height:auto}.thread-rail .thread-list{overflow:visible;padding-right:0}.settings-workspace{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.settings-nav{display:flex;gap:8px;overflow-x:auto;border-right:0;border-bottom:1px solid #e1e5e3;padding:10px 14px}.settings-nav-item{flex:0 0 auto}.settings-header{align-items:flex-start;flex-direction:column;gap:8px;padding:10px 14px}.settings-header-title{width:100%}.settings-header-actions{width:100%;justify-content:flex-end}.settings-message{margin-right:auto}.settings-pane{padding:14px}.settings-form-grid{grid-template-columns:1fr}.user-management-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.user-management-layout{grid-template-columns:1fr}.user-directory-panel{position:static}.user-directory-list{max-height:none;min-height:0}.user-form-grid,.user-access-overview,.user-directory-item{grid-template-columns:1fr}.user-directory-select{grid-template-columns:34px minmax(0,1fr)}.user-avatar{width:34px;height:34px}.user-directory-meta{grid-template-columns:auto auto;justify-content:space-between;justify-items:start}.assistant-profile-grid,.session-stat-grid,.audit-stat-grid,.audit-filter-panel,.audit-maintenance-panel,.audit-entry-head{grid-template-columns:1fr}.audit-entry-head time{white-space:normal}.invitation-stats{grid-template-columns:1fr}.quota-summary-grid,.model-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.invitation-share-layout{grid-template-columns:1fr}.invitation-error-panel{grid-template-columns:auto minmax(0,1fr)}.invitation-error-panel .ghost-button{grid-column:1 / -1;justify-self:start}.quick-command-editor{grid-template-columns:1fr 34px}.quick-command-editor .field-label:first-child{grid-column:1 / -1}.pagination-row,.draft-toolbar{align-items:flex-start;flex-direction:column}.brand-row,.primary-command{margin-bottom:10px}.rail-section{margin-top:10px}.top-bar{align-items:center;flex-direction:row;gap:10px;min-height:54px;padding:10px 14px}.workspace-title{font-size:15px}.top-actions{gap:6px}.status-pill{min-height:30px;padding:0 8px}.timeline{padding:12px 14px 14px}.scroll-bottom-button{right:16px;bottom:14px}.timeline-card,.timeline-card.user{grid-template-columns:30px minmax(0,1fr);max-width:100%}.timeline-card.user{grid-template-columns:30px minmax(0,auto);width:fit-content}.composer{padding:9px 14px 10px}.composer textarea{min-height:72px;max-height:180px}.attachment-list{max-height:78px}.attachment-preview-panel{width:100vw}.visual-preview{min-height:300px}.pdf-preview{height:62vh}}
