:root{--stip-load:#0b93aa;--stip-load-bg:rgba(247,251,252,.97);--stip-load-slot:0px}
/* The home reserves a real loading slot: the HUD never covers planning or controls. */
#homeView:not(.hidden) .hs-home{padding-top:calc(16px + env(safe-area-inset-top))!important}
/* Current-week preview starts today; on the weekend it starts with Saturday and keeps Sunday beside it. */
.hc-days:has(.today.d2)>.hc-day.d1,.hc-days:has(.today.d3)>.hc-day:is(.d1,.d2),.hc-days:has(.today.d4)>.hc-day:is(.d1,.d2,.d3),.hc-days:has(.today.d5)>.hc-day:is(.d1,.d2,.d3,.d4),.hc-days:has(.today.d6)>.hc-day:is(.d1,.d2,.d3,.d4,.d5),.hc-days:has(.today.d7)>.hc-day:is(.d1,.d2,.d3,.d4,.d5){display:none!important}
#stipLoadHud{position:fixed;z-index:1600;left:50%;top:calc(8px + env(safe-area-inset-top));bottom:auto;transform:translate(-50%,-8px) scale(.98);width:min(270px,calc(100vw - 28px));box-sizing:border-box;padding:7px 10px 8px;border:1px solid #d5e7eb;border-radius:14px;background:var(--stip-load-bg);box-shadow:0 7px 20px rgba(15,64,80,.13);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;pointer-events:none;transition:transform .16s ease,opacity .16s ease}
#stipLoadHud.show{transform:translate(-50%,0) scale(1);opacity:1}#stipLoadHud.done{opacity:0;transform:translate(-50%,-5px) scale(.98)}
.stip-load-row{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;align-items:center}.stip-load-icon{width:30px;height:30px;border-radius:10px;background:#e8f6f8;color:#087e94;display:grid;place-items:center;position:relative;overflow:hidden}.stip-load-copy{min-width:0}.stip-load-copy strong,.stip-load-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stip-load-copy strong{color:#123f50;font-size:.7rem}.stip-load-copy small{margin-top:1px;color:#71858d;font-size:.56rem;font-weight:750}.stip-load-track{height:2px;margin-top:6px;border-radius:999px;background:#e2eef0;overflow:hidden}.stip-load-bar{height:100%;width:0;background:var(--stip-load);border-radius:inherit;transition:width .24s ease}
.stip-load-icon::before,.stip-load-icon::after{content:"";position:absolute}.stip-load-hud[data-kind="planning"] .stip-load-icon::before{width:16px;height:13px;border:2px solid currentColor;border-radius:4px}.stip-load-hud[data-kind="planning"] .stip-load-icon::after{width:10px;height:2px;background:currentColor;box-shadow:0 4px currentColor;animation:stipSlide 1s linear infinite}.stip-load-hud[data-kind="team"] .stip-load-icon::before{width:6px;height:6px;border:2px solid currentColor;border-radius:50%;box-shadow:10px 2px 0 -1px #e8f6f8,10px 2px 0 1px currentColor}.stip-load-hud[data-kind="team"] .stip-load-icon::after{width:20px;height:9px;border:2px solid currentColor;border-top:0;border-radius:0 0 13px 13px;bottom:5px;animation:stipPulse 1.1s ease-in-out infinite}.stip-load-hud[data-kind="contacts"] .stip-load-icon::before{width:6px;height:6px;border-radius:50%;background:currentColor}.stip-load-hud[data-kind="contacts"] .stip-load-icon::after{width:18px;height:18px;border:2px solid transparent;border-top-color:currentColor;border-radius:50%;animation:stipSpin .8s linear infinite}.stip-load-hud[data-kind="responsable"] .stip-load-icon::before{width:6px;height:6px;border-radius:50%;background:currentColor}.stip-load-hud[data-kind="responsable"] .stip-load-icon::after{width:19px;height:19px;border:2px solid currentColor;border-radius:50%;animation:stipRadar 1.1s ease-out infinite}.stip-load-hud[data-kind="auth"] .stip-load-icon::before{width:7px;height:7px;border:2px solid currentColor;border-radius:50%;left:6px}.stip-load-hud[data-kind="auth"] .stip-load-icon::after{width:14px;height:3px;background:currentColor;transform:rotate(-35deg);right:4px;bottom:9px;animation:stipPulse .9s ease-in-out infinite}.stip-load-hud[data-kind="agent"] .stip-load-icon::before{inset:5px;border:2px solid currentColor;border-radius:6px}.stip-load-hud[data-kind="agent"] .stip-load-icon::after{left:6px;right:6px;height:2px;background:currentColor;animation:stipScan 1.15s ease-in-out infinite}.stip-load-hud[data-kind="evaluation"] .stip-load-icon::before{width:14px;height:18px;border:2px solid currentColor;border-radius:4px}.stip-load-hud[data-kind="evaluation"] .stip-load-icon::after{width:8px;height:4px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);animation:stipPulse .9s ease-in-out infinite}.stip-load-hud[data-kind="generic"] .stip-load-icon::before{width:18px;height:18px;border:3px solid rgba(11,147,170,.2);border-top-color:currentColor;border-radius:50%;animation:stipSpin .8s linear infinite}
@keyframes stipSpin{to{transform:rotate(360deg)}}@keyframes stipPulse{50%{transform:scale(.8);opacity:.55}}@keyframes stipRadar{0%{transform:scale(.35);opacity:1}100%{transform:scale(1.2);opacity:0}}@keyframes stipScan{0%,100%{top:7px}50%{top:21px}}@keyframes stipSlide{0%{transform:translateX(-3px);opacity:.4}50%{transform:translateX(3px);opacity:1}100%{transform:translateX(-3px);opacity:.4}}
@media(prefers-reduced-motion:reduce){#stipLoadHud,.stip-load-bar{transition:none!important}.stip-load-icon::before,.stip-load-icon::after{animation:none!important}}

/* Global loading HUD retired: loading belongs inside each module footprint. */
#stipLoadHud{display:none!important}
