/* V7.7 */
@media(min-width:801px){body:has(#nav) #main{padding-top:20px}.v77-planning{max-width:1400px!important;width:100%!important}}
.v77-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:12px 16px 18px}.v77-weekday{text-align:center;font-weight:750;font-size:12px;color:#537464;padding:9px 0}.v77-empty{background:#f8faf9;border-radius:10px}.v77-day{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;min-width:0;min-height:94px;padding:10px!important;background:#fafcfb!important;border:1px solid #e4ede7!important;border-radius:11px!important;color:#183e2d!important}.v77-day:hover,.v77-day:focus-visible{border-color:#15945a!important;background:#f0faf3!important}.v77-day.v77-today{border:2px solid #09945b!important}.v77-day.v77-has-jobs{background:#f0faf4!important}.v77-day-number{font-size:15px;font-weight:800}.v77-job-count{font-size:11px;color:#087a4a;font-weight:750}.v77-job-name{max-width:100%;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#335a47}.v77-more{font-size:11px;color:#0c7546}.v77-legend{font-size:12px;color:#647e6f;padding:0 18px 18px}.v77-delete-site{padding:9px 11px!important;background:#fff3f1!important;color:#a63427!important;border:1px solid #efccc6!important;border-radius:10px!important;margin-left:7px}.v77-toast{position:fixed;z-index:99999;bottom:28px;left:50%;transform:translateX(-50%);background:#0d3f2d;color:white;padding:14px 20px;border-radius:13px;box-shadow:0 12px 35px #0003;max-width:min(520px,calc(100vw - 32px));font-size:14px;line-height:1.5;text-align:center}.v77-toast.v77-error{background:#783427}.v77-toast[hidden]{display:none!important}
@media(max-width:650px){.v77-month-grid{gap:3px;padding:8px}.v77-day{min-height:58px;padding:6px!important;border-radius:7px!important}.v77-day-number{font-size:13px}.v77-job-count{font-size:9px}.v77-job-name{display:none}.v77-weekday{font-size:10px}.v77-legend{padding:0 10px 14px}}
/* Remove legacy decorative top strip where present */
@media(min-width:801px){.v63-topbar,.v63-header-strip{height:12px!important;min-height:12px!important}}

/* V7.8 : barre superieure compacte, y compris si le theme force son affichage */
@media(min-width:801px){
 html body header.v5-head{height:30px!important;min-height:30px!important;max-height:30px!important;padding:0 14px!important;box-sizing:border-box!important;overflow:visible!important;}
 html body header.v5-head .brand{display:none!important;}
 html body header.v5-head .v61-header-actions{height:30px!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;margin-left:auto!important;}
 html body header.v5-head .v63-switch{width:57px!important;min-width:57px!important;height:25px!important;min-height:25px!important;border-width:2px!important;padding:0 5px!important;font-size:11px!important;}
 html body header.v5-head .v63-switch-text{font-size:11px!important;}
 html body header.v5-head .v63-switch-thumb{width:17px!important;height:17px!important;right:2px!important;top:2px!important;}
 html body header.v5-head .v63-switch-off .v63-switch-thumb{transform:translateX(-29px)!important;}
}
