.workspace:has(.reasoningPage){height:calc(100vh - 58px);overflow:auto;display:block}
.layout:has(.reasoningPage)>aside>h2,.layout:has(.reasoningPage)>aside>#claimSearch{display:none!important}
.reasoningHero details{font-size:.86rem;margin:10px 0;color:#536b77}.reasoningHero details summary{cursor:pointer}
.reasoningPage select{max-width:100%}.reasoningAnswer p{white-space:pre-wrap}
.reasoningPage{max-width:1060px;padding:0 0 30px;color:#203541;font-size:15px;line-height:1.55}
.reasoningPage h1{font-size:1.4rem;line-height:1.35;margin:6px 0 12px;font-weight:650}
.reasoningPage h2{font-size:1.06rem;margin:0 0 10px}.reasoningPage h3{font-size:.96rem;margin:14px 0 7px}
.reasoningPage p{margin:8px 0}.reasoningPage .reasonMeta{font-size:.82rem;color:#586e78}
.reasoningHero{border:1px solid #ccd9df;border-top:3px solid #356680;border-radius:7px;background:#fff;padding:18px 22px;margin-bottom:14px}
.reasoningEyebrow{font-size:.76rem;font-weight:700;letter-spacing:.05em;color:#41647b;text-transform:uppercase}
.reasoningAnswer{padding-left:13px;border-left:3px solid #88a6b3;font-size:1rem}
.reasoningStatus{display:flex;flex-wrap:wrap;gap:6px 16px;padding-top:10px;font-size:.82rem;color:#596d76}
.reasoningStatus strong{font-weight:600}.reasoningStale{color:#885013;background:#fff5e3;border:1px solid #e5c796;padding:8px 12px;border-radius:5px}
.reasoningSection{background:#fff;border:1px solid #d6e0e5;border-radius:6px;margin:9px 0}
.reasoningSection>summary{display:flex;gap:12px;align-items:center;cursor:pointer;padding:12px 16px;list-style:none;font-weight:650}
.reasoningSection>summary::before{content:'›';font-size:1.2rem;font-weight:400;color:#486477}.reasoningSection[open]>summary::before{transform:rotate(90deg)}
.reasoningSection>summary span{flex:1}.reasoningSection>summary small{font-size:.78rem;color:#647985;font-weight:400}
.reasoningSectionBody{padding:0 20px 17px}.reasoningSectionBody ul{padding-left:21px}
.reasoningNode{padding:9px 0;border-bottom:1px solid #e7edef}.reasoningNode:last-child{border:0}
.reasoningNode .button,.reasoningPage button{font:inherit;font-size:.84rem;cursor:pointer}.reasoningPage .button{margin:3px 4px 3px 0}
.reasoningPage .primary{background:#245875;color:#fff;border-color:#245875}
.reasoningPage .reasonEvidence{padding:8px 11px;background:#f4f7f9;border-left:2px solid #b5c8d3;margin:8px 0;font-size:.88rem}
.reasoningActions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px}
.reasoningForm{padding-top:8px;max-width:760px}.reasoningForm label{display:block;font-weight:600;font-size:.9rem;margin:11px 0 4px}
.reasoningForm textarea{width:100%;resize:vertical;font:inherit;line-height:1.5;min-height:72px}
.reasoningForm textarea,.reasoningForm input,.reasoningForm select{font-weight:400}
.reasoningForm select,.reasoningForm input{font:inherit;padding:8px;border:1px solid #aebfc8;border-radius:5px;max-width:100%}
.reasoningForm input{width:100%}.reasoningForm .reasonDraft{font-size:.8rem;color:#556f7b;min-height:20px}
.reasoningPage .reviewRecord{padding:10px 13px;border-left:3px solid #9bb3bf;background:#f4f7f8;margin:10px 0;white-space:normal}
.reviewRecord p{white-space:pre-wrap}.reasoningPage .reasonEmpty{color:#60737a;font-size:.9rem}
.reasoningDialog{border:1px solid #abbec9;border-radius:9px;padding:22px;max-width:650px;width:92vw;max-height:85vh;overflow:auto;color:#203541;font:15px/1.5 system-ui}
.reasoningDialog::backdrop{background:#12283899}.reasoningDialog p{white-space:pre-wrap}.reasoningDialog button{font:inherit;padding:7px 12px;margin:8px 6px 0 0}
.reasoningSidebarHeading{font-size:.76rem;margin:17px 0 5px;color:#527084;font-weight:700}.reasoningSidebarItem{display:block;width:100%;text-align:left;border:1px solid #d4dfe5;border-radius:6px;padding:9px 10px;background:#fff;cursor:pointer;margin:5px 0;font:inherit;font-size:.86rem}
.reasoningSidebarItem:hover{background:#edf5fa}.reasoningSidebarItem small{display:block;font-size:.76rem;color:#627783;margin-top:3px}
.reasoningPage :focus-visible,.reasoningSidebarItem:focus-visible{outline:2px solid #247aa6;outline-offset:3px}
@media(max-width:850px){.workspace:has(.reasoningPage){height:auto;overflow:visible}.reasoningHero{padding:14px}.reasoningPage h1{font-size:1.2rem}.reasoningSection>summary{padding:11px}.reasoningSection>summary small{max-width:90px;text-align:right}.reasoningSectionBody{padding:0 13px 13px}}
@media(max-width:850px){.layout:has(.reasoningPage)>aside{display:none}.layout:has(.reasoningPage){display:block}}
@media(max-width:850px){body:has(#caseSelect) header{height:auto;min-height:58px;flex-wrap:wrap;padding:10px 14px;gap:12px}body:has(#caseSelect) header>a{font-size:17px;white-space:nowrap}body:has(#caseSelect) header>span{font-size:.8rem}body:has(#caseSelect) header>nav{margin-left:auto!important}body:has(#caseSelect) header>label{flex:0 0 100%;margin-left:0!important}body:has(#caseSelect) header select{flex:1;min-width:0;max-width:100%}}
@media print{.reasoningSection{break-inside:avoid}.reasoningPage button,.reasoningForm{display:none}}

/* Focused entry uses the existing role/source tools without an unrelated case sidebar. */
.focusedReview #roleAstraLauncher{display:none}
body.focusedReview .layout{display:block}body.focusedReview .layout>aside{display:none}body.focusedReview .workspace:has(.reasoningPage){height:auto;min-height:calc(100vh - 70px);overflow:visible;max-width:1120px;margin:auto;padding:22px}body.focusedReview .reasoningPage{max-width:none}body.focusedReview #claimPanel:has(.reasoningPage){padding:0;border:0;background:transparent}body.focusedReview .reviewTaskHeading h1{font:600 1.8rem Georgia,serif;margin:0 0 10px}body.focusedReview .reviewTaskHeading p{color:#536b77;margin-bottom:22px}.focusedConcern>summary{font-weight:600;cursor:pointer}.focusedRelated{display:flex;flex-wrap:wrap;gap:12px 20px;border-top:1px solid #cbd8dc;padding:20px 0}.focusedRelated a{color:#17675e}.focusedReview .reasoningHero h2{font-size:1.2rem}.focusedReview .reasoningPage p{overflow-wrap:anywhere}.focusedReview .reasoningPage select{width:auto;max-width:100%}@media(max-width:600px){body.focusedReview .workspace:has(.reasoningPage){padding:12px}.focusedReview .reasoningSection>summary{flex-wrap:wrap}.focusedReview .reasoningSection>summary small{flex-basis:100%;margin-left:20px}}

/* Keep focused assessment and follow-up requests easy to scan. */
#reason-gaps details{margin:16px 0;padding:10px 12px;border:1px solid #d6e0e5;border-radius:5px}#reason-gaps details>summary{cursor:pointer;font-weight:600}#reasonCurrentRequests{margin:20px 0}#reasonOtherRequests>div{margin:14px 0}body.focusedReview header>span{max-width:28rem;line-height:1.35}body.focusedReview header{height:auto;min-height:58px;flex-wrap:wrap}.reasoningPage a.button{display:inline-block;max-width:100%;box-sizing:border-box;white-space:normal}

.focusedSpecialists{margin:18px 0;border-top:1px solid #d6e0e5;padding-top:12px}.focusedSpecialists>summary{cursor:pointer;font-weight:600}.specialistDirectoryStatus,.specialistDraftStatus{font-size:.84rem;color:#536b77}.reasoningForm select[name=account]{width:100%}
