:root{--ezf-bg:#F3F5F7;--ezf-card:#fff;--ezf-text:#243447;--ezf-heading:#0F172A;--ezf-muted:#64748B;--ezf-border:#D9E0E7;--ezf-primary:#1E3A5F;--ezf-secondary:#0F172A;--ezf-accent:#B08D57;--ezf-sidebar:#111827;--ezf-sidebar-text:#E5E7EB;--ezf-input-bg:#fff;--ezf-button-text:#fff;--ezf-font-family:Tahoma,Arial,sans-serif;--ezf-base-font-size:14px;--ezf-radius:16px;--ezf-sidebar-width:270px;--ezf-shadow:0 8px 28px rgba(15,23,42,.06)}*{box-sizing:border-box}html{scroll-behavior:smooth}html,body{margin:0!important;padding:0!important;background:var(--ezf-bg);font-family:var(--ezf-font-family);font-size:var(--ezf-base-font-size);color:var(--ezf-text)}body.ezf-body{min-height:100vh}button,input,select,textarea{font:inherit}button,input,select,textarea{min-height:48px}.ezf-shell{display:flex;min-height:100vh;direction:rtl}.ezf-sidebar{width:var(--ezf-sidebar-width);background:var(--ezf-sidebar);color:#fff;padding:18px 14px;position:fixed;right:0;top:0;bottom:0;z-index:1000;transition:width .25s ease,transform .25s ease;display:flex;flex-direction:column}.ezf-sidebar-head{display:flex;align-items:center;gap:8px;margin-bottom:20px}.ezf-brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;min-width:0;flex:1;padding:7px}.ezf-brand-logo,.ezf-logo{display:grid;place-items:center;width:46px;height:46px;min-width:46px;border-radius:14px;background:#fff;color:var(--ezf-secondary);font-weight:900;overflow:hidden}.ezf-brand-logo img,.ezf-logo img,.ezf-preview-logo img,.ezf-current-logo img{width:100%;height:100%;object-fit:contain}.ezf-brand-copy{min-width:0}.ezf-brand-copy strong{display:block;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ezf-brand-copy small{display:block;color:#9aa4b2;margin-top:2px}.ezf-sidebar-toggle{width:42px;min-width:42px;height:42px;min-height:42px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#fff;border-radius:12px;cursor:pointer}.ezf-sidebar nav{display:grid;gap:5px;overflow:auto;padding-right:2px}.ezf-nav-item{color:var(--ezf-sidebar-text);text-decoration:none;padding:12px 11px;border-radius:12px;font-size:14px;display:flex;align-items:center;gap:11px;min-height:46px;transition:background .18s ease,color .18s ease,transform .18s ease}.ezf-nav-item:hover{background:rgba(255,255,255,.08);color:#fff}.ezf-nav-item.active{background:var(--ezf-primary);color:#fff;box-shadow:0 7px 20px rgba(0,0,0,.14)}.ezf-nav-icon{width:24px;min-width:24px;text-align:center;font-size:17px}.ezf-nav-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ezf-sidebar-foot{margin-top:auto;padding:13px 11px;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;gap:8px;color:#aeb7c5;font-size:12px}.ezf-status-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12)}.ezf-main{width:auto;flex:1;margin-right:var(--ezf-sidebar-width);padding:30px;min-height:100vh;transition:margin .25s ease,width .25s ease}.ezf-sidebar.is-collapsed{width:82px}.ezf-shell:has(.ezf-sidebar.is-collapsed) .ezf-main{width:auto;margin-right:82px}.ezf-sidebar.is-collapsed .ezf-brand-copy,.ezf-sidebar.is-collapsed .ezf-nav-label,.ezf-sidebar.is-collapsed .ezf-sidebar-foot .ezf-nav-label{display:none}.ezf-sidebar.is-collapsed .ezf-sidebar-head{justify-content:center}.ezf-sidebar.is-collapsed .ezf-brand{justify-content:center}.ezf-sidebar.is-collapsed .ezf-nav-item{justify-content:center;padding-inline:8px}.ezf-sidebar.is-collapsed .ezf-nav-icon{width:auto}.ezf-topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.ezf-topbar h1{margin:0 0 7px;font-size:30px;line-height:1.25}.ezf-muted{color:var(--ezf-muted);margin:0;line-height:1.8}.ezf-grid{display:grid;gap:18px;margin-bottom:20px}.ezf-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.ezf-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.ezf-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.ezf-kpi,.ezf-card{background:var(--ezf-card);border:1px solid var(--ezf-border);border-radius:var(--ezf-radius);padding:20px;box-shadow:var(--ezf-shadow)}.ezf-kpi{min-width:0}.ezf-kpi span,.ezf-kpi small{display:block;color:var(--ezf-muted);line-height:1.7}.ezf-kpi strong{display:block;font-size:25px;margin:9px 0;overflow-wrap:anywhere}.ezf-card h2{margin:0 0 14px;font-size:19px;line-height:1.5}.ezf-card form{display:grid;gap:10px}.ezf-card label{font-size:13px;font-weight:800;margin-top:4px;line-height:1.7}.ezf-card input,.ezf-card select,.ezf-card textarea{width:100%;padding:12px 13px;border:1px solid #d4d9e2;border-radius:11px;background:#fff;color:var(--ezf-text);outline:none;line-height:1.7}.ezf-card textarea{min-height:110px;resize:vertical}.ezf-card input:focus,.ezf-card select:focus,.ezf-card textarea:focus{border-color:var(--ezf-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--ezf-primary) 12%,transparent)}.ezf-btn{border:0;border-radius:11px;padding:12px 18px;min-height:48px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:800;line-height:1.4;white-space:normal}.ezf-btn.primary{background:var(--ezf-primary);color:#fff}.ezf-btn.pdf{background:#7c3aed;color:#fff}.ezf-btn:hover{filter:brightness(.97);transform:translateY(-1px)}.ezf-table-wrap{overflow:auto;-webkit-overflow-scrolling:touch;border-radius:12px}.ezf-table-wrap table{width:100%;border-collapse:collapse;min-width:620px}.ezf-table-wrap th,.ezf-table-wrap td{text-align:right;padding:13px;border-bottom:1px solid var(--ezf-border);font-size:14px;line-height:1.7;vertical-align:middle}.ezf-table-wrap th{background:#fafbfc;font-weight:800;white-space:nowrap}.ezf-alert{padding:14px 16px;border-radius:12px;margin-bottom:18px;line-height:1.8}.ezf-alert.error{background:#fee2e2;color:#991b1b}.ezf-alert.success{background:#dcfce7;color:#166534}.ezf-badge{background:color-mix(in srgb,var(--ezf-primary) 10%,white);color:var(--ezf-primary);padding:7px 10px;border-radius:99px;font-size:12px}.ezf-checklist{list-style:none;padding:0;margin:0;display:grid;gap:12px}.ezf-readonly{background:#f8fafc;border:1px dashed #cbd5e1;padding:14px;border-radius:12px;margin:10px 0;display:grid;gap:7px;line-height:1.8}.ezf-readonly code{direction:ltr;display:block;word-break:break-all}.ezf-readonly small{color:var(--ezf-muted);line-height:1.7}.ezf-login-card{width:min(460px,calc(100% - 28px));margin:7vh auto;background:var(--ezf-card);border:1px solid var(--ezf-border);border-radius:22px;padding:32px;box-shadow:0 18px 50px rgba(15,23,42,.09);direction:rtl}.ezf-login-card .ezf-logo{margin:0 auto 15px}.ezf-login-card h1{text-align:center;margin:0 0 8px;line-height:1.35}.ezf-login-card .ezf-muted{text-align:center;margin-bottom:22px}.ezf-login-card form{display:grid;gap:10px}.ezf-login-card label{font-size:13px;font-weight:800;line-height:1.7}.ezf-login-card input{padding:12px;border:1px solid #d1d5db;border-radius:11px;line-height:1.7}.ezf-login-card .ezf-btn{margin-top:10px;width:100%}.ezf-logo-image{background:#fff}.ezf-mobile-header,.ezf-mobile-overlay{display:none}.ezf-identity-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:18px;align-items:start}.ezf-identity-layout>.ezf-card:nth-child(3){grid-column:1/-1}.ezf-section-title{display:flex;justify-content:space-between;gap:15px;margin-bottom:14px}.ezf-section-title h2{margin-bottom:4px}.ezf-brand-preview{display:flex;align-items:center;gap:13px;padding:18px;border-radius:15px;background:var(--ezf-secondary);color:#fff}.ezf-preview-logo{width:62px;height:62px;border-radius:16px;background:#fff;display:grid;place-items:center;overflow:hidden;font-weight:900;font-size:23px;color:var(--ezf-secondary)}.ezf-brand-preview strong{display:block;font-size:20px;line-height:1.5}.ezf-brand-preview small{color:#aeb7c5}.ezf-preview-palette{display:flex;gap:10px;margin:16px 0}.ezf-preview-palette span{width:48px;height:28px;border-radius:9px;border:1px solid rgba(0,0,0,.08)}.ezf-preview-note,.ezf-field-hint{font-size:13px;color:var(--ezf-muted);line-height:1.9;background:#f8fafc;padding:12px;border-radius:11px}.ezf-current-logo{display:flex;align-items:center;gap:15px;margin-top:8px;padding:12px;border:1px solid var(--ezf-border);border-radius:12px}.ezf-current-logo img{width:76px;height:60px;border-radius:10px;background:#f8fafc}.ezf-inline-check{display:flex!important;align-items:center;gap:7px!important;margin:0!important}.ezf-inline-check input{width:auto!important;min-height:auto}.ezf-color-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ezf-color-field{background:#fafbfc;border:1px solid var(--ezf-border);border-radius:13px;padding:12px}.ezf-color-field>label{display:block;margin:0 0 8px}.ezf-color-field>div{display:flex;gap:8px;align-items:center}.ezf-color-input{width:50px!important;height:44px!important;padding:3px!important;min-height:44px!important}.ezf-color-text{min-height:44px!important;padding:8px!important;direction:ltr;text-align:left!important}.ezf-save-identity{width:100%;margin-top:8px}.ezf-print-actions{display:flex;gap:10px;justify-content:flex-start;margin-bottom:16px}.ezf-invoice-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:2px solid #eee;padding-bottom:18px;margin-bottom:18px}.ezf-invoice-head h1{margin:8px 0 0}.ezf-invoice-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.ezf-invoice-total{max-width:420px;margin:18px 0 0 auto;display:grid;gap:8px}.ezf-invoice-total>div{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #eee}.ezf-note{margin-top:18px;padding:12px;background:#fafafa;border-radius:10px;line-height:1.8}.ezf-receipt{max-width:700px;margin:auto}.ezf-receipt-amount{text-align:center;font-size:32px;font-weight:800;padding:25px;margin:10px 0 20px;border:2px dashed #ddd;border-radius:12px}.ezf-search-form{display:flex;gap:10px}.ezf-search-form input{flex:1}
/* v1.25.09 - Tablet portrait/landscape (769px-1199px): single source of truth.
   Same drawer behavior as mobile - closed by default, opened with the header
   button, closed by the overlay or by picking a link. Replaces every earlier,
   conflicting tablet-landscape attempt (v1.24.94 through v1.25.08). */
@media(min-width:769px) and (max-width:1199px){
  html,body{overflow-x:hidden!important}
  .ezf-shell{display:block}
  .ezf-sidebar{width:min(320px,88vw)!important;max-width:320px;transform:translateX(105%);box-shadow:-15px 0 45px rgba(0,0,0,.22);padding:15px;transition:transform .25s ease!important}
  .ezf-sidebar.is-open{transform:translateX(0)}
  .ezf-sidebar-toggle{display:none!important}
  .ezf-main{width:100%!important;margin:0!important;padding:76px 18px 24px!important}
  .ezf-mobile-header{position:fixed;display:flex;top:0;right:0;left:0;height:62px;background:var(--ezf-secondary);color:#fff;z-index:900;align-items:center;justify-content:space-between;padding:8px 12px;box-shadow:0 4px 18px rgba(0,0,0,.12)}
  .ezf-mobile-menu{border:0;background:rgba(255,255,255,.08);color:#fff;border-radius:10px;width:44px;height:44px;min-height:44px;font-size:21px;cursor:pointer}
  .ezf-mobile-brand{display:flex;align-items:center;gap:8px;min-width:0}
  .ezf-mobile-brand strong{font-size:14px;max-width:280px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ezf-mobile-brand .ezf-brand-logo{width:40px;height:40px;min-width:40px;border-radius:11px}
  .ezf-mobile-header>a{color:#fff;text-decoration:none;font-size:18px;width:44px;text-align:center}
  .ezf-mobile-overlay{display:none;position:fixed;inset:0;background:rgba(2,6,23,.48);z-index:950}
  .ezf-mobile-overlay.is-visible{display:block}
  .ezf-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ezf-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ezf-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ezf-identity-layout{grid-template-columns:1fr 1fr}
  .ezf-topbar h1{font-size:27px}
}
@media(max-width:768px){.ezf-shell{display:block}.ezf-sidebar{width:min(310px,88vw);transform:translateX(105%);box-shadow:-15px 0 45px rgba(0,0,0,.22);padding:15px}.ezf-sidebar.is-open{transform:translateX(0)}.ezf-main{width:100%;margin:0;padding:76px 12px 22px}.ezf-mobile-header{position:fixed;display:flex;top:0;right:0;left:0;height:62px;background:var(--ezf-secondary);color:#fff;z-index:900;align-items:center;justify-content:space-between;padding:8px 12px;box-shadow:0 4px 18px rgba(0,0,0,.12)}.ezf-mobile-menu{border:0;background:rgba(255,255,255,.08);color:#fff;border-radius:10px;width:44px;height:44px;min-height:44px;font-size:21px}.ezf-mobile-brand{display:flex;align-items:center;gap:8px;min-width:0}.ezf-mobile-brand strong{font-size:14px;max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ezf-mobile-brand .ezf-brand-logo{width:40px;height:40px;min-width:40px;border-radius:11px}.ezf-mobile-header>a{color:#fff;text-decoration:none;font-size:18px;width:44px;text-align:center}.ezf-mobile-overlay{position:fixed;inset:0;background:rgba(2,6,23,.48);z-index:950}.ezf-mobile-overlay.is-visible{display:block}.ezf-sidebar-toggle{display:none}.ezf-topbar{align-items:flex-start;flex-direction:column;margin-bottom:17px}.ezf-topbar h1{font-size:24px}.ezf-grid,.ezf-grid.four,.ezf-grid.three,.ezf-grid.two{grid-template-columns:1fr;gap:12px}.ezf-kpi,.ezf-card{padding:15px;border-radius:14px}.ezf-kpi strong{font-size:23px}.ezf-table-wrap table{min-width:560px}.ezf-table-wrap th,.ezf-table-wrap td{padding:11px 9px;font-size:13px}.ezf-btn{width:100%;padding-inline:13px}.ezf-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}.ezf-print-actions{display:grid;grid-template-columns:1fr}.ezf-invoice-head{flex-direction:column}.ezf-invoice-meta{grid-template-columns:1fr}.ezf-invoice-total{max-width:none}.ezf-search-form{display:grid}.ezf-identity-layout{display:flex;flex-direction:column}.ezf-identity-layout>.ezf-card{width:100%}.ezf-color-grid{grid-template-columns:1fr 1fr}.ezf-color-field>div{align-items:stretch}.ezf-color-text{min-width:0}.ezf-current-logo{flex-direction:column;align-items:flex-start}.ezf-login-card{margin:5vh auto;padding:24px}.ezf-card input,.ezf-card select,.ezf-card textarea{font-size:16px;min-height:50px}.ezf-card textarea{min-height:120px}.ezf-section-title{flex-direction:column}}
@media(max-width:420px){.ezf-color-grid{grid-template-columns:1fr}.ezf-actions{grid-template-columns:1fr}.ezf-main{padding-inline:10px}.ezf-mobile-brand strong{max-width:130px}}
@page{size:A4 portrait;margin:12mm 10mm} @media print{html,body{background:#fff!important;color:#111!important}body{font-size:12px!important}.ezf-sidebar,.ezf-mobile-header,.ezf-print-actions,.ezf-topbar form,.ezf-card.ezf-search-form,.ezf-sale-cancellation-history,.ezf-sale-history,footer,.ezf-invoice-paper-preview,.ezf-mobile-bottom-nav{display:none!important}.ezf-main{margin:0!important;padding:0!important;width:100%!important}.ezf-shell{display:block!important;min-height:0!important}.ezf-card{box-shadow:none!important;border:0!important}.ezf-print-document{display:block!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important}.ezf-invoice-head{display:flex!important;flex-direction:row!important;align-items:flex-start!important;border-bottom:2px solid #172033!important;padding:0 0 14px!important;margin-bottom:14px!important}.ezf-invoice-head h1{font-size:25px!important;margin:5px 0!important}.ezf-invoice-head p{margin:0!important}.ezf-invoice-meta{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin-bottom:14px!important}.ezf-invoice-meta>div{border:1px solid #d9dee7!important;border-radius:8px!important;padding:9px!important;background:#fff!important}.ezf-table-wrap{overflow:visible!important}.ezf-table-wrap table{width:100%!important;min-width:0!important;border-collapse:collapse!important}.ezf-table-wrap th,.ezf-table-wrap td{padding:8px 7px!important;border:1px solid #d9dee7!important;font-size:11px!important}.ezf-table-wrap th{background:#f2f4f7!important}.ezf-invoice-total{max-width:330px!important;margin:14px 0 0 auto!important}.ezf-invoice-total>div{padding:6px 0!important;border-bottom:1px solid #e5e7eb!important}.ezf-invoice-total>div:nth-child(3){font-size:15px!important;font-weight:900!important;border-top:2px solid #172033!important;border-bottom:2px solid #172033!important;padding:9px 0!important}.ezf-note{background:#f8fafc!important;border:1px solid #e5e7eb!important;border-radius:8px!important;padding:9px!important}.ezf-print-document .ezf-muted{font-size:10px!important}.ezf-print-mode .ezf-main{padding-top:0!important}}

/* v1.8.1 navigation refresh */
.ezf-sidebar{width:286px;padding:16px 13px 12px;overflow:hidden}
.ezf-sidebar-head{margin-bottom:12px;flex:0 0 auto}
.ezf-brand-logo{width:44px;height:44px;min-width:44px;border-radius:13px}
.ezf-sidebar-toggle{font-size:20px;display:grid;place-items:center}
.ezf-sidebar-profile{display:flex;align-items:center;gap:9px;padding:9px 8px 12px;margin-bottom:5px;border-bottom:1px solid rgba(255,255,255,.08);flex:0 0 auto}
.ezf-profile-link{display:flex;align-items:center;gap:9px;color:#fff;text-decoration:none;min-width:0;flex:1}
.ezf-sidebar-avatar{width:38px;height:38px;min-width:38px;border-radius:50%;overflow:hidden;background:#fff;display:grid;place-items:center;border:1px solid rgba(255,255,255,.18)}
.ezf-sidebar-avatar img{width:100%;height:100%;object-fit:cover}
.ezf-profile-copy{min-width:0}
.ezf-profile-copy strong,.ezf-profile-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ezf-profile-copy strong{font-size:13px;line-height:1.5}
.ezf-profile-copy small{font-size:11px;color:#aeb7c5;line-height:1.6}
.ezf-sidebar-search{width:38px;height:38px;min-width:38px;border-radius:11px;display:grid;place-items:center;color:#fff;text-decoration:none;background:rgba(255,255,255,.07);font-size:24px;line-height:1}
.ezf-sidebar nav{gap:2px;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none;padding:2px 1px 6px}
.ezf-sidebar nav::-webkit-scrollbar{width:0;height:0;display:none}
.ezf-nav-item{min-height:41px;padding:9px 10px;border-radius:10px;font-size:13px;gap:9px}
.ezf-nav-icon{font-size:16px;width:22px;min-width:22px}
.ezf-sidebar-foot{padding:9px 10px;margin-top:5px;flex:0 0 auto}
.ezf-main{width:calc(100% - 286px);margin-right:286px}
.ezf-shell:has(.ezf-sidebar.is-collapsed) .ezf-main{width:calc(100% - 82px);margin-right:82px}
.ezf-sidebar.is-collapsed .ezf-sidebar-profile{justify-content:center;padding-inline:0}
.ezf-sidebar.is-collapsed .ezf-profile-copy,.ezf-sidebar.is-collapsed .ezf-sidebar-search{display:none}
.ezf-sidebar.is-collapsed .ezf-profile-link{flex:0 0 auto}
.ezf-sidebar.is-collapsed .ezf-sidebar-avatar{width:38px;min-width:38px}
.ezf-profile-hero{display:flex;align-items:center;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--ezf-border);margin-bottom:18px}
.ezf-profile-avatar{width:88px;height:88px;min-width:88px;border-radius:22px;overflow:hidden;background:#f8fafc;border:1px solid var(--ezf-border)}
.ezf-profile-avatar img{width:100%;height:100%;object-fit:cover}
.ezf-profile-hero h2{margin:0 0 5px;line-height:1.4}
.ezf-profile-hero p{margin:0;color:var(--ezf-muted);line-height:1.7}
.ezf-profile-details{display:grid;gap:12px}
.ezf-profile-details div{padding:11px 13px;background:#f8fafc;border-radius:11px;display:flex;justify-content:space-between;gap:15px;align-items:center}
.ezf-profile-details span{color:var(--ezf-muted);font-size:13px}
.ezf-profile-details strong{overflow-wrap:anywhere}
@media(max-width:768px){
 .ezf-sidebar{width:min(300px,88vw);padding:14px 12px}
 .ezf-sidebar-head{margin-bottom:8px}
 .ezf-sidebar-profile{padding-top:8px}
 .ezf-main{width:100%;margin:0;padding:76px 12px 22px}
 .ezf-profile-details div{display:block}.ezf-profile-details strong{display:block;margin-top:4px}
 .ezf-profile-hero{align-items:flex-start}
 .ezf-profile-avatar{width:72px;height:72px;min-width:72px}
}
/* v1.9.0 maintenance */
.ezf-badge.danger{background:#fee2e2;color:#991b1b}
.ezf-maintenance-card{min-height:100%}
.ezf-maintenance-icon{font-size:34px;margin-bottom:8px}
.ezf-maintenance-card p,.ezf-danger-zone p{line-height:1.9;margin:8px 0}
.ezf-maintenance-list{margin:12px 0 18px;padding-right:20px;line-height:2}
.ezf-danger-zone{border-color:#fecaca;background:linear-gradient(180deg,#fff 0%,#fffafa 100%)}
.ezf-danger-zone h2{color:#991b1b}
.ezf-danger-zone .ezf-btn.danger,.ezf-btn.danger{background:#dc2626;color:#fff}
.ezf-check-row{display:flex!important;align-items:flex-start;gap:9px!important;font-weight:700!important;padding:10px 12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px}
.ezf-check-row input{width:20px!important;min-width:20px!important;min-height:20px!important;margin-top:2px}
.ezf-maintenance-success{border-color:#86efac;background:#f0fdf4}
@media(max-width:768px){.ezf-maintenance-list{padding-right:18px}.ezf-danger-zone .ezf-btn,.ezf-maintenance-card .ezf-btn{width:100%}}

/* v1.9.1 backup restore + brand */
.ezf-restore-zone{border-color:#bfdbfe;background:#f8fbff}
.ezf-restore-zone p{line-height:1.9;margin:8px 0 14px}
.ezf-restore-zone input[type=file]{width:100%;min-height:52px;padding:10px;border:1px dashed var(--ezf-border);border-radius:11px;background:#fff}
.ezf-restore-zone small{display:block;margin:7px 0 14px;line-height:1.7}
.ezf-app-footer{text-align:center;color:var(--ezf-muted);font-size:12px;padding:16px 20px 22px;line-height:1.8}
@media(max-width:768px){.ezf-app-footer{font-size:11px;padding:14px 10px 18px}.ezf-restore-zone input[type=file]{font-size:14px}}
/* v1.10.0 sales control, edit and cancellation workflow */
.ezf-actions-inline{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.ezf-actions-inline .ezf-btn{min-height:40px;padding:9px 12px;font-size:12px;width:auto}.ezf-btn.danger{background:#dc2626;color:#fff}.ezf-btn.danger-outline{background:#fff;color:#b91c1c;border:1px solid #fecaca}.ezf-alert.warning{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}.ezf-cancel-review-banner{border-color:#fde68a;background:#fffbeb}.ezf-cancellation-approval{border-color:#93c5fd;background:#f8fbff}.ezf-refund-breakdown{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px;border:1px dashed #cbd5e1;border-radius:11px;background:#f8fafc;line-height:1.8}.ezf-reject-form{margin-top:18px;padding-top:18px;border-top:1px solid var(--ezf-border)}.ezf-edit-sale-table select,.ezf-edit-sale-table input{min-width:150px}@media(max-width:768px){.ezf-actions-inline{display:grid;grid-template-columns:1fr}.ezf-actions-inline .ezf-btn{width:100%}.ezf-refund-breakdown{display:block}.ezf-refund-breakdown strong{display:block;margin-top:4px}.ezf-edit-sale-table select,.ezf-edit-sale-table input{min-width:145px}}

/* v1.11.0 sales payment policy + layout */
.ezf-sale-create-card{padding:22px}.ezf-sale-create-card .ezf-section-title{align-items:flex-start}.ezf-sale-customer-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px;align-items:end}.ezf-sale-policy{min-height:48px;padding:10px 13px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:11px;display:flex;flex-direction:column;justify-content:center;gap:2px;line-height:1.5}.ezf-sale-policy strong{font-size:13px}.ezf-sale-policy span{font-size:12px;color:#1d4ed8}.ezf-sale-create-card #ezf-sale-items table{min-width:760px}.ezf-sale-create-card #ezf-sale-items th:last-child,.ezf-sale-create-card #ezf-sale-items td:last-child{width:80px;text-align:center}.ezf-sale-create-card #ezf-sale-items td{padding:10px}.ezf-sale-create-card #ezf-sale-items input,.ezf-sale-create-card #ezf-sale-items select{min-height:46px}.ezf-sale-bottom{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;margin-top:16px;align-items:stretch}.ezf-sale-payment{border:1px solid var(--ezf-border);border-radius:14px;padding:18px;background:#fafbfc}.ezf-sale-payment h3{margin:0 0 14px;font-size:16px}.ezf-sale-payment-stack{display:flex;flex-direction:column;gap:14px}.ezf-sale-payment-stack>div{min-width:0}.ezf-sale-payment .ezf-field-hint{display:block;margin-top:7px;background:#f8fafc;padding:7px 9px;font-size:11px}.ezf-payment-proof{border:1px dashed #93c5fd;background:#eff6ff;border-radius:12px;padding:12px}.ezf-payment-proof[hidden]{display:none}.ezf-payment-proof label{margin-bottom:7px}.ezf-payment-proof input[type=file]{background:#fff;padding:10px}.ezf-payment-proof small{display:block;margin-top:6px;color:#475569;font-size:11px;line-height:1.5}.ezf-sale-total-box{border:1px solid #bfdbfe;background:#f8fbff;border-radius:14px;padding:20px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:7px}.ezf-sale-total-box span{color:var(--ezf-muted);font-size:13px}.ezf-sale-total-box strong{font-size:27px;line-height:1.2;display:flex;align-items:baseline;justify-content:center;gap:7px;direction:rtl}.ezf-sale-total-box strong #ezf-sale-total{font-size:32px;font-weight:900;color:var(--ezf-heading);letter-spacing:.2px}.ezf-sale-total-box .ezf-currency-unit{font-size:13px!important;font-weight:800;color:var(--ezf-muted)!important;line-height:1!important;display:inline!important;white-space:nowrap}.ezf-sale-total-box small{color:#16a34a;font-weight:700}.ezf-sale-submit{width:100%;min-height:54px;margin-top:2px}
@media(max-width:900px){.ezf-sale-customer-grid{grid-template-columns:1fr}.ezf-sale-bottom{grid-template-columns:1fr}.ezf-sale-total-box{min-height:130px;order:1}.ezf-sale-payment{order:2}}
@media(max-width:768px){.ezf-sale-create-card{padding:15px}.ezf-sale-create-card .ezf-section-title{display:block}.ezf-sale-create-card .ezf-section-title .ezf-badge{display:inline-flex;margin-top:8px}.ezf-sale-customer-grid{gap:10px}.ezf-sale-policy{min-height:58px}.ezf-sale-create-card #ezf-sale-items table{min-width:700px}.ezf-sale-create-card #ezf-sale-items th,.ezf-sale-create-card #ezf-sale-items td{font-size:12px;padding:8px}.ezf-sale-create-card #ezf-sale-items input,.ezf-sale-create-card #ezf-sale-items select{min-height:48px}.ezf-sale-total-box strong{font-size:24px}.ezf-sale-total-box strong #ezf-sale-total{font-size:29px}.ezf-sale-total-box .ezf-currency-unit{font-size:12px!important}}

/* v1.12.0 product + roll media */
.ezf-product-create-card{margin-bottom:20px}.ezf-product-head-image{width:56px;height:56px;border-radius:14px;object-fit:cover;float:right;margin-left:12px;border:1px solid var(--ezf-border);background:#fff}.ezf-roll-thumb{width:44px;height:44px;border-radius:9px;object-fit:cover;border:1px solid var(--ezf-border);display:inline-block;vertical-align:middle}.ezf-shipment-media-hint{font-size:12px;color:var(--ezf-muted);line-height:1.7}@media(max-width:768px){.ezf-product-head-image{width:48px;height:48px}.ezf-roll-thumb{width:38px;height:38px}}

/* v1.13.0 product creation table layout */
.ezf-product-create-card{padding:18px 20px}.ezf-product-create-card .ezf-section-title{align-items:center}.ezf-product-create-form{display:block!important}.ezf-product-create-table-wrap{border:1px solid var(--ezf-border);background:#fff}.ezf-product-create-table{min-width:1280px!important}.ezf-product-create-table th,.ezf-product-create-table td{padding:14px 12px}.ezf-product-create-table td{background:#fff}.ezf-product-create-table input[type="text"],.ezf-product-create-table input[type="number"],.ezf-product-create-table input[type="file"]{min-height:50px}.ezf-product-create-table input[type="file"]{padding:8px 10px;font-size:13px;background:#fff}.ezf-product-create-table td:last-child{width:150px;text-align:center}.ezf-product-create-table td:last-child .ezf-btn{width:100%}.ezf-product-create-table th:nth-child(1){min-width:220px}.ezf-product-create-table th:nth-child(2){min-width:120px}.ezf-product-create-table th:nth-child(3){min-width:120px}.ezf-product-create-table th:nth-child(4),.ezf-product-create-table th:nth-child(5){min-width:115px}.ezf-product-create-table th:nth-child(6),.ezf-product-create-table th:nth-child(7){min-width:120px}.ezf-product-create-table th:nth-child(8){min-width:180px}.ezf-product-create-table th:nth-child(9){min-width:260px}.ezf-product-create-table th:nth-child(10){min-width:110px}.ezf-product-create-table .js-product-total-meters,.ezf-product-create-table .js-product-total-cost{font-weight:700;white-space:nowrap;text-align:center}
@media(max-width:768px){.ezf-product-create-card{padding:14px}.ezf-product-create-card .ezf-section-title{display:block}.ezf-product-create-card .ezf-section-title .ezf-badge{display:inline-flex;margin-top:7px}.ezf-product-create-table{min-width:700px!important}.ezf-product-create-table th,.ezf-product-create-table td{padding:10px 8px}.ezf-product-create-table input{min-height:52px}.ezf-product-create-table td:last-child .ezf-btn{min-height:52px}}

.ezf-product-create-table input{box-sizing:border-box}.ezf-product-create-table td{vertical-align:middle}.ezf-product-create-table input[type=file]{max-width:260px}

/* v1.13.2 product creation form redesign: no single-row form */
.ezf-product-create-card{padding:20px 22px}
.ezf-product-create-form{display:block!important}
.ezf-product-form-sections{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}
.ezf-product-form-section{border:1px solid var(--ezf-border);border-radius:14px;background:#fff;padding:16px}
.ezf-product-form-section:first-child{grid-column:1/-1}
.ezf-product-form-section-title{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding-bottom:11px;border-bottom:1px solid var(--ezf-border)}
.ezf-product-form-section-title>span{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eff6ff;color:#2563eb;font-weight:800;flex:0 0 30px}
.ezf-product-form-section-title strong{display:block;font-size:15px;line-height:1.5}
.ezf-product-form-section-title small{display:block;color:var(--ezf-muted);font-size:11px;line-height:1.7}
.ezf-product-form-grid{display:grid;gap:12px}
.ezf-product-form-grid.one{grid-template-columns:minmax(0,1fr)}
.ezf-product-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.ezf-product-form-grid label{display:block;margin-bottom:7px;font-weight:700;line-height:1.6}
.ezf-product-form-grid label em{font-style:normal;color:var(--ezf-muted);font-weight:500;font-size:11px}
.ezf-product-form-grid input{width:100%;box-sizing:border-box;min-height:52px}
.ezf-product-form-grid input[type=file]{padding:10px;font-size:13px;background:#fff}
.ezf-product-calculation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.ezf-product-calculation>div{padding:12px 14px;border:1px dashed #bfdbfe;background:#f8fbff;border-radius:11px}
.ezf-product-calculation span{display:block;color:var(--ezf-muted);font-size:11px;margin-bottom:4px}
.ezf-product-calculation strong{display:block;font-size:17px;line-height:1.6}
.ezf-product-save-bar{margin-top:15px;border:1px solid #bfdbfe;background:#f8fbff;border-radius:14px;padding:15px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.ezf-product-save-bar strong{display:block;line-height:1.6}.ezf-product-save-bar small{display:block;color:var(--ezf-muted);line-height:1.7;margin-top:2px}
.ezf-product-save-btn{min-width:250px;min-height:54px}
@media(max-width:900px){.ezf-product-form-sections{grid-template-columns:1fr}.ezf-product-form-section:first-child{grid-column:auto}.ezf-product-save-bar{align-items:stretch;flex-direction:column}.ezf-product-save-btn{width:100%}}
@media(max-width:600px){.ezf-product-create-card{padding:14px}.ezf-product-form-sections{gap:10px;margin-top:12px}.ezf-product-form-section{padding:13px}.ezf-product-form-grid.two,.ezf-product-calculation{grid-template-columns:1fr}.ezf-product-form-grid input{min-height:54px}.ezf-product-save-bar{padding:13px}.ezf-product-save-btn{min-height:56px}}

/* v1.13.3 modern product creation UI */
.ezf-modern-product-create{padding:0!important;overflow:hidden;background:#fff}.ezf-product-create-head{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px 28px 22px;border-bottom:1px solid var(--ezf-border);background:linear-gradient(135deg,#fff 0%,#f8fafc 100%)}.ezf-product-create-head h2{font-size:24px;margin:5px 0 6px;line-height:1.4}.ezf-product-create-head p{font-size:13px}.ezf-product-eyebrow{font-size:12px;font-weight:800;color:var(--ezf-primary);display:flex;align-items:center;gap:7px}.ezf-product-eyebrow-dot{width:8px;height:8px;border-radius:50%;background:var(--ezf-primary);box-shadow:0 0 0 5px color-mix(in srgb,var(--ezf-primary) 10%,transparent)}.ezf-product-create-mark{width:54px;height:54px;border-radius:16px;background:var(--ezf-primary);color:#fff;display:grid;place-items:center;font-size:30px;font-weight:500;box-shadow:0 10px 24px color-mix(in srgb,var(--ezf-primary) 25%,transparent)}.ezf-modern-product-create .ezf-product-create-form{padding:22px 24px 24px;display:block!important}.ezf-product-modern-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ezf-product-modern-card{border:1px solid var(--ezf-border);border-radius:18px;padding:20px;background:#fff;box-shadow:0 4px 18px rgba(15,23,42,.035)}.ezf-product-card-product{grid-column:1/-1;background:#fbfcfe}.ezf-modern-card-head{display:flex;align-items:center;gap:11px;margin-bottom:17px}.ezf-modern-card-head>div{min-width:0}.ezf-modern-card-head strong{display:block;font-size:15px;line-height:1.5}.ezf-modern-card-head small{display:block;color:var(--ezf-muted);font-size:11px;margin-top:2px}.ezf-modern-icon{width:38px;height:38px;min-width:38px;border-radius:12px;display:grid;place-items:center;background:#f1f5f9;color:var(--ezf-secondary);font-size:11px;font-weight:900}.ezf-modern-product-create label{display:block;font-size:12px;font-weight:800;line-height:1.7;margin:0 0 7px}.ezf-modern-product-create label em{font-style:normal;color:var(--ezf-muted);font-weight:500;font-size:10px}.ezf-modern-product-create input:not([type=file]){min-height:50px;border-radius:12px;background:#fff}.ezf-modern-fields{display:grid;gap:13px}.ezf-modern-fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.ezf-modern-input-wrap{position:relative}.ezf-modern-input-wrap input{padding-left:52px!important}.ezf-modern-input-wrap span{position:absolute;left:13px;top:50%;transform:translateY(-50%);font-size:11px;color:var(--ezf-muted);pointer-events:none}.ezf-modern-calcs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.ezf-modern-calcs>div{padding:12px 14px;border-radius:13px;background:#f8fafc;border:1px solid #eef2f7}.ezf-modern-calcs small{display:block;color:var(--ezf-muted);font-size:10px;margin-bottom:4px}.ezf-modern-calcs strong{font-size:16px;line-height:1.6}.ezf-upload-box{min-height:50px!important;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;padding:8px 12px!important;display:flex!important;align-items:center;gap:9px;cursor:pointer!important;margin:0!important}.ezf-upload-box input[type=file]{display:none}.ezf-upload-box span{font-size:12px;color:var(--ezf-text);font-weight:700}.ezf-upload-box small{margin-right:auto;color:var(--ezf-muted);font-size:9px}.ezf-modern-save{margin-top:18px;border:1px solid var(--ezf-border)!important;background:#fbfcfe!important;border-radius:16px!important;padding:13px 15px!important}.ezf-save-copy{display:flex;align-items:center;gap:10px}.ezf-save-check{width:34px;height:34px;border-radius:10px;background:#dcfce7;color:#15803d;display:grid;place-items:center;font-weight:900}.ezf-save-copy strong{display:block;font-size:13px}.ezf-save-copy small{display:block;color:var(--ezf-muted);font-size:10px;margin-top:2px}.ezf-modern-save .ezf-product-save-btn{min-width:260px;min-height:50px;border-radius:12px}.ezf-modern-save .ezf-product-save-btn span{font-size:16px}.ezf-modern-save{display:flex;align-items:center;justify-content:space-between;gap:18px}.ezf-modern-product-create .ezf-product-save-bar{margin-bottom:0}
@media(max-width:900px){.ezf-product-modern-grid{grid-template-columns:1fr}.ezf-product-card-product{grid-column:auto}.ezf-modern-save{align-items:stretch;flex-direction:column}.ezf-modern-save .ezf-product-save-btn{width:100%}}
@media(max-width:600px){.ezf-product-create-head{padding:20px 17px}.ezf-product-create-head h2{font-size:20px}.ezf-product-create-mark{width:46px;height:46px}.ezf-modern-product-create .ezf-product-create-form{padding:14px}.ezf-product-modern-card{padding:15px;border-radius:15px}.ezf-modern-fields.two,.ezf-modern-calcs{grid-template-columns:1fr}.ezf-modern-product-create input:not([type=file]){min-height:52px}.ezf-modern-save{padding:12px!important}.ezf-save-copy{align-items:flex-start}.ezf-upload-box{min-height:52px!important}}

/* v1.13.4: keep the existing QASR SOBHI shell/style, compact product form */
.ezf-product-create-standard{padding:20px 22px}.ezf-product-create-standard .ezf-section-title{margin-bottom:18px}.ezf-product-clean-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ezf-product-clean-section{border:1px solid var(--ezf-border);border-radius:14px;background:#fff;padding:16px}.ezf-product-clean-title{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid var(--ezf-border)}.ezf-product-clean-title>span{width:30px;height:30px;border-radius:9px;background:#eef4ff;color:var(--ezf-primary);display:grid;place-items:center;font-weight:800;font-size:12px}.ezf-product-clean-title strong{display:block;font-size:14px;line-height:1.5}.ezf-product-clean-title small{display:block;color:var(--ezf-muted);font-size:10px;line-height:1.5}.ezf-product-clean-section label{display:block;font-size:12px;font-weight:700;line-height:1.7;margin-bottom:6px}.ezf-product-clean-section label em{font-style:normal;color:var(--ezf-muted);font-weight:500}.ezf-product-clean-section input{width:100%;box-sizing:border-box;min-height:50px}.ezf-product-fields-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ezf-product-mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.ezf-product-mini-stats>div{border:1px solid var(--ezf-border);border-radius:10px;background:#f8fafc;padding:10px 12px}.ezf-product-mini-stats span{display:block;font-size:10px;color:var(--ezf-muted)}.ezf-product-mini-stats strong{font-size:17px;line-height:1.5;margin-left:4px}.ezf-product-mini-stats small{font-size:10px;color:var(--ezf-muted)}.ezf-product-save-only{margin-top:15px;padding-top:15px;border-top:1px solid var(--ezf-border);display:flex;justify-content:flex-start}.ezf-product-save-only .ezf-product-save-btn{min-width:240px;min-height:52px}.ezf-product-clean-section input[type=file]{padding:10px;font-size:12px;background:#fff}
@media(max-width:900px){.ezf-product-clean-grid{grid-template-columns:1fr}.ezf-product-fields-two{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ezf-product-create-standard{padding:14px}.ezf-product-clean-grid{gap:10px}.ezf-product-clean-section{padding:13px}.ezf-product-fields-two,.ezf-product-mini-stats{grid-template-columns:1fr}.ezf-product-clean-section input{min-height:52px}.ezf-product-save-only .ezf-product-save-btn{width:100%;min-height:56px}}

/* Product create v2: multi-row modern layout, consistent with QASR SOBHI theme */
.ezf-product-create-v2{padding:0;overflow:hidden}.ezf-product-form-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid var(--ezf-border);background:#fff}.ezf-product-form-kicker{display:inline-block;font-size:11px;font-weight:800;color:var(--ezf-primary);background:#eef4ff;border-radius:999px;padding:5px 10px;margin-bottom:7px}.ezf-product-form-head h2{margin:0;font-size:20px;line-height:1.5}.ezf-product-form-head p{margin:4px 0 0}.ezf-product-form-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#f3f6fb;color:var(--ezf-primary);font-size:24px;font-weight:700}.ezf-product-form-v2{padding:22px 24px 0!important}.ezf-product-row-label{display:flex;align-items:baseline;gap:10px;margin:0 0 10px;padding-top:2px}.ezf-product-row-label span{font-size:11px;font-weight:900;color:var(--ezf-primary);background:#eef4ff;border-radius:7px;padding:4px 7px}.ezf-product-row-label strong{font-size:14px}.ezf-product-row-label small{font-size:11px;color:var(--ezf-muted)}.ezf-product-fields-row{display:grid;gap:14px;margin-bottom:22px}.ezf-product-fields-3{grid-template-columns:2fr 1fr 1fr}.ezf-product-fields-4{grid-template-columns:repeat(4,minmax(0,1fr))}.ezf-product-fields-2{grid-template-columns:1fr 1fr}.ezf-product-form-v2 .ezf-field label{display:block;font-size:12px;font-weight:800;line-height:1.7;margin-bottom:6px}.ezf-product-form-v2 .ezf-field label em{font-style:normal;color:var(--ezf-muted);font-size:10px;font-weight:500}.ezf-product-form-v2 .ezf-field input:not([type=file]){width:100%;box-sizing:border-box;min-height:48px;border-radius:11px}.ezf-money-input{position:relative}.ezf-money-input input{padding-left:48px!important}.ezf-money-input span{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:11px;color:var(--ezf-muted);pointer-events:none}.ezf-calc-box{min-height:48px;border:1px solid var(--ezf-border);border-radius:11px;background:#f8fafc;padding:8px 12px;box-sizing:border-box}.ezf-calc-box small,.ezf-calc-box span{display:block;font-size:10px;color:var(--ezf-muted)}.ezf-calc-box strong{display:inline-block;font-size:17px;line-height:1.4;margin:2px 5px 0 0}.ezf-upload-modern{min-height:48px!important;box-sizing:border-box;border:1px dashed #cbd5e1;border-radius:11px;background:#f8fafc;padding:0 12px!important;display:flex!important;align-items:center;gap:9px;cursor:pointer}.ezf-upload-modern input{display:none!important}.ezf-upload-modern span{font-size:12px;font-weight:700}.ezf-upload-modern small{margin-right:auto;color:var(--ezf-muted);font-size:9px}.ezf-product-save-bar-v2{margin:4px -24px 0;padding:16px 24px;border-top:1px solid var(--ezf-border);background:#fbfcfe;display:flex;align-items:center;justify-content:space-between;gap:18px}.ezf-product-save-bar-v2 strong{display:block;font-size:13px}.ezf-product-save-bar-v2 small{display:block;color:var(--ezf-muted);font-size:10px;margin-top:2px}.ezf-product-save-bar-v2 .ezf-product-save-btn{min-width:260px;min-height:50px;border-radius:11px}
@media(max-width:1000px){.ezf-product-fields-4{grid-template-columns:repeat(2,minmax(0,1fr))}.ezf-product-fields-3{grid-template-columns:1.5fr 1fr 1fr}}
@media(max-width:700px){.ezf-product-form-head{padding:18px}.ezf-product-form-v2{padding:18px 16px 0!important}.ezf-product-fields-3,.ezf-product-fields-4,.ezf-product-fields-2{grid-template-columns:1fr}.ezf-product-save-bar-v2{margin:4px -16px 0;padding:14px 16px;display:block}.ezf-product-save-bar-v2 .ezf-product-save-btn{width:100%;margin-top:12px}.ezf-product-row-label{flex-wrap:wrap;gap:7px}.ezf-product-fields-row{margin-bottom:18px}}

/* v1.13.6 supplier shipment create redesign: same multi-row language as product create */
.ezf-shipment-create-card{padding:0;overflow:hidden}.ezf-shipment-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid var(--ezf-border);background:#fff}.ezf-shipment-head h2{margin:0 0 4px;font-size:19px}.ezf-shipment-head p{font-size:12px}.ezf-shipment-head .ezf-badge{background:#eef4ff;color:var(--ezf-primary);border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800}.ezf-shipment-create-card form{display:block}.ezf-shipment-supplier,.ezf-shipment-products,.ezf-shipment-notes{padding:20px 22px}.ezf-shipment-section-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}.ezf-shipment-section-title>span{width:31px;height:31px;min-width:31px;border-radius:9px;display:grid;place-items:center;background:#eef4ff;color:var(--ezf-primary);font-weight:900;font-size:11px}.ezf-shipment-section-title strong{display:block;font-size:15px;line-height:1.5}.ezf-shipment-section-title small{display:block;color:var(--ezf-muted);font-size:11px;line-height:1.6}.ezf-shipment-grid{display:grid;gap:12px}.ezf-shipment-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.ezf-shipment-grid>div>label,.ezf-shipment-fields label,.ezf-shipment-notes>label{display:block;font-size:12px;font-weight:800;line-height:1.7;margin-bottom:6px}.ezf-shipment-grid label em,.ezf-shipment-fields label em{font-style:normal;color:var(--ezf-muted);font-weight:500;font-size:10px}.ezf-shipment-grid input,.ezf-shipment-fields input,.ezf-shipment-notes textarea{width:100%;box-sizing:border-box;min-height:48px;border:1px solid #d4d9e2;border-radius:11px;background:#fff;padding:11px 12px;line-height:1.7}.ezf-upload-box{min-height:48px!important;box-sizing:border-box;border:1px dashed #cbd5e1!important;border-radius:11px;background:#f8fafc;padding:0 12px!important;display:flex!important;align-items:center;gap:8px;cursor:pointer}.ezf-upload-box input{display:none!important}.ezf-upload-box span{font-size:11px;font-weight:800}.ezf-upload-box small{margin-right:auto;color:var(--ezf-muted);font-size:9px}.ezf-shipment-products{border-top:1px solid var(--ezf-border);background:#fbfcfe}.ezf-shipment-item{border:1px solid var(--ezf-border);border-radius:14px;background:#fff;margin-bottom:12px;overflow:hidden;box-shadow:0 4px 15px rgba(15,23,42,.035)}.ezf-shipment-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f8fafc;border-bottom:1px solid var(--ezf-border)}.ezf-shipment-item-head strong{font-size:13px}.ezf-shipment-item-head .ezf-btn{width:auto;min-height:36px;padding:7px 11px;font-size:11px}.ezf-shipment-fields{display:grid;gap:12px;padding:14px 14px 0}.ezf-shipment-fields.row-one{grid-template-columns:2fr repeat(3,minmax(0,1fr))}.ezf-shipment-fields.row-two{grid-template-columns:repeat(4,minmax(0,1fr))}.ezf-shipment-fields.row-three{grid-template-columns:1fr 1fr;padding-bottom:14px}.ezf-money-input{position:relative}.ezf-money-input input{padding-left:48px!important}.ezf-money-input span{position:absolute;left:11px;top:50%;transform:translateY(-50%);font-size:10px;color:var(--ezf-muted);pointer-events:none}.ezf-calc-box{min-height:48px;border:1px solid var(--ezf-border);border-radius:11px;background:#f8fafc;padding:7px 11px;box-sizing:border-box}.ezf-calc-box small,.ezf-calc-box span{display:block;font-size:9px;color:var(--ezf-muted)}.ezf-calc-box strong{display:inline-block;font-size:16px;line-height:1.4;margin:2px 4px 0 0}.ezf-shipment-media-hint{font-size:11px;color:var(--ezf-muted);line-height:1.8;margin:4px 0 12px}.ezf-add-shipment-row{width:auto;min-width:170px}.ezf-shipment-notes{border-top:1px solid var(--ezf-border)}.ezf-shipment-notes textarea{min-height:92px;resize:vertical}.ezf-shipment-save-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 22px;border-top:1px solid var(--ezf-border);background:#fff}.ezf-shipment-save-bar strong{display:block;font-size:13px}.ezf-shipment-save-bar small{display:block;color:var(--ezf-muted);font-size:10px;margin-top:2px}.ezf-shipment-save-bar .ezf-btn{min-width:190px;min-height:50px}
@media(max-width:900px){.ezf-shipment-grid.three{grid-template-columns:1fr 1fr}.ezf-shipment-fields.row-two{grid-template-columns:1fr 1fr}.ezf-shipment-fields.row-one{grid-template-columns:1.5fr 1fr 1fr}}
@media(max-width:650px){.ezf-shipment-head{padding:16px;display:block}.ezf-shipment-head .ezf-badge{display:inline-block;margin-top:8px}.ezf-shipment-supplier,.ezf-shipment-products,.ezf-shipment-notes{padding:16px}.ezf-shipment-grid.three,.ezf-shipment-fields.row-one,.ezf-shipment-fields.row-two,.ezf-shipment-fields.row-three{grid-template-columns:1fr}.ezf-shipment-fields{padding:12px 12px 0}.ezf-shipment-fields.row-three{padding-bottom:12px}.ezf-shipment-item-head{padding:10px 12px}.ezf-shipment-save-bar{padding:14px 16px;display:block}.ezf-shipment-save-bar .ezf-btn{width:100%;margin-top:11px}.ezf-add-shipment-row{width:100%}}

/* v1.14.0 dashboard + expense ledger */
.ezf-dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 22px}.ezf-dashboard-kpi{position:relative;display:flex;align-items:center;gap:14px;min-height:112px;padding:20px;border:1px solid var(--ezf-border);border-radius:18px;background:var(--ezf-card);box-shadow:0 8px 24px rgba(15,23,42,.045);overflow:hidden}.ezf-dashboard-kpi:before{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:var(--ezf-primary)}.ezf-dashboard-kpi-icon{width:48px;height:48px;min-width:48px;border-radius:14px;display:grid;place-items:center;background:#f1f5f9;font-size:22px}.ezf-dashboard-kpi-copy span{display:block;color:var(--ezf-muted);font-size:12px;font-weight:700;line-height:1.7}.ezf-dashboard-kpi-copy strong{display:block;margin-top:3px;font-size:20px;line-height:1.45;letter-spacing:-.2px}.ezf-dashboard-kpi.primary:before{background:var(--ezf-primary)}.ezf-dashboard-kpi.blue:before{background:#3b82f6}.ezf-dashboard-kpi.purple:before{background:#8b5cf6}.ezf-dashboard-kpi.green:before{background:#10b981}.ezf-dashboard-kpi.red:before{background:#ef4444}.ezf-dashboard-kpi.orange:before{background:#f59e0b}.ezf-dashboard-kpi.dark:before{background:var(--ezf-secondary)}.ezf-dashboard-kpi.gold:before{background:var(--ezf-accent)}.ezf-shortcuts-card{margin-top:2px}.ezf-dashboard-shortcuts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.ezf-dashboard-shortcuts a{display:flex;align-items:center;gap:11px;padding:14px 16px;border:1px solid var(--ezf-border);border-radius:14px;background:#fff;text-decoration:none;transition:.18s ease}.ezf-dashboard-shortcuts a:hover{transform:translateY(-2px);border-color:#cbd5e1;box-shadow:0 8px 20px rgba(15,23,42,.06)}.ezf-dashboard-shortcuts a span{width:38px;height:38px;border-radius:11px;background:#f1f5f9;display:grid;place-items:center;font-size:18px}.ezf-dashboard-shortcuts a strong{font-size:12px;color:var(--ezf-secondary)}
.ezf-expense-tabs{display:flex;gap:8px;margin:0 0 16px;padding:5px;border:1px solid var(--ezf-border);background:#f8fafc;border-radius:13px;width:max-content;max-width:100%}.ezf-expense-tabs a{padding:9px 15px;border-radius:9px;color:var(--ezf-muted);font-size:12px;font-weight:800;text-decoration:none}.ezf-expense-tabs a.active{background:#fff;color:var(--ezf-primary);box-shadow:0 2px 8px rgba(15,23,42,.06)}.ezf-expense-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ezf-expense-form-grid .full{grid-column:1/-1}.ezf-expense-form-grid label{display:block;margin-bottom:6px;font-size:12px;font-weight:800;line-height:1.7}.ezf-expense-form-grid input,.ezf-expense-form-grid select,.ezf-expense-form-grid textarea{width:100%;box-sizing:border-box;min-height:48px;border:1px solid var(--ezf-border);border-radius:11px;padding:10px 12px;line-height:1.7;background:#fff}.ezf-expense-save{margin-top:14px;min-width:170px}.ezf-expense-today-card .ezf-kpi{margin-top:18px}.ezf-inline-form{display:inline-flex;margin:0}.ezf-btn.small{min-height:34px;padding:6px 10px;font-size:10px}.ezf-btn.danger{background:#fff1f2;color:#b91c1c;border:1px solid #fecdd3}.ezf-expense-link{font-weight:800;text-decoration:none}.ezf-detail-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--ezf-border)}.ezf-detail-row:last-child{border-bottom:0}.ezf-detail-row span,.ezf-detail-block>span{color:var(--ezf-muted);font-size:12px;font-weight:700}.ezf-detail-row strong{font-size:13px}.ezf-detail-block{padding-top:16px}.ezf-detail-block p{margin:8px 0 0;line-height:2}.ezf-attachment-preview{display:flex;align-items:center;justify-content:center;min-height:90px;border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc;text-decoration:none;font-weight:800;margin:14px 0 18px}.ezf-expense-check{width:16px!important;min-height:16px!important}.ezf-expense-bulk{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:10px 12px;border:1px solid var(--ezf-border);border-radius:12px;background:#fbfcfe}.ezf-expense-bulk small{color:var(--ezf-muted);font-weight:700}
@media(max-width:1050px){.ezf-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ezf-dashboard-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.ezf-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ezf-dashboard-kpi{min-height:88px;padding:15px}.ezf-dashboard-kpi-copy strong{font-size:18px}.ezf-dashboard-shortcuts{grid-template-columns:1fr 1fr}.ezf-expense-form-grid{grid-template-columns:1fr}.ezf-expense-form-grid .full{grid-column:auto}.ezf-expense-tabs{width:100%}.ezf-expense-tabs a{flex:1;text-align:center}.ezf-expense-bulk{align-items:flex-start;flex-direction:column}}

/* v1.22.19 sales employee dashboard: five KPI cards in one desktop row, without affecting manager dashboard */
.ezf-sales-dashboard-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
@media(max-width:1050px){.ezf-sales-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Sales employee dashboard: shortcuts and daily records */
.ezf-sales-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
.ezf-sales-records-card{margin-top:16px}
.ezf-sales-record-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
.ezf-sales-record-shortcuts a{min-height:64px}
@media(max-width:1050px){.ezf-sales-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.ezf-sales-shortcuts{grid-template-columns:1fr 1fr}.ezf-sales-record-shortcuts{grid-template-columns:1fr 1fr}.ezf-sales-records-card{margin-top:10px}}
@media(max-width:700px){.ezf-sales-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}}

/* v1.15.1 visual theme controls + report safety/layout */
.ezf-card h1,.ezf-card h2,.ezf-card h3,.ezf-topbar h1,.ezf-topbar h2{color:var(--ezf-heading)}
.ezf-card input,.ezf-card select,.ezf-card textarea,.ezf-login-card input{background:var(--ezf-input-bg)}
.ezf-btn.primary{color:var(--ezf-button-text)}
.ezf-theme-extra-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}
.ezf-theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ezf-theme-options>div{min-width:0}.ezf-theme-options label{display:block;margin-bottom:6px;font-size:12px;font-weight:800;line-height:1.7}.ezf-theme-options select{width:100%;min-height:48px;border:1px solid var(--ezf-border);border-radius:12px;padding:10px 12px;background:var(--ezf-input-bg);color:var(--ezf-text)}
.ezf-dashboard-kpi,.ezf-kpi,.ezf-card{border-radius:var(--ezf-radius);box-shadow:var(--ezf-shadow)}
.ezf-reports-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ezf-report-toolbar{background:var(--ezf-card);border:1px solid var(--ezf-border);border-radius:var(--ezf-radius);padding:14px;box-shadow:var(--ezf-shadow)}
@media(max-width:900px){.ezf-theme-extra-grid,.ezf-theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}.ezf-reports-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){.ezf-sidebar{width:min(310px,88vw)}.ezf-main{width:100%;margin-right:0}.ezf-theme-extra-grid,.ezf-theme-options,.ezf-reports-summary-grid{grid-template-columns:1fr}}

/* v1.16.0 user management */
.ezf-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ezf-form-grid>div{min-width:0}.ezf-form-grid label{display:block;margin-bottom:7px;font-size:12px;font-weight:800;line-height:1.8}.ezf-form-grid input,.ezf-form-grid select{width:100%;box-sizing:border-box;min-height:48px;border:1px solid var(--ezf-border);border-radius:11px;padding:10px 13px;line-height:1.8;background:var(--ezf-input-bg);color:var(--ezf-text)}
.ezf-action-bar{display:flex;justify-content:flex-start;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--ezf-border)}
@media(max-width:900px){.ezf-form-grid{grid-template-columns:1fr}}

/* v1.16.8 QASR SOBHI login redesign - CSS only textile background, no image dependency */
.ezf-auth-body{background:#d9d0c4!important;color:#241f1a;overflow-x:hidden}.ezf-auth-body .ezf-shell{display:block;min-height:100vh}.ezf-auth-body .ezf-main{width:100%;margin:0;padding:0;min-height:100vh}.ezf-auth-body .ezf-app-footer{display:none}
.ezf-login-page{position:relative;min-height:100vh;display:grid;place-items:center;padding:44px 24px 92px;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 15% 20%,rgba(255,255,255,.8),transparent 28%),radial-gradient(circle at 90% 18%,rgba(119,89,57,.17),transparent 30%),linear-gradient(135deg,#eee8df 0%,#d8cabc 48%,#c4b3a0 100%)}
.ezf-login-page:before{content:"";position:absolute;inset:0;z-index:-3;opacity:.72;background:repeating-linear-gradient(100deg,rgba(255,255,255,.16) 0 2px,rgba(102,75,49,.05) 2px 5px,transparent 5px 12px),repeating-linear-gradient(0deg,rgba(80,57,38,.035) 0 1px,transparent 1px 7px)}
.ezf-login-page:after{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(255,255,255,.2),transparent 26%,transparent 74%,rgba(70,48,32,.12)),radial-gradient(ellipse at 50% 105%,rgba(255,255,255,.45),transparent 46%)}
.ezf-login-card{position:relative;z-index:5;width:min(500px,100%);margin:0;background:rgba(255,253,249,.93);border:1px solid rgba(92,70,49,.16);border-radius:28px;padding:34px 38px 27px;box-shadow:0 28px 80px rgba(64,45,29,.2);backdrop-filter:blur(12px);direction:rtl}.ezf-login-brand{text-align:center}.ezf-login-brand .ezf-logo{width:92px;height:92px;min-width:92px;margin:0 auto 16px;border-radius:23px;box-shadow:0 10px 25px rgba(53,37,25,.13)}.ezf-login-brand h1{margin:0;color:#181614;font-size:37px;line-height:1.25;letter-spacing:.1px}.ezf-login-brand p{margin:7px 0 2px;color:#27221d;font-size:20px;font-weight:800}.ezf-login-brand small{display:block;color:#8a6b43;font-size:14px;margin-top:8px}.ezf-login-brand:after{content:"";display:block;width:76px;height:3px;margin:17px auto 21px;background:linear-gradient(90deg,transparent,#b38b4f,transparent);border-radius:99px}.ezf-login-form{display:grid;gap:9px}.ezf-login-form>label{font-size:13px;font-weight:800;color:#4a4036;line-height:1.7;margin-top:2px}.ezf-login-input-wrap{position:relative;display:flex;align-items:center}.ezf-login-input-wrap input{width:100%;height:58px;min-height:58px;padding:10px 54px 10px 48px!important;border:1px solid #d5cec5!important;border-radius:14px!important;background:#fff!important;color:#241f1a!important;outline:none;font-size:16px!important;line-height:1.7!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.ezf-login-input-wrap input:focus{border-color:#9a7746!important;box-shadow:0 0 0 4px rgba(154,119,70,.12)!important}.ezf-login-input-icon{position:absolute;right:16px;color:#80633f;font-size:20px;z-index:1}.ezf-login-eye{position:absolute;left:10px;border:0;background:transparent;color:#776b5f;min-height:40px;height:40px;width:40px;cursor:pointer;display:grid;place-items:center;padding:7px;border-radius:9px}.ezf-login-eye:hover{background:#f6f1ea;color:#8a673d}.ezf-eye-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.ezf-login-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:5px 2px 5px}.ezf-login-options a{color:#725734;text-decoration:underline;text-underline-offset:3px;font-size:12px;font-weight:800}.ezf-login-remember{display:flex!important;align-items:center;gap:7px!important;margin:0!important;color:#5e5348;font-size:12px!important;font-weight:700!important}.ezf-login-remember input{width:18px!important;height:18px!important;min-height:18px!important;accent-color:#8d6c40}.ezf-login-submit{width:100%;height:58px;min-height:58px!important;border-radius:14px!important;background:linear-gradient(135deg,#9a7440,#77542d)!important;color:#fff!important;font-size:17px!important;box-shadow:0 10px 22px rgba(112,78,39,.2);border:0}.ezf-login-submit b{font-size:24px;line-height:1}.ezf-login-security{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:17px;padding-top:15px;border-top:1px solid #e4ddd4;color:#756b60;font-size:11px}.ezf-login-security span{color:#9a7440;font-size:17px}.ezf-login-decor{position:absolute;z-index:1;pointer-events:none;color:#735a3f}.ezf-login-decor-left{left:5%;top:11%;width:28%;height:70%}.ezf-login-decor-right{right:3%;top:8%;width:28%;height:75%}.ezf-login-slogan-en{position:absolute;left:7%;top:3%;font-size:15px;line-height:1.9;letter-spacing:5px;color:rgba(101,77,51,.78)}.ezf-login-slogan-ar{position:absolute;right:5%;top:2%;font-size:25px;line-height:1.55;color:rgba(91,68,44,.8);font-weight:700}.ezf-login-slogan-ar:after,.ezf-login-slogan-en:after{content:"";display:block;width:48px;height:2px;background:#b68d52;margin-top:12px}.ezf-login-fabric-stack{position:absolute;right:-4%;bottom:2%;width:76%;height:53%;display:grid;align-content:end;gap:3px;transform:rotate(-1deg);filter:drop-shadow(0 18px 22px rgba(61,42,27,.18))}.ezf-login-fabric-stack i{display:block;height:86px;border-radius:48% 48% 18% 18%/50% 50% 20% 20%;background:linear-gradient(180deg,#d7c4ae,#a78d72);box-shadow:inset 0 8px 16px rgba(255,255,255,.22),inset 0 -10px 18px rgba(66,45,28,.12);position:relative;overflow:hidden}.ezf-login-fabric-stack i:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(80,58,40,.08) 0 2px,rgba(255,255,255,.08) 2px 5px)}.ezf-login-fabric-stack i:nth-child(2){background:linear-gradient(180deg,#cbb79f,#8d7762);margin-right:12%}.ezf-login-fabric-stack i:nth-child(3){background:linear-gradient(180deg,#b9aa99,#716b68);margin-right:4%}.ezf-login-fabric-stack i:nth-child(4){background:linear-gradient(180deg,#9e8367,#66503b);margin-right:10%}.ezf-login-fabric-roll{position:absolute;border-radius:50%;width:210px;height:210px;filter:drop-shadow(0 20px 22px rgba(67,46,29,.17));background:repeating-radial-gradient(circle at 50% 50%,#c7b29b 0 5px,#a98e73 5px 9px,#d8c6b1 9px 13px);border:10px solid rgba(114,88,60,.12)}.ezf-login-fabric-roll.roll-a{left:-10%;bottom:17%}.ezf-login-fabric-roll.roll-b{left:17%;bottom:1%;width:150px;height:150px;opacity:.85}.ezf-login-swatches{position:absolute;left:6%;bottom:2%;display:flex;gap:8px;align-items:end}.ezf-login-swatches i{display:block;width:42px;height:118px;border-radius:8px 8px 2px 2px;background:linear-gradient(145deg,#e0d1c0,#b6a28b);box-shadow:0 10px 18px rgba(59,42,29,.1);transform:rotate(-7deg)}.ezf-login-swatches i:nth-child(2){height:92px;background:linear-gradient(145deg,#c3b4a3,#887c72);transform:rotate(3deg)}.ezf-login-swatches i:nth-child(3){height:106px;background:linear-gradient(145deg,#a7927d,#6e5b48);transform:rotate(-2deg)}.ezf-login-swatches i:nth-child(4){height:82px;background:linear-gradient(145deg,#d7c1a8,#a47f57);transform:rotate(6deg)}.ezf-login-bottom{position:absolute;z-index:6;left:0;right:0;bottom:0;min-height:62px;padding:10px 24px;display:flex;align-items:center;justify-content:center;gap:20px;background:rgba(45,37,31,.88);color:#f5eee6;font-size:12px}.ezf-login-bottom b{opacity:.45}.ezf-login-bottom small{position:absolute;right:24px;color:#cfc4b8;font-size:10px}.ezf-auth-body .ezf-alert{margin:0 0 14px;border-radius:12px;font-size:12px}
@media(max-width:1050px){.ezf-login-decor-left{left:-8%;width:34%;opacity:.55}.ezf-login-decor-right{right:-10%;width:35%;opacity:.55}.ezf-login-card{width:min(470px,calc(100% - 24px))}.ezf-login-bottom small{position:static}}
@media(max-width:768px){.ezf-login-page{padding:24px 14px 74px;min-height:100svh;background:radial-gradient(circle at 10% 10%,rgba(255,255,255,.8),transparent 30%),linear-gradient(135deg,#eee8df,#c9b9a7)}.ezf-login-decor{display:none}.ezf-login-card{width:100%;max-width:430px;padding:27px 21px 22px;border-radius:24px;background:rgba(255,253,249,.96);box-shadow:0 20px 50px rgba(60,43,29,.18)}.ezf-login-brand .ezf-logo{width:78px;height:78px;min-width:78px;border-radius:20px;margin-bottom:13px}.ezf-login-brand h1{font-size:31px}.ezf-login-brand p{font-size:17px}.ezf-login-brand small{font-size:12px}.ezf-login-brand:after{margin:13px auto 18px}.ezf-login-input-wrap input{height:56px;min-height:56px}.ezf-login-bottom{min-height:56px;padding:8px 10px;gap:9px;font-size:10px}.ezf-login-bottom small{display:none}}


/* v1.18.2 roll detail + clickable roll cards */
.ezf-roll-card{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.ezf-roll-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(15,23,42,.08);border-color:#cbd5e1}.ezf-roll-card:focus{outline:3px solid rgba(37,99,235,.15);outline-offset:2px}.ezf-roll-detail-image{box-shadow:0 8px 20px rgba(15,23,42,.06)}.ezf-roll-detail-kpis .ezf-modern-kpi strong{font-size:25px}.ezf-roll-detail-list{display:grid;gap:0}.ezf-roll-detail-list>div{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:13px 0;border-bottom:1px solid var(--ezf-border)}.ezf-roll-detail-list>div:last-child{border-bottom:0}.ezf-roll-detail-list span{font-size:11px;color:var(--ezf-muted);font-weight:700}.ezf-roll-detail-list strong{font-size:13px;text-align:left}.ezf-roll-detail-list a{color:var(--ezf-primary);text-decoration:none}.ezf-roll-progress-detail{margin-top:17px;padding:13px;border-radius:13px;background:#f8fafc;border:1px solid var(--ezf-border)}.ezf-roll-progress-detail>div:last-child{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-size:11px;color:var(--ezf-muted)}.ezf-roll-progress-detail strong{color:var(--ezf-text)}.ezf-roll-source{min-height:180px;border:1px dashed #cbd5e1;background:#f8fafc;border-radius:16px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px}.ezf-source-number{font-size:11px;font-weight:900;color:var(--ezf-primary);background:#eff6ff;border-radius:9px;padding:6px 9px}.ezf-roll-source strong{font-size:17px}.ezf-roll-source span{font-size:12px;color:var(--ezf-muted)}.ezf-roll-source .ezf-btn{margin-top:10px}.ezf-roll-history-card{margin-top:16px}.ezf-roll-note{margin-top:16px;line-height:1.9}.ezf-roll-note.info{background:#eff6ff;color:#1e40af;border-color:#bfdbfe}
@media(max-width:600px){.ezf-roll-detail-list>div{align-items:flex-start}.ezf-roll-detail-list strong{text-align:left;max-width:58%}.ezf-roll-source{min-height:150px}.ezf-roll-detail-kpis .ezf-modern-kpi strong{font-size:21px}}

/* v1.19.0 modern inventory dashboard */
.ezf-inventory-topbar{margin-bottom:18px}.ezf-inventory-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}.ezf-inv-kpi{position:relative;display:flex;align-items:center;gap:13px;min-width:0;overflow:hidden;background:var(--ezf-card,#fff);border:1px solid var(--ezf-border,#e5e7eb);border-radius:18px;padding:16px 15px;box-shadow:0 10px 28px rgba(15,23,42,.06)}.ezf-inv-kpi:after{content:"";position:absolute;inset-inline-end:0;top:0;bottom:0;width:4px;background:var(--kpi-accent,#2563eb)}.ezf-inv-kpi-icon{width:45px;height:45px;flex:0 0 45px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--kpi-soft,#eff6ff);color:var(--kpi-accent,#2563eb);font-size:21px;font-weight:900}.ezf-inv-kpi>div:last-child{min-width:0}.ezf-inv-kpi span,.ezf-inv-kpi small{display:block;color:var(--ezf-muted,#64748b);font-size:10px}.ezf-inv-kpi strong{display:block;margin:5px 0 2px;font-size:22px;color:var(--ezf-heading,#0f172a);line-height:1.15;white-space:nowrap}.ezf-inv-kpi em{font-style:normal;font-size:10px;font-weight:800}.ezf-inv-kpi:nth-child(4) strong,.ezf-inv-kpi:nth-child(5) strong{font-size:18px}.ezf-inv-kpi-blue{--kpi-accent:#2563eb;--kpi-soft:#eff6ff}.ezf-inv-kpi-teal{--kpi-accent:#0f766e;--kpi-soft:#ecfeff}.ezf-inv-kpi-gold{--kpi-accent:#d97706;--kpi-soft:#fffbeb}.ezf-inv-kpi-purple{--kpi-accent:#7c3aed;--kpi-soft:#f5f3ff}.ezf-inv-kpi-olive{--kpi-accent:#8a8700;--kpi-soft:#f8f8e8}.ezf-inv-kpi-value{--kpi-accent:#1e3a5f;--kpi-soft:#eef3f8}.ezf-inventory-toolbar-card{padding:15px 18px;margin-bottom:18px}.ezf-inventory-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 220px auto;align-items:end;gap:10px}.ezf-inventory-search{height:46px;position:relative;display:flex;align-items:center}.ezf-inventory-search>span{position:absolute;right:14px;font-size:22px;color:var(--ezf-muted,#64748b);pointer-events:none}.ezf-inventory-search input{width:100%;height:46px;padding:8px 43px 8px 13px!important;border:1px solid var(--ezf-border,#e5e7eb)!important;border-radius:12px!important;background:var(--ezf-input-background,#f8fafc)!important}.ezf-inventory-filter{width:220px}.ezf-inventory-filter label{display:block;font-size:10px;font-weight:800;color:var(--ezf-muted,#64748b);margin:0 0 5px}.ezf-inventory-filter select{height:46px!important;width:100%}.ezf-inventory-toolbar-actions{display:flex;gap:8px}.ezf-inventory-toolbar-actions .ezf-btn{height:46px;white-space:nowrap}.ezf-inventory-alerts{display:flex;align-items:center;gap:9px;margin-top:12px;padding-top:12px;border-top:1px solid var(--ezf-border,#e5e7eb);font-size:11px}.ezf-inv-filter-note{font-weight:800;color:var(--ezf-heading,#0f172a);margin-left:auto}.ezf-inv-alert{padding:6px 10px;border-radius:999px;font-weight:800}.ezf-inv-alert.low{background:#fff7ed;color:#c2410c}.ezf-inv-alert.out{background:#fef2f2;color:#b91c1c}.ezf-inventory-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:18px}.ezf-inventory-product-card{padding:16px;border-radius:19px;min-width:0}.ezf-inv-product-head{display:flex;gap:12px;align-items:center}.ezf-inv-product-media{width:62px;height:62px;flex:0 0 62px;border-radius:16px;background:var(--ezf-input-background,#f8fafc);border:1px solid var(--ezf-border,#e5e7eb);display:flex;align-items:center;justify-content:center;font-size:27px;overflow:hidden}.ezf-inv-product-media img{width:100%;height:100%;object-fit:cover}.ezf-inv-product-title{min-width:0}.ezf-inv-product-title h2{font-size:17px;margin:5px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ezf-inv-product-title small{font-size:10px;color:var(--ezf-muted,#64748b);font-weight:700}.ezf-inv-state{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:9px;font-weight:900}.ezf-inv-state.ok{background:#ecfdf3;color:#087443}.ezf-inv-state.low{background:#fff7ed;color:#c2410c}.ezf-inv-state.out{background:#fef2f2;color:#b91c1c}.ezf-inv-main-number{padding:15px 0 12px;margin-top:12px;border-top:1px solid var(--ezf-border,#e5e7eb);border-bottom:1px solid var(--ezf-border,#e5e7eb)}.ezf-inv-main-number span{display:block;color:var(--ezf-muted,#64748b);font-size:10px}.ezf-inv-main-number strong{display:block;font-size:28px;margin-top:4px;letter-spacing:-.4px}.ezf-inv-main-number em{font-size:11px;font-style:normal;color:var(--ezf-muted,#64748b)}.ezf-inv-product-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 0}.ezf-inv-product-metrics>div{background:var(--ezf-input-background,#f8fafc);border-radius:11px;padding:9px}.ezf-inv-product-metrics span{display:block;color:var(--ezf-muted,#64748b);font-size:9px}.ezf-inv-product-metrics strong{display:block;font-size:11px;margin-top:4px;overflow:hidden;text-overflow:ellipsis}.ezf-inv-progress{padding-top:3px}.ezf-inv-progress>div{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:var(--ezf-muted,#64748b)}.ezf-inv-progress b{font-size:10px;color:var(--ezf-heading,#0f172a)}.ezf-inv-progress i{display:block;height:6px;background:#e2e8f0;border-radius:99px;overflow:hidden;margin-top:7px}.ezf-inv-progress i span{display:block;height:100%;background:var(--ezf-primary,#2563eb);border-radius:99px}.ezf-inv-product-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:15px;padding-top:12px;border-top:1px solid var(--ezf-border,#e5e7eb)}.ezf-inv-product-footer>span{font-size:9px;color:var(--ezf-muted,#64748b);text-align:left}.ezf-inv-product-footer b{display:block;color:var(--ezf-heading,#0f172a);font-size:10px;margin-top:2px}.ezf-inventory-empty{grid-column:1/-1;text-align:center;padding:55px 20px}.ezf-inventory-empty>div{font-size:38px}.ezf-inventory-empty h2{margin:10px 0 4px}.ezf-inventory-empty p{margin:0;color:var(--ezf-muted,#64748b)}.ezf-inventory-rolls-card{margin-top:0}.ezf-inventory-rolls-card .ezf-section-title{margin-bottom:15px}@media(max-width:1200px){.ezf-inventory-kpis{grid-template-columns:repeat(3,1fr)}.ezf-inventory-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.ezf-inventory-kpis{grid-template-columns:repeat(2,1fr)}.ezf-inventory-toolbar{grid-template-columns:1fr 1fr}.ezf-inventory-search{grid-column:1/-1}.ezf-inventory-filter{width:auto}.ezf-inventory-toolbar-actions{grid-column:1/-1}.ezf-inventory-toolbar-actions .ezf-btn{width:100%;justify-content:center}.ezf-inventory-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ezf-inventory-alerts{flex-wrap:wrap}.ezf-inv-filter-note{margin-left:0;width:100%}.ezf-inventory-product-card{padding:11px;border-radius:16px}.ezf-inv-product-head{gap:8px}.ezf-inv-product-media{width:44px;height:44px;flex-basis:44px;font-size:20px}.ezf-inv-product-title h2{font-size:14px}.ezf-inv-main-number{padding:10px 0 8px;margin-top:9px}.ezf-inv-main-number strong{font-size:22px}.ezf-inv-product-metrics{gap:5px;padding:9px 0}.ezf-inv-product-metrics>div{padding:7px 5px}.ezf-inv-product-footer{margin-top:9px;padding-top:9px;gap:6px}}@media(max-width:480px){.ezf-inventory-kpis{grid-template-columns:1fr 1fr}.ezf-inv-kpi{padding:13px 11px;gap:8px}.ezf-inv-kpi-icon{width:38px;height:38px;flex-basis:38px;font-size:18px}.ezf-inv-kpi strong{font-size:19px}.ezf-inventory-toolbar{grid-template-columns:1fr}.ezf-inventory-search,.ezf-inventory-filter,.ezf-inventory-toolbar-actions{grid-column:1}.ezf-inventory-toolbar-actions{display:grid;grid-template-columns:1fr}.ezf-inventory-filter{width:100%}.ezf-inv-product-footer{align-items:flex-start}.ezf-inv-product-metrics{gap:5px}.ezf-inventory-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ezf-inventory-product-card{padding:9px}.ezf-inv-product-media{width:38px;height:38px;flex-basis:38px}.ezf-inv-product-title h2{font-size:13px}.ezf-inv-product-title small{font-size:9px}.ezf-inv-main-number strong{font-size:20px}.ezf-inv-product-metrics>div{padding:6px 4px}.ezf-inv-product-metrics span{font-size:8px}.ezf-inv-product-metrics strong{font-size:10px}}

/* v1.19.1 sales inventory awareness */
.ezf-sale-product-cell{min-width:300px}.ezf-sale-product-cell select{width:100%;margin-bottom:8px}.ezf-sale-stock-indicator{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;border:1px solid var(--ezf-border,#e5e7eb);background:var(--ezf-input-background,#f8fafc);border-radius:10px}.ezf-sale-stock-indicator strong{font-size:12px}.ezf-sale-stock-indicator small{font-size:9px;color:var(--ezf-muted,#64748b);margin-right:auto}.ezf-sale-stock-indicator .js-stock-state{font-size:9px;font-weight:900;padding:4px 8px;border-radius:999px;background:#ecfdf3;color:#087443}.ezf-sale-stock-indicator .js-stock-state.low{background:#fff7ed;color:#c2410c}.ezf-sale-stock-indicator .js-stock-state.out{background:#fef2f2;color:#b91c1c}.ezf-input-error{border-color:#ef4444!important;background:#fff7f7!important}.ezf-sale-submit:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:768px){.ezf-sale-product-cell{min-width:270px}}

/* v1.19.2 sales customer + responsive line items */
.ezf-sale-customer-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}.ezf-sale-customer-grid>div{min-width:0}.ezf-sale-customer-grid label{display:block;margin:0 0 7px;font-size:13px;font-weight:800}.ezf-sale-customer-grid input{width:100%;min-height:50px;padding:12px 13px;border:1px solid #d4d9e2;border-radius:11px;background:#fff;line-height:1.7}.ezf-sale-create-card #ezf-sale-items{width:100%;min-width:0;table-layout:fixed}.ezf-sale-create-card #ezf-sale-items th:nth-child(1){width:38%}.ezf-sale-create-card #ezf-sale-items th:nth-child(2){width:15%}.ezf-sale-create-card #ezf-sale-items th:nth-child(3){width:13%}.ezf-sale-create-card #ezf-sale-items th:nth-child(4){width:13%}.ezf-sale-create-card #ezf-sale-items th:nth-child(5){width:11%}.ezf-sale-create-card #ezf-sale-items th:nth-child(6){width:10%}.ezf-sale-create-card #ezf-sale-items td{overflow:hidden}.ezf-sale-create-card #ezf-sale-items td:nth-child(5){font-weight:900;font-size:15px;white-space:nowrap}.ezf-sale-create-card #ezf-sale-items td:nth-child(6){text-align:center}.ezf-sale-create-card #ezf-sale-items td input,.ezf-sale-create-card #ezf-sale-items td select{max-width:100%}.ezf-sale-create-card #ezf-sale-items .ezf-sale-product-cell{min-width:0}.ezf-sale-create-card #ezf-sale-items .ezf-sale-stock-indicator{min-width:0}.ezf-sale-create-card #ezf-sale-items .ezf-sale-stock-indicator small{white-space:nowrap}.ezf-sale-create-card #ezf-sale-items .js-sqty,.ezf-sale-create-card #ezf-sale-items .js-sprice{width:100%}
@media(max-width:900px){.ezf-sale-create-card #ezf-sale-items{table-layout:auto}.ezf-sale-create-card #ezf-sale-items th:nth-child(1){width:36%}.ezf-sale-create-card #ezf-sale-items th:nth-child(2){width:15%}.ezf-sale-create-card #ezf-sale-items th:nth-child(3),.ezf-sale-create-card #ezf-sale-items th:nth-child(4){width:14%}.ezf-sale-create-card #ezf-sale-items th:nth-child(5){width:11%}.ezf-sale-create-card #ezf-sale-items th:nth-child(6){width:10%}}
@media(max-width:680px){.ezf-sale-customer-grid{grid-template-columns:1fr;gap:10px}.ezf-sale-create-card #ezf-sale-items{display:block;min-width:0}.ezf-sale-create-card #ezf-sale-items thead{display:none}.ezf-sale-create-card #ezf-sale-items tbody,.ezf-sale-create-card #ezf-sale-items tr,.ezf-sale-create-card #ezf-sale-items td{display:block;width:100%}.ezf-sale-create-card #ezf-sale-items tbody{display:grid;gap:12px}.ezf-sale-create-card #ezf-sale-items tr{padding:12px;border:1px solid var(--ezf-border);border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(15,23,42,.04)}.ezf-sale-create-card #ezf-sale-items td{padding:0 0 11px;border:0;overflow:visible}.ezf-sale-create-card #ezf-sale-items td:last-child{padding-bottom:0}.ezf-sale-create-card #ezf-sale-items td:not(:first-child)::before{content:attr(data-label);display:block;margin:0 0 6px;color:var(--ezf-muted);font-size:11px;font-weight:800}.ezf-sale-create-card #ezf-sale-items td:first-child{padding-bottom:13px;border-bottom:1px solid var(--ezf-border)}.ezf-sale-create-card #ezf-sale-items td:nth-child(5){padding:11px 12px;margin-bottom:11px;border:1px solid #dbeafe;border-radius:12px;background:#f8fbff;font-size:18px}.ezf-sale-create-card #ezf-sale-items td:nth-child(6) .ezf-btn{width:100%}.ezf-sale-create-card #ezf-sale-items .ezf-sale-stock-indicator{margin-top:7px}.ezf-sale-create-card #ezf-sale-items .ezf-sale-product-cell{min-width:0}.ezf-sale-create-card #ezf-sale-items select,.ezf-sale-create-card #ezf-sale-items input{min-height:50px}.ezf-sale-create-card #ezf-sale-items .ezf-sale-stock-indicator small{margin-right:auto}}

/* v1.19.5 payment notes requirement + integer money display */
.ezf-sale-notes-field label span{font-size:11px;color:#b45309;font-weight:700;margin-right:6px}.ezf-sale-notes-field label span[hidden]{display:none}

/* v1.21.4 compact checkboxes */
input[type="checkbox"]{width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;padding:0!important;margin:0!important;accent-color:var(--ezf-primary,#2563eb);vertical-align:middle;cursor:pointer;box-shadow:none!important;border-radius:4px}
.ezf-table-wrap th input[type="checkbox"],.ezf-table-wrap td input[type="checkbox"]{width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;margin:0!important}

/* v1.22.2 shipment detail cards restoration */
.ezf-modern-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.ezf-modern-detail-head .ezf-detail-title{min-width:0}.ezf-back-link{display:inline-flex;align-items:center;gap:6px;color:var(--ezf-primary);font-size:12px;font-weight:800;text-decoration:none;margin-bottom:14px}.ezf-back-link:hover{text-decoration:underline}.ezf-modern-detail-head .ezf-product-hero{display:flex;align-items:center;gap:16px}.ezf-modern-detail-head .ezf-product-hero-image{width:78px;height:78px;min-width:78px;border-radius:20px;border:1px solid var(--ezf-border);background:#f8fafc;display:grid;place-items:center;overflow:hidden}.ezf-modern-detail-head .ezf-product-hero-image img{width:100%;height:100%;object-fit:cover}.ezf-modern-detail-head h1{margin:3px 0 4px;font-size:30px;line-height:1.25}.ezf-modern-detail-head p{margin:0;font-size:12px}.ezf-modern-detail-head .ezf-detail-actions{display:flex;align-items:center;gap:10px;padding-top:35px}.ezf-modern-detail-head .ezf-status-pill{display:inline-flex;align-items:center;padding:8px 13px;border-radius:999px;font-size:11px;font-weight:900;background:#dcfce7;color:#15803d}.ezf-modern-detail-head .ezf-status-pill.is-off{background:#f1f5f9;color:#64748b}
.ezf-modern-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.ezf-modern-kpi{position:relative;min-width:0;padding:20px 20px 18px;border:1px solid var(--ezf-border);border-radius:18px;background:#fff;box-shadow:0 7px 24px rgba(15,23,42,.045);overflow:hidden}.ezf-modern-kpi:after{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:var(--ezf-primary);border-radius:0 18px 18px 0}.ezf-modern-kpi:nth-child(2):after{background:#16a34a}.ezf-modern-kpi:nth-child(3):after{background:#f59e0b}.ezf-modern-kpi:nth-child(4):after{background:#7c3aed}.ezf-modern-kpi span{display:block;color:var(--ezf-muted);font-size:11px;font-weight:800;margin-bottom:10px}.ezf-modern-kpi strong{display:block;color:var(--ezf-text);font-size:28px;line-height:1.25;font-weight:900}.ezf-modern-kpi strong small{font-size:12px;font-weight:800}.ezf-modern-kpi>small{display:block;color:var(--ezf-muted);font-size:10px;margin-top:7px}
.ezf-modern-two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-bottom:18px}.ezf-modern-card{overflow:hidden}.ezf-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--ezf-border)}.ezf-card-heading h2{margin:3px 0 5px;font-size:18px;line-height:1.45}.ezf-card-heading p{margin:0;color:var(--ezf-muted);font-size:11px;line-height:1.8}.ezf-eyebrow{display:inline-block;color:var(--ezf-primary);font-size:10px;font-weight:900;line-height:1.6}.ezf-card-icon{width:40px;height:40px;min-width:40px;border-radius:12px;background:#f1f5f9;display:grid;place-items:center;font-size:17px}.ezf-count-badge{white-space:nowrap;padding:7px 10px;border-radius:999px;background:#eef4ff;color:var(--ezf-primary);font-size:10px;font-weight:900}.ezf-shipment-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ezf-shipment-data-grid>div,.ezf-info-list>div{padding:13px 14px;border:1px solid #edf1f6;border-radius:13px;background:#fbfcfe}.ezf-shipment-data-grid>div.full{grid-column:1/-1}.ezf-shipment-data-grid span,.ezf-info-list span{display:block;color:var(--ezf-muted);font-size:10px;margin-bottom:5px}.ezf-shipment-data-grid strong,.ezf-info-list strong{display:block;font-size:13px;line-height:1.7}.ezf-info-list{display:grid;gap:10px}.ezf-shipment-invoice-files{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 0}.ezf-shipment-file-card{display:block;text-decoration:none;color:inherit;border:1px solid var(--ezf-border);border-radius:15px;overflow:hidden;background:#fff;transition:.18s ease;box-shadow:0 4px 14px rgba(15,23,42,.035)}.ezf-shipment-file-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.08);border-color:#cbd5e1}.ezf-shipment-file-preview{height:130px;background:#f8fafc;display:grid;place-items:center;overflow:hidden}.ezf-shipment-file-preview img{width:100%;height:100%;object-fit:cover}.ezf-shipment-file-preview span{width:54px;height:54px;border-radius:14px;background:#fee2e2;color:#b91c1c;display:grid;place-items:center;font-size:13px;font-weight:900}.ezf-shipment-file-meta{padding:11px 12px}.ezf-shipment-file-meta strong,.ezf-shipment-file-meta small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ezf-shipment-file-meta strong{font-size:11px}.ezf-shipment-file-meta small{color:var(--ezf-muted);font-size:9px;margin-top:3px}.ezf-invoice-upload-inline{display:flex;align-items:center;gap:12px;padding:0 0 18px;border-bottom:1px solid var(--ezf-border)}.ezf-invoice-upload-inline .ezf-multi-upload{flex:1}.ezf-shipment-product-cards{display:grid;gap:14px}.ezf-shipment-product-card{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;border:1px solid var(--ezf-border);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 4px 18px rgba(15,23,42,.035)}.ezf-shipment-product-media{min-height:170px;background:#f8fafc;display:grid;place-items:center;overflow:hidden}.ezf-shipment-product-media img{width:100%;height:100%;object-fit:cover}.ezf-shipment-product-media span{font-size:35px}.ezf-shipment-product-body{padding:16px 16px 15px}.ezf-shipment-product-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--ezf-border)}.ezf-shipment-product-head h3{margin:2px 0;font-size:16px}.ezf-shipment-product-head small{color:var(--ezf-muted);font-size:10px}.ezf-product-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}.ezf-product-detail-grid>div{padding:10px 11px;border-radius:11px;background:#f8fafc;border:1px solid #eef2f7}.ezf-product-detail-grid span{display:block;color:var(--ezf-muted);font-size:9px;margin-bottom:3px}.ezf-product-detail-grid strong{font-size:12px}.ezf-shipment-product-footer{display:flex;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px dashed #e2e8f0;color:var(--ezf-muted);font-size:10px}.ezf-shipment-product-footer span:last-child{font-weight:800;color:var(--ezf-text)}.ezf-full-edit-card{padding:0}.ezf-full-edit-card .ezf-card-heading{padding:20px 22px 16px;margin:0;background:linear-gradient(135deg,#fff 0%,#f8fafc 100%)}.ezf-full-shipment-form{padding:20px 22px 24px}.ezf-form-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ezf-form-grid-two label,.ezf-full-edit-card label{display:block;font-size:11px;font-weight:900;margin-bottom:6px;line-height:1.7}.ezf-full-edit-card input,.ezf-full-edit-card textarea{width:100%;box-sizing:border-box;border:1px solid var(--ezf-border);border-radius:12px;background:#fff;color:var(--ezf-text);min-height:48px;padding:10px 12px}.ezf-full-edit-card textarea{min-height:100px}.ezf-edit-products-head{padding:16px;border:1px solid var(--ezf-border);border-radius:15px;background:#fbfcfe}.ezf-edit-item{background:#fff!important}.ezf-action-bar{display:flex;justify-content:flex-start;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--ezf-border)}
@media(max-width:1000px){.ezf-modern-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ezf-modern-two-col{grid-template-columns:1fr}.ezf-shipment-invoice-files{grid-template-columns:repeat(2,minmax(0,1fr))}.ezf-product-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ezf-form-grid-two{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.ezf-modern-detail-head{display:block}.ezf-modern-detail-head .ezf-detail-actions{padding-top:10px}.ezf-modern-detail-head h1{font-size:25px}.ezf-modern-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ezf-modern-kpi{padding:14px 13px}.ezf-modern-kpi strong{font-size:20px}.ezf-modern-kpi span{font-size:9px}.ezf-modern-two-col{gap:12px}.ezf-shipment-data-grid,.ezf-form-grid-two{grid-template-columns:1fr}.ezf-shipment-data-grid>div.full{grid-column:auto}.ezf-shipment-invoice-files{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ezf-shipment-file-preview{height:105px}.ezf-shipment-product-card{grid-template-columns:1fr}.ezf-shipment-product-media{height:160px;min-height:160px}.ezf-product-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ezf-shipment-product-head{display:block}.ezf-shipment-product-head .ezf-btn{margin-top:10px;width:100%}.ezf-shipment-product-footer{display:block}.ezf-shipment-product-footer span{display:block}.ezf-shipment-product-footer span+span{margin-top:5px}.ezf-full-shipment-form{padding:16px}.ezf-full-edit-card .ezf-card-heading{padding:16px}.ezf-edit-products-head{display:block}.ezf-edit-products-head .ezf-btn{width:100%;margin-top:10px}}

/* v1.22.8 modern formal visual system */
:root{--ezf-primary:#2F6670;--ezf-secondary:#122331;--ezf-accent:#B08D57;--ezf-sidebar:#0F1C28;--ezf-sidebar-text:#E7EDF2;--ezf-bg:#F4F6F8;--ezf-card:#FFFFFF;--ezf-text:#243342;--ezf-heading:#122331;--ezf-muted:#6B7785;--ezf-border:#DCE3E8;--ezf-input-bg:#FFFFFF;--ezf-radius:16px;--ezf-shadow:0 10px 28px rgba(18,35,49,.06)}
html,body{background:var(--ezf-bg);font-family:"Segoe UI",Tahoma,Arial,sans-serif;color:var(--ezf-text);-webkit-font-smoothing:antialiased}
.ezf-main{padding:32px 34px 40px}
.ezf-sidebar{background:linear-gradient(180deg,#0F1C28 0%,#122331 100%);padding:20px 14px;box-shadow:-10px 0 30px rgba(18,35,49,.08)}
.ezf-sidebar-head{margin-bottom:22px}.ezf-brand{padding:8px 7px}.ezf-brand-logo,.ezf-logo{border-radius:13px;box-shadow:0 5px 16px rgba(0,0,0,.12)}
.ezf-nav-item{border:1px solid transparent;color:#D8E0E7;padding:11px 12px;min-height:44px;border-radius:11px;font-weight:600}.ezf-nav-item:hover{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.06);color:#fff}.ezf-nav-item.active{background:#2F6670;color:#fff;box-shadow:0 8px 20px rgba(47,102,112,.25);border-color:rgba(255,255,255,.06)}.ezf-nav-icon{font-size:16px}.ezf-sidebar-foot{padding-top:14px}
.ezf-topbar{margin-bottom:26px}.ezf-topbar h1{font-size:31px;letter-spacing:-.4px;color:var(--ezf-heading)}.ezf-muted{color:var(--ezf-muted)}
.ezf-kpi,.ezf-card,.ezf-dashboard-kpi,.ezf-modern-kpi,.ezf-inv-kpi{border-color:var(--ezf-border);box-shadow:var(--ezf-shadow);background:var(--ezf-card)}
.ezf-card{padding:22px}.ezf-card h2{color:var(--ezf-heading);font-weight:800}.ezf-card input,.ezf-card select,.ezf-card textarea,.ezf-full-edit-card input,.ezf-full-edit-card textarea{border-color:#D5DEE5;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}
.ezf-card input:focus,.ezf-card select:focus,.ezf-card textarea:focus{border-color:var(--ezf-primary);box-shadow:0 0 0 3px rgba(47,102,112,.11)}
.ezf-btn.primary{background:var(--ezf-primary);box-shadow:0 6px 16px rgba(47,102,112,.18)}.ezf-btn:hover{filter:none;transform:translateY(-1px);box-shadow:0 8px 18px rgba(18,35,49,.10)}
.ezf-table-wrap th{background:#F7F9FA;color:var(--ezf-heading)}.ezf-table-wrap td{color:#334454}.ezf-table-wrap tr:hover td{background:#FBFCFC}
.ezf-dashboard-kpi{min-height:118px;border-radius:16px}.ezf-dashboard-kpi:before{width:3px}.ezf-dashboard-kpi-icon{background:#EEF4F5;color:var(--ezf-primary)}.ezf-dashboard-shortcuts a{background:#fff;border-color:var(--ezf-border);border-radius:13px}.ezf-dashboard-shortcuts a:hover{border-color:#B9C9CE;box-shadow:0 10px 24px rgba(18,35,49,.07)}.ezf-dashboard-shortcuts a span{background:#EEF4F5}
.ezf-alert{border:1px solid transparent}.ezf-alert.success{background:#EEF8F3;color:#176B49;border-color:#CBE8D9}.ezf-alert.error{background:#FFF1F1;color:#9A2D2D;border-color:#F0D0D0}
.ezf-badge,.ezf-count-badge{background:#EEF4F5;color:var(--ezf-primary)}
.ezf-login-card{box-shadow:0 24px 60px rgba(18,35,49,.12);border-color:var(--ezf-border)}
.ezf-section-title h2,.ezf-card-heading h2{color:var(--ezf-heading)}
.ezf-modern-kpi:after{background:var(--ezf-primary)}.ezf-modern-kpi:nth-child(2):after{background:#3E7F73}.ezf-modern-kpi:nth-child(3):after{background:var(--ezf-accent)}.ezf-modern-kpi:nth-child(4):after{background:#667A8A}
@media(max-width:1050px){.ezf-main{padding:26px 24px 34px}}
@media(max-width:700px){.ezf-main{padding:20px 14px 28px}.ezf-topbar h1{font-size:27px}.ezf-card{padding:16px}.ezf-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ezf-dashboard-kpi{padding:14px;min-height:90px}.ezf-dashboard-kpi-copy strong{font-size:18px}}

/* v1.22.9 - Mobile App Experience */
html{background:var(--ezf-bg);overscroll-behavior-y:none}
body.ezf-body{min-height:100svh;-webkit-tap-highlight-color:transparent}
.ezf-shell{min-height:100svh}
.ezf-mobile-header{backdrop-filter:saturate(150%) blur(16px);-webkit-backdrop-filter:saturate(150%) blur(16px);background:rgba(18,35,49,.94);padding-top:max(8px,env(safe-area-inset-top));height:calc(62px + env(safe-area-inset-top));box-shadow:0 8px 24px rgba(15,28,40,.16)}
.ezf-mobile-menu,.ezf-mobile-header>a{transition:transform .15s ease,background .15s ease}.ezf-mobile-menu:active,.ezf-mobile-header>a:active{transform:scale(.94);background:rgba(255,255,255,.14)}
.ezf-mobile-brand .ezf-brand-logo{box-shadow:0 4px 14px rgba(0,0,0,.16)}
@media (min-width:769px) and (max-width:1100px){
 .ezf-sidebar{width:238px}.ezf-main{margin-right:238px;padding:24px 22px 34px}.ezf-shell:has(.ezf-sidebar.is-collapsed) .ezf-main{margin-right:82px}
 .ezf-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.ezf-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:768px){
 .ezf-main{padding:calc(76px + env(safe-area-inset-top)) 12px calc(30px + env(safe-area-inset-bottom));width:100%;min-height:100svh}
 .ezf-topbar{margin-bottom:14px;gap:8px}.ezf-topbar h1{font-size:23px;letter-spacing:-.2px}.ezf-muted{font-size:13px}
 .ezf-grid,.ezf-grid.four,.ezf-grid.three,.ezf-grid.two{gap:10px;margin-bottom:12px}
 .ezf-kpi,.ezf-card{border-radius:15px;padding:14px;box-shadow:0 6px 20px rgba(18,35,49,.055)}
 .ezf-kpi strong{font-size:21px;margin:5px 0}.ezf-kpi span,.ezf-kpi small{font-size:12px}
 .ezf-btn{min-height:46px;border-radius:12px;font-size:14px}.ezf-card input,.ezf-card select,.ezf-card textarea{min-height:50px;font-size:16px;border-radius:12px}
 .ezf-table-wrap{margin-inline:-2px;border:1px solid var(--ezf-border);background:#fff}.ezf-table-wrap table{min-width:600px}
 .ezf-sidebar{padding:calc(15px + env(safe-area-inset-top)) 13px max(15px,env(safe-area-inset-bottom));border-radius:0 18px 18px 0}
 .ezf-sidebar nav{padding-bottom:8px}.ezf-nav-item{min-height:48px;padding:11px 12px;border-radius:12px}
 .ezf-sidebar-foot{padding-bottom:8px}
 .ezf-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ezf-dashboard-kpi{min-height:88px;padding:13px;border-radius:14px}
 .ezf-dashboard-kpi-icon{width:36px;height:36px}.ezf-dashboard-kpi-copy strong{font-size:18px}
 .ezf-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .ezf-section-title{gap:8px;margin-bottom:10px}.ezf-section-title h2{font-size:17px}
 .ezf-modern-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ezf-modern-kpi{padding:13px;border-radius:14px}
}
@media (max-width:430px){
 .ezf-main{padding-left:10px;padding-right:10px}.ezf-mobile-header{padding-left:10px;padding-right:10px}
 .ezf-mobile-brand strong{max-width:145px}.ezf-mobile-menu,.ezf-mobile-header>a{width:42px;height:42px;min-height:42px}
 .ezf-kpi,.ezf-card{padding:13px}.ezf-dashboard-kpi{padding:12px}.ezf-dashboard-kpi-copy strong{font-size:17px}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.ezf-expense-form-grid .ezf-expense-amount{font-variant-numeric:tabular-nums}.ezf-expense-form-grid #ezf-expense-amount-hint{display:block;color:var(--ezf-muted);font-size:11px;margin-top:6px}.ezf-expense-form-grid .ezf-expense-amount:focus{border-color:var(--ezf-primary);box-shadow:0 0 0 3px rgba(47,102,112,.10)}

/* v1.22.11 - account identity + frontend password recovery */
.ezf-reset-page .ezf-login-card{max-width:520px;margin:40px auto}
.ezf-reset-page .ezf-login-form>input:not([type=hidden]),.ezf-reset-page .ezf-login-form>label+input{width:100%;box-sizing:border-box;min-height:50px;border:1px solid var(--ezf-border,#e5e7eb);border-radius:12px;padding:10px 13px;background:#fff;color:var(--ezf-text,#172033);margin-bottom:12px}
.ezf-reset-page .ezf-login-form .ezf-btn{width:100%;margin-top:8px}
.ezf-reset-page .ezf-login-form>a{display:block;text-align:center;margin-top:14px}
.ezf-profile-card + .ezf-card form .ezf-btn{margin-top:16px}
.ezf-profile-card + .ezf-card .ezf-form-grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}
.ezf-profile-card + .ezf-card .ezf-form-grid.two>div:last-child{grid-column:1/-1}
.ezf-profile-card + .ezf-card .ezf-form-grid.two label{display:block;font-weight:800;font-size:12px;margin-bottom:6px}
.ezf-profile-card + .ezf-card .ezf-form-grid.two input{width:100%;box-sizing:border-box;min-height:48px}
@media(max-width:650px){.ezf-reset-page .ezf-login-card{margin:18px 0}.ezf-profile-card + .ezf-card .ezf-form-grid.two{grid-template-columns:1fr}.ezf-profile-card + .ezf-card .ezf-form-grid.two>div:last-child{grid-column:auto}}

/* v1.22.12 notification/app shortcuts */
.ezf-sidebar-notifications{position:relative;display:flex;align-items:center;gap:10px;margin:10px 12px;padding:11px 13px;border:1px solid rgba(255,255,255,.08);border-radius:14px;color:var(--ezf-sidebar-text);text-decoration:none;background:rgba(255,255,255,.035);transition:.2s}.ezf-sidebar-notifications:hover{background:rgba(255,255,255,.08);transform:translateY(-1px)}.ezf-sidebar-notifications>span{font-size:20px;line-height:1}.ezf-sidebar-notifications strong{font-size:13px}.ezf-sidebar-notifications b{margin-inline-start:auto;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#d64545;color:#fff;font-size:11px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 0 0 3px rgba(214,69,69,.13)}.ezf-notification-count-big{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:rgba(47,102,112,.1);color:var(--ezf-primary);font-weight:800}.ezf-notification-row{position:relative;display:flex;align-items:center;gap:14px;padding:16px;border-bottom:1px solid var(--ezf-border);text-decoration:none;color:var(--ezf-text);transition:.2s}.ezf-notification-row:last-child{border-bottom:0}.ezf-notification-row:hover{background:rgba(47,102,112,.035)}.ezf-notification-row.is-unread{background:rgba(47,102,112,.045)}.ezf-notification-icon{width:44px;height:44px;border-radius:14px;background:#f1f5f7;display:flex;align-items:center;justify-content:center;font-size:21px;flex:0 0 44px}.ezf-notification-content{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.ezf-notification-content strong{font-size:14px;color:var(--ezf-heading)}.ezf-notification-content span{font-size:13px;line-height:1.7;color:var(--ezf-muted)}.ezf-notification-content small{font-size:11px;color:var(--ezf-muted)}.ezf-notification-arrow{font-size:20px;color:var(--ezf-primary)}.ezf-notification-unread-dot{width:9px;height:9px;border-radius:50%;background:#d64545;box-shadow:0 0 0 4px rgba(214,69,69,.1)}.ezf-mobile-shortcuts{display:none}
@media(max-width:768px){.ezf-mobile-shortcuts{position:sticky;top:0;z-index:40;display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:8px 10px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--ezf-border);box-shadow:0 4px 14px rgba(15,23,42,.06);backdrop-filter:blur(12px)}.ezf-mobile-shortcuts a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:54px;border-radius:13px;background:#f6f8f9;color:var(--ezf-heading);text-decoration:none;border:1px solid #e7ecef}.ezf-mobile-shortcuts a:first-child{background:rgba(47,102,112,.1);border-color:rgba(47,102,112,.18)}.ezf-mobile-shortcuts span{font-size:18px;line-height:1}.ezf-mobile-shortcuts small{font-size:10px;font-weight:800;white-space:nowrap}.ezf-mobile-shortcuts b{position:absolute;top:4px;right:8px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#d64545;color:#fff;font-size:9px;display:flex;align-items:center;justify-content:center}.ezf-sidebar-notifications{margin:8px}.ezf-notification-row{padding:13px 8px;gap:10px}.ezf-notification-icon{width:40px;height:40px;flex-basis:40px}.ezf-notification-arrow{font-size:16px}.ezf-notification-content span{font-size:12px}.ezf-notification-count-big{font-size:11px}}


/* v1.22.14 - collapsed sidebar polish + reliable notification badge */
.ezf-sidebar-notifications{min-width:0}
.ezf-sidebar-notifications b[hidden],.ezf-mobile-shortcuts b[hidden]{display:none!important}
@media(min-width:769px){
 .ezf-sidebar.is-collapsed{width:82px;padding:18px 10px}
 .ezf-shell:has(.ezf-sidebar.is-collapsed) .ezf-main{margin-right:82px}
 .ezf-sidebar.is-collapsed .ezf-sidebar-head{margin-bottom:18px;justify-content:center}
 .ezf-sidebar.is-collapsed .ezf-brand{display:none}
 .ezf-sidebar.is-collapsed .ezf-sidebar-toggle{width:44px;min-width:44px;height:44px;min-height:44px;border-radius:13px}
 .ezf-sidebar.is-collapsed .ezf-sidebar-profile{display:flex;justify-content:center;margin:0 0 12px}
 .ezf-sidebar.is-collapsed .ezf-profile-link{display:flex;justify-content:center;width:100%}
 .ezf-sidebar.is-collapsed .ezf-profile-copy,.ezf-sidebar.is-collapsed .ezf-sidebar-search{display:none}
 .ezf-sidebar.is-collapsed .ezf-sidebar-avatar{width:42px;height:42px;min-width:42px}
 .ezf-sidebar.is-collapsed .ezf-sidebar-notifications{width:50px;height:50px;min-height:50px;margin:5px auto 12px;padding:0;justify-content:center;border-radius:15px;gap:0}
 .ezf-sidebar.is-collapsed .ezf-sidebar-notifications>span{font-size:21px}
 .ezf-sidebar.is-collapsed .ezf-sidebar-notifications strong{display:none}
 .ezf-sidebar.is-collapsed .ezf-sidebar-notifications b{position:absolute;top:-4px;right:2px;margin:0;min-width:20px;height:20px;padding:0 5px;font-size:10px}
 .ezf-sidebar.is-collapsed nav{gap:6px}
 .ezf-sidebar.is-collapsed .ezf-nav-item{width:50px;min-height:50px;height:50px;margin:0 auto;padding:0;justify-content:center;border-radius:15px}
 .ezf-sidebar.is-collapsed .ezf-nav-icon{width:auto;min-width:0;font-size:18px}
 .ezf-sidebar.is-collapsed .ezf-sidebar-foot{justify-content:center;padding:14px 0 8px}
}
@media(max-width:768px){
 .ezf-mobile-shortcuts b[hidden]{display:none!important}
 .ezf-mobile-shortcuts b{z-index:2}
}


/* v1.25.56 - Fixed PWA install bar, independent of the desktop flex layout */
.ezf-pwa-install-bar{position:fixed;right:20px;left:auto;bottom:18px;z-index:1101;min-height:50px;padding:9px 18px;border:1px solid rgba(255,255,255,.12);border-radius:15px;background:var(--ezf-mobile-nav,#122331);color:#fff;box-shadow:0 10px 28px rgba(18,35,49,.22);display:flex;align-items:center;justify-content:center;gap:10px;font-family:inherit;font-size:13px;font-weight:900;cursor:pointer;direction:rtl;white-space:nowrap}.ezf-pwa-install-bar:active{transform:scale(.985)}.ezf-pwa-install-bar-icon{font-size:20px}.ezf-pwa-install-bar-arrow{width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.14);display:grid;place-items:center;font-size:18px}.ezf-pwa-install-bar[hidden]{display:none!important}

/* v1.22.15 - Native mobile bottom app navigation */
.ezf-mobile-bottom-nav{display:none}
@media(max-width:768px){
 .ezf-mobile-shortcuts{display:none!important}

 .ezf-pwa-install-bar{right:10px;left:10px;bottom:calc(78px + env(safe-area-inset-bottom));z-index:1101;min-height:50px;padding:8px 15px;border-radius:15px;font-size:13px}.ezf-pwa-install-bar-icon{font-size:20px}.ezf-pwa-install-bar-arrow{width:24px;height:24px}
 .ezf-mobile-bottom-nav{position:fixed;right:0;left:0;bottom:0;z-index:980;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid rgba(220,227,232,.95);box-shadow:0 -10px 28px rgba(18,35,49,.10);backdrop-filter:saturate(150%) blur(18px);-webkit-backdrop-filter:saturate(150%) blur(18px)}
 .ezf-mobile-bottom-item{position:relative;min-width:0;min-height:58px;padding:5px 3px 4px;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--ezf-muted);text-decoration:none;transition:transform .15s ease,background .15s ease,color .15s ease}
 .ezf-mobile-bottom-item:active{transform:scale(.94)}
 .ezf-mobile-bottom-item.active{color:var(--ezf-primary);background:color-mix(in srgb,var(--ezf-primary) 9%,white)}
 .ezf-mobile-bottom-icon{width:34px;height:30px;display:grid;place-items:center;font-size:20px;line-height:1;font-weight:900}
 .ezf-mobile-bottom-item:first-child .ezf-mobile-bottom-icon{font-size:28px}
 .ezf-mobile-bottom-item small{font-size:10px;font-weight:900;line-height:1.2;white-space:nowrap}
 .ezf-mobile-bottom-notifications b{position:absolute;top:1px;right:calc(50% - 25px);min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#d64545;color:#fff;font-size:9px;font-weight:900;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #fff}
 .ezf-mobile-bottom-notifications b[hidden]{display:none!important}
 .ezf-main{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
 .ezf-app-footer{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
}
@media(max-width:380px){
 .ezf-pwa-install-bar{right:7px;left:7px;bottom:calc(72px + env(safe-area-inset-bottom));min-height:48px;padding:7px 12px;border-radius:13px;font-size:12px}.ezf-pwa-install-bar-icon{font-size:18px}
 .ezf-mobile-bottom-nav{padding-left:5px;padding-right:5px;gap:2px}
 .ezf-mobile-bottom-item{min-height:55px;border-radius:12px}
 .ezf-mobile-bottom-icon{width:30px;height:27px;font-size:18px}
 .ezf-mobile-bottom-item small{font-size:9px}
}

/* v1.22.18 - collapsible new sale form */
.ezf-open-sale-form{white-space:nowrap;min-height:46px;padding:10px 18px;font-weight:800}.ezf-sale-create-card[hidden]{display:none!important}.ezf-sale-create-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.ezf-sale-create-actions .ezf-btn{min-height:40px;padding:8px 13px}.ezf-sale-create-actions .ezf-badge{margin:0}.ezf-topbar .ezf-open-sale-form{margin-right:auto}
@media(max-width:680px){.ezf-topbar{gap:10px;align-items:flex-start}.ezf-open-sale-form{width:100%;margin-right:0!important}.ezf-sale-create-actions{width:100%;justify-content:space-between}.ezf-sale-create-actions .ezf-btn{flex:0 0 auto}.ezf-sale-create-card{scroll-margin-top:12px}}

/* v1.22.21 - Modern expenses page + collapsed create form */
.ezf-expense-summary-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 18px}
.ezf-expense-summary-card{position:relative;overflow:hidden;min-height:118px;padding:20px 22px;border:1px solid var(--ezf-border);border-radius:18px;background:linear-gradient(145deg,#fff,#f8fafc);box-shadow:0 10px 28px rgba(15,23,42,.05);display:flex;flex-direction:column;justify-content:center;gap:7px}
.ezf-expense-summary-card:after{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:var(--ezf-primary);border-radius:0 18px 18px 0}
.ezf-expense-summary-card span{font-size:12px;color:var(--ezf-muted);font-weight:800}.ezf-expense-summary-card strong{font-size:25px;line-height:1.1;color:var(--ezf-heading);font-variant-numeric:tabular-nums}.ezf-expense-summary-card small{font-size:10px;color:var(--ezf-muted)}
.ezf-open-expense-form{min-height:46px;padding:10px 19px;font-weight:900;white-space:nowrap}.ezf-expense-create-layout[hidden]{display:none!important}.ezf-expense-create-layout{margin-bottom:18px}.ezf-expense-create-card{box-shadow:0 14px 35px rgba(15,23,42,.06)}.ezf-expense-create-card .ezf-section-title{align-items:flex-start}.ezf-expense-create-card .ezf-section-title h2{margin:2px 0 4px;font-size:20px}.ezf-card-kicker{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(47,102,112,.08);color:var(--ezf-primary);font-size:10px;font-weight:900}.ezf-close-expense-form{white-space:nowrap}.ezf-expense-create-layout .ezf-expense-today-card{display:flex;flex-direction:column;justify-content:center}
@media(max-width:800px){.ezf-expense-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ezf-expense-summary-card:last-child{grid-column:1/-1}.ezf-expense-summary-card{min-height:96px;padding:15px 16px}.ezf-expense-summary-card strong{font-size:20px}.ezf-open-expense-form{width:auto}}
@media(max-width:560px){.ezf-expense-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ezf-expense-summary-card:last-child{grid-column:auto}.ezf-expense-summary-card{min-height:90px;padding:13px}.ezf-expense-summary-card strong{font-size:18px}.ezf-expense-summary-card span{font-size:10px}.ezf-expense-summary-card small{font-size:9px}.ezf-topbar .ezf-open-expense-form{width:100%}.ezf-expense-create-card .ezf-section-title{gap:10px}.ezf-close-expense-form{padding:8px 11px;font-size:10px}}

/* v1.22.22 - Full-width modern expenses layout */
.ezf-expense-create-layout{width:100%;margin:0 0 20px}.ezf-expense-create-card{width:100%;padding:24px}.ezf-expense-create-card form{width:100%}.ezf-expense-ledger{width:100%;margin:0}.ezf-expense-ledger .ezf-table-wrap{width:100%;max-width:none}.ezf-expense-ledger .ezf-table-wrap table{width:100%;min-width:760px}.ezf-expense-ledger .ezf-section-title{align-items:flex-start}.ezf-expense-create-card .ezf-expense-save{min-width:190px}.ezf-expense-tabs{margin-inline-start:auto}
@media(max-width:768px){.ezf-expense-create-card{padding:15px}.ezf-expense-create-card .ezf-section-title{display:flex;flex-direction:row;align-items:center}.ezf-expense-create-card .ezf-section-title>div{min-width:0}.ezf-expense-create-card .ezf-close-expense-form{width:auto;min-width:82px}.ezf-expense-create-card .ezf-expense-save{width:100%}.ezf-expense-ledger .ezf-table-wrap{overflow:visible;border:0}.ezf-expense-ledger .ezf-table-wrap table{min-width:0;width:100%;border-collapse:separate;border-spacing:0 10px}.ezf-expense-ledger .ezf-table-wrap thead{display:none}.ezf-expense-ledger .ezf-table-wrap tbody,.ezf-expense-ledger .ezf-table-wrap tr,.ezf-expense-ledger .ezf-table-wrap td{display:block;width:100%}.ezf-expense-ledger .ezf-table-wrap tr{background:#fff;border:1px solid var(--ezf-border);border-radius:15px;padding:10px 12px;box-shadow:0 5px 18px rgba(15,23,42,.04);margin-bottom:10px}.ezf-expense-ledger .ezf-table-wrap td{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 2px;border-bottom:1px solid #eef1f5;text-align:right;font-size:13px}.ezf-expense-ledger .ezf-table-wrap td:last-child{border-bottom:0;padding-bottom:3px}.ezf-expense-ledger .ezf-table-wrap td::before{content:attr(data-label);color:var(--ezf-muted);font-size:11px;font-weight:800;flex:0 0 auto}.ezf-expense-ledger .ezf-table-wrap td:first-child{justify-content:flex-start}.ezf-expense-ledger .ezf-table-wrap td:first-child::before{display:none}.ezf-expense-ledger .ezf-table-wrap td:first-child input{margin-inline-start:0!important}.ezf-expense-ledger .ezf-table-wrap td:last-child .ezf-btn{width:auto;min-width:88px}.ezf-expense-bulk{flex-direction:row!important;align-items:center!important}.ezf-expense-tabs{width:100%}}

/* v1.22.27 - sales page modern KPI cards */
.ezf-sales-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 22px}
.ezf-sales-stat-card{position:relative;display:flex;align-items:center;gap:14px;min-height:116px;padding:18px 20px;background:#fff;border:1px solid #e2e8ef;border-radius:18px;box-shadow:0 10px 28px rgba(15,31,45,.06);overflow:hidden}
.ezf-sales-stat-card:after{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#64748b}
.ezf-sales-stat-card .ezf-stat-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#f1f5f9;font-size:22px;flex:0 0 48px}
.ezf-sales-stat-card div:last-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.ezf-sales-stat-card span{font-size:13px;color:#64748b;white-space:nowrap}
.ezf-sales-stat-card strong{font-size:25px;line-height:1.15;color:#0f172a;letter-spacing:-.3px}
.ezf-sales-stat-card strong em{font-size:13px;font-style:normal;color:#64748b;font-weight:600}
.ezf-sales-stat-card small{font-size:11px;color:#94a3b8}
.ezf-sales-stat-card.stat-total:after{background:#2563eb}.ezf-sales-stat-card.stat-total .ezf-stat-icon{background:#eff6ff}
.ezf-sales-stat-card.stat-count:after{background:#0f766e}.ezf-sales-stat-card.stat-count .ezf-stat-icon{background:#ecfdf5}
.ezf-sales-stat-card.stat-meters:after{background:#d97706}.ezf-sales-stat-card.stat-meters .ezf-stat-icon{background:#fff7ed}
.ezf-sales-stat-card.stat-cancelled:after{background:#dc2626}.ezf-sales-stat-card.stat-cancelled .ezf-stat-icon{background:#fef2f2}
@media(max-width:1200px){.ezf-sales-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ezf-sales-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:14px}.ezf-sales-stat-card{min-height:104px;padding:13px 12px;gap:9px;border-radius:15px}.ezf-sales-stat-card .ezf-stat-icon{width:38px;height:38px;flex-basis:38px;border-radius:11px;font-size:18px}.ezf-sales-stat-card span{font-size:11px}.ezf-sales-stat-card strong{font-size:19px}.ezf-sales-stat-card small{font-size:9px}}

/* v1.22.28 - sales ledger full-width desktop + refined bulk controls */
.ezf-sales-log-card{width:100%;overflow:hidden}
.ezf-sales-log-card #ezf-sales-bulk-form{display:block;width:100%;margin:0}
.ezf-sales-log-card #ezf-sales-bulk-form .ezf-bulk-toolbar{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 16px;margin:0 0 14px;border-bottom:1px solid var(--ezf-border,#e5e7eb)}
.ezf-sales-log-card .ezf-select-all{margin:0;display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid var(--ezf-border,#e5e7eb);border-radius:12px;background:#f8fafc;color:var(--ezf-heading,#122331);white-space:nowrap}
.ezf-sales-log-card .ezf-select-all span{font-size:13px;font-weight:900}
.ezf-sales-log-card .ezf-bulk-toolbar select{width:260px;min-width:220px;min-height:46px;padding:10px 13px;border:1px solid var(--ezf-border,#e5e7eb);border-radius:12px;background:#fff}
.ezf-sales-log-card .ezf-bulk-toolbar #ezf-sales-bulk-submit{min-width:100px;min-height:46px;background:var(--ezf-secondary,#122331);color:#fff}
.ezf-sales-log-card .ezf-bulk-toolbar .ezf-bulk-actions{display:flex;align-items:center;gap:10px;margin-right:auto}
.ezf-sales-log-card .ezf-table-wrap{width:100%;max-width:none;overflow-x:auto}
.ezf-sales-log-card .ezf-table-wrap table{width:100%;min-width:920px;table-layout:auto}
.ezf-sales-log-card .ezf-table-wrap th,.ezf-sales-log-card .ezf-table-wrap td{white-space:nowrap}
.ezf-sales-log-card .ezf-table-wrap td:nth-child(3){white-space:normal;min-width:150px}
.ezf-sales-log-card .ezf-table-wrap td:last-child{min-width:230px}
.ezf-sales-log-card .ezf-actions-inline{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
@media(max-width:700px){
 .ezf-sales-log-card #ezf-sales-bulk-form .ezf-bulk-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:12px 0 14px}
 .ezf-sales-log-card .ezf-select-all{grid-column:1/-1;justify-content:center}
 .ezf-sales-log-card .ezf-bulk-toolbar select,.ezf-sales-log-card .ezf-bulk-toolbar #ezf-sales-bulk-submit{width:100%;min-width:0}
 .ezf-sales-log-card .ezf-table-wrap{overflow:visible}
}

/* v1.23.0 - Rebuilt expenses ledger: filters + XLSX + responsive cards */
.ezf-expenses-header{align-items:center}.ezf-expenses-header .ezf-card-kicker{margin-bottom:7px}.ezf-expense-filters-card{margin-bottom:18px}.ezf-expense-filter-form{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end}.ezf-expense-filter-form label{display:block;margin-bottom:7px;font-size:12px;font-weight:900}.ezf-expense-filter-form input{width:100%;box-sizing:border-box;min-height:48px;border:1px solid var(--ezf-border);border-radius:12px;padding:10px 12px;background:#fff}.ezf-expense-filter-actions{display:flex;gap:9px;align-items:center}.ezf-xlsx-btn{background:#f0fdf4;border-color:#bbf7d0;color:#166534;font-weight:900}.ezf-filter-icon{width:40px;height:40px;border-radius:12px;background:#f1f5f9;display:grid;place-items:center;font-size:23px;color:var(--ezf-primary)}.ezf-expense-summary-cards-v2{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 18px}.ezf-expense-summary-card{border-radius:18px}.ezf-expense-summary-card.expense-card-blue:after{background:#2563eb}.ezf-expense-summary-card.expense-card-gold:after{background:#b08b2e}.ezf-expense-summary-card.expense-card-slate:after{background:#475569}.ezf-expense-ledger-modern{width:100%;margin-top:18px}.ezf-expense-ledger-modern .ezf-section-title{align-items:center}.ezf-ledger-count{font-size:12px;color:var(--ezf-primary);background:#eef6f7;border:1px solid #d8eaec;padding:8px 12px;border-radius:999px}.ezf-expense-ledger-modern .ezf-table-wrap{width:100%;max-width:none}.ezf-expense-ledger-modern table{width:100%;min-width:0}.ezf-expense-ledger-modern thead th{font-size:12px;white-space:nowrap}.ezf-expense-ledger-modern tbody td{font-size:12px;vertical-align:middle}.ezf-check-col{width:48px;text-align:center!important}.ezf-check-col input{width:17px!important;height:17px!important;min-height:17px!important}.ezf-money-value{font-variant-numeric:tabular-nums}.ezf-payment-pill{display:inline-flex;padding:5px 9px;border-radius:999px;background:#f8fafc;border:1px solid #e5e7eb;font-size:10px;font-weight:800}.ezf-empty-state{text-align:center!important;padding:42px!important;color:var(--ezf-muted)!important}.ezf-expense-trash-card{margin-bottom:18px}
@media(max-width:900px){.ezf-expense-filter-form{grid-template-columns:1fr 1fr}.ezf-expense-filter-actions{grid-column:1/-1}.ezf-expense-filter-actions .ezf-btn{flex:1}.ezf-expense-summary-cards-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.ezf-expense-summary-cards-v2 .ezf-expense-summary-card:last-child{grid-column:1/-1}}
@media(max-width:700px){.ezf-expense-filter-form{grid-template-columns:1fr}.ezf-expense-filter-actions{grid-column:auto;flex-direction:column}.ezf-expense-filter-actions .ezf-btn{width:100%}.ezf-expense-tabs{width:100%}.ezf-expense-tabs a{flex:1;text-align:center}.ezf-expense-summary-cards-v2{grid-template-columns:1fr}.ezf-expense-summary-cards-v2 .ezf-expense-summary-card:last-child{grid-column:auto}.ezf-expense-ledger-modern .ezf-table-wrap{overflow:visible;border:0}.ezf-expense-ledger-modern .ezf-table-wrap table{width:100%;border-collapse:separate;border-spacing:0 10px}.ezf-expense-ledger-modern .ezf-table-wrap thead{display:none}.ezf-expense-ledger-modern .ezf-table-wrap tbody,.ezf-expense-ledger-modern .ezf-table-wrap tr,.ezf-expense-ledger-modern .ezf-table-wrap td{display:block;width:100%;box-sizing:border-box}.ezf-expense-ledger-modern .ezf-table-wrap tr{background:#fff;border:1px solid var(--ezf-border);border-radius:16px;padding:10px 13px;box-shadow:0 7px 20px rgba(15,23,42,.05);margin-bottom:10px}.ezf-expense-ledger-modern .ezf-table-wrap td{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 2px;border-bottom:1px solid #edf1f5;text-align:right}.ezf-expense-ledger-modern .ezf-table-wrap td:last-child{border-bottom:0}.ezf-expense-ledger-modern .ezf-table-wrap td::before{content:attr(data-label);color:var(--ezf-muted);font-size:10px;font-weight:900;flex:0 0 auto}.ezf-expense-ledger-modern .ezf-table-wrap td.ezf-check-col{display:flex;justify-content:flex-start;border-bottom:1px solid #edf1f5}.ezf-expense-ledger-modern .ezf-table-wrap td.ezf-check-col::before{display:none}.ezf-expense-ledger-modern .ezf-table-wrap td:last-child .ezf-btn{min-width:92px}.ezf-expense-ledger-modern .ezf-section-title{align-items:flex-start}.ezf-ledger-count{font-size:10px;padding:6px 9px}}


/* v1.24.11 - Settings center + mobile branding controls */
.ezf-mobile-bottom-nav{background:var(--ezf-mobile-nav,#122331);border-top-color:color-mix(in srgb,var(--ezf-mobile-nav,#122331) 82%,#fff);}
.ezf-mobile-bottom-item{color:rgba(255,255,255,.82)!important}.ezf-mobile-bottom-item.active{color:#fff!important;background:color-mix(in srgb,var(--ezf-primary) 28%,transparent);border-radius:12px}.ezf-mobile-bottom-item small{color:inherit!important}.ezf-mobile-bottom-item .ezf-mobile-bottom-icon{color:inherit!important}
.ezf-mobile-header{background:var(--ezf-mobile-nav,var(--ezf-secondary))!important}.ezf-mobile-brand .ezf-brand-logo{background:#fff}
.ezf-mobile-logo-preview img{object-fit:contain!important}

/* v1.24.39: expense ledger action buttons */
.ezf-inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ezf-inline-actions .ezf-inline-form{margin:0}

/* v1.24.47 - Invoice print branding and layout fix */
.ezf-invoice-brand-print{flex:1;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.ezf-invoice-print-logo{display:block;width:330px;max-width:100%;height:auto;max-height:105px;object-fit:contain;margin:0 auto 8px}.ezf-invoice-brand-print h1{margin:0!important;font-size:24px!important;font-weight:900!important;line-height:1.35}.ezf-invoice-number-print{min-width:150px;text-align:right;line-height:1.9;padding-top:8px}
@media print{
  .ezf-print-document{width:100%!important;max-width:none!important;box-sizing:border-box!important;font-size:12px!important}
  .ezf-invoice-head{position:relative!important;display:block!important;min-height:125px!important;border-bottom:2px solid #172033!important;padding:0 0 12px!important;margin-bottom:14px!important}
  .ezf-invoice-brand-print{position:absolute!important;left:50%!important;top:0!important;transform:translateX(-50%)!important;width:52%!important;text-align:center!important;display:flex!important;align-items:center!important}
  .ezf-invoice-print-logo{width:330px!important;max-width:100%!important;height:auto!important;max-height:100px!important;object-fit:contain!important;margin:0 auto 7px!important}
  .ezf-invoice-brand-print h1{font-size:23px!important;line-height:1.3!important;margin:0!important}
  .ezf-invoice-number-print{position:absolute!important;right:0!important;top:4px!important;min-width:150px!important;padding:0!important;font-size:11px!important;text-align:right!important;line-height:1.8!important}
  .ezf-invoice-meta{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-bottom:14px!important}
  .ezf-invoice-meta>div{min-height:44px!important;padding:8px!important;box-sizing:border-box!important}
  .ezf-table-wrap{width:100%!important;overflow:visible!important}
  .ezf-table-wrap table{width:100%!important;min-width:0!important;table-layout:fixed!important}
  .ezf-table-wrap th,.ezf-table-wrap td{padding:8px 7px!important;font-size:11px!important;line-height:1.5!important}
  .ezf-invoice-total{width:330px!important;max-width:42%!important;margin:14px 0 0 auto!important}
  .ezf-invoice-total>div{padding:7px 0!important}
  .ezf-invoice-total>div:nth-child(3){font-size:15px!important;padding:9px 0!important}
  .ezf-note{font-size:11px!important}
}

/* v1.24.48 - Invoice print header: logo right, title centered, invoice/date left */
@media print{
  .ezf-invoice-head{position:relative!important;display:block!important;min-height:92px!important;height:92px!important;border-bottom:2px solid #172033!important;padding:0 0 10px!important;margin-bottom:14px!important;box-sizing:border-box!important}
  .ezf-invoice-brand-print{position:absolute!important;right:0!important;left:auto!important;top:0!important;transform:none!important;width:150px!important;height:68px!important;display:flex!important;align-items:flex-start!important;justify-content:flex-end!important;text-align:right!important}
  .ezf-invoice-print-logo{display:block!important;width:150px!important;max-width:150px!important;height:auto!important;max-height:68px!important;object-fit:contain!important;margin:0!important}
  .ezf-invoice-title-print{position:absolute!important;left:50%!important;top:25px!important;transform:translateX(-50%)!important;width:240px!important;text-align:center!important}
  .ezf-invoice-title-print h1{margin:0!important;font-size:23px!important;font-weight:900!important;line-height:1.3!important;white-space:nowrap!important}
  .ezf-invoice-number-print{position:absolute!important;left:0!important;right:auto!important;top:4px!important;min-width:155px!important;padding:0!important;font-size:11px!important;text-align:left!important;line-height:1.8!important}
}

/* v1.24.49 - Invoice screen header: small logo right, title centered, invoice/date left */
@media screen{
  .ezf-invoice-head{position:relative!important;display:block!important;min-height:105px!important;height:105px!important;padding:0 0 14px!important;margin-bottom:18px!important;box-sizing:border-box!important;border-bottom:2px solid #eee!important}
  .ezf-invoice-brand-print{position:absolute!important;right:0!important;left:auto!important;top:0!important;width:180px!important;height:78px!important;display:flex!important;align-items:flex-start!important;justify-content:flex-end!important;text-align:right!important}
  .ezf-invoice-print-logo{display:block!important;width:180px!important;max-width:180px!important;height:auto!important;max-height:78px!important;object-fit:contain!important;margin:0!important}
  .ezf-invoice-title-print{position:absolute!important;left:50%!important;top:30px!important;transform:translateX(-50%)!important;width:240px!important;text-align:center!important}
  .ezf-invoice-title-print h1{margin:0!important;font-size:26px!important;font-weight:900!important;line-height:1.3!important;white-space:nowrap!important}
  .ezf-invoice-number-print{position:absolute!important;left:0!important;right:auto!important;top:7px!important;min-width:170px!important;padding:0!important;font-size:13px!important;text-align:left!important;line-height:1.9!important}
}
@media screen and (max-width:700px){
  .ezf-invoice-head{min-height:125px!important;height:125px!important}
  .ezf-invoice-brand-print{width:125px!important;height:58px!important}
  .ezf-invoice-print-logo{width:125px!important;max-width:125px!important;max-height:58px!important}
  .ezf-invoice-title-print{top:68px!important;width:100%!important}
  .ezf-invoice-title-print h1{font-size:22px!important}
  .ezf-invoice-number-print{top:7px!important;min-width:135px!important;font-size:11px!important}
}

/* ملخص اليوم: عرض محتوى الملخص فقط ومنع بطاقات أخطاء التقارير أو أي عناصر إضافية من الظهور داخله */
.ezf-daily-summary-page .ezf-error-card{display:none!important;}
.ezf-daily-summary-page .ezf-reports-error{display:none!important;}

/* توحيد فلاتر التواريخ - شكل موحد مع الحفاظ على تنسيق كل قسم */
.ezf-date-filter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:16px;align-items:end;background:var(--ezf-card,#fff);border:1px solid var(--ezf-border,#e6e9ef);border-radius:16px;padding:20px;box-shadow:var(--ezf-shadow,0 8px 28px rgba(15,23,42,.06));direction:rtl}
.ezf-date-filter>div{min-width:0;display:flex;flex-direction:column;gap:8px}
.ezf-date-filter label{display:block;margin:0;font-size:13px;font-weight:800;line-height:1.6}
.ezf-date-filter input[type=date]{width:100%;min-height:48px;height:48px;padding:10px 13px;border:1px solid #d4d9e2;border-radius:11px;background:#fff;color:var(--ezf-text);outline:none;line-height:1.7;font-family:inherit}
.ezf-date-filter input[type=date]:focus{border-color:var(--ezf-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--ezf-primary) 12%,transparent)}
.ezf-date-filter>.ezf-btn{min-width:92px}
.ezf-sales-date-filter{margin:0}
.ezf-expense-filter-form{margin:0}
.ezf-expense-filter-form .ezf-expense-filter-actions{display:flex;gap:9px;align-items:center}
.ezf-expense-filter-form .ezf-expense-filter-actions .ezf-btn{min-width:120px}
.ezf-report-date-filter{width:min(760px,100%);padding:14px;box-shadow:none}
.ezf-report-date-filter input[type=date]{min-height:46px;height:46px}
.ezf-single-date-filter{display:grid;grid-template-columns:minmax(220px,1fr) auto;width:min(520px,100%);padding:14px;box-shadow:none}
.ezf-single-date-filter input[type=date]{min-height:46px;height:46px}
.ezf-noncash-filter,.ezf-cash-date-filter,.ezf-customer-period-filter{margin-bottom:18px}
@media(max-width:900px){.ezf-date-filter{grid-template-columns:1fr 1fr}.ezf-date-filter>.ezf-btn{grid-column:1/-1}.ezf-report-date-filter{width:100%}.ezf-single-date-filter{grid-template-columns:1fr auto;width:100%}}
@media(max-width:700px){.ezf-date-filter{grid-template-columns:1fr;padding:16px}.ezf-date-filter>.ezf-btn{grid-column:auto;width:100%}.ezf-expense-filter-form .ezf-expense-filter-actions{display:grid;grid-template-columns:1fr;gap:9px}.ezf-expense-filter-form .ezf-expense-filter-actions .ezf-btn{width:100%}.ezf-single-date-filter{grid-template-columns:1fr;padding:16px}.ezf-topbar .ezf-date-filter{width:100%}}


/* v1.24.59 - Global modern badge and count shape normalization */
.ezf-section-title,.ezf-card-heading{align-items:center!important}
.ezf-badge,.ezf-count-badge,.ezf-notification-count-big,.ezf-ledger-count,.ezf-payment-pill,.ezf-role-badge,.ezf-status-pill,.ezf-inv-state,.ezf-count,.ezf-inv-alert{display:inline-flex!important;align-items:center;justify-content:center;width:max-content;max-width:100%;min-height:32px;height:auto;flex:0 0 auto;white-space:nowrap;line-height:1.2;box-sizing:border-box}
.ezf-badge{padding:7px 12px;border-radius:999px}
.ezf-count-badge{padding:7px 12px;border-radius:999px}
.ezf-notification-count-big{padding:8px 13px;border-radius:999px}
.ezf-ledger-count{padding:8px 12px;border-radius:999px}
.ezf-payment-pill{padding:6px 10px;border-radius:999px}
.ezf-role-badge{padding:6px 10px;border-radius:999px}
.ezf-status-pill{padding:7px 12px;border-radius:999px}
.ezf-inv-state,.ezf-inv-alert{padding:5px 9px;border-radius:999px}
.ezf-count{padding:7px 12px;border-radius:999px;background:#EEF4F5;color:var(--ezf-primary);font-size:12px;font-weight:800}
@media(max-width:768px){
 .ezf-badge,.ezf-count-badge,.ezf-notification-count-big,.ezf-ledger-count,.ezf-payment-pill,.ezf-role-badge,.ezf-status-pill,.ezf-inv-state,.ezf-count{min-height:30px;padding:6px 10px;font-size:11px}
}

/* v1.24.60 - Unified modern UI system */
:root{
 --ezf-bg:#f5f7fb;--ezf-card:#ffffff;--ezf-text:#243447;--ezf-heading:#0b1324;--ezf-muted:#64748B;
 --ezf-border:#e7ebf1;--ezf-primary:#1E3A5F;--ezf-primary-dark:#1d4ed8;--ezf-secondary:#0F172A;
 --ezf-sidebar:#0b1726;--ezf-sidebar-text:#dbe4ef;--ezf-radius:18px;--ezf-radius-sm:12px;
 --ezf-shadow:0 8px 30px rgba(15,23,42,.055);--ezf-shadow-hover:0 14px 34px rgba(15,23,42,.09)
}
html,body{background:var(--ezf-bg)!important;color:var(--ezf-text)}
body.ezf-body{font-size:14px;line-height:1.7;-webkit-font-smoothing:antialiased}
.ezf-shell{min-height:100vh}
.ezf-main{padding:28px 30px 40px}
.ezf-topbar{min-height:58px;margin-bottom:24px;align-items:center}
.ezf-topbar h1{font-size:29px;font-weight:900;letter-spacing:-.3px;color:var(--ezf-heading)}
.ezf-topbar .ezf-muted{font-size:13px;color:var(--ezf-muted)}
.ezf-sidebar{background:linear-gradient(180deg,#0b1726 0%,#101f2f 100%);box-shadow:-12px 0 35px rgba(15,23,42,.10);border-left:1px solid rgba(255,255,255,.045)}
.ezf-brand{padding:8px;border-radius:14px}
.ezf-brand:hover{background:rgba(255,255,255,.045)}
.ezf-brand-logo,.ezf-logo{box-shadow:0 8px 22px rgba(0,0,0,.16);border:1px solid rgba(15,23,42,.08)}
.ezf-sidebar nav{gap:7px}
.ezf-nav-item{min-height:48px;border:1px solid transparent;border-radius:13px;font-weight:700;color:#dbe4ef}
.ezf-nav-item:hover{background:rgba(255,255,255,.065);transform:translateX(-1px)}
.ezf-nav-item.active{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 8px 22px rgba(37,99,235,.22)}
.ezf-nav-icon{font-size:18px}
.ezf-card,.ezf-kpi,.ezf-modern-card{border:1px solid var(--ezf-border);border-radius:var(--ezf-radius);box-shadow:var(--ezf-shadow);background:#fff}
.ezf-card{padding:22px}
.ezf-card:hover,.ezf-modern-card:hover{box-shadow:var(--ezf-shadow-hover)}
.ezf-section-title,.ezf-card-head,.ezf-card-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
.ezf-section-title h2,.ezf-card h2{font-size:18px;font-weight:900;color:var(--ezf-heading)}
.ezf-section-title .ezf-muted{font-size:12px}
.ezf-grid{gap:18px;margin-bottom:20px}
.ezf-kpi{min-height:122px;padding:20px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}
.ezf-kpi:before{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:var(--ezf-primary);border-radius:0 18px 18px 0}
.ezf-kpi strong{font-size:27px;font-weight:900;color:var(--ezf-heading);font-variant-numeric:tabular-nums}
.ezf-kpi span,.ezf-kpi small{font-size:12px;font-weight:700}
.ezf-kpi-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#eff6ff;font-size:20px}
.ezf-btn{border-radius:12px;min-height:46px;padding:11px 18px;font-weight:900;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.ezf-btn.primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 7px 18px rgba(37,99,235,.18)}
.ezf-btn.primary:hover{box-shadow:0 10px 24px rgba(37,99,235,.24);transform:translateY(-1px)}
.ezf-btn.danger{background:#dc2626}.ezf-btn.danger-outline{border-radius:12px}
.ezf-card input,.ezf-card select,.ezf-card textarea,.ezf-search-form input,.ezf-search-form select{
 min-height:48px;border:1px solid #d9e0e8;border-radius:12px;background:#fff;padding:11px 13px;color:var(--ezf-text);transition:border-color .16s,box-shadow .16s,background .16s
}
.ezf-card input:hover,.ezf-card select:hover,.ezf-card textarea:hover{border-color:#c5ceda}
.ezf-card input:focus,.ezf-card select:focus,.ezf-card textarea:focus{border-color:#7aa2f7;box-shadow:0 0 0 4px rgba(37,99,235,.09)}
.ezf-card label{font-weight:800;color:#344054}
.ezf-table-wrap{border:1px solid var(--ezf-border);background:#fff;border-radius:14px}
.ezf-table-wrap table{min-width:680px}
.ezf-table-wrap th{background:#f8fafc;color:#344054;font-size:12px;padding:14px;border-bottom:1px solid #e7ebf1}
.ezf-table-wrap td{padding:14px;font-size:13px;border-bottom:1px solid #eef1f5}
.ezf-table-wrap tbody tr:last-child td{border-bottom:0}
.ezf-table-wrap tbody tr:hover td{background:#fbfcfe}
.ezf-alert{border:1px solid transparent;border-radius:14px}
.ezf-alert.error{border-color:#fecaca}.ezf-alert.success{border-color:#bbf7d0}.ezf-alert.warning{border-color:#fed7aa}

/* All pills, counts and compact statuses: never stretch with their parent */
.ezf-badge,.ezf-count-badge,.ezf-notification-count-big,.ezf-ledger-count,.ezf-payment-pill,.ezf-role-badge,.ezf-status-pill,.ezf-inv-state,.ezf-inv-alert,.ezf-count,
.ezf-status,.ezf-source-number,.ezf-card-kicker,.ezf-card-kicker span,.ezf-version{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;
 width:fit-content!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:28px!important;flex:0 0 auto!important;
 padding:6px 10px!important;border-radius:999px!important;white-space:nowrap!important;line-height:1.25!important;box-sizing:border-box!important;
}
.ezf-count{background:#eef4f8!important;color:#2563eb!important;font-weight:900!important;font-size:11px!important}
.ezf-badge{font-weight:800!important}
.ezf-status-pill,.ezf-inv-state{font-size:11px!important;font-weight:800!important}
.ezf-notification-count-big{font-size:12px!important}
.ezf-ledger-count{font-size:11px!important}
.ezf-version{background:rgba(37,99,235,.08)!important;color:#2563eb!important;font-size:11px!important}

/* Section headings with a pill on either side */
.ezf-section-title>div,.ezf-card-head>div,.ezf-card-heading>div{min-width:0}
.ezf-section-title>.ezf-badge,.ezf-section-title>.ezf-count,.ezf-card-head>.ezf-badge,.ezf-card-heading>.ezf-badge{margin-inline-start:auto}

/* Date filters */
.ezf-date-filter{background:#fff!important;border:1px solid var(--ezf-border)!important;border-radius:16px!important;padding:16px!important;box-shadow:var(--ezf-shadow)!important}
.ezf-date-filter label{font-size:12px!important;color:#475467!important}
.ezf-date-filter input[type=date]{background:#fbfcfe!important;border-radius:12px!important;border-color:#d9e0e8!important}
.ezf-date-filter>.ezf-btn{min-width:96px}

/* Common modern layouts */
.ezf-modern-kpi-grid,.ezf-products-kpis,.ezf-inventory-kpis,.ezf-cash-kpis,.ezf-noncash-kpis,.ezf-noncash-summary-kpis,.ezf-treasury-main-kpis,.ezf-shipment-kpis{gap:16px!important}
.ezf-modern-kpi,.ezf-inv-kpi,.ezf-method-kpi,.ezf-modern-card{border:1px solid var(--ezf-border)!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--ezf-shadow)!important}
.ezf-modern-kpi:hover,.ezf-inv-kpi:hover,.ezf-method-kpi:hover{transform:translateY(-1px);box-shadow:var(--ezf-shadow-hover)!important}
.ezf-empty-state,.ezf-inventory-empty{border:1px dashed #cfd7e3!important;border-radius:16px!important;background:#fbfcfe!important;padding:28px!important;color:var(--ezf-muted)!important}
.ezf-progress,.ezf-inv-progress,.ezf-roll-progress-detail{border-radius:999px!important;overflow:hidden}
.ezf-info-box,.ezf-readonly,.ezf-note,.ezf-field-hint{border-radius:12px!important;background:#f8fafc!important;border-color:#e4e9f0!important}
.ezf-upload-box,.ezf-upload-modern,.ezf-invoice-paper-upload,.ezf-cancel-photo-upload{border-radius:14px!important;border:1px dashed #b8c5d6!important;background:#f9fbfd!important}

/* Forms and repeated item cards */
.ezf-form-grid,.ezf-form-grid-two,.ezf-form-grid,.ezf-shipment-fields,.ezf-customer-form-grid,.ezf-user-form-grid{gap:14px!important}
.ezf-item,.ezf-edit-item,.ezf-shipment-item,.ezf-review-item,.ezf-roll-card,.ezf-inventory-product-card{border:1px solid var(--ezf-border)!important;border-radius:15px!important;background:#fff!important;box-shadow:0 5px 18px rgba(15,23,42,.035)!important}
.ezf-item:hover,.ezf-edit-item:hover,.ezf-shipment-item:hover,.ezf-roll-card:hover,.ezf-inventory-product-card:hover{box-shadow:0 10px 24px rgba(15,23,42,.07)!important}
.ezf-actions,.ezf-actions-inline,.ezf-inline-actions,.ezf-detail-actions{gap:8px!important}
.ezf-back-link{font-weight:800;color:#475467}

/* Search and toolbar */
.ezf-search-form{background:#fff;border:1px solid var(--ezf-border);border-radius:15px;padding:12px;box-shadow:var(--ezf-shadow)}
.ezf-bulk-toolbar,.ezf-action-bar{border-radius:14px!important;background:#f8fafc!important;border:1px solid #e7ebf1!important;padding:12px!important}

/* Sidebar profile */
.ezf-sidebar-profile{border-radius:15px!important;padding:11px!important;background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.06)!important}
.ezf-sidebar-notifications{border-radius:14px!important}

/* Invoice and print screen */
.ezf-invoice{background:#fff!important;border:1px solid var(--ezf-border)!important;border-radius:20px!important;box-shadow:0 12px 35px rgba(15,23,42,.07)!important}
.ezf-invoice-head{border-bottom-color:#dfe5ec!important}
.ezf-invoice-meta>div{border:1px solid var(--ezf-border);border-radius:12px;padding:12px;background:#fbfcfe}
.ezf-invoice-total>div{padding:10px 0;border-bottom-color:#e7ebf1}

/* Notifications */
.ezf-notification-list{gap:9px!important}
.ezf-notification-row{border:1px solid var(--ezf-border)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 4px 15px rgba(15,23,42,.035)!important}
.ezf-notification-row:hover{background:#f8fafc!important}

/* Keep long data from destroying layout */
.ezf-card,.ezf-kpi,.ezf-modern-card,.ezf-item,.ezf-roll-card,.ezf-inventory-product-card{overflow:hidden}
.ezf-card table,.ezf-kpi strong,.ezf-modern-kpi strong{font-variant-numeric:tabular-nums}

@media(max-width:1100px){
 .ezf-main{padding:24px 20px 35px}
 .ezf-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ezf-topbar h1{font-size:26px}
}
@media(max-width:768px){
 .ezf-main{padding:18px 13px 96px}
 .ezf-topbar{margin-bottom:16px;display:block}
 .ezf-topbar h1{font-size:23px}
 .ezf-card{padding:16px;border-radius:15px}
 .ezf-grid,.ezf-grid.four,.ezf-grid.three,.ezf-grid.two{grid-template-columns:1fr;gap:12px}
 .ezf-kpi{min-height:104px;padding:16px}
 .ezf-kpi strong{font-size:23px}
 .ezf-section-title{align-items:flex-start}
 .ezf-section-title>.ezf-badge,.ezf-section-title>.ezf-count{margin-inline-start:0}
 .ezf-table-wrap{border-radius:12px}
 .ezf-table-wrap th,.ezf-table-wrap td{padding:11px 9px;font-size:12px}
 .ezf-date-filter{padding:13px!important}
 .ezf-date-filter input[type=date]{min-height:48px!important;height:48px!important}
 .ezf-btn{min-height:46px}
}
@media(max-width:480px){
 .ezf-main{padding-inline:10px}
 .ezf-topbar h1{font-size:21px}
 .ezf-kpi strong{font-size:21px}
 .ezf-section-title h2,.ezf-card h2{font-size:16px}
 .ezf-badge,.ezf-count,.ezf-status-pill,.ezf-inv-state{font-size:10px!important}
}

/* v1.24.61 - Date filter refinement: compact, aligned and consistent across the ERP */
.ezf-date-filter{box-sizing:border-box!important;align-items:end!important}
.ezf-date-filter .ezf-date-field{min-width:0;display:flex!important;flex-direction:column!important;gap:7px!important}
.ezf-date-filter .ezf-date-field label{margin:0!important;font-size:12px!important;font-weight:800!important;color:#475467!important;line-height:1.5!important}
.ezf-date-filter .ezf-date-field input[type=date]{width:100%!important;min-width:0!important;height:48px!important;min-height:48px!important;box-sizing:border-box!important}
/* Single-date pages: one compact field + action, never a tall 3-row card */
.ezf-single-date-filter{display:grid!important;grid-template-columns:minmax(220px,1fr) auto!important;gap:12px!important;align-items:end!important;width:min(430px,100%)!important;padding:14px!important}
.ezf-single-date-filter .ezf-btn{height:48px!important;min-height:48px!important;padding-inline:24px!important;white-space:nowrap!important}
/* Range filters: from / to / action in one clean row */
.ezf-report-date-filter{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto!important;gap:12px!important;align-items:end!important;width:min(760px,100%)!important;padding:14px!important}
.ezf-report-date-filter .ezf-btn{height:48px!important;min-height:48px!important;white-space:nowrap!important}
.ezf-expense-filter-form{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto!important}
.ezf-expense-filter-actions{align-self:end!important}
.ezf-expense-filter-actions .ezf-btn{height:48px!important;min-height:48px!important}
.ezf-noncash-filter,.ezf-customer-period-filter,.ezf-cash-date-filter{align-items:end!important}
.ezf-noncash-filter>div,.ezf-customer-period-filter>div,.ezf-cash-date-filter>div{display:flex;flex-direction:column;gap:7px}
.ezf-noncash-filter input[type=date],.ezf-customer-period-filter input[type=date],.ezf-cash-date-filter input[type=date]{height:48px!important;min-height:48px!important;box-sizing:border-box!important}
@media(max-width:900px){
 .ezf-report-date-filter{grid-template-columns:1fr 1fr auto!important;width:100%!important}
 .ezf-expense-filter-form{grid-template-columns:1fr 1fr auto!important}
}
@media(max-width:700px){
 .ezf-single-date-filter{grid-template-columns:1fr!important;width:100%!important;padding:14px!important}
 .ezf-single-date-filter .ezf-btn{width:100%!important}
 .ezf-report-date-filter,.ezf-expense-filter-form{grid-template-columns:1fr!important}
 .ezf-report-date-filter .ezf-btn,.ezf-expense-filter-actions,.ezf-expense-filter-actions .ezf-btn{width:100%!important}
}

/* v1.24.63 - Complete Theme / Brand System */
:root{
  --ezf-success:#17865B;--ezf-danger:#D64545;--ezf-warning:#C27A16;--ezf-info:#3578C8;
  --ezf-link:var(--ezf-primary);--ezf-hover:#EEF4F5;--ezf-sidebar-hover:#1B3140;--ezf-sidebar-active:var(--ezf-primary);
  --ezf-table-header:#F5F8FA;--ezf-focus:var(--ezf-primary);--ezf-icon-bg:#EEF4F5;--ezf-badge-bg:#E8F1F2;--ezf-badge-text:var(--ezf-primary);
}
.ezf-theme-color-sections{display:grid;gap:18px}.ezf-theme-color-group{padding:18px;border:1px solid var(--ezf-border);border-radius:18px;background:color-mix(in srgb,var(--ezf-card) 94%,var(--ezf-bg))}.ezf-theme-group-head{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin-bottom:14px}.ezf-theme-group-head strong{font-size:16px;color:var(--ezf-heading)}.ezf-theme-group-head small{color:var(--ezf-muted);font-size:11px}.ezf-color-field{padding:12px;border:1px solid var(--ezf-border);border-radius:14px;background:var(--ezf-card);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.ezf-color-field:hover{border-color:var(--ezf-primary);box-shadow:0 6px 18px rgba(15,23,42,.06);transform:translateY(-1px)}.ezf-color-field>label{display:block!important;margin:0 0 9px!important;font-size:12px!important;font-weight:800!important;color:var(--ezf-text)}.ezf-color-field>div{display:grid;grid-template-columns:48px minmax(0,1fr);gap:9px;align-items:center}.ezf-color-input{width:48px!important;height:40px!important;min-height:40px!important;padding:3px!important;border:1px solid var(--ezf-border)!important;border-radius:10px!important;background:var(--ezf-card)!important;cursor:pointer}.ezf-color-text{width:100%!important;min-height:40px!important;box-sizing:border-box!important;padding:8px 10px!important;border:1px solid var(--ezf-border)!important;border-radius:10px!important;background:var(--ezf-input-bg)!important;color:var(--ezf-muted)!important;font-family:monospace!important;direction:ltr;text-align:left}.ezf-color-input:focus{outline:3px solid color-mix(in srgb,var(--ezf-focus) 18%,transparent)!important}.ezf-theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.ezf-theme-options>div{padding:14px;border:1px solid var(--ezf-border);border-radius:14px;background:var(--ezf-card)}.ezf-theme-options label{display:block;margin-bottom:7px;font-size:12px;font-weight:800;color:var(--ezf-text)}
.ezf-sidebar{background:linear-gradient(180deg,var(--ezf-sidebar) 0%,color-mix(in srgb,var(--ezf-sidebar) 86%,var(--ezf-secondary)) 100%)}.ezf-nav-item{color:var(--ezf-sidebar-text)}.ezf-nav-item:hover{background:var(--ezf-sidebar-hover);color:#fff;border-color:color-mix(in srgb,var(--ezf-sidebar-text) 10%,transparent)}.ezf-nav-item.active{background:var(--ezf-sidebar-active);color:#fff}.ezf-sidebar-notifications:hover{background:var(--ezf-sidebar-hover)}
.ezf-btn.primary,.ezf-btn.pdf{background:var(--ezf-primary);color:var(--ezf-button-text)}.ezf-btn.primary:hover,.ezf-btn.pdf:hover{background:color-mix(in srgb,var(--ezf-primary) 88%,#000)}.ezf-btn.danger,.ezf-btn.delete{color:var(--ezf-danger)}.ezf-btn.success{background:var(--ezf-success);color:#fff}.ezf-btn.warning{background:var(--ezf-warning);color:#fff}.ezf-btn.info{background:var(--ezf-info);color:#fff}
.ezf-card input,.ezf-card select,.ezf-card textarea,.ezf-field input,.ezf-field select,.ezf-field textarea{background:var(--ezf-input-bg);border-color:var(--ezf-border);color:var(--ezf-text)}.ezf-card input:focus,.ezf-card select:focus,.ezf-card textarea:focus,.ezf-field input:focus,.ezf-field select:focus,.ezf-field textarea:focus{border-color:var(--ezf-focus);box-shadow:0 0 0 3px color-mix(in srgb,var(--ezf-focus) 14%,transparent)}
.ezf-table-wrap th{background:var(--ezf-table-header);color:var(--ezf-heading)}.ezf-table-wrap tr:hover td{background:var(--ezf-hover)}
.ezf-badge,.ezf-count-badge,.ezf-role-badge{background:var(--ezf-badge-bg);color:var(--ezf-badge-text)}.ezf-dashboard-kpi-icon,.ezf-modern-kpi-icon,.ezf-inv-kpi-icon{background:var(--ezf-icon-bg);color:var(--ezf-primary)}
.ezf-alert.success{background:color-mix(in srgb,var(--ezf-success) 9%,var(--ezf-card));color:var(--ezf-success);border-color:color-mix(in srgb,var(--ezf-success) 22%,var(--ezf-border))}.ezf-alert.error{background:color-mix(in srgb,var(--ezf-danger) 8%,var(--ezf-card));color:var(--ezf-danger);border-color:color-mix(in srgb,var(--ezf-danger) 20%,var(--ezf-border))}.ezf-alert.warning{background:color-mix(in srgb,var(--ezf-warning) 9%,var(--ezf-card));color:var(--ezf-warning)}.ezf-alert.info{background:color-mix(in srgb,var(--ezf-info) 8%,var(--ezf-card));color:var(--ezf-info)}
a:not(.ezf-btn){color:var(--ezf-link)}
.ezf-theme-preview-live{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.ezf-theme-preview-live>div{border:1px solid var(--ezf-border);border-radius:14px;padding:14px;background:var(--ezf-card)}.ezf-theme-preview-live .preview-primary{background:var(--ezf-primary);color:var(--ezf-button-text);border-color:transparent}.ezf-theme-preview-live .preview-sidebar{background:var(--ezf-sidebar);color:var(--ezf-sidebar-text)}
@media(max-width:700px){.ezf-theme-options{grid-template-columns:1fr}.ezf-theme-group-head{display:block}.ezf-theme-group-head small{display:block;margin-top:4px}.ezf-theme-color-group{padding:13px}.ezf-color-grid{grid-template-columns:1fr 1fr!important}.ezf-theme-preview-live{grid-template-columns:1fr}}
@media(max-width:480px){.ezf-color-grid{grid-template-columns:1fr!important}}


/* v1.24.64 - Identity / Theme controls layout polish */
.ezf-identity-layout{grid-template-columns:minmax(320px,.85fr) minmax(520px,1.15fr)!important;align-items:start!important}
.ezf-identity-layout>.ezf-card{min-width:0!important}
.ezf-identity-layout>.ezf-card:nth-child(2){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:8px}
.ezf-identity-layout>.ezf-card:nth-child(2)>.ezf-section-title,
.ezf-identity-layout>.ezf-card:nth-child(2)>.ezf-current-logo,
.ezf-identity-layout>.ezf-card:nth-child(2)>.ezf-field-hint{grid-column:1/-1}
.ezf-identity-layout>.ezf-card:nth-child(2)>label{align-self:end;margin-top:6px}
.ezf-identity-layout>.ezf-card:nth-child(2)>input,
.ezf-identity-layout>.ezf-card:nth-child(2)>select{width:100%!important;min-width:0!important;height:50px!important;min-height:50px!important;box-sizing:border-box!important;margin:0!important}
.ezf-identity-layout>.ezf-card:nth-child(2)>.ezf-section-title{margin-bottom:4px}
.ezf-theme-color-sections{gap:14px!important}
.ezf-theme-color-group{padding:16px!important}
.ezf-theme-group-head{margin-bottom:12px!important}
.ezf-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px!important}
.ezf-color-field{min-width:0!important;padding:11px!important;border-radius:13px!important}
.ezf-color-field>label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ezf-color-field>div{grid-template-columns:44px minmax(0,1fr)!important;gap:8px!important}
.ezf-color-input{width:44px!important;height:42px!important;min-height:42px!important}
.ezf-color-text{height:42px!important;min-height:42px!important;font-size:12px!important}
.ezf-theme-options{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.ezf-theme-options>div{min-width:0!important;padding:13px!important}
.ezf-theme-options select{width:100%!important;height:46px!important;min-height:46px!important;box-sizing:border-box!important}
.ezf-identity-layout>.ezf-card:nth-child(3){grid-column:1/-1!important}
@media(max-width:1200px){
  .ezf-identity-layout{grid-template-columns:1fr!important}
  .ezf-identity-layout>.ezf-card:nth-child(3){grid-column:auto!important}
  .ezf-theme-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  .ezf-identity-layout>.ezf-card:nth-child(2){grid-template-columns:1fr}
  .ezf-identity-layout>.ezf-card:nth-child(2)>.ezf-section-title,
  .ezf-identity-layout>.ezf-card:nth-child(2)>.ezf-current-logo,
  .ezf-identity-layout>.ezf-card:nth-child(2)>.ezf-field-hint{grid-column:auto}
  .ezf-color-grid,.ezf-theme-options{grid-template-columns:1fr 1fr!important}
}
@media(max-width:480px){.ezf-color-grid,.ezf-theme-options{grid-template-columns:1fr!important}}


/* v1.24.65 - Move and polish site identity card */
.ezf-identity-layout{display:grid!important;grid-template-columns:minmax(320px,.85fr) minmax(520px,1.15fr)!important;gap:18px!important;align-items:start!important}
.ezf-site-identity-card{grid-column:1/-1!important;display:block!important;padding:18px 20px!important;background:linear-gradient(135deg,var(--ezf-card),color-mix(in srgb,var(--ezf-primary) 3%,var(--ezf-card)))!important;border-color:color-mix(in srgb,var(--ezf-primary) 18%,var(--ezf-border))!important}
.ezf-site-identity-card .ezf-section-title{align-items:center!important;margin-bottom:12px!important}
.ezf-site-identity-card .ezf-section-title h2{margin:0 0 3px!important}
.ezf-identity-badge{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 12px;border-radius:999px;background:var(--ezf-badge-bg);color:var(--ezf-badge-text);font-size:12px;font-weight:800;white-space:nowrap}
.ezf-site-identity-row{display:grid;grid-template-columns:minmax(300px,1fr) minmax(280px,1fr);gap:12px;align-items:stretch}
.ezf-site-identity-id,.ezf-site-identity-note{min-width:0;min-height:94px;margin:0!important;padding:13px 15px!important;border-radius:13px!important}
.ezf-site-identity-id code{font-size:13px;line-height:1.5}
.ezf-site-identity-note{display:grid;gap:5px;background:color-mix(in srgb,var(--ezf-primary) 5%,var(--ezf-card));border:1px dashed color-mix(in srgb,var(--ezf-primary) 22%,var(--ezf-border));color:var(--ezf-muted);line-height:1.8}
.ezf-site-identity-note strong{color:var(--ezf-heading);font-size:13px}
.ezf-site-identity-note span{font-size:12px}
.ezf-identity-preview{grid-column:1!important}
.ezf-identity-layout>.ezf-card:nth-child(3){grid-column:auto!important}
.ezf-identity-layout>.ezf-identity-save-card{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:15px 18px!important}
.ezf-save-identity-copy{display:grid;gap:3px}
.ezf-save-identity-copy strong{font-size:14px;color:var(--ezf-heading)}
.ezf-save-identity-copy span{font-size:12px;color:var(--ezf-muted)}
.ezf-identity-save-card .ezf-save-identity{width:auto!important;min-width:220px!important;margin:0!important}
@media(max-width:1200px){.ezf-identity-layout{grid-template-columns:1fr 1fr!important}.ezf-site-identity-card,.ezf-identity-save-card{grid-column:1/-1!important}}
@media(max-width:700px){.ezf-identity-layout{grid-template-columns:1fr!important}.ezf-site-identity-row{grid-template-columns:1fr!important}.ezf-site-identity-card,.ezf-identity-preview,.ezf-identity-layout>.ezf-card:nth-child(3),.ezf-identity-save-card{grid-column:auto!important}.ezf-identity-save-card{display:grid!important}.ezf-identity-save-card .ezf-save-identity{width:100%!important;min-width:0!important}}


/* v1.24.66 - Identity page layout overhaul */
.ezf-identity-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:20px!important;align-items:start!important}
.ezf-identity-layout>.ezf-site-identity-card{grid-column:1/-1!important}
.ezf-identity-layout>.ezf-card:nth-child(2),.ezf-identity-layout>.ezf-card:nth-child(3){grid-column:auto!important}
.ezf-identity-layout>.ezf-card:nth-child(4){grid-column:1/-1!important}
.ezf-identity-layout>.ezf-identity-save-card{grid-column:1/-1!important}
.ezf-site-identity-card{width:100%!important;box-sizing:border-box!important}
.ezf-identity-layout>.ezf-card:nth-child(4){width:100%!important;box-sizing:border-box!important}
.ezf-theme-color-sections{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:start!important}
.ezf-theme-color-group{min-width:0!important;background:var(--ezf-card)!important;border:1px solid var(--ezf-border)!important;border-radius:16px!important;padding:18px!important;box-sizing:border-box!important}
.ezf-theme-group-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important;padding-bottom:10px!important;border-bottom:1px solid var(--ezf-border)!important}
.ezf-theme-group-head strong{font-size:15px!important;color:var(--ezf-heading)!important}
.ezf-theme-group-head small{font-size:11px!important;color:var(--ezf-muted)!important}
.ezf-color-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.ezf-color-field{min-width:0!important;background:var(--ezf-input-bg)!important;border:1px solid var(--ezf-border)!important;border-radius:12px!important;padding:10px!important;box-sizing:border-box!important}
.ezf-color-field>label{display:block!important;font-size:12px!important;font-weight:800!important;color:var(--ezf-text)!important;margin:0 0 8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ezf-color-field>div{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:7px!important;align-items:center!important}
.ezf-color-input{width:42px!important;height:40px!important;min-height:40px!important;padding:3px!important;border:1px solid var(--ezf-border)!important;border-radius:9px!important;background:var(--ezf-card)!important;box-sizing:border-box!important}
.ezf-color-text{width:100%!important;height:40px!important;min-height:40px!important;padding:0 9px!important;border:1px solid var(--ezf-border)!important;border-radius:9px!important;background:var(--ezf-card)!important;color:var(--ezf-text)!important;box-sizing:border-box!important;font-size:12px!important;text-align:center!important}
.ezf-theme-options{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;margin-top:16px!important;padding-top:16px!important;border-top:1px solid var(--ezf-border)!important}
.ezf-theme-options>div{min-width:0!important;padding:13px!important;background:var(--ezf-input-bg)!important;border:1px solid var(--ezf-border)!important;border-radius:13px!important;box-sizing:border-box!important}
.ezf-theme-options label{display:block!important;margin:0 0 8px!important;font-weight:800!important;color:var(--ezf-text)!important;font-size:12px!important}
.ezf-theme-options select{width:100%!important;height:46px!important;min-height:46px!important;margin:0!important;box-sizing:border-box!important}
.ezf-identity-save-card{min-height:82px!important}
@media(max-width:1100px){.ezf-theme-color-sections{grid-template-columns:1fr!important}.ezf-theme-options{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:850px){.ezf-identity-layout{grid-template-columns:1fr!important}.ezf-identity-layout>.ezf-site-identity-card,.ezf-identity-layout>.ezf-card:nth-child(2),.ezf-identity-layout>.ezf-card:nth-child(3),.ezf-identity-layout>.ezf-card:nth-child(4),.ezf-identity-layout>.ezf-identity-save-card{grid-column:auto!important}.ezf-theme-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.ezf-color-grid,.ezf-theme-options{grid-template-columns:1fr!important}.ezf-theme-group-head{display:block!important}.ezf-theme-group-head small{display:block!important;margin-top:4px!important}}


/* v1.24.67 - Identity page definitive layout reset */
.ezf-identity-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:20px!important;
  width:100%!important;
  max-width:none!important;
  align-items:start!important;
}
.ezf-identity-layout > .ezf-site-identity-card,
.ezf-identity-layout > .ezf-identity-save-card{
  grid-column:1 / -1!important;
  width:100%!important;
}
.ezf-identity-layout > .ezf-identity-preview,
.ezf-identity-layout > .ezf-shop-data-card{
  grid-column:auto!important;
  width:100%!important;
  min-width:0!important;
}
.ezf-shop-data-card{overflow:visible!important}
.ezf-identity-fields{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:start!important;
}
.ezf-identity-field{min-width:0!important;display:flex!important;flex-direction:column!important;gap:7px!important}
.ezf-identity-field-wide{grid-column:1 / -1!important}
.ezf-identity-field > label{
  display:block!important;
  margin:0!important;
  font-size:13px!important;
  font-weight:900!important;
  color:var(--ezf-heading)!important;
  line-height:1.6!important;
}
.ezf-identity-field > input[type=text],
.ezf-identity-field > input[type=file],
.ezf-identity-field > select,
.ezf-identity-field > input[readonly]{
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid var(--ezf-border)!important;
  border-radius:12px!important;
  background:var(--ezf-input-bg)!important;
  color:var(--ezf-text)!important;
  box-sizing:border-box!important;
}
.ezf-identity-field > input[type=file]{padding:7px 10px!important;line-height:32px!important}
.ezf-identity-field .ezf-current-logo{margin:0!important}
.ezf-identity-fields > .ezf-current-logo,
.ezf-identity-fields > .ezf-field-hint{grid-column:1 / -1!important}
.ezf-shop-data-card .ezf-field-hint{margin:0!important}
.ezf-identity-layout > .ezf-card:nth-child(4){grid-column:1 / -1!important;width:100%!important}
.ezf-theme-color-sections{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
}
.ezf-theme-color-group{
  min-width:0!important;
  width:100%!important;
  padding:18px!important;
  border:1px solid var(--ezf-border)!important;
  border-radius:16px!important;
  background:var(--ezf-card)!important;
  box-sizing:border-box!important;
}
.ezf-color-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
}
.ezf-color-field{
  min-width:0!important;
  padding:11px!important;
  border:1px solid var(--ezf-border)!important;
  border-radius:12px!important;
  background:var(--ezf-input-bg)!important;
  box-sizing:border-box!important;
}
.ezf-color-field > div{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:8px!important;align-items:center!important}
.ezf-color-field > label{margin:0 0 8px!important;font-weight:900!important;font-size:12px!important;line-height:1.5!important}
.ezf-theme-options{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:12px!important;
  margin-top:16px!important;
  padding-top:16px!important;
  border-top:1px solid var(--ezf-border)!important;
}
.ezf-theme-options > div{min-width:0!important;padding:13px!important;border:1px solid var(--ezf-border)!important;border-radius:13px!important;background:var(--ezf-input-bg)!important;box-sizing:border-box!important}
.ezf-theme-options select{width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;margin:0!important}
.ezf-identity-save-card{min-height:82px!important}
@media(max-width:1100px){
  .ezf-identity-layout{grid-template-columns:1fr 1fr!important}
  .ezf-theme-color-sections{grid-template-columns:1fr!important}
  .ezf-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .ezf-theme-options{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:800px){
  .ezf-identity-layout{grid-template-columns:1fr!important}
  .ezf-identity-layout > .ezf-site-identity-card,
  .ezf-identity-layout > .ezf-identity-preview,
  .ezf-identity-layout > .ezf-shop-data-card,
  .ezf-identity-layout > .ezf-card:nth-child(4),
  .ezf-identity-layout > .ezf-identity-save-card{grid-column:1 / -1!important}
  .ezf-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ezf-theme-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
  .ezf-identity-fields,.ezf-color-grid,.ezf-theme-options{grid-template-columns:1fr!important}
  .ezf-identity-field-wide{grid-column:auto!important}
}

/* v1.24.68 - Identity page professional balanced layout */
.ezf-identity-layout{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:20px!important;
  width:100%!important;
  max-width:100%!important;
  align-items:stretch!important;
}
.ezf-identity-layout > .ezf-site-identity-card,
.ezf-identity-layout > .ezf-identity-preview,
.ezf-identity-layout > .ezf-shop-data-card,
.ezf-identity-layout > .ezf-card:nth-child(4),
.ezf-identity-layout > .ezf-identity-save-card{
  grid-column:1!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

/* Business data: clear hierarchy and equal field widths */
.ezf-shop-data-card{padding:22px!important}
.ezf-shop-data-card .ezf-identity-fields{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
  align-items:start!important;
}
.ezf-shop-data-card .ezf-identity-field-wide{grid-column:1/-1!important}
.ezf-shop-data-card .ezf-current-logo{
  min-height:96px!important;
  margin:0!important;
  padding:12px 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  box-sizing:border-box!important;
}
.ezf-shop-data-card .ezf-field-hint{grid-column:1/-1!important;margin:0!important}
.ezf-shop-data-card .ezf-identity-field input[type=file]{font-size:13px!important}

/* Live preview: compact horizontal presentation */
.ezf-identity-preview{padding:22px!important}
.ezf-identity-preview .ezf-brand-preview{
  min-height:92px!important;
  padding:15px 18px!important;
  display:flex!important;
  align-items:center!important;
}
.ezf-identity-preview .ezf-preview-palette{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  margin:14px 0!important;
}
.ezf-identity-preview .ezf-preview-note{margin:0!important}

/* Color controls: two equal groups per row, four equal fields inside each group */
.ezf-identity-layout > .ezf-card:nth-child(4){padding:22px!important}
.ezf-theme-color-sections{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
}
.ezf-theme-color-group{
  width:100%!important;
  min-width:0!important;
  padding:17px!important;
  box-sizing:border-box!important;
}
.ezf-color-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
}
.ezf-color-field{
  width:100%!important;
  min-width:0!important;
  min-height:102px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  padding:11px!important;
  box-sizing:border-box!important;
}
.ezf-color-field>label{
  min-height:36px!important;
  display:flex!important;
  align-items:flex-start!important;
  line-height:1.5!important;
}
.ezf-color-field>div{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  gap:7px!important;
  width:100%!important;
  align-items:center!important;
}
.ezf-color-input{width:44px!important;height:40px!important;min-width:44px!important}
.ezf-color-text{width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important}

/* Typography / layout controls */
.ezf-theme-options{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
}
.ezf-theme-options>div{min-width:0!important}
.ezf-theme-options select{width:100%!important;min-width:0!important}

.ezf-identity-save-card{
  min-height:82px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
}
.ezf-identity-save-card .ezf-save-identity{
  width:auto!important;
  min-width:240px!important;
  margin:0!important;
}

@media(max-width:1200px){
  .ezf-shop-data-card .ezf-identity-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ezf-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .ezf-theme-options{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:850px){
  .ezf-theme-color-sections{grid-template-columns:1fr!important}
  .ezf-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ezf-theme-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .ezf-shop-data-card .ezf-identity-fields,
  .ezf-color-grid,
  .ezf-theme-options{grid-template-columns:1fr!important}
  .ezf-shop-data-card .ezf-identity-field-wide{grid-column:auto!important}
  .ezf-shop-data-card .ezf-field-hint{grid-column:auto!important}
  .ezf-identity-save-card{display:grid!important}
  .ezf-identity-save-card .ezf-save-identity{width:100%!important;min-width:0!important}
}

/* v1.24.80: payroll delete action uses white text */
.ezf-payroll-actions .ezf-btn.danger{background:#dc2626 !important;color:#fff !important;border-color:#dc2626 !important}


/* v1.24.81 - Link and button contrast polish
   Normal system links use the theme blue. Sidebar navigation stays white. */
a:not(.ezf-btn){color:var(--ezf-link,#1E3A5F)}
a:not(.ezf-btn):hover{color:color-mix(in srgb,var(--ezf-link,#1E3A5F) 82%,#000)}
.ezf-sidebar a:not(.ezf-btn),
.ezf-sidebar .ezf-brand,
.ezf-sidebar .ezf-nav-item,
.ezf-sidebar .ezf-brand-copy a{color:#fff}
.ezf-sidebar .ezf-nav-item{color:var(--ezf-sidebar-text,#E5E7EB)}
.ezf-sidebar .ezf-nav-item:hover,.ezf-sidebar .ezf-nav-item.active{color:#fff}

/* Every filled button gets readable text against its own background. */
.ezf-btn{background:var(--ezf-card,#fff);color:var(--ezf-primary,#1E3A5F);border:1px solid var(--ezf-border,#D9E0E7)}
.ezf-btn.primary,.ezf-btn.pdf{color:#fff!important}
.ezf-btn.danger{color:#fff!important;background:var(--ezf-danger,#C83E4D);border-color:var(--ezf-danger,#C83E4D)}
.ezf-btn.delete{color:#fff!important;background:var(--ezf-danger,#C83E4D);border-color:var(--ezf-danger,#C83E4D)}
.ezf-btn.success{color:#fff!important;background:var(--ezf-success,#16835B);border-color:var(--ezf-success,#16835B)}
.ezf-btn.warning{color:#fff!important;background:var(--ezf-warning,#B7791F);border-color:var(--ezf-warning,#B7791F)}
.ezf-btn.info{color:#fff!important;background:var(--ezf-info,#356EA8);border-color:var(--ezf-info,#356EA8)}
.ezf-btn.danger-outline{background:#fff;color:#B42318!important;border:1px solid #FECACA}
.ezf-btn.ezf-export-btn,.ezf-btn.ezf-xlsx-btn{background:#F8FAFC;color:var(--ezf-primary,#1E3A5F);border:1px solid var(--ezf-border,#D9E0E7)}
.ezf-sidebar .ezf-btn{color:#fff}

/* v1.25.56 - PWA install bar is fixed on every viewport and never participates in the desktop flex layout */
[data-ezf-pwa-install][hidden]{display:none!important}
.ezf-pwa-install-bar-icon,.ezf-pwa-install-bar-arrow{line-height:1}
.ezf-pwa-install-bar-text{font-family:inherit}

/* Push notification activation */
.ezf-pwa-notify-btn{width:calc(100% - 20px);margin:6px 10px;border:0;cursor:pointer;justify-content:center;font-family:inherit;color:inherit;background:rgba(255,255,255,.035);display:flex;align-items:center;gap:10px;text-align:right;padding:12px 14px;border-radius:14px}
.ezf-pwa-notify-btn.is-enabled{opacity:.72;cursor:default}
.ezf-pwa-notify-btn[hidden]{display:none!important}

.ezf-section-activity-log{margin-top:20px}.ezf-section-activity-log .ezf-section-title{align-items:flex-start}.ezf-section-activity-log table{min-width:760px}.ezf-section-activity-log .ezf-table-wrap{overflow:auto}
@media(max-width:700px){.ezf-section-activity-log table{min-width:650px}.ezf-section-activity-log{padding:15px}.ezf-section-activity-log .ezf-section-title{display:block}.ezf-section-activity-log .ezf-count-badge{display:inline-block;margin-top:8px}}

/* v1.25.11 - predictive quick search + unified "not found" state */
.ezf-search-form{overflow:visible}
.ezf-search-input-wrap{position:relative;flex:1;min-width:0}
.ezf-search-input-wrap input{width:100%}
.ezf-search-suggest{position:absolute;top:calc(100% + 6px);right:0;left:0;background:var(--ezf-card,#fff);border:1px solid var(--ezf-border,#D9E0E7);border-radius:14px;box-shadow:0 16px 40px rgba(15,23,42,.12);z-index:60;max-height:min(70vh,520px);overflow:auto;padding:6px}
.ezf-search-suggest[hidden]{display:none}
.ezf-search-suggest-group{padding:6px 10px 2px}
.ezf-search-suggest-group-label{font-size:11px;font-weight:800;color:var(--ezf-muted,#64748B);padding:4px 2px}
.ezf-search-suggest-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 10px;border-radius:10px;text-decoration:none;color:var(--ezf-text,#243447)}
.ezf-search-suggest-item:hover,.ezf-search-suggest-item.is-active{background:color-mix(in srgb,var(--ezf-primary,#1E3A5F) 8%,white)}
.ezf-search-suggest-item strong{font-weight:800;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ezf-search-suggest-item small{color:var(--ezf-muted,#64748B);font-size:12px;white-space:nowrap;flex:0 0 auto}
.ezf-search-suggest-empty{padding:16px 12px;text-align:center;color:var(--ezf-muted,#64748B);font-size:13px;line-height:1.8}
.ezf-search-suggest-loading{padding:14px 12px;text-align:center;color:var(--ezf-muted,#64748B);font-size:13px}
.ezf-search-empty{text-align:center;padding:40px 24px}
.ezf-search-empty-icon{font-size:38px;margin-bottom:10px}
.ezf-search-empty h2{margin:0 0 8px}
.ezf-search-empty p{max-width:520px;margin:0 auto;line-height:1.9}
.ezf-search-section-empty{padding:8px 2px}
@media(max-width:768px){.ezf-search-suggest{max-height:60vh}}

/* v1.25.14 - mobile tables keep desktop columns/labels, arranged as 2-3 fields per row.
   Every normal data table remains a real table on desktop. On phones each record becomes
   a clean card, while every value keeps its original column heading via data-label. */
@media(max-width:768px){
  .ezf-table-wrap{overflow:visible!important;border:0!important;margin-inline:0!important;background:transparent!important}
  .ezf-table-wrap table{min-width:0!important;width:100%!important;border-collapse:separate!important;border-spacing:0!important}
  .ezf-table-wrap thead{display:none!important}
  .ezf-table-wrap tbody{display:block!important;width:100%}
  .ezf-table-wrap tr{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;width:100%;background:var(--ezf-card,#fff);border:1px solid var(--ezf-border,#D9E0E7);border-radius:15px;padding:12px;margin-bottom:10px;box-shadow:0 4px 14px rgba(15,23,42,.04)}
  .ezf-table-wrap tr:last-child{margin-bottom:0}
  .ezf-table-wrap td{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:2px;border:0!important;padding:6px 7px!important;width:auto!important;min-width:0!important;white-space:normal!important;text-align:right!important;font-size:13px;line-height:1.55;vertical-align:middle}
  .ezf-table-wrap td::before{content:attr(data-label);display:block!important;color:var(--ezf-muted,#64748B);font-size:10px;font-weight:900;line-height:1.35;white-space:normal}
  .ezf-table-wrap td:empty{display:none!important}
  .ezf-table-wrap td[colspan]{grid-column:1/-1!important;align-items:center!important;text-align:center!important}
  .ezf-table-wrap td[colspan]::before{display:none!important}
  .ezf-table-wrap td:has(.ezf-btn){align-items:stretch!important}
  .ezf-table-wrap td .ezf-btn{width:100%!important;min-height:38px;padding:7px 10px;font-size:12px}
  .ezf-table-wrap td img{width:34px!important;height:34px!important;object-fit:cover}
  .ezf-table-wrap td strong,.ezf-table-wrap td a{max-width:100%;overflow-wrap:anywhere}
  .ezf-table-wrap td.ezf-check-col{justify-content:center!important}
}
@media(max-width:519px){
  .ezf-table-wrap tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 9px;padding:10px}
  .ezf-table-wrap td{font-size:12px;padding:5px 6px!important}
  .ezf-table-wrap td::before{font-size:9px}
}

/* ترقيم بطاقات المنتجات والمخزون واللفات */
.ezf-pagination-wrap{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin:18px 0 22px;padding:10px 0}.ezf-pagination-info{font-size:11px;color:var(--ezf-muted,#64748b);font-weight:700}.ezf-pagination{display:flex;align-items:center;justify-content:center;gap:6px;direction:rtl}.ezf-page{min-width:38px;height:38px;padding:0 10px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ezf-border,#e5e7eb);border-radius:10px;background:#fff;color:var(--ezf-heading,#0f172a);text-decoration:none;font-size:12px;font-weight:800;box-shadow:0 3px 10px rgba(15,23,42,.04);transition:.15s ease}.ezf-page:hover{border-color:var(--ezf-primary,#2563eb);color:var(--ezf-primary,#2563eb)}.ezf-page.is-active{background:var(--ezf-primary,#1e3a5f);border-color:var(--ezf-primary,#1e3a5f);color:#fff}.ezf-page-dots{min-width:24px;text-align:center;color:var(--ezf-muted,#64748b);font-weight:900}
@media(max-width:600px){.ezf-pagination-wrap{gap:8px;margin:14px 0 18px}.ezf-pagination-info{width:100%;text-align:center}.ezf-pagination{gap:4px}.ezf-page{min-width:34px;height:34px;padding:0 8px;font-size:11px}}

/* v1.25.17: modern mobile pagination + two-column roll cards */
.ezf-pagination-wrap{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin:20px 0 24px;padding:12px 0}.ezf-pagination-info{font-size:11px;color:var(--ezf-muted,#64748b);font-weight:800;background:#f8fafc;border:1px solid #e6ebf1;border-radius:999px;padding:7px 11px}.ezf-pagination{display:inline-flex;align-items:center;gap:5px;padding:5px;border:1px solid #e2e8f0;border-radius:15px;background:#fff;box-shadow:0 5px 16px rgba(15,23,42,.06)}.ezf-page{min-width:36px!important;width:36px;height:36px!important;padding:0!important;border:0!important;border-radius:11px!important;background:transparent!important;color:var(--ezf-heading,#0f172a)!important;box-shadow:none!important;font-size:12px!important;font-weight:900!important}.ezf-page:hover{background:#f1f5f9!important;color:var(--ezf-primary,#1e3a5f)!important}.ezf-page.is-active{background:var(--ezf-primary,#1e3a5f)!important;color:#fff!important;box-shadow:0 5px 12px rgba(30,58,95,.22)!important}.ezf-page-dots{min-width:22px!important;height:36px;display:inline-flex;align-items:center;justify-content:center;color:#94a3b8;font-weight:900}.ezf-rolls-grid-mobile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ezf-roll-mini-card{min-width:0;border:1px solid var(--ezf-border,#d9e0e7);border-radius:17px;background:#fff;padding:13px;box-shadow:0 5px 18px rgba(15,23,42,.04);overflow:hidden}.ezf-roll-mini-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding-bottom:10px;border-bottom:1px solid #edf1f5}.ezf-roll-mini-label,.ezf-roll-mini-product span,.ezf-roll-mini-metrics span{display:block;color:var(--ezf-muted,#64748b);font-size:9px;margin-bottom:3px}.ezf-roll-mini-head strong{display:block;font-size:12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ezf-roll-mini-status{flex:0 0 auto;background:#ecfdf3;color:#087443;border-radius:999px;padding:5px 7px;font-size:8px;font-weight:900}.ezf-roll-mini-product{padding:10px 0 8px}.ezf-roll-mini-product strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ezf-roll-mini-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.ezf-roll-mini-metrics>div{min-width:0;padding:7px 5px;border-radius:10px;background:#f8fafc;border:1px solid #eef2f7}.ezf-roll-mini-metrics strong{display:block;font-size:9px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ezf-roll-mini-progress{margin-top:9px}.ezf-roll-mini-progress>div{display:flex;justify-content:space-between;gap:6px;font-size:8px;color:var(--ezf-muted,#64748b)}.ezf-roll-mini-progress b{color:var(--ezf-heading,#0f172a);font-size:9px}.ezf-roll-mini-progress i{display:block;height:5px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin-top:5px}.ezf-roll-mini-progress i span{display:block;height:100%;background:var(--ezf-primary,#1e3a5f);border-radius:999px}.ezf-roll-mini-action{width:100%;margin-top:10px;min-height:38px!important;padding:7px 9px!important;font-size:10px!important}.ezf-rolls-empty{grid-column:1/-1}
@media(max-width:600px){.ezf-pagination-wrap{gap:8px;margin:14px 0 18px}.ezf-pagination-info{width:100%;text-align:center;font-size:9px;padding:6px 9px}.ezf-pagination{gap:3px;padding:4px;border-radius:13px}.ezf-page{min-width:34px!important;width:34px;height:34px!important;font-size:11px!important}.ezf-page-dots{height:34px}.ezf-rolls-grid-mobile{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ezf-roll-mini-card{padding:9px;border-radius:14px}.ezf-roll-mini-head{padding-bottom:7px}.ezf-roll-mini-head strong{font-size:10px}.ezf-roll-mini-status{font-size:7px;padding:4px 6px}.ezf-roll-mini-label,.ezf-roll-mini-product span,.ezf-roll-mini-metrics span{font-size:7px}.ezf-roll-mini-product{padding:7px 0 6px}.ezf-roll-mini-product strong{font-size:9px}.ezf-roll-mini-metrics{gap:4px}.ezf-roll-mini-metrics>div{padding:6px 4px}.ezf-roll-mini-metrics strong{font-size:8px}.ezf-roll-mini-progress{margin-top:7px}.ezf-roll-mini-progress>div{font-size:7px}.ezf-roll-mini-progress b{font-size:8px}.ezf-roll-mini-action{margin-top:8px;min-height:34px!important;font-size:9px!important}}

/* v1.25.18 - Mobile roll cards: compact two-column layout */
.ezf-rolls-head-action{display:flex;align-items:center;justify-content:flex-start;gap:8px}
.ezf-rolls-head-action .ezf-btn{white-space:nowrap;min-height:36px;padding:7px 12px;font-size:11px}
.ezf-rolls-grid-mobile{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
.ezf-roll-mini-card{display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;box-sizing:border-box!important;padding:12px!important;border:1px solid var(--ezf-border,#d9e0e7)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 18px rgba(15,23,42,.05)!important;overflow:hidden!important}
.ezf-roll-mini-head{min-width:0!important}
.ezf-roll-mini-head strong{max-width:100%!important}
.ezf-roll-mini-product{min-width:0!important}
.ezf-roll-mini-product strong{max-width:100%!important}
.ezf-roll-mini-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:4px!important}
.ezf-roll-mini-metrics>div{min-width:0!important;padding:8px 7px!important;border-radius:11px!important;background:#f7f9fc!important;border:1px solid #e8edf3!important;box-sizing:border-box!important;text-align:center!important}
.ezf-roll-mini-metrics span{font-size:8px!important;white-space:nowrap!important}
.ezf-roll-mini-metrics strong{font-size:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ezf-roll-mini-progress{margin-top:9px!important}
.ezf-roll-mini-action{align-self:center!important;width:auto!important;min-width:74px!important;max-width:105px!important;min-height:30px!important;height:30px!important;margin-top:9px!important;padding:4px 10px!important;border-radius:9px!important;font-size:9px!important;line-height:1!important;justify-content:center!important}
@media(max-width:600px){
 .ezf-rolls-head-action .ezf-btn{min-height:32px;padding:6px 10px;font-size:9px}
 .ezf-rolls-grid-mobile{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .ezf-roll-mini-card{padding:8px!important;border-radius:13px!important}
 .ezf-roll-mini-head{padding-bottom:6px!important;gap:5px!important}
 .ezf-roll-mini-head strong{font-size:10px!important}
 .ezf-roll-mini-status{font-size:7px!important;padding:4px 5px!important}
 .ezf-roll-mini-product{padding:7px 0 5px!important}
 .ezf-roll-mini-product span{font-size:7px!important}
 .ezf-roll-mini-product strong{font-size:9px!important}
 .ezf-roll-mini-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}
 .ezf-roll-mini-metrics>div{padding:6px 4px!important;border-radius:9px!important}
 .ezf-roll-mini-metrics span{font-size:7px!important}
 .ezf-roll-mini-metrics strong{font-size:8px!important}
 .ezf-roll-mini-progress{margin-top:7px!important}
 .ezf-roll-mini-action{min-width:66px!important;max-width:88px!important;min-height:28px!important;height:28px!important;margin-top:7px!important;padding:4px 8px!important;font-size:8px!important;border-radius:8px!important}
}

/* v1.25.20 - compact all-device table pagination */
.ezf-mobile-table-pagination{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:14px 0 4px;padding:9px 0}.ezf-mobile-table-pagination-info{font-size:10px;font-weight:800;color:var(--ezf-muted,#64748b);background:#f8fafc;border:1px solid #e6ebf1;border-radius:999px;padding:6px 9px}.ezf-mobile-table-pages{margin:0}.ezf-mobile-table-pagination .ezf-page{font-family:inherit;cursor:pointer}.ezf-mobile-show-all{border:1px solid var(--ezf-border,#e5e7eb);background:#fff;color:var(--ezf-primary,#1e3a5f);border-radius:10px;padding:7px 11px;font-size:10px;font-weight:900;cursor:pointer;box-shadow:0 3px 10px rgba(15,23,42,.04)}.ezf-mobile-show-all.is-active{background:var(--ezf-primary,#1e3a5f);color:#fff;border-color:var(--ezf-primary,#1e3a5f)}


/* v1.25.20 responsive table pagination sizing */
.ezf-mobile-table-pagination{max-width:100%;box-sizing:border-box}
@media(max-width:700px){.ezf-mobile-table-pagination{gap:7px;margin:11px 0 2px}.ezf-mobile-table-pagination-info{width:auto;max-width:100%;font-size:9px;padding:5px 8px}.ezf-mobile-table-pages{gap:3px!important;padding:3px!important}.ezf-mobile-table-pages .ezf-page{min-width:32px!important;width:32px;height:32px!important;font-size:10px!important}.ezf-mobile-show-all{font-size:9px;padding:6px 9px;border-radius:9px}}

/* v1.25.22 - standalone login screen */
body.ezf-auth-body{min-height:100vh;overflow-x:hidden}
.ezf-login-greeting{text-align:center;margin-top:13px;padding-top:12px;border-top:1px solid rgba(176,141,87,.22);color:#80633d;font-size:13px;font-weight:700;line-height:1.8}
@media(max-width:768px){.ezf-login-greeting{font-size:12px;margin-top:11px;padding-top:10px}}

.ezf-sidebar-version{margin-right:auto;color:#8fa0b3;font-size:11px;direction:ltr;white-space:nowrap}
.ezf-sidebar.is-collapsed .ezf-sidebar-version{display:none}

/* v1.25.58 - global save/process waiting overlay for long-running data writes */
.ezf-save-loading{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;background:rgba(15,23,42,.42);backdrop-filter:blur(3px);direction:rtl}
.ezf-save-loading[hidden]{display:none!important}
.ezf-save-loading-card{width:min(390px,calc(100vw - 36px));box-sizing:border-box;padding:24px 22px 21px;border:1px solid rgba(255,255,255,.7);border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 24px 70px rgba(15,23,42,.24);text-align:center}
.ezf-save-loading-icon{width:48px;height:48px;margin:0 auto 13px;border-radius:50%;display:grid;place-items:center;background:#eef4fb;color:#1e3a5f;font-size:23px}
.ezf-save-loading-title{margin:0;color:#0f172a;font-size:17px;font-weight:900}
.ezf-save-loading-text{margin:7px 0 15px;color:#64748b;font-size:12px;line-height:1.7}
.ezf-save-loading-track{height:7px;overflow:hidden;border-radius:999px;background:#e8edf3}
.ezf-save-loading-bar{width:38%;height:100%;border-radius:999px;background:#1e3a5f;animation:ezfSaveLoading 1.15s ease-in-out infinite}
@keyframes ezfSaveLoading{0%{transform:translateX(270%)}50%{transform:translateX(70%)}100%{transform:translateX(-270%)}}
.ezf-save-loading-note{display:block;margin-top:12px;color:#94a3b8;font-size:10px}
.ezf-save-processing{pointer-events:none!important}
.ezf-save-processing>*{pointer-events:none!important}
@media(max-width:600px){.ezf-save-loading{padding:16px}.ezf-save-loading-card{padding:21px 18px 19px;border-radius:16px}.ezf-save-loading-title{font-size:16px}.ezf-save-loading-text{font-size:11px}}

/* v1.25.61 - English numerals and whole-number UI */
input[type=number], .ezf-number-en { font-family: Arial, Helvetica, sans-serif !important; direction:ltr; unicode-bidi:plaintext; font-variant-numeric: lining-nums; }


/* v1.25.62 - Responsive section spacing and mobile/tablet header safety */
@media (max-width: 900px){
 .ezf-main{width:100%!important;min-width:0!important;overflow-x:hidden}
 .ezf-topbar,.ezf-page-head,.ezf-section-title,.ezf-card-heading,.ezf-card-head{min-width:0}
 .ezf-topbar h1,.ezf-page-head h1,.ezf-section-title h2,.ezf-card-heading h2,.ezf-card-head h2{overflow-wrap:anywhere;word-break:normal}
 .ezf-table-wrap{max-width:100%;-webkit-overflow-scrolling:touch}
}
@media (max-width: 768px){
 /* The mobile header is fixed, so reserve its full height before every page section. */
 .ezf-main{padding-top:calc(90px + env(safe-area-inset-top))!important;padding-left:10px!important;padding-right:10px!important;padding-bottom:calc(104px + env(safe-area-inset-bottom))!important}
 .ezf-topbar{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;margin:0 0 18px!important;padding:0 2px!important;min-height:0!important}
 .ezf-topbar h1{font-size:22px!important;line-height:1.45!important;margin:0 0 4px!important}
 .ezf-topbar .ezf-muted{font-size:12px!important;line-height:1.8!important}
 .ezf-topbar>.ezf-btn,.ezf-topbar>a.ezf-btn,.ezf-topbar>.ezf-open-sale-form,.ezf-topbar>.ezf-shipment-toggle-btn{width:100%!important;margin:0!important}
 .ezf-page-head{display:block!important;margin-bottom:16px!important}
 .ezf-page-head h1{font-size:22px!important;line-height:1.45!important}
 .ezf-page-head .ezf-actions,.ezf-page-head>.ezf-actions{margin-top:10px}
 .ezf-section-title,.ezf-card-heading,.ezf-card-head{align-items:flex-start!important;gap:8px!important}
 .ezf-section-title>div,.ezf-card-heading>div,.ezf-card-head>div{min-width:0!important;max-width:100%!important}
 .ezf-section-title h2,.ezf-card-heading h2,.ezf-card-head h2{font-size:16px!important;line-height:1.5!important}
 .ezf-section-title .ezf-muted,.ezf-card-heading p,.ezf-card-head p{font-size:11px!important;line-height:1.8!important}
 .ezf-sales-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .ezf-sales-stat-card{min-width:0!important}
 .ezf-sales-log-card{min-width:0!important;width:100%!important}
 .ezf-sales-log-card .ezf-table-wrap{max-width:100%!important;overflow-x:auto!important}
 .ezf-shipments-topbar,.ezf-products-topbar{display:flex!important;flex-direction:column!important;align-items:stretch!important}
 .ezf-shipments-topbar h1,.ezf-products-topbar h1{font-size:22px!important}
 .ezf-shipments-topbar .ezf-shipment-toggle-btn,.ezf-products-topbar .ezf-btn{width:100%!important}
 .ezf-card{max-width:100%!important;min-width:0!important}
}
@media (max-width: 430px){
 .ezf-main{padding-top:calc(88px + env(safe-area-inset-top))!important}
 .ezf-topbar h1,.ezf-page-head h1{font-size:20px!important}
 .ezf-topbar .ezf-muted{font-size:11px!important}
 .ezf-section-title h2,.ezf-card-heading h2,.ezf-card-head h2{font-size:15px!important}
}
