:root {
  --cream: #FFF6E0;
  --coral: #FF6B5E;
  --coral-soft: #FFE1DD;
  --ink: #1A1410;
  --muted: #6B5F55;
  --card: #FFFFFF;
  --line: #EFE3C8;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--cream); color: var(--ink); }
body { font-family: 'Outfit', system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.45; }
.wrap { max-width: 520px; margin: 0 auto; padding: 20px 16px 40px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; margin-bottom: 20px; }
.logo { width: 32px; height: 32px; border-radius: 10px; background: var(--coral); color: #fff; display: grid; place-items: center; }
.card { background: var(--card); border-radius: 24px; padding: 24px 20px; box-shadow: 0 4px 20px rgba(26,20,16,.06); }
.center { text-align: center; }
h1 { font-size: 26px; margin: 0 0 4px; line-height: 1.2; }
h2 { margin: 0 0 12px; }
.muted { color: var(--muted); margin: 0 0 16px; }
.options { display: grid; gap: 10px; margin-bottom: 20px; }
.opt { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: var(--cream); border: 2px solid transparent; border-radius: 16px; padding: 14px; }
button.opt { cursor: pointer; }
.opt.sel { border-color: var(--coral); background: var(--coral-soft); }
.opt:focus-visible, .btn:focus-visible, .link:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.opt-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.opt-count { color: var(--muted); font-weight: 500; white-space: nowrap; }
.badge { margin-left: 8px; font-size: 12px; background: var(--coral); color: #fff; padding: 2px 8px; border-radius: 99px; vertical-align: middle; }
.bar { height: 8px; background: var(--line); border-radius: 99px; margin-top: 10px; overflow: hidden; }
.fill { height: 100%; background: var(--coral); border-radius: 99px; transition: width .3s; }
.label { display: block; font-weight: 600; margin: 0 0 6px; }
input, textarea { width: 100%; font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); margin-bottom: 16px; }
.btn { display: inline-flex; justify-content: center; align-items: center; font: inherit; font-weight: 600; border: 0; border-radius: 99px; padding: 14px 22px; background: var(--coral); color: #fff; text-decoration: none; cursor: pointer; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-wide { width: 100%; }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost { background: transparent; color: var(--coral); }
.link { display: block; margin: 18px auto 0; background: none; border: 0; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.notice { background: var(--cream); border-radius: 14px; padding: 14px; text-align: center; font-weight: 600; margin: 0; }
.notice.ok { background: var(--coral-soft); }
.error { color: #B3261E; margin: -8px 0 12px; }
.cta { text-align: center; margin-top: 32px; }
.cta p { font-weight: 600; margin: 0 0 12px; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
dialog { border: 0; border-radius: 24px; padding: 24px 20px; width: min(440px, calc(100% - 32px)); background: #fff; color: var(--ink); }
dialog::backdrop { background: rgba(26,20,16,.4); }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.radio { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.radio input { width: auto; margin: 0; accent-color: var(--coral); }
