:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --ink: #172033;
  --muted: #667085;
  --line: #d8dee9;
  --accent: #107c7c;
  --accent-strong: #0b5f5f;
  --surface: #ffffff;
  --danger: #b42318;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  min-height: 100vh;
  padding: 32px;
}

.stage {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.brand {
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 16px 0 12px;
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.deck {
  max-width: 880px;
  min-height: 360px;
  padding: 40px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.deck h2 {
  max-width: 720px;
  margin: 18px 0;
  font-size: 38px;
  line-height: 1.14;
  letter-spacing: 0;
}

.deck p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.panel {
  align-self: center;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}

.status {
  min-height: 44px;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 6px;
  background: #eef6f6;
  color: var(--accent-strong);
  font-weight: 700;
}

.status.error {
  background: #fff1f0;
  color: var(--danger);
}

.form,
.controls {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

button {
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.controls {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}

.controls button {
  background: #243044;
}

.room-info {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .shell {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  h1 {
    font-size: 36px;
  }

  .deck {
    min-height: 280px;
    padding: 24px;
  }

  .deck h2 {
    font-size: 28px;
  }
}
