/* File purpose (v27.08.11.5.241): Documents styles for the staff assigned patients page/module. CSS has no application functions; selectors and responsive rules control presentation only. Documentation only; selector behavior and values are unchanged. */
/* v27.08.11.5.123 - Nurse/QAPI Assigned Patients target UI */
body[data-page="staff-assigned-patients"] .landing-main{padding:24px 0 36px!important;background:linear-gradient(180deg,#f6fbff 0%,#eaf6ff 100%)!important;min-height:calc(100vh - 130px)}
.assigned-patients-page{width:100%}
.assigned-patients-shell{width:calc(100% - 26px);max-width:1840px;margin:0 auto;padding:26px 26px 16px;border:1px solid #d8e5f1;border-radius:15px;background:#fff;box-shadow:0 10px 30px rgba(39,77,116,.05)}
.assigned-patients-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.assigned-patients-heading h1{margin:0;color:#121f34;font-size:25px;line-height:1.15;font-weight:800;letter-spacing:-.45px}
.assigned-patients-heading p{margin:7px 0 0;color:#627792;font-size:12px}
.assigned-patients-open-dashboard{height:43px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #0d6ff4;border-radius:8px;background:#fff;color:#0d6ff4;text-decoration:none;font-size:11px;font-weight:800;box-shadow:none;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.assigned-patients-open-dashboard:hover{background:#f5f9ff;border-color:#075fd9;color:#075fd9}
.assigned-patients-open-dashboard:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(13,111,244,.12)}
.assigned-patients-open-dashboard svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.assigned-patients-summary{margin-top:30px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.assigned-patients-summary article{min-height:116px;padding:20px;display:flex;align-items:center;gap:18px;border:1px solid #d9e5f0;border-radius:12px;background:#fff}
.assigned-summary-icon{width:68px;height:68px;flex:0 0 68px;border-radius:13px;display:grid;place-items:center}
.assigned-summary-icon svg{width:35px;height:35px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.assigned-summary-icon.total{background:#e8f3ff;color:#1472f3}.assigned-summary-icon.active{background:#e7f8ef;color:#0ca75b}.assigned-summary-icon.review{background:#fff1df;color:#f47c00}.assigned-summary-icon.overdue{background:#f1eaff;color:#7645e6}
.assigned-patients-summary small{display:block;color:#435c79;font-size:12px;font-weight:800}
.assigned-patients-summary strong{display:block;margin-top:7px;font-size:26px;line-height:1;font-weight:800}
.assigned-patients-summary article:nth-child(1) strong{color:#1472f3}.assigned-patients-summary article:nth-child(2) strong{color:#0b9d56}.assigned-patients-summary article:nth-child(3) strong{color:#ef7400}.assigned-patients-summary article:nth-child(4) strong{color:#895deb}
.assigned-patients-summary p{margin:10px 0 0;color:#61748e;font-size:10.5px}
.assigned-patients-divider{height:0;margin:22px 0 14px;background:transparent}

.assigned-patients-toolbar{display:grid;grid-template-columns:minmax(300px,1.35fr) minmax(180px,.72fr) minmax(190px,.78fr) minmax(190px,.75fr) 150px 48px;align-items:end;gap:14px;margin-bottom:22px}
.assigned-search{height:48px;padding:0 14px;display:flex;align-items:center;gap:10px;border:1px solid #d6e3ef;border-radius:8px;background:#fff}
.assigned-search:focus-within{border-color:#87b2f6;box-shadow:0 0 0 3px rgba(13,108,243,.06)}
.assigned-search svg{width:18px;height:18px;fill:none;stroke:#496887;stroke-width:1.9;stroke-linecap:round}.assigned-search input{width:100%;border:0;outline:0;background:transparent;color:#243d5c;font-size:11px}
.assigned-select-control{position:relative;height:48px;display:block;border:1px solid #d6e3ef;border-radius:8px;background:#fff}
.assigned-select-control>span{position:absolute;left:12px;top:-8px;padding:0 4px;background:#fff;color:#47607e;font-size:10px;z-index:2}
.assigned-select-control select{position:relative;z-index:1;width:100%;height:100%;padding:0 34px 0 12px;border:0;outline:0;background:transparent;color:#263d59;font-size:11px;appearance:none;-webkit-appearance:none;cursor:pointer}
.assigned-select-control::after{content:"⌄";position:absolute;right:12px;top:50%;transform:translateY(-54%);color:#45617e;font-size:13px;pointer-events:none}
.assigned-reading-control::after{content:none}
.assigned-reading-control select{padding-right:40px}
.assigned-reading-calendar{position:absolute;z-index:0;right:12px;top:50%;width:17px;height:17px;transform:translateY(-50%);fill:none;stroke:#375978;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.assigned-with-vitals{height:48px;padding:0 15px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d4e1ed;border-radius:8px;background:#fff;color:#183a5e;font-size:11px;font-weight:800;cursor:pointer}
.assigned-with-vitals svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.assigned-with-vitals.active{border-color:#7caef7;background:#edf5ff;color:#0b6ff3}
.assigned-reset{width:48px;height:48px;padding:0;border:0;border-radius:8px;background:linear-gradient(180deg,#ff3c45,#ef1f2c);color:#fff;display:grid;place-items:center;box-shadow:0 6px 13px rgba(239,31,44,.18);cursor:pointer}
.assigned-reset:hover{filter:brightness(.98)}
.assigned-reset svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.assigned-patients-table-card{overflow:hidden;border:1px solid #d8e5f0;border-radius:9px;background:#fff}.assigned-patients-table-wrap{overflow:auto}.assigned-patients-table{width:100%;min-width:1050px;border-collapse:collapse}
.assigned-patients-table th{height:52px;padding:0 17px;background:#eaf5ff;color:#344e6c;text-align:left;text-transform:uppercase;font-size:9.7px;font-weight:800;letter-spacing:.035em;border-bottom:1px solid #d6e4f0}
.assigned-patients-table td{height:70px;padding:10px 17px;color:#263e5b;font-size:11px;vertical-align:middle;border-bottom:1px solid #e2ebf4}.assigned-patients-table tbody tr:last-child td{border-bottom:0}.assigned-patients-table tbody tr:hover{background:#fbfdff}
.assigned-patient-cell{display:flex;align-items:center;gap:13px}.assigned-patient-avatar{width:43px;height:43px;flex:0 0 43px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800}
.assigned-patient-avatar.avatar-0{background:#e7f2ff;color:#1570ef}.assigned-patient-avatar.avatar-1{background:#e7f8f0;color:#11965a}.assigned-patient-avatar.avatar-2{background:#efe9ff;color:#704bdc}.assigned-patient-avatar.avatar-3{background:#fff2de;color:#ea8400}.assigned-patient-avatar.avatar-4{background:#ffe9ea;color:#e7464e}
.assigned-patient-cell strong{display:block;color:#15304e;font-size:11.5px;font-weight:800}.assigned-patient-cell small{display:block;margin-top:4px;color:#60748f;font-size:10.5px}.assigned-mrn,.assigned-physician-name{color:#304966;font-size:11px}
.assigned-reading-cell{display:flex;align-items:flex-start;gap:12px}.assigned-reading-dot{width:10px;height:10px;margin-top:4px;flex:0 0 10px;border-radius:50%}.assigned-reading-dot.active{background:#0cad63}.assigned-reading-dot.review{background:#ff7a00}.assigned-reading-dot.overdue{background:#f02632}.assigned-reading-dot.inactive{background:#9baabc}
.assigned-reading-cell strong{display:block;color:#17304d;font-size:11px;font-weight:800}.assigned-reading-cell small{display:block;margin-top:5px;color:#546d8b;font-size:10.5px}
.assigned-status-pill{min-width:72px;min-height:27px;padding:5px 11px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:10px;font-weight:800}.assigned-status-pill.active{background:#e7f7ee;color:#0b9552}.assigned-status-pill.review{background:#fff0dd;color:#e97800}.assigned-status-pill.overdue{background:#ffe9eb;color:#e72b36}.assigned-status-pill.inactive{background:#edf1f5;color:#697c92}
.assigned-actions{display:flex;align-items:center;justify-content:space-between;gap:14px}.assigned-view-patient{min-width:116px;height:38px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #78aaf4;border-radius:7px;background:#fff;color:#0870f4;text-decoration:none;font-size:10.5px;font-weight:800}
.assigned-view-patient:hover{background:#f6faff;border-color:#4d91ef}
.assigned-more{width:34px;height:34px;border:0;background:transparent;color:#17395d;font-size:22px;line-height:1;display:grid;place-items:center;cursor:pointer}.assigned-more span{display:block;transform:translateY(-2px)}.assigned-patients-empty{text-align:center!important;padding:48px 20px!important;color:#74869d!important}
.assigned-patients-footer{min-height:60px;padding-top:12px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px;color:#61758e;font-size:10.5px}.assigned-patient-pagination{display:flex;align-items:center;gap:7px;justify-self:end}.assigned-page-button{min-width:36px;height:36px;padding:0 9px;border:1px solid #d6e2ed;border-radius:7px;background:#fff;color:#536b88;font-size:10.5px;cursor:pointer}.assigned-page-button.active{color:#fff;border-color:#0a6ef3;background:linear-gradient(180deg,#2580ff,#0968ef);box-shadow:0 5px 11px rgba(13,108,243,.16)}.assigned-page-button:disabled{opacity:.4;cursor:default}.assigned-page-ellipsis{padding:0 3px;color:#7a8aa0}

@media(max-width:1300px){.assigned-patients-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.assigned-patients-toolbar{grid-template-columns:1.3fr 1fr 1fr 1fr}.assigned-with-vitals{grid-column:3}.assigned-reset{grid-column:4;justify-self:end}}
@media(max-width:760px){body[data-page="staff-assigned-patients"] .landing-main{padding-top:12px!important}.assigned-patients-shell{width:calc(100% - 16px);padding:18px 12px}.assigned-patients-heading{flex-direction:column}.assigned-patients-open-dashboard{align-self:flex-end}.assigned-patients-summary{grid-template-columns:1fr}.assigned-patients-summary article{min-height:92px}.assigned-summary-icon{width:56px;height:56px;flex-basis:56px}.assigned-patients-toolbar{grid-template-columns:1fr}.assigned-with-vitals,.assigned-reset{grid-column:auto}.assigned-reset{justify-self:end}.assigned-patients-footer{grid-template-columns:1fr;justify-items:center}.assigned-patient-pagination{justify-self:center}}

/* v27.08.11.5.125 - precision alignment + table header spacing */
.assigned-patients-toolbar .assigned-search,
.assigned-patients-toolbar .assigned-select-control,
.assigned-patients-toolbar #assigned-with-vitals,
.assigned-patients-toolbar #assigned-reset{box-sizing:border-box;height:48px;min-height:48px;margin-top:0;margin-bottom:0;align-self:end}
.assigned-patients-toolbar #assigned-with-vitals{width:100%;line-height:1;-webkit-appearance:none;appearance:none}
.assigned-patients-toolbar #assigned-reset{width:48px;min-width:48px;max-width:48px;line-height:1;-webkit-appearance:none;appearance:none}
.assigned-patients-table thead th{box-sizing:border-box;height:56px;padding:14px 17px;vertical-align:middle;line-height:1.2}

/* v27.08.11.5.126 - hide redundant Open Dashboard button */
body[data-page="staff-assigned-patients"] .assigned-patients-open-dashboard{display:none!important}

/* v27.08.11.5.128 - functional PCM-parity patient filter states; self-contained installer */
#assigned-with-vitals.assigned-filter-state-with-vitals{border-color:#7caef7;background:#edf5ff;color:#0b6ff3}
#assigned-with-vitals.assigned-filter-state-no-test{border-color:#f2c165;background:#fff7e7;color:#b86b00}
#assigned-with-vitals.assigned-filter-state-not-in-telecare{border-color:#b8c0ca;background:#f2f4f7;color:#5f6b7a}
#assigned-with-vitals.assigned-filter-state-alphabetical{border-color:#7caef7;background:#eef6ff;color:#0b6ff3}
#assigned-reset.assigned-filter-state-with-vitals{background:linear-gradient(180deg,#ff3c45,#ef1f2c)}
#assigned-reset.assigned-filter-state-no-test{background:linear-gradient(180deg,#ffb11f,#ef9400);box-shadow:0 6px 13px rgba(239,148,0,.18)}
#assigned-reset.assigned-filter-state-not-in-telecare{background:linear-gradient(180deg,#7b8491,#626b78);box-shadow:0 6px 13px rgba(98,107,120,.18)}
#assigned-reset.assigned-filter-state-alphabetical{background:linear-gradient(180deg,#2580ff,#0968ef);box-shadow:0 6px 13px rgba(13,108,243,.18)}

/* v27.08.11.5.264 - Nurse/QAPI patient creation CTA on Assigned Patients. */
.assigned-patients-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.assigned-patients-create{height:43px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #0d6ff4;border-radius:8px;background:linear-gradient(180deg,#2580ff,#0968ef);color:#fff;text-decoration:none;font-size:11px;font-weight:800;box-shadow:0 6px 13px rgba(13,108,243,.16);transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
.assigned-patients-create:hover{border-color:#075fd9;background:linear-gradient(180deg,#1b76f4,#075fd9);color:#fff}
.assigned-patients-create:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(13,111,244,.18)}
.assigned-patients-create>span:first-child{font-size:19px;font-weight:500;line-height:1;margin-top:-1px}
@media(max-width:760px){.assigned-patients-heading-actions{width:100%;justify-content:flex-end}.assigned-patients-create{align-self:flex-end}}
