:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #06151d;
  color: #e9fbff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 12%, rgba(0, 210, 190, .2), transparent 30rem),
    radial-gradient(circle at 90% 85%, rgba(213, 49, 150, .18), transparent 34rem),
    #06151d;
}
main { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0 96px; }
header { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 32px; }
.mark {
  display: grid; place-items: center; flex: 0 0 72px; height: 72px; border-radius: 20px;
  background: linear-gradient(135deg, #00d2be, #2576e8); color: #021317; font-weight: 900; font-size: 25px;
  box-shadow: 0 18px 48px rgba(0, 210, 190, .22);
}
.eyebrow { margin: 0 0 8px; color: #64e4d8; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(34px, 6vw, 64px); line-height: 1; letter-spacing: -.045em; }
h2 { margin: 12px 0 8px; font-size: 26px; letter-spacing: -.025em; }
.lede, p { color: #9db9c2; line-height: 1.65; }
.lede { max-width: 720px; font-size: 18px; }
.status { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(9, 34, 44, .75); border: 1px solid #153b48; border-radius: 14px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #ffd166; box-shadow: 0 0 16px currentColor; }
.status.ready .dot { background: #21d79c; }
.status.error .dot { background: #ff5d78; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 20px 0; }
.card, .room-builder { border: 1px solid #174351; border-radius: 24px; background: rgba(8, 31, 41, .84); box-shadow: 0 24px 80px rgba(0, 0, 0, .24); }
.card { padding: 24px; min-height: 250px; display: flex; flex-direction: column; }
.card p { flex: 1; }
.planned { opacity: .72; }
.card-head { display: flex; justify-content: space-between; align-items: center; color: #7fa2ae; font-size: 13px; }
.pill { padding: 5px 8px; border-radius: 999px; background: rgba(0, 210, 190, .13); color: #64e4d8; font-weight: 800; font-size: 10px; letter-spacing: .12em; }
.planned .pill { background: rgba(255, 209, 102, .12); color: #ffd166; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
button, .button {
  appearance: none; border: 0; border-radius: 12px; padding: 12px 16px; background: #00d2be; color: #021b20;
  font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; text-align: center;
}
button:hover, .button:hover { filter: brightness(1.08); }
.button.secondary { background: #163b49; color: #dffaff; }
.room-builder { padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 28px; align-items: end; }
.room-builder h2 { margin-top: 0; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 7px; color: #bcd2d9; font-size: 13px; font-weight: 700; }
input, select { width: 100%; border: 1px solid #235566; border-radius: 11px; padding: 12px 13px; background: #061a22; color: #effdff; font: inherit; outline: none; }
input:focus, select:focus { border-color: #00d2be; box-shadow: 0 0 0 3px rgba(0, 210, 190, .14); }
.launches { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #174351; }
.launch-row { display: grid; grid-template-columns: 100px 1fr auto; gap: 12px; align-items: center; margin-top: 10px; }
.launch-row code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8fece3; }
.error-text { color: #ff8ca0; }
@media (max-width: 720px) {
  main { padding-top: 30px; }
  header { flex-direction: column; }
  .grid, .room-builder { grid-template-columns: 1fr; }
  .launch-row { grid-template-columns: 1fr; }
}
