/* Calm, compact operational view based on the supplied reference screenshots. */
#patients>.backBtn,#patients .registryHead,#patients .primaryActionBar,#patients .quickSearch,#patients .visitMetrics,#patients .registryFilters,#patients .visitHeader{display:none!important}
#patients>.card{background:#fff;box-shadow:none!important;border:1px solid #e3e8ee;border-radius:12px;padding:20px!important}
.patientBoardPage52 .top{background:#fff;box-shadow:none;border-radius:12px;padding:12px 18px}.patientBoardPage52 .top h1{font-size:23px!important}
.cleanHeading52{display:flex;align-items:center;justify-content:space-between;gap:16px}.cleanHeading52 h2{margin:0;font-size:22px;color:#233247}.cleanHeading52 p{font-size:12px;color:#7b8797;margin:5px 0 0}.cleanHeadActions52{display:flex;gap:8px}.cleanHeadActions52 .btn{font-size:13px;box-shadow:none;border-radius:7px}
.cleanTool52,.cleanDate52 button,.cleanPagination52 button{background:white;border:1px solid #dfe5ec;border-radius:7px;padding:8px 11px;color:#546478;cursor:pointer;font-size:12px}
.cleanToolbar52{display:flex;align-items:center;gap:14px;margin:20px 0 15px}.cleanSearch52{flex:1;min-width:180px}.cleanSearch52 input{margin:0!important;height:39px;font-size:13px;border-radius:7px!important;background:#fbfcfe;min-width:0;width:100%}.cleanDate52{display:flex;gap:5px;align-items:center}.cleanDate52 input{margin:0;width:143px;padding:8px;border-radius:7px;font-size:12px}.cleanDate52 button{min-height:37px}
#cleanRoom52 label{background:none!important;border:0!important;padding:0!important;gap:6px!important;font-size:12px;white-space:nowrap}#cleanRoom52 select{font-size:12px;min-width:100px!important;width:110px!important;padding:8px!important;margin:0;border-radius:7px}
.cleanTabs52{display:flex;gap:19px;overflow-x:auto;border-bottom:1px solid #e4e9ef}.cleanTabs52 button{border:0;border-bottom:2px solid transparent;background:none;padding:9px 0 11px;color:#7c8898;white-space:nowrap;font-size:12px;cursor:pointer}.cleanTabs52 button.on{color:#087f76;border-bottom-color:#087f76;font-weight:700}.cleanBoardSummary52{display:flex;justify-content:space-between;gap:10px;color:#8893a2;font-size:11px;padding:12px 0 8px}
.cleanTableScroll52{overflow:auto}.cleanPatientTable52{width:100%;border-collapse:collapse;font-size:12px;color:#4d5b70;text-align:left;table-layout:auto}.cleanPatientTable52 th{font-size:11px;font-weight:600;color:#8b95a4;padding:10px 9px;background:#f8fafc;border-bottom:1px solid #e3e8ee;white-space:nowrap}.cleanPatientTable52 th button{border:0;background:none;font:inherit;color:inherit;cursor:pointer;padding:0}.cleanPatientTable52 td{padding:11px 9px;border-bottom:1px solid #edf0f4;vertical-align:middle}.cleanPatientTable52 tbody tr:hover{background:#f8fbfc}.cleanPatientTable52 td:nth-child(2){min-width:185px}.cleanPatientTable52 td:nth-child(4){max-width:240px}.cleanPatientTable52 td:nth-child(3),.cleanPatientTable52 td:nth-child(5),.cleanPatientTable52 td:nth-child(6){white-space:nowrap}.patientName52{border:0;background:none;color:#225887;font-size:12px;font-weight:600;padding:0;cursor:pointer;text-align:left}.patientName52:hover{text-decoration:underline}.patientMeta52{font-size:10px;color:#91a0af;margin-top:3px}.number52{color:#a1aab5}.patientMore52{font-size:22px;line-height:1;background:none;border:1px solid transparent;border-radius:6px;color:#718197;cursor:pointer;padding:3px 9px}.patientMore52:hover{background:#ecf3f7;border-color:#d7e3ec}.cleanStatus52{font-size:11px;color:#64768b}.cleanStatus52.checkout52{color:#a66c12;font-weight:600}.allergyNote52{display:block;color:#b45a47;font-size:10px;margin-top:3px}.cleanEmpty52{text-align:center;padding:40px!important;color:#8a96a5}.cleanPagination52{display:flex;justify-content:flex-end;align-items:center;gap:7px;padding-top:15px;font-size:11px;color:#8a96a5}.cleanPagination52 span{margin-right:auto}.cleanPagination52 button:disabled{opacity:.4;cursor:default}
#patients #registrationSyncState{background:transparent!important;border-top:1px solid #edf0f4;border-radius:0;padding:12px 0 0;margin-top:16px!important;font-size:10px;color:#8c97a6}#patients #registrationSyncState .btn{font-size:10px}
.patientMenu52[hidden]{display:none!important}.patientMenu52{position:fixed;z-index:190;background:#fff;border:1px solid #dde4ed;border-radius:9px;box-shadow:0 9px 35px #21334924;width:228px;padding:5px;overflow-y:auto;color:#40526a}.patientMenuTitle52{font-size:11px;font-weight:600;padding:9px 10px;border-bottom:1px solid #edf0f4;overflow-wrap:anywhere}.patientMenu52 button{display:block;width:100%;font-size:12px;text-align:left;border:0;background:white;padding:9px 10px;border-radius:5px;color:#53657a;cursor:pointer}.patientMenu52 button:hover,.patientMenu52 button:focus-visible{background:#f0f7f8}.patientMenu52 button:disabled{color:#9cabb8;cursor:default;background:white}.patientMenu52 .menuDanger52{color:#ae5360;border-top:1px solid #edf0f4;border-radius:0;margin-top:3px}.patientRecord52{display:grid;grid-template-columns:1fr 1fr;gap:14px}.patientRecord52 dt{font-size:11px;color:#7f8a98}.patientRecord52 dd{font-size:13px;margin:3px 0 0;color:#263c50;overflow-wrap:anywhere}.registrationChoices52{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.registrationChoice52{background:#f8fbfc;text-align:left;border:1px solid #dce7e9;border-radius:10px;padding:19px;cursor:pointer;color:#245a62}.registrationChoice52 b,.registrationChoice52 span{display:block}.registrationChoice52 span{font-size:12px;color:#85929d;margin-top:6px}.registrationChoice52:hover{border-color:#26aa9b;background:#f3faf7}.srOnly52{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:900px){#patients>.card{padding:14px!important}.cleanHeading52{align-items:flex-start;flex-direction:column}.cleanHeadActions52{width:100%}.cleanToolbar52{flex-wrap:wrap;gap:9px}.cleanSearch52{flex:1 1 100%}.cleanBoardSummary52>span:last-child{display:none}.cleanPatientTable52{min-width:720px}.cleanTabs52{gap:17px}.cleanDate52{flex:1}#cleanRoom52{margin-left:auto}.cleanPatientTable52 td{padding:12px 8px}.registrationChoices52,.patientRecord52{grid-template-columns:1fr}.cleanPatientTable52 th{position:sticky;top:0}.patientBoardPage52 .top>.row .badge{font-size:10px}}
@media(min-width:901px){.app.patientBoardPage52{grid-template-columns:72px minmax(0,1fr)!important}.app.patientBoardPage52:has(.side:hover){grid-template-columns:245px minmax(0,1fr)!important}.patientBoardPage52 .side{width:72px!important;min-width:72px!important;padding:20px 10px}.patientBoardPage52 .side:hover{width:245px!important;min-width:245px!important}.patientBoardPage52 .side:not(:hover) .navText{opacity:0!important}.patientBoardPage52 .side:not(:hover) .brand{font-size:0!important}.patientBoardPage52 .side:not(:hover) .brand:before{content:'A&G';font-size:18px}.patientBoardPage52 .side:not(:hover) .sub{opacity:0}.patientBoardPage52 .side:hover .sub{opacity:.8}.patientBoardPage52 .nav div{gap:14px}}
@media(max-width:900px){.cleanPatientTable52 th:last-child,.cleanPatientTable52 td:last-child{position:sticky;right:0;background:#fff;box-shadow:-3px 0 5px #d5dce425}}

/* The page header supplies the title; keep the board controls compact. */
.cleanHeading52>div:first-child{display:none}.cleanHeading52{justify-content:flex-end}
@media(max-width:900px){.patientBoardPage52 .top>.row{gap:6px!important}.patientBoardPage52 #userChip{width:auto!important;flex:1;font-size:11px}.patientBoardPage52 .top{padding:12px 14px}.cleanToolbar52{margin-top:14px}}
