/* V15 mobile-first contract UX */
@media(max-width:700px){
  .schedule,.wt-table-wrap,.wt-schedule .wt-table-wrap{overflow:visible!important;width:100%!important}
  .schedule table,.wt-table-wrap table,.wt-schedule table{display:block!important;width:100%!important;min-width:0!important;border:0!important;background:transparent!important}
  .schedule thead,.wt-table-wrap thead,.wt-schedule thead{display:none!important}
  .schedule tbody,.wt-table-wrap tbody,.wt-schedule tbody{display:grid!important;gap:8px!important;width:100%!important}
  .schedule tr,.wt-table-wrap tbody tr,.wt-schedule tbody tr{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;padding:11px 12px!important;border:1px solid #E0E8F3!important;border-radius:14px!important;background:#fff!important;box-shadow:0 5px 16px rgba(8,32,75,.045)!important}
  .schedule td,.wt-table-wrap td,.wt-schedule td{display:block!important;border:0!important;padding:0!important;white-space:normal!important;min-width:0!important;font-size:11px!important;overflow-wrap:anywhere!important}
  .schedule td:first-child,.wt-table-wrap td:first-child,.wt-schedule td:first-child{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:10px!important;background:#EDF3FF!important;color:#1769FF!important;font-weight:800!important}
  .schedule td:nth-child(2),.wt-table-wrap td:nth-child(2),.wt-schedule td:nth-child(2){color:#52647E!important}
  .schedule td:last-child,.wt-table-wrap td:last-child,.wt-schedule td:last-child{font-weight:800!important;color:#10233F!important;text-align:left!important;white-space:nowrap!important}
  body.wt13-detail-page .detail-grid>aside{padding-bottom:8px!important}
  body.wt13-detail-page .detail-grid>aside .contract-actions{position:sticky!important;bottom:calc(78px + env(safe-area-inset-bottom))!important;z-index:25!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:9px!important;margin-inline:-2px!important;border:1px solid rgba(218,228,242,.96)!important;border-radius:16px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 12px 34px rgba(8,32,75,.13)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
  body.wt13-detail-page .detail-grid>aside .contract-actions .btn{width:100%!important;min-width:0!important;font-size:11px!important;min-height:44px!important}
  #wt_flow .wt-input,#wt_flow .wt-select,#wt_flow .wt-textarea{font-size:16px!important;min-height:48px!important}
  #wt_flow .wt-option{min-height:48px!important}
  #wt_flow .wt-actions{position:sticky!important;bottom:0!important;z-index:20!important;margin-inline:-14px!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.96)!important;border-top:1px solid #E2E9F3!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}
  .wt-quick-actions{overflow-x:auto!important;scroll-snap-type:x proximity!important;display:flex!important;padding-bottom:4px!important;scrollbar-width:none!important}
  .wt-quick-actions::-webkit-scrollbar{display:none!important}.wt-quick-action{min-width:210px!important;scroll-snap-align:start!important}
}
@media(max-width:430px){body.wt13-detail-page .detail-grid>aside .contract-actions{grid-template-columns:1fr!important}.schedule tr,.wt-table-wrap tbody tr,.wt-schedule tbody tr{grid-template-columns:38px minmax(0,1fr)!important}.schedule td:last-child,.wt-table-wrap td:last-child,.wt-schedule td:last-child{grid-column:2!important;text-align:right!important}}
