:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#162b46;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:#1757a5;text-decoration:none}a:hover{text-decoration:underline}.shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.sidebar{background:#102844;color:#fff;padding:28px 20px;display:flex;flex-direction:column;gap:48px}.brand{display:flex;gap:12px;align-items:center;font-size:20px}.brand small{display:block;color:#a9bfd7;font-size:12px;margin-top:4px}.brand-icon{background:#2467b6;border-radius:12px;padding:10px}.sidebar nav{display:grid;gap:8px}.sidebar nav a{color:#c4d4e7;padding:13px 16px;border-radius:10px}.sidebar nav a.active,.sidebar nav a:hover{background:#254563;color:#fff;text-decoration:none}.sidebar-bottom{margin-top:auto;color:#b7c9dc;font-size:13px;line-height:2}.sidebar-bottom small{margin-left:17px}.dot{display:inline-block;width:8px;height:8px;background:#4ac4a5;border-radius:50%;margin-right:8px}.content{padding:0 48px;display:flex;flex-direction:column}.topbar{padding:25px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e3e9f1;color:#60738b;font-size:13px}.pill{background:#e5effd;color:#1c5da9;padding:8px 12px;border-radius:50px;font-weight:600}.content section{width:100%;max-width:1080px;margin:56px auto;flex:1}h1{font-size:36px;letter-spacing:-1px;margin:10px 0 14px}h2{font-size:19px}p{line-height:1.7;color:#62758e}.eyebrow{color:#2473c9;font-size:12px;font-weight:800;letter-spacing:2px;text-transform:uppercase}.card{background:#fff;border:1px solid #e2e9f2;box-shadow:0 10px 30px #1b41670b;border-radius:18px;padding:30px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:34px}.auth-card{max-width:500px!important;margin:56px auto!important}.auth-card form{display:grid;gap:20px;margin:30px 0 18px}label{display:grid;gap:8px;font-weight:600;font-size:13px}input{width:100%;padding:13px;border:1px solid #cbd6e4;border-radius:9px;font:inherit}input:focus{outline:2px solid #82b7fa}button{background:#1d65b5;color:#fff;padding:14px 20px;border:0;border-radius:9px;font-weight:700;cursor:pointer}button:disabled{background:#dbe2ea;color:#64748b;cursor:not-allowed}.badge{display:inline-block;background:#eef3fa;color:#5d7390;padding:7px 10px;border-radius:30px;font-size:12px}.notice{font-size:13px;min-height:20px}footer{font-size:12px;color:#8999ac;padding:24px 0}@media(max-width:760px){.shell{display:block}.sidebar{gap:15px;padding:16px}.sidebar nav{display:flex;flex-wrap:wrap}.sidebar-bottom{display:none}.content{padding:0 20px}.topbar{gap:10px;align-items:flex-start}.content section{margin:28px auto}h1{font-size:30px}}.link-button{background:none;color:#c4d4e7;padding:4px 0;font-weight:600;text-decoration:underline}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.spread{justify-content:space-between}.stack{display:grid;gap:18px}textarea,select{width:100%;padding:13px;border:1px solid #cbd6e4;border-radius:9px;font:inherit;background:#fff}textarea{min-height:220px;resize:vertical}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:12px 8px;border-bottom:1px solid #e3e9f1}th{color:#60738b;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:1px}.status{display:inline-block;padding:4px 10px;border-radius:30px;font-size:12px;font-weight:700;background:#eef3fa;color:#5d7390}.status-ACTIVE{background:#e3f6ef;color:#167a5b}.status-DISABLED{background:#fdf1dd;color:#9a6200}.status-FAILED,.status-DELETE_FAILED{background:#fde7e7;color:#a12828}.status-PROVISIONING,.status-DELETING{background:#e5effd;color:#1c5da9}.tabs{display:flex;gap:8px;margin:24px 0}.tabs button{background:#eef3fa;color:#1d65b5}.tabs button.active{background:#1d65b5;color:#fff}.danger{background:#b42323}.secondary{background:#eef3fa;color:#1d65b5}.error{color:#a12828}.ok{color:#167a5b}.checks{display:flex;gap:18px}.checks label{display:flex;align-items:center;gap:8px;font-weight:500}.checks input{width:auto}.content section.chat{display:grid;grid-template-columns:260px 1fr;gap:24px;max-width:1200px}.chat-side{display:flex;flex-direction:column;gap:14px;padding:20px;align-self:start}.conv-list{list-style:none;padding:0;margin:0;display:grid;gap:6px;max-height:55vh;overflow:auto}.conv{width:100%;text-align:left;background:#f5f7fb;color:#162b46;font-weight:500;padding:10px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conv.active{background:#e5effd;color:#1c5da9;font-weight:700}.chat-main{display:flex;flex-direction:column;min-height:70vh}.thread{flex:1;display:flex;flex-direction:column;gap:14px;overflow:auto;padding:8px 0 16px}.msg{max-width:80%;padding:14px 18px;border-radius:14px;background:#fff;border:1px solid #e2e9f2}.msg-user{align-self:flex-end;background:#e5effd;border-color:#cfe0f8}.msg-who{display:block;font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#60738b;margin-bottom:6px}.msg-text{margin:0;white-space:pre-wrap;color:#162b46;line-height:1.6}.msg-sources{margin:10px 0 0;font-size:12px;color:#60738b}.msg-blocked{background:#fdf1dd;border-color:#f3dcb0}.thinking{color:#60738b;font-style:italic;animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:.45}50%{opacity:1}}.composer{display:flex;gap:12px;align-items:flex-end;border-top:1px solid #e3e9f1;padding-top:14px}.composer textarea{min-height:64px}@media(max-width:760px){.content section.chat{grid-template-columns:1fr}.msg{max-width:100%}}@media(prefers-reduced-motion:reduce){.thinking{animation:none}}.shell{height:100vh;overflow:hidden}.sidebar{overflow-y:auto}.content{height:100vh;min-height:0;overflow:hidden}.topbar,footer{flex:none}.page{flex:1;min-height:0;overflow-y:auto}.content .page>section{margin:40px auto}.content .page>section.chat{height:100%;margin:0 auto;padding:20px 0;grid-template-rows:minmax(0,1fr);min-height:0}.chat-side{max-height:100%;overflow:hidden}.conv-list{max-height:none;flex:1;min-height:0}.chat-main{min-height:0;height:100%}.chat-main h1{flex:none;margin-top:0}.thread{min-height:0;overflow-y:auto;padding-right:6px}.composer{flex:none}@media(max-width:760px){.shell,.content{height:auto;overflow:visible}.page{overflow:visible}.content .page>section.chat{height:auto;grid-template-rows:auto}.thread{max-height:60vh}}.feedback{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.thumb{background:#f5f7fb;color:#162b46;padding:4px 10px;font-size:15px;border:1px solid #e2e9f2}.thumb.active{background:#e5effd;border-color:#82b7fa}.feedback-comment{display:flex;gap:8px;flex:1;min-width:240px}.feedback-comment input{padding:8px 10px}.feedback-comment button{padding:8px 14px}fieldset.topic{border:1px solid #e2e9f2;border-radius:12px;padding:16px;margin:0}textarea.short{min-height:90px}
