:root{font-family:Inter,system-ui,Arial,sans-serif;color:#24213a;background:#f6f5fb}*{box-sizing:border-box}body{margin:0}header{background:#241a47;color:white;padding:24px max(20px,calc((100vw - 1050px)/2));display:flex;justify-content:space-between;align-items:center}header a{color:#fff}main{max-width:1050px;margin:32px auto;padding:0 20px}.hero{padding:42px 0}.hero h1{font-size:clamp(32px,5vw,52px);margin:0}.hero p{color:#625b77;font-size:18px}.btn,button{border:0;border-radius:10px;background:#7454e8;color:#fff;padding:11px 16px;font-weight:650;cursor:pointer}button.secondary,.btn.secondary{background:#eee9ff;color:#4d3898}button.danger{background:#b93654}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}.panel{background:white;border:1px solid #e5e0f1;border-radius:16px;padding:22px;margin-bottom:20px;box-shadow:0 8px 25px #2d185c0a}label{display:block;font-size:14px;font-weight:600;margin:12px 0 6px}input,textarea,select{width:100%;border:1px solid #d8d1e8;border-radius:9px;padding:11px;font:inherit;background:white}textarea{min-height:90px;resize:vertical}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.hidden{display:none!important}.notice{background:#ece7ff;border-radius:10px;padding:12px;margin:16px 0}.notice.error{background:#ffe4e8;color:#872438}.muted{color:#716b81}.qa{padding:15px 0;border-bottom:1px solid #eee}.qa strong{display:block}.qa p{white-space:pre-wrap;margin:8px 0}code,pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f2effb;border-radius:8px;padding:10px;display:block}footer{text-align:center;padding:25px;color:#777}

#botChooser select{max-width:620px}#roleDescription{margin:4px 0 14px}#botMeta{margin-bottom:0}#adminBotFields{padding:12px 14px;margin:12px 0;background:#f6f3ff;border-radius:10px}#adminBotFields p{font-size:13px}#answerLimit{font-size:13px}#createBot{border-color:#d9cdfa}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #b4a1ff;outline-offset:2px}
#clientsPanel{border-color:#cfc3fa}#clientsPanel h2{margin-top:0}#clientsPanel .grid form{min-width:0}#clientList{max-height:330px;overflow:auto;border-top:1px solid #eee}.client-item{padding:11px 2px;border-bottom:1px solid #eee;display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}.client-item small{color:#716b81}button:disabled{opacity:.6;cursor:wait}
