/* =========================================================
   MARUTHI LIGHTS ADMIN - MOBILE ONLY RESPONSIVE FIX
   Desktop theme/layout untouched. Active only <= 900px.
   ========================================================= */
@media (max-width:900px){
  *,*::before,*::after{box-sizing:border-box!important;}
  html,body{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow-x:hidden!important;-webkit-text-size-adjust:100%;}
  body{min-height:100dvh!important;}
  img,svg,video,canvas,iframe{max-width:100%!important;height:auto;}

  /* Main admin shell */
  .adm,.admin,.wrapper,.app,.page{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:none!important;overflow-x:hidden!important;}
  .main,main,.content,main.content,.page-content,.container{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow-x:hidden!important;}
  .main,main{padding:0!important;}
  .content,main.content,.page-content{padding:10px 10px 88px!important;}

  /* Top bar fit mobile width */
  .top{position:sticky!important;top:0!important;z-index:9000!important;width:100%!important;max-width:100vw!important;min-height:56px!important;padding:7px 8px!important;display:flex!important;align-items:center!important;gap:6px!important;background:#fff!important;border-bottom:1px solid #eef1f5!important;overflow:hidden!important;}
  .top b,.top .title{flex:1 1 auto!important;min-width:0!important;max-width:none!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:15px!important;line-height:1.1!important;}
  .top span{display:none!important;}
  .hamb,#hambBtn{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;border:0!important;border-radius:12px!important;background:#fff!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important;font-size:22px!important;line-height:1!important;touch-action:manipulation!important;}
  #adminInstallBtn{flex:0 0 auto!important;max-width:112px!important;min-height:38px!important;padding:7px 8px!important;font-size:12px!important;line-height:1.05!important;white-space:normal!important;text-align:center!important;}
  .top .btn,.top a.btn{flex:0 0 auto!important;min-height:38px!important;padding:7px 9px!important;font-size:12px!important;white-space:nowrap!important;}

  /* Off-canvas menu */
  .side{position:fixed!important;top:0!important;left:0!important;bottom:0!important;width:min(84vw,315px)!important;max-width:315px!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;background:#fff!important;transform:translateX(-110%)!important;transition:transform .24s ease!important;z-index:10000!important;box-shadow:0 14px 40px rgba(15,23,42,.28)!important;padding-bottom:24px!important;-webkit-overflow-scrolling:touch!important;}
  body.open .side,body.menu-open .side,.adm.open .side,.side.open{transform:translateX(0)!important;left:0!important;}
  body.open::after,body.menu-open::after{content:""!important;position:fixed!important;inset:0!important;background:rgba(15,23,42,.30)!important;z-index:9990!important;}
  body.open .side,body.menu-open .side{z-index:10000!important;}
  .side .brand{display:flex!important;align-items:center!important;gap:10px!important;padding:14px!important;}
  .side a,.side .menu a,.side nav a{display:flex!important;align-items:center!important;width:100%!important;min-height:42px!important;padding:10px 14px!important;font-size:15px!important;line-height:1.2!important;white-space:normal!important;}

  /* Cards, forms, panels */
  .card,.box,.panel,.form-card,.table-card,.ds-card,.pwa-card,.section,.pm-section{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;overflow:hidden!important;}
  form,.form,.filter-form{width:100%!important;max-width:100%!important;min-width:0!important;}
  .row,.form-row,.input-row,.filter-row,.filters,.search-row,.grid,.cards,.summary-grid,.dashboard-stats,.pwa-grid,.ds-grid{width:100%!important;max-width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}

  label{max-width:100%!important;}
  input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:40px!important;padding:9px 10px!important;font-size:14px!important;border-radius:11px!important;}
  textarea{min-height:78px!important;}
  input[type=file]{height:auto!important;line-height:1.3!important;}
  input[type=checkbox],input[type=radio]{width:auto!important;min-height:0!important;}
  button,.btn,input[type=submit],a.btn,.btn-orange,.btn-light{max-width:100%!important;min-height:40px!important;border-radius:11px!important;padding:9px 12px!important;font-size:14px!important;line-height:1.15!important;white-space:normal!important;text-align:center!important;}

  /* Tables: no content cut; scroll inside table wrapper only */
  .table-wrap,.table-responsive,.list-wrap,.orders-table,.products-table,.recent-card{width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch!important;border-radius:14px!important;}
  table,.table{min-width:720px!important;width:max-content!important;max-width:none!important;border-collapse:collapse;}
  table th,table td,.table th,.table td{white-space:nowrap!important;font-size:13px!important;padding:8px 10px!important;vertical-align:middle!important;}

  /* Dashboard auto adjust */
  .dash-status{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;}
  .dash-status .stat,.stat{min-width:0!important;width:100%!important;padding:9px!important;overflow:hidden!important;}
  .dash-status .stat small{font-size:10.5px!important;line-height:1.1!important;}
  .dash-status .stat b{font-size:16px!important;line-height:1.15!important;word-break:break-word!important;}
  .dash-actions,.quick-actions,.actions,.ds-btns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;}
  .dash-actions .btn,.quick-actions .btn,.actions .btn,.ds-btns .btn{width:100%!important;min-width:0!important;height:auto!important;min-height:40px!important;font-size:12px!important;padding:8px 6px!important;}
  .dash-action-flex{display:flex!important;gap:6px!important;align-items:center!important;flex-wrap:nowrap!important;}
  .dash-status-select{min-width:132px!important;width:132px!important;height:36px!important;font-size:12px!important;padding:6px!important;}
  .btn-view{min-height:36px!important;padding:8px 10px!important;font-size:12px!important;}

  /* Product/admin card rows */
  .product-card,.prod-card,.item-card{width:100%!important;max-width:100%!important;display:grid!important;grid-template-columns:76px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important;}
  .product-card img,.prod-card img,.item-card img{width:70px!important;height:70px!important;object-fit:cover!important;border-radius:11px!important;}

  /* Product form common */
  .pm-form-wrap{width:100%!important;max-width:100%!important;padding:8px 8px 90px!important;margin:0!important;overflow:hidden!important;}
  .pm-title,h1,h2,.page-title,.title{font-size:21px!important;line-height:1.18!important;margin:8px 0 12px!important;}
  .pm-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;}
  .pm-field.full{grid-column:1/-1!important;}
  .range-row{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;}
  .variant-head,.pm-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
  .pm-actions{position:sticky!important;bottom:0!important;background:#fff!important;padding:9px!important;margin:8px -8px 0!important;z-index:30!important;border-top:1px solid #eef1f5!important;}
  .pm-actions .btn-orange,.pm-actions .btn-light,.pm-actions button{flex:1 1 140px!important;}

  .floating-add,.fab,.add-float{position:fixed!important;right:16px!important;bottom:70px!important;z-index:8000!important;}
}

@media (min-width:601px) and (max-width:900px){
  .pm-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .dash-status{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  .dash-actions,.quick-actions,.actions,.ds-btns{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}

@media (max-width:420px){
  .content,main.content,.page-content{padding:8px 8px 82px!important;}
  .top{gap:5px!important;padding:6px!important;}
  .top b,.top .title{font-size:14px!important;}
  #adminInstallBtn{max-width:98px!important;font-size:11px!important;padding:6px!important;}
  .top .btn,.top a.btn{font-size:11px!important;padding:7px 8px!important;}
  .dash-status{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .dash-actions,.quick-actions,.actions,.ds-btns{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  table,.table{min-width:680px!important;}
}

/* =========================================================
   MOBILE COMPACT V2 - reduce height/space only on mobile
   Desktop untouched. Forms use 2/3 columns where possible.
   ========================================================= */
@media (max-width:900px){
  body{font-size:13px!important;line-height:1.22!important;}
  .content,main.content,.page-content{padding:6px 6px 68px!important;}
  .card,.box,.panel,.form-card,.table-card,.ds-card,.pwa-card,.section,.pm-section{padding:8px!important;border-radius:10px!important;margin-bottom:8px!important;}
  h1,.pm-title,.page-title,.title{font-size:18px!important;line-height:1.12!important;margin:5px 0 7px!important;}
  h2{font-size:16px!important;line-height:1.12!important;margin:5px 0 7px!important;}
  h3{font-size:14px!important;margin:4px 0 6px!important;}

  /* Compact top/header */
  .top{min-height:46px!important;padding:4px 6px!important;gap:4px!important;}
  .hamb,#hambBtn{flex-basis:34px!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;border-radius:9px!important;font-size:18px!important;}
  .top b,.top .title{font-size:13px!important;}
  #adminInstallBtn,.top .btn,.top a.btn{min-height:32px!important;padding:5px 7px!important;font-size:10.5px!important;border-radius:9px!important;}

  /* Compact forms: default 2 columns on phone, 3 columns on wider mobile */
  .row,.form-row,.input-row,.filter-row,.filters,.search-row,.grid,.cards,.summary-grid,.pwa-grid,.ds-grid,
  .pm-grid,.price-grid,.setting-grid,.address-grid,.wallet-grid,.coupon-grid,.variant-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;align-items:end!important;}
  .full,.pm-field.full,.field-full,.grid-full,.col-full,.w-100{grid-column:1/-1!important;}
  .row > *, .form-row > *, .input-row > *, .filter-row > *, .filters > *, .search-row > *, .grid > *, .pm-grid > *{min-width:0!important;}

  label,.label,.form-label{font-size:11px!important;font-weight:800!important;margin:0 0 3px!important;line-height:1.05!important;}
  input:not([type=checkbox]):not([type=radio]),select,textarea{min-height:32px!important;height:32px!important;padding:5px 7px!important;font-size:12px!important;border-radius:8px!important;line-height:1.1!important;}
  textarea{height:auto!important;min-height:48px!important;}
  input[type=file]{min-height:32px!important;height:auto!important;padding:4px 6px!important;font-size:11px!important;}
  button,.btn,input[type=submit],a.btn,.btn-orange,.btn-light{min-height:32px!important;padding:6px 8px!important;font-size:11.5px!important;border-radius:8px!important;line-height:1.05!important;}
  small,.muted,.help,.hint,.form-text{font-size:10px!important;line-height:1.1!important;margin-top:2px!important;}

  /* Product add/edit compact */
  .pm-form-wrap{padding:5px 5px 62px!important;}
  .pm-grid{gap:6px!important;}
  .variant-card,.variant-box,.pm-variant,.variant-row{padding:7px!important;margin-bottom:7px!important;border-radius:10px!important;}
  .variant-head,.pm-actions{gap:5px!important;}
  .pm-actions{padding:6px!important;margin:6px -5px 0!important;}
  .pm-actions .btn-orange,.pm-actions .btn-light,.pm-actions button{flex:1 1 92px!important;min-height:34px!important;font-size:11px!important;padding:6px 5px!important;}
  .range-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;}

  /* Tables compact */
  table,.table{min-width:560px!important;}
  table th,table td,.table th,.table td{font-size:11px!important;padding:5px 6px!important;}
  .table-wrap,.table-responsive,.list-wrap,.orders-table,.products-table,.recent-card{border-radius:10px!important;}

  /* Dashboard compact */
  .dash-status,.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;}
  .dash-status .stat,.stat{padding:6px!important;border-radius:9px!important;}
  .dash-status .stat small,.stat small{font-size:9px!important;}
  .dash-status .stat b,.stat b{font-size:13px!important;}
  .dash-actions,.quick-actions,.actions,.ds-btns{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;}
  .dash-actions .btn,.quick-actions .btn,.actions .btn,.ds-btns .btn{min-height:32px!important;font-size:10.5px!important;padding:5px!important;}

  /* Cards compact */
  .product-card,.prod-card,.item-card{grid-template-columns:52px minmax(0,1fr) auto!important;gap:6px!important;padding:6px!important;border-radius:9px!important;}
  .product-card img,.prod-card img,.item-card img{width:48px!important;height:48px!important;border-radius:8px!important;}

  /* Sidebar compact */
  .side{width:min(78vw,280px)!important;max-width:280px!important;}
  .side .brand{padding:9px 10px!important;gap:7px!important;}
  .side a,.side .menu a,.side nav a{min-height:34px!important;padding:7px 10px!important;font-size:13px!important;}

  .floating-add,.fab,.add-float{right:10px!important;bottom:58px!important;}
}

@media (min-width:520px) and (max-width:900px){
  .row,.form-row,.input-row,.filter-row,.filters,.search-row,.grid,.cards,.summary-grid,.pwa-grid,.ds-grid,
  .pm-grid,.price-grid,.setting-grid,.address-grid,.wallet-grid,.coupon-grid,.variant-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .dash-status,.dashboard-stats,.dash-actions,.quick-actions,.actions,.ds-btns{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}

@media (max-width:420px){
  .content,main.content,.page-content{padding:5px 5px 64px!important;}
  .row,.form-row,.input-row,.filter-row,.filters,.search-row,.grid,.cards,.summary-grid,.pwa-grid,.ds-grid,
  .pm-grid,.price-grid,.setting-grid,.address-grid,.wallet-grid,.coupon-grid,.variant-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;}
  input:not([type=checkbox]):not([type=radio]),select,textarea{min-height:30px!important;height:30px!important;font-size:11.5px!important;padding:4px 6px!important;}
  button,.btn,input[type=submit],a.btn,.btn-orange,.btn-light{min-height:30px!important;font-size:10.5px!important;padding:5px 6px!important;}
  table,.table{min-width:520px!important;}
}


/* ===== V80 CLASSIC MFG ADMIN THEME - FORCE OVERRIDE ===== */
:root{--ml-primary:#2563eb;--ml-secondary:#111827;--ml-bg:#eef4ff;--ml-card:#ffffff;--ml-text:#172334;--ml-side:#070b1e;--ml-side2:#111a3a;--ml-border:#dbe4f0;--ml-green:#008f5a;--ml-orange:#ff7a00}
*{box-sizing:border-box}
html,body{margin:0!important;min-height:100%;font-family:Arial,Helvetica,sans-serif!important;background:var(--ml-bg)!important;color:var(--ml-text)!important;overflow-x:hidden}
a{text-decoration:none}
.adm{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;min-height:100vh!important;background:var(--ml-bg)!important}
.side{position:sticky!important;top:0!important;left:auto!important;transform:none!important;width:260px!important;height:100vh!important;background:linear-gradient(180deg,var(--ml-side),var(--ml-side2))!important;color:#fff!important;overflow-y:auto!important;overflow-x:hidden!important;padding:18px 14px!important;box-shadow:12px 0 30px rgba(2,8,23,.18)!important;z-index:10000!important}
.side .brand{display:flex!important;align-items:center!important;gap:12px!important;margin:0 0 18px!important;padding:8px 6px 18px!important;border-bottom:1px solid rgba(255,255,255,.12)!important}
.side .logo{width:48px!important;height:48px!important;border-radius:14px!important;background:linear-gradient(135deg,#2563eb,#06b6d4)!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;font-weight:900!important;box-shadow:0 8px 22px rgba(37,99,235,.35)!important}
.side .brand b{display:block!important;color:#fff!important;font-size:17px!important;line-height:1.05!important;letter-spacing:.3px!important}.side .brand small{display:block!important;color:#a8b3cf!important;font-size:11px!important;margin-top:4px!important}
.side a.nav{display:flex!important;align-items:center!important;gap:11px!important;color:#d8e2ff!important;border-radius:13px!important;padding:12px 12px!important;margin:4px 0!important;font-weight:800!important;white-space:normal!important;border:1px solid transparent!important}
.side a.nav span{width:24px!important;text-align:center!important;flex:0 0 24px!important}.side a.nav b{font-size:14px!important;line-height:1.2!important}
.side a.nav:hover,.side a.nav.active{background:linear-gradient(90deg,#2563eb,#0ea5e9)!important;color:#fff!important;border-color:rgba(255,255,255,.15)!important;box-shadow:0 8px 20px rgba(37,99,235,.25)!important}
.main{min-width:0!important;width:100%!important;padding:0!important;background:var(--ml-bg)!important}.top{position:sticky!important;top:0!important;z-index:9000!important;height:68px!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(10px)!important;border-bottom:1px solid var(--ml-border)!important;box-shadow:0 6px 20px rgba(15,23,42,.06)!important;display:flex!important;align-items:center!important;gap:12px!important;padding:10px 18px!important}.top>b{font-size:18px!important;font-weight:900!important;color:#111827!important;letter-spacing:.2px!important}.top>span{flex:1!important}.hamb{display:none!important;background:#fff!important;border:1px solid var(--ml-border)!important;border-radius:14px!important;color:#111827!important;font-size:24px!important;min-width:48px!important;height:48px!important;box-shadow:0 6px 18px rgba(15,23,42,.08)!important}.content{padding:22px!important;max-width:100%!important;width:100%!important}.content h1,.content .title,h1.title,h1{font-size:32px!important;line-height:1.15!important;margin:0 0 20px!important;color:#0f172a!important;font-weight:900!important}.card,.box,.panel,.form-card,.table-card,.pu-card,.ps-card,.cat-card{background:#fff!important;border:1px solid var(--ml-border)!important;border-radius:20px!important;box-shadow:0 10px 28px rgba(15,23,42,.07)!important;padding:18px!important;margin-bottom:16px!important}input,select,textarea{border:1px solid #d7e0ea!important;border-radius:13px!important;background:#fff!important;color:#111827!important;padding:11px 13px!important;font-size:15px!important;outline:none!important}input:focus,select:focus,textarea:focus{border-color:#2563eb!important;box-shadow:0 0 0 3px rgba(37,99,235,.12)!important}.btn,button,.button{border:0!important;border-radius:13px!important;padding:11px 16px!important;font-weight:900!important;cursor:pointer!important;background:linear-gradient(90deg,#00a65a,#007a4d)!important;color:#fff!important;box-shadow:0 8px 18px rgba(0,128,80,.18)!important}.btn.outline,a.btn.outline{background:#fff!important;color:#111827!important;border:1px solid #d7e0ea!important;box-shadow:none!important}.btn.danger,.danger{background:linear-gradient(90deg,#ef4444,#b91c1c)!important;color:#fff!important}.btn.small{padding:8px 12px!important;border-radius:10px!important;font-size:12px!important}.table-wrap{width:100%!important;overflow-x:auto!important}.table,table.table{width:100%!important;border-collapse:separate!important;border-spacing:0 8px!important}.table th{color:#64748b!important;font-size:12px!important;text-transform:uppercase!important;text-align:left!important;padding:8px 12px!important}.table td{background:#fff!important;border-top:1px solid #e8eef7!important;border-bottom:1px solid #e8eef7!important;padding:12px!important}.table td:first-child{border-left:1px solid #e8eef7!important;border-radius:14px 0 0 14px!important}.table td:last-child{border-right:1px solid #e8eef7!important;border-radius:0 14px 14px 0!important}.row,.form-row{display:flex!important;gap:12px!important;flex-wrap:wrap!important;align-items:end!important}.grid{display:grid!important;gap:16px!important}.ml-alert-bell{background:#fff!important;border:1px solid #bbf7d0!important;color:#8a2c0c!important;border-radius:16px!important;padding:10px 14px!important;font-weight:900!important;box-shadow:0 6px 18px rgba(15,23,42,.06)!important}.ml-alert-bell b{background:#94a3b8!important;color:#fff!important;border-radius:99px!important;padding:3px 8px!important}.ml-alert-bell:not(.zero) b{background:#ef4444!important}#adminInstallBtn{background:linear-gradient(90deg,#00a65a,#007a4d)!important;border-radius:15px!important;box-shadow:0 8px 18px rgba(0,128,80,.2)!important}.old-top-links,.navline,.legacy-header{display:none!important}
footer{padding:18px 22px!important;color:#64748b!important}
@media(max-width:900px){.adm{display:block!important;grid-template-columns:none!important}.side{position:fixed!important;top:0!important;bottom:0!important;left:0!important;width:min(82vw,310px)!important;height:100vh!important;transform:translateX(-110%)!important;transition:transform .25s ease!important;border-radius:0 22px 22px 0!important}.hamb{display:inline-flex!important;align-items:center!important;justify-content:center!important}.top{height:64px!important;padding:8px 10px!important;gap:8px!important}.top>b{font-size:15px!important;max-width:110px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.top>span{display:block!important;flex:1!important}.top .btn.outline{display:none!important}.ml-alert-bell{padding:8px 9px!important;font-size:12px!important}.ml-alert-bell b{min-width:22px!important;text-align:center!important;padding:2px 6px!important}#adminInstallBtn{padding:9px 10px!important;font-size:12px!important}.content{padding:16px 10px 90px!important}.content h1,.content .title,h1{font-size:26px!important}.card,.box,.panel,.form-card,.table-card,.pu-card,.ps-card,.cat-card{border-radius:18px!important;padding:14px!important}.row,.form-row{display:grid!important;grid-template-columns:1fr!important}.grid{grid-template-columns:1fr!important}body.open .side{transform:translateX(0)!important}body.open:after{content:""!important;position:fixed!important;inset:0!important;background:rgba(15,23,42,.38)!important;z-index:9990!important}.side{z-index:10001!important}}


/* ===== V7E universal mobile fit + readable dropdown/card fix ===== */
@media(max-width:900px){
  .content,main.content{padding:10px 10px 86px!important;}
  h1,.title{font-size:28px!important;line-height:1.12!important;margin:14px 0!important;word-break:break-word!important;}
  h2{font-size:20px!important;line-height:1.16!important;margin:0 0 10px!important;}
  .card,.box,.panel{padding:12px!important;border-radius:16px!important;margin-bottom:12px!important;}
  input:not([type=checkbox]):not([type=radio]),select,textarea{
    width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:44px!important;
    padding:10px 34px 10px 11px!important;font-size:15px!important;line-height:22px!important;color:#142033!important;
    background-color:#fff!important;overflow:visible!important;text-overflow:ellipsis!important;white-space:normal!important;
  }
  select{appearance:auto!important;-webkit-appearance:menulist!important;background:#fff!important;color:#142033!important;}
  option{font-size:15px!important;color:#142033!important;background:#fff!important;}
  .form-grid,.compact-form,.row,.filter-row,.filters{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;}
  .form-grid .field,.form-grid .full,.compact-form .field,.compact-form .full{grid-column:1/-1!important;min-width:0!important;}
  .btn,button,input[type=submit]{min-height:40px!important;padding:9px 12px!important;font-size:14px!important;line-height:1.1!important;}
  .btn.small{min-height:34px!important;padding:7px 10px!important;font-size:13px!important;}
  .table-wrap{overflow:visible!important;width:100%!important;max-width:100%!important;}
  table.table{min-width:0!important;width:100%!important;}
  .ml-card-list{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  .ml-data-card{background:#fff;border:1px solid #e6edf5;border-radius:16px;padding:11px;box-shadow:0 3px 12px rgba(15,23,42,.05);overflow:hidden;}
  .ml-data-card .ml-row{display:flex;justify-content:space-between;gap:10px;padding:4px 0;border-bottom:1px dashed #edf2f7;min-width:0;}
  .ml-data-card .ml-row:last-child{border-bottom:0}.ml-k{font-weight:900;color:#64748b;min-width:88px}.ml-v{font-weight:800;color:#172334;text-align:right;min-width:0;overflow-wrap:anywhere}.ml-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;margin-top:8px;}
  .desktop-table-mobile-hide{display:none!important;}
}
@media(min-width:901px){.mobile-card-only{display:none!important;}}
