.cal-wrap{position:relative;background:#f7f9fc}
.cal-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:14px;padding:70px 24px;text-align:center;background:#f7f9fc;transition:opacity .35s ease;z-index:1}
.cal-wrap.ready .cal-loading{opacity:0;pointer-events:none}
.cal-spin{width:38px;height:38px;border-radius:50%;border:4px solid #dbe7f3;border-top-color:#3fa9f5;animation:calSpin .8s linear infinite}
.cal-msg{font-size:18px;font-weight:700;color:#13294b}
.cal-skel{display:flex;flex-direction:column;gap:12px;width:min(100%,360px);margin-top:10px}
.cal-skel span{display:block;height:64px;border-radius:14px;background:linear-gradient(90deg,#e9eff6 25%,#f4f7fb 50%,#e9eff6 75%);background-size:200% 100%;animation:calShim 1.4s ease-in-out infinite}
.cal-slow{display:none;font-size:15px;color:#4a5566;max-width:340px;line-height:1.5}
.cal-wrap.slow .cal-slow{display:block}
@keyframes calSpin{to{transform:rotate(360deg)}}
@keyframes calShim{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media (prefers-reduced-motion:reduce){.cal-spin,.cal-skel span{animation:none}}
@media (max-width:760px){
  .sched-hero{padding:32px 20px 96px!important;gap:10px!important}
  .sched-hero h1{font-size:34px!important}
  .cal-frame{height:min(760px,calc(100svh - 40px))!important;min-height:600px}
}
/* Desktop: full-width calendar so Zoho shows the calendar and times side by side */
@media (min-width:761px){
  .sched-cal{flex:1 1 100%!important}
  .sched-side{flex:1 1 100%!important;flex-direction:row!important;flex-wrap:wrap;align-items:stretch}
  .sched-side>div{flex:1 1 260px}
  .cal-frame{height:760px!important}
}
