:root{--ezf-bg:#f4f6f8;--ezf-card:#fff;--ezf-text:#172033;--ezf-heading:#0f172a;--ezf-muted:#667085;--ezf-border:#e6e9ef;--ezf-primary:#2563eb;--ezf-secondary:#0f172a;--ezf-accent:#d4a72c;--ezf-sidebar:#0f172a;--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: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}
@media(max-width:1199px) and (min-width:769px){.ezf-sidebar{width:92px}.ezf-main{width:calc(100% - 92px);margin-right:92px;padding:22px}.ezf-sidebar .ezf-brand-copy,.ezf-sidebar .ezf-nav-label,.ezf-sidebar .ezf-sidebar-foot .ezf-nav-label{display:none}.ezf-sidebar-head{justify-content:center}.ezf-brand{justify-content:center}.ezf-nav-item{justify-content:center;padding-inline:8px}.ezf-nav-icon{width:auto}.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}}
@media print{body{background:#fff!important}.ezf-sidebar,.ezf-mobile-header,.ezf-print-actions,.ezf-topbar form,.ezf-card.ezf-search-form,footer{display:none!important}.ezf-main{margin:0!important;padding:0!important;width:100%!important}.ezf-shell{display:block!important}.ezf-card{box-shadow:none!important;border:0!important}.ezf-invoice,.ezf-receipt{max-width:none!important;margin:0!important}.ezf-body{background:#fff!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:1199px) and (min-width:769px){
 .ezf-sidebar{width:82px;padding:14px 10px}
 .ezf-main{width:calc(100% - 82px);margin-right:82px;padding:22px}
 .ezf-sidebar .ezf-brand-copy,.ezf-sidebar .ezf-nav-label,.ezf-sidebar .ezf-sidebar-foot .ezf-nav-label,.ezf-sidebar .ezf-profile-copy,.ezf-sidebar .ezf-sidebar-search{display:none}
 .ezf-sidebar-head{justify-content:center}.ezf-brand{justify-content:center}.ezf-sidebar-profile{justify-content:center;padding-inline:0}.ezf-profile-link{flex:0 0 auto}
 .ezf-nav-item{justify-content:center;padding-inline:7px}.ezf-nav-icon{width:auto}
}
@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.4}.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}}

/* 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 1fr 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.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;font-size:17px}.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:12px;margin-bottom:18px}.ezf-inv-kpi{background:var(--ezf-card,#fff);border:1px solid var(--ezf-border,#e5e7eb);border-radius:18px;padding:17px;box-shadow:0 8px 24px rgba(15,23,42,.045)}.ezf-inv-kpi span,.ezf-inv-kpi small{display:block;color:var(--ezf-muted,#64748b);font-size:11px}.ezf-inv-kpi strong{display:block;margin:8px 0 3px;font-size:22px;color:var(--ezf-heading,#0f172a);line-height:1.25}.ezf-inv-kpi em{font-style:normal;font-size:11px;font-weight:800}.ezf-inv-kpi:nth-child(4) strong{font-size:19px}.ezf-inv-kpi:nth-child(5) strong{font-size:19px}.ezf-inventory-toolbar-card{padding:15px 18px;margin-bottom:18px}.ezf-inventory-toolbar{display:flex;align-items:end;gap:10px}.ezf-inventory-search{height:46px;flex:1;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-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{display:grid;grid-template-columns:1fr 1fr}.ezf-inventory-search{grid-column:1/-1}.ezf-inventory-filter{width:auto}.ezf-inventory-toolbar>.ezf-btn{width:100%}.ezf-inventory-product-grid{grid-template-columns:1fr}.ezf-inventory-alerts{flex-wrap:wrap}.ezf-inv-filter-note{margin-left:0;width:100%}}@media(max-width:480px){.ezf-inventory-kpis{grid-template-columns:1fr 1fr}.ezf-inv-kpi{padding:13px}.ezf-inv-kpi strong{font-size:19px}.ezf-inventory-toolbar{grid-template-columns:1fr}.ezf-inventory-filter{grid-column:1}.ezf-inventory-toolbar>.ezf-btn{grid-column:1}.ezf-inv-product-footer{align-items:flex-start}.ezf-inv-product-metrics{gap:5px}}

/* 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:48%}.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:15%}.ezf-sale-create-card #ezf-sale-items th:nth-child(4){width:12%}.ezf-sale-create-card #ezf-sale-items th:nth-child(5){width:10%}.ezf-sale-create-card #ezf-sale-items td{overflow:hidden}.ezf-sale-create-card #ezf-sale-items td:nth-child(4){font-weight:900;font-size:15px;white-space:nowrap}.ezf-sale-create-card #ezf-sale-items td:nth-child(5){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:42%}.ezf-sale-create-card #ezf-sale-items th:nth-child(2),.ezf-sale-create-card #ezf-sale-items th:nth-child(3){width:17%}.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: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(4){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(5) .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.22.15 - Native mobile bottom app navigation */
.ezf-mobile-bottom-nav{display:none}
@media(max-width:768px){
 .ezf-mobile-shortcuts{display:none!important}
 .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-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}
}
