:root{
  --bg:#ffffff;
  --fg:#111111;
  --muted:#666666;
  --border:#dddddd;
}
*{box-sizing:border-box}
body{
  margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background:var(--bg); color:var(--fg);
}
.container{ max-width:800px; margin:40px auto; padding:0 16px; }
header h1{ margin:0 0 4px 0; font-weight:700; }
.subtitle{ color:var(--muted); margin-top:0 }
.notice{ border:1px solid var(--border); padding:12px 14px; border-radius:6px; background:#fff; margin:12px 0 16px 0; }
.notice p{ margin:8px 0; }

.section{ border:1px solid var(--border); margin:16px 0; border-radius:6px; background:#fff; }
.section-title{ width:100%; text-align:center; padding:16px 18px; font-size:18px; border:none; border-bottom:1px solid var(--border); background:#fff; cursor:pointer; }
.section-content{ padding:14px 16px; }
.illustration{ margin:8px 0 16px 0; }
.illustration img{ max-width:100%; height:auto; display:block; border:1px solid var(--border); filter: grayscale(100%); }

.subsection{ border:1px dashed var(--border); border-radius:6px; margin:12px 0; }
.subsection-title{ width:100%; text-align:center; padding:12px 14px; border:none; background:#fff; cursor:pointer; border-bottom:1px dashed var(--border); font-weight:600; font-size:16px; }
.subsection-content{ padding:10px 12px; }

.field{ margin:12px 0; display:block; }
label{ display:block; margin-bottom:6px; }
input[type="text"], input[type="number"], input[type="email"], select{
  width:100%; padding:10px 12px; border:1px solid var(--border); border-radius:4px; background:#fff; color:var(--fg);
}
.options{ display:flex; flex-direction:column; gap:8px; }
.options-inline{ flex-direction:row; flex-wrap:nowrap; gap:12px; overflow-x:auto; }
.options label{ display:flex; align-items:center; gap:6px; font-weight:500; }
.req{ color:#000; }
.error{ color:#b00020; margin:6px 0 0 0; font-size:13px; min-height:18px; }
.helper{ color:var(--muted); font-size:14px; margin:0 0 8px 0; }

.actions{ display:flex; justify-content:flex-end; margin-top:24px; }
.submit{ background:#000; color:#fff; border:none; padding:12px 20px; border-radius:4px; text-decoration:none; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:10px; position:relative; font-size:17px; min-width:200px; }
.submit:hover{ opacity:.9 }

/* minimal spinner - black & white */
.spinner{ width:16px; height:16px; border:2px solid #fff; border-top-color:#000; border-radius:50%; display:none; animation:spin .8s linear infinite; }
.submit.loading .spinner{ display:inline-block; }
.submit.loading{ opacity:.8; cursor:wait; }
.submit.loading .btn-label{ opacity:.9; }
@keyframes spin{ to{ transform:rotate(360deg);} }

.collapsed > .section-content,
.collapsed > .subsection-content{ display:none; }

.highlight-missing{ outline:2px solid #b00020; outline-offset:2px; }
.answered{ outline:2px solid #2e7d32; outline-offset:2px; }
.note{ border-left:4px solid #000; padding:8px 12px; margin:8px 0 12px 0; background:#fafafa; }
.stat-card{ border:1px solid var(--border); border-radius:6px; padding:12px 16px; margin:12px 0; background:#fff; display:inline-block; }
.stat-number{ font-size:32px; font-weight:700; }
.stat-label{ color:var(--muted); font-size:14px; }


