/* ITL P19.16 · Patient Journey / Medication Center / Duo Smart Workspace.
 * Fully scoped to the existing interactive HCSA dialog; no global layout edits. */
.r21-dialog:has([data-p19-duo-stage]) .p1916-eyebrow {color:#16847d;font-size:9px;letter-spacing:.08em;font-weight:900;line-height:1.5;}
.r21-dialog:has([data-p19-duo-stage]) .p1916-journey h3,
.r21-dialog:has([data-p19-duo-stage]) .p1916-medication h3 {font-size:19px;line-height:1.17;letter-spacing:-.035em;color:#0b344b;margin:5px 0 8px;}
.r21-dialog:has([data-p19-duo-stage]) .p1916-journey>p,
.r21-dialog:has([data-p19-duo-stage]) .p1916-medication>p {font-size:11px;line-height:1.5;color:#466372;margin:0 0 12px;}
.p1916-progress {padding:11px;border:1px solid #b8d4d8;border-radius:12px;background:linear-gradient(135deg,#edf9f7,#e2f2f7);color:#103c51;display:flex;flex-direction:column;gap:4px;margin:0 0 12px;}
.p1916-progress>strong {font-size:12px;line-height:1.3;}
.p1916-progress>span,.p1916-progress>small {font-size:9px;line-height:1.4;color:#466673;}
.p1916-progress>div {height:6px;background:#b6d4d7;overflow:hidden;border-radius:20px;}
.p1916-progress i {height:100%;background:linear-gradient(90deg,#0d9a8d,#34789e);display:block;border-radius:20px;transition:width .24s ease;}
.p1916-step-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0;}
.p1916-step {display:flex;align-items:center;gap:7px;border-radius:10px;background:#fff;border:1px solid #d2dfe4;padding:9px 7px;text-align:left;cursor:pointer;min-height:55px;color:#123a50;min-width:0;}
.p1916-step[aria-pressed="true"] {border-color:#159a8d;background:#e8f7f4;box-shadow:0 0 0 1px #159a8d40;}
.p1916-step:hover {border-color:#159a8d;}
.p1916-step.is-complete .p1916-step__number {background:#0b897c;color:#fff;}
.p1916-step__number {width:23px;height:23px;display:grid;place-items:center;flex:none;border:1px solid #a0c7c9;border-radius:8px;background:#ecf5f6;color:#194e5c;font-size:11px;font-weight:900;}
.p1916-step>span:last-child {display:flex;flex-direction:column;gap:2px;min-width:0;}
.p1916-step strong {font-size:9.5px;line-height:1.25;color:#16435a;overflow-wrap:anywhere;}
.p1916-step small {font-size:8.5px;color:#557381;}
.p1916-focus-card {padding:12px;border-radius:13px;background:#f3f8fa;border:1px solid #c1d8df;margin-top:10px;}
.p1916-focus-card>small {color:#21867c;font-size:8px;letter-spacing:.04em;font-weight:900;}
.p1916-focus-card h4 {font-size:14px;color:#103c51;margin:7px 0 5px;}
.p1916-focus-card p {font-size:11px;line-height:1.5;color:#31596b;margin:0 0 10px;}
.p1916-focus-card .p1916-illustration {background:#e6f4f6;padding:9px;border-radius:8px;border-left:3px solid #1c968d;}
.p1916-focus-card .r23-main-action {min-height:42px;margin-top:7px;}
.p1916-focus-card .r23-main-action:disabled {opacity:.58;cursor:not-allowed;}
.p1916-caution {font-size:9px!important;line-height:1.5;color:#4f6972!important;}
.p1916-med-list {display:grid;gap:10px;}
.p1916-med-card {background:#fff;border:1px solid #d1e0e4;border-radius:12px;padding:11px 10px;display:flex;flex-direction:column;gap:9px;}
.p1916-med-card__head {display:flex;flex-direction:column;gap:3px;}
.p1916-med-card__head strong {color:#153f51;font-size:12px;}
.p1916-med-card__head span {color:#2c756f;font-size:9px;}
.p1916-med-row {display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #e1e9ec;padding-bottom:7px;font-size:10px;}
.p1916-med-row>span {color:#607985;}
.p1916-med-row>strong {text-align:right;color:#1d5062;font-size:10px;}
.p1916-med-card button {font-size:10px;min-height:38px;padding:7px 8px;margin:0!important;}
.p1916-med-card button:disabled {opacity:.72;cursor:default;}
.p1916-home-launch {margin-top:10px;padding:9px;border:1px solid #bbd8d6;border-radius:12px;background:#f0f8f7;display:flex;flex-direction:column;gap:6px;}
.p1916-home-launch .p1916-progress {margin:0;padding:9px;}
.p1916-home-launch>button {border:1px solid #98c9c6;background:#fff;color:#13475b;padding:9px;border-radius:8px;min-height:40px;text-align:left;font-size:11px;font-weight:800;cursor:pointer;}
.p1916-home-launch>button:hover {border-color:#159a8d;background:#e5f5f1;}
/* Independent workbench entry. Does not alter the existing ten-task counter. */
.p1916-workbench-shortcut {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin:12px 0;border:1px solid #b1d5d4;border-radius:11px;padding:10px;background:#e8f7f4;color:#164254;}
.p1916-workbench-shortcut>div {display:flex;flex-direction:column;gap:2px;}
.p1916-workbench-shortcut strong {font-size:12px;}
.p1916-workbench-shortcut span {font-size:10px;color:#50717b;}
.p1916-workbench-shortcut button {min-height:40px;padding:8px 11px;border:1px solid #167f77;border-radius:8px;background:#0a756f;color:#fff;font-weight:850;font-size:11px;cursor:pointer;}
/* Smart Split secondary display. Exactly one real app viewport remains on the right. */
.p19-duo__rail .p1916-workspace {display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;}
.p1916-workspace__tabs {display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:6px 6px 0;flex:none;}
.p1916-workspace__tabs button {min-height:32px;border-radius:7px;border:1px solid #528990;background:#0c364f;color:#b9dbdf;font-size:10px;font-weight:850;cursor:pointer;}
.p1916-workspace__tabs button[aria-pressed="true"] {color:#0a3d48;background:#95e5d8;border-color:#b6f5ea;}
.p1916-workspace__scroll {display:flex;flex-direction:column;gap:6px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 7px;scrollbar-width:thin;}
.p1916-workspace__progress .p1916-progress {margin:0 0 3px;background:#173f57;border-color:#487b83;padding:9px 8px;color:#f2ffff;}
.p1916-workspace__progress .p1916-progress>strong {font-size:11px;color:#fff;}
.p1916-workspace__progress .p1916-progress>span,.p1916-workspace__progress .p1916-progress>small {color:#b7dbe2;font-size:8px;}
.p1916-workspace__progress .p1916-progress>div {background:#326177;}
.p1916-workspace__steps {display:flex;flex-direction:column;gap:5px;}
.p1916-workspace__step {display:flex;align-items:center;gap:8px;text-align:left;width:100%;min-height:48px;background:#ffffff09;border:1px solid #527b8875;color:#fff;border-radius:9px;padding:7px;cursor:pointer;}
.p1916-workspace__step[aria-current="true"],.p1916-workspace__step:hover {background:#1e6070;border-color:#82e3d8;}
.p1916-workspace__index {display:grid;place-items:center;flex:none;width:22px;height:22px;border:1px solid #6ba7a6;border-radius:7px;background:#0f3e50;color:#a5eadf;font-size:10px;font-weight:900;}
.p1916-workspace__step-text {display:flex;flex-direction:column;gap:2px;min-width:0;}
.p1916-workspace__step-text strong {color:#f7fffe;font-size:9px;line-height:1.3;}
.p1916-workspace__step-text small {color:#badce0;font-size:8px;line-height:1.3;}
.p1916-workspace__foot {font-size:8px;line-height:1.4;color:#c1dfe0;padding:6px 9px 9px;flex:none;border-top:1px solid #74a4a440;}
.p1916-workspace__secondary {margin:1px 3px 5px;padding:9px 7px;min-height:38px;border:1px solid #86d4ca;border-radius:8px;background:#1f5b64;color:#ecffff;font-size:10px;font-weight:850;cursor:pointer;}
.p1916-workspace-summary {display:flex;flex-direction:column;gap:5px;padding:9px;border-radius:9px;background:#0b3448;border:1px solid #3e7880;}
.p1916-workspace-summary small {font-size:8px;color:#8fe5d5;font-weight:850;letter-spacing:.03em;}
.p1916-workspace-summary strong {font-size:10px;color:#fff;line-height:1.3;overflow-wrap:anywhere;}
.p1916-workspace-summary span {font-size:9px;color:#bbdbdd;line-height:1.4;}
.p1916-workspace__scroll>.p19-duo__rail-list {flex:none;min-height:0;overflow:visible;padding:2px 0;}
.p1916-workspace__scroll>.p19-duo__rail-heading {padding:6px;border:0;}
.p1916-workspace__scroll>.p19-duo__rail-hint {margin:2px 4px 5px!important;}
.p1916-workspace button:focus-visible,.p1916-workbench-shortcut button:focus-visible,.p1916-step:focus-visible,.p1916-home-launch button:focus-visible,.p1916-med-card button:focus-visible {outline:3px solid #33bfb0;outline-offset:2px;}
@media (max-width:760px) {
  .p1916-step-list {grid-template-columns:1fr 1fr;}
  .p1916-workbench-shortcut {padding:9px;}
}
@media (prefers-reduced-motion:reduce){.p1916-progress i {transition:none;}}
