/* Clinic visual foundation: scoped to pages, never modal forms or clinical canvases. */
#screen-app.screen .page.clinic-unified-page{--clinic-page-line:#d9e5ed;--clinic-page-muted:#617789;--clinic-page-ink:#17384b}
#screen-app.screen .page.clinic-unified-page>.clinic-unified-heading{display:block!important;margin:18px 0 22px!important;padding:0!important}
#screen-app.screen .page.clinic-unified-page>.clinic-unified-heading h2{margin:0 0 8px!important;font-size:26px!important;line-height:1.25!important;color:var(--clinic-page-ink)}
#screen-app.screen .page.clinic-unified-page>.clinic-unified-heading p{margin:0!important;font-size:14px!important;line-height:1.5;color:var(--clinic-page-muted)}
#screen-app.screen .page.clinic-unified-page:has(>.clinic-unified-heading)>.amway-hd .amway-hd-left{display:none!important}
#screen-app.screen .page.clinic-unified-page:has(>.clinic-unified-heading) .dent-table-finder-copy{display:none!important}
#screen-app.screen .page.clinic-unified-page :is(.clinic-table-tools,.tbl-toolbar,.dent-table-finder){box-sizing:border-box;max-width:100%;border:1px solid var(--clinic-page-line);border-radius:14px;background:white;padding:14px!important;gap:10px!important;margin-bottom:14px;box-shadow:none}
#screen-app.screen .page.clinic-unified-page :is(.clinic-table-tools,.tbl-toolbar,.dent-table-finder) :is(input:not([type=checkbox]):not([type=radio]),select){box-sizing:border-box;min-height:42px;max-width:100%;border:1px solid var(--clinic-page-line);border-radius:9px;font-size:14px;padding:8px 12px}
#screen-app.screen .page.clinic-unified-page .clinic-unified-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:0!important;background:white}
#screen-app.screen .page.clinic-unified-page table.clinic-unified-table:where(:not(.stitch-directory-table)){width:100%;border-collapse:collapse;border-radius:0!important;font-size:14px}
#screen-app.screen .page.clinic-unified-page table.clinic-unified-table:where(:not(.stitch-directory-table))>thead,#screen-app.screen .page.clinic-unified-page table.clinic-unified-table:where(:not(.stitch-directory-table))>thead>tr,#screen-app.screen .page.clinic-unified-page table.clinic-unified-table:where(:not(.stitch-directory-table))>thead>tr>th{border-radius:0!important}
#screen-app.screen .page.clinic-unified-page table.clinic-unified-table:where(:not(.stitch-directory-table))>thead>tr>th{padding:14px 12px!important;font-size:11px!important;line-height:1.35!important;text-align:center;white-space:normal;letter-spacing:.2px}
#screen-app.screen .page.clinic-unified-page table.clinic-unified-table:where(:not(.stitch-directory-table))>tbody>tr>td{padding:14px 12px!important;font-size:14px!important;line-height:1.4;vertical-align:middle;border-bottom:1px solid var(--clinic-page-line)}
#screen-app.screen .page.clinic-unified-page table.clinic-unified-table:where(:not(.stitch-directory-table))>tbody>tr:nth-child(even){background:#f5f9fc}
#screen-app.screen .page.clinic-unified-page :is(.clinic-unified-scroll,.clinic-unified-heading) :focus-visible{outline:3px solid #2682c0;outline-offset:2px}
#screen-app.screen .page.clinic-unified-page table.clinic-unified-table:where(:not(.stitch-directory-table)) .clinic-row-icon-action{display:inline-grid!important;place-items:center;width:38px!important;min-width:38px!important;height:38px!important;padding:0!important;border:1px solid #c8dce9;border-radius:9px;background:white}
#screen-app.screen .page.clinic-unified-page table.clinic-unified-table:where(:not(.stitch-directory-table)) .clinic-row-icon-action svg{width:18px!important;height:18px!important}
#screen-app.screen .page.clinic-unified-page>.management-kpi-grid:not(.lab-status-cards){gap:10px!important;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important;margin-bottom:18px}
#screen-app.screen .page.clinic-unified-page>.management-kpi-grid:not(.lab-status-cards) .management-kpi{padding:12px!important;min-height:80px!important}
@media(max-width:700px){#screen-app.screen .page.clinic-unified-page>.clinic-unified-heading h2{font-size:23px!important}#screen-app.screen .page.clinic-unified-page :is(.clinic-table-tools,.tbl-toolbar){flex-wrap:wrap!important;min-width:0!important}#screen-app.screen .page.clinic-unified-page table.clinic-unified-table:where(:not(.stitch-directory-table)){min-width:640px}#screen-app.screen .page.clinic-unified-page table.clinic-unified-table:where(:not(.stitch-directory-table)) .clinic-row-icon-action{width:44px!important;min-width:44px!important;height:44px!important}}

/* Status labels carry their meaning through text and color, without decorative bullets. */
#screen-app .page :is(.olab-grid-status,.rad-status)::before{content:none!important;display:none!important}
#screen-app .page table :is(.remision-dispatch-dot,.status-dot,.state-dot){display:none!important}

/* Directory cards own their spacing, including when mounted by the page shell. */
#screen-app .clinic-unified-scroll:has(>table.stitch-directory-table){background:var(--surface,#f7f8fc);border:0}
