:root {
  color-scheme: dark;
  --bg: #080a0f;
  --panel: #11151d;
  --panel-2: #171d27;
  --text: #f3f5f7;
  --muted: #9aa5b4;
  --line: #293241;
  --accent: #ff5c35;
  --accent-2: #ffb347;
  --good: #56d99b;
  --caution: #f5c451;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, rgba(255, 92, 53, .16), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(90, 74, 255, .13), transparent 28rem),
    var(--bg);
}

button, input, textarea { font: inherit; }

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 24px 30px;
}

.eyebrow {
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
}

h1 {
  max-width: 780px;
  margin: 10px 0 8px;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: .94;
  letter-spacing: -.055em;
}

.hero > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
}

.full-progress {
  max-width: 720px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17, 21, 29, .74);
}
.progress-copy { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .86rem; }
.progress-copy strong { color: var(--text); }
.full-progress progress { width: 100%; height: 9px; margin-top: 10px; accent-color: var(--accent); }

.hero-controls {
  display: flex;
  align-items: end;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.reviewer-field { display: grid; gap: 7px; min-width: min(100%, 310px); }
.reviewer-field span, .notes-label span { font-size: .82rem; font-weight: 700; color: var(--muted); }
.reviewer-field em { font-weight: 400; }

input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #090c12;
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 92, 53, .12); }

button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

button:hover { transform: translateY(-1px); }
button:disabled { cursor: wait; opacity: .7; transform: none; }
.secondary { padding: 12px 17px; border: 1px solid var(--line); background: var(--panel); }
.secondary[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-2); }

main { max-width: 1240px; margin: 0 auto; padding: 0 24px 130px; }
.status { min-height: 24px; margin: 0 0 18px; color: var(--muted); }
.status.success { color: var(--good); }
.status.error { color: #ff7b7b; }

.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 18px;
}

.style-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,.025), transparent 38%), var(--panel);
  box-shadow: 0 15px 44px rgba(0,0,0,.18);
}

.style-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
}

.style-card.is-favorite { border-color: rgba(255, 92, 53, .72); }
.style-card.is-favorite::before, .style-card.is-playing::before { background: linear-gradient(var(--accent), var(--accent-2)); }
.style-card.is-playing { box-shadow: 0 16px 50px rgba(255, 92, 53, .12); }
.card-topline { display: flex; justify-content: space-between; align-items: center; }
.style-number { font: 900 1.5rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--accent-2); }

.favorite {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--muted);
}

.favorite span:first-child { font-size: 1.15rem; }
.favorite[aria-pressed="true"] { color: #fff; border-color: var(--accent); background: rgba(255, 92, 53, .2); }
.style-label { margin: 18px 0 8px; font-size: 1.5rem; letter-spacing: -.025em; }
.metadata { display: flex; gap: 8px; color: var(--muted); font-size: .82rem; }
.metadata span { padding: 4px 8px; border-radius: 6px; background: var(--panel-2); }
.direction { color: #c6cdd7; line-height: 1.52; font-size: .92rem; }
.qa { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 13px; }
.badge { border-radius: 999px; padding: 5px 8px; font-size: .72rem; font-weight: 800; }
.badge.good { color: var(--good); background: rgba(86, 217, 155, .1); }
.badge.caution { color: var(--caution); background: rgba(245, 196, 81, .1); }
.audio-list { display: grid; gap: 10px; margin: 4px 0 16px; }
.audio-clip {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b0e14;
}
.audio-clip-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin: 0 2px 8px;
}
.audio-clip-heading strong { font-size: .86rem; }
.audio-clip-heading span { color: var(--muted); font-size: .72rem; text-align: right; }
.audio-clip audio { display: block; width: 100%; accent-color: var(--accent); }
.audio-pending { margin: 0; color: var(--muted); font-size: .82rem; }
.notes-label { display: grid; gap: 7px; }
textarea { resize: vertical; min-height: 78px; line-height: 1.4; }

.submit-bar {
  position: fixed;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  left: 50%;
  bottom: 18px;
  width: min(calc(100% - 32px), 920px);
  transform: translateX(-50%);
  padding: 14px 16px 14px 20px;
  border: 1px solid #394353;
  border-radius: 18px;
  background: rgba(17, 21, 29, .94);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(14px);
}

.submit-bar > div { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.submit-bar span, .submit-bar small { color: var(--muted); }
.submit { padding: 13px 22px; background: linear-gradient(115deg, var(--accent), #e93161); font-weight: 850; white-space: nowrap; }

@media (max-width: 640px) {
  .hero { padding-top: 38px; }
  .favorite-label { display: none; }
  .style-card { min-height: 440px; }
  .submit-bar { align-items: stretch; bottom: 8px; flex-direction: column; gap: 10px; }
  .submit { width: 100%; }
  main { padding-bottom: 170px; }
}
