:root{color-scheme:light;font-family:'Segoe UI',Tahoma,Arial,sans-serif;font-size:16px;color:#242538;background:#f6f7fb;--bg:#f6f7fb;--panel:#ffffff;--header:#ffffff;--border:#e1e4ec;--muted:#697286;--blue:#3b82f6;--radius:14px}
*{box-sizing:border-box}body{margin:0;min-width:320px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{color:inherit;transition:background .16s,border-color .16s,transform .16s,box-shadow .16s}button:disabled{cursor:not-allowed;opacity:.42;transform:none!important}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #80adff;outline-offset:4px}input:focus,select:focus{border-color:#6098f5;outline:none;box-shadow:0 0 0 3px #22243a12}input::placeholder{color:#697286}svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}a{color:#596176}h1,h2,h3,h4,p{margin:0}h1{font-size:1.55rem;font-weight:650;letter-spacing:-.045em}h2{font-size:1.15rem;font-weight:650}h3{font-size:1rem;font-weight:600}small{font-size:.8rem}[hidden]{display:none!important}
.app-header{height:82px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;position:relative;direction:ltr;border-bottom:1px solid #e1e4ec;background:#ffffff}.brand{display:flex;align-items:center;gap:11px;direction:ltr;position:absolute;left:50%;transform:translateX(-50%)}.brand-mark{width:40px;height:43px;border-radius:12px;background:#7454e8;display:grid;place-items:center;box-shadow:0 4px 18px #22243a12}.brand-mark svg{width:25px;height:25px;stroke-width:2}.brand-title{font-size:1.75rem;font-weight:650;letter-spacing:-.04em;line-height:1.35}.brand-subtitle{color:#697286;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase}.register-close,.user-button{display:flex;align-items:center;justify-content:center;gap:10px;background:transparent;border:1px solid transparent;border-radius:9px;padding:9px 11px}.register-close{color:#596176;font-size:.875rem}.register-close:hover{background:#fff1f4;color:#b42342}.register-close svg{width:17px;height:17px}.user-button{direction:inherit;font-size:.875rem;text-align:right}.user-button:hover{background:#f4f5fa}.user-button .avatar,.user-avatar{width:34px;height:34px;border:1px solid #c6b6ee;background:#f1ecfc;color:#6d47c3;border-radius:50%;display:grid;place-items:center;font-weight:650;font-size:.75rem}.user-button small{display:block;color:var(--muted);font-size:.75rem}.user-button>svg:last-child{width:14px;color:#596176}
.app-nav{display:flex;align-items:center;gap:8px;min-height:60px;padding:0 28px;border-bottom:1px solid #e1e4ec;background:#ffffff}.nav-tab{padding:17px 18px;border:0;border-bottom:2px solid transparent;background:transparent;color:#596176;display:flex;align-items:center;gap:9px;font-size:.875rem;align-self:stretch}.nav-tab svg{width:18px;height:18px}.nav-tab:hover{color:#242538;background:#f4f5fa}.nav-tab.active{color:#6d47c3;border-bottom-color:#c6b6ee;background:#f1ecfc}.branch-label{margin-inline-start:auto;display:flex;align-items:center;gap:8px;color:#596176;font-size:.8rem}.branch-label svg{width:16px;height:16px;color:#697286}
.workspace{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(360px,1fr);gap:20px;padding:22px 26px 18px;align-items:stretch}.menu-panel{min-width:0}.menu-toolbar{min-height:76px;display:flex;align-items:flex-start;gap:12px;padding-bottom:18px}.section-heading{flex:1}.section-heading h1{font-size:1.4rem;line-height:1.5}.section-heading p{color:#697286;font-size:.8125rem;margin-top:2px}.menu-select{appearance:none;background:#ffffff;border:1px solid #e1e4ec;border-radius:9px;color:#242538;min-height:42px;padding:8px 13px 8px 33px;min-width:108px;font-size:.875rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:left 10px center;background-repeat:no-repeat}.search-field{display:flex;align-items:center;gap:9px;position:relative;background:#ffffff;border:1px solid #e1e4ec;border-radius:9px;height:42px;padding:0 12px;color:#697286;min-width:0}.search-field input{width:100%;min-width:0;height:100%;border:0;outline:none;box-shadow:none;background:transparent;color:#242538;font-size:.875rem}.search-field:focus-within{border-color:#679cf6;box-shadow:0 0 0 3px #22243a12}.search-field svg{width:17px;height:17px}.menu-toolbar .search-field{flex:0 1 235px}.menu-body{display:flex;gap:16px;align-items:stretch}.category-rail{width:90px;min-width:90px;display:flex;flex-direction:column;gap:6px;padding:4px;border:1px solid #e1e4ec;border-radius:13px;background:#ffffff;align-self:flex-start}.category-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:85px;padding:13px 5px;background:transparent;border:1px solid transparent;border-radius:9px;color:#697286;font-size:.8125rem;font-weight:500}.category-button svg{width:25px;height:25px;stroke-width:1.6}.category-button:hover{background:#f4f5fa;color:#242538}.category-button.active{background:#3b82f6;color:#ffffff;border-color:#7350df;box-shadow:0 4px 15px #22243a12}.catalog{flex:1;min-width:0}.catalog-meta{color:#697286;font-size:.8125rem;min-height:26px;display:flex;justify-content:space-between;align-items:flex-start;padding:0 1px 10px}.product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.product-tile{position:relative;display:flex;flex-direction:column;text-align:start;min-width:0;min-height:145px;border:1px solid #ffffff12;border-radius:10px;padding:15px 12px 11px;background:var(--tile-color,#4c35a9);color:#242538;overflow:hidden;box-shadow:0 2px 2px #22243a12}.product-tile:hover{transform:translateY(-3px);border-color:#ffffff75;box-shadow:0 6px 17px #22243a12;filter:brightness(1.08)}.product-tile:active{transform:translateY(0) scale(.97)}.product-name{font-size:.98rem;font-weight:600;line-height:1.6;padding-inline-end:2px}.product-en{font-size:.69rem;color:currentColor;opacity:.62;margin-top:4px;line-height:1.4;direction:ltr;text-align:right}.product-meta{margin-top:auto;padding-top:21px;display:flex;align-items:flex-end;justify-content:space-between;gap:5px;direction:ltr}.sku{font-size:.68rem;font-weight:500;opacity:.62;letter-spacing:.02em}.price{font-size:.95rem;font-weight:650;white-space:nowrap;display:flex;align-items:baseline;gap:4px}.price small{font-size:.65rem;opacity:.65;font-weight:400}.product-count{position:absolute;top:8px;left:8px;min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;border-radius:5px;color:#242538;background:#ffffff28;border:1px solid #ffffff30;font-size:.65rem;font-weight:700}.product-tile:has(.product-count){border-color:#ffffff60}.suggestions-heading{display:flex;align-items:center;gap:8px;margin:24px 0 12px;color:#596176;font-size:.875rem;font-weight:500}.suggestions-heading svg{width:17px;height:17px;color:#596176}
.order-panel{display:flex;flex-direction:column;min-width:0;min-height:680px;background:#ffffff;border:1px solid #e1e4ec;border-radius:14px;overflow:hidden;box-shadow:0 8px 25px #22243a12}.order-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 20px 17px;border-bottom:1px solid #e1e4ec;background:#f8f9fc}.table-label{font-size:1.125rem;font-weight:600;display:flex;align-items:center;gap:9px}.table-label svg{width:19px;height:19px;color:#596176}.order-id{color:#697286;font-size:.75rem;margin-top:4px;direction:ltr;text-align:right;letter-spacing:.03em}.actions-wrap{position:relative}.actions-wrap>button{color:#596176}.dropdown-menu{position:absolute;top:calc(100% + 9px);left:0;z-index:10;width:185px;padding:6px;border:1px solid #e1e4ec;border-radius:10px;background:#ffffff;box-shadow:0 10px 40px #22243a12}.dropdown-menu button{width:100%;display:flex;align-items:center;gap:9px;text-align:right;border:0;background:none;padding:11px 10px;border-radius:6px;font-size:.875rem}.dropdown-menu button:hover{background:#f4f5fa}.customer-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:16px 18px 6px;border:1px dashed #e1e4ec;background:#ffffff;color:#596176;border-radius:8px;font-size:.875rem}.customer-button:hover{border-color:#c6bdd9;background:#f4f5fa}.customer-button svg{width:17px;height:17px}.cart-header{display:grid;grid-template-columns:77px minmax(0,1fr) 75px;gap:10px;padding:15px 20px 9px;color:#697286;font-size:.75rem;border-bottom:1px solid #e1e4ec}.cart-header>:first-child{text-align:center}.cart-header>:last-child{text-align:left}.cart-list{flex:1;min-height:160px;padding:0 18px}.cart-item{display:grid;grid-template-columns:77px minmax(0,1fr) 75px;gap:10px;align-items:center;padding:17px 0;border-bottom:1px solid #e1e4ec}.quantity-control{display:flex;direction:ltr;justify-content:space-between;align-items:center;height:29px;border:1px solid #e1e4ec;border-radius:6px;overflow:hidden;background:#f4f5fa}.quantity-control button{background:transparent;border:0;color:#596176;width:23px;height:100%;padding:0;display:grid;place-items:center;font-size:.9rem}.quantity-control button:hover{background:#f4f5fa;color:#242538}.quantity-control button svg{width:12px;height:12px}.quantity-control span{font-size:.8rem;font-variant-numeric:tabular-nums}.cart-item-name{font-size:.875rem;font-weight:500;line-height:1.55}.cart-item-price{color:#697286;font-size:.75rem;margin-top:4px;direction:ltr;text-align:right}.line-total{font-size:.9rem;text-align:left;font-weight:550;font-variant-numeric:tabular-nums}.remove-item{background:transparent;border:0;color:#697286;padding:3px;display:inline-flex;margin-top:4px}.remove-item svg{width:13px;height:13px}.remove-item:hover{color:#b42342}.tax-inline{text-align:left;font-size:.75rem;color:#697286;padding:12px 0 6px;direction:ltr}
.order-summary{padding:18px 20px 20px;background:#f8f9fc;border-top:1px solid #e1e4ec}.summary-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:#596176;font-size:.8125rem}.summary-row>:last-child{font-variant-numeric:tabular-nums;direction:ltr;color:#596176}.discount-row,.discount-row>:last-child{color:#16704a}.summary-row.grand-total,.grand-total{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:14px;margin-top:13px;border-top:1px solid #e1e4ec;color:#242538;font-weight:650;font-size:1.03rem}.grand-total strong{font-size:1.8rem;letter-spacing:-.035em;font-variant-numeric:tabular-nums}.grand-total small{font-weight:400;font-size:.75rem;color:#596176;margin-inline-start:4px}.order-time{font-size:.7rem;color:#697286;margin:9px 0 18px;direction:ltr;text-align:right}.payment-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0 10px}.payment-method{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;background:#ffffff;border:1px solid #e1e4ec;border-radius:8px;font-size:.8125rem;color:#596176}.payment-method svg{width:17px;height:17px}.payment-method:hover{border-color:#c6bdd9}.payment-method.active{background:#f1ecfc;border-color:#c6b6ee;color:#6d47c3}.quick-cash{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:13px;direction:ltr}.quick-cash button{min-width:0;height:38px;padding:4px;border:1px solid #e1e4ec;background:#f4f5fa;border-radius:7px;color:#596176;font-size:.8125rem;font-variant-numeric:tabular-nums}.quick-cash button:hover{background:#f4f5fa;border-color:#c6bdd9}.checkout-button{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;border:1px solid #7350df;border-radius:9px;min-height:49px;background:#3b82f6;color:#ffffff;font-weight:600;font-size:.9375rem;box-shadow:0 3px 12px #22243a12}.checkout-button:hover{background:#5292fa}.checkout-button svg{width:18px;height:18px}.local-note{color:#697286;font-size:.7rem;text-align:center;margin:12px 0 0;display:flex;gap:5px;align-items:center;justify-content:center}.local-note svg{width:12px;height:12px}.status-bar{padding:9px 28px 14px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:.75rem;color:#697286}.status-bar>div,.status-bar>span{display:flex;gap:7px;align-items:center}.status-bar svg{width:13px;height:13px}.kbd,kbd{border:1px solid #e1e4ec;background:#f8f9fc;border-radius:4px;font-size:.65rem;padding:1px 5px;font-family:inherit;color:#697286;direction:ltr}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e1e4ec;background:#ffffff;border-radius:8px;padding:10px 16px;min-height:42px;font-size:.875rem;font-weight:500}.button:hover{background:#f4f5fa;border-color:#c6bdd9}.button.primary{background:#3b82f6;border-color:#7350df;color:#ffffff}.button.primary:hover{background:#4f90fa}.button.secondary{background:#f4f5fa;color:#242538}.button.danger{background:#fff1f4;border-color:#f2cbd4;color:#b42342}.button.danger:hover{background:#fff1f4}.button.small{min-height:33px;padding:5px 11px;font-size:.8125rem}.button.ghost{border-color:transparent;background:transparent;color:#596176}.button.ghost:hover{background:#f4f5fa;color:#242538}.button svg{width:17px;height:17px}.icon-button{display:inline-grid;place-items:center;min-width:34px;width:34px;height:34px;border-radius:7px;border:1px solid #e1e4ec;background:#f4f5fa;color:#596176;padding:7px}.icon-button:hover{color:#242538;background:#f4f5fa;border-color:#c6bdd9}.icon-button svg{width:17px;height:17px}.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border:1px solid #e1e4ec;border-radius:5px;color:#596176;background:#ffffff;font-size:.72rem;white-space:nowrap}.badge.success{border-color:#c6e8d5;color:#16704a;background:#edf9f2}.badge.violet{border-color:#c6b6ee;color:#6d47c3;background:#f1ecfc}.badge.muted{color:#596176;background:#ffffff;border-color:#e1e4ec}.text-subtle,.muted{color:#697286}.empty-state{text-align:center;padding:65px 20px;color:#697286;grid-column:1/-1}.empty-state>svg{width:40px;height:40px;margin-bottom:16px;stroke-width:1.2;color:#697286}.empty-state h3{color:#596176;font-weight:500;margin-bottom:7px}.empty-state p{color:#697286;font-size:.875rem;max-width:360px;margin:0 auto}.empty-state .button{margin-top:18px}.cart-list .empty-state{padding:38px 8px}.cart-list .empty-state>svg{width:30px;height:30px;margin-bottom:10px}.cart-list .empty-state p{font-size:.8125rem}
.admin-layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100dvh - 142px)}.admin-sidebar{background:#ffffff;border-inline-end:1px solid #e1e4ec;padding:26px 14px}.admin-nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:14px;margin-bottom:5px;color:#596176;background:none;border:1px solid transparent;border-radius:9px;text-align:right;font-size:.875rem}.admin-nav-item:hover{background:#f4f5fa;color:#242538}.admin-nav-item.active{background:#f1ecfc;color:#6d47c3;border-color:#c6b6ee}.admin-nav-item svg{width:19px;height:19px}.admin-content{padding:30px 32px;min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading h1{font-size:1.6rem}.page-heading p{color:#697286;font-size:.875rem;margin-top:6px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat-card{border:1px solid #e1e4ec;border-radius:12px;background:#ffffff;padding:20px;position:relative;overflow:hidden}.stat-label{color:#596176;font-size:.8125rem;padding-inline-end:30px;margin-bottom:20px}.stat-icon{position:absolute;top:16px;left:16px;width:33px;height:33px;border-radius:8px;display:grid;place-items:center;color:#6d47c3;background:#f1ecfc}.stat-icon svg{width:17px;height:17px}.stat-value{font-size:1.9rem;font-weight:600;letter-spacing:-.035em;font-variant-numeric:tabular-nums}.stat-value small{color:#697286;font-size:.75rem;font-weight:400;letter-spacing:0;margin-inline-start:4px}.stat-foot{font-size:.75rem;color:#697286;margin-top:9px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px}.surface{background:#ffffff;border:1px solid #e1e4ec;border-radius:12px;overflow:hidden}.surface-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px;border-bottom:1px solid #e1e4ec}.surface-heading h2{font-size:.98rem;font-weight:550}.chart-bars{display:flex;align-items:flex-end;justify-content:space-around;height:260px;padding:30px 20px 20px;gap:10px}.chart-column{flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.chart-bar{width:min(100%,35px);background:#8361da;border:1px solid #e1e4ec;border-radius:5px 5px 2px 2px;min-height:3px;position:relative}.chart-label{color:#697286;font-size:.65rem;direction:ltr}.recent-order{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid #e1e4ec;font-size:.875rem}.recent-order:last-child{border:0}.filter-row{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:18px;flex-wrap:wrap}.filter-row .search-field{width:300px;max-width:100%}.filter-tabs{display:flex;gap:4px;padding:4px;background:#f4f5fa;border:1px solid #e1e4ec;border-radius:9px}.filter-tab{background:transparent;border:1px solid transparent;padding:6px 13px;border-radius:6px;color:#697286;font-size:.8125rem}.filter-tab.active{background:#f1ecfc;border-color:#c6b6ee;color:#6d47c3}.filter-tab:hover{color:#242538}.table-wrapper{border:1px solid #e1e4ec;border-radius:12px;overflow:auto;background:#ffffff}.data-table{border-collapse:collapse;width:100%;text-align:right;white-space:nowrap;font-size:.875rem}.data-table th{padding:15px 19px;background:#f8f9fc;color:#697286;font-size:.75rem;font-weight:500;border-bottom:1px solid #e1e4ec}.data-table td{padding:16px 19px;border-bottom:1px solid #e1e4ec;color:#242538;font-variant-numeric:tabular-nums}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#f4f5fa}.product-dot{display:inline-block;width:12px;height:12px;border-radius:4px;background:var(--tile-color,#7952df);vertical-align:middle;margin-inline-end:10px}.table-product{display:flex;align-items:center;gap:10px}.table-product .product-dot{width:34px;height:34px;margin:0;border-radius:8px}.table-product small{display:block;font-size:.7rem;margin-top:3px;color:#697286;direction:ltr;text-align:right}.row-actions{display:flex;gap:7px}.row-actions .icon-button{border-color:transparent;background:#f4f5fa}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.category-card{padding:22px;border:1px solid #e1e4ec;border-radius:12px;background:#ffffff}.category-card-heading{display:flex;align-items:center;gap:14px}.category-count{font-size:.8125rem;color:#697286;margin-top:24px;padding-top:15px;border-top:1px solid #e1e4ec}.category-actions{display:flex;justify-content:space-between;align-items:center;margin-top:18px;gap:10px}.category-actions .button{flex:1}
.modal{color:#242538;background:#ffffff;border:1px solid #e1e4ec;border-radius:16px;width:calc(100% - 32px);max-width:490px;max-height:calc(100dvh - 48px);padding:0;box-shadow:0 25px 120px #22243a12;overflow:auto;direction:inherit}.modal.wide{max-width:680px}.modal::backdrop{background:#24203955;backdrop-filter:blur(6px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 24px;border-bottom:1px solid #e1e4ec}.modal-header h2{font-size:1.125rem}.modal-header .icon-button{border-color:transparent;background:none;color:#596176}.modal-body{padding:24px}.modal-description{color:#596176;font-size:.9rem;line-height:1.9;margin-bottom:18px}.modal-footer{display:flex;gap:10px;padding:18px 24px;border-top:1px solid #e1e4ec;justify-content:flex-end;background:#f4f5fa}.modal-footer .primary{min-width:125px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:.875rem;color:#596176}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{width:100%;border:1px solid #e1e4ec;border-radius:8px;padding:10px 12px;min-height:44px;background:#ffffff;color:#242538;font-size:.9375rem}.field input[type=number],.field input[dir=ltr]{direction:ltr;text-align:left}.field select{appearance:none;padding-left:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:left 12px center;background-repeat:no-repeat}.form-error{color:#b42342;border:1px solid #f2cbd4;background:#fff1f4;border-radius:8px;padding:10px 12px;margin-top:16px;font-size:.8125rem}.form-error:empty{display:none}.color-options{display:flex;gap:12px;padding:5px 0}.color-option{position:relative;cursor:pointer}.color-option input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.color-dot{width:40px;height:40px;display:grid;place-items:center;border-radius:9px;background:var(--swatch);border:2px solid transparent;outline:1px solid #5f476e}.color-dot svg{visibility:hidden}.color-option input:checked+.color-dot{outline:2px solid white;border-color:#2b2034}.color-option input:checked+.color-dot svg{visibility:visible}.color-option input:focus-visible+.color-dot{outline:3px solid #8eb8ff;outline-offset:4px}.payment-total{text-align:center;margin:5px 0 22px;font-variant-numeric:tabular-nums;display:flex;flex-direction:column;gap:5px}.payment-total>span{font-size:.875rem;color:#596176}.payment-total>strong{font-size:2.65rem;font-weight:650;letter-spacing:-.04em}.payment-total small{font-size:.8125rem;color:#596176;font-weight:400;letter-spacing:0}.payment-breakdown{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:#596176;padding:15px;background:#f8f9fc;border:1px solid #e1e4ec;border-radius:9px;margin-bottom:22px}.payment-breakdown strong{display:flex;gap:8px;align-items:center}.cash-options{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:14px 0;direction:ltr}.cash-options button{padding:9px 4px;background:#f4f5fa;border:1px solid #e1e4ec;border-radius:7px;font-size:.8125rem}.cash-options button:hover{background:#f4f5fa;border-color:#c6bdd9}.change-box{display:flex;align-items:center;justify-content:space-between;padding:15px;border:1px solid #c6e8d5;border-radius:8px;background:#edf9f2;color:#16704a;margin-top:19px;font-size:.875rem}.change-box strong{font-size:1.15rem;font-variant-numeric:tabular-nums}.receipt{text-align:center}.receipt-success{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;margin:0 auto 20px;background:#edf9f2;color:#16704a;border:1px solid #c6e8d5;border-radius:8px;font-size:.875rem}.receipt-brand{display:flex;justify-content:center;align-items:center;gap:10px;margin-bottom:8px;font-size:1.3rem}.receipt-brand svg{color:#6d47c3}.receipt>p{font-size:.8125rem;color:#596176}.receipt-meta{display:grid;grid-template-columns:1fr 1fr;text-align:right;font-size:.75rem;color:#596176;gap:8px;margin:22px 0;padding-bottom:18px;border-bottom:1px dashed #e1e4ec}.receipt-table{width:100%;border-collapse:collapse;text-align:right;font-size:.8125rem;margin-bottom:18px}.receipt-table th{color:#596176;font-weight:400;padding:9px 0;border-bottom:1px solid #e1e4ec}.receipt-table td{padding:11px 0;border-bottom:1px solid #e1e4ec}.receipt-table td small{display:block;font-size:.7rem;color:#596176;margin-top:5px}.receipt-table td:last-child,.receipt-table th:last-child{text-align:left;font-variant-numeric:tabular-nums}.receipt-total{padding:14px 0;border-top:1px dashed #e1e4ec;font-size:1.2rem}.receipt-thanks{margin-top:24px}.held-list{display:flex;flex-direction:column;gap:12px}.held-card{border:1px solid #e1e4ec;border-radius:10px;background:#ffffff;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.held-card>div{display:flex;flex-direction:column;gap:7px}.held-card small,.held-card span{font-size:.75rem;color:#596176}.toast-container{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;display:flex;flex-direction:column;gap:9px;width:max-content;max-width:calc(100% - 32px);pointer-events:none}.toast{display:flex;align-items:center;gap:10px;padding:13px 19px;border:1px solid #c6e8d5;border-radius:10px;background:#edf9f2;color:#16704a;box-shadow:0 8px 35px #22243a12;font-size:.875rem;animation:toast-enter .2s ease}.toast svg{color:#16704a;width:18px;height:18px}.toast.error{background:#fff1f4;border-color:#f2cbd4;color:#b42342}.register-closed{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:calc(100dvh - 200px);padding:40px 20px;gap:16px}.closed-icon{width:80px;height:80px;border:1px solid #c6b6ee;border-radius:22px;background:#f1ecfc;display:grid;place-items:center;color:#6d47c3}.closed-icon svg{width:36px;height:36px}.register-closed p{color:#697286;max-width:430px;font-size:.9375rem;line-height:1.9;margin-bottom:10px}#receipt-print{display:none}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:#f6f7fb}::-webkit-scrollbar-thumb{background:#c8cdd9;border-radius:10px}@keyframes toast-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
/* App structure and readable utility styles. */
.brand{text-decoration:none;color:#242538}.brand-title,.brand-subtitle{display:block}.brand-title span{color:#6d47c3}.brand-subtitle{letter-spacing:0;text-align:center}.nav-tabs{display:flex;align-self:stretch}.table-heading{display:flex;gap:10px;align-items:center}.table-heading>svg{color:#6d47c3;width:23px;height:23px}.table-label{border:0;background:transparent;padding:0}.order-id{display:block}.order-tools{display:flex;align-items:center;gap:8px}.actions-button{display:flex;align-items:center;gap:9px;background:transparent;border:1px solid #e1e4ec;border-radius:7px;padding:7px 10px;font-size:.8125rem}.actions-button svg{width:16px}.held-indicator{position:relative}.held-indicator>span{position:absolute;top:-6px;left:-5px;background:#7952df;color:#ffffff;border-radius:10px;padding:0 5px;font-size:.7rem}.cart-item-name,.cart-item-price{display:block}.order-bottom{padding:0 18px 16px}.order-summary{margin-inline:-18px}.grand-total>strong:first-child{font-size:1.05rem}.grand-total>strong:last-child{font-size:1.75rem;color:#242538}.order-time{display:flex;gap:6px;align-items:center;direction:inherit;margin:12px 0}.order-time svg{width:13px;height:13px}.order-time>span:last-child{margin-inline-start:auto}.quick-cash button{height:51px;display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center}.quick-cash small{font-size:.65rem;color:#697286}.checkout-button{justify-content:space-between;padding:12px 16px}.checkout-button>span{display:flex;align-items:center;gap:7px}.checkout-button small{font-size:.75rem;color:#ffffff}.selection-dot{width:5px;height:5px;border-radius:50%;background:#f1ecfc}.text-button{border:0;padding:2px;background:transparent;color:#6d47c3;font-size:.8125rem}.text-button:hover{color:#6d47c3}.suggestions-heading{justify-content:space-between}.suggestions-heading>span{display:flex;gap:7px;align-items:center}.product-number{display:inline-block;padding:0 6px;background:#ffffff;border-radius:4px;margin-inline-start:5px;color:#596176}.danger-text{color:#b42342}.sidebar-label{display:block;color:#697286;font-size:.75rem;margin:0 13px 18px}.sidebar-note{margin:30px 10px;padding:20px 10px;border-top:1px solid #e1e4ec;display:flex;flex-direction:column;gap:8px;color:#697286}.sidebar-note strong{font-size:.875rem;color:#596176}.sidebar-note small{line-height:1.9}.admin-nav-item>span{margin-inline-start:auto;font-size:.7rem;background:#ffffff;padding:0 6px;border-radius:4px}.eyebrow{font-size:.65rem;letter-spacing:.14em;color:#697286;display:block;margin-bottom:7px;direction:ltr;text-align:right}.stat-value,.stat-foot{display:block}.dashboard-grid{margin-bottom:24px}.chart-bar{height:var(--bar-height);max-height:calc(100% - 28px)}.chart-bar.zero{background:#f8f9fc;border-color:#e1e4ec}.chart-empty-note{font-size:.8125rem;color:#697286;text-align:center;padding:0 20px 20px}.surface>.filter-row{padding:18px 20px;margin:0;border-bottom:1px solid #e1e4ec}.surface .table-wrapper{border:0;border-radius:0}.category-card-heading{justify-content:space-between;margin-bottom:18px}.category-card-icon{width:44px;height:44px;border-radius:10px;background:#f1ecfc;color:#6d47c3;display:grid;place-items:center}.category-card h2{font-size:1.2rem;margin-bottom:4px}.category-card>p{text-align:right;color:#697286;font-size:.8125rem}.category-count{display:block}.storage-alert{display:flex;align-items:center;gap:10px;padding:12px 26px;color:#8a5209;background:#fff8eb;border-bottom:1px solid #e1e4ec;font-size:.875rem}.user-options{display:flex;flex-direction:column;gap:12px}.user-option{display:flex;gap:15px;align-items:center;border:1px solid #e1e4ec;background:#ffffff;padding:15px;border-radius:10px;text-align:right}.user-option.selected{border-color:#c6b6ee;background:#f1ecfc}.user-option>svg{margin-inline-start:auto;color:#6d47c3}.avatar{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#f1ecfc;color:#6d47c3;font-size:.8rem}.payment-info{display:flex;gap:10px;align-items:flex-start;padding:15px;border:1px solid #e1e4ec;border-radius:8px;font-size:.875rem;color:#596176;line-height:1.8}.customer-button.has-customer{justify-content:flex-start;padding:10px 13px}.customer-button span small{display:block}.customer-button.has-customer>svg:last-child{margin-inline-start:auto}.product-en{font-size:.75rem}.sku{font-size:.75rem}.product-meta{direction:inherit}.product-name{padding-inline-end:16px}.status-divider{color:#697286}.date-cell{font-size:.8125rem}

/* bizzy light: quiet surfaces with a consistent violet identity. */
:root{--text:#242538;--muted:#697286;--accent:#7150d8;--accent-soft:#f1ecfc;--panel:#fff;--bg:#f6f7fb;--border:#e1e4ec}
body{background:var(--bg);color:var(--text)}
a{color:#6342bd}
.brand-mark{color:#fff}
.app-header,.app-nav{background:#fff}
.brand-title{color:#242538}
.order-panel,.surface,.stat-card,.category-card{box-shadow:0 4px 18px #25253d04}
.order-heading,.order-summary{background:#fafbfe}
.product-tile{background:color-mix(in srgb,var(--tile-color,#4c35a9) 12%,white);border-color:color-mix(in srgb,var(--tile-color,#4c35a9) 23%,white);color:color-mix(in srgb,var(--tile-color,#4c35a9) 63%,#17122b);box-shadow:none}
.product-tile:hover{background:color-mix(in srgb,var(--tile-color,#4c35a9) 18%,white);border-color:var(--tile-color,#4c35a9);box-shadow:0 6px 18px #7150d813;filter:none}
.product-tile:has(.product-count){border-color:var(--tile-color,#4c35a9)}
.product-count{background:#7150d8;color:#fff;border-color:#7150d8;inset-inline-end:8px;left:auto}
.product-en,.sku{opacity:.78}
.price small{opacity:.8}
.color-dot{color:#fff}
.color-option input:checked+.color-dot{outline:2px solid #7150d8;border-color:#fff}
.button.primary,.checkout-button,.category-button.active{background:#7150d8;border-color:#7150d8;color:#fff}
.button.primary:hover,.checkout-button:hover{background:#6040c2;border-color:#6040c2}
.checkout-button small{color:#f0eaff}
.nav-tab.active{color:#6341bd;border-bottom-color:#7150d8;background:#f7f4ff}
.nav-tab:hover{color:#493579}
.payment-method.active{background:#f2edfc;border-color:#a488df;color:#603bb6}
.payment-method:hover,.quick-cash button:hover,.cash-options button:hover{border-color:#ad94e1;background:#f5f1fd}
.payment-method .selection-dot{background:#7150d8}
.grand-total,.grand-total>strong:last-child,.summary-row.grand-total{color:#242538}
.summary-row>:last-child{color:#343b50}
.discount-row,.discount-row>:last-child{color:#16704a}
.badge.success{background:#edf9f2;border-color:#c6e8d5;color:#16704a}
.badge.violet{background:#f1ecfc;border-color:#d7c9f1;color:#6742bd}
.badge.muted{background:#f3f4f8;color:#697286}
.empty-state>svg{color:#9789b6}
.empty-state h3{color:#434960}
.button.danger,.toast.error,.form-error{background:#fff1f4;color:#b42342;border-color:#f2cbd4}
.button.danger:hover{background:#fce3e9}
.danger-text{color:#b42342}
.text-button{color:#6342bd}
.text-button:hover{color:#49269e}
.toast{background:#edf9f2;color:#166341;border-color:#c6e8d5;box-shadow:0 8px 35px #28334a18}
.toast svg{color:#16704a}
.toast.error svg{color:#b42342}
.change-box,.receipt-success{background:#edf9f2;color:#166341;border-color:#c6e8d5}
.modal{background:#fff;color:#242538;box-shadow:0 24px 100px #23213728}
.modal::backdrop{background:#29233855;backdrop-filter:blur(5px)}
.field input,.field select,.field textarea{background:#fff;border-color:#d8dce6;color:#242538}
.field select,.menu-select{background-position:left 12px center}
.language-switcher{display:inline-flex;align-items:center;gap:3px;flex:0 0 auto;padding:4px;border:1px solid #dddce8;border-radius:10px;background:#fff;direction:ltr;max-width:100%}
.language-switcher button{min-height:36px;padding:6px 12px;border:1px solid transparent;border-radius:7px;background:transparent;color:#687086;font-size:14px;font-weight:500;white-space:nowrap}
.language-switcher button:hover{background:#f7f4ff;color:#6342bd}
.language-switcher button.is-active,.language-switcher button[aria-pressed="true"]{background:#f0eafa;color:#5e3bb1;border-color:#e2d7f7}
.language-switcher button:focus-visible{outline:2px solid #7150d8;outline-offset:2px}
/* Logical alignment follows the chosen language, while amounts remain LTR. */
.user-button,.dropdown-menu button,.admin-nav-item,.data-table,.receipt-meta,.receipt-table,.category-card>p,.user-option{text-align:start}
.order-id,.cart-item-price,.table-product small,.eyebrow,.product-en{text-align:right}
[dir="ltr"] .order-id,[dir="ltr"] .cart-item-price,[dir="ltr"] .table-product small,[dir="ltr"] .eyebrow,[dir="ltr"] .product-en{text-align:left}
[dir="ltr"] .dropdown-menu{left:auto;right:0}
[dir="ltr"] .menu-select,[dir="ltr"] .field select{background-position:right 12px center;padding-right:36px;padding-left:12px}
[dir="ltr"] .cart-header>:last-child,[dir="ltr"] .line-total,[dir="ltr"] .receipt-table td:last-child,[dir="ltr"] .receipt-table th:last-child{text-align:right}
[dir="ltr"] .stat-icon{left:auto;right:16px}
[dir="ltr"] .catalog-meta>span:last-child{text-align:right}

[dir="rtl"] .user-button{direction:rtl}
[dir="ltr"] .user-button{direction:ltr}
