/* V730 mobile modal and history: restrained palette and safe layout */
.ba724-shared .ba460-dialog{width:min(94vw,540px)!important;max-width:540px!important;max-height:84dvh!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0!important}
.ba724-shared .ba723-filters{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;margin:12px 16px!important;box-sizing:border-box!important}
.ba724-shared .ba723-filters label{min-width:0!important;width:100%!important;box-sizing:border-box!important;overflow:hidden!important}
.ba724-shared .ba723-filters input{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;font-size:13px!important;padding:9px 5px!important}
.ba724-shared .ba468-history{padding:0 16px 18px!important;display:flex!important;flex-direction:column!important;gap:9px!important;min-width:0!important}
.ba724-shared .ba630-history-row,.ba724-shared [data-ba468-detail]{width:100%!important;max-width:100%!important;min-height:0!important;box-sizing:border-box!important;background:#17211b!important;border:1px solid #405346!important;color:#f1f4ef!important;border-radius:12px!important;padding:12px!important;box-shadow:none!important}
.ba724-shared [data-ba468-detail] *{color:#f1f4ef!important}
.ba724-detail .ba728-switch button,.ba724-detail .ba728-switch button.active{background:#1d2922!important;color:#e7f2e6!important;border:1px solid #526a57!important;box-shadow:none!important}
.ba724-detail .ba728-switch button.active{border-color:#a2d87c!important;color:#b7ed95!important}
.ba724-detail .ba728-performance table[data-mode=both] .ba728-actual,.ba724-detail .ba728-performance table[data-mode=both] .ba728-goal{display:table-cell!important}
@media(max-width:390px){.ba724-shared .ba723-filters{margin-inline:10px!important;gap:7px!important}.ba724-shared .ba468-history{padding-inline:10px!important}}
