:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#252b35;background:#fff;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;border-radius:7px;background:transparent;color:inherit;padding:8px 11px}button:hover{background:#e9edf2}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:#167baa;color:#fff}.primary:hover{background:#12698f}input,textarea,select{border:1px solid #dfe3e8;border-radius:7px;padding:10px;background:#fff;color:inherit}input:focus,textarea:focus{outline:2px solid #7dd3fc;outline-offset:1px}.app{display:flex;height:100dvh}.brand{display:flex;align-items:center;gap:10px;font-weight:650;font-size:26px;color:#1683b5}.brand span{font-size:17px;color:#202a34}aside{width:260px;flex-shrink:0;background:#f6f7f9;border-right:1px solid #e5e7eb;padding:22px 14px 12px;display:flex;flex-direction:column;gap:12px}.section-title{display:flex;align-items:center;justify-content:space-between;padding:4px 8px;color:#737d89;font-size:12px;font-weight:600}.section-title button{font-size:20px;padding:1px 8px}.projects{max-height:28%;overflow:auto}.projects button,.sessions button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;margin:3px 0;min-width:0}.projects button span,.sessions button span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected{background:#e5edf4!important;color:#12688d}.sessions{flex:1;overflow:auto}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#aeb5bf;flex-shrink:0}.running{background:#16a085;box-shadow:0 0 0 3px #16a08515}footer{display:flex;align-items:center;gap:9px;font-size:12px;color:#64707d;border-top:1px solid #e3e7eb;padding-top:12px}footer button{margin-left:auto}main{display:flex;flex:1;min-width:0;flex-direction:column}header{display:flex;gap:12px;align-items:center;border-bottom:1px solid #eceef1;padding:16px 28px;min-height:73px}header div{flex:1;min-width:0}header strong,header small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}small{font-size:11px;color:#85909c}header small{margin-top:5px}.conversation{flex:1;overflow:auto;overscroll-behavior:contain}.transcript{max-width:900px;margin:auto;padding:30px 32px}.message{display:flex;gap:18px;margin:0 0 30px}.role{width:70px;flex-shrink:0;font-size:12px;font-weight:650;padding-top:5px;overflow-wrap:anywhere;color:#0f766e}.user .role{color:#2563eb}.toolResult .role{color:#0284c7}.body{flex:1;min-width:0;line-height:1.75;overflow-wrap:anywhere}.body>:first-child{margin-top:0}.body p{margin:0 0 12px}.body pre{background:#f5f7fa;border:1px solid #e5e8ec;padding:12px 16px;border-radius:8px;overflow:auto;font-size:12px;line-height:1.6}.body code{font-family:ui-monospace,SFMono-Regular,monospace}.body table{border-collapse:collapse;display:block;overflow:auto}.body td,.body th{padding:6px 12px;border:1px solid #dde3e9}.body img{max-width:100%}details{margin-bottom:10px;color:#687485;font-size:12px}summary{cursor:pointer}.tool summary{color:#b8791c}.toolResult .body{font-size:12px;max-height:330px;overflow:auto}.empty{text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:350px;height:100%;padding:40px 25px;color:#8a929e}.empty h1{font-size:24px;color:#354152;font-weight:550;margin:18px 0 4px}.empty p{line-height:1.8}.pi-mark{font-size:44px;color:#38a4cf;background:#eff8fc;width:78px;height:78px;border-radius:22px;padding:10px}.composer{margin:12px auto 18px;width:calc(100% - 64px);max-width:840px;border:1px solid #dfe5eb;border-radius:14px;padding:12px;box-shadow:0 4px 20px #25375207}.composer textarea{width:100%;resize:vertical;min-height:70px;max-height:240px;border:0;outline:none;line-height:1.6;padding:6px}.composer-bottom{display:flex;align-items:center;gap:6px}.composer select{border:0;background:#f6f8fa;font-size:12px;max-width:260px;padding:7px}.spacer{flex:1}.composer>small{display:block;margin:10px 5px 0}.banner{padding:10px 24px;background:#fff7e8;font-size:13px;display:flex;align-items:center;justify-content:space-between}.error{color:#b53d3d}.banner.error{background:#fff0f0}.activity{color:#6a7785;display:flex;gap:10px;align-items:center;padding:12px 0}.login{height:100dvh;display:grid;place-items:center;background:#f6f8fa}.login form{width:min(420px,90vw);padding:38px;background:#fff;border:1px solid #e4e8ed;border-radius:18px;box-shadow:0 20px 80px #19365208}.login h1{font-size:24px;font-weight:550;margin-top:34px}.login p{color:#7a8492;line-height:1.7}.login label{display:block;margin:28px 0 16px}.login input{display:block;width:100%;margin-top:8px}.login .primary{width:100%;padding:12px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#15203255;display:grid;place-items:center;grid-template-columns:minmax(0,1fr);z-index:100;padding:16px;overflow:auto}.dialog{width:min(480px,100%);min-width:0;max-height:calc(100dvh - 32px);overflow-y:auto;overflow-wrap:anywhere;background:#fff;padding:28px;border-radius:14px}.dialog p{color:#778391;line-height:1.7}.dialog input,.dialog select,.dialog textarea{width:100%}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;flex-wrap:wrap}.mobile{display:none}@media(max-width:760px){aside{display:none;position:fixed;inset:0 auto 0 0;z-index:10;box-shadow:20px 0 100px #10203044}.visible{display:flex}.mobile{display:block}header{padding:12px}.transcript{padding:20px 16px}.message{gap:10px}.role{width:38px}.composer{width:calc(100% - 24px);margin-bottom:10px}.composer select{max-width:145px}.composer>small{font-size:10px}.composer-bottom{flex-wrap:wrap}.brand .mobile{margin-left:auto}.empty h1{font-size:21px}}.interaction{border:1px solid #bae6fd;background:#f0f9ff;border-radius:10px;padding:18px;margin:18px 0}.interaction textarea{display:block;width:100%;margin-bottom:10px}.interaction button{margin:4px}.settings-dialog h2{margin:0 0 14px}.settings-dialog p{margin:6px 0;line-height:1.5}.settings-dialog .actions{margin-top:8px}.settings-dialog label{display:block}.settings-dialog select{display:block;margin:6px 0 4px;min-width:0}.settings-section-heading{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.settings-section-heading h3{margin:0}.scan-roots{list-style:none;padding:0;margin:6px 0}.scan-roots li{display:flex;align-items:center;gap:8px;padding:4px 0;line-height:1.4}.scan-roots li span{flex:1;min-width:0;overflow-wrap:anywhere}.remove-root{flex:0 0 auto;min-width:44px;min-height:44px}.scan-add-row{display:flex;gap:8px;margin-top:8px}.scan-add-row input{flex:1;min-width:0}.scan-add-row button{flex:0 0 auto}.settings-order{margin-top:8px;border-top:1px solid #e4e8ed;padding-top:6px}@media(max-width:760px){.overlay{padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))}.dialog{padding:20px;max-height:calc(100dvh - 32px)}.dialog input,.dialog select,.dialog textarea{font-size:16px}.dialog button{min-height:44px}}.section-title .refresh-projects{font-size:12px}
