/* Bedzzle / Mobiscroll theme 018: inspected native DOM, 22–23 October 2026.
   Keep vendor range logic and positioning. Do not style every .mbsc-fr-btn:
   month/year navigation shares that class with the confirmation buttons. */
body.hi-site .mbsc-mobiscroll .mbsc-fr-popup {
  background:var(--hi-ivory, #f7f4ee);
  border:1px solid #d9ceb5;
  border-radius:12px;
  box-shadow:0 20px 64px #102b2340;
  max-height:calc(100dvh - 24px);
  overflow-y:auto;
}
body.hi-site .mbsc-mobiscroll .mbsc-fr-w {
  background:var(--hi-ivory, #f7f4ee);
  color:var(--hi-text, #252d29);
  font-family:var(--hi-font-body, Manrope, Arial, sans-serif);
  font-size:16px;
  line-height:1.4;
}
body.hi-site .mbsc-mobiscroll .mbsc-fr-overlay {background:#102b2399;}
/* Two date cards, with the active step clearly distinguished. */
body.hi-site .mbsc-mobiscroll .mbsc-range-btn-t {padding:12px 8px 8px;}
body.hi-site .mbsc-mobiscroll .mbsc-range-btn {
  margin:0 4px;
  padding:9px 8px;
  border:1px solid #c6cfc7;
  border-radius:var(--hi-radius, 6px);
  background:#eee9df;
  color:var(--hi-green, #214d41);
  font-size:11px;
  line-height:1.5;
}
body.hi-site .mbsc-mobiscroll .mbsc-range-btn-v {font-size:16px;font-weight:600;line-height:1.5;}
body.hi-site .mbsc-mobiscroll .mbsc-range-btn-sel .mbsc-range-btn {
  border-color:var(--hi-green, #214d41);
  background:var(--hi-green, #214d41);
  color:#fff;
  box-shadow:none;
}
/* Restore native navigation geometry; icons must not inherit action-button styling. */
body.hi-site .mbsc-mobiscroll .mbsc-cal .mbsc-cal-btn {
  width:44px;height:44px;min-height:0;
  margin:0;padding:0;
  border:0;border-radius:var(--hi-radius, 6px);
  background:transparent;
  color:var(--hi-green, #214d41);
  box-shadow:none;
  font-weight:400;
}
body.hi-site .mbsc-mobiscroll .mbsc-cal-btnw {height:44px;}
body.hi-site .mbsc-mobiscroll .mbsc-cal-btn-txt {color:var(--hi-green, #214d41);line-height:44px;}
body.hi-site .mbsc-mobiscroll .mbsc-cal-month,
body.hi-site .mbsc-mobiscroll .mbsc-cal-year {
  margin-left:44px;margin-right:44px;
  font-family:var(--hi-font-heading, 'Source Serif 4', Georgia, serif);
  font-size:21px;font-weight:400;
  text-transform:none;
}
body.hi-site .mbsc-mobiscroll .mbsc-cal-btn .mbsc-cal-btn-txt {display:block;width:44px;height:44px;}
/* CSS chevrons remove dependence on the vendor icon font for these four controls.
   The existing role, accessible name, disabled state and click target remain native. */
body.hi-site .mbsc-mobiscroll .mbsc-cal-btn .mbsc-ic::before {
  content:'';
  display:block;position:absolute;
  width:9px;height:9px;left:18px;top:17px;
  border-left:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg);
}
body.hi-site .mbsc-mobiscroll .mbsc-cal-next .mbsc-ic::before {left:15px;transform:rotate(225deg);}
body.hi-site .mbsc-mobiscroll .mbsc-cal-btn:not(.mbsc-fr-btn-d):hover {background:#e7e0d4;}
/* Blocksy's global table cells otherwise add a boxed weekday grid and large padding. */
body.hi-site .mbsc-mobiscroll .mbsc-cal table {width:100%;margin:0;border:0;border-collapse:collapse;background:transparent;}
body.hi-site .mbsc-mobiscroll .mbsc-cal th,
body.hi-site .mbsc-mobiscroll .mbsc-cal td {padding:0;border:0;background:transparent;text-align:center;}
body.hi-site .mbsc-mobiscroll .mbsc-cal-days {color:var(--hi-muted, #626b64);}
body.hi-site .mbsc-mobiscroll .mbsc-cal-days th {
  font-family:var(--hi-font-body, Manrope, Arial, sans-serif);
  font-size:10px;font-weight:600;line-height:28px;letter-spacing:.04em;
  border-bottom:1px solid #ddd7cb;
}
body.hi-site .mbsc-mobiscroll .mbsc-cal-day-fg {font-size:14px;}
body.hi-site .mbsc-mobiscroll .mbsc-cal-day-hl .mbsc-cal-day-i {border-color:var(--hi-green, #214d41);}
body.hi-site .mbsc-mobiscroll.mbsc-range .mbsc-cal-table .mbsc-cal-day-sel .mbsc-cal-day-i {
  background:#dce7dd;color:var(--hi-green, #214d41);
}
body.hi-site .mbsc-mobiscroll.mbsc-range .mbsc-cal-table .mbsc-cal-day-hl .mbsc-cal-day-i,
body.hi-site .mbsc-mobiscroll .mbsc-cal .mbsc-cal-sc-sel .mbsc-cal-sc-cell-i {
  background:var(--hi-green, #214d41);color:#fff;border-color:var(--hi-green, #214d41);
  border-radius:4px;
}
body.hi-site .mbsc-mobiscroll .mbsc-cal-sc-c {background:var(--hi-ivory, #f7f4ee);}
body.hi-site .mbsc-mobiscroll .mbsc-cal-hl-now .mbsc-cal-today {color:var(--hi-green, #214d41);}
/* Confirmation actions only. Cancel is secondary, OK remains the primary action. */
body.hi-site .mbsc-mobiscroll .mbsc-fr-btn-cont {
  padding:12px 8px 8px;
  border-top:1px solid #ddd7cb;
  background:#eee9df;
}
body.hi-site .mbsc-mobiscroll .mbsc-fr-btn-cont .mbsc-fr-btn {
  min-height:44px;min-width:88px;
  margin:0 4px 4px;padding:0 16px;
  border:1px solid var(--hi-green, #214d41);
  border-radius:var(--hi-radius, 6px);
  background:var(--hi-green, #214d41);color:#fff;
  font:600 13px/42px var(--hi-font-body, Manrope, Arial, sans-serif);
  text-transform:none;box-shadow:none;
}
body.hi-site .mbsc-mobiscroll .mbsc-fr-btn-c .mbsc-fr-btn {background:transparent;color:var(--hi-green, #214d41);}
body.hi-site .mbsc-mobiscroll .mbsc-fr-btn-cont .mbsc-fr-btn:not(.mbsc-fr-btn-d):hover {background:#173a31;color:#fff;}
body.hi-site .mbsc-mobiscroll [tabindex]:focus-visible {
  outline:3px solid var(--hi-focus, #8b651e);outline-offset:-3px;
}
@media(max-width:767px) {
  body.hi-site .mbsc-mobiscroll.mbsc-fr-bottom .mbsc-fr-popup {
    border-radius:16px 16px 0 0;
    border-left:0;border-right:0;border-bottom:0;
  }
  body.hi-site .mbsc-mobiscroll .mbsc-fr-btn-cont {padding-bottom:max(8px,env(safe-area-inset-bottom));}
}
@media(prefers-reduced-motion:reduce) {
  body.hi-site .mbsc-anim-in .mbsc-fr-popup,
  body.hi-site .mbsc-anim-out .mbsc-fr-popup {animation-duration:0.01ms!important;}
}
