/* Pharmacy workspace: quiet surfaces, compact records, explicit hierarchy. */
:root body.pharmacyWorkspace{background:var(--surface);font-size:14px}
:root body.pharmacyWorkspace::before,:root body.pharmacyWorkspace::after{display:none}
:root body.pharmacyWorkspace .shell{background:var(--surface);box-shadow:none;border-radius:0;backdrop-filter:none}
:root body.pharmacyWorkspace .sidebar{background:var(--surface);box-shadow:none;border-right:1px solid var(--line-2);backdrop-filter:none}
:root body.pharmacyWorkspace .main{background:var(--base);min-width:0}
:root body.pharmacyWorkspace .topbar{background:var(--surface);box-shadow:none;backdrop-filter:none}
:root body.pharmacyWorkspace .panel,:root body.pharmacyWorkspace .metric{background:var(--surface);border:1px solid var(--line-2);box-shadow:0 2px 8px #12342505;backdrop-filter:none;border-radius:12px}
:root body.pharmacyWorkspace h1,:root body.pharmacyWorkspace h2,:root body.pharmacyWorkspace h3{font-family:var(--font);letter-spacing:-.025em}
:root body.pharmacyWorkspace .heading h1{font-size:28px;line-height:1.2}
:root body.pharmacyWorkspace .heading{margin-bottom:24px}
:root body.pharmacyWorkspace .heading p{font-size:14px;color:var(--ink-2);margin-top:8px}
:root body.pharmacyWorkspace .page{max-width:1600px;margin:auto;padding:32px}
:root body.pharmacyWorkspace .metricGrid{gap:16px;margin-bottom:24px}
:root body.pharmacyWorkspace .metric{padding:20px}
:root body.pharmacyWorkspace .metricValue{font-size:32px;line-height:1.3;margin:12px 0}
:root body.pharmacyWorkspace .metricTitle,:root body.pharmacyWorkspace .metricFoot{font-size:13px;color:var(--ink-2)}
:root body.pharmacyWorkspace .nav button{border-radius:8px;box-shadow:none;min-height:44px}
:root body.pharmacyWorkspace .nav button.active{background:var(--accent-soft);border-color:transparent;color:var(--accent-ink);box-shadow:none}
:root body.pharmacyWorkspace td,:root body.pharmacyWorkspace th{padding:16px;font-size:14px}
:root body.pharmacyWorkspace td small{display:inline-block;margin-top:4px;font-size:13px;color:var(--ink-2)}
:root body.pharmacyWorkspace td .btn{margin:4px 4px 4px 0;font-size:13px;white-space:normal}
:root body.pharmacyWorkspace .btn{box-shadow:none;border-radius:8px;min-height:40px}
:root body.pharmacyWorkspace .toolbar{padding:16px;gap:16px;flex-wrap:wrap}
:root body.pharmacyWorkspace .toolbar input{min-width:0;max-width:480px;flex:1}
.phOverviewGrid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:24px;align-items:start}
.phOverviewGrid>*{min-width:0}
.phChecklist{display:grid;padding:0 20px 16px;gap:8px}
.phChecklist button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.phChecklist button:hover{border-color:var(--accent)}
.phChecklist svg{width:20px;flex-shrink:0}
.phInset{padding:16px 20px}
.phQuestions{padding-left:24px;display:grid;gap:12px;line-height:1.6}
.phInvoiceTotal{display:flex;justify-content:space-between;gap:16px;padding:20px 0;font-size:20px;border-top:1px solid var(--line-2)}
:root body.pharmacyWorkspace .formHint{color:var(--ink-2);font-size:14px;line-height:1.6}
@media(max-width:1100px){.phOverviewGrid{grid-template-columns:1fr}:root body.pharmacyWorkspace .page{padding:24px}}
@media(max-width:700px){:root body.pharmacyWorkspace .page{padding:20px 16px 96px}:root body.pharmacyWorkspace .metricGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}:root body.pharmacyWorkspace .metric{padding:16px}:root body.pharmacyWorkspace .metricValue{font-size:28px}:root body.pharmacyWorkspace .heading{gap:16px}:root body.pharmacyWorkspace .heading h1{font-size:24px}:root body.pharmacyWorkspace .tableWrap{overflow:visible}:root body.pharmacyWorkspace table.mobileCards,:root body.pharmacyWorkspace .mobileCards tbody{display:block;min-width:0;width:100%}:root body.pharmacyWorkspace .mobileCards thead{display:none}:root body.pharmacyWorkspace .mobileCards tr{display:block;padding:12px 16px;border-bottom:1px solid var(--line-2)}:root body.pharmacyWorkspace .mobileCards td{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;padding:8px 0;border:0;white-space:normal;overflow-wrap:anywhere}:root body.pharmacyWorkspace .mobileCards td:before{content:attr(data-label);font-size:13px;color:var(--ink-2)}:root body.pharmacyWorkspace .mobileCards td:first-child{display:block}:root body.pharmacyWorkspace .mobileCards td:first-child:before{display:none}:root body.pharmacyWorkspace .mobileCards td:last-child{justify-content:flex-end}:root body.pharmacyWorkspace .mobileNavigation{grid-template-columns:repeat(5,minmax(0,1fr));background:var(--surface)}}
@media(prefers-reduced-motion:reduce){:root body.pharmacyWorkspace *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Protocol review: completion cues remain distinct from clinical approval. */
.protocolChecklist{padding:20px;border:1px solid var(--line-2);border-radius:12px;background:var(--surface);margin-bottom:24px;color:var(--ink)}
.protocolReviewHeading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.protocolReviewHeading h3{margin:0 0 8px}.protocolReviewHeading p{margin:0;font-size:14px}
.protocolChecklist progress{width:100%;height:8px;margin:16px 0;accent-color:var(--accent,#357464)}
.protocolCheckList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;padding:0;gap:8px;margin:16px 0 0}
.protocolCheckList li{display:flex;justify-content:space-between;gap:12px;font-size:14px;min-width:0;padding:8px;border-bottom:1px solid var(--line-2)}
.protocolCheckList li:has(button){padding:0}
.protocolCheckList button{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;width:100%;min-height:48px;padding:12px;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;border-radius:8px}
.protocolCheckList button:hover{background:var(--base)}
.protocolCheckList strong{font-size:13px;font-weight:600;flex-shrink:0}
.protocolCheckList button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.protocolReviewTable details{margin-top:8px;font-size:14px}.protocolReviewTable summary{cursor:pointer;padding:8px 0}
.protocolReviewTable details ul{padding-left:20px;max-width:440px}.protocolReviewTable details li{margin:8px 0}
.protocolFieldHint{margin:8px 0 16px!important;font-size:13px!important}
@media(max-width:640px){.protocolCheckList{grid-template-columns:1fr}.protocolChecklist{padding:16px}.protocolCheckList button{flex-wrap:wrap}.protocolCheckList strong{flex-shrink:1}}

/* Final review fixes stay aligned and usable on narrow screens. */
.rqReviewIssues {list-style:none;padding:0;margin:16px 0;}
.rqReviewIssue {display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--border);}
.rqReviewIssue > span {min-width:0;overflow-wrap:anywhere;}
.rqReviewIssue > button {flex-shrink:0;min-height:44px;}
@media(max-width:480px){.rqReviewIssue{flex-wrap:wrap;gap:8px;}}
