* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #f6f5f2; color: #1d1d1f;
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.band {
  position: sticky; top: 0; z-index: 10; padding: 8px 16px;
  background: #fff3c4; color: #5c4400; font-size: 14px; font-weight: 600; text-align: center;
  border-bottom: 1px solid #e8d48a;
}
.top {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 560px; margin: 0 auto; padding: 12px 16px 0;
}
.brand { font-weight: 700; letter-spacing: .2px; }
.lang button {
  font: inherit; font-size: 14px; padding: 4px 10px; border: 1px solid #c9c6bd; background: #fff; color: #1d1d1f;
  border-radius: 6px; margin-left: 4px;
}
.lang button[aria-pressed="true"] { background: #1d1d1f; color: #fff; border-color: #1d1d1f; }
main { max-width: 560px; margin: 0 auto; padding: 8px 16px 48px; }
h1 { font-size: 24px; line-height: 1.25; margin: 16px 0 8px; }
h2 { font-size: 18px; margin: 24px 0 8px; }
p, li { margin: 8px 0; }
ul { padding-left: 20px; }
.muted { color: #5f5d57; font-size: 15px; }
.card { background: #fff; border-radius: 12px; padding: 16px; margin: 16px 0; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.q { margin: 0 0 4px; font-weight: 600; }
.opts label {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 6px 0;
  border: 1px solid #dedad0; border-radius: 10px; background: #fff; min-height: 44px;
}
.opts input { width: 20px; height: 20px; margin: 0; flex: none; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.scale label {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid #dedad0; border-radius: 10px; min-height: 48px; background: #fff; font-weight: 600;
}
.scale input { margin: 0 0 2px; width: 18px; height: 18px; }
.scale-ends { display: flex; justify-content: space-between; font-size: 13px; color: #5f5d57; margin-top: 4px; gap: 8px; }
.scale-ends span:last-child { text-align: right; }
.consent { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid #dedad0; border-radius: 10px; background: #fff; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
textarea {
  width: 100%; min-height: 72px; font: inherit; padding: 10px; border: 1px solid #c9c6bd; border-radius: 10px; resize: vertical;
}
.warn { font-size: 14px; color: #8a3b00; margin-top: 4px; }
.btn {
  display: block; width: 100%; font: inherit; font-weight: 700; padding: 14px; margin: 16px 0 8px;
  border: 0; border-radius: 12px; background: #1d1d1f; color: #fff; min-height: 50px;
}
.btn:disabled { background: #b9b6ad; }
.btn.secondary { background: #fff; color: #1d1d1f; border: 1px solid #c9c6bd; }
.link-btn { background: none; border: 0; color: #0a58ca; font: inherit; font-size: 15px; text-decoration: underline; padding: 8px 0; }
.err { color: #b00020; font-weight: 600; }
.video-wrap { display: flex; justify-content: center; margin: 12px 0; }
video { width: 100%; max-width: 340px; aspect-ratio: 9 / 16; background: #000; border-radius: 12px; }
.progress { font-size: 14px; color: #5f5d57; margin-top: 12px; }
code, .url { font-family: ui-monospace, Menlo, monospace; font-size: 13px; word-break: break-all; background: #efede7; padding: 2px 4px; border-radius: 4px; }
.foot { text-align: center; font-size: 13px; color: #5f5d57; padding: 20px 12px calc(20px + env(safe-area-inset-bottom)); }
.foot a { color: #5f5d57; }
