/* V4.2: narrow-screen-only refinements for 3 pages. */
@media(max-width:767px){
  body .main{min-width:0!important;max-width:100%!important;overflow-x:clip!important}
  body .head,body .top{height:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;overflow:visible!important}
  body .head .banner,body .top .top-banner{display:flex!important;position:relative!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:74px!important;height:auto!important;padding:18px 44px!important;border-radius:18px!important;line-height:1.2!important;box-sizing:border-box!important;background:linear-gradient(110deg,#28418f,#3b63e9 67%,#405ab5)!important;color:white!important}
  body .top .top-banner h1{position:relative!important;left:auto!important;transform:none!important;white-space:normal!important;text-align:center!important;font-size:clamp(19px,5.5vw,26px)!important;line-height:1.2!important;margin:0!important}
  body .head>.action,body .top>.btn.primary{height:auto!important;min-height:52px!important;width:100%!important;align-self:stretch!important;border-radius:15px!important;padding:12px!important;font-size:clamp(14px,4vw,17px)!important}
  body .filters{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:14px!important}
  body .filters>input,body .filters>select,body .filters>button{width:100%!important;max-width:100%!important;min-width:0!important;min-height:44px!important;margin:0!important}
  body .filters input[type=date]{appearance:auto!important;-webkit-appearance:auto!important;display:block!important;color:#334155!important;background:#fff!important}
  body .filterbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:end!important;padding:14px!important}
  body .filterbar>.searchField{grid-column:1/-1!important}
  body .filterbar>div{min-width:0!important;max-width:100%!important;grid-column:auto!important}
  body .filterbar input,body .filterbar select{width:100%!important;max-width:100%!important;min-width:0!important;height:44px!important;display:block!important;box-sizing:border-box!important}
  body .filterbar input[type=date]{appearance:auto!important;-webkit-appearance:auto!important}
  body .filterbar>button{grid-column:1/-1!important;min-height:44px!important;width:100%!important;position:static!important;margin:0!important}
  body .toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:end!important}
  body .toolbar>label{display:flex!important;flex-direction:column!important;min-width:0!important;width:auto!important;gap:6px!important;margin:0!important}
  body .toolbar>label:first-child{grid-column:1/-1!important}
  body .toolbar input,body .toolbar select{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;min-height:44px!important}
  body .toolbar>button{min-width:0!important;width:100%!important;min-height:44px!important;margin:0!important}
  body .tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%!important;width:100%!important;gap:8px!important;padding-bottom:6px!important;-webkit-overflow-scrolling:touch!important}
  body .tabs>.tab{flex:0 0 auto!important;white-space:nowrap!important;max-width:none!important}
  body .tablewrap,body .listwrap{display:block!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  body .tablewrap table,body .listwrap table{width:max-content!important;min-width:850px!important}
}
