:root{--yellow:#ffcc31;--yellow-soft:#fff6d7;--ink:#242a29;--muted:#858b8d;--line:#e9ecee;--bg:#f6f7f9;--green:#368469;--green-soft:#eaf5ef;--red:#c2584c;--radius:16px;--shadow:0 18px 65px #20262516;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation;color:inherit}button:disabled{cursor:not-allowed;opacity:.44}button:focus-visible,a:focus-visible{outline:3px solid #487eaf;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #e6ba2e;outline-offset:1px}button{border:0;background:none}a{color:inherit}svg{flex-shrink:0;vertical-align:middle}h1,h2,h3,h4,p{margin:0}h1{font-size:29px;letter-spacing:-1px;font-weight:650}h2{font-size:20px;font-weight:650;letter-spacing:-.4px}h3{font-size:16px;font-weight:650}small{font-size:12px}input,select,textarea{min-width:0;max-width:100%;color:var(--ink)}input::placeholder,textarea::placeholder{color:#9a9fa0}input[type=checkbox]{accent-color:var(--ink);width:20px;height:20px}input[type=number]{-moz-appearance:textfield}input::-webkit-inner-spin-button{appearance:none}.boot{padding:20vh 20px;text-align:center;color:var(--muted)}.muted{color:var(--muted)}.green{color:var(--green)}.red{color:var(--red)}.bold{font-weight:650}.mono{font-variant-numeric:tabular-nums}.row{display:flex;align-items:center;gap:12px}.between{display:flex;align-items:center;justify-content:space-between;gap:12px}.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}.hide{display:none!important}.small{font-size:12px}.mt{margin-top:22px}.mb{margin-bottom:22px}.stack{display:grid;gap:16px}.text-right{text-align:end}.divider{height:1px;background:var(--line);margin:20px 0}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-inline-end:6px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:5px 8px;font-size:11px;font-weight:550;white-space:nowrap;background:#f0f2f3;color:#707777}.badge.green{background:var(--green-soft);color:var(--green)}.badge.yellow{background:var(--yellow-soft);color:#907013}.badge.red{background:#fceeea;color:var(--red)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 18px;border-radius:10px;font-weight:600;font-size:13px;min-height:44px;white-space:nowrap;transition:background .15s,transform .15s}.btn:active,.product-card:active{transform:scale(.98)}.btn.primary{background:var(--yellow);color:#302c1d}.btn.dark{background:var(--ink);color:#fff}.btn.secondary{background:#fff;border:1px solid #dde2e4}.btn.soft{background:#f3f5f6}.btn.danger{background:#fbeeea;color:var(--red)}.btn.sm{min-height:40px;padding:9px 13px;font-size:12px}.btn.full{width:100%}.icon-btn{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid var(--line);background:#fff;flex-shrink:0}.icon-btn:hover{background:#f4f5f5}.icon-btn.bare{border:0;background:none}.icon-btn.sm{width:40px;height:40px}.avatar{width:36px;height:36px;border-radius:50%;background:#e8ece6;color:#526956;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand-symbol{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:var(--yellow);color:#27291e;font-size:29px;font-weight:900;letter-spacing:-4px;padding-inline-end:4px;line-height:1}.brand-text{font-size:24px;letter-spacing:-1.2px;font-weight:700}.brand-pos{font-size:9px;letter-spacing:2px;color:#858b87;margin-top:2px}.shell{height:100dvh;min-height:500px;display:flex;overflow:hidden}.sidebar{width:92px;flex-shrink:0;border-inline-end:1px solid var(--line);background:#fff;display:flex;align-items:center;flex-direction:column;padding:23px 12px 17px;gap:25px;z-index:10}.sidebar .brand-text,.sidebar .brand-pos{display:none}.sidebar nav{display:flex;flex-direction:column;gap:9px;width:100%}.side-item{height:68px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border-radius:12px;color:#8a8f8f;font-size:10px;letter-spacing:.1px;position:relative}.side-item:hover{background:#f7f8f9}.side-item.active{background:var(--yellow-soft);color:#514727}.side-item.active svg{stroke:#4b4327}.side-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:14px;width:100%}.sidebar.wide{width:218px;align-items:stretch;padding:27px 18px 18px;gap:38px}.sidebar.wide .brand{padding:0 10px}.sidebar.wide .brand-text,.sidebar.wide .brand-pos{display:block}.sidebar.wide .side-item{height:46px;flex-direction:row;justify-content:flex-start;padding:0 15px;gap:13px;font-size:13px;font-weight:500}.sidebar.wide .side-item.active{background:var(--yellow)}.sidebar.wide nav{gap:7px}.sidebar.wide .side-bottom{align-items:stretch}.sidebar-label{font-size:10px;letter-spacing:1.5px;color:#a0a5a4;margin:0 13px 12px;font-weight:600}.workspace{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:84px;min-height:84px;background:#fff;border-bottom:1px solid var(--line);padding:0 28px;display:flex;justify-content:space-between;align-items:center;gap:16px}.app-switch{display:flex;padding:4px;border-radius:10px;background:#f2f4f5;gap:3px}.app-switch button{display:flex;gap:8px;align-items:center;font-weight:600;font-size:12px;padding:9px 14px;border-radius:8px;min-height:38px;color:#838987}.app-switch button.active{background:#fff;box-shadow:0 2px 5px #2026240a;color:#303733}.top-divider{height:28px;width:1px;background:var(--line);margin:0 3px}.top-location{font-size:12px}.top-location strong{display:block;font-size:12px;font-weight:600;margin-bottom:4px}.top-location small{font-size:10px;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:12px}.lang-btn{font-size:12px;min-height:40px;padding:7px}.demo-banner{height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #ede7d5;background:#fffaf0;color:#8d7950;font-size:10px;gap:12px;letter-spacing:.12px}.demo-banner button{text-decoration:underline;font-size:10px}.content{min-height:0;flex:1;display:flex;flex-direction:column;overflow:auto}.pos-content{display:flex;flex:1;min-height:0;overflow:hidden}.catalog{padding:28px 26px 20px;flex:1;min-width:0;display:flex;flex-direction:column}.page-intro{margin-bottom:24px}.page-intro p{color:var(--muted);font-size:12px;margin-top:8px;line-height:1.6}.catalog-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:22px}.catalog-heading h1{font-size:26px;letter-spacing:-.8px}.catalog-heading p{font-size:12px;color:var(--muted);margin-top:6px}.date-label{display:flex;align-items:center;gap:7px;color:#8b9091;font-size:11px}.searchbar{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e6e9eb;border-radius:11px;height:49px;padding-inline-start:14px;box-shadow:0 2px 2px #30303002}.searchbar>svg{color:#979f9e}.searchbar input{border:0;background:transparent;outline:none!important;flex:1;font-size:12px;height:100%;width:100%}.searchbar .icon-btn{border:0;background:transparent}.searchbar kbd{font-size:10px;border:1px solid #e9eced;border-radius:5px;padding:4px 6px;color:#939998;background:#fafbfb}.category-row{display:flex;gap:8px;overflow-x:auto;flex-shrink:0;padding:18px 0 20px;scrollbar-width:none}.category-row::-webkit-scrollbar{display:none}.category{min-height:42px;flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e2e6e7;padding:8px 15px;border-radius:9px;font-size:11px;font-weight:550;white-space:nowrap;background:#fff;color:#7c8382}.category.active{background:var(--ink);color:#fff;border-color:var(--ink)}.category .count{font-size:9px;opacity:.65}.products-scroll{overflow-y:auto;min-height:0;padding-bottom:15px;padding-inline-end:3px;scrollbar-width:thin;scrollbar-color:#dce2df transparent}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.product-card{display:flex;flex-direction:column;padding:8px;border:1px solid #e8eaeb;border-radius:14px;background:#fff;text-align:start;overflow:hidden;position:relative;transition:box-shadow .15s,border .15s,transform .15s;min-width:0}.product-card:hover{border-color:#d8bb5b;box-shadow:0 4px 14px #31362c08}.art-box{height:137px;border-radius:9px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.tone-sage{background:#eef2ee}.tone-peach{background:#faf0e8}.tone-blue{background:#edf3f7}.tone-sand{background:#f5f1e9}.tone-lavender{background:#f0eef6}.product-art{width:100%;height:100%;max-height:150px;display:block}.product-count{position:absolute;top:8px;inset-inline-end:8px;min-width:23px;height:23px;background:var(--ink);color:#fff;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700}.featured-tag{position:absolute;top:8px;inset-inline-start:8px;color:#87948b;background:#ffffffaf;border-radius:5px;padding:4px;font-size:8px}.product-info{padding:13px 5px 6px}.product-name{font-size:11.5px;font-weight:600;line-height:1.3;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:8px}.product-stock{font-size:9px;color:#929a96}.product-stock.low{color:#b18141}.product-price{display:flex;justify-content:space-between;align-items:center;margin-top:9px;gap:4px}.product-price strong{font-size:13px;letter-spacing:-.3px;font-weight:700}.product-price strong span{font-size:8px;margin-inline-end:3px;color:#89908b;font-weight:500;letter-spacing:.2px}.add-chip{width:25px;height:25px;display:flex;align-items:center;justify-content:center;border-radius:7px;border:1px solid #e4e8e5;color:#757f78;background:#fcfdfc}.product-card:disabled{opacity:.6}.product-card:disabled .art-box{filter:grayscale(.7)}.catalog-footer{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#9ca3a0;padding-top:10px;margin-top:auto}.checkout{width:369px;min-width:340px;background:#fff;border-inline-start:1px solid var(--line);display:flex;flex-direction:column;position:relative}.checkout-header{padding:24px 23px 16px}.checkout-header h2{font-size:18px;letter-spacing:-.5px}.checkout-header .order-label{font-size:10px;color:#a1a6a4;margin-top:6px}.count-pill{min-width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;font-size:10px;border-radius:6px;background:#f1f3f3;margin-inline-start:6px;vertical-align:middle}.customer-picker{margin:0 23px 16px;min-height:48px;border:1px dashed #dce2df;border-radius:10px;display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#fafbfa;font-size:11px}.customer-picker .avatar{width:27px;height:27px;background:#edf0ed;color:#86928a}.cart-lines{overflow-y:auto;padding:0 23px;flex:1;min-height:105px;scrollbar-width:thin}.cart-line{padding:16px 0;border-bottom:1px solid #eff1f1;display:grid;grid-template-columns:49px 1fr;gap:12px}.cart-thumb{height:49px;border-radius:9px;overflow:hidden}.cart-line-name{font-size:11px;font-weight:600;line-height:1.4}.cart-line-name .line-remove{width:26px;height:26px;color:#a6aba8;margin:-5px -5px -5px 3px}.cart-line-price{font-size:10px;color:#999f9b;margin-top:3px}.cart-line-bottom{margin-top:10px;display:flex;align-items:center;justify-content:space-between}.qty-stepper{display:inline-flex;align-items:center;gap:0;border:1px solid #e5e9e6;border-radius:7px;overflow:hidden}.qty-stepper button{width:36px;height:34px;display:flex;align-items:center;justify-content:center;font-size:12px}.qty-stepper .qty-value{min-width:30px;font-weight:600}.qty-stepper button:first-child,.qty-stepper button:last-child{background:#fafbfa;color:#8f9991}.line-total{font-size:12px;font-weight:650}.cart-empty{height:100%;min-height:170px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:20px;color:#a0a7a1}.empty-icon{width:75px;height:75px;border-radius:24px;background:#f5f7f4;color:#8c9d8e;display:flex;align-items:center;justify-content:center;margin-bottom:17px}.cart-empty h3{font-size:13px;color:#6c796f;font-weight:550;margin-bottom:8px}.cart-empty p{max-width:230px;font-size:11px;line-height:1.7}.cart-bottom{padding:17px 23px 20px;background:#fff}.cart-actions{display:flex;gap:8px;margin-bottom:19px}.cart-actions button{flex:1;font-size:10px;min-height:40px;border-radius:8px;border:1px solid #e6eae6;display:flex;align-items:center;justify-content:center;gap:6px;color:#7b857b}.totals{display:grid;gap:12px}.totals .between{font-size:11px;color:#8a948d}.totals .between span:last-child{color:#465348;font-variant-numeric:tabular-nums}.totals .total-line{padding-top:17px;margin-top:2px;border-top:1px dashed #e1e6df;align-items:flex-end;font-size:13px;color:var(--ink);font-weight:600}.total-line strong{font-size:24px;font-weight:700;color:var(--ink);letter-spacing:-.8px}.total-line strong small{font-size:10px;font-weight:500;letter-spacing:0;margin-inline-end:4px;color:#6f7a71}.pay-btn{width:100%;height:56px;border-radius:10px;background:var(--yellow);margin-top:20px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:13px;font-weight:700}.checkout-footer{text-align:center;color:#a3aaa4;font-size:9px;margin-top:13px;display:flex;gap:5px;align-items:center;justify-content:center}.mobile-cart-button{display:none}.drawer-backdrop{display:none}.admin-page{padding:30px 32px 40px;overflow:auto}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.stat-card{border:1px solid var(--line);border-radius:14px;background:#fff;padding:20px 21px;min-width:0}.stat-card .label{font-size:11px;color:#88928b;display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.stat-card .stat-value{font-size:28px;font-weight:650;letter-spacing:-1px;white-space:nowrap}.stat-value small{font-size:11px;letter-spacing:0;color:#788279;margin-inline-end:5px;font-weight:450}.stat-foot{font-size:10px;color:#97a099;margin-top:12px}.stat-icon{width:29px;height:29px;border-radius:8px;background:#f3f6f3;color:#798d7c;display:flex;align-items:center;justify-content:center}.stat-card.accent{background:#fffbed;border-color:#eee6cb}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:20px;margin-top:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;min-width:0}.panel-header{padding:23px 23px 8px;display:flex;align-items:center;justify-content:space-between;gap:14px}.panel-header h2{font-size:15px;letter-spacing:-.15px}.panel-header p{font-size:10px;color:#969e98;margin-top:6px}.panel-body{padding:21px 23px}.chart-wrap{padding:15px 21px 15px;width:100%}.chart-wrap svg{width:100%;height:220px;overflow:visible}.chart-label{fill:#9aa299;font-size:10px}.mini-product{display:flex;align-items:center;gap:12px;margin-bottom:19px}.mini-product:last-child{margin-bottom:0}.mini-art{width:46px;height:46px;border-radius:9px;overflow:hidden;flex-shrink:0}.mini-product h4{font-size:11px;font-weight:550;margin-bottom:5px}.mini-product p{font-size:9px;color:#98a097}.rank{font-size:10px;color:#a5aba4;min-width:12px}.progress-track{height:4px;background:#f1f4f0;border-radius:2px;margin-top:7px;overflow:hidden}.progress-bar{height:100%;background:#aac0aa}.table-wrap{overflow:auto}.data-table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:start}.data-table th{background:#fafbfa;color:#8b938d;font-size:10px;font-weight:550;padding:14px 20px;text-align:start;border-bottom:1px solid var(--line)}.data-table td{font-size:11px;padding:14px 20px;border-bottom:1px solid #eff2ef;color:#5f6c61}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fcfdfc}.data-table .product-cell{display:flex;align-items:center;gap:11px}.product-cell strong{display:block;font-size:11px;font-weight:600;color:#354337}.product-cell small{display:block;color:#98a095;font-size:9px;margin-top:4px}.table-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:14px 20px;font-size:10px;color:#929d91}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:19px 21px}.toolbar .searchbar{max-width:380px;flex:1;height:43px;background:#fcfdfc;box-shadow:none}.filter-select{height:43px;border:1px solid #e3e8e3;background:#fff;border-radius:9px;padding:0 12px;font-size:11px}.summary-strip{display:flex;align-items:center;gap:20px;margin-bottom:21px;font-size:11px;color:#95a093;flex-wrap:wrap}.summary-strip strong{color:#4d5d4b;font-weight:550;margin-inline-start:4px}.page-header-actions{display:flex;align-items:center;gap:10px}.empty-state{padding:60px 20px;text-align:center;color:#93a08f}.empty-state h3{margin:15px 0 8px;color:#62755c;font-size:15px}.empty-state p{font-size:12px;line-height:1.7;max-width:350px;margin:auto}.settings-grid{display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:start}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:550}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe6dd;border-radius:9px;min-height:45px;padding:11px 12px;background:#fff;font-size:12px;font-weight:400}.field textarea{resize:vertical;min-height:90px}.field small{font-size:10px;color:#919d8e;font-weight:400;line-height:1.6}.field-inline{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6;cursor:pointer}.form-section{font-size:13px;font-weight:650;margin:7px 0 17px}.form-error{color:#b95243;font-size:12px;line-height:1.6;padding:11px 14px;background:#fff0ec;border-radius:8px;margin-bottom:15px}.notice{padding:13px 15px;border-radius:9px;background:#fff8e1;font-size:11px;line-height:1.7;color:#8c7951;display:flex;gap:10px}.notice.info{background:#f0f5f5;color:#6a8381}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.team-card{padding:25px;background:white;border:1px solid var(--line);border-radius:14px}.team-card .avatar{width:49px;height:49px;font-size:16px;margin-bottom:18px}.team-card h3{margin-bottom:6px;font-size:15px}.team-card p{font-size:11px;color:#919c8e;margin-bottom:16px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.help-card{padding:25px;border-radius:14px;border:1px solid var(--line);background:#fff}.help-card h3{margin:15px 0 10px}.help-card p{font-size:12px;line-height:1.8;color:#879582}.register-card{max-width:780px;margin:0 auto}.register-hero{background:#f6f9f3;border-bottom:1px solid #e6eddf;padding:30px;display:flex;align-items:center;gap:20px}.register-hero .empty-icon{margin:0}.register-body{padding:30px}.register-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:25px 0}.register-metrics p{font-size:11px;color:#8b9a82;margin-bottom:10px}.register-metrics strong{font-size:23px;letter-spacing:-.6px}.modal-backdrop{position:fixed;inset:0;background:#18241e66;backdrop-filter:blur(5px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;animation:fade-in .13s ease}.modal{width:520px;max-width:100%;max-height:92dvh;border-radius:19px;background:#fff;box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden;animation:slide-in .17s ease}.modal.large{width:720px}.modal-header{padding:21px 25px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);flex-shrink:0}.modal-header h2{font-size:19px}.modal-body{padding:23px 25px;overflow-y:auto}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:18px 25px;border-top:1px solid var(--line);background:#fff;flex-shrink:0}.payment-total{font-size:44px;font-weight:650;letter-spacing:-1.5px;margin:8px 0 23px}.payment-total small{font-size:14px;font-weight:450;letter-spacing:0;margin-inline-end:5px;color:#8b9a82}.method-tabs{display:flex;gap:10px;margin-bottom:22px}.method-tab{flex:1;min-height:65px;border:1px solid #e0e7db;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:550;font-size:12px}.method-tab.active{border:2px solid #eac02c;background:#fffbef}.amount-input{display:flex;align-items:center;border:1px solid #dbe4d5;border-radius:10px;padding:0 15px;height:57px;gap:10px;background:#fafcf9}.amount-input span{font-size:12px;color:#96a18f}.amount-input input{background:transparent;border:0;outline:0;font-size:25px;font-weight:550;width:100%;text-align:end;font-variant-numeric:tabular-nums}.quick-cash{display:flex;gap:8px;margin:12px 0}.quick-cash button{flex:1;border:1px solid #e2e8de;min-height:42px;border-radius:8px;font-size:11px}.quick-cash button:first-child{background:#f5f8f1}.numpad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:13px 0}.numpad button{min-height:53px;border:1px solid #e1e7dd;border-radius:9px;font-size:19px;font-weight:500;background:#fcfdfa}.numpad button:hover{background:#f0f4ec}.change-box{background:#f0f6ec;display:flex;justify-content:space-between;padding:14px 15px;border-radius:9px;font-size:13px;margin-top:15px}.change-box strong{font-weight:650}.success-check{height:72px;width:72px;background:#ecf5e7;border-radius:50%;color:#6f9763;display:flex;align-items:center;justify-content:center;margin:0 auto 17px}.receipt-preview{padding:28px 24px;border:1px solid #e4e9df;border-radius:11px;background:#fff;font-family:'Courier New',monospace;font-size:11px;line-height:1.7}.receipt-preview h3{font-family:inherit;font-size:18px;text-align:center;margin-bottom:5px}.receipt-preview .receipt-meta{text-align:center;color:#829277;font-size:10px}.receipt-preview hr{border:0;border-top:1px dashed #ced9c5;margin:16px 0}.receipt-preview .receipt-lines{display:grid;gap:12px}.receipt-preview .receipt-total{font-size:16px;font-weight:700}.receipt-preview .receipt-end{text-align:center;margin-top:20px;font-size:10px;color:#809171}.ticket{display:flex;align-items:center;gap:14px;width:100%;text-align:start;padding:17px 0;border-bottom:1px solid var(--line)}.ticket:last-child{border-bottom:0}.ticket h3{font-size:13px;margin-bottom:6px}.ticket p{font-size:10px;color:#91a087}.ticket .amount{font-size:13px;font-weight:650}.customer-list{max-height:300px;overflow:auto;margin-top:15px}.customer-row{display:flex;align-items:center;gap:12px;min-height:66px;width:100%;text-align:start;border-bottom:1px solid var(--line)}.customer-row strong{display:block;font-size:12px;margin-bottom:4px}.customer-row small{color:#98a58f;font-size:10px}.customer-row .avatar{width:34px;height:34px}.tier-row{display:grid;grid-template-columns:1fr 1fr 40px;gap:9px;align-items:end;margin-top:10px}.login{min-height:100dvh;display:grid;grid-template-columns:1.1fr 1fr;background:#fff}.login-story{background:#242f28;color:#fff;padding:55px 65px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story .brand-text{font-size:26px}.login-story h1{font-size:64px;line-height:1.1;letter-spacing:-3px;max-width:540px;margin:65px 0 24px;font-weight:550}.login-story h1 em{font-style:normal;color:var(--yellow)}.login-story p{font-size:15px;color:#aebdaf;line-height:1.9;max-width:390px}.login-features{display:flex;gap:12px;flex-wrap:wrap;margin-top:35px}.login-features span{border:1px solid #485749;border-radius:25px;padding:11px 15px;font-size:11px;color:#c5d0c2}.login-story-footer{margin-top:auto;font-size:11px;color:#819780;padding-top:60px;line-height:1.8}.login-form{display:flex;align-items:center;justify-content:center;padding:40px}.login-inner{width:370px;max-width:100%}.login-inner .eyebrow{font-size:10px;letter-spacing:2px;color:#84917e;margin-bottom:17px}.login-inner h2{font-size:31px;letter-spacing:-1px;margin-bottom:12px}.login-inner>p{font-size:13px;color:#92a08b;line-height:1.8;margin-bottom:35px}.login-inner form{display:grid;gap:20px}.login-inner .btn{height:49px}.login-note{font-size:10px;color:#a1ad9a;line-height:1.8;text-align:center;margin-top:25px}#toast-root{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:300;display:grid;gap:10px;max-width:calc(100% - 30px);pointer-events:none}.toast{display:flex;align-items:center;gap:10px;background:#29372b;color:#fff;border-radius:11px;padding:15px 21px;font-size:12px;box-shadow:0 5px 25px #14241133;animation:slide-in .18s;line-height:1.5;max-width:520px}.toast.error{background:#a85040}#print-root{display:none}.loading-veil{pointer-events:none;opacity:.55}.mobile-only{display:none}[dir=rtl] .brand-symbol{letter-spacing:-3px}[dir=rtl] .brand,[dir=rtl] .mono{direction:ltr}[dir=rtl] .searchbar input{text-align:right}[dir=rtl] h1{letter-spacing:0}[dir=rtl] .modal-body{font-size:14px}[dir=rtl] .date-label{direction:rtl}[dir=rtl] .sidebar.wide .brand{justify-content:flex-end}[dir=rtl] .btn svg[data-direction]{transform:scaleX(-1)}
@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes slide-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.catalog{padding:30px 34px}.product-grid{gap:20px}.art-box{height:166px}.checkout{width:415px}.product-info{padding:15px 8px 8px}.product-name{font-size:13px}.product-price strong{font-size:15px}.product-stock{font-size:10px}}
@media(max-width:1250px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog{padding:24px 20px 16px}.checkout{width:335px;min-width:310px}.checkout-header,.cart-bottom{padding-inline:20px}.cart-lines{padding-inline:20px}.customer-picker{margin-inline:20px}.topbar{padding-inline:22px}.top-location{display:none}.date-label{display:none}.sidebar.wide{width:184px;padding-inline:12px}.sidebar.wide .brand-text{font-size:22px}.admin-page{padding:26px 24px 35px}.stats{gap:12px}.stat-card{padding:18px 16px}.stat-card .stat-value{font-size:24px}.dashboard-grid{grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:15px}.settings-grid{grid-template-columns:1fr 280px}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1020px){.sidebar{width:77px;padding-inline:9px}.topbar{height:74px;min-height:74px;padding-inline:18px}.topbar-right{gap:7px}.top-divider{display:none}.product-grid{gap:10px}.product-name{font-size:11px}.art-box{height:118px}.product-info{padding:11px 3px 4px}.checkout{width:315px;min-width:300px}.checkout-header{padding-top:22px}.sidebar.wide{width:77px;padding:23px 9px 16px}.sidebar.wide .brand{padding:0;justify-content:center}.sidebar.wide .brand-text,.sidebar.wide .brand-pos,.sidebar-label{display:none}.sidebar.wide .side-item{height:62px;flex-direction:column;justify-content:center;padding:0;gap:6px;font-size:9px}.sidebar.wide .side-bottom{align-items:center}.sidebar.wide nav{gap:5px}.sidebar.wide .side-item.active{background:var(--yellow-soft)}.sidebar.wide .sidebar-user-label{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr 1fr}.settings-grid{grid-template-columns:1fr}.settings-preview{display:none}.demo-banner{padding-inline:18px}.login-story{padding:40px}.login-story h1{font-size:48px}.header-clock{display:none}}
@media(max-width:820px){.sidebar{width:70px;padding-inline:7px}.catalog{padding:22px 18px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.art-box{height:140px}.checkout{display:none;position:fixed;inset-block:0;inset-inline-end:0;height:100dvh;width:min(420px,100%);z-index:80;border:0;box-shadow:var(--shadow)}.checkout.open{display:flex}.drawer-backdrop.open{display:block;position:fixed;inset:0;background:#142a1c66;z-index:79}.mobile-cart-button{display:flex;position:fixed;inset-inline-start:88px;inset-inline-end:18px;bottom:18px;z-index:30;background:var(--ink);color:#fff;min-height:58px;align-items:center;justify-content:space-between;padding:0 18px;border-radius:13px;box-shadow:0 5px 20px #223a2222;font-size:13px;font-weight:600}.catalog{padding-bottom:85px}.mobile-only{display:inline-flex}.catalog-footer{display:none}.dashboard-grid{grid-template-columns:1fr}.help-grid{grid-template-columns:1fr}.topbar .app-switch button{padding:9px 11px}.table-wrap{max-width:100%}.login{grid-template-columns:1fr}.login-story{display:none}.login-form{min-height:100dvh}.header-user-name{display:none}}
@media(max-width:560px){.shell{min-height:0}.sidebar,.sidebar.wide{width:59px;padding:18px 5px 12px;gap:22px}.sidebar.wide .brand{padding:0}.brand-symbol{width:34px;height:34px;font-size:26px}.side-item{font-size:8px;gap:6px;height:58px;border-radius:9px}.side-item svg{width:20px;height:20px}.sidebar.wide .side-item{font-size:8px;height:57px}.sidebar nav,.sidebar.wide nav{gap:3px}.sidebar .side-bottom{gap:10px}.sidebar .side-bottom>.icon-btn{width:36px;height:36px}.sidebar .side-bottom .row{gap:0}.sidebar .avatar{width:29px;height:29px;font-size:10px}.topbar{min-height:65px;height:65px;padding:0 12px;gap:6px}.app-switch{padding:3px;gap:0}.app-switch button{font-size:10px!important;padding:8px 9px!important;min-height:36px;gap:5px}.app-switch button svg{width:15px;height:15px}.topbar-right{gap:0}.topbar-right .full-button,.topbar-right .user-avatar{display:none}.lang-btn{padding:8px 3px;font-size:10px;min-width:28px}.demo-banner{padding:0 12px;font-size:8px;height:31px;line-height:1.35}.demo-banner .demo-extra{display:none}.demo-banner button{font-size:8px;flex-shrink:0}.catalog{padding:20px 12px 86px}.catalog-heading{margin-bottom:18px}.catalog-heading h1{font-size:23px}.catalog-heading p{font-size:10px}.catalog-heading>.icon-btn{width:36px;height:36px}.searchbar{height:45px;padding-inline-start:11px;gap:7px}.searchbar input{font-size:11px}.searchbar kbd{display:none}.searchbar .icon-btn{width:38px;height:40px}.category-row{gap:7px;padding:14px 0 16px}.category{padding:8px 11px;font-size:10px;min-height:40px;border-radius:8px}.category svg{width:13px;height:13px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-card{padding:6px;border-radius:11px}.art-box{height:113px;border-radius:7px}.product-name{font-size:10px;margin-bottom:6px}.product-stock{font-size:8px}.product-price{margin-top:7px}.product-price strong{font-size:11px}.product-price strong span{font-size:7px}.add-chip{width:23px;height:23px;border-radius:6px}.product-info{padding:10px 2px 3px}.mobile-cart-button{inset-inline-start:72px;inset-inline-end:12px;bottom:13px;border-radius:10px;min-height:53px;font-size:11px;padding:0 13px}.mobile-cart-button .badge{font-size:10px;background:#465a41;color:#fff}.admin-page{padding:22px 14px 30px}.page-intro{margin-bottom:21px;align-items:flex-start}.page-intro h1{font-size:23px;line-height:1.2}.page-intro p{font-size:10px;line-height:1.6}.page-intro.between{flex-direction:column;gap:15px;align-items:stretch}.page-header-actions{flex-wrap:wrap;gap:7px}.page-header-actions .btn{font-size:10px;padding:10px 12px}.stats{gap:9px}.stat-card{padding:14px 12px;border-radius:11px}.stat-card .label{font-size:9px;margin-bottom:11px}.stat-icon{width:23px;height:23px}.stat-icon svg{width:14px;height:14px}.stat-card .stat-value{font-size:21px;letter-spacing:-.8px}.stat-value small{font-size:8px;display:block;line-height:1.5}.stat-foot{font-size:8px;line-height:1.6;margin-top:10px}.panel-header{padding:18px 15px 8px}.panel-header h2{font-size:13px}.panel-header p{font-size:9px}.panel-body{padding:18px 15px}.panel-header .btn{font-size:9px;padding:7px 8px;min-height:36px}.chart-wrap{padding:12px}.chart-wrap svg{height:180px}.toolbar{padding:13px 12px;flex-wrap:wrap;gap:8px}.toolbar .searchbar{flex-basis:100%;max-width:none;height:42px}.filter-select{font-size:10px;max-width:100%;width:100%}.data-table th{padding:13px;font-size:9px}.data-table td{padding:13px;font-size:10px}.data-table .mini-art{width:34px;height:34px}.product-cell strong{font-size:10px}.product-cell small{font-size:8px}.table-footer{font-size:9px;padding:12px;gap:12px;line-height:1.7}.summary-strip{gap:12px;font-size:9px;line-height:1.5}.team-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr;gap:15px}.settings-grid{gap:14px}.modal-backdrop{padding:10px}.modal{max-height:96dvh;border-radius:15px}.modal-header{padding:16px 17px 13px}.modal-header h2{font-size:17px}.modal-body{padding:19px 17px}.modal-footer{padding:14px 17px}.modal-footer .btn{padding:11px 13px;font-size:12px}.payment-total{font-size:37px;margin-bottom:18px}.numpad button{min-height:47px}.register-hero{padding:20px;gap:15px}.register-hero .empty-icon{width:55px;height:55px}.register-hero h2{font-size:16px}.register-body{padding:20px}.register-metrics{grid-template-columns:1fr;gap:17px}.register-metrics strong{font-size:22px}.topbar .icon-btn{width:34px;height:34px}.field{font-size:11px}.help-card{padding:20px}.table-footer .desktop-only{display:none}.topbar-right>.header-user{display:none}}
@media(pointer:coarse){.qty-stepper button{width:42px;height:42px}.cart-actions button{min-height:44px}.line-remove{min-width:40px;min-height:40px}.category{min-height:44px}.product-price{min-height:28px}}
@media print{body>*:not(#print-root){display:none!important}#print-root{display:block!important}body{background:#fff;margin:0;color:#000}#print-root .receipt-preview{width:72mm;padding:2mm;border:0;border-radius:0;color:#000;font-size:10px}#print-root .receipt-preview *{color:#000!important}#print-root .receipt-preview hr{border-color:#000}#print-root .receipt-preview h3{font-size:15px}@page{size:80mm auto;margin:4mm}}

/* Raster/vector product content is direction-neutral even in the Arabic layout. */
.product-art{direction:ltr}.mono{unicode-bidi:isolate}.product-price strong span,.stat-value small,.total-line strong small,.payment-total small{display:inline-block;unicode-bidi:isolate;margin-inline-end:4px}
[dir=rtl] .product-name{font-size:13px}[dir=rtl] .product-stock{font-size:10px}[dir=rtl] .cart-line-name{font-size:13px}[dir=rtl] .category{font-size:12px}[dir=rtl] .side-item{font-size:11px;line-height:1.35}[dir=rtl] .sidebar.wide .side-item{font-size:13px}[dir=rtl] .totals .between{font-size:12px}
@media(pointer:coarse){.qty-stepper button{width:44px;height:44px}.line-remove{min-width:44px;min-height:44px}}
@media(max-width:560px){[dir=rtl] .product-name{font-size:11px}[dir=rtl] .product-stock{font-size:9px}[dir=rtl] .side-item,[dir=rtl] .sidebar.wide .side-item{font-size:9px}[dir=rtl] .category{font-size:11px}}

/* Required cash reconciliation stays compact and readable on every screen */
.shift-dialog{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 32px);border-radius:22px}.shift-dialog .modal-body{padding:20px 24px}.shift-dialog .modal-header{padding:20px 24px 0}.shift-dialog .modal-header h2{font-size:21px}.shift-dialog .modal-footer{padding:16px 24px;display:flex}.shift-dialog .modal-footer .primary{flex:1}.shift-heading{display:flex;align-items:center;gap:12px}.shift-heading>svg{color:#8b6500}.shift-heading>div{flex:1;min-width:0}.shift-heading small{display:block;color:#5b6470;font-size:12px;margin-top:5px}.shift-summary{background:#f6f7f8;border:1px solid #e7e9ec;border-radius:12px;padding:10px 14px}.shift-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;font-size:13px}.shift-summary>div:last-child{border-top:1px solid #dce0e4;font-weight:700}.shift-dialog .field input{height:46px;font-size:19px;direction:ltr;text-align:start;font-variant-numeric:tabular-nums}.shift-dialog textarea{min-height:72px}.shift-dialog [hidden]{display:none!important}.shift-dialog .notice.warning{background:#fff4df;color:#795000;border:1px solid #e8c677}.shift-history-note{display:block;max-width:220px;white-space:normal;overflow-wrap:anywhere;margin-top:4px;color:#5b6470}.shift-dialog .small{line-height:1.8}.shift-dialog .stack{gap:14px}@media(max-width:480px){.shift-dialog .modal-body{padding:16px 18px}.shift-dialog .modal-header{padding:18px 18px 0}.shift-dialog .modal-footer{padding:14px 18px}.shift-dialog{max-height:calc(100dvh - 20px - env(safe-area-inset-bottom));width:calc(100vw - 24px)}}

.shift-dialog .notice{font-size:13px;line-height:1.7}.shift-dialog .badge{font-size:11px}
