:root{font-family:DM Sans,Noto Sans SC,-apple-system,BlinkMacSystemFont,sans-serif;color:#000;background:#fff;color-scheme:light;font-synthesis:none;font-size:14px}*{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;color:inherit;border:0;background:none;display:inline-flex;align-items:center;justify-content:center;gap:7px}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid #000;outline-offset:3px}input,textarea,select{border:1px solid #d9d9d9;background:#fff;border-radius:8px;color:inherit;outline:none}input:focus,textarea:focus{border-color:#000;box-shadow:0 0 0 3px #0000000a}input{padding:10px 12px}textarea{resize:vertical;padding:12px;line-height:1.6}small{font-size:11px}h1,h2,h3,p{margin-top:0}.app{display:flex;height:100dvh;overflow:hidden}.sidebar{width:248px;flex-shrink:0;background:#fff;border-right:1px solid #d9d9d9;display:flex;flex-direction:column;padding:27px 16px 14px}.brand{display:flex;align-items:center;gap:10px;padding:0 7px 30px}.brand-icon{border:1px solid #d9d9d9;display:grid;place-items:center;width:34px;height:38px;color:#000;background:#fff;border-radius:11px}.brand h1{font-size:15px;letter-spacing:-.5px;margin:0 0 4px;font-weight:700}.brand small{color:#000;font-size:10px}.new-session{background:#fff;border:1px solid #d9d9d9;box-shadow:0 2px 3px #00000004;border-radius:9px;padding:12px;justify-content:flex-start;font-weight:600}.new-session span{margin-left:auto;color:#000;font-size:11px}.new-session:hover{border-color:#d9d9d9}.section-label{margin:30px 9px 14px;text-transform:uppercase;font-size:10px;letter-spacing:1.3px;font-weight:600;color:#000;display:flex;justify-content:space-between}.session-list{overflow-y:auto;flex:1}.session-item{padding:11px 12px;width:100%;justify-content:flex-start;border-radius:8px;margin-bottom:3px;color:#000;font-size:12px}.session-item span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.session-item svg{flex-shrink:0}.session-item.selected{box-shadow:inset 3px 0 #000;font-weight:600;background:#fff;color:#000}.session-item:hover{text-decoration:underline;text-underline-offset:3px;background:#fff}.pulse-dot{width:6px;height:6px;border-radius:50%;background:#000;margin-left:auto;flex-shrink:0}.local-note{border:1px solid #d9d9d9;border-radius:9px;padding:13px 10px;display:flex;gap:9px;margin:12px 0 18px;color:#000}.local-note strong{font-size:11px}.local-note p{font-size:10px;line-height:1.7;margin:4px 0 0;color:#000}.sidebar footer{border-top:1px solid #d9d9d9;display:flex;padding-top:12px;gap:7px}.sidebar footer button{font-size:11px;padding:8px;color:#000}.sidebar footer button:last-child{margin-left:auto}.chat-workspace{min-width:0;flex:1;display:flex;flex-direction:column;background:#fff}.chat-header{height:76px;flex-shrink:0;border-bottom:1px solid #d9d9d9;display:flex;align-items:center;justify-content:space-between;padding:0 31px;gap:15px}.chat-header>div{display:flex;gap:15px;align-items:center;min-width:0}.breadcrumb{font-size:11px;color:#000;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:350px}.breadcrumb>span{color:#000;margin:0 9px}.run-state{font-size:10px;color:#000;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.run-state i{width:5px;height:5px;border-radius:50%;background:#000}.run-state.working{color:#000}.run-state.working i{background:#000;animation:pulse 1.5s infinite}.chat-header select{max-width:200px;font-size:11px;padding:7px 26px 7px 9px;background:#fff;border-color:#d9d9d9}.conversation{flex:1;overflow-y:auto;padding:25px 35px;scroll-behavior:smooth}.welcome{max-width:740px;margin:55px auto 30px;text-align:center}.welcome-icon{display:grid;place-items:center;width:65px;height:65px;margin:0 auto 25px;color:#000;background:#fff;border:1px solid #d9d9d9;border-radius:21px;transform:rotate(-5deg)}.welcome-icon svg{transform:rotate(5deg)}.eyebrow{display:block;font-size:9px;letter-spacing:2px;color:#000;font-weight:600;margin-bottom:14px}.welcome h2{font-size:clamp(23px,2.1vw,33px);letter-spacing:-1px;font-weight:500;line-height:1.6;margin-bottom:15px;color:#000}.welcome>p{font-size:12px;color:#000;line-height:2.1}.starter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:34px 0 26px}.starter-grid button{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:13px;padding:19px 17px 24px;border:1px solid #d9d9d9;border-radius:12px;background:#fff;transition:transform .2s,border-color .2s}.starter-grid button:hover{transform:translateY(-3px);border-color:#000}.starter-grid svg{color:#000}.starter-grid strong{font-size:12px;font-weight:600}.starter-grid button>span:not(.starter-arrow){font-size:10px;color:#000;line-height:1.8}.starter-arrow{position:absolute;right:13px;bottom:10px;color:#000;font-size:15px}.message{max-width:840px;margin:20px auto;display:flex;gap:12px;align-items:flex-start}.message.user{justify-content:flex-end;margin:22px auto 32px}.message.user .message-body{background:#fff;max-width:85%;padding:11px 17px;border-radius:13px 13px 3px;color:#000;font-size:13px}.message.user p:last-child{margin-bottom:0}.assistant-avatar{display:grid;place-items:center;width:28px;height:28px;background:#fff;border:1px solid #d9d9d9;border-radius:9px;flex-shrink:0;color:#000}.message-body{min-width:0;flex:1}.markdown{font-size:13px;line-height:1.95;color:#000;overflow-wrap:anywhere}.markdown h1,.markdown h2,.markdown h3{line-height:1.6;margin:22px 0 10px}.markdown h1{font-size:23px}.markdown h2{font-size:19px}.markdown h3{font-size:15px}.markdown p{margin-bottom:13px}.markdown pre{background:#fff;border:1px solid #d9d9d9;border-radius:8px;padding:15px;overflow:auto;font-size:11px;line-height:1.8}.markdown code{font-family:ui-monospace,monospace;font-size:.9em}.markdown :not(pre)>code{background:#fff;padding:2px 5px;border-radius:4px}.markdown blockquote{border-left:3px solid #d9d9d9;margin-left:0;padding-left:16px;color:#000}.markdown table{border-collapse:collapse;display:block;overflow:auto;max-width:100%;font-size:12px;margin:18px 0}.markdown td,.markdown th{border:1px solid #d9d9d9;padding:9px 12px;text-align:left}.markdown th{background:#fff}.tool-card{border:1px solid #d9d9d9;border-radius:8px;margin-bottom:8px;background:#fff;font-size:11px}.tool-card summary{display:flex;align-items:center;gap:7px;padding:9px 12px;cursor:pointer;list-style:none;color:#000}.tool-card summary span{color:#000}.tool-card summary small{margin-left:auto;font-size:9px}.source-reads>.source-read-items{padding:0 12px 4px}.tool-card pre{font-size:10px;line-height:1.7;overflow:auto;max-height:220px;margin:0;padding:12px;border-top:1px solid #d9d9d9;white-space:pre-wrap}.file-draft{border:1px solid #d9d9d9;border-radius:8px;margin:8px 0;overflow:hidden;background:#fff}.file-draft header{display:flex;justify-content:space-between;gap:12px;padding:8px 12px;background:#fff;font-size:11px}.file-draft header small{color:#000}.file-draft iframe{width:100%;height:280px;border:0}.file-draft pre{margin:0;padding:12px;max-height:280px;overflow:auto;white-space:pre-wrap}.file-draft .markdown{padding:12px;max-height:280px;overflow:auto}.reasoning{color:#000;font-size:11px;margin-bottom:12px}.reasoning p{white-space:pre-wrap;font-size:11px;line-height:1.8;max-height:300px;overflow:auto}.thinking{display:flex;gap:9px;align-items:center;color:#000;font-size:12px;max-width:800px;margin:20px auto}.spin{animation:spin 1s linear infinite}.composer-area{padding:15px 32px 18px;background:#fff}.composer{border:1px solid #d9d9d9;border-radius:14px;padding:8px 13px 10px;max-width:840px;margin:auto;background:#fff;box-shadow:0 5px 20px #00000005}.composer:focus-within{border-color:#000;box-shadow:0 0 0 3px #0000000a}.composer textarea{width:100%;resize:none;min-height:62px;max-height:200px;box-shadow:none;border:0;padding:9px 4px;font-size:13px;background:none}.composer textarea::placeholder{color:#000}.composer-bottom{display:flex;align-items:center;justify-content:space-between}.composer-bottom>div{display:flex;align-items:center;gap:10px}.composer-bottom>div>span{font-size:10px;color:#000}.composer-bottom button:not(.send){padding:5px;color:#000}.send{border:1px solid #000;width:32px;height:32px;border-radius:10px;background:#fff;color:#000}.send:disabled{background:#fff;opacity:.35}.composer-hint{max-width:830px;margin:10px auto 0;color:#000;font-size:9px;display:flex;justify-content:space-between}.attachment-list{display:flex;gap:7px;flex-wrap:wrap;padding:5px 0}.attachment-list>span{display:flex;align-items:center;gap:4px;background:#fff;border:1px solid #d9d9d9;border-radius:6px;font-size:10px;padding:4px 7px}.config-notice{font-size:11px;max-width:830px;margin:0 auto 10px;color:#000}.evidence-panel{width:300px;flex-shrink:0;border-left:1px solid #d9d9d9;background:#fff;display:flex;flex-direction:column}.panel-tabs{height:76px;display:flex;align-items:center;gap:20px;padding:0 22px;border-bottom:1px solid #d9d9d9}.panel-tabs button{height:100%;font-size:12px;color:#000;position:relative}.panel-tabs button.active{font-weight:600;color:#000}.panel-tabs button.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:#000}.panel-tabs button span{font-size:9px;background:#fff;border-radius:4px;padding:2px 5px}.panel-content{padding:20px 17px;overflow-y:auto;flex:1}.panel-empty{text-align:center;color:#000;margin-top:90px;padding:0 15px}.panel-empty>svg{width:28px;height:28px;margin-bottom:18px;stroke-width:1.2;color:#000}.panel-empty h3{font-size:12px;font-weight:500;color:#000}.panel-empty p{font-size:10px;line-height:1.9}.source-card{border:1px solid #d9d9d9;background:#fff;border-radius:10px;padding:14px;margin-bottom:11px}.source-kind{font-size:8px;letter-spacing:1px;color:#000;margin-bottom:8px}.source-card h3{font-size:11px;line-height:1.8;margin-bottom:7px;color:#000}.source-card h3 a{text-decoration:none}.source-card h3 svg{display:inline;margin-left:5px;vertical-align:middle}.source-card p{font-size:10px;color:#000;line-height:1.8;margin-bottom:8px}.source-card code{font-size:8px;color:#000;-webkit-user-select:all;user-select:all}.asset-card{display:flex;gap:9px;padding:13px 9px;border-bottom:1px solid #d9d9d9;align-items:center;color:#000}.asset-card>div{flex:1;min-width:0}.asset-card strong{font-size:10px;display:block;overflow-wrap:anywhere}.asset-card small{display:block;font-size:9px;margin-top:5px;color:#000}.asset-card button,.asset-card a{padding:3px}.modal-backdrop{position:fixed;inset:0;background:#ffffffe6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:20;padding:25px}.dialog{background:#fff;border:1px solid #d9d9d9;border-radius:18px;box-shadow:0 25px 100px #0002;width:540px;max-height:88dvh;overflow:auto;padding:27px}.dialog>header,.preview-dialog>header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.dialog header h2{display:flex;align-items:center;gap:9px;font-size:22px;margin-bottom:0;font-weight:500}.dialog .eyebrow{margin-bottom:9px}.dialog p{line-height:1.8;font-size:12px}.settings-section{margin:25px 0}.settings-section h3{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#000}.setting-row{display:flex;justify-content:space-between;border-bottom:1px solid #d9d9d9;padding:11px 0;font-size:11px}.setting-row>span:last-child{display:flex;align-items:center;gap:5px}.ready{color:#000}.tag{font-size:9px;color:#000;background:#fff;padding:3px 6px;border-radius:5px}.skill-row{margin:13px 0}.skill-row strong{font-size:11px}.skill-row p{color:#000;font-size:10px;margin:4px 0}.muted{color:#000}.tiny{font-size:10px;line-height:1.8}.primary{border:1px solid #000;background:#fff;color:#000;border-radius:8px;padding:10px 17px;font-size:12px}.dialog>textarea{width:100%;margin-bottom:12px}.auth-dialog{width:420px}.auth-dialog label{font-size:11px;display:flex;flex-direction:column;gap:7px;margin-bottom:15px}.auth-dialog form .primary{width:100%;margin-top:5px}.text-button{font-size:11px;color:#000;margin-top:17px;width:100%}.error{color:#000!important}.notice,.resume-bar{max-width:800px;margin:15px auto;font-size:11px;background:#fff;border:1px solid #d9d9d9;border-radius:8px;padding:12px 15px;color:#000}.resume-bar{display:flex;align-items:center;justify-content:space-between}.resume-bar button,.notice button{font-size:10px;text-decoration:underline}.feedback-bar{max-width:800px;margin:15px auto;display:flex;gap:10px;color:#000}.feedback-bar button{font-size:10px}.feedback-bar button:last-child{margin-left:6px}.question-card{max-width:800px;margin:20px auto;border:1px solid #d9d9d9;border-radius:12px;padding:20px;background:#fff}.question-card h3{font-size:13px;font-weight:500}.question-options{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.question-options button{border:1px solid #d9d9d9;background:#fff;border-radius:7px;padding:7px 12px;font-size:11px}.question-options button.selected{box-shadow:inset 0 0 0 1px #000;font-weight:600;border-color:#000;background:#fff}.question-card input{width:100%;margin-bottom:16px}.candidate{border:1px solid #d9d9d9;border-radius:10px;padding:14px;margin-top:14px}.candidate>div{display:flex;justify-content:space-between;gap:10px;font-size:12px}.candidate p{margin:10px 0}.candidate footer{display:flex;gap:14px;margin-top:10px}.candidate button{font-size:10px;color:#000}.plan{max-width:800px;margin:12px auto;color:#000;font-size:11px}.plan p{margin:8px}.preview-dialog{width:min(1100px,90vw);height:85dvh;border-radius:13px;background:#fff;display:flex;flex-direction:column;overflow:hidden}.preview-dialog header{padding:16px 20px;margin:0;border-bottom:1px solid #d9d9d9;align-items:center}.preview-dialog iframe{flex:1;border:0;background:#fff}.preview-dialog img{max-width:100%;min-height:0;flex:1;object-fit:contain}.loading{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;color:#000}.global-error{border:1px solid #000;position:fixed;top:15px;left:50%;transform:translate(-50%);background:#fff;color:#000;padding:12px 18px;border-radius:9px;z-index:40;display:flex;gap:15px;font-size:12px;max-width:80vw}.global-error button{margin-left:10px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.3}}@media(min-width:1650px){.evidence-panel{width:340px}.conversation{padding-left:55px;padding-right:55px}.welcome{margin-top:90px}}@media(max-width:1150px){.evidence-panel{width:250px}.sidebar{width:215px}.brand h1{font-size:13px}.conversation{padding:20px}.chat-header{padding:0 20px}.starter-grid{grid-template-columns:1fr}.starter-grid button{padding:14px;gap:7px}.starter-grid button>span:not(.starter-arrow){display:none}.starter-grid svg{display:none}.welcome{margin-top:25px}.composer-area{padding:12px 20px}.breadcrumb{max-width:180px}}@media(max-width:850px){.evidence-panel{display:none}.sidebar{width:190px}.brand{gap:7px;padding-left:0}.brand h1{font-size:12px}.brand small{font-size:9px}.chat-header>div{gap:8px}.run-state{display:none}}@media(max-width:600px){.sidebar{width:58px;padding:20px 7px}.brand{padding-bottom:23px;justify-content:center}.brand>div,.section-label,.session-list,.local-note,.new-session span,.sidebar footer button:last-child{display:none}.brand-icon{width:33px;height:36px}.new-session{font-size:0;gap:0;padding:10px}.new-session svg{width:18px}.sidebar footer{margin-top:auto}.sidebar footer button{font-size:0;gap:0;padding:10px}.chat-header{height:60px;padding:0 15px}.chat-header select{max-width:150px}.breadcrumb{max-width:120px;font-size:10px}.conversation{padding:15px}.welcome h2{font-size:22px}.welcome>p{font-size:11px}.welcome .eyebrow{font-size:8px}.welcome-icon{width:52px;height:52px}.composer-area{padding:10px 12px}.composer-hint span{display:none}.composer-bottom>div>span{font-size:8px}.composer textarea{font-size:12px}.message{gap:8px}.message.user .message-body{max-width:96%}.assistant-avatar{display:none}.modal-backdrop{padding:12px}.dialog{padding:21px}.chat-header select{font-size:9px}.starter-grid{margin-top:20px}.starter-grid button{font-size:11px}.markdown{font-size:12px}}.mobile-toolbar{display:none}@media(max-width:850px){.app{padding-top:44px}.mobile-toolbar{display:flex;position:fixed;top:0;left:0;right:0;height:44px;justify-content:space-between;padding:0 14px;z-index:45;background:#fff;border-bottom:1px solid #d9d9d9}.mobile-toolbar button[aria-pressed=true]{color:#000;font-weight:700}.sidebar{display:none}.app.show-sidebar .sidebar{display:flex;position:fixed;top:44px;bottom:0;left:0;width:260px;padding:24px 16px;z-index:40;box-shadow:8px 0 30px #00000020}.app.show-sidebar .brand>div,.app.show-sidebar .section-label,.app.show-sidebar .local-note{display:block}.app.show-sidebar .session-list{display:flex}.app.show-sidebar .sidebar footer button:last-child{display:inline-flex}.app.show-sidebar .new-session{font-size:14px}.app.show-evidence .evidence-panel{display:flex;position:fixed;top:44px;bottom:0;right:0;width:min(340px,100%);z-index:40;background:#fff;box-shadow:-8px 0 30px #00000020}}.session-row{display:flex;align-items:center;gap:2px}.session-row .session-item{flex:1;min-width:0}.delete-session{flex-shrink:0;padding:8px;color:#000;border-radius:6px}.delete-session:hover{color:#000;background:#fff;box-shadow:inset 0 0 0 1px #000}.delete-session:disabled{opacity:.4;cursor:wait}.composer-area{position:relative}.skill-picker{position:absolute;bottom:calc(100% - 6px);left:max(12px,calc((100% - 840px)/2));width:min(340px,calc(100% - 24px));max-height:min(224px,35dvh);overflow-y:auto;z-index:20;padding:4px;border:1px solid #e5e5e5;border-radius:10px;background:#fff;box-shadow:0 8px 24px #00000014}.skill-picker [cmdk-item]{display:flex;flex-direction:column;gap:2px;padding:7px 9px;border-radius:6px;cursor:pointer}.skill-picker [cmdk-item][data-selected=true]{background:#f3f3f3}.skill-picker strong{font-size:12px;font-weight:600}.skill-picker span{display:block;font-size:11px;color:#777;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.skill-picker p{font-size:12px;color:#777;padding:8px;margin:0}
