/* Dealer List only: retain the live table, filters and action handlers. */
@media(max-width:767px){
 html[data-medaliza-ui-mode="mobile"] #app [data-mobile-route="dealers"] .dealer-live-page:has(.dealer-list-table){
  padding:0!important;color:#0d2156;
  & :is(h1,h2,b,small,button,input,select,label,td,span){font-family:Arial,sans-serif!important;letter-spacing:0!important}
  & .dealer-live-title{flex-direction:row!important;text-align:left!important}
  & .dealer-live-title>div{text-align:left!important}
  & .dealer-live-title .dealer-primary{align-self:center!important;margin:0!important;background:linear-gradient(130deg,#00b8ff,#0447ed)!important}
  & .dealer-live-title{display:flex!important;align-items:center;gap:8px;padding:12px!important;margin:0 0 10px!important;border:1px solid #d3e8ff;border-radius:13px;background:linear-gradient(115deg,#fff,#e9f7ff);box-shadow:0 3px 9px #4386c51c}
  & .dealer-live-title>div{min-width:0;flex:1}
  & .dealer-demo{font-size:9px!important;color:#087d59;font-weight:700}
  & .dealer-live-title h1{font-size:23px!important;line-height:1.1;margin:3px 0!important;color:#0b174f}
  & .dealer-live-title p{font-size:10px!important;line-height:1.4;margin:0!important;color:#62769c}
  & .dealer-primary{width:auto!important;flex:none;padding:9px!important;min-height:34px!important;font-size:11px!important;border:1px solid #26adff;border-radius:9px;background:linear-gradient(130deg,#00b8ff,#0447ed);color:#fff;box-shadow:0 4px 8px #187ddd30}
  & .dealer-live-filters{display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(0,1.1fr) minmax(0,.8fr)!important;gap:7px!important;padding:0!important;margin:0 0 10px!important;background:none;border:0}
  & .dealer-search{grid-column:1/-1!important;display:flex!important;align-items:center;gap:7px;padding:0 10px!important;border:1px solid #cce2ff!important;border-radius:10px!important;background:white!important;color:#087aff;font-size:22px!important;min-width:0}
  & .dealer-search input{border:0!important;background:transparent!important;min-width:0!important;width:100%!important;height:39px!important;padding:6px 0!important;min-height:39px!important;font-size:13px!important;box-shadow:none!important}
  & .dealer-live-filters select,& .dealer-live-filters>label:not(.dealer-search),& .dealer-live-filters>button{width:100%!important;min-width:0!important;min-height:34px!important;margin:0;padding:6px!important;border:1px solid #d3e5fc;border-radius:9px;background:#fff;font-size:10px!important;color:#14245c}
  & .dealer-live-filters>label:not(.dealer-search){display:flex!important;align-items:center;gap:4px;white-space:nowrap!important}
  & .dealer-live-filters input[type=checkbox]{width:15px!important;height:15px!important;flex:none;margin:0}
  & .dealer-live-filters>button{background:linear-gradient(120deg,#00bcff,#0056e9)!important;color:#fff;font-size:12px!important}
  & .dealer-card{padding:8px 5px!important;margin:0!important;border:1px solid #d5eaff;border-radius:13px;background:linear-gradient(120deg,#fff,#f3faff);box-shadow:0 3px 10px #4898cf12}
  & .dealer-card>header{padding:0 7px 8px!important;margin:0!important;border:0;background:none}
  & .dealer-card h2{font-size:19px!important;margin:0;color:#101b50}
  & [data-live-dealer-list-meta]{font-size:11px;color:#687a9f}
  & .dealer-table-wrap{padding:0!important;overflow:visible!important}
  & .dealer-list-table tbody{gap:8px!important}
  & .dealer-list-table tbody>tr{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0 7px!important;padding:9px!important;border:1px solid #d4e6ff;border-left:3px solid #087bff!important;border-radius:12px;background:#fff!important;box-shadow:0 3px 7px #428bd01a}
  & .dealer-list-table tbody>tr:nth-child(even){border-left-color:#00c5a1!important}
  & .dealer-list-table tbody>tr>td{grid-column:span 3!important;position:relative!important;padding:5px 0!important;font-size:11px!important;line-height:1.35!important;color:#12275b;border-bottom:1px solid #edf3fc!important;overflow-wrap:anywhere}
  & .dealer-list-table td::before{font-size:9px!important;letter-spacing:0!important;margin-bottom:2px;color:#6c7c9b}
  & .dealer-list-table td:first-child{grid-column:span 3!important;grid-row:1;padding:2px 0 9px!important;font-size:13px!important;font-weight:700;color:#0a1852}
  & .dealer-list-table td:first-child::before{display:none}
  & .dealer-live-contact{display:block;font-size:10px!important;font-weight:400;color:#687d9e;margin-top:3px}
  & .dealer-list-table td:nth-child(2){grid-column:span 1!important;grid-row:1;color:#087aff;font-size:15px!important;font-weight:700}
  & .dealer-list-table td:nth-child(8){grid-column:span 2!important;grid-row:1;align-self:center;text-align:right!important;border:0!important}
  & .dealer-list-table td:nth-child(8)::before{display:none}
  & .dealer-list-table td:nth-child(8) span{display:inline-block;padding:5px 7px;border-radius:9px;font-size:10px!important}
  & .dealer-list-table td:nth-child(3){grid-row:2;grid-column:1/4!important}
  & .dealer-list-table td:nth-child(4){grid-row:2;grid-column:4/7!important}
  & .dealer-list-table td:nth-child(5){grid-row:3/5;grid-column:1/4!important}
  & .dealer-list-table td:nth-child(6){grid-row:3;grid-column:4/7!important;color:#f41431!important;font-size:15px!important;font-weight:700}
  & .dealer-list-table td:nth-child(7){grid-row:4;grid-column:4/7!important}
  & .dealer-list-table td:last-child{grid-column:1/-1!important;display:flex!important;gap:7px!important;padding:7px 0 0!important;border:0!important}
  & .dealer-list-table td:last-child::before{display:none}
  & .dealer-list-table td:last-child button{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto!important;min-height:30px!important;padding:5px 10px!important;font-size:11px!important;font-weight:600;border:1px solid #bedfff;border-radius:8px;background:linear-gradient(120deg,#e6f5ff,#f6fbff);color:#0076ff}
  & [data-live-dealer-action=details]::before{content:'◉'}
  & [data-live-dealer-action=edit]::before{content:'✎'}
  & [data-live-dealer-action=ledger]::before{content:'▤'}
  & .dealer-list-table tr.mi-message-row td{grid-column:1/-1!important;font-weight:400}
 }
}
