/* Hours controls belong to Basic Information; editing uses the existing CMS dialog. */
[data-vg-weekly-control]{min-width:0;border-top:1px solid var(--color-border);padding-top:12px;margin-top:14px}
.vg-weekly-control-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;min-width:0}
.vg-weekly-control-row>span:first-child{margin-right:auto}
.vg-weekly-mode{display:flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap}
.vg-weekly-summary{margin-top:7px!important;line-height:1.5;overflow-wrap:anywhere}
[data-vg-weekly-dialog]{width:calc(100vw - 32px)!important;max-width:620px!important;padding:20px!important;max-height:90dvh!important;overflow-y:auto!important;box-sizing:border-box}
.vg-weekly-head,.vg-weekly-day{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,1.35fr) minmax(0,1.35fr) 48px;align-items:center;column-gap:10px}
.vg-weekly-head{font-size:11px;line-height:18px;color:var(--color-text-muted);padding:0 0 8px;border-bottom:1px solid var(--color-border)}
.vg-weekly-day{padding:8px 0;border-bottom:1px solid var(--color-border)}
.vg-weekly-day-name{font-size:12px;line-height:18px;min-width:0}
.vg-weekly-time{display:block;min-width:0;margin:0!important}
[data-vg-weekly-dialog] .vg-weekly-time input[type=time]{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;height:34px!important;min-height:34px!important;font-size:12px!important;padding:5px 8px!important}
[data-vg-weekly-dialog] .vg-weekly-time input:disabled{opacity:.4}
.vg-weekly-closed{display:flex;align-items:center;justify-content:center;gap:6px;margin:0!important}
.vg-weekly-closed input{width:16px;height:16px;margin:0;accent-color:#d946b5;cursor:pointer}
.vg-weekly-mobile-label{display:none}
.vg-weekly-error{grid-column:1/-1;margin:5px 0 0;line-height:1.4}
@media(max-width:479px){
 [data-vg-weekly-dialog]{padding:16px!important;width:calc(100vw - 24px)!important}
 .vg-weekly-head{display:none}
 .vg-weekly-day{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;row-gap:5px;padding:8px 0}
 .vg-weekly-day-name{grid-column:1/-1;font-weight:600}
 .vg-weekly-mobile-label{display:block;font-size:10px;line-height:15px;opacity:.7;margin-bottom:3px}
 .vg-weekly-closed{flex-direction:column-reverse;gap:6px;align-self:stretch;justify-content:flex-end;padding-bottom:8px}
 .vg-weekly-closed .vg-weekly-mobile-label{margin-bottom:0}
 .vg-weekly-control-row>span:first-child{flex-basis:100%}
}
