@media(max-width:1024px){.jht-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.jht-layout-2{grid-template-columns:1fr}}
@media(max-width:640px){.jht-shell{margin:12px auto;padding:12px;border-radius:18px}.jht-hero{padding:20px}.jht-hero h1{font-size:32px}.jht-stat-grid{grid-template-columns:1fr}.jht-panel{padding:16px}.jht-form-grid{grid-template-columns:1fr}.jht-col-span-2{grid-column:auto}.jht-panel-actions,.jht-modal-actions{flex-direction:column-reverse}.jht-panel-actions .jht-btn,.jht-modal-actions .jht-btn{width:100%}.jht-modal{padding:12px}.jht-modal-dialog{padding:20px}.jht-actions{flex-direction:column}.jht-actions .jht-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.jht-card,.jht-btn,.jht-icon-btn,.jht-modal-dialog{transition:none!important;animation:none!important}}

@media (max-width: 980px){
  .jht-app-layout{grid-template-columns:1fr}
  .jht-app-sidebar{position:static}
  .jht-app-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jht-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 640px){
  .jht-access-card,.jht-profile-card{padding:16px}
  .jht-app-grid{grid-template-columns:1fr}
  .jht-app-nav{grid-template-columns:1fr}
  .jht-card-header,.jht-app-topbar{align-items:stretch;flex-direction:column}
}

@media (max-width: 1100px){
  .jht-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jht-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 760px){
  .jht-page-heading{align-items:stretch;flex-direction:column}
  .jht-selection-grid{grid-template-columns:1fr}
  .jht-order-row{grid-template-columns:1fr}
  .jht-schedule-card{grid-template-columns:72px minmax(0,1fr)}
  .jht-schedule-card>.jht-status{grid-column:1/-1;justify-self:start}
}
@media (max-width: 520px){
  .jht-stat-grid,.jht-module-grid{grid-template-columns:1fr}
  .jht-hero{padding:20px}
}
