:root {
  color-scheme: dark;
  --bg: #0b1020;
  --panel: #111933;
  --panel-soft: #182445;
  --text: #eef2ff;
  --muted: #a7b0d1;
  --accent: #82aaff;
  --accent-soft: #2b3f79;
  --error: #ff8f8f;
  --border: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #0b1020 0%, #0d1530 100%);
  color: var(--text);
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

.shell {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.card {
  margin-top: 1rem;
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.hero {
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(130, 170, 255, 0.14), rgba(130, 170, 255, 0.04));
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
p {
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

.stack {
  display: grid;
  gap: 1rem;
}

.row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.between {
  justify-content: space-between;
}

label {
  display: grid;
  gap: 0.45rem;
}

input,
button,
.button-link {
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
}

input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  background: var(--panel-soft);
  color: var(--text);
}

button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1rem;
  background: var(--accent);
  color: #061126;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}

button.ghost {
  background: transparent;
  color: var(--text);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hidden {
  display: none;
}

.status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.status.error {
  color: var(--error);
}

#meeting-frame {
  min-height: 720px;
  overflow: hidden;
  border-radius: 18px;
}

#meeting-frame iframe {
  width: 100%;
  min-height: 720px;
  border: 0;
  border-radius: 18px;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 1rem, 960px);
    padding-top: 1rem;
  }

  .row,
  .between,
  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  #meeting-frame,
  #meeting-frame iframe {
    min-height: 70vh;
  }
}
