/* Sidebar sticks within the page grid, whose lower edge precedes the one canonical footer. */
.doctor-body .doctor-shell{display:grid;grid-template-columns:var(--doctor-sidebar) minmax(0,1fr);align-items:start;min-block-size:100svh;isolation:isolate}
.doctor-body .doctor-shell-main{min-inline-size:0;position:relative}
.doctor-body .doctor-shell-main .doctor-topbar,.doctor-body .doctor-shell-main .doctor-page,.doctor-body>.site-footer{margin-inline-start:0}
.doctor-body .doctor-shell-main .doctor-page{margin-inline:auto;max-inline-size:1600px;inline-size:100%;padding:24px clamp(18px,2.3vw,40px) 44px}
.doctor-body .doctor-sidebar{position:sticky;inset-block-start:0;inset-block-end:auto;inset-inline:auto;inline-size:100%;block-size:100dvh;max-block-size:100dvh;min-block-size:0;box-sizing:border-box;align-self:start;display:flex;flex-direction:column;overflow:hidden;padding:18px 12px 12px;z-index:55}
.doctor-body .doctor-sidebar>.brand{flex-shrink:0;min-block-size:60px;padding-block:0 14px;margin-block:0 10px}
.doctor-body .doctor-sidebar .doctor-nav{flex:1 1 0;min-block-size:0;overflow:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding-block:8px;padding:4px 3px 12px;scrollbar-width:thin}
.doctor-body .doctor-sidebar-bottom{flex:0 0 auto;min-block-size:0;padding:10px 2px max(2px,env(safe-area-inset-bottom));margin:0;background:var(--card);border-top:1px solid var(--v32-line)}
.doctor-body .doctor-sidebar-bottom>a,.doctor-body .doctor-sidebar-bottom>button{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.doctor-body .doctor-topbar .doctor-header-v32{padding:15px clamp(18px,2.3vw,40px);min-block-size:84px}
.doctor-body .doctor-top-controls{inline-size:100%;margin:0;gap:14px}
.doctor-body .doctor-doctor-intro{flex:1 1 auto;margin-inline-end:auto;border:0;padding:0;gap:12px}
.doctor-body .doctor-welcome{max-inline-size:none;min-inline-size:0}
.doctor-body .doctor-welcome h1{display:block;white-space:normal;overflow:visible;text-overflow:clip;font-size:clamp(14px,1.2vw,17px);font-weight:500;line-height:1.65;overflow-wrap:anywhere}
.doctor-body .doctor-header-avatar{flex-shrink:0}
.doctor-body .doctor-topbar .header-actions,.doctor-body .doctor-topbar .doctor-bell{flex-shrink:0}
.doctor-body .doctor-today{line-height:1.55;font-size:11px}
.doctor-body .doctor-profile{grid-template-columns:minmax(0,1.35fr) minmax(290px,.8fr);gap:24px;padding:22px;align-items:stretch}
.doctor-card-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px 14px;padding-block-end:15px;border-block-end:1px solid var(--v32-line);margin-block-end:20px}
.doctor-body .doctor-card-heading h2{font-size:17px;font-weight:500}
.doctor-card-heading>span{font-size:11px;color:var(--muted)}
.doctor-body .doctor-profile-info{gap:18px;align-items:flex-start}
.doctor-body .doctor-profile-info>.doctor-avatar{inline-size:108px;block-size:108px;flex-basis:108px;border-radius:50%;overflow:hidden}
.doctor-profile-main{min-inline-size:0;flex:1}
.doctor-body .doctor-page .doctor-profile-name h2{font-size:23px;line-height:1.55;font-weight:500}
.doctor-profile-name{flex-wrap:wrap}
.doctor-body .doctor-profile-title{font-size:13px;color:var(--muted);margin:3px 0 7px}
.doctor-body .doctor-specialty{font-size:15px;font-weight:500;margin:0 0 6px;color:var(--brand-secondary)}
.doctor-profile-bio{font-size:12.5px;color:var(--muted);line-height:1.85;margin:10px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.doctor-card-facts{display:flex;flex-wrap:wrap;gap:6px 15px;font-size:12px;margin-block:8px}
.doctor-card-services{display:flex;flex-wrap:wrap;gap:6px;margin-block:10px}
.doctor-card-services>span{background:var(--v32-soft);border:1px solid var(--v32-line);border-radius:30px;padding:3px 10px;font-size:11px}
.doctor-body .doctor-address{font-size:12px;line-height:1.8;margin-block:10px 12px;padding:8px 11px}
.doctor-card-preview{display:inline-flex;color:var(--brand-primary);font-size:12px;font-weight:500;text-decoration:underline;text-underline-offset:5px;padding-block:5px}
.doctor-body .doctor-location{min-height:0;padding:0;gap:0;overflow:hidden;border-radius:15px;background:var(--card);text-align:start;display:flex;align-items:stretch;justify-content:flex-start}
.doctor-body .doctor-location::before{content:none}
.doctor-body .doctor-location-copy{padding:13px 15px 3px;justify-items:start;gap:3px}
.doctor-body .doctor-location-copy strong{max-inline-size:none;font-weight:500;font-size:12px}
.doctor-body .doctor-location-actions{padding:10px 15px 14px;justify-content:space-between;gap:8px;flex-wrap:wrap}
.doctor-map-frame{position:relative;min-inline-size:0;min-block-size:245px;block-size:245px;overflow:hidden;background:var(--v32-soft)}
.doctor-map-canvas{position:absolute;inset:0;inline-size:100%;block-size:100%}
.doctor-map-frame[data-map-state=loading] .doctor-map-canvas{opacity:0;pointer-events:none}
.doctor-map-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:32px 20px 70px;text-align:center;margin:0;color:var(--muted);font-family:inherit;font-size:12px;line-height:1.8;background:var(--v32-soft)}
.doctor-map-retry{position:absolute;inset-block-end:40px;inset-inline-start:50%;transform:translateX(50%);z-index:2}
html[dir=ltr] .doctor-map-retry{transform:translateX(-50%)}
.doctor-map-portrait{inline-size:46px;block-size:46px;display:grid;place-items:center;overflow:hidden;border:3px solid var(--card);outline:2px solid var(--brand-primary);border-radius:50%;background:var(--brand-primary);color:var(--brand-white);box-shadow:0 5px 18px color-mix(in srgb,var(--brand-black) 18%,transparent);font-size:18px}
.doctor-map-portrait img{inline-size:100%;block-size:100%;object-fit:cover}
.doctor-map-frame .maplibregl-ctrl-attrib{font:9px/15px Arial,sans-serif}
.doctor-manage-body .dm-location-map.doctor-map-frame{min-height:300px;height:300px;padding:0;border:1px solid var(--v32-line);border-radius:13px}
.dm-map-directions{position:absolute;inset-inline-end:10px;inset-block-start:10px;z-index:3;border:1px solid var(--v32-line);background:var(--card);color:var(--brand-primary);padding:7px 11px;border-radius:9px;font-size:11px}
@media(min-width:761px) and (max-height:540px){.doctor-body .doctor-sidebar{padding-block:8px}.doctor-body .doctor-sidebar>.brand{min-block-size:44px;margin-bottom:4px;padding-bottom:7px}.doctor-body .doctor-sidebar .brand img{width:34px;height:34px}.doctor-body .doctor-sidebar-bottom{gap:3px;padding-top:5px}.doctor-body .doctor-sidebar-bottom>a{min-height:30px;padding:5px}.doctor-body .doctor-sidebar-bottom>button:not([hidden]){min-height:32px;padding:5px}}
@media(max-width:1100px){.doctor-body .doctor-profile{grid-template-columns:minmax(0,1fr)}.doctor-body .doctor-location{display:grid;grid-template-columns:minmax(250px,1fr) minmax(0,1fr)}.doctor-location-map{grid-row:1/3}.doctor-body .doctor-location-actions{align-self:end}.doctor-body .doctor-location-copy{align-self:center}.doctor-body .doctor-top-controls{gap:9px}}
@media(max-width:760px){.doctor-body .doctor-shell{display:block}.doctor-body .doctor-sidebar{position:static;block-size:auto;max-block-size:none;padding:10px 12px 8px}.doctor-body .doctor-sidebar .doctor-nav{display:flex;flex-direction:row;overflow-x:auto;gap:6px;padding:0 0 6px}.doctor-body .doctor-sidebar-bottom{display:flex!important;justify-content:flex-end;gap:8px;padding:5px 0 0;border:0}.doctor-body .doctor-sidebar-bottom>a,.doctor-body .doctor-sidebar-bottom>button:not([hidden]){min-height:29px;padding:4px 11px;font-size:10px}.doctor-body .doctor-shell-main .doctor-page{padding:16px 13px 32px}.doctor-body .doctor-topbar .doctor-header-v32{padding:11px 13px;min-height:72px}.doctor-body .doctor-doctor-intro{min-width:120px;gap:8px}.doctor-body .doctor-welcome h1{font-size:12px}.doctor-body .doctor-profile{padding:17px;gap:17px}.doctor-body .doctor-location{display:flex}.doctor-map-frame{height:230px;min-height:230px}.doctor-body .doctor-profile-info>.doctor-avatar{width:80px;height:80px;flex-basis:80px}.doctor-body .doctor-page .doctor-profile-name h2{font-size:20px}.doctor-card-heading{margin-bottom:15px}.doctor-body .doctor-top-controls{flex-wrap:wrap}}
