*{box-sizing:border-box}
body{margin:0;font:15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;background:#f4f5f7;color:#1d2330}
header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#1d2330;color:#fff}
header h1{font-size:18px;margin:0}
main{max-width:960px;margin:0 auto;padding:16px}
.card{background:#fff;border:1px solid #dde1e7;border-radius:8px;padding:14px;margin-bottom:12px}
.narrow{max-width:360px;margin:40px auto}
.row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.between{justify-content:space-between;align-items:center}
.grow{flex:1;min-width:160px}
label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#555}
label.inline{flex-direction:row;align-items:center}
input{font:inherit;padding:7px 9px;border:1px solid #c5cbd3;border-radius:6px;min-width:0}
button{font:inherit;padding:7px 14px;border-radius:6px;border:1px solid #2459d6;background:#2459d6;color:#fff;cursor:pointer}
button.ghost{background:#fff;color:#2459d6}
header button.ghost{background:transparent;color:#fff;border-color:#fff}
button.danger{background:#fff;color:#c62828;border-color:#c62828}
button:disabled{opacity:.5;cursor:wait}
.error{color:#c62828;min-height:1em;margin:6px 0}
.muted{color:#777;font-size:13px}
.badge{display:inline-block;padding:1px 8px;border-radius:10px;font-size:12px;background:#e8eaee}
.badge.active,.badge.ACTIVE{background:#d8f3dc;color:#1b6b2f}
.badge.disabled,.badge.DISABLED,.badge.creating{background:#fde2e1;color:#a11}
.badge.WAIT_HOST{background:#fff3cd;color:#7a5a00}
dl.grid{display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;margin:10px 0;font-size:14px}
dt{color:#666}dd{margin:0;word-break:break-all}
.actions{gap:8px}
pre{background:#f0f2f5;padding:10px;border-radius:6px;overflow-x:auto;white-space:pre-wrap;word-break:break-all;font-size:13px}
.secret{border-color:#e0a800;background:#fffdf3}
h2{font-size:16px;margin:0 0 8px}h3{font-size:14px;margin:12px 0 4px}
@media (max-width:600px){dl.grid{grid-template-columns:1fr}dt{margin-top:6px}.actions button{flex:1 1 45%}}
