.sub-hero .photo-note{display:block;margin-top:10px;color:#8992a2;font-size:11px}
.schedule-list.active{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:2px}
.schedule-list .schedule-loading{grid-column:1/-1}
.schedule-list article.schedule-doctor-card{min-width:0;min-height:0;margin:0;padding:10px;border:1px solid rgba(19,42,79,.07);border-radius:14px;background:#fff;display:grid;grid-template-columns:minmax(82px,1fr) minmax(0,2fr);align-items:center;gap:10px;box-shadow:0 8px 24px rgba(15,39,74,.045)}
.schedule-list article.schedule-doctor-card:hover{transform:translateY(-2px);border-color:#cad7e5}
.schedule-doctor-left{min-width:0;display:grid;grid-template-rows:72px 26px;justify-items:center;align-content:center;gap:5px}
.schedule-doctor-left>.initials{width:72px;height:72px;min-height:0;padding:0;border-radius:12px;overflow:hidden;display:grid;place-items:center}
.schedule-doctor-left>.initials img{width:100%;height:100%;object-fit:cover;object-position:center 20%}
.schedule-doctor-left>.cabinet{width:72px;height:26px;min-height:0;padding:4px 6px;border-radius:7px;background:#edf3f8;color:var(--navy);display:flex;align-items:center;justify-content:space-between;gap:4px;text-align:left;font-size:8px}
.schedule-doctor-left>.cabinet b{display:block;font-size:14px;line-height:1}
.schedule-doctor-main{min-width:0;display:grid;grid-template-rows:auto 52px;align-content:center;gap:6px}
.schedule-doctor-name{min-width:0;display:flex;flex-direction:column;justify-content:center}
.schedule-doctor-name strong,.schedule-doctor-name small{display:block}
.schedule-doctor-name strong{font-size:12px;line-height:1.24}
.schedule-doctor-name small{margin-top:3px;color:#8290a1;font-size:9px}
.schedule-doctor-hours{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.schedule-doctor-hours>div{min-width:0;height:52px;padding:7px 8px;border-radius:8px;background:#f5f8fb;display:flex;flex-direction:column;justify-content:center}
.schedule-doctor-hours small,.schedule-doctor-hours b{display:block}
.schedule-doctor-hours small{color:#8290a1;font-size:8px}
.schedule-doctor-hours b{margin-top:2px;color:var(--navy);font-size:11px;white-space:nowrap}
.schedule-doctor-hours .muted b{color:#98a3b1}

.week-view{overflow:visible}
.week-mobile-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.week-mobile-list>p{grid-column:1/-1;margin:7px 4px 12px;color:#718095;font-size:11px}
.week-mobile-list>button{width:100%;min-width:0;min-height:138px;padding:20px;border:1px solid rgba(19,42,79,.08);border-radius:13px;background:#fff;color:var(--ink);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:18px;text-align:left;box-shadow:0 7px 20px rgba(15,39,74,.045);cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.week-mobile-list>button:hover,.week-mobile-list>button:focus-visible{transform:translateY(-2px);border-color:#bdcede;box-shadow:0 13px 30px rgba(15,39,74,.08);outline:none}
.week-mobile-list>button span,.week-mobile-list>button strong,.week-mobile-list>button small{display:block}
.week-doctor-main{width:100%;min-width:0;display:flex!important;align-items:center;gap:13px}
.week-doctor-avatar{flex:0 0 54px;width:54px;height:54px;border:2px solid #fff;border-radius:12px;background:#edf3f8;color:var(--pink);display:grid!important;place-items:center;overflow:hidden;box-shadow:0 5px 14px rgba(15,39,74,.11);font-size:11px;font-weight:800}
.week-doctor-avatar img,.week-dialog-avatar img{width:100%;height:100%;object-fit:cover}
.week-doctor-copy{min-width:0}
.week-mobile-list>button strong{font-size:14px;line-height:1.3}
.week-mobile-list>button small{margin-top:5px;color:#8490a0;font-size:10px}
.week-mobile-cta{padding:9px 11px;border-radius:8px;background:#edf3f9;color:var(--navy);font-size:9px!important;font-weight:800;letter-spacing:.02em}
.week-doctor-dialog{width:min(590px,calc(100% - 28px));max-height:min(760px,calc(100dvh - 28px));padding:0;border:0;border-radius:22px;background:transparent;color:var(--ink);box-shadow:0 30px 90px rgba(8,30,57,.3);overflow:auto;overscroll-behavior:contain}
.week-doctor-dialog::backdrop{background:rgba(9,28,51,.65);backdrop-filter:blur(5px)}
.week-dialog-shell{position:relative;padding:32px;border-radius:22px;background:#f4f7fb}
.week-dialog-close{position:absolute;right:18px;top:18px;width:40px;height:40px;border:1px solid #d7e1ec;border-radius:50%;background:#fff;color:var(--navy);font-size:25px;line-height:1;cursor:pointer}
.week-dialog-person{display:flex;align-items:center;gap:16px;padding:4px 52px 22px 0}
.week-dialog-avatar{flex:0 0 68px;width:68px;height:68px;border:3px solid #fff;border-radius:16px;background:#e9f0f7;color:var(--pink);display:grid;place-items:center;overflow:hidden;box-shadow:0 8px 22px rgba(15,39,74,.13);font-size:12px;font-weight:800}
.week-dialog-heading{min-width:0;padding:0}
.week-dialog-heading>span{color:var(--pink);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.week-dialog-heading h2{margin:8px 0 3px;font-size:clamp(25px,5vw,36px);line-height:1.1;letter-spacing:-.04em}
.week-dialog-heading p{margin:0;color:#758397;font-size:12px}
.week-dialog-days{display:grid;gap:8px}
.week-dialog-day{display:grid;grid-template-columns:135px 1fr;gap:18px;align-items:center;min-height:76px;padding:15px 17px;border:1px solid #dfe7f0;border-radius:12px;background:#fff}
.week-dialog-day>div:first-child strong,.week-dialog-day>div:first-child small{display:block}
.week-dialog-day>div:first-child small{margin-top:2px;color:#8a96a6;font-size:10px}
.week-dialog-day>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.week-dialog-day span{color:#7a8797;font-size:10px}
.week-dialog-day b{display:block;margin-top:2px;color:var(--navy);font-size:13px}
.week-dialog-day.is-empty{background:#f9fbfd}
.week-dialog-day.is-empty span{font-size:12px}
.week-dialog-call{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:16px;border-radius:8px;background:var(--navy);color:#fff;font-size:13px;font-weight:800}

@media(max-width:1050px){
  .schedule-list.active,.week-mobile-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:720px){
  .schedule-list.active{grid-template-columns:1fr;gap:8px;padding:0}
  .schedule-list article.schedule-doctor-card{min-height:0;padding:10px;grid-template-columns:72px minmax(0,1fr);align-items:stretch;gap:10px}
  .schedule-list article.schedule-doctor-card>.schedule-doctor-left{grid-column:auto;grid-row:auto;grid-template-columns:68px;grid-template-rows:68px 25px;align-content:start;justify-content:center;gap:5px}
  .schedule-list article.schedule-doctor-card>.schedule-doctor-main{grid-column:auto;grid-row:auto}
  .schedule-doctor-left>.initials{width:68px;height:68px;min-height:0}
  .schedule-doctor-left>.cabinet{grid-column:auto;grid-row:auto;width:68px;height:25px}
  .schedule-doctor-main{grid-template-rows:minmax(32px,auto) 50px;align-content:start;gap:6px}
  .schedule-doctor-name{padding:1px 2px 0}
  .schedule-doctor-hours{grid-template-columns:1fr 1fr;gap:7px}
  .schedule-doctor-hours>.visit,.schedule-doctor-hours>.tele{grid-column:auto;grid-row:auto}
  .schedule-doctor-hours>div{height:50px;padding:7px}
  .week-view{padding:8px 7px 12px!important;overflow:visible!important;background:transparent!important}
  .week-mobile-list{grid-template-columns:1fr;gap:8px}
  .week-mobile-list>p{margin:5px 4px 10px;color:#718095;font-size:11px}
  .week-mobile-list>button{min-height:78px;padding:14px 14px 14px 17px;flex-direction:row;align-items:center;gap:15px}
  .week-doctor-main{flex:1}
  .week-doctor-avatar{flex-basis:48px;width:48px;height:48px;border-radius:11px}
  .week-doctor-copy strong{font-size:12px}
  .week-mobile-cta{flex:0 0 auto}
  .week-doctor-dialog{width:100%;max-width:none;max-height:calc(100dvh - 24px);margin:auto 0 0;border-radius:22px 22px 0 0}
  .week-dialog-shell{padding:25px 18px 20px}
  .week-dialog-close{right:14px;top:14px}
  .week-dialog-person{gap:12px;padding:2px 45px 18px 2px}
  .week-dialog-avatar{flex-basis:58px;width:58px;height:58px;border-radius:14px}
  .week-dialog-day{grid-template-columns:105px 1fr;gap:10px;min-height:72px;padding:13px 12px}
  .week-dialog-day>div:last-child{grid-template-columns:1fr}
}

@media(max-width:390px){
  .schedule-list article.schedule-doctor-card{grid-template-columns:68px minmax(0,1fr);padding:9px;gap:8px}
  .schedule-doctor-left{grid-template-columns:64px!important;grid-template-rows:64px 24px!important}
  .schedule-doctor-left>.initials{width:64px;height:64px}
  .schedule-doctor-left>.cabinet{width:64px;height:24px;padding:3px 5px}
  .schedule-doctor-hours{gap:5px}
  .schedule-doctor-hours>div{padding:6px}
  .schedule-doctor-hours b{font-size:10px}
}
