#handoff{width:min(620px,calc(100% - 32px));max-height:90dvh;padding:40px;border:0;border-radius:24px;color:#203437;background:#f7f8f6;overflow:auto}#handoff::backdrop{background:#152522aa;backdrop-filter:blur(7px)}#handoff .assessment-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;font-size:14px}#handoff .assessment-close{background:transparent;font-size:24px;width:44px;height:44px}#handoff progress{width:100%;height:5px;accent-color:#708637;margin-bottom:30px}#handoff h2{font-size:clamp(28px,5vw,40px);margin-bottom:16px}#handoff .assessment-options{display:grid;gap:10px;margin:24px 0}#handoff .assessment-option{padding:18px;text-align:left;background:white;border:1px solid #d3dbd5;border-radius:12px;color:inherit;min-height:58px}#handoff .assessment-option[aria-pressed=true]{border-color:#526c32;background:#eaf5d6}#handoff input[type=number]{width:100%;padding:18px;font-size:32px;border:1px solid #c4cec7;border-radius:12px;background:#fff;color:inherit;margin:20px 0}#handoff .assessment-actions{display:flex;justify-content:space-between;gap:15px;margin-top:26px}#handoff .assessment-next{background:#253a32;color:#d3ff8b;border-radius:12px;padding:16px 22px;min-height:52px}#handoff .assessment-back{background:transparent;color:inherit;min-height:48px}#handoff .assessment-error{color:#9b302e;min-height:24px;font-size:14px}#handoff .assessment-note{font-size:13px;color:#53615b;margin-top:22px}#handoff dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:16px}#handoff dd{margin:0;text-align:right}#handoff .ack{display:flex;gap:12px;line-height:1.5;font-size:15px;margin-top:24px}#handoff .ack input{width:20px;height:20px;flex-shrink:0}#handoff .assessment-panel{animation:assessment-enter .2s ease-out}@keyframes assessment-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:600px){#handoff{padding:24px}}@media(prefers-reduced-motion:reduce){#handoff .assessment-panel{animation:none}}

/* Compact question cards; scrolling remains available for enlarged text and small viewports. */
#handoff .test-week-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}
#handoff .test-week-nav button{width:44px;height:44px;border:1px solid #c4cec7;border-radius:12px;background:white;color:inherit}
#handoff .test-week-nav button:disabled{opacity:.35}
#handoff .test-slots{max-height:36dvh;overflow:auto;overscroll-behavior:contain;padding:0 4px 10px 0}
#handoff .test-slots h3{font-size:16px;margin:18px 0 8px}
#handoff .test-slots button{min-height:44px;min-width:70px;padding:8px 12px;margin:0 6px 6px 0;border:1px solid #c4cec7;border-radius:10px;background:white;color:inherit}
#handoff .test-slots button[aria-pressed=true]{background:#253a32;color:#d3ff8b}
#handoff .assessment-error:empty,#handoff .assessment-actions:empty{display:none}
#handoff .test-contact-field{display:grid;gap:7px;margin:16px 0;font-size:15px}
#handoff .test-contact-field input{box-sizing:border-box;width:100%;min-width:0;padding:13px 15px;border:1px solid #c4cec7;border-radius:12px;background:white;color:inherit;font:inherit;font-size:16px;min-height:48px}
#handoff .assessment-next:disabled{opacity:.45;cursor:not-allowed}
#handoff .test-review{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:10px 16px;font-size:15px;line-height:1.4}
#handoff .test-review dd{overflow-wrap:anywhere}
#handoff .test-checkout-status{padding:14px;border-radius:12px;background:#e9eedf;font-size:14px;line-height:1.5}
#handoff h2{margin-top:0}
#handoff .assessment-note{margin-bottom:0}
@media(max-width:600px){
 #handoff{padding:20px;max-height:calc(100dvh - 24px)}
 #handoff .assessment-top{margin-bottom:12px;font-size:13px}
 #handoff progress{display:block;margin-bottom:20px}
 #handoff h2{font-size:28px;line-height:1.15;margin-bottom:16px}
 #handoff .assessment-options{gap:9px;margin:18px 0 0}
 #handoff .assessment-option{font-size:16px;line-height:1.4;padding:13px 15px;min-height:50px}
 #handoff .assessment-note{font-size:12px;line-height:1.4;margin-top:16px}
}
