/* content-check styles (self-assessments). Every class starts with check- so nothing collides. */
.check-host { padding: 0; }
.check-root { display: flex; flex-direction: column; min-height: calc(min(832px, 100vh - 32px) - 56px); }
.check-footer { position: sticky; bottom: 0; margin-top: auto; padding: 12px 20px 20px; background: linear-gradient(to bottom, #fff0, var(--page) 24%); }
.check-nav { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.check-footer .btn:disabled { background: #d5d9e2; color: #8b93a3; cursor: default; }
.check-footer .btn.ghost:disabled { background: var(--surface); color: #b3b9c6; }

/* intro */
.check-hero { margin: 8px 20px 0; height: 168px; border-radius: 20px; overflow: hidden; }
.check-hero svg { display: block; width: 100%; height: 100%; }
.check-intro { padding: 16px 20px 8px; }
.check-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.check-chip { border-radius: 999px; padding: 4px 10px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 700; }
.check-title { margin: 12px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; }
.check-text { margin: 10px 0 0; color: #3a4252; font-size: 16px; line-height: 1.6; word-break: keep-all; }
.check-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--surface); color: var(--ink-sub); font-size: 14px; }
.check-note-icon { flex: none; display: inline-flex; color: #d99a1c; }

/* question */
.check-progress { height: 6px; margin: 4px 20px 0; border-radius: 3px; background: var(--line); overflow: hidden; }
.check-progress-fill { height: 100%; border-radius: 3px; background: var(--primary); transition: width .2s ease; }
.check-count { display: flex; align-items: baseline; gap: 4px; margin: 16px 20px 0; color: var(--ink-sub); font-size: 15px; }
.check-count strong { color: var(--primary); font-size: 22px; }
.check-answered { margin-left: auto; font-size: 13px; }
.check-question { margin: 14px 20px 0; font-size: 21px; font-weight: 700; line-height: 1.5; letter-spacing: -0.02em; word-break: keep-all; }
.check-options { display: flex; flex-direction: column; gap: 10px; margin: 22px 20px 12px; }
.check-options.is-yesno { flex-direction: row; }
.check-options.is-yesno .check-option { flex: 1; justify-content: center; min-height: 72px; }
.check-option { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--page); cursor: pointer; font-size: 17px; }
.check-option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.check-radio { flex: none; width: 24px; height: 24px; border: 2px solid #aab2c2; border-radius: 50%; background: #fff; }
.check-option.is-selected { border-color: var(--primary); background: var(--primary-soft); font-weight: 700; }
.check-option.is-selected .check-radio { border-color: var(--primary); background: radial-gradient(circle, var(--primary) 0 45%, #fff 50%); }
.check-option:focus-within { outline: 3px solid #2b61c155; outline-offset: 1px; }

/* result */
.check-result { padding: 8px 20px 0; }
.check-date { margin: 0; color: var(--ink-sub); font-size: 14px; }
.check-score { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.check-score strong { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.check-score small { color: var(--ink-sub); font-size: 14px; }
.check-verdict { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px; border-radius: 18px; background: var(--surface); }
.check-verdict.is-green { background: #e9f7f0; }
.check-verdict.is-yellow { background: #fdf5dc; }
.check-verdict.is-red { background: #fdeaea; }
.check-lights { flex: none; display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-radius: 999px; background: #2a2f3a; }
.check-light { width: 20px; height: 20px; border-radius: 50%; background: #4a5162; }
.check-light.is-red.is-on { background: #e5484d; box-shadow: 0 0 10px #e5484d99; }
.check-light.is-yellow.is-on { background: #f5c542; box-shadow: 0 0 10px #f5c54299; }
.check-light.is-green.is-on { background: #3fb37f; box-shadow: 0 0 10px #3fb37f99; }
.check-verdict-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.check-verdict-text strong { font-size: 20px; line-height: 1.3; word-break: keep-all; }
.check-verdict-text small { font-size: 14px; font-weight: 700; }
.check-verdict.is-green .check-verdict-text small { color: #1f7a52; }
.check-verdict.is-yellow .check-verdict-text small { color: #8a6500; }
.check-verdict.is-red .check-verdict-text small { color: #c0272d; }
.check-advice { margin: 18px 0 0; font-size: 16px; line-height: 1.65; word-break: keep-all; }
.check-consult { margin: 10px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--surface); color: #3a4252; font-size: 15px; line-height: 1.55; word-break: keep-all; }
.check-hint { margin: 10px 0 0; color: var(--ink-sub); font-size: 13px; }
.check-disclaimer { margin: 14px 0 12px; color: var(--ink-sub); font-size: 13px; line-height: 1.5; word-break: keep-all; }
