.patient-overview-workspace{color:#273449;font-size:14px}.po-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;margin:14px 0 20px}.po-main,.po-history{display:flex;flex-direction:column;gap:18px;min-width:0}.po-card{background:white;border:1px solid #dce1ea;border-radius:8px;overflow:hidden;padding:0!important}.po-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #edf0f4;flex-wrap:wrap}.po-card h3{font-size:15px;font-weight:600;margin:0}.po-card button,.po-more,.po-measures button{font-size:12px;color:#554599;background:transparent;border:0;cursor:pointer}.po-card [data-po-body]{padding:14px 16px}.po-meta{font-size:12px;color:#667085;margin:5px 0 12px}.po-text{font-size:15px;line-height:1.65;white-space:pre-wrap}.po-measures{display:flex;align-items:baseline;gap:8px 20px;flex-wrap:wrap;font-size:12px;color:#667085;margin:10px 0}.po-measures button{color:#475467}.po-measures button:last-child{color:#554599;margin-left:auto}.po-event{border-bottom:1px solid #edf0f4;padding:12px 0}.po-event:first-child{padding-top:0}.po-event:last-child{border:0}.po-event time{display:block;color:#667085;font-size:12px;margin-bottom:4px}.po-event strong{font-size:14px;font-weight:600}.po-event p,.po-excerpt{font-size:14px;line-height:1.6;margin:5px 0 8px;overflow-wrap:anywhere}.po-period{margin:14px 0}.po-period h4{font-size:13px;color:#554599;font-weight:600;margin-bottom:12px}.po-period summary{cursor:pointer;font-size:13px;font-weight:600}.po-controls{display:flex;border:1px solid #dadee9;border-radius:6px;padding:2px}.po-controls button{padding:4px 9px;border-radius:4px}.po-controls button[aria-pressed=true]{background:#eeebf9;color:#554599}.po-card select{font:inherit;font-size:13px;border:1px solid #dce1ea;padding:6px 10px;border-radius:6px;background:white}.po-more{margin:8px 0 16px}.po-more[hidden]{display:none}.po-dialog{border:1px solid #dce1ea;border-radius:10px;width:min(900px,94vw);max-height:85dvh;padding:0;color:#273449}.po-dialog::backdrop{background:#19213566}.po-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;border-bottom:1px solid #e4e8ef;position:sticky;top:0;background:white;z-index:var(--z-sticky)}.po-dialog>header h2{font-size:18px;font-weight:600}.po-dialog [data-close]{font-size:24px;background:none;border:0;padding:0 6px}.po-dialog-body{padding:20px}.po-revision{padding:14px 0;border-bottom:1px solid #edf0f4}.po-revision header{display:flex;justify-content:space-between;gap:10px;font-size:13px}.po-revision time{font-size:12px;color:#667085}.po-before-after{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:10px}.po-before-after>div{padding:12px;border:1px solid #e4e8ef;border-radius:6px;background:#fafbfc}.po-before-after h3{font-size:12px;font-weight:600;color:#667085}.po-before-after p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;margin-top:8px}#patient-details-content>.overview-grid:empty{display:none}#patient-details-content{padding-top:16px}.po-card :focus-visible,.po-dialog :focus-visible{outline:3px solid #bcb4e6;outline-offset:2px}@media(max-width:900px){.po-grid{grid-template-columns:1fr}.po-measures button:last-child{margin-left:0}}@media(max-width:650px){.po-before-after{grid-template-columns:1fr}}

.po-card .po-task-title{font-size:15px;text-align:left;line-height:1.5;color:#344054;font-weight:600}.po-card .po-task-title:hover{text-decoration:underline;color:#554599}

/* Important events uses the approved mock-up's date / rail / content layout. */
.po-card [data-po-body="events"]{padding:0}
.po-events-subtitle{font-size:12px;color:#667085;padding:10px 18px;margin:0}
.po-milestone{display:grid;grid-template-columns:58px 12px minmax(0,1fr);gap:10px;padding:12px 18px}
.po-milestone time{font-size:12px;color:#667085;padding-top:1px}
.po-milestone-marker{position:relative;display:block}
.po-milestone-marker i{display:block;width:8px;height:8px;border:2px solid #8170b0;border-radius:50%;margin-top:6px;background:white}
.po-milestone-marker:after{content:'';position:absolute;left:3px;top:17px;bottom:-27px;width:1px;background:#e4deef}
.po-milestone:last-child .po-milestone-marker:after{display:none}
.po-milestone strong{font-size:14px;font-weight:600;color:#273449}
.po-milestone p{font-size:14px;line-height:1.55;color:#475467;margin:3px 0 0;overflow-wrap:anywhere}
.po-milestone button{margin-top:4px;font-size:12px}
.po-events-footer{padding:12px 18px;border-top:1px solid #edf0f4}

.po-summary-theme{padding:16px 0;border-top:1px solid #edf0f4}.po-summary-theme h4{font-size:12px;font-weight:600;color:#667085;margin:0 0 12px}.po-summary-theme article+article{margin-top:18px}.po-summary-theme strong{font-size:15px;font-weight:600;color:#273449}.po-summary-theme p{font-size:15px;line-height:1.65;margin:6px 0;max-width:68ch}.po-summary-sources{display:flex;flex-wrap:wrap;gap:12px}.po-summary-sources button{font-size:12px;text-decoration:underline;text-underline-offset:3px}

.po-work-list.patient-work-root{padding:0!important;height:auto!important;min-height:0;background:white}.po-work-list #work-list{overflow:visible;height:auto}.po-card [data-po-body="work"]{padding:0}.po-source-link{font-size:12px;color:#554599;display:inline-block;margin-top:4px}.po-reference{align-items:start}

.po-readable-note{padding:16px 0;border-bottom:1px solid #edf0f4}.po-readable-note:first-child{padding-top:0}.po-readable-note:last-child{border-bottom:0}.po-readable-note>header{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.po-readable-note strong{font-size:15px;font-weight:600}.po-readable-note time{font-size:12px;color:#667085}.po-note-preview{white-space:pre-wrap}.po-note-preview,.po-note-full{font-size:15px;line-height:1.7;color:#344054;max-width:68ch;overflow-wrap:anywhere}.po-note-full p{margin:0 0 12px}.po-readable-note summary{font-size:12px;color:#554599;cursor:pointer;margin-top:8px}.po-readable-note:has(details[open]) .po-note-preview{display:none}

.po-notes-dialog{width:min(1100px,96vw)}.po-notes-dialog .po-dialog-body{padding:0}.po-notes-workspace{display:grid;grid-template-columns:290px minmax(0,1fr);height:65dvh;min-height:300px}.po-notes-workspace>aside{overflow:auto;border-right:1px solid #e4e8ef;background:#fafbfc}.po-notes-workspace>[data-notes-body]{overflow:auto;padding:24px 30px}.po-notes-workspace h3{font-size:18px;font-weight:600;margin-bottom:8px}.po-note-selector{display:block;width:100%;padding:16px;text-align:left;border:0;border-bottom:1px solid #e4e8ef;background:transparent;color:#344054}.po-note-selector:hover{background:#f4f3fa}.po-note-selector[aria-pressed=true]{background:#eeebf9;box-shadow:inset 3px 0 #8170b0}.po-note-selector strong{display:block;font-size:14px;font-weight:600}.po-note-selector span,.po-note-selector time{display:block;font-size:12px;color:#667085;margin-top:4px}.po-note-selector p{font-size:13px;line-height:1.5;margin:8px 0 0}.po-notes-workspace [data-notes-more]{margin:14px;font-size:12px;color:#554599}@media(max-width:650px){.po-notes-workspace{grid-template-columns:35% minmax(0,1fr)}.po-notes-workspace>[data-notes-body]{padding:16px}.po-note-selector{padding:12px}.po-note-selector p{display:none}}

.po-activity-period>h4{font-size:13px;font-weight:600;color:#554599;margin:18px 0 10px}.po-activity-highlight{padding:12px 0;border-bottom:1px solid #edf0f4}.po-highlight-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#667085;margin-bottom:5px}.po-activity-highlight strong{font-size:14px;font-weight:600}.po-activity-highlight p{font-size:14px;line-height:1.6;margin:4px 0 6px}.po-activity-chronology{border-left:1px solid #e4deef;margin-left:4px;padding-left:20px}.po-activity-chronology article{position:relative}.po-activity-chronology article:before{content:'';position:absolute;left:-25px;top:17px;width:8px;height:8px;border:2px solid #8170b0;border-radius:50%;background:white}

.po-card [data-po-body="calls"]{height:420px;overflow:auto}.po-call-pages{display:flex;align-items:center;justify-content:flex-end;gap:16px;font-size:12px;margin:10px 0 18px}.po-call-pages button{font-size:12px;color:#554599}.po-call-pages button:disabled{color:#98a2b3}.po-call-pages .po-more{margin:0}.po-work-list .work-task-table{min-width:650px;width:100%}.po-work-list #work-list{overflow-x:auto}

.po-card .po-event-source{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;margin:5px 6px 0 0;border:1px solid #e5e1f0;border-radius:6px;background:#faf9fd;font-size:12px;color:#65548d}.po-card .po-event-source:hover{background:#f0edf8;border-color:#cdc5e3}.po-event-source i{font-size:10px;opacity:.7}.po-summary-sources[open]{display:block;margin-top:10px;padding:10px 12px;border:1px solid #e8e4f0;border-radius:6px;background:#faf9fd}.po-summary-sources[open]>summary{margin-bottom:10px}.po-summary-sources[open]>button{display:inline-block;margin:4px 14px 6px 0;padding:5px 2px;line-height:1.5}

.po-card>.po-call-pages{padding:12px 16px;margin:0;border-top:1px solid #edf0f4}.po-main>.overview-card{margin-bottom:0}.po-reference>.overview-card{margin-bottom:0}
.po-card .po-event-source{padding:2px 0;margin:4px 12px 0 0;border:0;background:transparent;font-size:11px;color:#7b8190;gap:5px}.po-card .po-event-source:hover{background:transparent;border:0;color:#65548d;text-decoration:underline;text-underline-offset:3px}.po-event-source i{font-size:9px;opacity:.65}

.po-bounded-section{max-height:320px;overflow:auto;overscroll-behavior:contain}.po-bounded-section.po-section-expanded{max-height:none;overflow:visible}.po-section-more{font-size:12px;color:#65548d;margin-top:10px;padding:4px 0}

.pat-nav{display:flex;gap:4px;margin-bottom:16px;border-bottom:1px solid #e5e7eb;padding-bottom:8px}.pat-nav button{font-size:13px;padding:6px 12px;border-radius:6px;color:#64748b}.pat-nav button[aria-pressed="true"]{background:#f3efff;color:#6d28d9}.pat-timeline{padding:0 16px 20px}.pat-meta{font-size:12px;color:#64748b;margin-bottom:16px}.pat-period{margin-bottom:24px}.pat-period h3{font-size:14px;font-weight:600;margin-bottom:12px}.pat-entry{border-left:2px solid #e2e8f0;padding:0 0 16px 16px;max-width:76ch}.pat-entry time{display:block;font-size:11px;color:#64748b;margin-bottom:4px}.pat-entry strong{font-size:15px}.pat-entry p{font-size:15px;line-height:1.6;margin:4px 0}.pat-entry details{font-size:12px;color:#64748b;margin-top:8px}.pat-entry details a{display:block;margin-top:8px;text-decoration:underline;text-underline-offset:3px}

.po-milestone > div > strong{display:block;margin-bottom:4px}

.po-card .po-attribution{display:block;text-align:right;font-size:11px;font-weight:400;line-height:1.5;color:#7b8190;margin:16px 0 0}.po-card .po-events-subtitle.po-attribution{padding:0 18px 12px;margin-top:8px}.po-note-toggle{display:block;margin:10px 0 0;padding:2px 0}.po-readable-note [hidden]{display:none!important}

.po-measures .po-last-contact{color:inherit;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px;font:inherit}

.po-document-source-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;margin:0;padding:16px 18px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.po-document-source-meta dt{font-size:12px;color:#64748b;margin-bottom:4px}.po-document-source-meta dd{margin:0;font-size:14px;line-height:1.5;color:#334155;overflow-wrap:anywhere}.po-document-source-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:16px 0;border-bottom:1px solid #e2e8f0}.po-document-action{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border:1px solid #d7d1e8;border-radius:6px;color:#554599;background:#f5f3fa;font-size:13px;font-weight:500;text-decoration:none}.po-document-action:hover{background:#ede9f5}.po-document-action-secondary{background:#fff;border-color:#dce1ea;color:#475569}.po-document-summary{padding-top:20px}.po-document-summary>h3{margin:0 0 16px;font-size:15px;font-weight:600;color:#334155}.po-document-summary-body{font-size:15px;line-height:1.7;color:#334155;overflow-wrap:anywhere}.po-document-summary-body :is(h1,h2,h3,h4,h5,h6){font-size:15px;line-height:1.5;margin:22px 0 8px;font-weight:600}.po-document-summary-body>:first-child{margin-top:0}.po-document-summary-body p{margin:0 0 12px}.po-document-summary-body :is(ul,ol){padding-left:22px;margin:8px 0 16px}.po-document-summary-body ul{list-style:disc}.po-document-summary-body ol{list-style:decimal}.po-document-summary-body li{margin:5px 0}.po-document-summary-body table{display:block;overflow:auto;width:100%;border-collapse:collapse;margin:16px 0}.po-document-summary-body :is(th,td){border:1px solid #e2e8f0;padding:8px 10px;text-align:left;vertical-align:top}.po-document-summary-body th{background:#f8fafc;font-weight:600}.po-document-action:focus-visible{outline:3px solid #bcb4e6;outline-offset:2px}@media(max-width:600px){.po-document-source-meta{grid-template-columns:1fr}.po-document-source-actions{align-items:stretch;flex-direction:column}}

.patient-overview-workspace>[data-po-section="plan"]{margin:14px 0 18px}.po-plan-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 32px;align-items:start}.po-plan-columns .po-plan-brief{margin:0;font-size:15px;line-height:1.65}.po-plan-columns .po-plan-next{grid-column:2;grid-row:1 / span 2}.po-plan-columns:has(>.po-plan-brief:only-child){grid-template-columns:minmax(0,1fr)}@media(max-width:700px){.po-plan-columns{grid-template-columns:minmax(0,1fr);gap:14px}.po-plan-columns .po-plan-next{grid-column:auto;grid-row:auto}}
.po-plan-columns>.po-plan-brief:only-child{grid-column:1;grid-row:auto}.po-card [data-po-body="plan"]>button{margin-top:14px}

.po-plan-header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 16px}.po-plan-header-actions time{font-size:12px;color:#667085;white-space:nowrap}

.po-plan-header-actions .po-plan-status{font-size:12px;color:#667085;white-space:nowrap}

.po-notes-toolbar{padding:12px;border-bottom:1px solid #e4e8ef}.po-notes-reader-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.po-notes-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.po-note-title{display:block;font-size:12px;color:#667085;margin:16px 0}.po-note-title input{display:block;width:100%;margin-top:6px;border:1px solid #d0d5dd;border-radius:6px;padding:8px 10px;font-size:14px;color:#344054}.po-note-editor{min-height:220px;font-size:15px}.po-notes-workspace [data-note-error]{color:#b42318;font-size:13px;margin:12px 0}.po-notes-workspace .ql-editor{font-size:15px;line-height:1.7}

.po-card [data-po-generate-summary]{margin:8px 16px 12px 0}
.po-work-sections{display:flex;align-items:center;gap:3px;padding:2px;border:1px solid #dedbe9;border-radius:7px;background:#faf9fc}.po-card .po-work-sections button{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:5px;color:#5d6473;font-size:12px;font-weight:600;white-space:nowrap}.po-card .po-work-sections button[aria-pressed=true]{background:#eeeafb;color:#554599}.po-work-sections [data-po-work-count],.po-signal-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#e9e5f4;color:#554599;font-size:11px;line-height:1}.po-card [data-po-body="work"]>p,.po-card [data-po-work-items]{padding:14px 16px}.po-card [data-po-work-items] .po-event:last-child{border-bottom:0}.po-card [data-po-signals]:not(:empty){padding:14px 16px;border-bottom:1px solid #edf0f4}.po-signal-heading{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:13px;font-weight:600;color:#344054}@media(max-width:650px){.po-card[data-po-section="work"]>header{align-items:flex-start}.po-work-sections{order:3;width:100%;justify-content:space-between}}
.po-inbound-cards{padding:10px 16px}.po-inbound-card-list{display:grid;gap:10px}.po-inbound-card-list .work-inbound-card{margin:0}
/* Patient Overview: weighted work lanes. */
.po-work-lanes{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1.15fr) minmax(200px,.8fr);align-items:start}.po-work-lane{min-width:0;padding:0 16px 14px}.po-work-lane+.po-work-lane{border-left:1px solid #edf0f4}.po-work-lane>header{padding:13px 0 5px}.po-work-lane h4{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:650;margin:0}.po-work-lane [data-po-work-count]{background:#eeeafb;color:#554599;min-width:20px;text-align:center;padding:1px 6px;border-radius:10px;font-size:11px}.po-lane-hint{font-size:11px;color:#8a93a3;margin:0 0 10px}.po-lane-record{padding:11px 0;border-bottom:1px solid #edf0f4}.po-lane-record:last-child{border:0}.po-work-lane .po-task-title{font-size:14px;line-height:1.5;font-weight:600;text-align:left;padding:0;color:#344054}.po-lane-meta{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:11px;color:#667085;margin:4px 0 0}.po-priority-label{font-weight:600}.po-priority-critical{color:#b42318}.po-priority-high{color:#9a5418}.po-escalation-label{display:inline-block;background:#fff0ed;color:#a33b2a;padding:1px 6px;border-radius:4px;font-size:10px;font-weight:600}.po-lane-escalation{border-left:3px solid #d66b5b;padding-left:9px}.po-appointment-date{font-size:12px;color:#667085}.po-appointment-time{font-size:22px;font-weight:650;line-height:1.4;color:#344054;margin:4px 0}.po-work-lane[data-po-lane=scheduled] .po-lane-record{margin-top:10px;border:1px solid #e0e5eb;border-radius:7px;padding:13px;background:#fafbfc}.po-work-lane>footer{display:flex;justify-content:flex-end;margin-top:12px}.po-card .po-lane-more{margin:12px 0 0;padding:0;font-size:12px}.po-lane-empty{font-size:12px;color:#667085;padding:10px 0}.po-work-lane .po-inbound-cards{padding:0}.po-work-lane [data-po-signals]:not(:empty){padding:0 0 10px}.po-work-lane .work-inbound-card{padding:10px!important}.po-work-lane .work-inbound-card header .font-bold{font-size:13px}.po-work-lane .work-inbound-card header{flex-wrap:wrap;gap:6px}.po-card .work-inbound-card [data-work-key]{color:#fff;background:#2563eb;padding:6px 10px;border-radius:4px}.po-card .work-inbound-card [data-card-resolve]{color:#fff;background:#16a34a;padding:6px 10px;border-radius:4px}
@media(max-width:1050px){.po-work-lanes{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.po-work-lane[data-po-lane=scheduled]{grid-column:1/-1;border-left:0;border-top:1px solid #edf0f4}.po-work-lane[data-po-lane=scheduled] [data-po-lane-body]{display:flex;gap:12px;flex-wrap:wrap}.po-work-lane[data-po-lane=scheduled] .po-lane-record{min-width:210px}}@media(max-width:650px){.po-work-lanes{grid-template-columns:1fr}.po-work-lane+.po-work-lane{border-left:0;border-top:1px solid #edf0f4}.po-work-lane[data-po-lane=scheduled]{grid-column:auto}}
/* Match weighted-lane record details to the approved preview. */
.po-task-record{display:grid;grid-template-columns:6px minmax(0,1fr);gap:9px}.po-priority-bar{height:23px;width:4px;border-radius:4px;background:#dce1ea;margin-top:2px}.po-task-record[data-priority=high] .po-priority-bar{background:#ea9b46}.po-task-record[data-priority=critical] .po-priority-bar{background:#d65454}.po-due-overdue{color:#b42318}.po-due-today{color:#9a5418}.po-appointment-status{display:table;padding:2px 6px;border-radius:4px;font-size:10px;font-weight:600;background:#f0edf8;color:#554599;margin:5px 0 7px}.po-work-lane .po-open-appointment{display:block;font-size:12px;color:#554599;padding:0;margin-top:13px}.po-appointment-window{font-size:12px;color:#475467;margin:5px 0;text-transform:capitalize}.po-work-lane .po-lane-more+.po-lane-more{margin-left:14px}.po-work-lane .work-inbound-card-compact .text-xl{font-size:15px}.po-work-lane .work-inbound-card-compact time>span[hidden]{display:none}.po-work-lane .work-inbound-card-compact .whitespace-pre-line{font-size:12px;line-height:1.5}.po-work-lane .work-inbound-card-compact header{margin-bottom:6px}.po-work-lane .work-inbound-card-compact footer{margin-top:8px}.po-work-lanes>.po-work-lane{padding-left:16px;padding-right:16px}
.po-work-lane .ve-compact-card{border:1px solid #edc9c9;border-radius:7px;padding:11px 12px;background:#fffafa;margin:9px 0}.po-work-lane .ve-compact-warning{border-color:#ecd6a8;background:#fffcf5}.ve-compact-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.ve-compact-card h4{font-size:13px;font-weight:650;line-height:1.4}.ve-compact-card time{font-size:10px;color:#667085;white-space:nowrap}.ve-compact-card p{font-size:12px;line-height:1.5;margin:7px 0;color:#475467}.ve-compact-severity{font-size:10px;font-weight:600;padding:2px 6px;border-radius:4px;background:#fee2e2;color:#991b1b}.ve-compact-warning .ve-compact-severity{background:#fef3c7;color:#92400e}.ve-compact-card footer{display:flex;justify-content:space-between;gap:10px;margin-top:8px}.po-card .ve-compact-card button{font-size:11px;font-weight:600;padding:0;color:#554599;background:none;border:0}
/* Unified work list and compact scheduled panel. */
.po-work-two-panel{grid-template-columns:minmax(0,2.5fr) minmax(220px,1fr)}.po-combined-work{min-width:0}.po-combined-work>.po-work-lane{border-left:0}.po-combined-work>.po-work-lane+section{border-top:1px solid #edf0f4}.po-combined-work>.po-work-lane>header{display:flex;justify-content:space-between;align-items:center;padding:11px 0 7px}.po-combined-work>.po-work-lane>header button{padding:0;font-size:11px}.po-work-two-panel>.po-work-lane[data-po-lane=scheduled]{grid-column:auto;border-left:1px solid #edf0f4;border-top:0}.po-combined-work .po-inbound-card-list{display:block}.po-combined-work .work-inbound-row,.po-combined-work .ve-signal-row{display:flex;align-items:start;justify-content:space-between;gap:16px;border:0!important;border-bottom:1px solid #edf0f4!important;border-radius:0;background:white;margin:0!important;padding:10px 0!important;box-shadow:none}.work-inbound-row-content,.ve-signal-row-content{min-width:0;flex:1}.po-card .work-inbound-row .work-inbound-row-title{display:inline;font-size:14px;font-weight:600;line-height:1.5;text-align:left;color:#344054;background:none;border:0;padding:0}.work-inbound-row-type{display:inline-block;font-size:10px;background:#edf2f8;color:#475467;border-radius:4px;padding:1px 6px;margin-right:7px}.work-inbound-row-preview{font-size:12px;line-height:1.5;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0 0}.work-inbound-row-meta,.ve-signal-row-meta{flex-shrink:0;text-align:right}.work-inbound-row-meta time,.ve-signal-row-meta time{font-size:11px;color:#667085}.work-inbound-row-meta time strong{font-weight:400}.work-inbound-row-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:5px}.po-card .work-inbound-row [data-work-key],.po-card .work-inbound-row [data-card-resolve],.po-card .work-inbound-row [data-card-reopen]{font-size:11px;color:#554599;background:none;border:0;padding:0}.ve-signal-row-content h4{display:inline;font-size:14px;font-weight:600}.ve-signal-row-content p{font-size:12px;color:#667085;margin:4px 0 0}.ve-signal-row-meta footer{margin-top:5px;gap:12px}.po-combined-work [data-po-signals]:not(:empty){padding:0;border:0}.po-combined-work .po-task-record{padding-top:10px;padding-bottom:10px}.po-combined-work .po-lane-empty{padding:3px 0 8px;margin:0}.po-combined-work .po-task-title:hover,.work-inbound-row-title:hover{text-decoration:underline}@media(max-width:1050px){.po-work-two-panel{grid-template-columns:minmax(0,2.2fr) minmax(210px,1fr)}.po-work-two-panel>.po-work-lane[data-po-lane=scheduled] [data-po-lane-body]{display:block}.po-work-two-panel>.po-work-lane[data-po-lane=scheduled] .po-lane-record{min-width:0}}@media(max-width:720px){.po-work-two-panel{grid-template-columns:1fr}.po-work-two-panel>.po-work-lane[data-po-lane=scheduled]{border-left:0;border-top:1px solid #edf0f4}.work-inbound-row,.ve-signal-row{gap:10px}.ve-signal-row-content h4{display:block;margin-top:3px}}
.po-work-two-panel{align-items:stretch}.po-card .po-combined-work .work-inbound-row .work-inbound-row-title{font-size:14px;font-weight:600;line-height:1.5;color:#344054;text-align:left}.ve-signal-row .ve-compact-severity{margin-right:6px}
.po-work-selectable>.po-work-sections{margin:12px 16px 0;width:max-content}.po-work-selectable>[data-po-lane][hidden]{display:none!important}.po-work-selectable>[data-po-lane]>header h4{display:none}.po-work-selectable>[data-po-lane]>header{justify-content:flex-end;padding-top:7px}.po-work-selectable>[data-po-lane]+section{border-top:0}.patient-work-root .patient-work-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:19px;margin-left:6px;padding:0 6px;border-radius:10px;background:#ece9f5;color:#554599;font-size:11px;font-weight:600}.patient-work-root .day-tabs button.active .patient-work-tab-count{background:#e2dcf3;color:#493981}.patient-work-root [data-patient-work-signals]{padding:8px 0}.patient-work-root .ve-signal-row{display:flex;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid #edf0f4;background:#fffafa}.patient-work-root .ve-signal-row h4{font-size:14px;font-weight:600}.patient-work-root [data-patient-work-signals][hidden]{display:none!important}
.po-work-lane .po-appointment-date{font-size:16px;font-weight:650;line-height:1.4;color:#344054;margin-bottom:5px}
.po-work-lane[data-po-lane=scheduled] .po-task-title{display:block;width:100%;margin-top:7px;white-space:normal;overflow-wrap:anywhere}
.work-inbound-row-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:4px}.work-inbound-row-heading time{font-size:11px;color:#8a93a3;white-space:nowrap}.work-inbound-row-heading time strong{font-weight:400}.po-card .po-combined-work .work-inbound-row .work-inbound-row-title{display:block}.ve-signal-row-content h4{display:block}.po-combined-work .work-inbound-row,.po-combined-work .ve-signal-row{align-items:center}.po-card .work-inbound-row-meta [data-work-key],.po-card .ve-signal-row-meta .ve-view-patient{display:inline-flex;align-items:center;justify-content:center;padding:5px 11px;border:1px solid #dce1ea;border-radius:5px;background:#fff;color:#554599;font-size:12px;font-weight:600}.po-card .work-inbound-row-meta [data-work-key]:hover,.po-card .ve-signal-row-meta .ve-view-patient:hover{background:#f5f3fa;border-color:#cfc7e5}
.po-task-record:has(.po-task-actions){grid-template-columns:6px minmax(0,1fr) auto}.po-task-actions{align-self:start;margin-left:8px}.po-card .po-task-actions .work-table-actions button{padding:8px 10px;border-radius:4px;color:#374151}.po-card .po-task-actions .work-table-actions button.destructive{color:#b91c1c}.po-card .po-task-actions .work-table-actions>div{border-color:#dce2e8}.po-action-toast{position:fixed;inset:auto 24px 24px auto;margin:0;padding:10px 16px;border:1px solid #dce1ea;border-radius:7px;background:#fff;box-shadow:0 8px 24px #26334620;font-size:13px;color:#344054;z-index:var(--z-toast,9999)}
.po-card [data-po-body=summary]{padding:0}.po-activity-period>h4{font-size:12px;font-weight:600;color:#667085;margin:0;padding:12px 18px 4px}.po-card [data-po-body=summary]>.po-meta,.po-card [data-po-body=summary]>p,.po-card [data-po-body=summary]>button{margin-left:18px;margin-right:18px}.po-activity-period .po-summary-sources{margin-top:6px}.po-activity-period .po-summary-sources>summary{font-size:12px;color:#7b8190}

/* Shared source-preserving activity timeline. */
.paf-feed{font-size:14px;color:#273449}.paf-method{display:block;font-size:11px;color:#7b8190;margin-top:3px}.paf-important .po-milestone-marker i{background:#8170b0}.paf-filters{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:12px 18px}.paf-filters button{padding:4px 8px!important;border:1px solid #e4e7ec!important;border-radius:5px;font-size:11px!important;color:#667085!important}.paf-filters button[aria-pressed=true]{background:#eeebf9;color:#554599!important;border-color:#d9d2ec!important}.paf-filters [data-paf-expand]{margin-left:auto;border:0!important}.paf-links .po-event-source{display:inline-flex;font-size:11px;color:#7b8190;margin:4px 12px 0 0;align-items:center;gap:5px}.paf-links .po-event-source:hover{color:#65548d;text-decoration:underline}.paf-extra{font-size:11px;color:#7b8190}.paf-records{margin-top:10px;border-top:1px solid #edf0f4;padding-top:8px}.paf-records>summary,.paf-ledger>summary{font-size:12px;color:#65548d;cursor:pointer}.paf-source-row{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;border-bottom:1px solid #edf0f4;padding:9px 0;font-size:13px}.paf-source-row:last-child{border:0}.paf-source-row small{display:block;font-size:11px;color:#667085;margin-top:3px}.paf-source-row a{color:#554599;overflow-wrap:anywhere}.paf-source-row time{font-size:11px;color:#667085}.paf-ledger{padding:12px 18px;border-top:1px solid #edf0f4}.paf-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.paf-footer small,.paf-coverage{font-size:11px;color:#7b8190}.paf-coverage,.paf-empty{padding:10px 18px;margin:0}.paf-feed p{overflow-wrap:anywhere}.paf-feed [data-paf-ledger-more],.paf-feed [data-paf-group-more]{margin-top:8px}.pat-timeline .po-card{margin-top:12px}.pat-timeline .po-card>header select{font-size:13px}.pat-timeline .paf-feed .po-milestone p{max-width:65ch}.pat-timeline .paf-feed button{font-size:12px;color:#554599}

/* Referral workflow groups use existing task rows and native actions. */
.po-work-lane .po-task-group{margin:5px 0 12px;border:1px solid #e0e5eb;border-radius:8px;overflow:hidden}
.po-task-group>summary{padding:11px 12px;background:#fafbfc;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:13px;color:#344054;list-style:none}
.po-task-group>summary::-webkit-details-marker{display:none}
.po-task-group>summary:before{content:'›';font-size:17px;color:#667085}
.po-task-group[open]>summary:before{content:'⌄'}
.po-task-group>summary strong{font-weight:600}.po-task-group>summary small{display:block;font-size:11px;color:#667085;margin-top:2px}
.po-task-group .po-task-record{margin:0 12px}.po-task-group .po-task-record:last-child{border-bottom:0}
.po-task-group-progress{padding:8px 12px 0;font-size:11px;color:#667085}
.po-task-group-progress>div{height:2px;background:#edf0f4;margin-top:7px;overflow:hidden}
.po-task-group-progress i{display:block;height:100%;background:#a0a5b2}

/* Enrollment uses the same inset and three-column task row as ordinary work. */
.po-task-group>summary>span:first-of-type{min-width:0;flex:1}
.po-group-count{font-size:10px;white-space:nowrap;border:1px solid #e4e7ec;border-radius:10px;padding:2px 7px;background:#fff;color:#667085}
.po-enrollment-progress{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;padding:10px 12px 4px;font-size:11px;color:#667085}
.po-enrollment-progress a{color:#667085;text-decoration:none}.po-enrollment-progress a:hover{text-decoration:underline}
.po-enrollment-progress [role=progressbar]{width:100%;height:2px;background:#edf0f4;overflow:hidden}
.po-enrollment-progress i{display:block;height:100%;background:#a0a5b2}
.po-requirement-row .po-lane-record-body{min-width:0}.po-requirement-complete{background:#c7d4cd}
.po-card .po-requirement-open{font-size:11px;color:#667085;padding:2px 0;white-space:nowrap}
.po-completed-requirements>summary{padding:10px 12px;font-size:11px;color:#667085;cursor:pointer;border-top:1px solid #edf0f4}
.po-completed-requirements .po-task-title{color:#667085}
.po-requirement-dialog{width:min(620px,94vw)}.po-requirement-dialog header small{font-size:11px;color:#667085}
.po-requirement-dialog header h2{font-size:17px;margin:3px 0}.po-requirement-dialog button,.po-requirement-dialog a{font:inherit;font-size:12px;color:#554599;cursor:pointer}
.po-requirement-status{display:inline-block;padding:3px 8px;border-radius:5px;background:#f3f4f6;color:#475467;font-size:11px}
.po-requirement-explanation{font-size:14px;line-height:1.6;margin:12px 0 18px;color:#475467}
.po-requirement-primary{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.po-requirement-dialog .po-native-action{padding:9px 12px;border:1px solid #dce1ea;border-radius:6px;background:#fafbfc;text-decoration:none}
.po-requirement-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 20px}.po-requirement-facts div:last-child{grid-column:1/-1}
.po-requirement-facts dt{font-size:11px;color:#667085}.po-requirement-facts dd{font-size:13px;color:#344054;margin:3px 0 0}
.po-requirement-disclosure{border-top:1px solid #edf0f4;padding:12px 0;font-size:12px;color:#667085}.po-requirement-disclosure summary{cursor:pointer;color:#475467}.po-requirement-disclosure p{margin:10px 0}
.po-requirement-disclosure label{display:block;margin-top:14px}.po-requirement-disclosure textarea{display:block;box-sizing:border-box;width:100%;border:1px solid #dce1ea;border-radius:6px;padding:10px;margin:7px 0;font:inherit;resize:vertical}
.po-requirement-buttons{display:flex;flex-wrap:wrap;gap:8px}.po-requirement-buttons button{border:1px solid #dce1ea;background:#fff;padding:7px 10px;border-radius:5px}
.po-requirement-footer{border-top:1px solid #edf0f4;padding-top:14px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.po-requirement-footer form{margin:0}.po-requirement-footer a{text-decoration:none}.po-requirement-dialog [data-requirement-message]{font-size:12px;color:#9a5418;margin-top:14px}.po-requirement-dialog button:disabled{opacity:.5;cursor:wait}

/* Contact plan: compact target summary above the existing Work lanes. */
.pcp-summary{padding:14px 18px;background:#fcfbfe;border-bottom:1px solid #e8e4f0;font-size:13px;color:#344054}.pcp-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:6px}.pcp-heading strong{font-size:14px;font-weight:600}.pcp-summary p{margin:4px 0}.pcp-summary button,.pcp-text{color:#554599;background:none;border:0;padding:0;font-size:12px;cursor:pointer}.pcp-muted,.pcp-help{color:#667085;font-size:12px;line-height:1.5}.pcp-facts{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:10px;font-size:12px;color:#667085}.pcp-facts b{font-weight:500;color:#344054}.pcp-overdue,.pcp-overdue b{color:#b42318}.pcp-dialog{width:min(600px,94vw)}.pcp-dialog>.po-dialog-body{padding:0 22px}.pcp-form-section{padding:18px 0;border-bottom:1px solid #edf0f4}.pcp-form-section h3{font-size:14px;font-weight:600;margin:0 0 14px}.pcp-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:500;margin-bottom:14px;color:#475467}.pcp-field input,.pcp-field select,.pcp-field textarea{font:inherit;font-size:13px;font-weight:400;border:1px solid #dce1ea;border-radius:6px;padding:8px 10px;width:100%;background:white;color:#344054;min-height:38px}.pcp-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pcp-help{margin:6px 0 12px}.pcp-form-section details{font-size:12px;color:#554599}.pcp-form-section summary{cursor:pointer;margin-bottom:10px}.pcp-footer{position:sticky;bottom:0;background:white;border-top:1px solid #edf0f4;padding:14px 0;display:flex;justify-content:flex-end;gap:8px}.pcp-footer button{border:1px solid #dce1ea;border-radius:6px;padding:7px 12px;font-size:13px;background:white;color:#475467}.pcp-footer .pcp-primary{background:#554599;border-color:#554599;color:white}.pcp-error{font-size:13px;color:#b42318;padding:10px 0}.pcp-schedule{padding:12px;border:1px solid #e8e4f0;border-radius:6px;background:#fcfbfe;margin:10px 0}.pcp-schedule .pcp-field{margin-bottom:8px}.pcp-schedule[hidden]{display:none}@media(max-width:650px){.pcp-form-grid{grid-template-columns:1fr}.pcp-heading{align-items:start}.pcp-summary{padding:12px 14px}}

.po-work-header-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.po-work-header-actions button{white-space:nowrap}
.po-work-lane .po-schedule-launch{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:26px;height:26px;border:1px solid #dce1ea;border-radius:6px;padding:0;font-size:20px;line-height:1;background:white;color:#554599;cursor:pointer}.po-work-lane .po-schedule-launch:hover{background:#f5f3ff}
.pcp-day-options{display:flex;gap:4px;flex-wrap:wrap;margin:9px 0 18px}.pcp-day-options input{position:absolute;opacity:0;width:1px;height:1px}.pcp-day-options span{display:block;border:1px solid #dce1ea;border-radius:5px;padding:5px 9px;font-size:12px;cursor:pointer}.pcp-day-options input:checked+span{color:#4338ca;background:#eef2ff;border-color:#a5b4fc}.pcp-day-options input:focus-visible+span{outline:3px solid #c7d2fe}.pcp-range-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-top:12px}.pcp-range-heading button,[data-pcp-add-date]{font-size:12px;color:#554599;background:none;border:0;padding:0}.pcp-time-range{display:grid;grid-template-columns:110px minmax(0,1fr) auto minmax(0,1fr) auto;gap:7px;align-items:center;margin:9px 0 14px}.pcp-time-range :is(input,select),.pcp-unavailable-date input{width:100%;border:1px solid #dce1ea;border-radius:6px;background:white;padding:7px;color:#344054;font-size:12px}.pcp-time-range button,.pcp-unavailable-date button{border:0;background:none;color:#98a2b3;font-size:18px;padding:2px}.pcp-time-range>span,.pcp-unavailable-date>span{font-size:12px;color:#667085}.pcp-unavailable-date{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:9px;margin:8px 0 12px}[data-pcp-custom-window] legend{font-size:12px;font-weight:500}[data-pcp-custom-window] details{font-size:12px;margin:14px 0;color:#554599}[data-pcp-custom-window] summary{cursor:pointer;margin-bottom:8px}.pcp-dialog [hidden]{display:none!important}@media(max-width:480px){.pcp-time-range{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto}.pcp-time-range select{grid-column:1/-1}}

.po-work-lane[data-po-lane="scheduled"]>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.po-canvas-link{color:#0d9488;text-decoration:none;font-size:12px}.po-canvas-link:hover{text-decoration:underline}
