body.mes-dashboard-page .mes-hours-disclaimer-editor{margin:12px 0 0;border:1px solid #e1e4e2;border-radius:10px;background:#f5f6f5;overflow:hidden}
body.mes-dashboard-page .mes-hours-disclaimer-editor>summary{display:flex;align-items:center;gap:10px;padding:13px 16px;font-weight:600;cursor:pointer;list-style:none}
body.mes-dashboard-page .mes-hours-disclaimer-editor>summary::-webkit-details-marker{display:none}
body.mes-dashboard-page .mes-hours-disclaimer-editor>summary span{margin-left:auto;font-size:12px;font-weight:400;color:#68716d}
body.mes-dashboard-page .mes-hours-disclaimer-editor>summary:after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
body.mes-dashboard-page .mes-hours-disclaimer-editor[open]>summary:after{transform:rotate(225deg)}
body.mes-dashboard-page .mes-hours-disclaimer-fields{display:grid;gap:14px;padding:16px;border-top:1px solid #e1e4e2;background:white}
body.mes-dashboard-page .mes-hours-disclaimer-fields textarea{display:block;width:100%;margin-top:6px;box-sizing:border-box}
body.mes-dashboard-page .mes-hours-disclaimer-toggle{display:flex;align-items:center;gap:9px}
body:not(.mes-dashboard-page) .mes-hours-disclaimer{display:block;text-align:center!important;margin:16px 0 0!important;padding:0!important;font-size:.9em;line-height:1.5;overflow-wrap:anywhere}

/* Matching Hours accordion headers. */
body.mes-dashboard-page .mes-workbench #mes-rest-hours :is(.mes-holiday-details,.mes-hours-disclaimer-editor)>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:13px 16px!important;font-size:15px!important;font-weight:600!important;list-style:none!important;cursor:pointer}
body.mes-dashboard-page .mes-workbench #mes-rest-hours :is(.mes-holiday-details,.mes-hours-disclaimer-editor)>summary::-webkit-details-marker{display:none!important}
body.mes-dashboard-page .mes-workbench #mes-rest-hours :is(.mes-holiday-details,.mes-hours-disclaimer-editor)>summary::before{content:none!important;display:none!important}
body.mes-dashboard-page .mes-workbench #mes-rest-hours :is(.mes-holiday-details,.mes-hours-disclaimer-editor)>summary::after{content:""!important;display:block!important;flex:0 0 8px;width:8px;height:8px;border:0 solid currentColor;border-right-width:1.5px;border-bottom-width:1.5px;transform:rotate(45deg);margin-left:auto;margin-right:2px;transition:transform .18s ease}
body.mes-dashboard-page .mes-workbench #mes-rest-hours :is(.mes-holiday-details,.mes-hours-disclaimer-editor)[open]>summary::after{transform:rotate(225deg)}
body.mes-dashboard-page .mes-workbench #mes-rest-hours #mes-holiday-rows .mes-holiday-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:10px!important;border-bottom:1px solid #e1e4e2;padding:14px 0!important}
body.mes-dashboard-page .mes-workbench #mes-rest-hours #mes-holiday-rows .mes-holiday-row>label:first-child{grid-area:1/1!important}
body.mes-dashboard-page .mes-workbench #mes-rest-hours #mes-holiday-rows .mes-holiday-row>label:nth-child(2){grid-area:1/2!important}
body.mes-dashboard-page .mes-workbench #mes-rest-hours #mes-holiday-rows .mes-hour-periods{grid-area:2/1/3/3!important}
body.mes-dashboard-page .mes-workbench #mes-rest-hours #mes-holiday-rows .mes-closed-label{grid-area:3/1!important;justify-self:start!important;align-self:center!important}
body.mes-dashboard-page .mes-workbench #mes-rest-hours .mes-holiday-remove{grid-area:3/2!important;justify-self:end;color:#943c3c!important;background:#fff5f5!important;border:1px solid #e3caca!important;border-radius:8px;padding:8px 12px;cursor:pointer}
body.mes-dashboard-page .mes-workbench #mes-rest-hours .mes-holiday-tools{padding:0 16px 8px}
body.mes-dashboard-page .mes-workbench #mes-rest-hours .mes-holiday-add{background:white!important;color:#17231e!important;border:1px solid #d7ddda!important;border-radius:8px;padding:9px 13px;cursor:pointer;font-weight:600}
body.mes-dashboard-page .mes-workbench #mes-rest-hours .mes-holiday-error{color:#943c3c;background:#fff3f3;border-radius:8px;padding:10px;margin:10px 0 0}
body.mes-dashboard-page .mes-workbench #mes-rest-hours input:is([type=date],[type=time]){font:inherit;color:#17231e!important;outline:none!important;box-shadow:none!important;width:100%;min-width:0}
body.mes-dashboard-page .mes-workbench #mes-rest-hours input:is([type=date],[type=time]):focus{border-color:#539577!important;box-shadow:0 0 0 3px #dceee5!important}

/* Public holiday rows: retain weekday separators only. */
body.mes-has-structured-hours:not(.mes-dashboard-page) :is(.mes-footer-hours-list,.mes-contact-hours-list)>:is(.mes-footer-hours-row,.mes-contact-hours-row):nth-child(n+8){border-bottom:0!important;}
body.mes-has-structured-hours:not(.mes-dashboard-page) :is(.mes-footer-hours-list,.mes-contact-hours-list)>:is(.mes-footer-hours-row,.mes-contact-hours-row):nth-child(8){margin-top:12px;}

/* Menu disclaimer matches Hours; utility accordion is outside the sheet form. */
body.mes-dashboard-page .mes-workbench #menu-editor.mes358-utilities-outside .mes343-utility-stack .mes341-disclaimer>summary{background:#fff!important;}
body.mes-dashboard-page .mes-workbench #menu-editor.mes358-utilities-outside .mes343-utility-stack .mes341-disclaimer .mes341-disclaimer-body{display:grid!important;gap:14px!important;padding:16px!important;background:#fff!important;border-top:1px solid #e1e4e2!important;}
body.mes-dashboard-page .mes-workbench #menu-editor.mes358-utilities-outside .mes343-utility-stack .mes341-disclaimer .mes341-disclaimer-body label{font-weight:600;}
body.mes-dashboard-page .mes-workbench #menu-editor.mes358-utilities-outside .mes343-utility-stack .mes341-disclaimer .mes341-disclaimer-body textarea{display:block!important;width:100%!important;margin:6px 0 0!important;border:1px solid #d5dad7!important;border-radius:10px!important;padding:12px!important;min-height:100px!important;font-weight:400!important;box-sizing:border-box!important;}
body:not(.mes-dashboard-page) .mes-menu-footer-notes,body:not(.mes-dashboard-page) .mes-menu-footer-notes p{text-align:center!important;margin-left:auto!important;margin-right:auto!important;}
body:not(.mes-dashboard-page) .mes-menu-footer-notes p{font-size:.9em;line-height:1.5;}

/* 9.99.581: compact mobile hours; respect hidden unused periods. */
@media(max-width:800px){
 body.mes-dashboard-page .mes-workbench #mes-rest-hours .mes-hours-editor :is(.mes-hours-row,.mes-holiday-row) .mes-hour-period[hidden]{display:none!important;}
 body.mes-dashboard-page .mes-workbench #mes-rest-hours .mes-hours-editor :is(.mes-hours-row,.mes-holiday-row) .mes-hour-period:not([hidden]){
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px 10px!important;align-items:end!important;width:100%!important;min-width:0!important;
 }
 body.mes-dashboard-page .mes-workbench #mes-rest-hours .mes-hours-editor .mes-hour-periods{width:100%!important;min-width:0!important;gap:8px!important;}
 body.mes-dashboard-page .mes-workbench #mes-rest-hours .mes-hours-editor :is(.mes-hours-row,.mes-holiday-row) .mes-hour-period>label{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;grid-column:auto!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important;font-size:12px!important;
 }
 body.mes-dashboard-page .mes-workbench #mes-rest-hours .mes-hours-editor :is(.mes-hours-row,.mes-holiday-row) .mes-hour-period input[type=time]{
  -webkit-appearance:none!important;appearance:none!important;display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:10px 6px!important;margin:0!important;font-size:16px!important;font-weight:400!important;line-height:22px!important;text-align:center!important;border-radius:8px!important;background:#fff!important;
 }
 body.mes-dashboard-page .mes-workbench #mes-rest-hours .mes-hours-editor .mes-hour-period input[type=time]::-webkit-date-and-time-value{min-width:0!important;margin:0!important;padding:0!important;line-height:22px!important;height:22px!important;text-align:center!important;}
 body.mes-dashboard-page .mes-workbench #mes-rest-hours .mes-hours-editor .mes-hour-period input[type=time]::-webkit-datetime-edit{padding:0!important;line-height:22px!important;}
 body.mes-dashboard-page .mes-workbench #mes-rest-hours .mes-hours-editor .mes-hour-period .mes-remove-hours{grid-column:1/-1!important;justify-self:end!important;margin:0!important;}
}
