:root { color-scheme: dark; font-family: Inter, "Segoe UI", sans-serif; background:#0a0d12; color:#eef2f7; }
* { box-sizing:border-box; }
body { margin:0; background:radial-gradient(circle at 20% 0%,#18283a 0,transparent 35%),#0a0d12; min-height:100vh; }
header { height:64px; padding:0 28px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #29313d; background:#0d1118cc; backdrop-filter:blur(12px); }
header>div { display:flex; align-items:center; gap:12px; }
.mark { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; color:#071018; background:#79e2b8; font-weight:800; }
main { max-width:1400px; margin:auto; padding:32px; }
#workspace-view { display:grid; grid-template-columns:280px 1fr; gap:20px; }
.card { background:#111722e8; border:1px solid #2b3544; border-radius:18px; padding:22px; box-shadow:0 18px 60px #0004; }
.narrow { max-width:560px; margin:9vh auto; padding:40px; }
h1 { font-size:42px; line-height:1.08; margin:8px 0 16px; letter-spacing:-1.5px; }
h2,h3 { margin:6px 0 16px; }
.eyebrow { color:#79e2b8; letter-spacing:.14em; font-size:12px; font-weight:800; }
.muted { color:#9cabbc; }
form { display:grid; gap:12px; margin-top:20px; }
label { display:grid; gap:7px; font-size:13px; color:#b8c4d2; }
input,textarea,select { width:100%; border:1px solid #344153; background:#090d13; color:#f5f7fa; border-radius:10px; padding:12px; outline:none; }
input:focus,textarea:focus,select:focus { border-color:#79e2b8; box-shadow:0 0 0 3px #79e2b81a; }
button { border:0; border-radius:10px; padding:11px 15px; background:#79e2b8; color:#071018; font-weight:750; cursor:pointer; }
button.ghost { background:#232c38; color:#dce4ee; }
button:disabled { opacity:.45; cursor:not-allowed; }
.row,.inline,.actions { display:flex; align-items:center; gap:10px; }
.row { justify-content:space-between; }
.inline { grid-template-columns:1fr auto; display:grid; margin-top:12px; }
.stack { display:grid; gap:9px; margin-top:14px; }
.item { padding:12px; border:1px solid #2e3948; background:#0d121a; border-radius:12px; cursor:pointer; }
.item:hover { border-color:#577087; }
.content { min-width:0; }
.empty { text-align:center; padding:80px 20px; }
.controls,.room-head { display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-bottom:18px; }
.grid { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:18px; }
.run-form { padding:14px; margin:0 0 16px; border:1px solid #2b3544; border-radius:12px; background:#0b1017; }
.run-form textarea { min-height:88px; resize:vertical; }
.run-agents { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.timeline { display:grid; gap:12px; max-height:62vh; overflow:auto; }
.event { padding:14px; border-left:3px solid #79e2b8; background:#0b1017; border-radius:5px 12px 12px 5px; }
.event.control { border-color:#f6c760; }
.event small { color:#8090a3; }
.event p { white-space:pre-wrap; margin:8px 0 0; line-height:1.55; }
.badge { padding:7px 10px; border-radius:999px; background:#2a313d; color:#b8c4d2; font-size:12px; }
.badge.online { background:#133629; color:#79e2b8; }
code,pre { font-family:"Cascadia Code",monospace; font-size:12px; color:#9edec4; overflow-wrap:anywhere; white-space:pre-wrap; }
hr { border:0; border-top:1px solid #2b3544; margin:24px 0; }
#toast { position:fixed; right:24px; bottom:24px; max-width:420px; padding:13px 16px; border-radius:12px; background:#f6c760; color:#17120a; opacity:0; transform:translateY(10px); transition:.2s; pointer-events:none; }
#toast.show { opacity:1; transform:none; }
@media(max-width:900px){ main{padding:16px} #workspace-view,.grid{grid-template-columns:1fr} .sidebar{position:static} h1{font-size:34px} }
[hidden] { display:none !important; }
