:root {
  --bg: #f3efe7;
  --panel: #fffaf2;
  --ink: #171717;
  --muted: #6c6258;
  --line: #d8cab6;
  --accent: #0f766e;
  --accent-2: #d97706;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 119, 6, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.18), transparent 28%),
    var(--bg);
}
.shell-header, .shell-main { max-width: 1100px; margin: 0 auto; padding: 1rem 1.25rem; }
.shell-header { display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 1.25rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.nav { display: flex; gap: 1rem; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; }
.shell-main { display: grid; gap: 1rem; }
.hero, .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.06);
}
.hero { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.card.narrow { max-width: 540px; }
label { display: grid; gap: 0.35rem; margin-bottom: 0.85rem; }
input, select, button, textarea {
  font: inherit;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  padding: 0.8rem 1rem;
  border-radius: 12px;
}
.button.secondary { background: var(--accent-2); }
.button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.inline-form { display: inline-flex; margin: 0; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--line); }
.error { color: #b91c1c; white-space: pre-wrap; }
.badge { min-width: 5rem; text-align: center; padding: 1rem; border-radius: 16px; background: #0f766e12; font-weight: 700; }
.progress { height: 14px; background: #efe5d9; border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.transcript { white-space: pre-wrap; word-break: break-word; background: #fff; padding: 1rem; border-radius: 14px; border: 1px solid var(--line); }
code { display: block; overflow-wrap: anywhere; padding: 0.8rem; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 720px) {
  .hero, .shell-header { flex-direction: column; align-items: flex-start; }
  .nav { flex-wrap: wrap; }
}

