:root{--ink:#19394a;--muted:#5a7280;--blue:#123f5a;--teal:#087d78;--line:#cbdbe0;--paper:#f3f7f8;--wash:#e4f2f1;--white:#fff}
body{background:#edf3f5;color:var(--ink)}
.protocol-main{max-width:1200px;margin:auto;padding:28px 24px 65px}
.back-link{display:inline-block;color:#1c5966;font-weight:700;margin-bottom:25px;text-decoration:none}.back-link:hover{text-decoration:underline}
.intro-row{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}.intro-row h1{font-size:clamp(2rem,4vw,3rem);line-height:1.1;margin:7px 0 12px;color:#123f5a}.intro-row p:last-child{font-size:1.05rem;line-height:1.5;margin:0;max-width:650px;color:#496878}.intro-row .eyebrow{margin:0;color:#087d78;letter-spacing:.1em;font-size:.8rem;font-weight:800}.sample-count{display:flex;align-items:center;gap:12px;padding:12px 16px;border-left:3px solid #087d78;min-width:176px}.sample-count strong{font-size:2.7rem;line-height:1;color:#086d68}.sample-count span{font-size:.85rem;font-weight:700;line-height:1.25;color:#55717b}
.mode-tabs{display:flex;gap:8px;padding:6px;background:#dce9ec;border-radius:13px;margin-bottom:18px}.mode-tab{flex:1;border:0;border-radius:9px;background:transparent;color:#355969;padding:15px 18px;text-align:left;font:inherit;font-weight:800;cursor:pointer}.mode-tab span{font-size:.72rem;letter-spacing:.08em;color:#63818b;margin-right:10px}.mode-tab.active{background:#fff;color:#103f55;box-shadow:0 2px 10px #1e4b6018}.mode-tab.active span{color:#087d78}.mode-tab:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #db8c37;outline-offset:2px}
.mode-view{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px;box-shadow:0 10px 30px #1e4b600d}.mode-view[hidden]{display:none}.view-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.view-head h2{font-size:1.4rem;margin:0 0 5px;color:#123f5a}.view-head p{color:var(--muted);margin:0;line-height:1.4}.search-label{font-size:.8rem;letter-spacing:.03em;font-weight:800;min-width:258px;color:#3c5b69}.search-label input{display:block;width:100%;margin-top:6px;background:#fff;border:1px solid #aec3cc;border-radius:8px;padding:11px 12px;color:#19394a;font:inherit;font-size:.95rem;letter-spacing:0;font-weight:500}
.finder-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:18px}.protocol-list{display:flex;flex-direction:column;gap:8px}.protocol-choice{border:1px solid #d3e1e5;background:#f5f9fa;color:#244d5f;text-align:left;border-radius:10px;padding:13px;cursor:pointer;font:inherit}.protocol-choice strong{display:block;font-size:.91rem;margin-bottom:4px}.protocol-choice span{font-size:.78rem;color:#5c7581}.protocol-choice.active{background:#e6f3f1;border-color:#178f85;box-shadow:inset 4px 0 #16877e}.empty-results{font-size:.9rem;color:var(--muted);padding:8px}
.detail-panel{border:1px solid #d5e3e6;border-radius:12px;padding:24px;background:#fff}.detail-top{display:flex;justify-content:space-between;gap:16px;align-items:start;border-bottom:1px solid #e0e9ec;padding-bottom:16px}.ref-tag,.view-kicker{font-size:.75rem;letter-spacing:.07em;text-transform:uppercase;font-weight:850;color:#087a74}.detail-top h3{font-size:1.5rem;color:#123f5a;margin:5px 0 6px}.detail-top p{margin:0;color:var(--muted);font-size:.86rem}.detail-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.scope-card{background:#f4f8f9;border-left:3px solid #85acba;border-radius:7px;padding:14px}.scope-card.als{border-color:#087d78}.scope-card h4{margin:0 0 7px;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:#315d6b}.scope-card p{margin:0;line-height:1.45;font-size:.93rem}.takeaway{background:#eaf5f3;border-radius:9px;padding:16px;margin-top:16px;line-height:1.5}.takeaway strong{display:block;margin-bottom:3px;color:#096d67}.linked-orders{margin-top:18px}.linked-orders h4{font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;margin:0 0 8px}.linked-orders button,.source-button{border:1px solid #b3d4d2;border-radius:7px;background:#f3faf9;color:#086b68;padding:9px 11px;cursor:pointer;font:inherit;font-weight:700;margin:0 7px 7px 0}.source-line{font-size:.82rem;color:#607884;margin-top:15px;border-top:1px solid #e2e9eb;padding-top:12px;line-height:1.4}
.practice-shell{max-width:850px;margin:auto;border:1px solid #d5e3e6;border-radius:12px;overflow:hidden}.practice-progress{display:flex;justify-content:space-between;gap:10px;background:#e9f1f3;padding:13px 22px;color:#426271;font-size:.83rem;font-weight:800}.case-content{padding:26px}.case-content h3{font-size:1.55rem;line-height:1.2;color:#123f5a;margin:0 0 10px}.patient{font-size:1rem;line-height:1.55;color:#284b59;background:#f2f7f8;border-radius:8px;padding:15px;margin:0 0 22px}.question-label{font-weight:850;font-size:1.12rem;margin:0 0 14px}.answers{display:grid;gap:9px;margin-bottom:17px}.answer-option{display:flex;align-items:start;gap:11px;padding:13px 14px;border:1px solid #cbdbe0;border-radius:8px;background:#fff;color:#264958;cursor:pointer;text-align:left;font:inherit;line-height:1.4}.answer-option .letter{display:grid;place-items:center;background:#e8f0f2;color:#456672;border-radius:5px;width:25px;height:25px;flex:none;font-size:.74rem;font-weight:850}.answer-option.selected{border-color:#087d78;background:#eaf6f4}.answer-option.correct{border-color:#12825f;background:#e3f6ec}.answer-option.incorrect{border-color:#bb6547;background:#fff0e9}.answer-option:disabled{cursor:default}.action-row{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.primary-button{background:#0a6e70;color:#fff;border:1px solid #0a6e70;border-radius:8px;padding:11px 16px;font:inherit;font-weight:800;cursor:pointer}.primary-button:disabled{opacity:.5;cursor:not-allowed}.quiet-button{background:#fff;color:#0b6b6b;border:1px solid #bdd9d9;border-radius:8px;padding:10px 12px;font:inherit;font-weight:800;cursor:pointer}.quiet-button span{background:#e3f1f0;border-radius:20px;padding:2px 7px;margin-left:4px}.feedback{margin:17px 0 0;padding:17px;border-radius:8px;background:#e8f5f0;border-left:4px solid #12825f;line-height:1.5}.feedback.wrong{background:#fff2ea;border-color:#b65b3c}.feedback strong{display:block;margin-bottom:5px}.feedback p{margin:0 0 8px}.feedback .feedback-source{font-size:.82rem;color:#56717d;margin:8px 0 0}.finished{padding:40px 26px;text-align:center}.finished h3{font-size:1.6rem;margin:0 0 9px;color:#123f5a}.finished p{color:#526e79;margin-bottom:20px;line-height:1.45}
.sample-note{margin:19px 0 0;padding:16px 20px;border-left:4px solid #9bb7c1;color:#4e6976;background:#e3ebee;border-radius:0 8px 8px 0;font-size:.87rem;line-height:1.45}.sample-note strong{color:#315466}.sample-note p{margin:5px 0 0}
@media(max-width:850px){.finder-layout{grid-template-columns:1fr}.protocol-list{display:grid;grid-template-columns:repeat(3,1fr)}.detail-body{grid-template-columns:1fr}.intro-row{align-items:start}.sample-count{display:none}}
@media(max-width:620px){.protocol-main{padding:22px 16px 48px}.intro-row{margin-bottom:21px}.mode-tabs{display:grid;grid-template-columns:1fr;padding:5px}.mode-tab{padding:12px 14px}.mode-view{padding:17px}.view-head{display:block}.search-label{display:block;margin-top:17px;min-width:0}.protocol-list{grid-template-columns:1fr}.detail-panel{padding:17px}.detail-top{display:block}.detail-top .ref-tag{margin-top:8px}.case-content{padding:20px}.practice-progress{padding:12px 17px}.view-head .quiet-button{margin-top:14px}}
.view-controls{display:flex;align-items:end;justify-content:flex-end;flex-wrap:wrap;gap:12px}.filter-label{display:block;color:#3c5b69;font-size:.8rem;letter-spacing:.03em;font-weight:800;min-width:150px}.filter-label select{display:block;width:100%;margin-top:6px;background:#fff;border:1px solid #aec3cc;border-radius:8px;padding:10px 12px;color:#19394a;font:inherit;font-size:.95rem;letter-spacing:0;font-weight:500}.filter-label select:focus-visible{outline:3px solid #db8c37;outline-offset:2px}.protocol-list{max-height:670px;overflow-y:auto;align-content:start;padding:2px 6px 2px 2px}.view-controls .view-kicker{align-self:center;white-space:nowrap}
.scope-card ul{margin:0;padding-left:20px;line-height:1.5;font-size:.93rem}.scope-card li+li{margin-top:7px}.scope-card li::marker{color:#087d78}
@media(max-width:850px){.protocol-list{max-height:290px}}
@media(max-width:620px){.view-controls{justify-content:stretch;margin-top:15px}.view-controls .search-label,.view-controls .filter-label{flex:1 1 100%;margin:0}.view-controls .quiet-button{margin:0!important}.protocol-list{max-height:280px}}
