/* Bizzy public site runtime styles (forms feedback, cookie dialog) and
   responsive safety patches for the supplied pages. Uses the supplied palette. */
.bz-form-error{margin:10px 0 0;padding:10px 14px;border-radius:6px;background:rgba(181,86,74,.08);border:1px solid rgba(181,86,74,.28);color:#8E3E34;font:500 14px/1.45 'Montserrat',sans-serif}

.bz-cookie{position:fixed;inset:0;z-index:10050;display:none;align-items:flex-end;justify-content:center;padding:16px;background:rgba(13,30,58,.42)}
.bz-cookie.open{display:flex}
.bz-cookie-card{position:relative;width:100%;max-width:520px;max-height:calc(100dvh - 32px);overflow:auto;background:#F5EFE6;color:#0D1E3A;border:1px solid #E4DCCB;border-radius:14px;padding:28px 24px 22px;font-family:'Montserrat',sans-serif;box-shadow:0 30px 80px -30px rgba(13,30,58,.45)}
@media (min-width:640px){.bz-cookie{align-items:center}.bz-cookie-card{padding:34px 32px 26px}}
.bz-cookie-kicker{margin:0 0 8px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:#1A7A72}
.bz-cookie h2{margin:0 0 12px;font-family:'Oswald',sans-serif;font-weight:600;font-size:clamp(22px,5vw,28px);line-height:1.15;text-transform:uppercase}
.bz-cookie p{margin:0 0 14px;font-size:14.5px;line-height:1.6;color:#4A5A75}
.bz-cookie-row{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;padding:14px 0;border-top:1px solid #E4DCCB;border-bottom:1px solid #E4DCCB;margin:4px 0 14px}
.bz-cookie-row strong{display:block;font-size:14.5px;margin-bottom:4px}
.bz-cookie-row span{font-size:13.5px;line-height:1.5;color:#4A5A75}
.bz-cookie-row .bz-cookie-on{flex-shrink:0;font-size:12px;font-weight:600;color:#1A7A72;background:rgba(26,122,114,.1);padding:6px 10px;border-radius:100px}
.bz-cookie-links a{color:#1A7A72}
.bz-cookie-ok{width:100%;min-height:48px;border:0;border-radius:100px;background:#0D1E3A;color:#F5EFE6;font:600 15px 'Montserrat',sans-serif;cursor:pointer}
.bz-cookie-ok:hover{background:#1A7A72}
.bz-cookie-x{position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;background:transparent;color:#0D1E3A;font-size:26px;line-height:1;cursor:pointer;border-radius:50%}
.bz-cookie-ok:focus-visible,.bz-cookie-x:focus-visible{outline:2px solid #00D4C0;outline-offset:2px}

/* Responsive safety (no visual change at designed widths) */
html,body{max-width:100%}
img,svg,video{max-width:100%}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media (max-width:760px){
  [style*="grid-template-columns:1fr 1fr;gap:5"],[style*="grid-template-columns:1fr 1fr;gap:6"],
  [style*="grid-template-columns:repeat(3,1fr)"],[style*="grid-template-columns:1fr 1fr 1fr"]{grid-template-columns:1fr!important;gap:24px!important}
  [style*="grid-template-columns:repeat(4,1fr)"]{grid-template-columns:repeat(2,1fr)!important}
  [style*="display:grid"]>*{min-width:0}
}
@media (max-width:900px){
  table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
/* Tab strips scroll instead of widening the page */
@media (max-width:760px){
  :has(> .prop-tab),:has(> .day-tab){overflow-x:auto;max-width:100%;scrollbar-width:none}
  .stat-card{min-width:0}
}
/* Same final guard the legacy shell applied on small screens: decorative
   bleed (glows, rotated cards) must never create sideways scrolling. */
@media (max-width:1024px){html,body{overflow-x:clip}}

/* ---------- Shared mobile navigation (built by bz-site.js from nav.top) ---------- */
.bz-burger{display:none}
.bz-drawer{display:none}
@media (max-width:900px){
  nav.top .inner{flex-wrap:nowrap!important;height:64px!important;padding:0 16px!important;gap:12px!important}
  nav.top .menu,nav.top .burger,nav.top #navBurger,body .mobile-nav,body #mobileNav{display:none!important}
  nav.top .nav-ctas{margin-left:auto}
  nav.top .nav-ctas .btn-ghost{display:none!important}
  .bz-burger{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;flex-shrink:0;border:0;background:transparent;border-radius:8px;cursor:pointer;padding:0}
  .bz-burger span{display:block;width:22px;height:2px;border-radius:2px;background:#0D1E3A;transition:transform .25s,opacity .2s}
  .bz-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .bz-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
  .bz-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .bz-burger:focus-visible{outline:2px solid #00D4C0;outline-offset:2px}
  .bz-drawer.open{display:block;position:fixed;left:0;right:0;top:var(--bz-nav-h,64px);bottom:0;z-index:10040;overflow-y:auto;overscroll-behavior:contain;background:#F5EFE6;border-top:1px solid #E4DCCB;padding:8px 20px calc(28px + env(safe-area-inset-bottom));font-family:'Montserrat',sans-serif}
  .bz-drawer a,.bz-drawer summary{display:flex;align-items:center;min-height:52px;color:#0D1E3A;text-decoration:none;font-weight:600;font-size:16px;border-bottom:1px solid #E4DCCB;cursor:pointer}
  .bz-drawer summary{list-style:none;justify-content:space-between}
  .bz-drawer summary::-webkit-details-marker{display:none}
  .bz-drawer summary::after{content:"";width:8px;height:8px;border-right:2px solid #1A7A72;border-bottom:2px solid #1A7A72;transform:rotate(45deg);transition:transform .2s;margin-right:6px}
  .bz-drawer details[open] summary::after{transform:rotate(-135deg)}
  .bz-drawer details a{font-weight:500;font-size:15px;min-height:46px;padding-left:14px;color:#3D5680}
  .bz-drawer a[aria-current="page"]{color:#1A7A72}
  .bz-drawer .bz-drawer-ctas{display:flex;flex-direction:column;gap:10px;margin-top:22px}
  .bz-drawer .bz-drawer-ctas a{justify-content:center;border:1px solid #0D1E3A;border-radius:100px;min-height:50px}
  .bz-drawer .bz-drawer-ctas a.primary{background:#0D1E3A;color:#F5EFE6}
  .bz-drawer a:focus-visible,.bz-drawer summary:focus-visible{outline:2px solid #00D4C0;outline-offset:-2px}
}
@media (max-width:420px){nav.top .nav-ctas .btn{padding:9px 12px!important;font-size:12.5px!important}nav.top .nav-ctas .btn .arr{display:none}}
@media (max-width:359px){nav.top .nav-ctas{display:none!important}}
/* Grid tracks must not be widened by wide mock-ups (min-content) on phones */
@media (max-width:900px){[class*="grid"]>*,[style*="display:grid"]>*,[style*="display: grid"]>*{min-width:0}}

/* Restore the previous homepage's mobile card-grid treatment, keeping the
   supplied design's specialist colors and typography. Desktop is unchanged. */
@media (max-width:768px){
  [data-bz-page="index"] .cal-demo{width:100%;max-width:100%;overflow:hidden}
  [data-bz-page="index"] .cal-chrome{display:none}
  [data-bz-page="index"] .cal-head{
    grid-template-columns:34px repeat(4,minmax(0,1fr));
    gap:6px;padding:14px 6px 6px;border-top:1px solid var(--rule-soft);
  }
  [data-bz-page="index"] .cal-head .day strong{font-size:22px;margin-top:2px}
  [data-bz-page="index"] .cal-grid{
    grid-template-columns:34px repeat(4,minmax(0,1fr));
    gap:6px;padding:0 6px 14px;border-bottom:1px solid var(--rule-soft);
  }
  [data-bz-page="index"] .cal-time{font-size:10px;padding-top:34px}
  [data-bz-page="index"] .cal-grid .cell{
    border-radius:12px;min-height:100px;padding:10px 7px;min-width:0;overflow:hidden;
  }
  [data-bz-page="index"] .cal-grid .name{font-size:12px;font-weight:700;overflow-wrap:anywhere}
  [data-bz-page="index"] .cal-grid .svc{font-size:8px;letter-spacing:.04em;overflow-wrap:anywhere}
  [data-bz-page="index"] .cal-footer{display:none}
}
