/* Survey components using the unchanged ERMSH-DESIGNKIT 1.1.0 ci.css tokens. */
:root {
  color-scheme: light;
  font-family: var(--font-ui);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 15.12px; font-weight: 500; line-height: 1.6; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button:disabled, fieldset:disabled .button { opacity: .55; }
a { color: var(--brand); text-underline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 500; line-height: 1.25; }
strong { font-weight: 500; }
:is(button, a, summary, input, textarea):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.page-width { width: min(100% - 64px, 980px); margin-inline: auto; }
.hero { padding: 56px 0 40px; }
.hero h1 { max-width: 780px; font-size: clamp(32px, 4.8vw, 46px); letter-spacing: -.03em; }
.hero h1 span { color: var(--brand); }
.survey-section { padding-top: 8px; scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { font-size: 27px; letter-spacing: -.02em; }
.section-heading > span { font-size: 12px; color: var(--ink); white-space: nowrap; }
progress { appearance: none; display: block; width: 100%; height: 4px; border: 0; border-radius: 4px; background: var(--line); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--brand); border-radius: 4px; transition: width .2s ease; }
progress::-moz-progress-bar { background: var(--brand); border-radius: 4px; }
.scale-help { font-size: 13px; font-weight: 400; color: var(--ink); margin: 16px 0 24px; }
.form-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.question-card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); margin: 0 0 16px; padding: 24px; box-shadow: var(--shadow-panel); }
.question-card:focus-within { border-color: var(--brand-line); }
.question-card legend { float: left; width: 100%; padding: 0; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 12px; font-size: 16px; font-weight: 500; line-height: 1.5; }
.question-card legend + * { clear: both; }
.question-number { flex-shrink: 0; font-size: 11px; display: grid; place-items: center; width: 28px; height: 28px; background: var(--brand-soft); border-radius: 6px; color: var(--brand); font-variant-numeric: tabular-nums; }
.question-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.rating-choice { position: relative; display: block; min-width: 0; cursor: pointer; }
.rating-choice input, .unsure-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; inset: 50% auto auto 50%; margin: 0; }
.rating-content { height: 100%; min-height: 98px; padding: 12px 7px 10px; border: 1px solid var(--control-line); border-radius: 6px; background: var(--paper); display: flex; align-items: center; justify-content: flex-start; flex-direction: column; text-align: center; gap: 8px; transition: background .15s, border-color .15s, color .15s; }
.rating-value { font-size: 23px; font-weight: 500; line-height: 1.2; color: var(--brand); }
.rating-text { font-size: 11px; font-weight: 500; line-height: 1.4; hyphens: none; word-break: normal; overflow-wrap: normal; color: var(--ink); max-width: 110px; }
.rating-choice:hover .rating-content { border-color: var(--brand); background: var(--brand-soft); }
.rating-choice input:checked + .rating-content { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.rating-choice input:checked + .rating-content .rating-value, .rating-choice input:checked + .rating-content .rating-text { color: var(--paper); }
.rating-choice input:checked + .rating-content:hover { background: var(--brand-hover); }
.rating-choice input:focus-visible + .rating-content, .unsure-choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.unsure-choice { position: relative; display: inline-block; margin-top: 12px; cursor: pointer; }
.unsure-choice > span { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 500; color: var(--ink); border-radius: 6px; }
.unsure-choice > span::before { content: ''; display: block; width: 18px; height: 18px; border: 1px solid var(--control-line); border-radius: 50%; background: var(--paper); flex-shrink: 0; }
.unsure-choice input:checked + span { color: var(--brand); }
.unsure-choice input:checked + span::before { border: 6px solid var(--brand); }
fieldset:disabled .rating-choice, fieldset:disabled .unsure-choice { cursor: default; }
fieldset:disabled .question-card { opacity: .65; }
.privacy-card { padding: 24px; margin: 24px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.privacy-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--brand); }
.privacy-heading svg { flex-shrink: 0; }
.privacy-heading h2 { font-size: 18px; }
.privacy-card p { font-size: 13px; font-weight: 400; color: var(--ink); line-height: 1.8; }
.privacy-card > p + p { margin-top: 12px; }
details { margin-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 0; list-style: none; cursor: pointer; color: var(--ink); font-weight: 500; }
summary::-webkit-details-marker { display: none; }
.details-chevron { width: 18px; height: 18px; flex-shrink: 0; transition: transform .16s; }
details[open] > summary .details-chevron { transform: rotate(180deg); }
.privacy-details { border-left: 2px solid var(--line); padding-left: 16px; margin: 12px 0 20px; }
.privacy-details p + p { margin-top: 12px; }
#privacy-operator-details { white-space: pre-wrap; }
.acknowledgement { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin-top: 16px; cursor: pointer; font-size: 13px; font-weight: 500; line-height: 1.65; }
.acknowledgement input { appearance: none; position: relative; width: 20px; height: 20px; flex-shrink: 0; margin: 2px 0 0; border: 1px solid var(--control-line); border-radius: 4px; background: var(--paper); cursor: pointer; }
.acknowledgement input:checked { background: var(--brand); border-color: var(--brand); }
.acknowledgement input:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.submit-area { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.submit-area p { font-size: 13px; font-weight: 400; color: var(--ink); max-width: 440px; line-height: 1.7; }
.button { border: 1px solid var(--control-line); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border-radius: 6px; min-height: 44px; padding: 10px 16px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.5; white-space: normal; text-align: center; transition: background .15s; }
.button-primary { background: var(--brand); border-color: var(--brand); color: var(--paper); min-width: 210px; }
.button-primary:hover:not(:disabled) { background: var(--brand-hover); }
.button-quiet:hover:not(:disabled) { background: var(--canvas); }
.status-message { margin: 16px 0; padding: 18px; border: 1px solid var(--brand-line); border-radius: 10px; background: var(--brand-soft); color: var(--ink); font-size: 14px; font-weight: 400; }
.status-message p { margin-bottom: 12px; }
.status-error { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger); }
.completion-card { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 40px 24px; margin-top: 24px; }
.completion-icon { display: grid; place-items: center; width: 64px; height: 64px; background: var(--success-soft); border: 1px solid var(--success-line); border-radius: 50%; font-size: 32px; color: var(--success); margin: 0 auto 24px; }
.completion-card .eyebrow { justify-content: center; margin-bottom: 12px; }
.completion-card h2 { font-size: 30px; letter-spacing: -.025em; margin-bottom: 16px; }
.completion-card p:not(.eyebrow) { max-width: 520px; margin-inline: auto; color: var(--ink); font-size: 14px; font-weight: 400; }
.completion-card .completion-note { font-size: 12px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); line-height: 1.6; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 24px 0 40px; font-size: 12px; color: var(--ink); }
.site-footer > span:first-child { color: var(--brand); }
.site-footer p { flex-basis: 100%; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; padding: 12px 18px; background: var(--brand); color: var(--paper); z-index: 20; border-radius: 6px; }
.skip-link:focus { top: 16px; }
.access-card { max-width: 600px; margin: 0 auto 24px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-panel); }
.access-card h2 { font-size: 25px; letter-spacing: -.02em; margin-bottom: 12px; }
.access-card > p { font-size: 14px; font-weight: 400; color: var(--ink); }
.access-card form { margin-top: 24px; }
.access-card label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.access-controls { display: flex; align-items: stretch; gap: 12px; }
.access-controls input { width: 148px; min-width: 0; min-height: 45px; border: 1px solid var(--control-line); border-radius: 6px; background: var(--paper); padding: 10px 16px; color: var(--ink); font-size: 22px; letter-spacing: .35em; text-align: center; }
.access-controls .button { min-width: 0; flex: 1; }
.access-card .access-cookie { font-size: 12px; line-height: 1.7; margin-top: 24px; }
.access-error, .access-wait { font-size: 13px; font-weight: 400; line-height: 1.6; margin-top: 12px; }
.access-error { color: var(--danger); }
.access-wait { color: var(--warning); }
.access-controls input[aria-invalid='true'] { border-color: var(--danger); }
.app-shell { width: min(100% - 40px, 680px); margin: 32px auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--brand); font-size: 17px; font-weight: 500; line-height: 1.4; text-decoration: none; }
.app-shell > .brand { justify-content: space-between; flex-wrap: wrap; margin-bottom: 24px; }
.app-shell > .brand a { text-decoration: none; }
.card { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-panel); }
.card > h1 { font-size: 29.7px; letter-spacing: -.025em; margin: 12px 0 16px; }
.intro { font-size: 15px; font-weight: 400; color: var(--ink); margin-bottom: 24px; }
.field { margin: 24px 0; }
.field > label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field input { display: block; width: 100%; border: 1px solid var(--control-line); border-radius: 6px; background: var(--paper); min-height: 45px; padding: 10px 12px; color: var(--ink); }
.muted { font-size: 12px; font-weight: 400; color: var(--ink); margin-top: 8px; overflow-wrap: anywhere; }
.status { padding: 16px 18px; margin-top: 24px; font-size: 13px; font-weight: 400; border-radius: 10px; border: 1px solid var(--brand-line); background: var(--brand-soft); color: var(--ink); }
.status[data-state='error'] { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger); }
.status[data-state='success'] { background: var(--success-soft); border-color: var(--success-line); color: var(--success); }
.footer { padding: 24px 0; font-size: 12px; font-weight: 400; color: var(--ink); }
.survey-accent { width: 100%; height: var(--accent-stripe-height); background: var(--accent-stripe); }
.comment-card { padding: 24px; margin: 24px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.comment-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
.comment-heading label { font-size: 16px; font-weight: 500; }
.comment-heading > span { font-size: 12px; font-weight: 400; }
#comment-hint { margin-top: 8px; font-size: 13px; font-weight: 400; }
#survey-comment { display: block; width: 100%; max-width: 100%; min-height: 120px; margin: 16px 0 8px; padding: 12px; border: 1px solid var(--control-line); border-radius: 6px; background: var(--paper); color: var(--ink); font-size: 16px; font-weight: 400; line-height: 1.6; resize: vertical; }
.comment-count { text-align: right; font-size: 12px; font-weight: 400; color: var(--ink); }
@media (max-width: 760px) {
  .page-width { width: min(100% - 40px, 600px); }
  .hero { padding: 32px 0; }
  .hero h1 { font-size: 37px; }
  .section-heading h2 { font-size: 25px; }
  .question-card { padding: 20px 21px 16px; }
  .question-card legend { font-size: 15px; gap: 12px; }
  .question-options { gap: 7px; }
  .rating-content { padding-inline: 4px; min-height: 102px; }
  .rating-text { font-size: 11px; }
  .submit-area { flex-direction: column; align-items: stretch; gap: 16px; }
  .submit-area p { max-width: none; }
  .button-primary { width: 100%; }
  .privacy-card, .comment-card { padding: 18px; }
  .completion-card h2 { font-size: 27px; }
}
@media (max-width: 600px) {
  .app-shell { margin-top: 24px; }
  .card { padding: 18px; }
  .card > h1 { font-size: 27px; }
  .app-shell .button-primary { min-width: 0; }
}
@media (max-width: 480px) {
  .question-options { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
  .rating-text { font-size: 12px; }
  .rating-content { padding-inline: 6px; min-height: 112px; }
}
@media (max-width: 400px) {
  .page-width { width: calc(100% - 28px); }
  .hero h1 { font-size: 32px; }
  .question-card { padding: 18px 13px 12px; }
  .question-card legend { font-size: 14px; }
  .question-options { gap: 8px; }
  .rating-content { padding-inline: 2px; min-height: 99px; }
  .rating-value { font-size: 21px; }
  .rating-text { font-size: 12px; }
  .section-heading > span { font-size: 10px; }
  .section-heading h2 { font-size: 23px; }
  .access-card { padding: 18px; }
  .access-controls { flex-direction: column; gap: 12px; }
  .access-controls input { width: 100%; }
  .access-card h2 { font-size: 23px; }
}
@media (max-width: 360px) {
  .question-card { padding-inline: 6px; }
  .question-options { gap: 8px; }
  .rating-content { padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
