:root{font-family:Assistant,Segoe UI,Tahoma,sans-serif;color:#414141;background:#ededed}*{box-sizing:border-box}body{margin:0}button,input{font-family:inherit}.page{min-height:100vh;padding:24px;background:linear-gradient(180deg,#ededed,#f3f3f3)}.hero-card{position:relative;background:#f5f5f5;border-radius:8px;box-shadow:0 10px 30px #0000000d,0 2px 6px #00000014;padding:32px 28px 40px;margin-bottom:20px;overflow:hidden}.hero-logo{position:absolute;top:18px;left:50%;transform:translate(-50%);width:200px;height:100px;display:grid;place-items:center}.logo-img{max-width:180px;max-height:90px;object-fit:contain;border-radius:6px;box-shadow:0 6px 16px #00000014;background:#fff;padding:6px 10px}.hero-content{margin-top:70px}.hero-title{margin:0 0 12px;text-align:right;font-size:28px;letter-spacing:-.3px;color:#4a4a4a}.branch-meta{display:flex;flex-direction:column;align-items:flex-end;gap:2px;margin-bottom:10px;color:#666;font-size:15px}.branch-name{font-weight:600;color:#303030}.search-wrapper{background:#fbfbfb;border-radius:4px;padding:8px 10px;border:1px solid #e9e9e9;box-shadow:inset 0 1px 2px #0000000d}.search-input{width:100%;border:none;outline:none;background:transparent;font-size:16px;color:#525252;padding:8px 6px}.search-input::placeholder{color:#b0b0b0}.helper-text{margin:8px 2px 0;text-align:right;color:#777;font-size:14px}.helper-text.error-text{color:#b13030}.list-card{margin-top:14px;background:#fff;border-radius:6px;box-shadow:0 8px 18px #0000000f;border:1px solid #efefef;padding:12px 0 6px}.list-header{height:6px;border-radius:4px 4px 0 0}.department-list{list-style:none;margin:0;padding:8px 14px 14px}.department-row{padding:18px 6px;border-bottom:1px solid #e8e8e8;text-align:right;font-size:16px;letter-spacing:-.2px;cursor:pointer;transition:background .2s ease,border-color .2s ease}.department-row:last-child{border-bottom:none}.department-row.selected{background:#cfe3ff;border-color:#bdd6ff;font-weight:600}.shortcut-grid{display:grid;gap:14px}.shortcut-card{position:relative;background:#f4f4f4;border-radius:8px;border:1px solid #e3e3e3;box-shadow:0 8px 18px #0000000a,0 1px 4px #0000000f;padding:16px 18px 16px 22px;width:100%;text-align:right;cursor:pointer}.accent{position:absolute;left:6px;top:10px;bottom:10px;width:4px;border-radius:12px;background:linear-gradient(180deg,#e65a5a,#b13030)}.shortcut-content{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:20px;font-weight:600;color:#6a6a6a}.shortcut-title{white-space:nowrap}.shortcut-icon{font-size:24px}.shortcut-card:disabled{cursor:not-allowed;opacity:.6;box-shadow:none}.shortcut-card:disabled .accent{background:linear-gradient(180deg,#bfbfbf,#9c9c9c)}.cashier-page,.sorter-page{min-height:100vh;background:#f1f1f1;padding:18px 20px 28px}.board-page{min-height:100vh;background:#ededed;padding:20px 28px 30px}.board-header{display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:18px}.board-logo img{max-width:140px;max-height:70px;object-fit:contain;background:#fff;border-radius:10px;padding:8px 12px;box-shadow:0 6px 14px #00000014}.board-title{margin:0;color:#6a6a6a;font-size:28px}.board-shell{display:grid;gap:16px}.board-card{background:#fff;border-radius:12px;padding:16px;box-shadow:0 8px 18px #00000014}.board-search{border:1px solid #d9d9d9;border-radius:8px;padding:8px 12px;background:#f9f9f9;margin-bottom:12px}.board-search input{border:none;outline:none;width:100%;background:transparent;text-align:right}.board-list{display:flex;flex-direction:column;gap:10px}.board-row{border:none;background:transparent;border-bottom:1px solid #e2e2e2;padding:10px 4px;text-align:right;cursor:pointer}.board-row.selected{font-weight:600;color:#1f4ca0}.board-action{border:none;background:#bdbdbd;color:#fff;padding:12px 18px;border-radius:10px;font-weight:600;cursor:pointer;justify-self:end;min-width:180px}.board-action:disabled{opacity:.6;cursor:not-allowed}.board-orders{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px}.board-departments-title{grid-column:1 / -1;text-align:right;color:#6a6a6a;font-weight:600;background:#f5f5f5;border-radius:8px;padding:8px 12px}.board-column{background:#fff;border-radius:12px;padding:16px;box-shadow:0 8px 18px #00000014;min-height:300px}.board-column-title{color:#777;font-weight:600;margin-bottom:12px}.board-order-list{display:grid;gap:12px}.board-order-card{background:#f7f7f7;border-radius:10px;padding:14px;text-align:center;font-size:24px;font-weight:700;color:#4a4a4a}.board-order-card.done{background:#ededed;color:#6a6a6a}.cashier-header{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;margin-bottom:18px}.back-button{width:40px;height:40px;border-radius:50%;border:none;background:#3a3a3a;color:#fff;font-size:20px;cursor:pointer;box-shadow:0 6px 14px #0000001f}.cashier-title{margin:0;text-align:center;font-size:32px;color:#5a5a5a;letter-spacing:-.5px}.cashier-shell{display:grid;grid-template-columns:280px minmax(0,1fr);grid-template-areas:"side main";gap:22px}.cashier-main{grid-area:main;display:flex;flex-direction:column;min-height:70vh;background:#e9e9e9;border-radius:10px;padding:24px}.sorter-main{background:#f0f0f0}.cashier-main-flat{background:#efefef}.cashier-main-content{flex:1;display:grid;place-items:center;width:100%}.order-list{display:flex;flex-direction:column;gap:16px;width:100%;align-items:center}.order-item{width:min(360px,100%);display:flex;flex-direction:column;gap:12px}.order-card{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 18px;border-radius:8px;background:#fff;box-shadow:0 8px 18px #0000001f;border:1px solid #e1e1e1;cursor:pointer}.order-cancel{width:28px;height:28px;border-radius:50%;border:1px solid #ff5c5c;color:#ff5c5c;display:grid;place-items:center;font-size:14px}.order-number{font-size:26px;font-weight:700;color:#5a5a5a}.order-detail{width:100%;display:flex;flex-direction:column;gap:16px}.order-detail-header{display:flex;align-items:center;justify-content:space-between;background:#bfbfbf;border-radius:10px;padding:6px 12px;color:#fff}.order-detail-title{font-weight:600}.order-detail-close{border:none;background:#efe2c9;color:#1b1b1b;border-radius:8px;padding:4px 10px;cursor:pointer;font-weight:600}.order-detail-list{display:flex;flex-direction:column;gap:14px}.order-detail-row{display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:start;background:#fff;border-radius:10px;padding:14px 16px;box-shadow:0 6px 14px #0000001a}.order-qty{font-weight:600;color:#4a4a4a;text-align:center}.order-item-title{font-weight:600;color:#2f2f2f}.order-item-note{margin-top:4px;color:#9a9a9a;font-size:13px}.cashier-primary{align-self:center;border:none;background:#1b3a8a;color:#fff;padding:10px 22px;border-radius:6px;font-weight:600;cursor:pointer;box-shadow:0 6px 12px #0000001f}.cashier-secondary{border:none;background:#bdbdbd;color:#fff;padding:10px 12px;border-radius:8px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}.order-table{width:100%;background:transparent;display:flex;flex-direction:column;gap:10px}.order-table-header{display:grid;grid-template-columns:48px 120px 1fr 1fr 160px 120px 80px 60px;gap:10px;background:#bfbfbf;color:#fff;padding:8px 12px;border-radius:8px;font-weight:600}.order-table-body{display:flex;flex-direction:column;gap:12px}.order-table-row{display:grid;grid-template-columns:48px 120px 1fr 1fr 160px 120px 80px 60px;gap:10px;background:#fff;padding:12px;border-radius:8px;box-shadow:0 6px 14px #00000014;color:#4a4a4a;align-items:center}.sorter-table .order-table-header,.sorter-table .order-table-row{grid-template-columns:48px 120px 1fr 1fr 120px 140px}.order-qty-input{width:100%;border:none;background:#f3f3f3;border-radius:6px;padding:6px 8px;text-align:center}.order-qty-wrapper{position:relative;display:flex;justify-content:center}.order-qty-popover{position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;background:#fff;border:1px solid #dedede;border-radius:8px;padding:8px;box-shadow:0 8px 18px #0000001f;z-index:10;min-width:240px}.order-qty-close{position:absolute;top:6px;left:6px;width:18px;height:18px;border-radius:50%;border:none;background:#e6e6e6;color:#555;font-size:12px;line-height:1;cursor:pointer}.order-qty-option{border:1px solid #cfcfcf;background:#f6f6f6;border-radius:6px;padding:6px 8px;cursor:pointer;font-weight:600;color:#444}.order-note-input{width:100%;min-height:44px;border:none;background:#f3f3f3;border-radius:6px;padding:6px 8px;resize:vertical;font-family:inherit}.order-cut-type-select{width:100%;border:none;background:#f3f3f3;border-radius:6px;padding:6px 8px;text-align:right}.order-remove-button{width:32px;height:32px;border-radius:50%;border:none;background:#d62828;color:#fff;font-size:16px;cursor:pointer}.order-actions{margin-top:18px;display:grid;grid-template-columns:1fr 1fr 220px;gap:16px;align-items:center}.order-create-button{border:none;background:#1e3f8f;color:#fff;padding:12px 18px;border-radius:8px;font-weight:600;cursor:pointer;box-shadow:0 6px 12px #0000001a}.order-create-button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.order-cancel-button{border:none;background:#d62828;color:#fff;padding:12px 18px;border-radius:8px;font-weight:600;cursor:pointer;box-shadow:0 6px 12px #0000001a}.order-customer-input{border:1px solid #cfcfcf;border-radius:8px;padding:10px 12px;text-align:right}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:grid;place-items:center;padding:20px;z-index:50}.modal-card{width:min(360px,100%);background:#fff;border-radius:12px;box-shadow:0 12px 30px #0003;overflow:hidden}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #ececec}.modal-close{border:none;background:transparent;font-size:20px;cursor:pointer;color:#d62828}.modal-print{border:none;background:#1e6bff;color:#fff;padding:8px 14px;border-radius:6px;cursor:pointer;font-weight:600}.modal-body{padding:18px 20px 24px;text-align:center}.receipt-logo img{max-width:120px;max-height:60px;object-fit:contain}.receipt-number{font-size:28px;font-weight:700;margin-top:12px;color:#222}.receipt-subtitle{margin-top:6px;font-size:14px;color:#666}.receipt-items{margin-top:16px;text-align:right;display:flex;flex-direction:column;gap:12px}.receipt-row{border-top:1px solid #e7e7e7;padding-top:12px}.receipt-row:first-child{border-top:none;padding-top:0}.receipt-row-main{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-weight:600}.receipt-sku{color:#333}.receipt-name{flex:1;text-align:right}.receipt-row-meta{margin-top:6px;font-size:13px;color:#666;display:flex;justify-content:space-between}.receipt-footer{margin-top:18px;border-top:1px dashed #bdbdbd;padding-top:12px;font-size:13px;color:#444;display:flex;justify-content:space-between}.cashier-side{grid-area:side;background:#fff;border-radius:10px;padding:18px;box-shadow:0 6px 16px #00000014;display:flex;flex-direction:column;gap:16px}.sorter-side{gap:14px}.cashier-logo{display:grid;place-items:center}.cashier-logo img{max-width:140px;max-height:70px;object-fit:contain}.cashier-search{display:flex;align-items:center;gap:8px;border:1px solid #2b49a4;border-radius:10px;padding:6px 8px 6px 12px;background:#fff}.barcode-button{width:34px;height:34px;border-radius:8px;border:1px solid #2b49a4;background:linear-gradient(90deg,#111 0,#111 2px,transparent 2px,transparent 5px,#111 5px,#111 7px,transparent 7px,transparent 10px,#111 10px,#111 12px,transparent 12px,transparent 15px,#111 15px,#111 17px,transparent 17px,transparent 20px,#111 20px,#111 22px,transparent 22px,transparent 25px,#111 25px,#111 28px,transparent 28px,transparent 31px,#111 31px,#111 33px,transparent 33px),#fff;cursor:pointer;position:relative}.barcode-button:after{content:"";position:absolute;bottom:2px;left:2px;right:2px;height:6px;background:#fff;border-radius:4px}.cashier-search input{border:none;outline:none;flex:1;font-size:15px;color:#4a4a4a;text-align:right}.cashier-search button{border:none;background:#2b49a4;color:#fff;border-radius:8px;width:34px;height:34px;cursor:pointer;display:grid;place-items:center;font-size:16px}.barcode-label{text-align:center;color:#555;font-size:13px;font-weight:600}.basket-hint{background:#e7f1ff;color:#1f4ca0;border-radius:8px;padding:8px 10px;font-size:13px;font-weight:600;text-align:center}.mobile-scroll-controls{position:fixed;right:12px;bottom:max(16px,env(safe-area-inset-bottom));display:none;flex-direction:column;gap:8px;z-index:20}.mobile-scroll-controls button{width:38px;height:38px;border-radius:50%;border:none;background:#1f4ca0;color:#fff;font-size:18px;cursor:pointer;box-shadow:0 6px 12px #0000002e}.search-results{display:flex;flex-direction:column;gap:12px}.search-result-card{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;border:1px solid #e1e1e1;background:#fff;box-shadow:0 4px 10px #00000014}.search-add-button{width:32px;height:32px;border-radius:6px;border:1px solid #9a9a9a;background:#fff;color:#6d6d6d;font-size:18px;cursor:pointer}.search-result-info{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:1}.search-result-sku{font-size:14px;color:#5c5c5c}.search-result-name{font-weight:600;color:#303030}.sorter-pill{background:#bdbdbd;color:#fff;border-radius:8px;text-align:center;padding:8px 10px;font-weight:600}.sorter-list{display:flex;flex-direction:column;gap:10px}.sorter-card{background:#fff;border:1px solid #1f1f1f;border-radius:6px;padding:12px 16px;text-align:right;font-weight:600;color:#5a5a5a;cursor:pointer;width:100%}.sorter-actions{margin-top:16px;display:flex;justify-content:flex-end;align-items:center;gap:12px}.sorter-collected-button{border:none;background:#1e6bff;color:#fff;padding:10px 18px;border-radius:8px;font-weight:600;cursor:pointer}.sorter-collected-button:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.page{padding:16px}.hero-card{padding:24px 18px 28px}.hero-logo{width:150px;height:80px}.logo-placeholder{width:140px;height:70px}.hero-content{margin-top:60px}.cashier-shell{grid-template-columns:1fr;grid-template-areas:"side" "main"}.cashier-main{min-height:55vh}.cashier-title{font-size:26px}.order-table-header,.order-table-row{grid-template-columns:36px 90px 1fr 1fr 120px 90px 60px 40px;font-size:13px}.order-actions{grid-template-columns:1fr}}@media (max-width: 520px){.page{padding:12px}.hero-card{padding:20px 14px 22px}.hero-logo{position:static;transform:none;margin:0 auto 12px;width:140px;height:70px}.logo-img{max-width:150px;max-height:70px}.hero-content{margin-top:0}.hero-title{font-size:22px}.branch-meta{font-size:13px}.search-input{font-size:15px}.department-row{padding:14px 4px;font-size:15px}.shortcut-card{padding:14px 14px 14px 18px}.shortcut-content{font-size:16px}.shortcut-title{white-space:normal;line-height:1.3}.shortcut-icon{font-size:20px}.cashier-page{padding:14px}.cashier-header{grid-template-columns:40px 1fr 40px}.cashier-title{font-size:22px}.cashier-main{padding:16px}.sorter-page .cashier-shell{gap:12px}.sorter-page .cashier-side{order:-1;border-radius:12px}.sorter-page .sorter-pill{font-size:14px;padding:8px 10px}.sorter-page .sorter-card{padding:10px 12px}.sorter-page .sorter-actions{justify-content:center}.sorter-page .sorter-collected-button{width:100%}.cashier-side{padding:14px}.cashier-logo img{max-width:120px}.cashier-search{padding:6px;gap:6px}.cashier-search input{font-size:14px}.barcode-button,.cashier-search button{width:32px;height:32px;border-radius:6px}.barcode-label,.cashier-hint{font-size:12px}.order-card{min-width:200px}.order-table-header,.order-table-row{grid-template-columns:32px 70px 1fr 1fr 110px 70px 50px 40px;font-size:12px}.cashier-main-flat .order-table-header{display:none}.cashier-main-flat .order-table-row{grid-template-columns:1fr;gap:8px;padding:12px}.cashier-main-flat .order-table-row>div{display:flex;justify-content:space-between;align-items:center;gap:8px}.cashier-main-flat .order-table-row>div:before{content:attr(data-label);color:#888;font-weight:600}.cashier-main-flat .order-qty-wrapper,.cashier-main-flat .order-note-input,.cashier-main-flat .order-cut-type-select{width:100%}.cashier-main-flat .order-remove-button{margin-inline-start:auto}.sorter-table .order-table-header{display:none}.sorter-table .order-table-row{grid-template-columns:1fr;gap:8px;padding:12px}.sorter-table .order-table-row>div{display:flex;justify-content:space-between;align-items:center;gap:8px}.sorter-table .order-table-row>div:before{content:attr(data-label);color:#888;font-weight:600}.mobile-scroll-controls{display:flex}.mobile-scroll-controls button{width:34px;height:34px;font-size:16px}}
