@media(max-width:600px){
 #header.gym-header{height:auto!important;min-height:0!important}
 #header.gym-header .gym-header-inner{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto!important;height:auto!important;min-height:0!important;gap:12px!important;width:calc(100% - 32px)!important;padding:16px 0!important;align-items:center!important}
 #header.gym-header .gym-brand{max-width:100%;justify-self:start;position:static!important}
 #header.gym-header .gym-search{display:none!important}
 #header.gym-header .gym-account{position:static!important;width:100%!important;margin:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;float:none!important}
 #header.gym-header .gym-account:has(.gym-my-workout){grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #header.gym-header .gym-account>a{width:100%;min-width:0;min-height:48px!important;height:48px!important;padding:0 6px!important;font-size:13px;box-sizing:border-box}
 #topmenu.gym-nav{height:auto!important;min-height:0!important;clear:both;position:relative!important;margin-top:0!important}
 #topmenu.gym-nav>.wrap{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;height:auto!important;min-height:0!important;gap:4px!important;padding:6px 0!important}
 #topmenu.gym-nav>.wrap>a{display:flex!important;align-items:center;justify-content:center;min-width:0;min-height:48px!important;height:auto!important;padding:8px 4px!important;font-size:12px!important;line-height:1.4;white-space:normal!important;word-break:keep-all;box-sizing:border-box}
}
.jirilla-draft-box{border:1px solid #edcfbb;border-radius:12px;background:#fff4ea;padding:14px 16px;margin:0 0 16px;color:#684833;min-width:0}.jirilla-draft-box p{font-size:14px;font-weight:700;margin:0 0 5px!important;line-height:1.6}.jirilla-draft-box small{display:block;font-size:12px;line-height:1.6;color:#805e4b}.jirilla-draft-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.jirilla-draft-controls button{box-sizing:border-box;min-height:44px;padding:9px 14px;border:1px solid #dcb49a;border-radius:9px;background:#fffdfb;color:#9a3412;font:700 13px/1.5 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}.jirilla-draft-controls button[hidden]{display:none!important}.jirilla-draft-controls button:disabled{opacity:.5;cursor:default}.jirilla-draft-controls button:focus-visible{outline:3px solid #e66a23;outline-offset:2px}@media(max-width:600px){.jirilla-draft-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.jirilla-draft-controls button{min-height:48px;padding:10px 6px}.jirilla-draft-box{padding:12px}.jirilla-draft-controls button:first-child:not([hidden]){background:#c43b12;color:white;border-color:#c43b12}}

/* Mobile navigation disclosure. The full CMS menu stays available without JS. */
.gym-menu-toggle{display:none}
#topmenu.gym-nav[hidden]{display:none!important}
.gc-layout.gc-workout-focus,.gc-layout:has(#mw-app){grid-template-columns:minmax(0,1fr)!important}
.gc-layout:has(#mw-app)>.gc-sidebar{display:none!important}
.gc-workout-focus>.gym-content{width:100%;min-width:0;max-width:none}
@media(max-width:760px){
 #header.gym-header.has-mobile-menu{height:auto!important;min-height:0!important}
 #header.gym-header.has-mobile-menu .gym-header-inner{display:grid!important;grid-template-columns:minmax(0,1fr) 56px!important;grid-template-rows:auto auto!important;gap:12px 10px!important;align-items:center!important;height:auto!important;min-height:0!important;width:calc(100% - 32px)!important;padding:14px 0!important}
 #header.gym-header.has-mobile-menu .gym-brand{grid-column:1;grid-row:1;min-width:0;max-width:100%;position:static!important;font-size:25px}
 #header.gym-header.has-mobile-menu .gym-brand-caption{max-width:210px;font-size:10px;white-space:normal;line-height:1.65}
 #header.gym-header.has-mobile-menu .gym-search{display:none!important}
 #header.gym-header.has-mobile-menu .gym-account{grid-column:1/-1;grid-row:2;position:static!important;display:grid!important;width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin:0!important}
 #header.gym-header.has-mobile-menu .gym-account:has(.gym-my-workout){grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #header.gym-header.has-mobile-menu .gym-account>a{min-width:0;width:100%;height:48px!important;min-height:48px!important;padding:0 5px!important;font-size:12px;box-sizing:border-box}
 #header.gym-header .gym-menu-toggle:not([hidden]){grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:48px;min-height:52px;padding:6px;border:1px solid #e9cdb8;border-radius:12px;background:#fff5eb;color:#ac3b17;font:700 10px/1.3 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
 .gym-menu-toggle svg{width:22px;height:22px}.gym-menu-toggle[aria-expanded=true]{background:#b83b18!important;color:#fff!important;border-color:#b83b18!important}.gym-menu-toggle:focus-visible{outline:3px solid #e47735;outline-offset:3px}
 #topmenu.gym-nav:not([hidden]){height:auto!important;min-height:0!important;clear:both;position:relative!important}
 #topmenu.gym-nav:not([hidden])>.wrap{height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:8px 0!important}
 #topmenu.gym-nav>.wrap>a{display:flex!important;align-items:center;justify-content:center;min-height:48px!important;height:auto!important;min-width:0!important;padding:9px 4px!important;font-size:12px!important;line-height:1.5;white-space:normal!important;word-break:keep-all}
}
@media(max-width:360px){#header.gym-header.has-mobile-menu .gym-brand{font-size:23px}#header.gym-header.has-mobile-menu .gym-brand-caption{font-size:9px;max-width:170px}}
