
.healthcare-app .app:has(>main[data-page="roster"]){min-height:100dvh;background-color:#e9f5ff;background-image:linear-gradient(to bottom,transparent 70%,#e9f5ff 100%),url("/assets/overview-briefing-background.svg");background-position:left top;background-size:100% calc((100vw - var(--app-sidebar,232px)) * .82051282);background-repeat:no-repeat}
@media(max-width:650px){.healthcare-app .app:has(>main[data-page="roster"]){background-size:100% calc(100vw * .82051282)}}
.healthcare-app main[data-page="roster"]{max-width:1440px;padding:32px 32px 24px;min-height:100dvh}
.healthcare-app main[data-page="roster"] .page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.healthcare-app main[data-page="roster"] h1{font-size:clamp(30px,3.2vw,42px);line-height:1.2;font-weight:800;letter-spacing:-.04em;color:#071746}
.healthcare-app main[data-page="roster"] #page-subtitle{font-size:13px;color:#4d6690;margin-top:8px}
.roster-heading-tools{display:flex;align-items:center;justify-content:flex-end;gap:18px}
.roster-heading-ally{display:block;width:77px;height:91px;flex:0 0 77px;overflow:hidden}
.healthcare-app .roster-heading-tools .actions{flex-wrap:nowrap;gap:9px}
.healthcare-app .roster-heading-tools .btn{min-height:42px;padding:10px 16px;font-size:12px;border-color:#075eff;color:#075eff;background:#fff9;white-space:nowrap}
.healthcare-app .roster-heading-tools .btn.primary{display:inline-flex;align-items:center;justify-content:center;gap:13px;background:linear-gradient(125deg,#ffdb41,#ffce23);border-color:#ffd335;color:#071746}
.roster-heading-tools .btn.primary>span{font-size:21px;line-height:1}
.healthcare-app .roster-page{padding:20px 22px 18px;border-radius:16px;border:1px solid #c9ddf6;background:#fffffff5;box-shadow:0 5px 22px #678fb710;min-width:0}
.roster-status-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 0 19px;border-bottom:1px solid #e2ebf8}
.roster-status-tab{display:flex;align-items:center;justify-content:center;gap:13px;padding:12px 10px;border:1px solid #d7e5f8;border-radius:9px;background:#f7fbff;color:#153d77;font:inherit;font-size:12px;font-weight:600;line-height:1.3;cursor:pointer}
.roster-status-tab>strong{display:inline-grid;place-items:center;border-radius:20px;min-width:26px;height:24px;padding:0 7px;font-size:12px;background:#e5efff;color:#075eff}
.roster-status-tab .count-pending{background:#ffe8a6;color:#805300}
.roster-status-tab .count-confirmed{background:#ffe0e1;color:#a72130}
.roster-status-tab .count-clear{background:#d7f6eb;color:#087a58}
.roster-status-tab.selected{background:#075eff;border-color:#075eff;color:#fff}
.roster-status-tab.selected>strong{background:#ffffff2b;color:#fff}
.roster-status-tab:hover:not(.selected){background:#edf5ff;border-color:#a6c5ef}
.roster-status-tab:focus-visible,.roster-page button:focus-visible{outline:3px solid #075eff;outline-offset:3px}
.roster-controls{display:flex;align-items:center;gap:12px;padding:18px 0;flex-wrap:wrap}
.roster-controls>label{flex:1;min-width:170px}
.roster-controls>label:first-child{flex:1.7;min-width:240px}
.roster-controls input,.roster-controls select{width:100%;font:inherit;font-size:12px;min-height:42px;border:1px solid #c6daf4;border-radius:8px;padding:10px 12px;background:#fff;color:#153d77}
.roster-controls input::placeholder{color:#7085a4}
.roster-search-wrap{position:relative}
.roster-search-wrap>svg{position:absolute;left:13px;top:12px;width:18px;height:18px;fill:none;stroke:#17467f;stroke-width:1.8;stroke-linecap:round}
.roster-controls .roster-search-wrap input{padding-left:40px}
.roster-controls input:focus,.roster-controls select:focus{outline:2px solid #075eff;outline-offset:2px}
.provider-roster-table{min-width:780px;width:100%;font-size:12px}
.healthcare-app #view .provider-roster-table th{padding:13px 12px;font-size:11px;color:#163d76;background:#e9f3ff;font-weight:650;white-space:nowrap;border-bottom:1px solid #cbdef7}
.healthcare-app #view .provider-roster-table td{padding:15px 12px;border-bottom:1px solid #e3edf9;color:#1e4279}
.provider-roster-table .provider-button{gap:10px;min-width:175px}
.provider-roster-table .provider-button strong{font-size:12px;color:#102c60}
.provider-roster-table .provider-button small{font-size:10px;color:#7186a7;margin-top:3px}
.provider-roster-table .initials{width:30px;height:30px;flex-basis:30px;background:#e0edff;color:#075eff}
.provider-roster-table .pill{font-size:10px;padding:5px 10px}
.provider-roster-table .pill.pending{background:#fff0b0;color:#805600}
.provider-roster-table .pill.confirmed{background:#ffe1e5;color:#a91f32}
.provider-roster-table .pill.clear,.provider-roster-table .pill.different{background:#d9f7e9;color:#12714b}
.provider-roster-table .pill.paused{background:#edf0f5;color:#627086}
.provider-roster-table tbody tr:hover{background:#f2f8ff}
.provider-roster-table td:last-child{text-align:right}
.provider-roster-table td:last-child .text-btn{white-space:nowrap;color:#075eff;font-size:12px}
.roster-page .table-scroll{border:1px solid #d9e6f8;border-radius:10px;overflow-x:auto}
.roster-page .table-footer{margin-top:18px;font-size:11px;color:#59749c}
.roster-page .table-footer .btn{min-height:34px;padding:7px 12px;font-size:11px}
.roster-empty{text-align:center;padding:45px 24px}
.roster-empty .actions{justify-content:center;margin-top:22px}
.roster-empty p{margin-top:12px;font-size:13px}
.roster-tabs{display:flex;gap:8px;margin:24px 0}.roster-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.roster-fields dt{font-size:12px;color:#60738a;margin-bottom:6px}.roster-fields dd{margin:0;font-size:14px;overflow-wrap:anywhere}.roster-detail h2{margin-bottom:12px}.roster-finding{padding:18px;background:#f5f8fc;border:1px solid #dce5ef;border-radius:12px}.roster-finding h3{margin-bottom:12px}.roster-empty{text-align:center;padding:48px 24px}.roster-empty .actions{justify-content:center;margin-top:22px}.roster-empty h2{margin-top:20px}
@media(max-width:1100px){.healthcare-app main[data-page="roster"]{padding:28px 24px}.roster-heading-tools{gap:12px}.roster-heading-ally{width:60px;height:75px;flex-basis:60px}.healthcare-app .roster-page{padding:18px}.roster-status-tab{gap:8px;padding:11px 8px;font-size:11px}.roster-controls{gap:10px}.roster-controls>label:first-child{min-width:200px}.roster-controls>label{min-width:145px}}
@media(max-width:900px){.healthcare-app main[data-page="roster"] .page-heading{flex-wrap:wrap;gap:16px}.roster-heading-tools{margin-left:auto}.roster-status-tabs{gap:7px}.roster-status-tab{flex-wrap:wrap;gap:6px}.roster-controls>label:first-child{flex-basis:100%}}
@media(max-width:650px){.healthcare-app main[data-page="roster"]{padding:24px 16px}.healthcare-app main[data-page="roster"] h1{font-size:32px}.roster-heading-tools{width:100%;justify-content:space-between;margin-left:0;gap:12px}.roster-heading-ally{width:58px;height:68px;flex-basis:58px}.healthcare-app .roster-heading-tools .actions{flex:1}.healthcare-app .roster-heading-tools .btn{flex:1;font-size:11px;padding:9px 10px;white-space:normal}.roster-status-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.roster-status-tab{flex-wrap:nowrap;justify-content:space-between;padding:10px 12px}.healthcare-app .roster-page{padding:14px}.roster-controls{flex-direction:column;align-items:stretch}.roster-controls>label,.roster-controls>label:first-child{min-width:0;width:100%;flex:auto}.roster-fields{grid-template-columns:1fr}.roster-tabs .btn{flex:1}.roster-page .table-footer{flex-wrap:wrap;gap:12px}}

/* Keep columns and the page gutter stable across roster filters. */
html:has(body.healthcare-app){scrollbar-gutter:stable}
.healthcare-app #view .provider-roster-table{table-layout:fixed;width:100%;min-width:780px}
.provider-roster-table .roster-col-provider{width:29%}
.provider-roster-table .roster-col-npi{width:15%}
.provider-roster-table .roster-col-specialty{width:19%}
.provider-roster-table .roster-col-status{width:18%}
.provider-roster-table .roster-col-checked{width:14%}
.provider-roster-table .roster-col-open{width:5%}
.provider-roster-table td,.provider-roster-table th{overflow-wrap:anywhere}
.provider-roster-table .provider-button{min-width:0;max-width:100%;white-space:normal}
.provider-roster-table .provider-button>span:last-child{min-width:0}
.provider-roster-table tbody tr[data-roster-row]{cursor:pointer}
.provider-roster-table tbody tr[data-roster-row]:focus-visible{outline:2px solid #075eff;outline-offset:-2px;background:#edf5ff}
.healthcare-app #view .provider-roster-table td:last-child{padding:8px 4px;text-align:center}
.healthcare-app #view .provider-roster-table .roster-open-chevron{display:inline-grid;place-items:center;min-width:30px;min-height:36px;padding:0;font-size:25px;line-height:1}
.healthcare-app main[data-page="roster"] .roster-heading-tools{gap:0}

/* Identical control geometry across native input and select widgets. */
.healthcare-app .roster-controls input,.healthcare-app .roster-controls select{box-sizing:border-box;height:42px;min-height:42px;max-height:42px;font-size:12px;line-height:20px;padding-top:10px;padding-bottom:10px;margin:0}
.healthcare-app .roster-controls select{appearance:none;-webkit-appearance:none;padding-right:34px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23153d77' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/16px 16px no-repeat}
.healthcare-app #view .provider-roster-table th{padding:12px 10px}
.roster-sort{display:flex;align-items:center;justify-content:flex-start;gap:7px;width:100%;max-width:100%;padding:0;border:0;background:none;color:inherit;text-align:left;font:inherit;font-weight:650;line-height:1.4;white-space:normal;cursor:pointer}
.roster-sort>span{flex-shrink:0;color:#7894bd;font-size:13px;line-height:1}
th[aria-sort="ascending"] .roster-sort,th[aria-sort="descending"] .roster-sort{color:#075eff}
th[aria-sort="ascending"] .roster-sort>span,th[aria-sort="descending"] .roster-sort>span{color:#075eff;font-weight:750}
.roster-sort:focus-visible{outline:2px solid #075eff;outline-offset:4px;border-radius:3px}
.roster-page .table-footer>.actions{align-items:center;flex-wrap:wrap;gap:9px}
.roster-page-jump{display:flex;align-items:center;gap:7px;margin:0;color:#49668d;font-size:11px}
.roster-page-jump input{box-sizing:border-box;width:62px;height:34px;min-height:34px;padding:6px 7px;border:1px solid #c6daf4;border-radius:7px;background:#fff;color:#153d77;font:inherit;text-align:center}
.roster-page-jump input:focus-visible{outline:2px solid #075eff;outline-offset:2px}
.roster-page-jump input:disabled{background:#f2f5fa;color:#7d8da5}
@media(max-width:650px){.roster-page .table-footer>.actions{justify-content:center;width:100%}.roster-page-jump{gap:6px}.roster-page-jump input{width:54px}}


/* Provider popup: approved four-view mockup geometry and palette. */
.healthcare-app #modal:has(.provider-card){width:min(940px,calc(100vw - 32px));height:min(650px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);max-width:940px;padding:0;overflow:hidden;border:1px solid #b5dcff;border-radius:8px;box-shadow:0 5px 18px #1675c638,0 18px 55px #0b31552b}
.healthcare-app #modal:has(.provider-card)>#modal-content{height:100%;min-height:0}
.healthcare-app #modal .provider-card{height:100%;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;background:linear-gradient(135deg,#fff 40%,#f8fcff);color:#062956;font-family:Arial,Helvetica,sans-serif}
.healthcare-app #modal .provider-card-header{padding:18px 60px 18px 26px;background:linear-gradient(110deg,#0862c6,#0755b6);border-bottom:1px solid #0955aa;color:#fff}
.healthcare-app #modal .provider-card-header h2{font-family:inherit;font-size:27px;line-height:1.25;letter-spacing:0;font-weight:700;margin:0;color:#fff}
.healthcare-app #modal .provider-card-header h2:focus{outline:none!important;box-shadow:none!important}
.healthcare-app #modal:has(.provider-card)>.close{position:absolute;display:flex;align-items:center;justify-content:center;box-sizing:border-box;z-index:2;right:15px;top:18px;width:32px;height:32px;min-height:0;padding:0;margin:0;border:0;border-radius:5px;background:transparent;color:white;font-size:0;line-height:1;transform:none}
.healthcare-app #modal:has(.provider-card)>.close::before{content:"";display:block;width:18px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 3L15 15M15 3L3 15' stroke='white' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/18px 18px no-repeat}
.healthcare-app #modal:has(.provider-card)>.close:hover{background:#ffffff20;transform:none}
.healthcare-app #modal:has(.provider-card)>.close:focus-visible{outline:2px solid white;outline-offset:2px}
.healthcare-app #modal .provider-card-tabs{display:flex;align-items:stretch;gap:12px;margin:0 26px;padding:6px 0 0;background:transparent;border-bottom:1px solid #b8d7f3;box-shadow:none}
.healthcare-app #modal .provider-card-tabs button{appearance:none;min-height:49px;padding:12px 16px 10px;background:transparent;border:0;border-bottom:4px solid transparent;color:#4a7097;font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.healthcare-app #modal .provider-card-tabs button[aria-pressed=true]{border-bottom-color:#0860ff;color:#0058ef;background:transparent;font-weight:700}
.healthcare-app #modal .provider-card-tabs button:hover{background:#edf5ff}
.healthcare-app #modal .provider-card-tabs button:focus-visible{outline:2px solid #075eff;outline-offset:-4px}
.healthcare-app #modal .provider-card-body{padding:24px 26px;overflow:auto;min-height:0;scrollbar-gutter:stable}
.healthcare-app #modal .provider-card-details-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:22px;align-items:start}
.healthcare-app #modal .provider-card-section{padding:0;border:1px solid #bfdcf5;border-radius:5px;min-width:0;overflow:hidden;background:#fff;box-shadow:none}
.healthcare-app #modal .provider-card-fields{width:100%;margin:0;border-collapse:collapse;table-layout:fixed}
.healthcare-app #modal .provider-card-fields th,.healthcare-app #modal .provider-card-fields td{padding:10px 14px;text-align:left;border-bottom:1px solid #c9def1;line-height:1.4;vertical-align:top;overflow-wrap:anywhere;font-size:15px;color:#062956;background:#fff}
.healthcare-app #modal .provider-card-fields th{width:42%;font-weight:500;background:#e8f3ff;border-right:1px solid #c9def1;color:#104b89}
.healthcare-app #modal .provider-card-fields tr:nth-child(even) td{background:#f8fbff}
.healthcare-app #modal .provider-card-fields tr:last-child>*{border-bottom:0}
.healthcare-app #modal .provider-card-status{padding:20px 18px;background:linear-gradient(110deg,#f0f8ff,#f8fcff);border-color:#c3dff7}
.healthcare-app #modal .provider-card-section h3{padding:0;margin:0 0 14px;background:none;border:0;font-size:20px;font-weight:700;color:#073b75;line-height:1.3}
.healthcare-app #modal .provider-card-status-block{margin:0;padding:15px 14px;border:0;border-radius:5px;background:#dcf3eb;box-shadow:none}
.healthcare-app #modal .provider-card-status-block .pill{font-size:14px;line-height:1.4}
.healthcare-app #modal .provider-card-status:has(.pill.confirmed) .provider-card-status-block{background:#ffe6e9}
.healthcare-app #modal .provider-card-status:has(.pill.pending) .provider-card-status-block{background:#fff2c8}
.healthcare-app #modal .provider-card-status:has(.pill.paused) .provider-card-status-block{background:#edf1f6}
.healthcare-app #modal .provider-card-monitor{margin:22px 0 0;padding:19px 0 0;border:0;border-top:1px solid #c8def1;border-radius:0;background:transparent;color:#073b75;font-size:18px;font-weight:700;line-height:1.4}
.healthcare-app #modal .provider-card-monitor::before{content:"";display:inline-block;width:12px;height:12px;margin-right:9px;border-radius:50%;background:#12965c;vertical-align:1px}
.healthcare-app #modal .provider-card-monitor.paused::before{background:#8593a7}
.healthcare-app #modal .provider-card-profile{display:flex;align-items:center;gap:16px;padding:17px 20px;margin-bottom:20px;border:0;border-radius:5px;background:linear-gradient(110deg,#e4f3ff,#edf8ff);box-shadow:none}
.healthcare-app #modal .provider-card-profile .initials{width:48px;height:48px;flex:0 0 48px;border:1px solid #b4d8f8;background:#d6ebff;color:#0756b7;font-size:18px}
.healthcare-app #modal .provider-card-profile h3{font-size:20px;margin:0;color:#073b75;line-height:1.35}
.healthcare-app #modal .provider-card-profile p{font-size:15px;line-height:1.4;margin:3px 0 0;color:#335d87}
.healthcare-app #modal .provider-card-table-scroll{overflow:auto;border:1px solid #b9d8f4;border-radius:5px;background:#fff;box-shadow:none}
.healthcare-app #modal .provider-card-table{width:100%;border-collapse:collapse;min-width:510px}
.healthcare-app #modal .provider-card-table th,.healthcare-app #modal .provider-card-table td{padding:12px 14px;border-bottom:1px solid #c9def1;border-right:1px solid #c9def1;text-align:left;font-size:15px;line-height:1.5;vertical-align:top;overflow-wrap:anywhere}
.healthcare-app #modal .provider-card-table th{background:linear-gradient(#0b65ca,#0756b6);font-weight:700;color:#fff;border-color:#7caee0}
.healthcare-app #modal .provider-card-table td{background:#fff;color:#062956}
.healthcare-app #modal .provider-card-table tbody tr:nth-child(even) td{background:#f0f7ff}
.healthcare-app #modal .provider-card-table tr>*:last-child{border-right:0}
.healthcare-app #modal .provider-card-table tbody tr:last-child>*{border-bottom:0}
.healthcare-app #modal .provider-card-table td.provider-card-empty{text-align:center;color:#557390;padding:32px 16px}
.healthcare-app #modal .provider-decision{display:inline-block;padding:5px 9px;border:1px solid #d5dfed;border-radius:5px;font-size:13px;white-space:nowrap}
.healthcare-app #modal .provider-decision.decision-confirmed{background:#ffe5e7;color:#9b1525;border-color:#dfa2ad}
.healthcare-app #modal .provider-decision.decision-different{background:#e1f5e6;color:#155c2c;border-color:#91cba1}
.healthcare-app #modal .provider-decision.decision-pending{background:#fff4cf;color:#704800;border-color:#d5b354}
.healthcare-app #modal .provider-card-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px 26px 24px;border:0;background:transparent;box-shadow:none}
.healthcare-app #modal .provider-card-footer .btn{display:flex;justify-content:center;align-items:center;min-height:46px;padding:10px 8px;border:1.5px solid #0860ff;background:linear-gradient(#fff,#f9fbff);color:#0058ef;border-radius:5px;box-shadow:0 2px 6px #1260ac12;font-family:inherit;font-size:16px;line-height:1.25;font-weight:700;white-space:nowrap;filter:none;transform:none}
.healthcare-app #modal .provider-card-footer .provider-remove{border-color:#c81635;background:linear-gradient(#fff7f8,#ffe9ed);color:#b30025}
.healthcare-app #modal .provider-card-footer .btn:hover{background:#e9f2ff;color:#0058ef;border-color:#0860ff;filter:none;transform:none}
.healthcare-app #modal .provider-card-footer .provider-remove:hover{background:#ffdee5;color:#a50022;border-color:#b81230}
@media(max-width:650px){
.healthcare-app #modal:has(.provider-card){width:calc(100vw - 16px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}
.healthcare-app #modal .provider-card-header{padding:18px 50px 18px 16px}
.healthcare-app #modal .provider-card-header h2{font-size:22px}
.healthcare-app #modal .provider-card-tabs{margin:0 12px;gap:0;justify-content:space-between}
.healthcare-app #modal .provider-card-tabs button{font-size:13px;padding:12px 9px;min-height:45px}
.healthcare-app #modal .provider-card-body{padding:18px 12px}
.healthcare-app #modal .provider-card-details-grid{grid-template-columns:1fr;gap:16px}
.healthcare-app #modal .provider-card-fields th,.healthcare-app #modal .provider-card-fields td{font-size:13px;padding:10px 12px}
.healthcare-app #modal .provider-card-footer{padding:14px 12px 18px;gap:8px}
.healthcare-app #modal .provider-card-footer .btn{font-size:12px;white-space:normal}
}

.healthcare-app #modal .provider-card-status-stack{display:grid;gap:20px}
.healthcare-app #modal .provider-card-monitor{margin:0;padding:20px 18px;border:1px solid #c3dff7;border-radius:5px;background:linear-gradient(110deg,#f0f8ff,#f8fcff)}
.healthcare-app #modal .provider-card-monitor::before{content:none}
.healthcare-app #modal .provider-monitor-control{display:flex;align-items:center;gap:14px;font-size:16px;font-weight:400;color:#062956}
.healthcare-app #modal .provider-monitor-switch{position:relative;flex:0 0 54px;width:54px;height:30px;padding:0;border:1px solid #0060ef;border-radius:20px;background:#0860ff;cursor:pointer}
.healthcare-app #modal .provider-monitor-switch>span{position:absolute;width:24px;height:24px;right:2px;top:2px;border-radius:50%;background:white;box-shadow:0 1px 3px #123a6b30}
.healthcare-app #modal .provider-monitor-switch[aria-checked=false]{background:#8795a7;border-color:#76869b}
.healthcare-app #modal .provider-monitor-switch[aria-checked=false]>span{right:auto;left:2px}
.healthcare-app #modal .provider-monitor-switch:focus-visible{outline:3px solid #89b6ff;outline-offset:3px}
.healthcare-app #modal .provider-card-profile{display:grid;grid-template-columns:1fr 1fr;column-gap:26px;row-gap:12px}
.healthcare-app #modal .provider-card-profile>div{display:grid;font-size:15px;line-height:1.4;min-width:0;overflow-wrap:anywhere}
.healthcare-app #modal .provider-card-profile strong{font-weight:600;color:#104b89}

/* The outer frame owns table rounding; the header-to-body seam stays square. */
.healthcare-app #modal .provider-card-table,
.healthcare-app #modal .provider-card-table thead,
.healthcare-app #modal .provider-card-table tbody,
.healthcare-app #modal .provider-card-table tr,
.healthcare-app #modal .provider-card-table th,
.healthcare-app #modal .provider-card-table td{border-radius:0}
.healthcare-app #modal .provider-card-table-scroll{overflow:auto;isolation:isolate}
.healthcare-app #modal .provider-card-profile{border:1px solid #b9d8f4}
.healthcare-app #modal .provider-card-body-details{overflow:hidden}
.healthcare-app #modal .provider-card-body-details .provider-card-details-grid{height:100%;min-height:0;align-items:stretch}
.healthcare-app #modal .provider-card-fields-scroll{min-height:0;max-height:100%;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain}
.healthcare-app #modal .provider-card-fields-scroll:focus-visible{outline:2px solid #075eff;outline-offset:2px}
.healthcare-app #modal .provider-card-status-stack{align-self:start}
@media(max-width:650px){
 .healthcare-app #modal .provider-card-body-details{overflow:auto}
 .healthcare-app #modal .provider-card-body-details .provider-card-details-grid{height:auto}
 .healthcare-app #modal .provider-card-fields-scroll{max-height:min(380px,50dvh)}
}

/* Short provider tables hug their rows; long tables retain bounded scrolling. */
.healthcare-app #modal .provider-card-fields-scroll{align-self:start;scrollbar-gutter:auto}

/* Provider editing shares the approved popup shell and action geometry. */
.healthcare-app #modal .provider-edit-card{grid-template-rows:auto minmax(0,1fr) auto;margin:0;gap:0}
.healthcare-app #modal .provider-edit-body{padding:24px 26px;overscroll-behavior:contain}
.healthcare-app #modal .provider-edit-fields{border:1px solid #b9d8f4;border-radius:5px;overflow:hidden}
.healthcare-app #modal .provider-edit-row{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr);align-items:stretch;gap:0;font-size:15px;font-weight:500;border-bottom:1px solid #c9def1}
.healthcare-app #modal .provider-edit-row:last-child{border-bottom:0}
.healthcare-app #modal .provider-edit-row>span{display:flex;align-items:center;padding:14px;background:#e8f3ff;color:#104b89;border-right:1px solid #c9def1;overflow-wrap:anywhere}
.healthcare-app #modal .provider-edit-row>input{box-sizing:border-box;align-self:center;width:calc(100% - 24px);min-width:0;min-height:40px;margin:10px 12px;padding:9px 11px;border:1px solid #b7cfe9;border-radius:5px;background:#fff;color:#062956;font:inherit;font-weight:400}
.healthcare-app #modal .provider-edit-row>input:focus{outline:2px solid #0860ff;outline-offset:1px}
.healthcare-app #modal .provider-edit-body>.field-error{padding:12px 14px;margin:0 0 16px;border:1px solid #e4a5af;border-radius:5px;background:#fff0f2;font-size:14px}
.healthcare-app #modal .provider-edit-body>.field-error[hidden]{display:none}
.healthcare-app #modal .provider-edit-card .provider-card-footer .primary{background:#075eff;color:#fff;border-color:#0756b7}
.healthcare-app #modal .provider-edit-card .provider-card-footer .primary:hover{background:#064fd5;color:#fff}
@media(max-width:650px){
.healthcare-app #modal .provider-edit-body{padding:18px 12px}
.healthcare-app #modal .provider-edit-row{grid-template-columns:minmax(100px,.75fr) minmax(0,1.25fr);font-size:13px}
.healthcare-app #modal .provider-edit-row>span{padding:12px 10px}
.healthcare-app #modal .provider-edit-row>input{margin:10px 8px;width:calc(100% - 16px)}
}

/* Center review text against its taller decision badge. */
.healthcare-app #modal .provider-card:has([data-roster-tab="review"][aria-pressed="true"]) .provider-card-table tbody td{vertical-align:middle}

/* Screening outcomes and monitoring are independent roster columns. */
.healthcare-app #view .provider-roster-table{min-width:950px}
.provider-roster-table .roster-col-provider{width:23%}
.provider-roster-table .roster-col-npi{width:13%}
.provider-roster-table .roster-col-specialty{width:15%}
.provider-roster-table .roster-col-status{width:17%}
.provider-roster-table .roster-col-monitoring{width:12%}
.provider-roster-table .roster-col-checked{width:16%}
.provider-roster-table .roster-col-open{width:4%}
.healthcare-app #view .provider-roster-table td{vertical-align:middle}
.provider-roster-table .pill.roster-monitoring.active{background:#e5f3ff;color:#155c96}
.provider-roster-table .pill.roster-monitoring.paused{background:#edf0f5;color:#627086}

/* Consistent visible outlines for both roster heading actions. */
.healthcare-app #main[data-page="roster"] .roster-heading-tools .btn{border:2px solid #0756b7;box-sizing:border-box}
.healthcare-app #main[data-page="roster"] .roster-heading-tools .btn.primary{border-color:#a87100}
.healthcare-app #main[data-page="roster"] .roster-heading-tools .btn:hover{border-color:#064baf;filter:none}
.healthcare-app #main[data-page="roster"] .roster-heading-tools .btn.primary:hover{border-color:#8b5d00;filter:none}

/* Removal confirmation shares the provider shell in a compact layout. */
.healthcare-app #modal:has(.provider-remove-card){width:min(680px,calc(100vw - 32px));height:auto;max-height:calc(100dvh - 32px);border-radius:12px}
.healthcare-app #modal .provider-remove-card{height:auto;max-height:calc(100dvh - 34px);grid-template-rows:auto minmax(0,1fr) auto}
.healthcare-app #modal .provider-remove-body{padding:32px;scrollbar-gutter:auto}
.healthcare-app #modal .provider-remove-profile{display:flex;align-items:center;gap:24px;padding:24px;border:1px solid #bfdcf5;border-radius:8px;background:linear-gradient(110deg,#e8f3ff,#f0f7ff)}
.healthcare-app #modal .provider-remove-profile .initials{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center;background:#bddbff;color:#062956;font-size:23px;border-radius:50%}
.healthcare-app #modal .provider-remove-profile>div{min-width:0;overflow-wrap:anywhere}
.healthcare-app #modal .provider-remove-profile h3{margin:0;color:#062956;font-size:22px;line-height:1.35}
.healthcare-app #modal .provider-remove-profile p{margin:8px 0 0;color:#436183;font-size:15px;line-height:1.5}
.healthcare-app #modal .provider-remove-question{margin:28px 0 10px;font-size:22px;line-height:1.4;color:#062956;overflow-wrap:anywhere}
.healthcare-app #modal .provider-remove-explanation{margin:0;color:#436183;font-size:16px;line-height:1.6}
.healthcare-app #modal .provider-remove-card .provider-card-footer{display:flex;justify-content:flex-end;gap:14px;padding:20px 24px;background:#edf6ff;border-top:1px solid #bfdcf5}
.healthcare-app #modal .provider-remove-card .provider-card-footer .btn{min-height:46px;padding:11px 24px;border-width:1px;box-shadow:none}
.healthcare-app #modal .provider-remove-card .provider-card-footer .provider-confirm-remove{background:#bb1020;color:#fff;border-color:#9f0d1b}
.healthcare-app #modal .provider-remove-card .provider-card-footer .provider-confirm-remove:hover{background:#a60e1d;color:#fff;border-color:#8e0b18;transform:none;filter:none}
@media(max-width:650px){
.healthcare-app #modal:has(.provider-remove-card){width:calc(100vw - 24px);height:auto;max-height:calc(100dvh - 24px)}
.healthcare-app #modal .provider-remove-card{max-height:calc(100dvh - 26px)}
.healthcare-app #modal .provider-remove-body{padding:20px}
.healthcare-app #modal .provider-remove-profile{padding:18px;gap:14px}
.healthcare-app #modal .provider-remove-profile .initials{width:48px;height:48px;flex-basis:48px;font-size:18px}
.healthcare-app #modal .provider-remove-profile h3,.healthcare-app #modal .provider-remove-question{font-size:19px}
.healthcare-app #modal .provider-remove-profile p{font-size:13px}
.healthcare-app #modal .provider-remove-card .provider-card-footer{padding:16px 20px;gap:10px}
.healthcare-app #modal .provider-remove-card .provider-card-footer .btn{font-size:14px;padding:10px 16px}
}

.healthcare-app #modal:has(.provider-remove-card)>#modal-content{height:auto}

.healthcare-app #modal:has(.provider-remove-card){height:fit-content;bottom:auto;top:50%;margin-top:0;margin-bottom:0;translate:0 -50%}

/* Single-provider entry uses the same bounded form as Edit details. */
.healthcare-app #modal .provider-add-control{min-width:0;padding:10px 12px;background:#fff}
.healthcare-app #modal .provider-add-control input{box-sizing:border-box;width:100%;min-height:40px;padding:9px 11px;border:1px solid #b7cfe9;border-radius:5px;background:#fff;color:#062956;font:inherit}
.healthcare-app #modal .provider-add-control small{display:block;margin-top:7px;color:#55708c;font-size:12px;line-height:1.45}
.healthcare-app #modal .provider-add-control #provider-add-npi-error{color:#ac263d}
.healthcare-app #modal .provider-add-control [hidden]{display:none}
.healthcare-app #modal .provider-add-control input[aria-invalid=true]{border-color:#cf6b7d}

/* Source evidence shares the provider shell, scrolling only its content. */
.healthcare-app #modal .provider-source-card{grid-template-rows:auto minmax(0,1fr) auto}
.healthcare-app #modal .provider-source-meta{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;padding:20px;border:1px solid #b9d8f4;border-radius:5px;background:#edf6ff}
.healthcare-app #modal .provider-source-meta>div{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere;font-size:15px;line-height:1.5}
.healthcare-app #modal .provider-source-meta strong{font-size:13px;color:#43678e}
.healthcare-app #modal .provider-source-note{margin:18px 0;color:#55708c;font-size:13px;line-height:1.5}
.healthcare-app #modal .provider-source-card .provider-card-table{table-layout:fixed;min-width:0}
.healthcare-app #modal .provider-source-card .provider-card-table th:first-child{width:38%}
.healthcare-app #modal .provider-source-unavailable{color:#6e7d90}
.healthcare-app #modal .provider-source-card .provider-card-footer{display:flex;justify-content:flex-end}
.healthcare-app #modal .provider-source-card .provider-card-footer .btn{padding:10px 24px}
.healthcare-app #modal .provider-source-action{margin-top:20px}
.healthcare-app #modal .provider-source-action .btn{min-height:42px;padding:10px 18px;border:1px solid #0860ff;background:#fff;color:#0058ef;border-radius:5px;font:inherit;font-weight:700;transform:none;filter:none}
.healthcare-app #modal .provider-source-action .btn:hover{background:#e9f2ff}
@media(max-width:650px){.healthcare-app #modal .provider-source-meta{grid-template-columns:1fr;padding:16px;gap:14px}}

/* Match page-size controls to the existing pagination controls. */
.roster-page .roster-page-size{display:flex;align-items:center;gap:7px;margin:0;color:#49668d;font-size:11px;white-space:nowrap}
.roster-page .roster-page-size select{box-sizing:border-box;width:68px;height:34px;min-height:34px;padding:6px 8px;border:1px solid #c6daf4;border-radius:7px;background:#fff;color:#153d77;font:inherit}
.roster-page .roster-page-size select:focus-visible{outline:2px solid #075eff;outline-offset:2px}
