/* The diagnostic: one card, one question. Loaded only on /diagnostic. */
.dg-wrap { padding: 56px clamp(20px, 5vw, 80px) 80px; background: #F5F6F8; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.dg-app { width: 100%; max-width: 760px; }
.dg-card { background: #FFFFFF; border: 1px solid #D9DEE5; border-top: 4px solid #D89A2B; padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; animation: lepRise .35s ease both; }
.dg-head { display: flex; flex-direction: column; gap: 8px; }
.dg-progress { height: 6px; background: #E4E8EE; overflow: hidden; }
.dg-progress i { display: block; height: 100%; background: #D89A2B; transition: width .3s ease; }
.dg-count, .dg-fine { font-size: 13px; color: #5B6470; }
.dg-eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #D89A2B; font-weight: 700; }
.dg-intro { margin: 0; color: #5B6470; font-size: 16px; }
.dg-ask { margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; color: #0B2545; }
.dg-hint { margin: 0; color: #5B6470; font-size: 15.5px; line-height: 1.55; }
.dg-options { display: flex; flex-direction: column; gap: 10px; }
.dg-option { display: flex; align-items: center; gap: 14px; text-align: left; font: inherit; font-size: 16px; color: #16202A; background: #FFFFFF; border: 1.5px solid #D9DEE5; padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.dg-option:hover { border-color: #0B2545; transform: translateX(2px); }
.dg-option:focus-visible { outline: 2px solid #D89A2B; outline-offset: 2px; }
.dg-option.is-on { border-color: #0B2545; background: #F0F2F5; }
.dg-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #8FA0B8; position: relative; }
.dg-option.is-on .dg-dot { border-color: #0B2545; }
.dg-option.is-on .dg-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #0B2545; }
.dg-insight:empty { display: none; }
.dg-insight p { margin: 0; padding: 12px 16px; background: #FBF3E3; border-left: 3px solid #D89A2B; font-size: 15px; line-height: 1.55; color: #16202A; animation: lepRise .3s ease both; }
.dg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.dg-next { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 26px; background: #0B2545; color: #FFFFFF; border: 0; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; }
.dg-next:disabled { opacity: .45; cursor: default; }
.dg-next:not(:disabled):hover { background: #D89A2B; color: #071A33; }
.dg-back { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: #0B2545; text-decoration: underline; cursor: pointer; }
.dg-bars { display: flex; flex-direction: column; gap: 14px; }
.dg-bar { display: flex; flex-direction: column; gap: 5px; }
.dg-barhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dg-barhead strong { color: #0B2545; }
.dg-grade { font-family: "Fraunces", Georgia, serif; font-size: 22px; color: #0B2545; }
.dg-grade-big { font-size: 1.15em; color: #D89A2B; }
.dg-sub { font-family: "Manrope", system-ui, sans-serif; font-size: 16px; color: #5B6470; font-weight: 400; }
.dg-track { height: 10px; background: #E4E8EE; }
.dg-track i { display: block; height: 100%; background: #0B2545; transition: width .5s ease; }
.dg-line { font-size: 13.5px; color: #5B6470; }
.dg-gate { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid #D9DEE5; padding-top: 22px; }
.dg-gate h3 { margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 24px; color: #0B2545; }
.dg-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.dg-gate label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #0B2545; }
.dg-gate input[type="text"], .dg-gate input[type="email"], .dg-gate input[type="tel"], .dg-gate input:not([type]) { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #B8C0CC; background: #FFFFFF; color: #16202A; }
.dg-check { flex-direction: row !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; color: #5B6470 !important; font-size: 14px; line-height: 1.5; }
.dg-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.dg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dg-status { margin: 0; font-size: 14px; color: #3F7A52; min-height: 1.4em; }
.dg-status.bad { color: #9B3A23; }
@media (max-width: 560px) { .dg-fields { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .dg-card, .dg-insight p { animation: none; } .dg-option:hover { transform: none; } }
