/* Shared small-screen shell; wide data stays scrollable within its own region. */
.hmz-table-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.hmz-table-scroll:focus-visible{outline:2px solid #a67a00;outline-offset:2px}.hmz-drawer-backdrop{position:fixed;inset:0;background:#10182880;z-index:19990;border:0;padding:0}.hmz-drawer-backdrop[hidden]{display:none!important}.hmz-drawer-close{display:none}.hmz-drawer-open{overflow:hidden!important}.hmz-table-scroll table{margin-bottom:0}
.hmz-mobile-account,.hmz-submenu-toggle,.hmz-menu-trigger{display:none}
@media(max-width:1100px){
 body.hmz-dashboard{--hmz-topbar-height:72px;margin:0!important;padding:0!important;min-width:0!important}
 body.hmz-dashboard *,body.hmz-website *{box-sizing:border-box}
 body.hmz-dashboard .topbar,body.hmz-dashboard .admin-header{height:var(--hmz-topbar-height)!important;min-height:var(--hmz-topbar-height);padding:8px 12px!important;gap:8px;z-index:19000!important}
 body.hmz-dashboard .admin-header{position:fixed!important;top:0!important;left:0!important;right:0!important;margin:0!important;width:auto!important;max-width:100%!important;padding-right:62px!important}
 body.hmz-dashboard .topbar-left,body.hmz-dashboard .topbar-right,body.hmz-dashboard .header-left{display:flex;align-items:center;gap:8px;min-width:0}
 body.hmz-dashboard .topbar-left{padding-right:44px}
 body.hmz-dashboard .topbar .logo{width:105px!important;height:42px!important;margin:0!important;object-fit:contain}
 body.hmz-dashboard .topbar-title,body.hmz-dashboard .academy-mini-profile{display:none}
 body.hmz-dashboard .sidebar.hmz-drawer{display:block!important;position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;margin:0!important;height:100dvh!important;width:min(310px,88vw)!important;max-width:88vw!important;padding-top:56px!important;overflow:auto!important;transform:translateX(105%)!important;transition:transform .2s;z-index:20000!important;visibility:hidden;background:#fff}
 body.hmz-dashboard .sidebar.hmz-drawer.hmz-open{transform:translateX(0)!important;visibility:visible!important}
 .hmz-drawer-close{display:block;position:absolute;top:8px;left:12px;background:#fff;border:1px solid #d0d5dd;border-radius:10px;min-width:44px;min-height:44px;font-size:24px;color:#344054}
 body.hmz-dashboard .hmz-menu-trigger{display:grid!important;place-items:center!important;position:fixed!important;right:10px!important;top:14px!important;left:auto!important;width:44px!important;height:44px!important;min-width:44px;z-index:19001!important;margin:0!important;padding:8px!important;border:1px solid #ffffff70!important;border-radius:10px;background:#fff8e5!important;color:#344054;font-size:24px;cursor:pointer}
 body.hmz-dashboard .sidebar-overlay{display:none!important}
 body.hmz-dashboard :is(.main-content,.admin-content,.content-wrapper,main.content){margin:var(--hmz-topbar-height) 0 0!important;padding:20px 16px!important;width:100%!important;max-width:100%!important;min-width:0!important}
 body.hmz-dashboard :is(.dashboard-layout,.layout){display:block!important;margin:0!important;padding:0!important;width:100%!important;min-width:0}
 body.hmz-dashboard :is(.page-inner,.sf-inner,.page-wrapper,.container,.container-fluid){max-width:100%!important;min-width:0;width:auto}
 body.hmz-dashboard .wallet-flex{flex-wrap:wrap!important;gap:16px!important}
 body.hmz-dashboard .wallet-flex>div{width:100%!important;min-width:0!important;flex:1 1 360px!important;margin-inline:0!important}
 body.hmz-dashboard :is(.tab-header,.page-header,.page-heading,.sf-panel-heading){flex-wrap:wrap;gap:12px;max-width:100%}
 body.hmz-dashboard :is(.tab-header h1,.tab-header h2,.page-header h1){font-size:clamp(18px,3vw,24px);overflow-wrap:anywhere}
 body.hmz-dashboard :is(input,select,textarea){max-width:100%;min-width:0}
 body.hmz-dashboard :is(.modal-content,.modal-dialog,.custom-modal .modal-box){max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 32px);overflow:auto}
 body.hmz-dashboard :is(.modal,.custom-modal,#addModal){z-index:22000!important}
 body.hmz-dashboard .modal-backdrop{z-index:21990!important}
 body.hmz-dashboard :is(img,video,iframe){max-width:100%}
 .hmz-notifications .hmz-notification-panel{z-index:20010!important}
 body.hmz-website .main-header{padding:10px 14px!important;position:relative;z-index:19000}
 body.hmz-website .main-header .header-inner{display:flex!important;justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:100%}
 body.hmz-website .mobile-menu-icon{display:grid!important;place-items:center;min-width:44px;min-height:44px;border:1px solid #fff8;border-radius:8px}
 body.hmz-website .main-header .auth-button{display:none!important}
 body.hmz-website .main-menu{display:none!important;position:absolute!important;top:100%!important;right:0;left:0;width:100%!important;max-height:calc(100dvh - 72px);overflow:auto;overscroll-behavior:contain;padding:8px 14px 16px!important;background:#fffaf0!important;color:#344054;border-top:1px solid #d6b96766;box-shadow:0 18px 35px #241b002e;text-align:right!important}
 body.hmz-website .main-menu.hmz-mobile-open{display:block!important}
 body.hmz-website .main-menu ul{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;padding:0!important;gap:0!important}
 body.hmz-website .main-menu li{padding:0!important;position:relative;border-bottom:1px solid #eadfbd}
 body.hmz-website .main-menu li:last-child{border-bottom:0}
 body.hmz-website .main-menu a{display:flex!important;align-items:center;width:100%!important;min-height:46px;padding:11px 14px!important;color:#273142!important;line-height:1.65;text-align:right!important;white-space:normal!important}
 body.hmz-website .main-menu .has-submenu>a{padding-left:56px!important}
 body.hmz-website .main-menu .has-submenu>a:after{display:none!important}
 body.hmz-website .main-menu .submenu{display:none!important;position:static!important;min-width:0!important;width:auto!important;opacity:1!important;visibility:visible!important;padding:4px 10px 8px!important;background:#fff!important;border-radius:11px;box-shadow:inset 0 0 0 1px #855e001c!important;margin:0 9px 9px!important;transform:none!important}
 body.hmz-website .main-menu .submenu .submenu{background:#fff8e5!important;margin-inline:7px!important}
 body.hmz-website .main-menu .submenu.hmz-submenu-open{display:flex!important}
 body.hmz-website .hmz-mobile-account{display:block}
 body.hmz-website .hmz-submenu-toggle{display:grid!important;place-items:center;position:absolute;top:4px;left:6px;float:none;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;border:0;border-radius:9px;background:#ffc00021;color:#765600;cursor:pointer;z-index:2}
 body.hmz-website .hmz-submenu-toggle:before{content:"";width:8px;height:8px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg) translateY(-2px);transition:transform .2s ease}
 body.hmz-website .hmz-submenu-toggle[aria-expanded=true]{color:#121212;background:#ffc000}
 body.hmz-website .hmz-submenu-toggle[aria-expanded=true]:before{transform:rotate(135deg) translateY(-2px)}
 body.hmz-website .teacher-cards-container{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important;gap:16px!important;width:100%!important;max-width:100%!important;padding-inline:16px!important}
 body.hmz-website .teacher-cards-container .teacher-card{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}
}
@media(max-width:768px){
 body.hmz-website .main-header .header-inner{position:relative!important;min-height:44px;padding:0!important}
 body.hmz-website .mobile-menu-icon{position:absolute!important;top:50%!important;right:0!important;left:auto!important;z-index:2!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;margin:0!important;transform:translateY(-50%)!important}
 body.hmz-website .main-header .logo-container{position:absolute!important;top:50%!important;left:50%!important;right:auto!important;z-index:1!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;transform:translate(-50%,-50%)!important}
 body.hmz-website .main-header .logo-container a{display:flex!important;align-items:center!important;justify-content:center!important}
 body.hmz-website .main-header .logo-container img{width:min(34vw,140px)!important;height:auto!important;max-height:40px!important;margin:0!important;object-fit:contain!important}
 body.hmz-website .main-header .auth-button{display:block!important;position:absolute!important;top:50%!important;left:0!important;right:auto!important;z-index:2!important;margin:0!important;transform:translateY(-50%)!important}
 body.hmz-website .main-header .auth-button a{display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;min-height:36px!important;padding:3px 9px!important;border:1px solid #ffffffbf!important;border-radius:9px!important;font-size:11.5px!important;line-height:1.35!important;white-space:nowrap!important}
 body.hmz-website .main-header .auth-label-desktop{display:none!important}
 body.hmz-website .main-header .auth-label-mobile{display:inline!important}
}
@media(max-width:767px){
 body.hmz-dashboard :is(.main-content,.admin-content,.content-wrapper,main.content){padding:16px 12px!important}
 body.hmz-dashboard :is(.form-grid,.profile-grid,.stats-grid,.summary-grid,.dashboard-grid,.sf-cards,.sf-filters,.two-col,.check-grid){grid-template-columns:minmax(0,1fr)!important;min-width:0}
 body.hmz-dashboard :is(.form-grid,.two-col,.check-grid)>*{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere}
 body.hmz-dashboard :is(.academy-classes-grid,.form-grid-2,.form-grid-3,.settings-grid){grid-template-columns:minmax(0,1fr)!important}
 body.hmz-dashboard :is(.sessions-grid,.session-grid,.sessions-list){grid-template-columns:minmax(0,1fr)!important}
 body.hmz-dashboard :is(.session-card,.sessions-grid>*,.session-grid>*){min-width:0!important;max-width:100%!important}
 body.hmz-dashboard .sessions-list .session-card{grid-template-columns:minmax(0,1fr)!important}
 body.hmz-dashboard :is(.form-grid-2,.form-grid-3,.settings-grid)>*{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere}
 body.hmz-dashboard .stats-grid{grid-template-areas:'mini' 'wallet'!important}
 body.hmz-dashboard .mini-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 body.hmz-dashboard .mini-cards>*{min-width:0!important}
 body.hmz-dashboard .quick-buttons{grid-template-columns:minmax(0,1fr)!important}
 body.hmz-dashboard #addModal>div{width:calc(100vw - 24px)!important;max-height:calc(100dvh - 32px);overflow:auto;padding:20px!important}
 body.hmz-dashboard :is(.row,.form-row,.filters-row,.filter-row,.page-actions,.form-actions){flex-wrap:wrap;gap:12px;max-width:100%}
 body.hmz-dashboard .row{margin-inline:0!important}
 body.hmz-dashboard :is(.col-3,.col-4,.col-6,.col-md-4,.col-md-6){width:100%!important;max-width:100%!important;flex-basis:100%!important;min-width:0}
 body.hmz-dashboard :is(.form-row,.filter-row)>*{min-width:0;max-width:100%}
 body.hmz-dashboard :is(input,select,textarea){font-size:16px!important}
 body.hmz-dashboard :is(button,.btn,.sidebar a){min-height:40px}
 body.hmz-dashboard :is(.sf-panel,.panel,.card){max-width:100%;min-width:0}
 body.hmz-website :is(.container,.container-fluid,.enroll-wrap,.confirm-wrap,.payment-wrap,.class-details-container){width:100%!important;max-width:100%!important;margin-inline:auto!important;padding-inline:12px!important;min-width:0}
 body.hmz-website :is(.grid,.options-container,.options-grid,.class-info-grid,.teacher-info-grid){grid-template-columns:1fr!important;min-width:0}
 body.hmz-website :is(.info-grid,.info-grid-2){grid-template-columns:minmax(0,1fr)!important}
 body.hmz-website :is(.info-grid,.info-grid-2)>*{min-width:0!important;max-width:100%!important}
 body.hmz-website :is(.col-3,.col-4,.col-6){grid-column:1 / -1!important;width:100%!important;max-width:100%!important;min-width:0}
 body.hmz-website :is(input,select,textarea){max-width:100%;font-size:16px!important}
 body.hmz-website :is(.page-footer-actions,.confirm-actions,.payment-actions){display:flex;flex-wrap:wrap;gap:10px}
 body.hmz-website :is(.page-footer-actions,.confirm-actions,.payment-actions)>*{flex:1 1 180px;text-align:center}
 body.hmz-website :is(.modal-content,.modal-box,.custom-modal-content){max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 32px);overflow:auto}
 body.hmz-website :is(video,iframe,img){max-width:100%}
 body.hmz-website .calendar-toolbar{flex-wrap:wrap;gap:10px}
 body.hmz-website .session-cards-container{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
 body.hmz-website .session-card{width:auto!important;min-width:0!important}
 body.hmz-website .double-box-col{width:100%!important;max-width:100%}
 body.hmz-website .options-grid-3col{grid-template-columns:minmax(0,1fr)!important}
 body.hmz-website :is(.option-box,.double-box-col){min-width:0!important;max-width:100%!important}
 body.hmz-website .option-box li,body.hmz-website .option-box label,body.hmz-website .option-box label span{white-space:normal!important;min-width:0;overflow-wrap:anywhere}
 body.hmz-website .text-with-badge{flex-wrap:wrap}
 .hmz-table-scroll{border:1px solid #e5e7eb;border-radius:10px}
}
@media(prefers-reduced-motion:reduce){.hmz-drawer{transition:none!important}}
