:root{font-family:system-ui,-apple-system,sans-serif;color:#193b50;background:#eef5f8;font-synthesis:none;--teal:#087c83;--blue:#096d99;--line:#d5e4eb}*{box-sizing:border-box}body{margin:0;font-size:17px;line-height:1.6}header,main{max-width:1200px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;align-items:center;gap:16px}a{color:var(--blue)}.brand{display:flex;gap:12px;align-items:center}.brand-mark{display:grid;place-items:center;background:#dcefed;color:var(--teal);border-radius:13px;width:42px;height:42px;font-size:24px}.version{font-size:11px;letter-spacing:.12em;color:#587785;display:block}.hero{max-width:790px;margin:12px 0 26px}.eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);font-weight:700}h1{font-size:clamp(29px,4vw,43px);line-height:1.17;letter-spacing:-.03em;margin:10px 0 14px}h2{font-size:clamp(23px,2.5vw,30px);line-height:1.3;margin:12px 0 20px;letter-spacing:-.02em}h3{font-size:18px}.hero p{color:#56707f}.workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:26px;align-items:start}.card,aside{background:#fff;border:1px solid var(--line);border-radius:24px;min-width:0}.card{padding:30px;border-top:4px solid var(--teal)}aside{padding:24px;background:#f8fbfc}aside h2{font-size:21px;margin-top:5px}.hint,.privacy,small{color:#58717f}.privacy{font-size:12px;margin:8px 0 20px}.hint{font-size:15px}button,textarea,select{font:inherit}button{padding:12px 18px;border-radius:12px;border:1px solid #b8d0dc;color:#193b50;background:#fff;cursor:pointer;transition:background .15s,border-color .15s}button:hover{background:#eaf5f6;border-color:var(--teal)}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--blue);color:#fff;border-color:var(--blue);font-weight:650;min-height:48px}.primary:hover{background:#07577b;color:white}.quiet{background:transparent;font-size:14px;padding:9px 12px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #e99936;outline-offset:3px}textarea,select{display:block;width:100%;border:1px solid #aac5d3;border-radius:14px;padding:15px;color:#193b50;background:#fcfefe;resize:vertical;margin:8px 0 15px}textarea:focus,select:focus{outline:3px solid #b5dfdf;border-color:var(--teal)}label{font-weight:600;font-size:15px}.choices{display:grid;gap:10px;margin:20px 0}.choices button{text-align:left}.choices button[aria-pressed=true]{background:#e0f2ef;border:2px solid var(--teal);padding:11px 17px}.why{display:flex;gap:12px;padding:10px 15px;background:#edf6fa;border-radius:12px;font-size:15px}.why span{font-size:24px;color:var(--blue)}.why p{margin:0}.changed{display:flex;gap:10px;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:22px;font-size:14px}.changed p{margin:5px 0 0;color:#597582}.pulse-dot{flex:0 0 8px;height:8px;border-radius:50%;background:var(--teal);margin-top:8px}.hypothesis{background:white;border:1px solid var(--line);border-left:3px solid #b5cbd7;border-radius:14px;padding:15px;margin:14px 0;overflow-wrap:anywhere}.hypothesis.compatible{border-left-color:var(--teal)}.hypothesis summary{cursor:pointer;list-style:none}.hypothesis summary::-webkit-details-marker{display:none}.hypothesis strong{display:block;line-height:1.4;margin-top:9px;font-size:16px}.hypothesis-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.number{font-size:12px;border-radius:50%;background:#eef4f7;width:24px;height:24px;text-align:center}.badge{font-size:11px;letter-spacing:.02em;padding:3px 8px;border-radius:20px;background:#eaf3f6;color:#426473}.compatible .badge{background:#def2eb;color:#176b56}.detail-hint{display:block;font-size:11px;color:#607e8b;margin-top:10px}.hypothesis p,.hypothesis blockquote{font-size:13px}.hypothesis blockquote{margin:9px 0;padding-left:10px;border-left:2px solid var(--line)}.limit{background:#fff9ef;padding:10px;border-radius:8px}.empty-map{text-align:center;padding:28px 10px;color:#5c7b89}.orbit{font-size:54px;color:#89b7c0}.notice{border-left:4px solid #ce9039;background:#fff7e9;padding:12px 16px;font-size:15px;margin:18px 0}.instruction{font-size:21px}figure{margin:16px 0}figure img{width:100%;max-height:320px;object-fit:contain;background:white}figcaption{font-size:11px;color:#536f7d}nav,#tools{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}nav{justify-content:space-between}#tools{margin-bottom:20px}.alert-button{color:#8e532a}#history{max-width:740px;padding:15px;border-top:1px solid var(--line)}#history:empty{display:none}#history summary,.restore summary{cursor:pointer;color:var(--blue);font-size:14px}#history article{border-bottom:1px solid var(--line);font-size:14px}#history p{margin:6px 0}.restore{margin-top:26px}.restore input{max-width:100%;margin-top:12px}.synthesis{font-size:20px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}footer{font-size:12px;color:#5c7481;max-width:900px;padding:20px 0}.card{overflow-wrap:anywhere}[aria-busy=true]{opacity:.8}@media(max-width:760px){header,main{padding:18px}.workspace{grid-template-columns:1fr;gap:18px}.card{padding:23px}aside{padding:20px}.hero{margin-top:0}header{font-size:14px}.hero p{font-size:15px}#tools{gap:5px}.primary{width:100%}nav .primary{width:auto}.hypothesis{margin:10px 0}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media print{header a,#tools,form,button,.restore{display:none}.workspace{display:block}.hypothesis p{display:block}body{background:white}.card,aside{break-inside:avoid}}
/* Milestones measure professional review, never diagnostic probability. */
#clinical-progress{margin-bottom:24px;padding:24px} #clinical-progress h2{font-size:1.2rem} #clinical-progress progress{width:100%;height:18px;accent-color:#00858b} #clinical-progress input{width:auto;min-height:auto;margin-right:10px}

/* Clear separation between secondary and primary actions at every viewport. */
#answer-form{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
#answer-form>label,#answer-form>textarea,#answer-form>select,#answer-form>.choices{flex-basis:100%;width:100%}
#answer-form>textarea,#answer-form>select{margin:0}
#answer-form>.choices{margin:20px 0 0}
#answer-form>#unknown,#answer-form>.primary{min-height:52px;margin:4px 0 0}

/* Four segments remain empty until their real milestones are confirmed. */
.explore-hypothesis{display:block;width:100%;margin:-8px 0 24px;min-height:52px}.focus-label{background:#e8f5f5;border-left:4px solid #07868a;padding:14px;border-radius:8px;font-size:16px;overflow-wrap:anywhere}#tools #choose-hypothesis{grid-column:1/-1;background:#087f83;color:#fff;border-color:#087f83}
#clinical-progress{background:linear-gradient(120deg,#f0fafb 0%,#fff 55%,#f3f0ff 100%);border:1px solid #bbdfe7;border-top:4px solid #0c8fa4;box-shadow:0 8px 28px #17475a0c}
#clinical-progress h2{font-size:1.35rem;color:#16495e;margin-bottom:22px}
#clinical-progress progress{display:block;appearance:none;-webkit-appearance:none;border:0;border-radius:999px;height:24px;overflow:hidden;background:#deebf2;box-shadow:inset 0 2px 4px #254e6818,0 0 0 5px #ffffffb3}
#clinical-progress progress::-webkit-progress-bar{background:linear-gradient(90deg,transparent 24.5%,#fff 24.5%,#fff 25.5%,transparent 25.5%,transparent 49.5%,#fff 49.5%,#fff 50.5%,transparent 50.5%,transparent 74.5%,#fff 74.5%,#fff 75.5%,transparent 75.5%),#deebf2;border-radius:999px}
#clinical-progress progress::-webkit-progress-value{background:linear-gradient(100deg,#0876ad,#079d9e 55%,#6a5acb);border-radius:999px;box-shadow:inset 0 2px 2px #ffffff40}
#clinical-progress progress::-moz-progress-bar{background:linear-gradient(100deg,#0876ad,#079d9e 55%,#6a5acb);border-radius:999px}
#clinical-progress>p:first-of-type{font-weight:700;color:#225b70}
#clinical-progress details{border-top:1px solid #cde3ea;padding-top:12px}
#clinical-progress summary{cursor:pointer;color:#126780;font-weight:600}
@media(max-width:760px){#answer-form>#unknown,#answer-form>.primary{width:100%;margin:0}#clinical-progress{padding:22px}#clinical-progress progress{height:22px}}
.hypothesis.compatible{background:#edf9f4;border-color:#81cbb1;border-left:6px solid #168568}.hypothesis.unclear{background:#fff8e9;border-color:#e8cb87;border-left:6px solid #b68015}.hypothesis.less_supported{background:#f1f4f8;border-color:#c5cedb;border-left:6px solid #78899f}.unclear .badge{background:#f7e6b8;color:#72510e}.less_supported .badge{background:#dfe6ef;color:#42536b}.progress-stages{display:grid;grid-template-columns:1fr 1fr;gap:8px}.progress-stages p{margin:0;font-size:14px;color:#607383}.progress-stages .done{color:#126c59;font-weight:700}@media(max-width:760px){.progress-stages{grid-template-columns:1fr}}
#tools{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 20px;padding:18px;background:#fff;border:2px solid #aed4df;border-radius:20px;box-shadow:0 6px 20px #164c6012}#tools:empty{display:none}#tools button{min-height:54px;font-size:15px;font-weight:650;background:#eef6fa;border:1px solid #90bacb;text-align:center}#tools #summary{grid-column:1/-1;background:#096d99;color:white;border-color:#096d99;font-size:18px;min-height:60px;box-shadow:0 3px 8px #096d9926}#tools #summary:hover{background:#07577b}#tools #alert{background:#fff2e9;border-color:#ce956d;color:#88400f}#tools #review-safety{grid-column:1/-1}#tools button:focus-visible{outline:3px solid #b66b00;outline-offset:3px}@media(max-width:480px){#tools{padding:12px;gap:10px}#tools button{font-size:14px;padding:12px 8px}#tools #summary{font-size:17px}}
