:root{
  --bg:#0f172a;
  --card:#111827;
  --muted:#9ca3af;
  --text:#f8fafc;
  --line:#334155;
  --accent:#38bdf8;
  --bad:#ef4444;
  --warn:#f59e0b;
  --good:#22c55e;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:linear-gradient(180deg,#020617,#111827);
  color:var(--text);
}
.app{
  width:min(920px,100%);
  margin:auto;
  padding:16px;
}
.hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin:10px 0 18px;
}
h1{font-size:28px;margin:0 0 6px}
h2{font-size:20px;margin:0 0 12px}
h3{margin:0 0 8px;font-size:20px}
.sub,.hint,.small{color:var(--muted)}
.eyebrow{
  color:var(--accent);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
  margin:0 0 4px;
}
.card{
  background:rgba(17,24,39,.92);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  margin:14px 0;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.locked{
  opacity:.48;
  pointer-events:none;
}
label{
  display:block;
  margin:12px 0;
  color:#e5e7eb;
  font-weight:600;
}
input,select,textarea{
  width:100%;
  margin-top:6px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#020617;
  color:var(--text);
  padding:12px;
  font-size:16px;
}
textarea{min-height:110px}
button{
  border:0;
  border-radius:999px;
  padding:12px 16px;
  background:var(--accent);
  color:#00111a;
  font-weight:800;
  font-size:15px;
}
button:disabled{opacity:.4}
button.secondary{background:#64748b;color:white}
button.danger{background:var(--bad);color:white}
button.warning{background:var(--warn);color:#111827}
.row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0;
}
.row button{flex:1;min-width:145px}
.info{
  background:#020617;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px;
  margin-top:10px;
  color:#d1d5db;
  white-space:pre-wrap;
}
.videoWrap{
  background:#020617;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  aspect-ratio:9/16;
  max-height:520px;
  display:flex;
  justify-content:center;
}
video{
  width:100%;
  height:100%;
  object-fit:cover;
}
.promptBox{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  margin:14px 0;
  background:#020617;
}
.timer{
  color:#fbbf24;
  font-weight:800;
}
.pill{
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.idle{background:#475569}
.live{background:var(--bad)}
.done{background:var(--good);color:#052e16}
.progress{
  height:12px;
  background:#020617;
  border:1px solid var(--line);
  border-radius:999px;
  overflow:hidden;
}
#progressBar{
  height:100%;
  width:0%;
  background:var(--accent);
  transition:.2s;
}
#sectionList li{
  margin:8px 0;
  color:#d1d5db;
}
#sectionList li.complete{
  color:#86efac;
}
.check{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.check input{width:auto;margin-top:4px}
.report{
  background:white;
  color:#111827;
  padding:18px;
  border-radius:12px;
  margin-top:14px;
}
.report h2,.report h3{color:#111827}
.report table{
  width:100%;
  border-collapse:collapse;
}
.report td,.report th{
  border:1px solid #d1d5db;
  padding:8px;
  text-align:left;
}
@media (min-width:800px){
  .videoWrap{aspect-ratio:16/9}
}
