:root { font-family: Avenir Next, system-ui, sans-serif; color: #17211b; background: #f5f7f4; }
* { box-sizing: border-box; }
body { margin: 0; }
button { height: 38px; border: 1px solid #b8c1bb; border-radius: 6px; background: #fff; padding: 0 14px; font: inherit; cursor: pointer; }
header { position: sticky; top: 0; z-index: 5; min-height: 58px; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; background: #173c2c; }
header span { margin-left: 14px; color: #d5e2db; font-size: 13px; }
.actions { display: flex; gap: 8px; }
main { max-width: 1440px; margin: 0 auto; padding: 28px 24px 50px; }
.voice-section { margin-bottom: 30px; }
.voice-head { display: grid; grid-template-columns: 150px minmax(300px, 560px); align-items: center; gap: 24px; padding: 14px 16px; border-bottom: 5px solid #eda92f; background: #eef2ee; }
.voice-head h2 { margin: 0; font-size: 24px; }
.reference { display: grid; grid-template-columns: 76px minmax(220px, 1fr); align-items: center; gap: 12px; font-size: 13px; font-weight: 700; }
audio { width: 100%; height: 34px; }
.questions { border: 1px solid #d7ddd8; border-top: 0; border-bottom: 0; background: #fff; }
.question { display: grid; grid-template-columns: minmax(230px, 1.1fr) minmax(640px, 3fr); border-bottom: 1px solid #d7ddd8; }
.prompt { padding: 14px; background: #fafbf9; border-right: 1px solid #d7ddd8; }
.prompt .meta { color: #68736c; font-size: 12px; font-weight: 700; }
.prompt p { margin: 7px 0 0; font-family: Georgia, serif; font-size: 14px; line-height: 1.45; }
.candidates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.candidate { min-width: 0; padding: 12px 10px; border-right: 1px solid #e1e5e2; cursor: pointer; }
.candidate:last-child { border-right: 0; }
.candidate:has(input:checked) { background: #e9f3ed; box-shadow: inset 0 4px #277351; }
.candidate-label { display: block; margin-bottom: 8px; color: #59665f; font-size: 12px; font-weight: 800; }
.candidate input { position: absolute; opacity: 0; pointer-events: none; }
.select-text { display: block; margin-top: 8px; padding: 6px; border: 1px solid #cbd3ce; border-radius: 5px; text-align: center; font-size: 13px; }
.candidate:has(input:checked) .select-text { color: #fff; background: #277351; border-color: #277351; }
@media (max-width: 900px) {
  header { padding: 8px 12px; }
  header strong { font-size: 14px; }
  #identity { display: block; margin: 2px 0 0; }
  main { padding: 18px 12px 36px; }
  .voice-head { grid-template-columns: 1fr; gap: 10px; }
  .reference { grid-template-columns: 72px minmax(0, 1fr); }
  .question { display: block; }
  .prompt { border-right: 0; border-bottom: 1px solid #d7ddd8; }
  .candidates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .candidate:nth-child(2) { border-right: 0; }
  .candidate:nth-child(-n+2) { border-bottom: 1px solid #e1e5e2; }
}
