:root{--bg: #501629;--bg-dark: #3b1020;--bg-hover: #70243d;--muted: #e2c5ce;--text: #ffffff;--accent: #762640;--gold: #d5b56a;--gold-dark: #b8954c;--page: #f8f4ef;--card: #ffffff;--border: #eadfe2;--body-text: #34252a;--success: #16794b;--danger: #a52c3d}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--page);color:var(--body-text)}.app{display:grid;grid-template-columns:255px 1fr;min-height:100vh}.sidebar{background:linear-gradient(180deg,var(--bg),var(--bg-dark));color:var(--text);padding:20px 14px;display:flex;flex-direction:column;gap:14px;border-right:2px solid var(--gold)}.brand{margin:0 0 12px;font-size:22px;font-weight:800;color:#fff;letter-spacing:.2px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.nav-link{color:var(--muted);text-decoration:none;padding:11px 12px;border-radius:9px;transition:all .2s ease;border-left:3px solid transparent}.nav-link.active,.nav-link:hover{background:var(--bg-hover);color:#fff;border-left-color:var(--gold)}.userbox{margin-top:auto;border-top:1px solid rgba(213,181,106,.4);padding-top:14px;display:flex;flex-direction:column;gap:7px;color:#fff}.userbox button{background:#ffffff14;color:#fff;border:1px solid var(--gold);padding:10px;border-radius:9px;cursor:pointer}.content{padding:24px;min-width:0}.content h1,.content h2,.content h3{color:var(--bg)}.card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:18px;margin:12px 0;box-shadow:0 3px 12px #5016290b}.grid{display:grid;gap:14px}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.two{grid-template-columns:1fr 1fr}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}input,select,textarea,button{padding:10px 12px;border:1px solid #dfd2d6;border-radius:9px;font:inherit}input,select,textarea{background:#fff;color:var(--body-text)}input:focus,select:focus,textarea:focus{outline:2px solid rgba(213,181,106,.5);border-color:var(--gold-dark)}button{background:var(--accent);color:#fff;border:1px solid var(--accent);cursor:pointer;transition:background .2s ease}button:hover:not(:disabled){background:var(--bg)}button:disabled{opacity:.5;cursor:not-allowed}label{display:flex;flex-direction:column;gap:5px;font-size:14px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;background:#fff}th,td{padding:11px 10px;border-bottom:1px solid var(--border);text-align:left;font-size:14px}th{background:#f4e9ec;color:var(--bg);font-weight:700}tr:hover td{background:#fdf9f6}.warn{background:#fff6e8;border-color:#edd6a6}.list{margin:0;padding-left:18px}.error{background:#fee8eb;color:#991b2b;padding:11px;border-radius:9px;margin:8px 0}.success{background:#e3f5eb;color:#16633e;padding:11px;border-radius:9px;margin:8px 0}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-btn{background:#fbf7f4;color:var(--body-text);border:1px solid var(--border);text-align:left}.product-btn:hover{background:#f4e9ec;border-color:var(--gold-dark)}.totals{display:flex;flex-direction:column;gap:5px;margin:10px 0}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:16px;background:linear-gradient(135deg,var(--bg-dark),var(--bg))}.login-card{width:100%;max-width:420px;display:flex;flex-direction:column;gap:12px;background:#fff;padding:28px;border-radius:16px;border-top:4px solid var(--gold);box-shadow:0 12px 35px #0003}.receipt-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.hint{color:#75666b;font-size:14px}.settings-form{display:grid;gap:12px;max-width:760px}.settings-form label{display:flex;flex-direction:column;gap:6px}.settings-form textarea{padding:10px;border:1px solid #dfd2d6;border-radius:8px;font:inherit;resize:vertical}.receipt-note{margin-top:18px;padding-top:10px;border-top:1px dashed #aaa;text-align:center;white-space:pre-wrap}.mobile-menu-button,.menu-overlay,.mobile-header{display:none}@media(max-width:980px){.app{display:block}.sidebar{position:fixed;top:0;left:0;bottom:0;width:260px;max-width:85vw;z-index:1001;transform:translate(-100%);transition:transform .25s ease;overflow-y:auto}.sidebar.sidebar-open{transform:translate(0)}.mobile-header{display:flex;align-items:center;justify-content:space-between;position:fixed;top:0;left:0;right:0;height:58px;padding:0 14px;background:var(--bg-dark);border-bottom:1px solid var(--gold);z-index:999}.mobile-brand{color:#fff;font-size:19px;font-weight:700}.mobile-menu-button{display:block;position:static;padding:9px 14px;z-index:1002}.menu-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:1000}.content{padding:76px 14px 14px;width:100%}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.two,.form-grid{grid-template-columns:1fr}}@media(max-width:600px){.stats,.product-grid{grid-template-columns:1fr}.content{padding:70px 12px 12px}.card{padding:14px}}@media print{.sidebar,.mobile-header,.mobile-menu-button,button{display:none!important}.app{grid-template-columns:1fr}.content{padding:0}.card{border:none;box-shadow:none}.receipt{break-inside:avoid}}.brand-area{display:flex;align-items:center;gap:11px;padding:5px 2px 17px;border-bottom:1px solid rgba(213,181,106,.35)}.brand-icon{color:var(--gold);font-size:29px}.brand{font-size:19px;margin:0;color:#fff}.brand-subtitle{display:block;color:var(--gold);font-size:9px;letter-spacing:1.5px;margin-top:4px}.gold-mark{color:var(--gold)}.menu-label{color:var(--gold);font-size:10px;font-weight:700;letter-spacing:1.5px;margin:5px 5px 0}.sidebar .nav-link{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:500;min-height:43px}.sidebar .nav-link.active{background:linear-gradient(90deg,#762640,#612037);color:#fff;border-left-color:var(--gold);box-shadow:0 3px 10px #00000026}.nav-icon{color:var(--gold);width:22px;text-align:center;font-size:19px}.userbox{display:grid;grid-template-columns:38px 1fr;align-items:center;column-gap:10px}.user-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--gold);color:var(--bg-dark);font-weight:800}.user-info{display:flex;flex-direction:column;gap:3px;min-width:0}.user-info strong{color:#fff;font-size:13px}.user-info small{color:var(--gold);font-size:11px}.userbox button{grid-column:1 / -1;margin-top:8px;border-color:#d5b56a8c}.sidebar-footer{color:#ffffff8c;font-size:10px;letter-spacing:1.5px;text-align:center;padding-top:10px}.sidebar-footer span{color:var(--gold)}@media(max-width:980px){.brand-area{margin-top:48px}}.dashboard{width:100%}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;margin-bottom:22px}.dashboard-eyebrow{color:var(--gold-dark);font-size:10px;font-weight:800;letter-spacing:2px}.dashboard-heading h2{margin:5px 0;color:var(--bg);font-size:27px}.dashboard-heading p{margin:0;color:#84747a;font-size:14px}.dashboard-date{background:#fff;border:1px solid var(--border);border-radius:9px;padding:10px 14px;color:var(--bg);font-size:13px;text-transform:capitalize}.dashboard-stats{gap:15px}.stat-card{position:relative;overflow:hidden;min-height:155px;display:flex;flex-direction:column;gap:12px;border-top:3px solid var(--gold);transition:transform .2s ease,box-shadow .2s ease}.stat-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px #50162917}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.stat-label{color:#75636a;font-size:13px;font-weight:600}.stat-icon{width:37px;height:37px;display:grid;place-items:center;background:#f5e9ed;color:var(--bg);border-radius:10px;font-size:20px}.stat-gold .stat-icon{background:#f8f0df;color:var(--gold-dark)}.stat-value{color:var(--bg);font-size:clamp(17px,2vw,23px);overflow-wrap:anywhere}.stat-detail{color:#82737a;font-size:12px}.stat-decoration{position:absolute;bottom:-25px;right:-20px;width:85px;height:85px;border:12px solid rgba(213,181,106,.1);border-radius:50%;pointer-events:none}.dashboard-sections{gap:15px;margin-top:5px}.dashboard-panel{min-width:0;min-height:205px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:14px;border-bottom:1px solid var(--border);margin-bottom:12px}.panel-title{display:flex;align-items:center;gap:9px}.panel-title h3{margin:0;font-size:16px}.panel-icon{color:var(--gold-dark);font-size:21px}.panel-count{background:#f4e9ec;color:var(--bg);border-radius:20px;padding:4px 10px;font-size:12px;font-weight:700}.dashboard-list{display:flex;flex-direction:column}.dashboard-list-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 2px;border-bottom:1px solid #f1e9eb}.dashboard-list-item:last-child{border-bottom:none}.dashboard-list-item>div{display:flex;flex-direction:column;gap:5px;min-width:0}.dashboard-list-item strong{color:var(--bg);font-size:13px;overflow-wrap:anywhere}.dashboard-list-item small{color:#8a7a80;font-size:11px}.sale-amount{color:var(--bg);font-weight:700;font-size:13px;text-align:right;overflow-wrap:anywhere}.stock-warning{background:#fff1e4;color:#9b4c12;padding:6px 9px;border-radius:7px;font-size:12px;font-weight:700;white-space:nowrap}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:110px;gap:6px}.empty-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#e7f4eb;color:#25824d;font-size:20px}.empty-state p{margin:0;color:var(--bg);font-weight:600;font-size:13px}.empty-state small{color:#8a7a80;font-size:11px}.dashboard-footer{text-align:center;color:#96858b;font-size:11px;padding:20px 0 5px}.dashboard-footer span{color:var(--gold-dark)}.dashboard-loading{padding:25px;color:var(--bg)}@media(max-width:600px){.dashboard-heading h2{font-size:23px}.dashboard-date{width:100%}.dashboard-sections{grid-template-columns:1fr}.dashboard-list-item{align-items:flex-start}}.sales-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.sales-heading h2{color:var(--bg);font-size:27px;margin:5px 0}.sales-heading p{color:#84747a;font-size:14px;margin:0}.sales-heading-mark{color:var(--gold);font-size:38px}.sales-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:16px}.sales-products,.sales-cart{min-width:0;margin:0}.sales-section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.sales-section-heading h3{color:var(--bg);margin:0 0 5px;font-size:17px}.sales-section-heading small{color:#918087;font-size:12px}.sales-section-icon{color:var(--gold-dark);font-size:25px}.sales-search{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:10px;padding:0 10px;margin-bottom:14px;background:#fff}.sales-search>span{color:var(--gold-dark);font-size:24px}.sales-search input{flex:1;min-width:0;border:none;outline:none;box-shadow:none}.sales-search input:focus{outline:none}.sales-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:540px;overflow-y:auto;padding:2px}.sales-product-btn{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:13px;min-height:105px;border-radius:10px}.sales-product-name{color:var(--bg);font-weight:650}.sales-product-btn strong{color:var(--gold-dark);font-size:14px}.sales-product-btn small{color:#8b7c82;font-size:11px}.sales-product-btn:disabled{opacity:.55}.sales-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:17px}.sales-fields label,.sales-discount{color:#6f5961;font-weight:600}.sales-cart-table{margin-bottom:15px}.sales-cart-table th{font-size:12px}.sales-cart-table td{vertical-align:middle;font-size:12px}.qty-controls{display:flex;align-items:center;gap:6px}.qty-controls button{width:25px;height:25px;padding:0;border-radius:6px;background:#f4e9ec;color:var(--bg);border:1px solid var(--border)}.qty-controls strong{min-width:15px;text-align:center}.remove-item{background:#fff0f0;color:#a52c3d;border:1px solid #f1d4d8;width:25px;height:25px;padding:0;font-size:18px}.sales-discount{display:flex;flex-direction:column;gap:6px;margin:14px 0}.sales-totals{background:#faf6f2;border:1px solid var(--border);border-radius:11px;padding:14px;display:flex;flex-direction:column;gap:10px}.sales-totals>div{display:flex;justify-content:space-between;gap:10px;font-size:13px}.sales-totals>div>span{color:#78676d}.sales-totals strong{color:var(--bg)}.sales-totals .sales-grand-total{border-top:1px solid #e4d5d9;padding-top:13px;margin-top:3px;align-items:center}.sales-grand-total span{color:var(--bg)!important;font-weight:750}.sales-grand-total strong{color:var(--bg);font-size:21px}.sales-checkout{width:100%;margin-top:15px;padding:14px;background:linear-gradient(110deg,#501629,#762640);border:1px solid var(--gold);font-weight:700}.sales-checkout:hover:not(:disabled){background:#3b1020}.sales-empty{text-align:center;color:#918087;font-size:13px;padding:22px 10px;background:#faf7f5;border-radius:9px;margin:8px 0}.sales-receipt{margin-top:20px;border-top:3px solid var(--gold);padding:24px}.receipt-brand{display:flex;align-items:center;gap:12px}.receipt-brand-icon{color:var(--gold-dark);font-size:28px}.receipt-brand h2{margin:0 0 5px;color:var(--bg)}.receipt-title{text-align:center}.receipt-title h3{color:var(--bg);margin:0 0 5px}.receipt-title strong{color:var(--gold-dark)}.receipt-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:18px 0;margin:15px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.receipt-meta div{display:flex;flex-direction:column;gap:5px}.receipt-meta small{color:#8b7c82}.receipt-meta strong{color:var(--bg);font-size:13px}.receipt-totals{align-items:flex-end;margin-top:18px}.receipt-totals>div,.receipt-totals>strong{text-align:right}.receipt-totals>strong{color:var(--bg);font-size:20px}@media(max-width:900px){.sales-layout{grid-template-columns:1fr}.sales-product-grid{max-height:380px}}@media(max-width:600px){.sales-heading h2{font-size:23px}.sales-fields,.sales-product-grid{grid-template-columns:1fr}.receipt-head{flex-direction:column;align-items:flex-start}.receipt-meta{grid-template-columns:1fr}}@media print{body{background:#fff}.sales-heading,.sales-layout,.dashboard-footer,.sidebar,.mobile-header,.menu-overlay{display:none!important}.sales-receipt{display:block!important;border:none;box-shadow:none}}.products-page{display:flex;flex-direction:column;gap:22px;color:var(--text)}.products-heading,.products-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.products-heading h2,.products-section-heading h3{margin:5px 0;color:var(--text)}.products-heading p{margin:6px 0 0;color:var(--muted);font-size:14px}.products-eyebrow{color:var(--gold, #b99555);font-size:10px;font-weight:800;letter-spacing:1.5px}.products-refresh{border:1px solid var(--gold, #b99555);border-radius:9px;padding:10px 15px;color:var(--gold, #b99555);background:transparent;font-weight:700;cursor:pointer}.products-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.products-stat{display:flex;align-items:center;gap:14px;padding:19px;background:var(--card, #fff);border:1px solid var(--border, #eadfda);border-radius:13px;box-shadow:0 3px 12px #280f190a}.products-stat-icon{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;border-radius:11px;background:#80233f17;color:var(--accent, #76243f);font-size:21px}.products-stat-label{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.products-stat strong{font-size:22px;color:var(--text)}.products-form-card,.products-list-card{padding:22px;border:1px solid var(--border, #eadfda);border-radius:14px}.products-section-heading{margin-bottom:20px}.products-section-heading h3{font-size:18px}.products-section-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;color:var(--gold, #b99555);background:#b995551f;font-size:24px}.products-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.products-field{display:flex;flex-direction:column;gap:8px;color:var(--text);font-size:13px;font-weight:650}.products-field input,.products-search,.products-filter{width:100%;min-width:0;box-sizing:border-box;padding:11px 12px;border:1px solid var(--border, #e5d9d5);border-radius:8px;background:var(--bg, #fffdfb);color:var(--text);font:inherit;outline:none}.products-field input:focus,.products-search:focus,.products-filter:focus{border-color:var(--gold, #b99555);box-shadow:0 0 0 3px #b995551f}.products-form-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;margin-top:5px}.products-submit{padding:12px 20px;border:0;border-radius:9px;background:var(--accent, #76243f);color:#fff;font-weight:750;cursor:pointer;transition:opacity .2s,transform .2s}.products-submit:hover{opacity:.92;transform:translateY(-1px)}.products-submit:disabled{opacity:.6;cursor:wait;transform:none}.products-count{padding:7px 11px;border-radius:20px;background:#b9955521;color:var(--gold-dark, #8c6934);font-size:12px;font-weight:750}.products-toolbar{display:flex;gap:12px;margin-bottom:17px}.products-filter{max-width:210px;cursor:pointer}.products-table-wrap{overflow-x:auto}.products-table{width:100%;border-collapse:collapse;min-width:700px}.products-table th{padding:13px 12px;background:#76243f0e;color:var(--muted);text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.products-table td{padding:14px 12px;border-bottom:1px solid var(--border, #eee4df);font-size:13px}.products-table tbody tr:last-child td{border-bottom:0}.products-name{display:block;color:var(--text)}.products-sku{display:block;margin-top:4px;color:var(--muted);font-size:11px}.products-price{color:var(--accent, #76243f);font-weight:750;white-space:nowrap}.products-status{display:inline-block;padding:5px 9px;border-radius:20px;font-size:11px;font-weight:750;white-space:nowrap}.products-status-ok{color:#28764d;background:#e8f5ed}.products-status-low{color:#a15d18;background:#fff1dc}.products-empty{padding:28px!important;text-align:center;color:var(--muted)}.products-table tr.warn{background:#d297400e}@media(max-width:900px){.products-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.products-page{gap:15px}.products-heading{align-items:flex-start}.products-heading h2{font-size:21px}.products-refresh{padding:8px 10px;font-size:12px}.products-stats{grid-template-columns:1fr;gap:9px}.products-stat{padding:13px}.products-form-card,.products-list-card{padding:15px}.products-form{grid-template-columns:1fr;gap:13px}.products-toolbar{flex-direction:column}.products-filter{max-width:none}.products-form-actions,.products-submit{width:100%}}.products-table{border-collapse:separate;border-spacing:0}.products-table thead th{color:#fff!important;background:#682039!important;font-size:13px!important;font-weight:800!important;letter-spacing:.2px;padding:16px 14px!important;opacity:1!important;text-shadow:none!important;white-space:nowrap}.products-table tbody td{color:#292329!important;font-size:14px!important;font-weight:500;padding:16px 14px!important;opacity:1!important;text-shadow:none!important}.products-table .products-name{color:#54182f!important;font-size:15px!important;font-weight:800!important}.products-table .products-sku{color:#62575d!important;font-size:12px!important}.products-table .products-price{color:#682039!important;font-size:14px!important;font-weight:800!important}.products-table .products-status{font-size:12px!important;font-weight:800!important;opacity:1!important}.employees-page{display:flex;flex-direction:column;gap:22px;color:var(--text)}.employees-heading,.employees-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.employees-heading h2,.employees-section-heading h3{margin:5px 0;color:var(--text)}.employees-heading p{margin:6px 0 0;color:var(--muted);font-size:14px}.employees-eyebrow{color:var(--gold, #b99555);font-size:10px;font-weight:800;letter-spacing:1.4px}.employees-refresh{padding:10px 15px;border:1px solid var(--gold, #b99555);border-radius:9px;background:transparent;color:var(--gold, #b99555);font-weight:700;cursor:pointer}.employees-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.employees-stat{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid var(--border, #eadfda);border-radius:13px;background:var(--card, #fff)}.employees-stat-icon{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;border-radius:11px;background:#76243f17;color:var(--accent, #76243f);font-size:21px}.employees-stat div{min-width:0}.employees-stat span:not(.employees-stat-icon){display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.employees-stat strong{display:block;color:var(--text);font-size:18px;overflow-wrap:anywhere}.employees-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:start}.employees-form-card,.employees-table-card{padding:22px;border:1px solid var(--border, #eadfda);border-radius:14px}.employees-section-heading{margin-bottom:20px}.employees-section-heading h3{font-size:18px}.employees-form-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#b9955521;color:var(--gold, #b99555);font-size:22px;font-weight:800}.employees-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.employees-fields label{display:flex;flex-direction:column;gap:8px;color:var(--text);font-size:13px;font-weight:700}.employees-fields input,.employees-fields select{width:100%;min-width:0;box-sizing:border-box;padding:11px 12px;border:1px solid var(--border, #e5d9d5);border-radius:8px;background:var(--bg, #fffdfb);color:var(--text);font:inherit;outline:none}.employees-fields input:focus,.employees-fields select:focus{border-color:var(--gold, #b99555);box-shadow:0 0 0 3px #b995551f}.employees-submit{width:100%;margin-top:18px;padding:12px 16px;border:0;border-radius:9px;background:var(--accent, #76243f);color:#fff;font-size:14px;font-weight:800;cursor:pointer}.employees-submit:disabled{opacity:.6;cursor:wait}.employees-count{padding:7px 11px;border-radius:20px;background:#b9955521;color:var(--gold-dark, #8c6934);font-size:12px;font-weight:750}.employees-table{width:100%;min-width:650px;border-collapse:separate;border-spacing:0}.employees-table thead th{padding:15px 13px;background:#682039;color:#fff;text-align:left;font-size:13px;font-weight:800;white-space:nowrap}.employees-table tbody td{padding:15px 13px;border-bottom:1px solid var(--border, #eadfda);color:#292329;font-size:14px}.employees-table tbody tr:nth-child(2n){background:#faf6f3}.employees-table tbody tr:last-child td{border-bottom:0}.employees-table tbody td strong{color:#54182f;font-weight:800}.employees-money{color:#682039!important;font-weight:800;white-space:nowrap}.employees-empty{padding:25px!important;color:var(--muted)!important;text-align:center}@media(max-width:950px){.employees-forms{grid-template-columns:1fr}}@media(max-width:650px){.employees-page{gap:15px}.employees-heading{align-items:flex-start}.employees-heading h2{font-size:21px}.employees-refresh{padding:8px 10px;font-size:12px}.employees-stats{grid-template-columns:1fr;gap:9px}.employees-stat{padding:13px}.employees-form-card,.employees-table-card{padding:15px}.employees-fields{grid-template-columns:1fr}}.finance-page{display:flex;flex-direction:column;gap:22px}.finance-header{display:flex;justify-content:space-between;align-items:center}.finance-eyebrow{display:inline-block;color:#a77b35;font-size:11px;font-weight:800;letter-spacing:2px;margin-bottom:7px}.finance-header h2{color:#641d35;margin:0 0 7px;font-size:26px;font-weight:800}.finance-header p,.finance-section-heading p{color:#81747a;margin:0;font-size:13px}.finance-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.finance-stat-card{display:flex;align-items:center;gap:16px;padding:21px;border:1px solid #eadfe2;border-radius:13px;background:#fffdfb}.finance-stat-icon{width:48px;height:48px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;background:#f3e7eb;color:#721f3d;font-size:24px;font-weight:800}.finance-stat-card span{display:block;color:#81747a;font-size:12px;margin-bottom:7px}.finance-stat-card strong{color:#641d35;font-size:21px;font-weight:800}.finance-form-card,.finance-list-card{padding:22px;border:1px solid #eadfe2;border-radius:13px;background:#fffdfb}.finance-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:21px}.finance-section-heading h3{color:#641d35;font-size:17px;font-weight:800;margin:0 0 6px}.finance-gold-line{width:45px;height:3px;border-radius:5px;background:#bd9853}.finance-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.finance-form label{display:flex;flex-direction:column;gap:8px;color:#641d35;font-size:13px;font-weight:700}.finance-form input,.finance-form select{width:100%;min-width:0;min-height:43px;padding:10px 12px;border:1px solid #e4d8dc;border-radius:8px;background:#fff;color:#382d32;font-size:13px;outline:none}.finance-form input:focus,.finance-form select:focus{border-color:#8a3854;box-shadow:0 0 0 3px #721f3d17}.finance-form-actions{grid-column:1 / -1;display:flex;justify-content:flex-end}.finance-form-actions button{min-height:43px;padding:10px 19px;border:0;border-radius:8px;background:#721f3d;color:#fff;font-size:13px;font-weight:700;cursor:pointer;transition:background .2s ease}.finance-form-actions button:hover{background:#53152c}.finance-form-actions button:disabled{opacity:.6;cursor:wait}.finance-count{padding:7px 11px;border-radius:20px;background:#f3e7eb;color:#721f3d;font-size:12px;font-weight:700;white-space:nowrap}.finance-table{width:100%;border-collapse:collapse;min-width:650px}.finance-table thead{background:#721f3d}.finance-table th{padding:13px 12px;color:#fff;font-size:12px;font-weight:700;text-align:left;white-space:nowrap}.finance-table td{padding:13px 12px;border-bottom:1px solid #eee5e8;color:#44383d;font-size:13px;font-weight:500}.finance-table tbody tr:hover{background:#fcf6f8}.finance-category{display:inline-block;padding:5px 9px;border-radius:6px;background:#f3e7eb;color:#721f3d;font-weight:700}.finance-method{color:#695b61;font-size:12px;font-weight:600}.finance-amount{text-align:right!important;color:#641d35!important;font-weight:800!important;white-space:nowrap}.finance-empty{padding:28px!important;text-align:center;color:#8a7d82!important}.finance-error{padding:12px 15px;border-radius:8px}@media(max-width:700px){.finance-stats,.finance-form{grid-template-columns:1fr}.finance-form-actions{grid-column:auto}.finance-form-actions button{width:100%}.finance-form-card,.finance-list-card{padding:16px}.finance-header h2{font-size:22px}.finance-section-heading{align-items:flex-start}}.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:25px;background:radial-gradient(circle at top left,rgba(189,152,83,.13),transparent 35%),linear-gradient(135deg,#f7f0ed,#eee3e5)}.login-card{width:100%;max-width:430px;padding:36px;border:1px solid #eadfe2;border-radius:18px;background:#fffdfb;box-shadow:0 18px 55px #4b182b1f}.login-brand{display:flex;flex-direction:column;align-items:center;margin-bottom:27px;color:#641d35;font-size:13px;font-weight:900;letter-spacing:2px}.login-logo{width:58px;height:58px;display:grid;place-items:center;margin-bottom:12px;border-radius:17px;background:#721f3d;color:#fff;font-family:Georgia,serif;font-size:32px;font-weight:700}.login-gold-line{width:48px;height:3px;margin-top:13px;border-radius:5px;background:#bd9853}.login-heading{text-align:center;margin-bottom:25px}.login-heading h2{margin:0 0 8px;color:#641d35;font-size:25px;font-weight:800}.login-heading p{margin:0;color:#81747a;font-size:13px}.login-card label{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;color:#641d35;font-size:13px;font-weight:700}.login-card input{width:100%;min-height:46px;padding:11px 13px;border:1px solid #e4d8dc;border-radius:8px;background:#fff;color:#382d32;font-size:14px;outline:none}.login-card input:focus{border-color:#8a3854;box-shadow:0 0 0 3px #721f3d17}.login-card button{width:100%;min-height:46px;margin-top:5px;border:none;border-radius:8px;background:#721f3d;color:#fff;font-size:14px;font-weight:800;cursor:pointer;transition:background .2s ease}.login-card button:hover{background:#53152c}.login-card button:disabled{opacity:.65;cursor:wait}.login-footer{margin-top:22px;padding-top:16px;border-top:1px solid #eee5e8;color:#95868c;font-size:11px;text-align:center}@media(max-width:480px){.login-wrap{padding:15px}.login-card{padding:26px 21px}}.reports-page{display:flex;flex-direction:column;gap:21px}.reports-header h2{margin:0 0 7px;color:#641d35;font-size:26px;font-weight:800}.reports-header p,.reports-period-card p,.reports-section-heading p{margin:0;color:#81747a;font-size:13px}.reports-eyebrow{display:block;margin-bottom:7px;color:#a77b35;font-size:11px;font-weight:800;letter-spacing:1.8px}.reports-period-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;border:1px solid #eadfe2;border-radius:13px;background:#fffdfb}.reports-period-card h3{margin:0 0 6px;color:#641d35;font-size:15px}.reports-periods{display:flex;flex-wrap:wrap;gap:7px}.reports-periods button{padding:9px 17px;border:1px solid #e4d8dc;border-radius:8px;background:#fff;color:#641d35;font-size:13px;font-weight:700;cursor:pointer}.reports-periods button.active{border-color:#721f3d;background:#721f3d;color:#fff}.reports-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.reports-stat{display:flex;align-items:center;gap:13px;min-width:0;padding:19px 15px;border:1px solid #eadfe2;border-radius:12px;background:#fffdfb}.reports-stat-icon{width:43px;height:43px;flex-shrink:0;display:grid;place-items:center;border-radius:11px;background:#f3e7eb;color:#721f3d;font-size:21px;font-weight:800}.reports-stat-icon.revenue,.reports-stat-icon.profit{background:#f2ead9;color:#94702e}.reports-stat span{display:block;margin-bottom:7px;color:#81747a;font-size:12px}.reports-stat strong{color:#641d35;font-size:17px;font-weight:800;overflow-wrap:anywhere}.reports-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:17px;align-items:start}.reports-activity,.reports-products{min-width:0;padding:21px;border:1px solid #eadfe2;border-radius:13px;background:#fffdfb}.reports-section-heading{margin-bottom:18px}.reports-section-heading h3{margin:0 0 6px;color:#641d35;font-size:17px;font-weight:800}.reports-activity-list{display:flex;flex-direction:column}.reports-activity-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #eee5e8}.reports-activity-list>div:last-child{border-bottom:0}.reports-activity-list span{color:#756970;font-size:13px}.reports-activity-list strong{color:#641d35;font-size:14px;font-weight:800;text-align:right}.reports-table{width:100%;min-width:380px;border-collapse:collapse}.reports-table thead{background:#721f3d}.reports-table th{padding:12px;color:#fff;font-size:12px;text-align:left;white-space:nowrap}.reports-table td{padding:13px 12px;border-bottom:1px solid #eee5e8;color:#44383d;font-size:13px}.reports-table tbody tr:hover{background:#fcf6f8}.reports-table td strong{color:#641d35}.reports-money{color:#641d35!important;font-weight:800;white-space:nowrap}.reports-empty,.reports-loading{padding:25px;color:#81747a;text-align:center}@media(max-width:1000px){.reports-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-grid{grid-template-columns:1fr}}@media(max-width:600px){.reports-period-card{align-items:flex-start;flex-direction:column}.reports-periods{width:100%}.reports-periods button{flex:1;padding:9px 10px}.reports-stats{grid-template-columns:1fr}.reports-stat strong{font-size:16px}.reports-activity,.reports-products{padding:15px}}.quotes-page{display:flex;flex-direction:column;gap:21px}.quotes-header{display:flex;justify-content:space-between;align-items:center;gap:15px}.quotes-eyebrow{display:block;margin-bottom:7px;color:#a77b35;font-size:11px;font-weight:800;letter-spacing:1.7px}.quotes-header h2{margin:0 0 7px;color:#641d35;font-size:26px;font-weight:800}.quotes-header p{margin:0;color:#81747a;font-size:13px}.quotes-refresh{padding:10px 15px;border:1px solid #e4d8dc;border-radius:8px;background:#fffdfb;color:#721f3d;font-weight:700;cursor:pointer}.quotes-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.quotes-stat{display:flex;align-items:center;gap:14px;padding:19px;border:1px solid #eadfe2;border-radius:12px;background:#fffdfb}.quotes-stat-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:11px;background:#f3e7eb;color:#721f3d;font-size:22px;font-weight:800}.quotes-stat span:not(.quotes-stat-icon){display:block;margin-bottom:6px;color:#81747a;font-size:12px}.quotes-stat strong{color:#641d35;font-size:21px;font-weight:800}.quotes-workspace{display:grid;grid-template-columns:1fr 1fr;gap:17px;align-items:start}.quotes-products,.quotes-builder,.quotes-history{min-width:0;padding:21px;border:1px solid #eadfe2;border-radius:13px;background:#fffdfb}.quotes-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.quotes-section-heading h3{margin:0;color:#641d35;font-size:17px;font-weight:800}.quotes-count{padding:6px 10px;border-radius:20px;background:#f3e7eb;color:#721f3d;font-size:12px;font-weight:800;white-space:nowrap}.quotes-search,.quotes-field input,.quotes-field textarea{width:100%;min-height:43px;padding:10px 12px;border:1px solid #e4d8dc;border-radius:8px;background:#fff;color:#382d32;font:inherit;font-size:13px;outline:none}.quotes-search:focus,.quotes-field input:focus,.quotes-field textarea:focus{border-color:#8a3854;box-shadow:0 0 0 3px #721f3d17}.quotes-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px;max-height:440px;overflow-y:auto}.quotes-product-btn{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:13px;border:1px solid #eadfe2;border-radius:9px;background:#fff;text-align:left;cursor:pointer;transition:border-color .2s,background .2s}.quotes-product-btn:hover{border-color:#a77b35;background:#fcf6f8}.quotes-product-btn strong{color:#641d35;font-size:13px;overflow-wrap:anywhere}.quotes-product-btn span{color:#94702e;font-size:12px;font-weight:800}.quotes-product-btn small{color:#81747a;font-size:11px}.quotes-field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px;color:#641d35;font-size:12px;font-weight:700}.quotes-field textarea{resize:vertical}.quotes-cart{display:flex;flex-direction:column;gap:10px;max-height:330px;overflow-y:auto;margin-bottom:17px}.quotes-cart-item{padding:12px;border:1px solid #eee5e8;border-radius:9px;background:#fff}.quotes-cart-info{display:flex;justify-content:space-between;gap:10px;margin-bottom:11px}.quotes-cart-info strong{color:#641d35;font-size:13px}.quotes-cart-info span{color:#94702e;font-size:12px;font-weight:800;white-space:nowrap}.quotes-cart-controls{display:flex;align-items:center;gap:8px}.quotes-quantity{display:flex;align-items:center;gap:9px;padding:3px;border:1px solid #eadfe2;border-radius:7px}.quotes-quantity button{width:26px;height:26px;border:0;border-radius:5px;background:#f3e7eb;color:#721f3d;font-weight:800;cursor:pointer}.quotes-quantity strong{color:#641d35;font-size:13px}.quotes-cart-controls input{width:100px;min-width:0;padding:7px;border:1px solid #e4d8dc;border-radius:6px;font-size:12px}.quotes-remove{width:29px;height:29px;margin-left:auto;border:0;border-radius:6px;background:#f9e9e9;color:#a32d3c;font-size:19px;cursor:pointer}.quotes-empty{padding:22px!important;color:#81747a!important;text-align:center;font-size:13px}.quotes-totals{padding:14px;border-radius:9px;background:#f8f1f3}.quotes-totals>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;color:#756970;font-size:13px}.quotes-totals>div:last-child{margin-bottom:0}.quotes-totals strong{color:#641d35}.quotes-totals .quotes-grand-total{padding-top:11px;border-top:1px solid #e4d8dc;color:#641d35;font-weight:800}.quotes-grand-total strong{font-size:18px}.quotes-submit{width:100%;min-height:44px;margin-top:15px;border:0;border-radius:8px;background:#721f3d;color:#fff;font-size:13px;font-weight:800;cursor:pointer}.quotes-submit:hover{background:#53152c}.quotes-submit:disabled{opacity:.5;cursor:not-allowed}.quotes-table{width:100%;min-width:650px;border-collapse:collapse}.quotes-table thead{background:#721f3d}.quotes-table th{padding:13px 11px;color:#fff;font-size:12px;text-align:left;white-space:nowrap}.quotes-table td{padding:13px 11px;border-bottom:1px solid #eee5e8;color:#44383d;font-size:13px}.quotes-table td strong{color:#641d35}.quotes-money{color:#641d35!important;font-weight:800;white-space:nowrap}.quotes-status{display:inline-block;padding:5px 9px;border-radius:20px;font-size:11px;font-weight:800}.quotes-status-done{background:#e5f2e8;color:#287444}.quotes-status-pending{background:#f8efd9;color:#94702e}.quotes-convert{padding:8px 11px;border:0;border-radius:7px;background:#721f3d;color:#fff;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}.quotes-convert:disabled{opacity:.6;cursor:wait}@media(max-width:950px){.quotes-workspace{grid-template-columns:1fr}}@media(max-width:650px){.quotes-stats{grid-template-columns:1fr}.quotes-header{align-items:flex-start;flex-direction:column}.quotes-products,.quotes-builder,.quotes-history{padding:15px}.quotes-product-grid{grid-template-columns:1fr}.quotes-cart-controls{flex-wrap:wrap}}.sales-credit-panel{margin:18px 0;padding:18px;border:1px solid rgba(128,45,68,.25);border-radius:12px;background:#802d440f;display:grid;gap:12px}.sales-credit-panel h4{margin:0;color:#70243b}.sales-credit-panel label{display:grid;gap:7px;font-weight:600}.sales-credit-panel input,.sales-credit-panel select{width:100%;min-height:42px;padding:10px 12px;border:1px solid #d8c9cc;border-radius:8px;background:#fff;color:#302329}.sales-credit-balance{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:12px;border-top:1px solid rgba(128,45,68,.2)}.sales-credit-balance strong{color:#70243b;font-size:1.15rem}.sales-checkout:disabled{opacity:.6;cursor:not-allowed}.credits-page{display:flex;flex-direction:column;gap:22px;padding-bottom:35px;color:#34272b}.credits-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.credits-eyebrow{color:#a47b3c;font-size:11px;font-weight:800;letter-spacing:1.5px}.credits-heading h1{margin:5px 0;color:#641d32;font-size:27px}.credits-heading p{margin:0;color:#81747a}.credits-refresh{border:1px solid #d9c7ca;border-radius:9px;background:#fff;color:#641d32;padding:11px 16px;font-weight:700;cursor:pointer}.credits-refresh:disabled{opacity:.6;cursor:wait}.credits-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.credits-stat{display:flex;flex-direction:column;gap:9px;padding:20px;border:1px solid #eadfe1;border-radius:13px;background:#fff;box-shadow:0 4px 15px #4119270a}.credits-stat span{color:#81747a;font-size:13px;font-weight:600}.credits-stat strong{color:#641d32;font-size:25px}.credits-stat-highlight{border-left:4px solid #b18a48}.credits-message{padding:12px 15px;border-radius:9px;font-weight:600}.credits-error{background:#fff0ef;color:#a52d2d}.credits-success{background:#edf8ef;color:#26733b}.credits-layout{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.4fr);gap:18px;align-items:start}.credits-panel{min-width:0;padding:19px;border:1px solid #eadfe1;border-radius:13px;background:#fff;box-shadow:0 4px 15px #4119270a}.credits-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.credits-panel-heading h2{margin:0 0 5px;color:#641d32;font-size:17px}.credits-panel-heading>span,.credits-panel-heading div>span{color:#8a7b80;font-size:12px}.credits-list{display:flex;flex-direction:column;gap:9px;max-height:570px;overflow-y:auto}.credits-sale{display:flex;flex-direction:column;gap:12px;width:100%;padding:13px;border:1px solid #eee5e7;border-radius:9px;background:#fff;text-align:left;cursor:pointer;transition:.2s}.credits-sale:hover,.credits-sale.selected{border-color:#8a304b;background:#fbf5f6}.credits-sale-top,.credits-sale-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.credits-sale-top strong{color:#4b2733;font-size:14px}.credits-sale-top small,.credits-sale-bottom span{color:#8a7b80;font-size:11px}.credits-sale-bottom strong{color:#8a304b;font-size:12px}.credits-empty{padding:20px 8px;color:#8a7b80;text-align:center;font-size:13px}.credits-detail-empty{padding:55px 20px}.credits-empty-icon{color:#b18a48;font-size:32px}.credits-detail-empty h2{color:#641d32}.credits-status{padding:6px 10px;border-radius:20px;background:#fff4df;color:#94671f!important;font-weight:700}.credits-balance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0}.credits-balance>div{display:flex;flex-direction:column;gap:8px;padding:13px 10px;border-radius:9px;background:#f8f5f5}.credits-balance span{color:#81747a;font-size:11px}.credits-balance strong{color:#49313a;font-size:15px}.credits-balance .balance-remaining{background:#f8edf0}.credits-balance .balance-remaining strong{color:#8a304b}.credits-payment-form{display:flex;flex-direction:column;gap:10px;margin-top:20px;padding:17px;border:1px solid #eadfe1;border-radius:10px;background:#fdfafb}.credits-payment-form h3,.credits-history h3{margin:0 0 7px;color:#641d32;font-size:15px}.credits-payment-form label{color:#59464d;font-size:12px;font-weight:700}.credits-payment-form input,.credits-payment-form select{width:100%;min-height:43px;padding:10px 12px;border:1px solid #ddcfd2;border-radius:8px;background:#fff;color:#34272b;font:inherit}.credits-payment-form input:focus,.credits-payment-form select:focus{outline:2px solid rgba(138,48,75,.15);border-color:#8a304b}.credits-payment-form button{min-height:44px;margin-top:5px;border:0;border-radius:8px;background:#641d32;color:#fff;font-weight:700;cursor:pointer}.credits-payment-form button:hover{background:#812b45}.credits-payment-form button:disabled{opacity:.6;cursor:wait}.credits-history{margin-top:22px;padding-top:17px;border-top:1px solid #eee5e7}.credits-history-list{display:flex;flex-direction:column}.credits-history-row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;padding:11px 2px;border-bottom:1px solid #f0e9eb;font-size:12px}.credits-history-row span{color:#81747a}.credits-history-row strong{color:#641d32}@media(max-width:850px){.credits-layout{grid-template-columns:1fr}}@media(max-width:560px){.credits-heading{align-items:flex-start;flex-direction:column}.credits-stats,.credits-balance{grid-template-columns:1fr}.credits-sale-top,.credits-sale-bottom{align-items:flex-start}.credits-history-row{grid-template-columns:1fr 1fr}.credits-history-row strong{grid-column:1 / -1}}.reports-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.reports-stat-content{min-width:0;display:flex;flex-direction:column;gap:6px}.reports-stat-content>span{color:#74646a;font-size:13px;font-weight:700}.reports-stat-content>strong{color:#641d32;font-size:21px;overflow-wrap:anywhere}.reports-stat-content small{color:#91838a;font-size:11px;line-height:1.4}.reports-stat-icon.collected{background:#e8f4eb;color:#287443}.reports-stat-icon.credit{background:#fff2df;color:#a16c22}.reports-note{margin-top:16px;padding:12px;border-left:3px solid #b18a48;border-radius:5px;background:#fbf7f1;color:#78676d;font-size:12px;line-height:1.5}@media(max-width:1000px){.reports-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.reports-stats{grid-template-columns:1fr}}.employees-page{width:100%;min-width:0;gap:25px}.employees-heading{align-items:center;gap:20px}.employees-heading h2{font-size:clamp(24px,3vw,32px);font-weight:800;line-height:1.2;margin:8px 0;color:#54182f}.employees-heading p{font-size:15px;line-height:1.6;color:#716b70}.employees-eyebrow{display:inline-block;font-size:11px;font-weight:800;letter-spacing:1.5px;color:#9a743a}.employees-refresh{min-height:43px;padding:11px 17px;border-radius:9px;font-weight:700;white-space:nowrap}.employees-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%}.employees-page .employees-stat{display:flex;align-items:center;gap:16px;min-width:0;min-height:125px;padding:22px;box-sizing:border-box;background:#fff;border:1px solid #eadfda;border-radius:15px;box-shadow:0 5px 18px #3c1e280f;transition:transform .2s ease,box-shadow .2s ease}.employees-page .employees-stat:hover{transform:translateY(-2px);box-shadow:0 8px 23px #3c1e2817}.employees-stat-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:13px;background:#f5edf0;color:#721f3d;font-size:25px}.employees-stat div{flex:1;min-width:0}.employees-stat span:not(.employees-stat-icon){display:block;margin-bottom:9px;color:#716b70;font-size:13px;font-weight:600;line-height:1.5;white-space:normal}.employees-stat strong{display:block;color:#54182f;font-size:clamp(20px,2vw,27px);font-weight:800;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.employees-forms{gap:20px;align-items:stretch}.employees-form-card{background:#fff;border-radius:15px;box-shadow:0 4px 15px #3c1e280a}.employees-section-heading{align-items:center;margin-bottom:22px}.employees-section-heading h3{color:#54182f;font-size:19px;font-weight:800;line-height:1.35}.employees-fields{gap:17px}.employees-fields label{font-size:13px;font-weight:700;line-height:1.5}.employees-fields input,.employees-fields select{min-height:44px;border-radius:9px}.employees-submit{min-height:46px;border-radius:9px;font-size:14px;font-weight:700}.employees-table-card{background:#fff;border-radius:15px;box-shadow:0 4px 15px #3c1e280a}.employees-table thead th{padding:16px;font-size:13px;line-height:1.4;white-space:nowrap}.employees-table tbody td{padding:16px;vertical-align:middle;line-height:1.5}.employees-count{font-size:12px;font-weight:800;white-space:nowrap}@media(max-width:1050px){.employees-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.employees-page{gap:17px}.employees-heading{align-items:flex-start;flex-direction:column}.employees-heading h2{font-size:24px}.employees-heading p{font-size:13px}.employees-refresh{width:100%}.employees-stats{grid-template-columns:1fr;gap:12px}.employees-page .employees-stat{min-height:105px;padding:17px}.employees-stat strong{font-size:23px}.employees-form-card,.employees-table-card{padding:15px}.employees-fields{grid-template-columns:1fr}.employees-section-heading h3{font-size:17px}}.products-page{width:100%;min-width:0;gap:25px}.products-heading{align-items:center;gap:20px}.products-heading h2{margin:8px 0;color:#54182f;font-size:clamp(24px,3vw,32px);font-weight:800;line-height:1.2}.products-heading p{font-size:15px;line-height:1.6;color:#716b70}.products-eyebrow{display:inline-block;color:#9a743a;font-size:11px;font-weight:800;letter-spacing:1.5px}.products-heading-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.products-refresh{min-height:43px;padding:11px 16px;border:1px solid #d8c5a2;border-radius:9px;background:#fff;color:#682039!important;font-size:13px;font-weight:700;white-space:nowrap;transition:all .2s ease}.products-refresh:hover:not(:disabled){background:#f8f2f4;border-color:#682039;color:#54182f!important}.products-refresh:disabled{opacity:.55;cursor:wait}.products-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:100%}.products-page .products-stat{display:flex;align-items:center;gap:16px;min-width:0;min-height:125px;padding:22px;box-sizing:border-box;background:#fff;border:1px solid #eadfda;border-radius:15px;box-shadow:0 5px 18px #3c1e280f;transition:transform .2s ease,box-shadow .2s ease}.products-page .products-stat:hover{transform:translateY(-2px);box-shadow:0 8px 23px #3c1e2817}.products-stat-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:13px;background:#f5edf0;color:#721f3d;font-size:25px}.products-stat>div{flex:1;min-width:0}.products-stat-label{display:block;margin-bottom:9px;color:#716b70;font-size:13px;font-weight:600;line-height:1.5}.products-stat strong{display:block;color:#54182f;font-size:clamp(21px,2vw,28px);font-weight:800;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.products-page .products-stat-warning{border-color:#f0dfc4}.products-stat-warning .products-stat-icon{color:#a56c20;background:#fbf1df}.products-stat-warning strong{color:#a15d18}.products-form-card,.products-list-card{background:#fff;border:1px solid #eadfda;border-radius:15px;box-shadow:0 4px 15px #3c1e280a;padding:24px}.products-section-heading{align-items:center;gap:15px;margin-bottom:22px}.products-section-heading h3{color:#54182f;font-size:19px;font-weight:800;line-height:1.4}.products-section-heading p{color:#716b70;font-size:13px}.products-section-icon{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:12px;background:#f5edf0;color:#721f3d;font-size:23px;font-weight:700}.products-form{gap:18px}.products-field{gap:8px;color:#423940;font-size:13px;font-weight:700;line-height:1.5}.products-field input,.products-field select,.products-field textarea,.products-search,.products-filter{width:100%;min-width:0;min-height:45px;box-sizing:border-box;padding:11px 13px;border:1px solid #dfd2d6;border-radius:9px;background:#fff;color:#292329;font:inherit;font-size:13px;outline:none;transition:border-color .2s,box-shadow .2s}.products-field input:focus,.products-field select:focus,.products-field textarea:focus,.products-search:focus,.products-filter:focus{border-color:#a77b35;box-shadow:0 0 0 3px #b995551f}.products-field input::placeholder,.products-field textarea::placeholder,.products-search::placeholder{color:#a59ba0}.products-form-actions{gap:10px;margin-top:8px}.products-submit{min-height:46px;padding:12px 22px;border:0;border-radius:9px;background:#721f3d;color:#fff;font-size:14px;font-weight:750;transition:background .2s,transform .2s}.products-submit:hover:not(:disabled){background:#54182f;transform:translateY(-1px)}.products-submit:disabled{opacity:.6;cursor:wait}.products-toolbar{display:flex;align-items:center;gap:13px;margin-bottom:20px}.products-search{flex:1}.products-filter{max-width:230px;cursor:pointer}.products-count{padding:8px 13px;border-radius:20px;background:#f5edf0;color:#682039;font-size:12px;font-weight:800;white-space:nowrap}.products-table-wrap{width:100%;overflow-x:auto;border-radius:9px}.products-table{width:100%;min-width:720px;border-collapse:separate;border-spacing:0}.products-table thead th{padding:16px 14px;background:#682039!important;color:#fff!important;font-size:13px;font-weight:800;text-align:left;white-space:nowrap}.products-table tbody td{padding:16px 14px;color:#292329!important;border-bottom:1px solid #eee4df;font-size:14px;vertical-align:middle}.products-table tbody tr:nth-child(2n){background:#faf6f3}.products-table tbody tr.warn{background:#fff2df!important}.products-table .products-name{color:#54182f!important;font-size:15px;font-weight:800}.products-table .products-sku{color:#756970!important;font-size:12px}.products-table .products-price{color:#682039!important;font-weight:800;white-space:nowrap}.products-status{display:inline-block;padding:6px 10px;border-radius:20px;font-size:12px;font-weight:800;white-space:nowrap}.products-status-ok{background:#e8f5ed;color:#28764d}.products-status-low{background:#fff1dc;color:#a15d18}.products-empty{padding:30px!important;color:#81747a!important;text-align:center}@media(max-width:1000px){.products-stats,.products-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.products-page{gap:17px}.products-heading{align-items:flex-start;flex-direction:column}.products-heading h2{font-size:24px}.products-heading p{font-size:13px}.products-heading-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.products-heading-actions .products-refresh{white-space:normal;min-width:0;padding:10px 8px;font-size:11px}.products-stats{grid-template-columns:1fr;gap:12px}.products-page .products-stat{min-height:105px;padding:17px}.products-stat strong{font-size:24px}.products-form-card,.products-list-card{padding:16px}.products-form{grid-template-columns:1fr;gap:14px}.products-toolbar{flex-direction:column;align-items:stretch}.products-filter{max-width:none}.products-form-actions{flex-direction:column}.products-form-actions .products-submit,.products-form-actions .products-refresh{width:100%}.products-section-heading h3{font-size:17px}}.employees-page{color:#30252b}.employees-page h2,.employees-page h3,.employees-page h4{color:#54182f!important}.employees-page label,.employees-page .form-group label{color:#42343b!important;font-weight:700}.employees-page input,.employees-page select,.employees-page textarea{color:#292329!important;background-color:#fff!important;border-color:#d8cbd0!important;-webkit-text-fill-color:#292329!important}.employees-page input::placeholder,.employees-page textarea::placeholder{color:#95868e!important;opacity:1}.employees-page p,.employees-page span,.employees-page small{color:#51434a}.employees-page button{color:#54182f}.employees-page button[type=submit],.employees-page .btn-primary{color:#fff!important;background-color:#721f3d!important}.employees-page svg{color:inherit}.employees-page .employees-eyebrow{display:inline-block;color:#b07a2a!important;font-size:11px;font-weight:800;letter-spacing:1.5px;line-height:1.5;text-transform:uppercase}.employees-page .employees-heading h2,.employees-page .employees-section-heading h3{color:#721f3d!important}@media(max-width:650px){.employees-table-card .table-wrap{overflow:visible;width:100%}.employees-table-card .employees-table{display:block;width:100%;min-width:0;border-collapse:collapse}.employees-table-card .employees-table thead{display:none}.employees-table-card .employees-table tbody{display:block;width:100%}.employees-table-card .employees-table tbody tr{display:block;width:100%;margin-bottom:14px;padding:8px 12px;border:1px solid #eadfda;border-radius:10px;background:#faf6f3}.employees-table-card .employees-table tbody tr:nth-child(2n){background:#faf6f3}.employees-table-card .employees-table tbody td{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;width:100%;padding:10px 0;border-bottom:1px solid #eadfda;font-size:13px;text-align:right;overflow-wrap:anywhere}.employees-table-card .employees-table tbody td:before{flex:0 0 42%;color:#682039;font-weight:800;text-align:left}.employees-table-card .employees-table tbody td:nth-child(1):before{content:"Nom / Date"}.employees-table-card .employees-table tbody td:nth-child(2):before{content:"Poste / Employé"}.employees-table-card .employees-table tbody td:nth-child(3):before{content:"E-mail / Période"}.employees-table-card .employees-table tbody td:nth-child(4):before{content:"Compte / Montant"}.employees-table-card .employees-table tbody td:nth-child(5):before{content:"Salaire de base / Prime"}.employees-table-card .employees-table tbody td:nth-child(6):before{content:"Téléphone / Avance"}.employees-table-card .employees-table tbody td:last-child{border-bottom:0}.employees-table-card .employees-table tbody td[colspan="6"]{display:block;text-align:center}.employees-table-card .employees-table tbody td[colspan="6"]:before{content:none}.employees-table-card .employees-table .employees-money{white-space:normal}}@media(max-width:650px){.employees-table-card .employees-list-table tbody td:nth-child(1):before{content:"Nom"}.employees-table-card .employees-list-table tbody td:nth-child(2):before{content:"Poste"}.employees-table-card .employees-list-table tbody td:nth-child(3):before{content:"E-mail de connexion"}.employees-table-card .employees-list-table tbody td:nth-child(4):before{content:"Compte"}.employees-table-card .employees-list-table tbody td:nth-child(5):before{content:"Salaire de base"}.employees-table-card .employees-list-table tbody td:nth-child(6):before{content:"Téléphone"}.employees-table-card .employees-salary-table tbody td:nth-child(1):before{content:"Date"}.employees-table-card .employees-salary-table tbody td:nth-child(2):before{content:"Employé"}.employees-table-card .employees-salary-table tbody td:nth-child(3):before{content:"Période"}.employees-table-card .employees-salary-table tbody td:nth-child(4):before{content:"Montant"}.employees-table-card .employees-salary-table tbody td:nth-child(5):before{content:"Prime"}.employees-table-card .employees-salary-table tbody td:nth-child(6):before{content:"Avance"}.employees-table tbody td.employees-empty:before{content:none!important}.employees-table tbody td.employees-empty{display:block;text-align:center}}@media(max-width:650px){.employees-table-card .employees-table tbody td:before{color:#8a747a;font-weight:600}.employees-table-card .employees-list-table tbody td:first-child strong,.employees-table-card .employees-salary-table tbody td:nth-child(2) strong{display:inline-block;padding:7px 12px;border-radius:9px;background:#f1e5cc;color:#54182f;font-size:16px;font-weight:900;line-height:1.4}}@media(max-width:650px){.products-table-wrap{width:100%;overflow:visible!important}.products-table{display:block;width:100%;min-width:0!important;border-collapse:separate;border-spacing:0}.products-table thead{display:none}.products-table tbody{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;width:100%}.products-table tbody tr{display:block;width:100%;padding:8px 12px;border:1px solid #eadfda;border-radius:13px;background:#f8f0e5!important;box-shadow:0 3px 12px #3c1e280e;overflow:hidden}.products-table tbody td{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;min-width:0;padding:11px 5px!important;border-bottom:1px solid #f0e8e5;font-size:14px!important;line-height:1.45;white-space:normal;overflow-wrap:anywhere}.products-table tbody tr td:last-child{border-bottom:0}.products-table tbody td:before{display:block;color:#8a747a;font-size:10px;font-weight:800;letter-spacing:.65px;line-height:1.4;text-transform:uppercase}.products-movements-table tbody td:nth-child(1):before{content:"Date du mouvement"}.products-movements-table tbody td:nth-child(2):before{content:"Produit"}.products-movements-table tbody td:nth-child(3):before{content:"Type de mouvement"}.products-movements-table tbody td:nth-child(4):before{content:"Quantité"}.products-movements-table tbody td:nth-child(5):before{content:"Motif"}.products-inventory-table tbody td:nth-child(1):before{content:"Nom du produit"}.products-inventory-table tbody td:nth-child(2):before{content:"Catégorie"}.products-inventory-table tbody td:nth-child(3):before{content:"Prix de vente"}.products-inventory-table tbody td:nth-child(4):before{content:"Stock disponible"}.products-inventory-table tbody td:nth-child(5):before{content:"Seuil minimum"}.products-inventory-table tbody td:nth-child(6):before{content:"État du stock"}.products-inventory-table tbody td:nth-child(7):before{content:"Action"}.products-inventory-table tbody td:first-child .products-name{color:#54182f!important;font-size:16px!important;font-weight:900!important;overflow-wrap:anywhere}.products-inventory-table .products-sku{display:block;margin-top:4px;font-size:12px}.products-inventory-table .products-price{color:#682039!important;font-size:15px!important;font-weight:900!important}.products-inventory-table td:nth-child(7) button{width:100%;min-height:42px;justify-content:center;white-space:normal}.products-inventory-table tbody tr.warn{background:#f1dfc5!important;border-color:#d9bd94;border-color:#ecd7b7}.products-table tbody td.products-empty{display:block;padding:20px 10px!important;border:0;text-align:center}.products-table tbody td.products-empty:before{content:none!important;display:none}}.platform-admin{--admin-navy: #17243a;--admin-burgundy: #721f3d;--admin-bg: #f5f7fb;--admin-border: #e4e9f0;--admin-muted: #718096;color:#263449;padding-bottom:32px}.platform-admin .dashboard-heading{background:linear-gradient(135deg,#17243a,#293d5b);color:#fff;padding:30px 32px;border-radius:18px;margin-bottom:24px;box-shadow:0 12px 28px #17243a24}.platform-admin .dashboard-heading h2{color:#fff;font-size:28px;font-weight:750;letter-spacing:-.5px;margin:8px 0}.platform-admin .dashboard-heading p{color:#d5deeb;margin:0}.platform-admin .dashboard-eyebrow{color:#e8c99e;font-size:11px;font-weight:800;letter-spacing:2px}.platform-admin .grid.stats{gap:18px;margin-bottom:24px}.platform-admin .stat-card{background:#fff;border:1px solid var(--admin-border);border-radius:16px;padding:22px;min-height:130px;box-shadow:0 5px 18px #1e2d460b;transition:transform .2s ease,box-shadow .2s ease}.platform-admin .stat-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #1e2d4617}.platform-admin .stat-label{color:var(--admin-muted);font-size:13px;font-weight:650}.platform-admin .stat-value{display:block;color:var(--admin-navy);font-size:32px;font-weight:800;margin:10px 0 5px}.platform-admin .stat-detail{color:#8994a5;font-size:12px}.platform-admin>div>button{font-weight:650;transition:background .2s ease,transform .2s ease}.platform-admin>div>button:hover{transform:translateY(-1px)}.platform-admin .card{background:#fff;border:1px solid var(--admin-border);border-radius:16px;padding:24px;margin-bottom:18px;box-shadow:0 5px 18px #1e2d460b}.platform-admin .card h3{color:var(--admin-navy);font-size:19px;font-weight:750;margin-top:0;margin-bottom:18px}.platform-admin .card h4{color:#34445d;font-size:15px;font-weight:700}.platform-admin .card p{color:#59677b;line-height:1.6}.platform-admin li[role=button]{background:#fbfcfe;border:1px solid var(--admin-border)!important;border-radius:12px!important;padding:18px!important;transition:border-color .2s ease,background .2s ease,transform .2s ease}.platform-admin li[role=button]:hover{background:#f3f6fa;border-color:#b8c6d8!important;transform:translateY(-2px)}.platform-admin li[role=button] strong{color:var(--admin-navy);font-size:16px}.platform-admin form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.platform-admin form label{display:flex;flex-direction:column;gap:8px;color:#435168;font-size:13px;font-weight:650}.platform-admin form select,.platform-admin form input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #d8e0ea;border-radius:9px;background:#fff;color:#263449;font:inherit;outline:none;box-sizing:border-box}.platform-admin form select:focus,.platform-admin form input:focus{border-color:#647f9f;box-shadow:0 0 0 3px #647f9f21}.platform-admin form button{justify-self:start;grid-column:1 / -1}.platform-admin button{font-family:inherit;font-weight:650}.platform-admin button:disabled{opacity:.6;cursor:wait!important}.platform-admin .error{border-radius:10px;padding:12px 14px;margin:12px 0}.platform-admin .card>div[style*="border: 1px solid"]{border-color:var(--admin-border)!important;border-radius:12px!important}.platform-admin .card>div[style*=borderTop]{border-color:var(--admin-border)!important}@media(max-width:650px){.platform-admin{padding-bottom:20px}.platform-admin .dashboard-heading{padding:23px 20px;border-radius:14px}.platform-admin .dashboard-heading h2{font-size:23px}.platform-admin .grid.stats{grid-template-columns:1fr;gap:12px}.platform-admin .stat-card{min-height:auto;padding:18px}.platform-admin .stat-value{font-size:28px}.platform-admin .card{padding:18px;border-radius:13px}.platform-admin form{grid-template-columns:1fr}.platform-admin form button{width:100%}.platform-admin button{max-width:100%}.platform-admin li[role=button]{padding:15px!important}}.login-whatsapp{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;margin-top:10px;padding:10px 12px;box-sizing:border-box;border:none;border-radius:8px;background:#721f3d;color:#fff;font-size:14px;font-weight:800;text-decoration:none;transition:background .2s ease}.login-whatsapp:hover{background:#53152c;color:#fff}.login-whatsapp span{font-size:21px}.login-wrap{min-height:100vh;min-height:100dvh;height:100vh;height:100dvh;box-sizing:border-box;padding:10px;overflow:hidden}.login-card{width:min(100%,410px);max-height:calc(100dvh - 20px);overflow-y:auto;box-sizing:border-box;padding:18px 24px;gap:8px}.login-brand{margin-bottom:8px;gap:4px}.login-logo,.login-heading{margin-bottom:4px}.login-heading h2{margin:0 0 4px}.login-heading p{margin:0}.login-card label{gap:5px;margin-bottom:5px}.login-card input{min-height:40px;padding:8px 11px}.login-card button,.login-whatsapp{min-height:40px;margin-top:3px}.login-footer{margin-top:8px;padding-top:8px}.login-footer p{margin:4px 0}@media(max-height:650px){.login-card{padding:10px 20px;gap:5px}.login-brand{margin-bottom:3px}.login-card label{margin-bottom:2px}.login-card input,.login-card button,.login-whatsapp{min-height:35px}.login-footer{margin-top:4px;padding-top:4px}}@media(max-width:480px){.login-wrap{padding:8px}.login-card{padding:15px 17px}}.login-card{width:min(100%,450px);padding:22px 30px;gap:10px}.login-logo{width:62px;height:62px;font-size:34px}.login-brand{margin-bottom:11px}.login-heading h2{font-size:25px;margin-bottom:6px}.login-heading p{font-size:14px}.login-card label{font-size:14px;gap:6px;margin-bottom:7px}.login-card input{min-height:44px;font-size:14px;padding:10px 12px}.login-card button,.login-whatsapp{min-height:44px;font-size:14px}.login-footer{margin-top:10px;padding-top:10px;font-size:12px}@media(max-height:650px){.login-card{padding:12px 22px;gap:5px}}.login-logo-image{display:block;width:72px;height:72px;object-fit:contain;margin:0 auto 8px}@media(max-width:650px){.employees-table-card .employees-salary-table tbody td:nth-child(1):before{content:"Date"}.employees-table-card .employees-salary-table tbody td:nth-child(2):before{content:"Employé"}.employees-table-card .employees-salary-table tbody td:nth-child(3):before{content:"Période"}.employees-table-card .employees-salary-table tbody td:nth-child(4):before{content:"Salaire de base"}.employees-table-card .employees-salary-table tbody td:nth-child(5):before{content:"Primes"}.employees-table-card .employees-salary-table tbody td:nth-child(6):before{content:"Avances"}.employees-table-card .employees-salary-table tbody td:nth-child(7):before{content:"Net"}.employees-table-card .employees-salary-table tbody td:nth-child(8):before{content:"Statut"}.employees-table-card .employees-salary-table tbody td.employees-empty{display:block;text-align:center}.employees-table-card .employees-salary-table tbody td.employees-empty:before{content:none!important;display:none}}@media(max-width:650px){.employees-table-card .employees-salary-table tbody td:nth-child(5),.employees-table-card .employees-salary-table tbody td:nth-child(6){display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:10px;min-width:0}.employees-table-card .employees-salary-table tbody td:nth-child(5)>div,.employees-table-card .employees-salary-table tbody td:nth-child(6)>div{display:block;width:100%;min-width:0;overflow-wrap:anywhere;line-height:1.5;text-align:left}.employees-table-card .employees-salary-table tbody td:nth-child(5)>div small,.employees-table-card .employees-salary-table tbody td:nth-child(6)>div small{display:block;margin-top:3px;overflow-wrap:anywhere}}@media(min-width:651px){.employees-table-card .employees-salary-table tbody td:nth-child(5)>div,.employees-table-card .employees-salary-table tbody td:nth-child(6)>div{display:block;margin-bottom:7px;line-height:1.5;overflow-wrap:anywhere}.employees-table-card .employees-salary-table tbody td:nth-child(5)>div:last-child,.employees-table-card .employees-salary-table tbody td:nth-child(6)>div:last-child{margin-bottom:0}.employees-table-card .employees-salary-table tbody td:nth-child(5)>div small,.employees-table-card .employees-salary-table tbody td:nth-child(6)>div small{display:block;margin-top:2px;line-height:1.4}.employees-table-card .employees-salary-table tbody td:nth-child(8){white-space:nowrap}}.employees-settlement .employees-submit{color:#fff!important}
