.core-recent-patients{display:inline-flex;align-items:center;flex:none}.core-recent-patients-toggle{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:7px 10px;border:1px solid var(--core-nav-accent,#176c76);border-radius:12px;background:#ffffffa6;color:var(--core-nav-accent,#176c76);font:750 13px/1.35 system-ui;white-space:nowrap;cursor:pointer}.core-recent-patients-toggle:hover,.core-recent-patients-toggle[aria-expanded=true]{background:#fff;box-shadow:0 3px 12px #173b431a}.core-recent-patients-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.core-recent-patients-toggle .core-recent-chevron{width:16px;height:16px}.core-recent-patients-count{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#173d4914;font-size:11px;font-variant-numeric:tabular-nums}.core-recent-patients-toggle:focus-visible,.core-recent-patient:focus-visible{outline:3px solid #5b9fba;outline-offset:2px}
.core-recent-patients-popup{position:fixed;z-index:1200;box-sizing:border-box;width:min(360px,calc(100vw - 20px));max-height:min(540px,calc(100dvh - 100px));overflow:auto;padding:8px;border:1px solid #98b8c7;border-radius:15px;background:#f7fbfc;box-shadow:0 12px 38px #173b433b;color:#244b5b}.core-recent-patients-popup[hidden]{display:none!important}.core-recent-patients-popup>header{display:grid;gap:4px;padding:10px 12px 13px;border-bottom:1px solid #d0e0e5;margin-bottom:5px}.core-recent-patients-popup>header strong{font:750 15px/1.4 system-ui}.core-recent-patients-popup>header small{font:450 12px/1.5 system-ui;color:#657f8a}.core-recent-patients-popup>p{padding:8px 12px;font:450 13px/1.6 system-ui}.core-recent-patients-popup>p:empty{display:none}.core-recent-patient{display:flex;align-items:center;gap:11px;width:100%;padding:10px;border:1px solid transparent;border-radius:10px;background:transparent;color:#244b5b;text-align:left;cursor:pointer}.core-recent-patient:hover,.core-recent-patient:focus-visible{background:#e1f0f1;border-color:#afcfd2}.core-recent-patient-avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:#e5eef6;color:#3b718a}.core-recent-patient-avatar svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.core-recent-patient-identity{display:grid;gap:3px;min-width:0}.core-recent-patient-identity strong{font:700 14px/1.4 system-ui;overflow-wrap:anywhere}.core-recent-patient-identity small{font:450 12px/1.4 system-ui;color:#657f8a}.core-recent-patient-arrow{margin-left:auto;padding-left:6px;font-size:19px;color:#52808c}
@media(max-width:650px){.core-recent-patients-toggle>span:not(.core-recent-patients-count){display:none}.core-recent-patients-toggle{min-height:44px}}
.core-recent-patients-popup>header{grid-template-columns:minmax(0,1fr) auto;align-items:center}.core-recent-patients-popup>header strong{grid-column:1}.core-recent-patients-popup>header small{grid-column:1/-1}.core-recent-clear{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #9bb8c4;border-radius:9px;background:#fff;color:#55717d;cursor:pointer}.core-recent-clear:hover{border-color:#ba6262;background:#fff2f1;color:#a23d3d}.core-recent-clear:focus-visible,.core-recent-clear-dialog button:focus-visible{outline:3px solid #5b9fba;outline-offset:2px}.core-recent-clear svg,.core-recent-clear-symbol svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.core-recent-clear-dialog{width:min(420px,calc(100vw - 32px));padding:0;border:1px solid #9db7c1;border-radius:18px;background:#f8fbfc;color:#244b5b;box-shadow:0 20px 70px #102f3d55}.core-recent-clear-dialog::backdrop{background:#142a35a6;backdrop-filter:blur(5px)}.core-recent-clear-content{display:grid;justify-items:center;padding:26px;text-align:center}.core-recent-clear-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#fff0ef;color:#a23d3d}.core-recent-clear-symbol svg{width:25px;height:25px}.core-recent-clear-content h2{margin:15px 0 5px;font:750 19px/1.3 system-ui}.core-recent-clear-content>p{margin:4px 0;color:#5e7781;font:450 14px/1.55 system-ui}.core-recent-clear-content>p[role=status]:empty{display:none}.core-recent-clear-content footer{display:flex;justify-content:center;gap:12px;margin-top:19px}.core-recent-clear-content footer button{min-height:40px;padding:8px 16px;border:1px solid #9bb8c4;border-radius:10px;background:#fff;color:#315663;font:700 13px/1.2 system-ui;cursor:pointer}.core-recent-clear-content footer [data-recent-clear-confirm]{border-color:#a84646;background:#a84646;color:white}.core-recent-clear-content footer button:disabled{opacity:.6;cursor:wait}
