:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #66758b;
  --line: #dbe3ee;
  --page: #eef3f8;
  --surface: #ffffff;
  --accent: #e11d48;
  --cyan: #06b6d4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  background: #0f172a;
  color: white;
  padding: 42px 34px;
}

.logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 34px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 34px;
  line-height: 1.1;
}

.rail p {
  color: #9fb0c5;
  line-height: 1.6;
}

.rail .credit {
  color: #22d3ee;
  font-weight: 900;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.source-list span {
  border: 1px solid #26364f;
  color: #cbd5e1;
  padding: 8px 10px;
  font-size: 13px;
}

.workspace {
  padding: 54px;
}

.eyebrow {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 10px;
}

.muted,
.result p {
  color: var(--muted);
}

.panel {
  width: min(860px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
  font-weight: 500;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0;
}

button {
  margin-top: 22px;
  min-height: 50px;
  border: 0;
  background: var(--accent);
  color: white;
  padding: 0 28px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

button:hover {
  background: #be123c;
}

.result {
  min-height: 120px;
}

@media (max-width: 780px) {
  .shell,
  .grid {
    grid-template-columns: 1fr;
  }

  .rail,
  .workspace {
    padding: 28px;
  }
}
