:root{
  --bg:#f7f7fb;
  --card:#fff;
  --accent:#2b6cb0;
  --muted:#666;
}
*{box-sizing:border-box}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  background:linear-gradient(180deg,#eef2ff, var(--bg));
  margin:0;
  padding:24px;
  color:#111;
}
main{
  max-width:980px;
  margin:0 auto;
  background:var(--card);
  padding:20px 28px;
  border-radius:10px;
  box-shadow:0 6px 24px rgba(15,23,42,0.08);
}
h1{margin-top:0}
section{margin-bottom:18px}
label{
  display:block;
  margin-bottom:10px;
}
input[type="text"], input[type="file"]{
  display:block;
  width:100%;
  padding:8px 10px;
  border:1px solid #d0d7de;
  border-radius:6px;
}
.note{color:var(--muted);font-size:0.95em}
.buttons{display:flex;gap:10px}
button{
  background:var(--accent);
  color:#fff;
  padding:10px 14px;
  border-radius:8px;
  border:0;
  cursor:pointer;
}
button#previewManifestBtn{background:#2f855a}
pre{
  background:#0f1724;
  color:#dbeafe;
  padding:12px;
  border-radius:8px;
  overflow:auto;
}
.fileinfo{font-size:0.9em;color:var(--muted);margin-top:6px}

/* Sound input rows */
.sound-row{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:8px;
  padding:8px;
  border:1px solid #eef2ff;
  border-radius:8px;
  background:linear-gradient(180deg, rgba(255,255,255,0.6), rgba(250,250,255,0.4));
}
.sound-thumb{
  width:56px;
  height:56px;
  object-fit:cover;
  border-radius:6px;
  background:#fff;
  border:1px solid #e2e8f0;
  flex: 0 0 56px;
}
.sound-row label{flex:1;margin:0; font-weight:600}
.sound-row input[type="file"]{flex:0 0 260px}
footer{margin-top:18px;color:var(--muted);font-size:0.9em}