/* Soda ZW premium accounting interface. Loaded last so no business logic is affected. */
body.premium-v3{
  --p-navy:#0a2746;--p-navy-deep:#061a30;--p-orange:#f45b20;--p-green:#16845b;
  --p-bg:#f3f5f7;--p-card:#fff;--p-line:#dde3e8;--p-text:#172b3c;--p-muted:#647687;
  --p-shadow:0 1px 2px rgba(8,28,46,.03),0 8px 26px rgba(8,28,46,.045);
  background:var(--p-bg);color:var(--p-text);font-size:14px;letter-spacing:0;
}
.premium-v3 .sidebar{
  width:276px;padding:25px 18px 19px;background:linear-gradient(180deg,var(--p-navy) 0%,var(--p-navy-deep) 100%);
  color:#fff;border-right:0;box-shadow:8px 0 30px rgba(6,26,48,.08);
}
.premium-v3 .brand{margin:0 8px 28px;gap:13px;color:#fff;font-size:20px;letter-spacing:-.02em}
.premium-v3 .brand img{width:78px;height:55px;padding:4px;border:0;border-radius:12px;background:#fff;box-shadow:0 7px 18px rgba(0,0,0,.13)}
.premium-v3 .brand span{padding-left:13px;border-left:1px solid rgba(255,255,255,.18);color:#fff}
.premium-v3 .sidebar nav{gap:3px;padding:0 2px 15px;scrollbar-width:thin;scrollbar-color:#36516b transparent}
.premium-v3 .nav-section{margin:19px 12px 7px;color:#7891a8;font-size:10px;letter-spacing:.13em;font-weight:800}
.premium-v3 .nav-section:first-child{margin-top:2px}
.premium-v3 .sidebar nav a{min-height:44px;padding:9px 11px;border-radius:10px;color:#b8c7d4;font-size:13px;font-weight:650;transform:none}
.premium-v3 .sidebar nav a b{width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.07);color:#a8bac9;font-size:11px}
.premium-v3 .sidebar nav a:hover{background:rgba(255,255,255,.07);color:#fff;transform:none}
.premium-v3 .sidebar nav a.active{background:#fff;color:var(--p-navy);box-shadow:0 8px 22px rgba(0,0,0,.14)}
.premium-v3 .sidebar nav a.active:before{display:none}.premium-v3 .sidebar nav a.active b{background:var(--p-orange);color:#fff}
.premium-v3 .sidebar-user{margin-top:auto;padding:17px 12px 2px;border-top:1px solid rgba(255,255,255,.12);color:#fff}
.premium-v3 .sidebar-user small{color:#849caf;font-size:11px}.premium-v3 .sidebar-user a{color:#ff9b72;font-size:12px}
.premium-v3 .main{margin-left:276px;padding:0 38px 34px;max-width:none}
.premium-v3 .topbar{position:sticky;top:0;height:92px;margin:0 -38px 28px;padding:0 38px;background:rgba(243,245,247,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(215,222,228,.9);z-index:12}
.premium-v3 .topbar span{color:var(--p-orange);font-size:10px;letter-spacing:.15em}.premium-v3 .topbar h1{margin-top:5px;color:var(--p-navy);font-size:28px;letter-spacing:-.035em}
.premium-v3 .quick-create,.premium-v3 .button{min-height:42px;padding:11px 16px;border-radius:9px;font-size:12px;font-weight:750;box-shadow:none}
.premium-v3 .quick-create,.premium-v3 .button.primary{background:var(--p-orange);color:#fff;box-shadow:0 6px 16px rgba(244,91,32,.18)}
.premium-v3 .button.green{background:var(--p-green);box-shadow:0 6px 16px rgba(22,132,91,.16)}
.premium-v3 .button.secondary{background:#fff;color:var(--p-navy);border:1px solid #d4dce3;box-shadow:0 1px 2px rgba(8,28,46,.03)}
.premium-v3 .button:hover,.premium-v3 .quick-create:hover{transform:translateY(-1px);filter:none;box-shadow:0 8px 20px rgba(8,28,46,.12)}
.premium-v3 .button.small{min-height:35px;padding:8px 11px;font-size:11px}
.premium-v3 .panel,.premium-v3 .stat,.premium-v3 .import-card,.premium-v3 .document-card{background:var(--p-card);border:1px solid var(--p-line);border-radius:14px;box-shadow:var(--p-shadow)}
.premium-v3 .panel{padding:24px;margin-bottom:24px}.premium-v3 .panel-head{margin-bottom:20px}.premium-v3 .panel-head h2,.premium-v3 .panel h2{color:var(--p-navy);font-size:18px;letter-spacing:-.02em}.premium-v3 .panel-head p{margin-top:5px;color:var(--p-muted);font-size:12px;line-height:1.5}
.premium-v3 .quick-strip{gap:12px;margin-bottom:24px}.premium-v3 .quick-strip a{justify-content:flex-start;min-height:58px;padding:13px 15px;border:1px solid var(--p-line);border-radius:12px;background:#fff!important;color:var(--p-navy);font-size:12px;box-shadow:none}
.premium-v3 .quick-strip a:hover{border-color:#f1b39b;box-shadow:var(--p-shadow)}.premium-v3 .quick-strip a b{width:31px;height:31px;border-radius:9px;background:#fff0ea;color:var(--p-orange);font-size:12px}
.premium-v3 .accounting-stats,.premium-v3 .stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:25px}
.premium-v3 .stat{min-height:138px;padding:21px 22px;box-shadow:none;overflow:hidden}.premium-v3 .stat:hover{transform:none;box-shadow:var(--p-shadow)}
.premium-v3 .stat:after{right:-30px;bottom:-34px;width:100px;height:100px;background:#f5f7f9}.premium-v3 .stat span{color:var(--p-muted);font-size:10px;letter-spacing:.09em}.premium-v3 .stat strong{margin-top:13px;color:var(--p-navy);font-size:27px}.premium-v3 .stat small{margin-top:9px;color:#7b8b99;font-size:11px}
.premium-v3 .payable-stat,.premium-v3 .stock-alert-stat{border-top:1px solid var(--p-line)}.premium-v3 .payable-stat:before,.premium-v3 .stock-alert-stat:before{width:4px;background:var(--p-orange)}
.premium-v3 .dashboard-grid{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:24px}
.premium-v3 .invoice-send-centre{border-top:1px solid var(--p-line);box-shadow:var(--p-shadow)}.premium-v3 .invoice-send-centre:before{content:"";display:block;width:42px;height:4px;margin:-25px 0 20px;border-radius:0 0 4px 4px;background:var(--p-green)}
.premium-v3 .table-wrap{border:1px solid #e7ebef;border-radius:10px;background:#fff}.premium-v3 table{border-collapse:separate;border-spacing:0}.premium-v3 th{padding:12px 13px;background:#f6f8f9;color:#6e7e8c;border-bottom:1px solid #dfe5ea;font-size:10px;letter-spacing:.08em}.premium-v3 td{padding:14px 13px;color:#334a5d;border-bottom:1px solid #edf0f3;font-size:12.5px;line-height:1.45}.premium-v3 tbody tr:hover{background:#fafbfc}.premium-v3 td strong{color:var(--p-navy)}
.premium-v3 .status{padding:6px 9px;font-size:9px;letter-spacing:.06em}.premium-v3 .share-link-status{font-size:9px}.premium-v3 .copy-invoice-link{font-size:11px}
.premium-v3 input,.premium-v3 select,.premium-v3 textarea{min-height:43px;padding:10px 12px;border:1px solid #cfd8e0;border-radius:9px;color:var(--p-text);font-size:13px;box-shadow:none}.premium-v3 input:focus,.premium-v3 select:focus,.premium-v3 textarea:focus{border-color:#7b9bb5;box-shadow:0 0 0 3px rgba(68,112,148,.11)}.premium-v3 label{gap:7px;color:#43586a;font-size:11px;letter-spacing:0}
.premium-v3 .invoice-summary,.premium-v3 .payable-strip{border-radius:14px;border-color:var(--p-line);box-shadow:var(--p-shadow)}.premium-v3 .invoice-summary span,.premium-v3 .payable-strip span{font-size:10px}.premium-v3 .invoice-summary strong,.premium-v3 .payable-strip strong{font-size:23px}
.premium-v3 .register-title{color:var(--p-navy);font-size:30px;letter-spacing:-.04em}.premium-v3 .customer-search span,.premium-v3 .customer-search>a{font-size:12px}
.premium-v3 .aging-grid{gap:12px}.premium-v3 .aging-grid>div{padding:18px;border-color:#e1e6ea;border-radius:11px;background:#f8fafb}.premium-v3 .aging-grid span{font-size:10px}.premium-v3 .aging-grid strong{font-size:18px}
.premium-v3 .cash-chart{height:235px}.premium-v3 .cash-month>span,.premium-v3 .chart-legend,.premium-v3 .channel-list small{font-size:10px}.premium-v3 .cash-bars i,.premium-v3 .cash-bars b{width:8px}.premium-v3 .cash-bars i{background:var(--p-green)}
.premium-v3 .account-row{padding:14px;border-color:#e2e7eb;border-radius:10px;background:#fff}.premium-v3 .pnl-lines>div,.premium-v3 .channel-list>div{padding:16px 5px}.premium-v3 .pnl-lines .net{background:#edf7f2}
.premium-v3 .alert{padding:14px 16px;border-radius:10px;font-size:13px}.premium-v3 .app-footer{padding:30px 10px 8px;color:#8998a5;font-size:11px}
.premium-v3 .invoice-tabs a{font-size:12px}.premium-v3 .invoice-tabs a.active{background:#fff0ea;color:#a9431c}.premium-v3 .category-pill,.premium-v3 .paid-clear{font-size:9px}
.premium-v3 .document-card{box-shadow:var(--p-shadow)}.premium-v3 .invoice-operation-summary strong{font-size:9px}.premium-v3 .invoice-operation-summary span{font-size:12px}
@media(max-width:1180px){.premium-v3 .accounting-stats,.premium-v3 .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-v3 .dashboard-grid{grid-template-columns:1fr}}
@media(max-width:900px){.premium-v3 .main{padding-left:24px;padding-right:24px}.premium-v3 .topbar{margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px}}
@media(max-width:760px){
  .premium-v3 .sidebar{width:min(300px,88vw)}.premium-v3 .main{margin-left:0;padding:0 15px 25px}.premium-v3 .topbar{height:78px;margin:0 -15px 20px;padding:0 15px}.premium-v3 .topbar h1{font-size:23px}
  .premium-v3 .menu-toggle{display:grid;place-items:center;width:41px;height:41px;border:1px solid #d7dfe5;border-radius:9px;background:#fff;color:var(--p-navy)}.premium-v3 .panel{padding:17px}.premium-v3 .invoice-send-centre:before{margin:-18px 0 16px}
  .premium-v3 .accounting-stats,.premium-v3 .stats{grid-template-columns:1fr 1fr}.premium-v3 .stat{min-height:125px;padding:17px}.premium-v3 .stat strong{font-size:23px}.premium-v3 .quick-strip{grid-template-columns:1fr 1fr}.premium-v3 .invoice-operation-summary{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){.premium-v3 .accounting-stats,.premium-v3 .stats,.premium-v3 .quick-strip{grid-template-columns:1fr}.premium-v3 .register-title{font-size:26px}.premium-v3 .quick-create{width:42px;height:42px;padding:0}.premium-v3 .panel-head{align-items:flex-start}.premium-v3 .invoice-operation-summary{grid-template-columns:1fr}}
@media print{body.premium-v3{background:#fff}.premium-v3 .sidebar,.premium-v3 .topbar,.premium-v3 .app-footer{display:none!important}.premium-v3 .main{margin:0;padding:0}}
.filter-pills{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.filter-pills a{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--navy);text-decoration:none;font-size:11px;font-weight:800}.filter-pills a.active{background:var(--navy);border-color:var(--navy);color:#fff}.filter-pills b{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#e8eef5;color:var(--navy);font-size:9px}.filter-pills a.active b{background:rgba(255,255,255,.18);color:#fff}
.order-review-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.order-review-grid>div{padding:15px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}.order-review-grid h3{margin:0 0 8px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.order-review-grid p{margin:0;line-height:1.65}.website-order-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:18px}.website-order-actions form{margin:0}.status-new{background:#fff1df;color:#a85a00}.status-contacted{background:#e6f2fd;color:#266592}.status-confirmed{background:#e7f7ee;color:#117041}.status-invoiced{background:#eeeaff;color:#5d44a5}.status-fulfilled{background:#def5e8;color:#117041}

/* Soda ZW CRM */
.crm-stats{grid-template-columns:repeat(5,minmax(0,1fr))!important}.crm-warning{border-top:3px solid #e7a319!important}.crm-warning strong{color:#a85a00!important}.crm-pipeline{display:grid;grid-template-columns:repeat(8,minmax(150px,1fr));gap:10px;margin:0 0 24px;overflow-x:auto;padding:2px 2px 8px}.crm-stage-card{min-height:112px;padding:15px;border:1px solid var(--p-line);border-top:3px solid #8fb2cf;border-radius:12px;background:#fff;color:var(--p-navy);text-decoration:none;box-shadow:0 6px 20px rgba(10,40,67,.05)}.crm-stage-card:hover,.crm-stage-card.active{border-top-color:var(--orange);transform:translateY(-2px);box-shadow:var(--p-shadow)}.crm-stage-card span,.crm-stage-card small{display:block;color:var(--p-muted);font-size:10px}.crm-stage-card span{min-height:28px;text-transform:uppercase;letter-spacing:.05em;font-weight:800}.crm-stage-card strong{display:block;margin:8px 0 5px;font-size:25px}.crm-main-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.45fr);gap:20px}.crm-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.crm-detail-grid article{padding:16px;border:1px solid var(--p-line);border-radius:11px;background:#f8fafc}.crm-detail-grid span,.crm-detail-grid small{display:block;color:var(--p-muted);font-size:10px}.crm-detail-grid span{text-transform:uppercase;letter-spacing:.07em;font-weight:800}.crm-detail-grid strong{display:block;margin:8px 0 5px;color:var(--p-navy);font-size:17px}.crm-action-row{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.crm-stage-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;padding:16px;border:1px solid var(--p-line);border-radius:12px;background:#fbfcfd;margin-bottom:22px}.crm-activity-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:22px;border-top:1px solid var(--p-line);padding-top:22px}.crm-activity-layout h3,.crm-activity-form h3{margin:0 0 14px;color:var(--p-navy)}.crm-activity{display:flex;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid var(--p-line)}.crm-activity>div{display:grid;gap:4px}.crm-activity b{width:max-content;padding:3px 6px;border-radius:5px;background:#eaf2f8;color:#315f83;font-size:8px;letter-spacing:.06em}.crm-activity strong{color:var(--p-navy)}.crm-activity small{color:var(--p-muted)}.crm-activity p{margin:4px 0 0;color:#526a7c;font-size:11px}.crm-activity.done{opacity:.6}.crm-activity-form{display:grid;gap:12px;padding:17px;border:1px solid var(--p-line);border-radius:12px;background:#f8fafc;align-self:start}.crm-upcoming{display:grid;gap:4px;padding:13px 0;border-bottom:1px solid var(--p-line)}.crm-upcoming span{width:max-content;padding:3px 6px;border-radius:5px;background:#eaf2f8;color:#315f83;font-size:8px;font-weight:800}.crm-upcoming strong{color:var(--p-navy)}.crm-upcoming small{color:var(--p-muted)}.crm-upcoming.overdue{border-left:3px solid #d65548;padding-left:10px}.crm-upcoming.overdue small{color:#b43d32}.delivery-address{padding:14px 16px;border-left:4px solid var(--orange);background:#fff7f1;color:#40566a}.status-new_enquiry{background:#fff1df;color:#a85a00}.status-quotation_sent{background:#eeeaff;color:#5d44a5}.status-order_confirmed,.status-ready{background:#e7f7ee;color:#117041}.status-awaiting_payment,.status-awaiting_refill,.status-received,.status-pending{background:#fff1df;color:#a85a00}.status-preparing_order,.status-scheduled{background:#e6f2fd;color:#266592}.status-out_for_delivery{background:#e5efff;color:#285c9a}.status-completed,.status-delivered{background:#def5e8;color:#117041}.status-lost,.status-failed{background:#ffebeb;color:#a42d2d}
@media(max-width:1250px){.crm-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}.crm-detail-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.crm-main-grid,.crm-activity-layout{grid-template-columns:1fr}.crm-stage-form{grid-template-columns:1fr 1fr}.crm-stage-form .button{grid-column:1/-1}.crm-pipeline{grid-template-columns:repeat(8,155px)}}
@media(max-width:600px){.crm-stats,.crm-detail-grid{grid-template-columns:1fr!important}.crm-stage-form{grid-template-columns:1fr}.crm-action-row .button{flex:1 1 45%}}
.website-order-actions form:has(.website-delivery-fee){display:grid;grid-template-columns:minmax(220px,280px) auto;gap:8px;align-items:end;padding:10px;border:1px solid #f2d7c5;border-radius:12px;background:#fff8f3}.website-delivery-fee{font-size:10px;font-weight:800;color:var(--navy)}.website-delivery-fee input{margin-top:5px;background:#fff}.website-delivery-fee small{display:block;margin-top:5px;color:var(--muted);font-size:9px;font-weight:500;line-height:1.4}
@media(max-width:900px){.order-review-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.order-review-grid{grid-template-columns:1fr}.website-order-actions .button,.website-order-actions form,.website-order-actions form .button{width:100%}.website-order-actions form:has(.website-delivery-fee){grid-template-columns:1fr}}

/* Mobile operations workspace: CRM, refills and deliveries */
@media(max-width:760px){
  body.nav-open{overflow:hidden}
  .premium-v3 .sidebar{width:min(86vw,320px);padding:18px 14px max(18px,env(safe-area-inset-bottom));box-shadow:18px 0 45px rgba(3,28,56,.28)}
  .premium-v3 .sidebar .brand{margin-bottom:16px}
  .premium-v3 .sidebar nav a{min-height:44px;padding:10px 12px}
  .premium-v3 .topbar{position:sticky;top:0;z-index:15;height:68px;margin-bottom:15px;border-bottom:1px solid #e4eaf0;backdrop-filter:blur(12px)}
  .premium-v3 .menu-toggle{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#fff;color:var(--p-navy);box-shadow:0 4px 14px rgba(10,40,67,.08)}
  .premium-v3 .topbar h1{font-size:18px;line-height:1.15}
  .premium-v3 .topbar>div>span{display:none}
  .premium-v3 .quick-create{flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:0;border-radius:10px;font-size:0}
  .premium-v3 .quick-create:after{content:'+'!important;font-size:24px;line-height:1}
  .premium-v3 .main{padding-left:12px;padding-right:12px;padding-bottom:max(22px,env(safe-area-inset-bottom))}
  .premium-v3 .topbar{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}
  .premium-v3 .page-actions{align-items:stretch;flex-direction:column;gap:12px}
  .premium-v3 .register-title{font-size:24px;line-height:1.12}
  .premium-v3 .page-actions .button-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:7px}
  .premium-v3 .page-actions .button-row .button,.premium-v3 .page-actions>.button{min-height:44px;padding:10px 8px;white-space:nowrap}
  .premium-v3 .page-actions>.button{width:100%}
  .premium-v3 .panel{padding:14px;border-radius:12px}
  .premium-v3 .panel-head{align-items:flex-start}
  .premium-v3 .panel-head>div{min-width:0}
  .premium-v3 .panel-head h2{overflow-wrap:anywhere}
  .premium-v3 input,.premium-v3 select,.premium-v3 textarea{min-height:46px;padding:11px 12px;border-radius:10px;font-size:16px}
  .premium-v3 textarea{min-height:94px}
  .premium-v3 label{font-size:11px}
  .premium-v3 .form-grid>.button{width:100%;min-height:46px}
  .premium-v3 .filter-pills{flex-wrap:nowrap;overflow-x:auto;margin-left:-12px;margin-right:-12px;padding:2px 12px 10px;scrollbar-width:none;scroll-snap-type:x proximity}
  .premium-v3 .filter-pills::-webkit-scrollbar{display:none}
  .premium-v3 .filter-pills a{min-height:42px;white-space:nowrap;scroll-snap-align:start}
  .page-crm .crm-stats,.page-refills .stats,.page-deliveries .stats{display:flex!important;gap:10px;overflow-x:auto;margin-left:-12px;margin-right:-12px;padding:2px 12px 12px;scrollbar-width:none;scroll-snap-type:x mandatory}
  .page-crm .crm-stats::-webkit-scrollbar,.page-refills .stats::-webkit-scrollbar,.page-deliveries .stats::-webkit-scrollbar{display:none}
  .page-crm .crm-stats .stat,.page-refills .stats .stat,.page-deliveries .stats .stat{flex:0 0 min(72vw,260px);min-height:116px;scroll-snap-align:start}
  .page-crm .crm-pipeline{grid-template-columns:none;display:flex;gap:10px;margin-left:-12px;margin-right:-12px;padding:2px 12px 12px;scroll-snap-type:x mandatory}
  .page-crm .crm-stage-card{flex:0 0 min(58vw,210px);min-height:104px;scroll-snap-align:start}
  .premium-v3 .crm-detail-grid{display:flex;gap:9px;overflow-x:auto;margin-left:-14px;margin-right:-14px;padding:0 14px 12px;scrollbar-width:none;scroll-snap-type:x mandatory}
  .premium-v3 .crm-detail-grid::-webkit-scrollbar{display:none}
  .premium-v3 .crm-detail-grid article{flex:0 0 min(72vw,260px);scroll-snap-align:start}
  .premium-v3 .crm-action-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .premium-v3 .crm-action-row .button{width:100%;min-height:44px;padding:9px 8px;text-align:center}
  .premium-v3 .crm-stage-form{padding:13px}
  .premium-v3 .crm-activity-layout{gap:16px}
  .premium-v3 .crm-activity{align-items:flex-start;flex-direction:column}
  .premium-v3 .crm-activity>form,.premium-v3 .crm-activity>form .button{width:100%}
  .premium-v3 .crm-activity-form{padding:14px}
  .premium-v3 .delivery-address{overflow-wrap:anywhere}
  .page-crm .crm-main-grid>.panel:first-child,.page-refills .panel:has(.table-wrap),.page-deliveries .panel:has(.table-wrap){padding:12px;background:transparent;border:0;box-shadow:none}
  .page-crm .crm-main-grid>.panel:first-child .panel-head{padding:2px 2px 0}
  .page-crm .table-wrap,.page-refills .table-wrap,.page-deliveries .table-wrap{overflow:visible;border:0;background:transparent}
  .page-crm .table-wrap table,.page-refills .table-wrap table,.page-deliveries .table-wrap table,.page-crm .table-wrap tbody,.page-refills .table-wrap tbody,.page-deliveries .table-wrap tbody{display:block;width:100%}
  .page-crm .table-wrap thead,.page-refills .table-wrap thead,.page-deliveries .table-wrap thead{display:none}
  .page-crm .table-wrap tr,.page-refills .table-wrap tr,.page-deliveries .table-wrap tr{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-bottom:11px;border:1px solid var(--p-line);border-radius:13px;background:#fff;box-shadow:0 7px 22px rgba(10,40,67,.06);overflow:hidden}
  .page-crm .table-wrap td,.page-refills .table-wrap td,.page-deliveries .table-wrap td{display:block;min-width:0;padding:11px 12px;border-bottom:1px solid #edf1f4;font-size:12px;overflow-wrap:anywhere}
  .page-crm .table-wrap td:before,.page-refills .table-wrap td:before,.page-deliveries .table-wrap td:before{display:block;margin-bottom:4px;color:#788996;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
  .page-crm .table-wrap td:first-child,.page-refills .table-wrap td:first-child,.page-deliveries .table-wrap td:first-child{grid-column:1/-1;padding-top:14px;background:#f8fafc}
  .page-crm .table-wrap td:last-child,.page-refills .table-wrap td:last-child,.page-deliveries .table-wrap td:last-child{grid-column:1/-1;padding:9px 12px 12px;border-bottom:0}
  .page-crm .table-wrap td:last-child .button,.page-refills .table-wrap td:last-child .button,.page-deliveries .table-wrap td:last-child .button{width:100%;min-height:42px}
  .page-crm .table-wrap td:nth-child(1):before{content:'Opportunity'}.page-crm .table-wrap td:nth-child(2):before{content:'Customer'}.page-crm .table-wrap td:nth-child(3):before{content:'Stage'}.page-crm .table-wrap td:nth-child(4):before{content:'Follow-up'}.page-crm .table-wrap td:nth-child(5):before{content:'Value'}.page-crm .table-wrap td:nth-child(6):before{content:'Action'}
  .page-refills .table-wrap td:nth-child(1):before{content:'Refill job'}.page-refills .table-wrap td:nth-child(2):before{content:'Customer'}.page-refills .table-wrap td:nth-child(3):before{content:'Cylinder'}.page-refills .table-wrap td:nth-child(4):before{content:'Due'}.page-refills .table-wrap td:nth-child(5):before{content:'Fulfilment'}.page-refills .table-wrap td:nth-child(6):before{content:'Status'}.page-refills .table-wrap td:nth-child(7):before{content:'Total'}.page-refills .table-wrap td:nth-child(8):before{content:'Action'}
  .page-deliveries .table-wrap td:nth-child(1):before{content:'Delivery'}.page-deliveries .table-wrap td:nth-child(2):before{content:'Customer'}.page-deliveries .table-wrap td:nth-child(3):before{content:'Schedule'}.page-deliveries .table-wrap td:nth-child(4):before{content:'Location'}.page-deliveries .table-wrap td:nth-child(5):before{content:'Driver'}.page-deliveries .table-wrap td:nth-child(6):before{content:'Status'}.page-deliveries .table-wrap td:nth-child(7):before{content:'Fee'}.page-deliveries .table-wrap td:nth-child(8):before{content:'Action'}
  .page-crm .table-wrap td.empty,.page-refills .table-wrap td.empty,.page-deliveries .table-wrap td.empty{grid-column:1/-1;padding:30px 15px}
  .page-crm .table-wrap td.empty:before,.page-refills .table-wrap td.empty:before,.page-deliveries .table-wrap td.empty:before{display:none}
}
@media(max-width:390px){
  .premium-v3 .page-actions .button-row{grid-template-columns:1fr 1fr}
  .premium-v3 .page-actions .button-row .button:last-child{grid-column:1/-1}
  .premium-v3 .crm-action-row{grid-template-columns:1fr}
  .page-crm .table-wrap tr,.page-refills .table-wrap tr,.page-deliveries .table-wrap tr{grid-template-columns:1fr}
  .page-crm .table-wrap td,.page-refills .table-wrap td,.page-deliveries .table-wrap td{grid-column:1!important}
}
