/* A single NIHSS item stays readable while the score index keeps the whole exam in view. */
.nih-panel{margin-top:24px;border:1px solid #a8bacd;border-radius:12px;background:#f4f7fb;color:#233a50;overflow:hidden}
.nih-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px;background:#e5edf6;border-bottom:1px solid #c2d0df}
.nih-header .eyebrow{color:#355979;font-size:.75rem;margin:0 0 5px}
.nih-header h2{font:700 1.5rem/1.2 system-ui;margin:0 0 8px;color:#183a57}
.nih-header p{font-size:1rem;line-height:1.5;margin:0;color:#496176}
.nih-total{flex:0 1 240px;min-width:145px;border-left:3px solid #426f93;padding-left:14px}
.nih-total span,.nih-total strong,.nih-total small{display:block}
.nih-total span{font-size:.875rem;color:#486177}
.nih-total strong{font:750 1.35rem/1.25 system-ui;margin:4px 0;overflow-wrap:anywhere}
.nih-total small{font-size:.875rem;line-height:1.4;color:#486177}
.nih-airway{margin:16px 18px;background:#fff1d8;border:1px solid #d5b779;border-radius:7px;color:#503e20}
.nih-airway summary{padding:12px 14px;font-size:1rem;font-weight:700;cursor:pointer}
.nih-airway p,.nih-airway li{color:#503e20;font-size:1rem;line-height:1.5}
.nih-airway p{margin:0 14px 12px}.nih-airway ul{margin:0 16px 12px 30px;padding:0}.nih-airway li{margin-bottom:8px}
.nih-item-nav{display:flex;flex-wrap:wrap;gap:5px;padding:0 18px 16px}
.ev-page .nih-item-nav button{flex:1 0 40px;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-width:40px;min-height:58px;padding:6px;background:#fff;color:#466077;border:1px solid #b2c2d1;border-radius:6px}
.nih-item-nav button span{font-size:.875rem;font-weight:500}.nih-item-nav button b{font-size:1rem}
.ev-page .nih-item-nav button[aria-pressed=true]{background:#234f72;color:#fff;border-color:#234f72;box-shadow:0 0 0 2px #90b6d2}
.nih-item{margin:0 18px 18px;padding:20px;border:1px solid #b2c4d5;border-radius:8px;background:#fff}
.nih-item-heading{display:flex;gap:12px;align-items:center}
.nih-item-heading>span{display:grid;place-items:center;min-width:42px;min-height:42px;padding:5px;background:#e3edf5;color:#234e70;border-radius:7px;font-size:1.1rem;font-weight:750}
.nih-item-heading h3{flex:1;font:700 1.2rem/1.3 system-ui;margin:0;color:#203d57}
.nih-item-heading>small{font-size:.875rem;color:#597086;white-space:nowrap}
.nih-task{color:#304c64;font-size:1.05rem;line-height:1.6;margin:14px 0}
.nih-source-action{display:inline-block;color:#165781;font-size:1rem;font-weight:650;margin-bottom:14px;text-underline-offset:3px}
.nih-choices{display:flex;flex-direction:column;gap:8px}
.ev-page .nih-choices button{display:flex;align-items:center;gap:13px;text-align:left;padding:11px 14px;min-height:57px;color:#294960;background:#f6f9fc;border:1px solid #b5c7d7;font-size:1rem;font-weight:450;line-height:1.4}
.nih-choices button b{display:grid;place-items:center;flex:0 0 33px;min-height:33px;border:1px solid #b5c7d7;border-radius:6px;background:#fff;font-size:1.1rem;font-weight:750}
.ev-page .nih-choices button[aria-pressed=true]{background:#dceee7;color:#173f35;border-color:#30765f;box-shadow:inset 0 0 0 1px #30765f}
.nih-choices button[aria-pressed=true] b{background:#24634f;color:#fff;border-color:#24634f}
.nih-guidance{font-size:.9375rem;color:#455d70;line-height:1.6;padding:12px 14px;background:#edf3f8;border-left:3px solid #7095b4;margin:14px 0}
.nih-step-controls{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-top:16px}
.ev-page .nih-step-controls button{background:#e7eef5;color:#294c67;border:1px solid #aabfd1;padding:10px 14px;font-size:.9375rem;min-height:44px}
.ev-page .nih-step-controls .nih-clear{border:0;background:transparent;color:#526c80;text-decoration:underline;font-size:.875rem}
.nih-record{padding:18px 20px;background:#e9f0f6;border-top:1px solid #c2d0df}
.nih-panel .ev-field{color:#294c67}.nih-panel .ev-field>span{font-size:.9375rem;color:#294c67}.nih-panel .ev-field input{font-size:1rem;min-height:44px;max-width:100%;min-width:0;background:#fff;color:#233e55;border:1px solid #acbdcc}
.nih-record-row{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-top:14px}
.nih-record-row>.ev-field{flex:1 1 240px;min-width:0}
.ev-page .nih-record-row>button{font-size:1rem;min-height:48px;padding:11px 18px;background:#245a73;color:#fff;border-color:#245a73}
.nih-warning{font-size:.9375rem;line-height:1.5;color:#805019;background:#fff0d5;border-radius:6px;padding:12px;margin:12px 0 0}.nih-warning:empty{display:none}
.nih-saved{font-size:.875rem;line-height:1.5;color:#365f54;margin:12px 0 0}
.nih-notes{padding:16px 20px;font-size:.9375rem;color:#4a6173}.nih-notes summary{cursor:pointer;font-weight:650}.nih-notes p{font-size:.9375rem;line-height:1.6;color:#4a6173}.nih-notes a{color:#165781}
.ev-page .nih-panel button:focus-visible,.nih-panel a:focus-visible,.nih-panel summary:focus-visible{outline:3px solid #8c5f05;outline-offset:3px}
.nih-panel button:disabled{opacity:.5;cursor:default}
@media(max-width:640px){.nih-header{flex-direction:column;padding:18px;gap:16px}.nih-total{flex-basis:auto;min-width:0;width:100%}.nih-item{padding:14px;margin:0 10px 12px}.nih-item-heading{gap:8px;flex-wrap:wrap}.nih-item-heading>small{margin-left:auto}.nih-item-nav{padding:0 10px 14px}.nih-airway{margin:12px 10px}.nih-record{padding:16px}.nih-record-row>button{width:100%}.nih-step-controls{flex-wrap:wrap}.ev-page .nih-choices button{padding:10px;gap:9px}}
