:root{font-family:Inter,ui-sans-serif,system-ui,Arial,sans-serif;color:#13243b;background:#f3f6fb}*{box-sizing:border-box}body{margin:0}.shell{max-width:1220px;margin:auto;padding:38px 24px}header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}h1{font-size:clamp(30px,4vw,48px);letter-spacing:-.055em;margin:10px 0}h2{font-size:17px;margin:0;letter-spacing:-.02em}p{line-height:1.55}header p{color:#64748b;margin:0;max-width:650px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.18em;color:#2563eb}.badge{border:1px solid #dce5f1;border-radius:99px;padding:11px 16px;background:white;font-size:12px;font-weight:700;white-space:nowrap}.grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(285px,1fr);gap:20px}.panel{background:white;border:1px solid #e1e8f1;border-radius:18px;box-shadow:0 10px 30px #23436b09;padding:22px;margin-bottom:20px}.chat{display:flex;flex-direction:column;min-height:650px;margin:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e9edf3;padding-bottom:18px}.panel-head span,.muted{font-size:12px;color:#8290a3}.thread{flex:1;min-height:300px;max-height:560px;overflow:auto;padding:25px 0}.empty{text-align:center;margin:110px auto;color:#8997aa;max-width:320px}.empty strong{color:#354961}.bubble{max-width:86%;padding:14px 17px;margin:0 0 14px;border-radius:15px;white-space:pre-wrap;line-height:1.55;font-size:14px}.bubble.user{margin-left:auto;background:#2463e7;color:white;border-bottom-right-radius:4px}.bubble.assistant{background:#f0f4fa;border-bottom-left-radius:4px}.bubble.error{background:#fff1ee;color:#9d3527}.bubble small{display:block;margin-top:10px;opacity:.75;font-size:11px}label{display:block;font-size:12px;font-weight:700;margin:0 0 9px}textarea,input,select{font:inherit;border:1px solid #dce4ef;border-radius:10px;background:#fff;color:#172942;padding:12px;width:100%;outline:none}textarea:focus,input:focus,select:focus{border-color:#3073ed;box-shadow:0 0 0 3px #3073ed20}textarea{resize:vertical}.form-row{display:flex;gap:9px;margin-top:11px}.form-row select{max-width:160px}button{border:0;border-radius:10px;padding:12px 15px;background:#2563eb;color:#fff;font-weight:750;cursor:pointer;white-space:nowrap}button:hover{filter:brightness(.94)}button:disabled{opacity:.5;cursor:wait}.secondary{background:#eef3fd;color:#2455ad}.full{width:100%;margin-top:12px}.live{color:#0b9e67!important;font-size:10px!important;font-weight:800}.route{display:flex;align-items:center;gap:12px;padding:18px 0}.route>div:nth-child(2){flex:1}.route small{display:block;color:#8794a5;margin-top:4px}.route>span{color:#9aabc1;font-size:11px}.route-icon{width:39px;height:39px;border-radius:11px;background:#dff9ee;color:#14835d;display:grid;place-items:center;font-weight:800}.purple{background:#ece8ff;color:#6f4ee7}.connector{height:20px;border-left:2px dashed #d3ddeb;margin-left:19px}.decision{background:#f3f6fb;border-radius:10px;padding:14px;font-size:13px;line-height:1.5;color:#50637b}.decision strong{color:#1e3c6b}.metric{display:flex;align-items:baseline;gap:8px;margin:22px 0 11px}.metric strong{font-size:30px}.metric span{font-size:12px;color:#8190a4}.meter{height:7px;background:#eaf0f8;border-radius:20px;overflow:hidden}.meter div{height:100%;background:#2872ec;width:0}.muted{line-height:1.5}.panel input{margin-top:2px}footer{color:#8190a4;font-size:12px;margin:24px 0}@media(max-width:760px){.shell{padding:22px 14px}header{align-items:flex-start;flex-direction:column}.grid{grid-template-columns:1fr}.chat{min-height:520px}.form-row{flex-wrap:wrap}.form-row select{max-width:none;flex-basis:100%}.form-row button{flex:1}.empty{margin:65px auto}}

.scenarios{margin-top:12px}.scenario{display:grid;grid-template-columns:1fr auto;gap:4px 8px;border:1px solid #e2e9f3;padding:12px;border-radius:10px;margin-top:8px;font-size:12px}.scenario b{color:#234a92}.scenario small{grid-column:1/-1;color:#77869a}.scenario.selected{border-color:#3d7bec;background:#f1f6ff}

.compact{padding:8px 11px;font-size:11px}.rate-row{display:grid;grid-template-columns:70px 1fr;gap:3px;margin:11px 0;font-size:12px}.rate-row span{text-align:right}.rate-row small{grid-column:1/-1;color:#8190a4}

.panel details{margin:13px 0}.panel summary{font-size:12px;font-weight:700;cursor:pointer}.panel label:not(:first-child){margin-top:13px}

.handover{border-top:1px solid #e5ebf4;margin-top:22px;padding-top:18px}.handover-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.handover-head span{color:#688098;font-size:11px}.handover-steps{display:grid;gap:8px;margin-top:13px}.handover-step{display:flex;align-items:center;gap:11px;padding:10px 12px;border:1px solid #e5ebf4;border-radius:10px;font-size:12px;color:#56677c}.handover-step b{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#edf3ff;color:#265ac2}.handover-step.active{border-color:#8bb4ff;background:#f4f8ff;color:#1d4b96}.handover-step.done b{background:#daf5e6;color:#138553}.upgrade-notice{margin-top:15px;padding:15px;border:1px solid #e5c46f;background:#fff9e8;border-radius:11px;font-size:13px}.upgrade-notice[hidden]{display:none}.upgrade-notice p{color:#675c40;font-size:12px}.upgrade-notice button{margin-right:6px;margin-top:5px}

.billing-quote{margin-top:15px;border-radius:11px;background:#f3f7fe;padding:14px}.billing-quote strong{display:block;color:#1e4da0;font-size:23px}.billing-quote small{display:block;color:#63768e;margin-top:6px;line-height:1.5}

.billing-controls{margin-top:16px}.billing-controls label{margin-top:12px!important}.markup-row{display:flex;gap:9px}.markup-row input{max-width:140px}.markup-row button{flex:1}.billing-controls small{display:block;color:#72819a;font-size:11px;line-height:1.5;margin-top:8px}
