:root {
  color-scheme: light;
  font: 16px/1.6 system-ui, sans-serif;
  color: #1e314c;
  background: #f5f8fc;
}
* { box-sizing: border-box; }
body { margin: 0 auto; padding: 0 18px 32px; max-width: 696px; }
header { display: flex; justify-content: space-between; align-items: center; padding: 22px 2px; }
header a { color: #3f6285; font-size: 14px; text-underline-offset: 4px; }
.site-name { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 17px; font-weight: 650; color: #203955; }
main { background: #fff; border: 1px solid #d4dfeb; border-top: 4px solid #3669a2; border-radius: 10px; padding: clamp(20px, 5vw, 40px); }
h1 { margin: 0; font-size: clamp(22px, 4vw, 30px); line-height: 1.35; }
.intro { margin: 8px 0 26px; color: #51657b; }
fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; border: 0; }
fieldset label { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 15px; border: 1px solid #bbcbdd; border-radius: 6px; cursor: pointer; }
input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: #265e99; }
.note-label { display: block; margin: 16px 0 5px; }
.note-label small { color: #52667c; }
#survey-note { width: 100%; padding: 9px 12px; border: 1px solid #bbcbdd; border-radius: 6px; font: inherit; color: inherit; }
#saved-note { overflow-wrap: anywhere; }
label:has(:checked), .reasons [aria-pressed="true"] { background: #edf4fc; border-color: #3268a0; color: #194f88; }
label:focus-within, :is(button, a):focus-visible { outline: 2px solid #3268a0; outline-offset: 2px; }
button { min-height: 44px; padding: 7px 16px; border: 1px solid #bbcbdd; border-radius: 6px; color: #245587; background: #fff; font: inherit; cursor: pointer; }
button:hover, label:hover { border-color: #3268a0; }
button:disabled { opacity: .6; cursor: wait; }
.actions { margin-top: 20px; display: flex; gap: 10px; }
.primary { background: #265e99; color: white; border-color: #265e99; }
.primary:hover { background: #194979; }
.receipt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 6px; background: #edf4fc; }
.receipt span { font-size: 14px; color: #425d78; }
.receipt strong { display: block; font-size: 20px; }
h2 { margin: 22px 0 10px; font-size: 17px; }
h2 small { font-size: 13px; font-weight: 400; color: #52667c; margin-left: 8px; }
.reasons { display: flex; flex-wrap: wrap; gap: 8px; }
#survey-status { color: #365b7c; margin: 12px 0 0; }
footer { border-top: 1px solid #dce5ee; margin-top: 24px; padding-top: 14px; color: #556a80; font-size: 14px; }
[hidden], #survey-status:empty { display: none; }
@media (max-width: 440px) {
  header { padding-block: 14px; }
  fieldset { grid-template-columns: 1fr; }
  fieldset label { min-height: 46px; }
  .intro { margin-bottom: 18px; }
}
