:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#183332;background:#f4f7f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:#176a5a;text-decoration:none}a:hover{text-decoration:underline}button,select{font:inherit}header{display:flex;justify-content:space-between;align-items:center;max-width:1400px;padding:24px 38px;margin:auto;border-bottom:1px solid #dae5df}.brand{font-size:25px;font-weight:700;letter-spacing:-1px}.brand span{font-size:12px;letter-spacing:1px;font-weight:500;margin-left:12px}main{max-width:1324px;margin:44px auto;padding:0 24px 60px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:#60817a}h1{font-size:34px;letter-spacing:-.9px;margin:10px 0}p{line-height:1.75}.intro>p:last-child{color:#69807a;margin-top:12px}.toolbar{display:flex;align-items:center;gap:14px;margin:28px 0 22px;font-size:13px}.toolbar label{font-weight:700}.toolbar select{border:1px solid #c8d9d0;background:white;border-radius:8px;padding:10px 40px 10px 12px;min-width:240px;color:#173e32}.toolbar span{color:#74867f}.baseline{background:#e6eee8;border-radius:12px;padding:22px 26px;display:flex;justify-content:space-between;gap:30px}.baseline h2{font-size:20px;margin:8px 0}.baseline p{font-size:13px;max-width:780px;margin-bottom:0}.baseline #case-meta{font-size:12px;min-width:180px;line-height:2.2;display:flex;flex-direction:column;align-items:flex-end}.provenance{font-size:11px;color:#71817b;margin:14px 0 22px}.branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.branch{border:1px solid #d7e3db;border-radius:13px;overflow:hidden;background:#fff}.branch-head{padding:24px 24px 20px;border-bottom:1px solid #e1eae4;background:#fafcf9}.branch-head h2{font-size:19px;margin:10px 0}.branch-head p{font-size:13px;color:#50685e;margin-bottom:0;min-height:46px}.branch-head .badge{float:right}.branch-head .eyebrow{color:#196b54}.branch:nth-child(2) .branch-head .eyebrow{color:#536999}.badge{font-size:10px;padding:5px 8px;border-radius:12px;background:#e9f1eb;color:#4f7461}.badge.partial,.badge.failed,.badge.interrupted{background:#fff1dc;color:#92652c}.badge.pending{background:#edf0f2;color:#77838b}.node{padding:22px 24px;border-bottom:1px solid #e5ece7}.node:last-child{border-bottom:0}.node-label{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:650}.node-label .day{font:700 11px ui-monospace,monospace;letter-spacing:1px;color:#517c64}.node-label .badge{margin-left:auto}.clinical{font-size:13px;color:#38564a}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:17px 0}.metric{background:#f4f7f4;border-radius:6px;padding:10px}.metric small{display:block;color:#75867c;font-size:10px}.metric strong{display:block;font-size:18px;font-weight:600;margin-top:5px}.metric em{font-size:10px;font-style:normal;color:#657e70}.images{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:18px}.image-card{margin:0}.image-button{border:0;border-radius:8px;background:#080b0b;padding:0;width:100%;cursor:zoom-in;overflow:hidden}.image-button img{width:100%;height:250px;object-fit:contain;display:block}.image-card figcaption{font-size:10px;color:#829087;padding-top:7px;display:flex;justify-content:space-between;gap:12px}.pending-image{border:1px dashed #ccd9d0;background:#f7f9f7;border-radius:8px;min-height:140px;display:grid;place-content:center;text-align:center;color:#809085;font-size:12px}.uncertainty{font-size:11px;color:#87938b;padding-top:7px}.events{font-size:12px;color:#62776b}.branch-foot{padding:18px 24px;background:#f7f9f5;font-size:11px;color:#6e8074;line-height:1.8}.empty{grid-column:1/-1;background:#fff;border:1px dashed #c7d7cb;border-radius:10px;text-align:center;padding:55px 20px;color:#74867a;font-size:14px}.methods{margin-top:26px;border-top:1px solid #dae5df;padding-top:18px;font-size:12px;color:#6c7d74}.methods summary{cursor:pointer}.audit-row{padding:12px 0;line-height:1.9;border-bottom:1px solid #e5ebe6}.audit-row code{overflow-wrap:anywhere;font-size:10px}dialog{border:0;border-radius:12px;padding:22px;background:#111b17;max-width:95vw;max-height:95vh;color:#dce6df}dialog::backdrop{background:#15241cd9}dialog img{display:block;max-height:78vh;max-width:85vw;object-fit:contain}dialog p{font-size:12px;margin-bottom:0}#close-image{position:absolute;right:8px;top:4px;border:0;background:#111b17;color:#fff;font-size:28px;cursor:pointer}@media(max-width:750px){header{padding:18px 20px}.brand{font-size:20px}header>a:last-child{font-size:12px}main{margin-top:30px;padding:0 16px 40px}h1{font-size:27px}.toolbar{flex-wrap:wrap}.toolbar span{flex-basis:100%}.baseline{padding:20px;display:block}.baseline #case-meta{align-items:flex-start;margin-top:14px}.branches{grid-template-columns:1fr;gap:18px}.branch-head,.node{padding:20px}.image-button img{height:260px}}

/* Keep shared context compact and put detailed clinical prose behind disclosure. */
main{margin-top:28px}.intro h1{font-size:30px}.intro>p:last-child{margin:8px 0}.toolbar{margin:20px 0 16px}.baseline{padding:16px 22px}.provenance{margin:12px 0 18px}.branch-head{min-height:180px}.clinical-details{font-size:12px;margin-top:15px;color:#5d7668}.clinical-details summary{cursor:pointer}.clinical-details .clinical{margin-top:12px}.node-label{margin-bottom:12px}@media(max-width:750px){.branch-head{min-height:0}.intro h1{font-size:25px}}

.review-warning,.image-review-warning{font-size:11px;line-height:1.7;color:#8b682e;background:#fff7e7;padding:10px 16px;margin:0}.image-review-warning{margin-top:7px;border-radius:5px}.badge.stopped{background:#fff1dc;color:#92652c}

.branches.clinical-only{grid-template-columns:minmax(0,900px);justify-content:center}.long-link{display:inline-block;margin:10px 0;font-weight:600}.clinical-only .branch-head{min-height:0}
header{padding:18px 30px}main{margin-top:20px}.intro .eyebrow{margin:0 0 4px}.intro h1{margin:6px 0;font-size:27px}.intro>p:last-child{font-size:13px;margin:4px 0}.toolbar{margin:14px 0 12px}.baseline{padding:12px 18px}.baseline h2{font-size:18px;margin:4px 0}.baseline p{margin:6px 0 0;line-height:1.5}.provenance{margin:9px 0 14px;line-height:1.5}.branch-head{padding:18px 20px;min-height:150px}.branch-head h2{font-size:17px;margin:8px 0}.branch-head p{line-height:1.6;min-height:0}.node{padding:18px 20px}.metrics{margin:12px 0}.images{margin-top:14px}@media(max-width:750px){header{padding:16px 20px}.branch-head{min-height:0}}
