.order-page { height: 100%; display: flex; flex-direction: column; min-height: 0; background: var(--paper); }
.cashier-screen > .transaction-scroll { scrollbar-width: none; }
.cashier-screen > .transaction-scroll::-webkit-scrollbar { display: none; }
[data-payment-countdown] { color: var(--blue); font-variant-numeric: tabular-nums; white-space: nowrap; }
.detail-footer:has([data-action="cancel-pickup-order"]) > button { flex: 1; min-width: 0; min-height: 42px; }
.cashier-restaurant { display: flex; align-items: center; gap: 8px; padding: 12px; margin-bottom: 12px; border-radius: 12px; background: var(--selected); }
.cashier-restaurant > img { width: 30px; height: 30px; object-fit: contain; }
.cashier-restaurant > strong { flex: 1; min-width: 0; font-size: 16px; }
.cashier-restaurant > [data-payment-countdown] { flex: 0 0 auto; margin-left: 4px; line-height: 1.4; }
.cashier-section-title { display: flex; align-items: center; gap: 8px; font-size: 18px; line-height: 1.4; font-weight: 700; }
.cashier-section-title::before { content: ''; width: 4px; height: 18px; border-radius: 2px; background: var(--yellow); flex-shrink: 0; }
.cashier-order-number { margin-top: 10px; border-bottom: 1px solid var(--line); font-size: 12px; }
.cashier-order-card .cashier-section-title { margin-bottom: 2px; }
.cashier-coupon-row { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.cashier-coupon-row > strong { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--blue); }
.cashier-coupon-row .price { font-size: 14px; }
.cashier-coupon-row > .icon { width: 16px; height: 16px; color: var(--secondary); }
.cashier-payment-method { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 0; min-height: 32px; font-size: 14px; }
.cashier-payment-method > .icon { display: block; width: 26px; height: 26px; color: var(--lego-colors-service-green); }
.cashier-payment-method > span { display: flex; align-items: center; min-height: 26px; line-height: 24px; }
.cashier-payment-method > input { display: block; margin: 0 0 0 auto; accent-color: var(--blue); width: 18px; height: 18px; }
.cashier-footer .price { color: var(--blue); }
.cashier-footer > .button { min-width: 150px; }
.transaction-header { border-bottom: 1px solid var(--line); }
.transaction-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px; scrollbar-width: thin; }
.orders-screen > .transaction-scroll,.order-detail-screen > .transaction-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.orders-screen > .transaction-scroll::-webkit-scrollbar,.order-detail-screen > .transaction-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }
.order-card { background: var(--white); border-radius: var(--lego-rounded-card); padding: 16px; margin-bottom: 12px; overflow: hidden; }
.order-section-title { font-size: var(--lego-typography-title-font-size); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.order-section-title .muted { font-size: 12px; font-weight: 400; }
.pickup-card-heading { display: flex; align-items: center; gap: 6px; color: var(--blue); font-size: 12px; margin-bottom: 10px; }
.pickup-card-heading .icon { width: 16px; height: 16px; }
.pickup-card h2 { font-size: 18px; margin-bottom: 4px; }
.pickup-card > p { font-size: 12px; color: var(--secondary); }
.order-restaurant-link { display: flex; align-items: center; gap: 12px; min-width: 0; }
.order-restaurant-link > .order-restaurant-image { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 12px; }
.order-restaurant-copy { flex: 1; min-width: 0; }
.order-restaurant-copy > h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.order-restaurant-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.order-restaurant-meta .restaurant-mode-tag { display: inline-flex; align-items: center; gap: 4px; border-radius: 12px; padding: 3px 7px; white-space: nowrap; }
.order-restaurant-meta .icon { width: 13px; height: 13px; flex-shrink: 0; }
.order-restaurant-area { display: inline-flex; align-items: center; gap: 4px; color: var(--secondary); font-size: 12px; }
.order-restaurant-link > .icon { width: 16px; height: 16px; color: var(--secondary); flex-shrink: 0; }
.order-restaurant-card > .order-info-row { margin-top: 14px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.order-select-row { width: 100%; display: flex; align-items: center; gap: 8px; padding: 14px 0 0; margin-top: 14px; border-top: 1px solid var(--line); font-size: 12px; text-align: left; }
.order-select-row > strong { margin-left: auto; font-weight: 500; color: var(--blue); max-width: 65%; text-align: right; }
.order-select-row .icon { width: 14px; height: 14px; color: var(--secondary); }
.coupon-card .order-select-row { margin: 0; padding: 0; border: 0; min-height: 24px; font-size: 14px; }
.coupon-card .order-select-row > span { font-weight: 600; }
.coupon-card .price { font-size: 14px; font-weight: 500; }
.coupon-card .order-select-row:disabled > strong { color: var(--secondary); }
.coupon-discount > strong { color: var(--blue); font-weight: 500; }
.order-summary { padding: 0; }
.order-summary-heading { padding: 12px 16px; background: var(--lego-colors-summary-yellow); display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.order-summary-heading a { display: flex; gap: 4px; align-items: center; font-size: 12px; }
.order-summary-heading .icon { width: 12px; height: 12px; }
.order-products { padding: 0 16px; }
.order-product { display: flex; align-items: flex-start; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-product > img { width: 54px; height: 54px; flex: 0 0 54px; border-radius: var(--lego-rounded-thumbnail); }
.order-product-copy { flex: 1; min-width: 0; }
.order-product-copy > strong { font-size: 14px; display: block; }
.order-product-copy > p { font-size: 12px; color: var(--secondary); margin-top: 3px; line-height: 1.6; overflow-wrap: anywhere; }
.order-unit-price { display: flex; gap: 6px; align-items: center; font-size: 12px; margin-top: 6px; }
.order-unit-price .price { font-size: 12px; font-weight: 400; }
.order-line-total .price { font-size: 14px; }
.order-items-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: 12px; }
.order-items-total > span:first-child { color: var(--secondary); }
.order-items-total .price { font-size: 16px; }
.order-note { width: 100%; border: 0; padding: 2px 0 8px; resize: none; height: 64px; outline-offset: 4px; color: var(--ink); background: var(--white); font-size: 14px; line-height: 1.6; caret-color: var(--blue); }
.order-note::placeholder { color: var(--muted); }
.field-hint,.payment-explanation { font-size: 12px; color: var(--secondary); line-height: 1.7; }
.payment-explanation { padding: 0 8px 16px; }
.order-amount-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 12px; }
.order-amount-row .price { font-size: 14px; }
.order-amount-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.order-amount-row.total .price { font-size: 18px; }
.transaction-footer { min-height: 76px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--white); display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.transaction-footer > div { min-width: 0; flex: 1; display: flex; align-items: baseline; gap: 6px; }
.transaction-footer > div > .muted { font-size: 12px; }
.transaction-footer .price { font-size: 22px; }
.transaction-footer > .button { min-width: 126px; }
.order-warning { padding: 14px; margin-bottom: 12px; background: var(--selected); border-radius: 10px; font-size: 12px; }
.order-warning strong { color: var(--blue); }
.order-warning p { margin-top: 5px; color: var(--secondary); }
.order-warning a { display: flex; align-items: center; gap: 4px; color: var(--blue); margin-top: 8px; }
.order-warning .icon { width: 14px; height: 14px; }
.order-inline-warning { font-size: 12px; color: var(--blue); margin-top: 12px; line-height: 1.6; }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; border: 1px solid var(--line); border-radius: var(--lego-rounded-control); padding: 8px 14px; font-size: 12px; color: var(--ink); background: var(--white); }
.secondary-button:disabled { color: var(--muted); }
.full-button { width: 100%; }
.transaction-empty { padding: 72px 16px; text-align: center; }
.transaction-empty > .icon { width: 52px; height: 52px; color: var(--blue); margin-bottom: 16px; }
.transaction-empty h2 { font-size: 18px; }
.transaction-empty p { font-size: 12px; color: var(--secondary); margin: 10px 0 24px; line-height: 1.8; }
.payment-result-screen { background: var(--white); }
.payment-result { padding: 36px 16px 24px; text-align: center; }
.payment-state-icon { width: 66px; height: 66px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blue); background: var(--selected); margin: 0 auto 22px; }
.payment-state-icon .icon { width: 36px; height: 36px; stroke-width: 2; }
.payment-result h2 { font-size: var(--lego-typography-display-font-size); margin-bottom: 18px; }
.payment-result > .price { font-size: 32px; }
.payment-result > p { font-size: 12px; color: var(--secondary); line-height: 1.8; margin: 16px auto 26px; max-width: 250px; }
.result-order-summary { background: var(--paper); padding: 16px 10px; border-radius: 10px; margin-bottom: 24px; }
.result-order-summary strong { font-size: 14px; display: block; }
.result-order-summary span { font-size: 12px; color: var(--secondary); display: block; margin-top: 6px; overflow-wrap: anywhere; }
.payment-result > .button,.payment-result > .secondary-button { width: 100%; margin-bottom: 12px; min-height: 42px; }
.payment-result > .text-button { font-size: 12px; margin-top: 4px; }
.payment-success-screen .payment-result { padding: 34px 8px 24px; }
.payment-success-screen .payment-state-icon { position: relative; width: 84px; height: 84px; margin-bottom: 22px; }
.payment-success-screen .payment-state-icon > .icon { width: 48px; height: 48px; stroke-width: 3.5; }
.payment-success-rays { position: absolute; top: -10px; right: -15px; width: 38px; height: 38px; }
.payment-success-rays > i { position: absolute; display: block; width: 5px; height: 15px; border-radius: 3px; background: var(--yellow); }
.payment-success-rays > i:nth-child(1) { top: 0; left: 6px; transform: rotate(25deg); }
.payment-success-rays > i:nth-child(2) { top: 10px; left: 19px; transform: rotate(50deg); }
.payment-success-rays > i:nth-child(3) { top: 24px; left: 27px; height: 12px; transform: rotate(77deg); }
.payment-success-screen .payment-result h2 { font-size: 28px; line-height: 1.3; margin-bottom: 12px; }
.payment-success-screen .payment-result > .price { color: var(--blue); font-size: 44px; line-height: 1.2; font-weight: 750; font-variant-numeric: tabular-nums; }
.payment-success-screen .payment-result > p { margin: 14px auto 30px; font-size: 13px; max-width: 270px; }
.payment-success-screen .result-order-summary { position: relative; display: flex; align-items: center; gap: 14px; padding: 24px 16px; margin-bottom: 32px; text-align: left; background: var(--white); border-radius: 16px; box-shadow: 0 5px 20px rgba(0,55,95,.10); }
.payment-success-screen .result-order-summary::before,.payment-success-screen .result-order-summary::after { content: ''; position: absolute; width: 30px; height: 30px; background: url('/assets/optimized/restaurant-brick-watermark-a339ef1285f4.webp') center / contain no-repeat; pointer-events: none; }
.payment-success-screen .result-order-summary::before { top: -12px; left: 0; transform: rotate(-10deg); }
.payment-success-screen .result-order-summary::after { bottom: -8px; right: -2px; width: 34px; height: 34px; transform: rotate(12deg); }
.result-restaurant-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--selected); color: var(--blue); flex-shrink: 0; }
.result-restaurant-icon > .icon { width: 26px; height: 26px; }
.payment-success-screen .result-order-copy { min-width: 0; padding-left: 14px; border-left: 1px solid var(--line); }
.payment-success-screen .result-order-copy > strong { font-size: 16px; line-height: 1.4; }
.payment-success-screen .result-order-copy > span { line-height: 1.5; }
.payment-success-screen .payment-result > .button,.payment-success-screen .payment-result > .secondary-button { min-height: 46px; font-size: 15px; }
.payment-success-screen .payment-result > .secondary-button { color: var(--blue); border-color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .payment-success-screen .payment-state-icon > .icon path { stroke-dasharray: 24; animation: payment-check-in .45s ease-out both; }
  @keyframes payment-check-in { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
}
.order-tabs { height: 48px; background: var(--white); display: flex; align-items: stretch; flex-shrink: 0; padding: 0 16px; gap: 28px; border-bottom: 1px solid var(--line); }
.order-tabs button { padding: 0 4px; font-size: 14px; color: var(--secondary); position: relative; }
.order-tabs button.active { color: var(--ink); font-weight: 700; }
.order-tabs button.active::after { content: ''; position: absolute; height: 3px; background: var(--blue); bottom: 0; left: 0; right: 0; }
.order-list-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.order-list-heading > a { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.order-list-heading .icon { width: 15px; height: 15px; }
.order-list-heading > span { font-size: 12px; color: var(--blue); text-align: right; white-space: nowrap; }
.order-preview-images { display: flex; gap: 8px; margin: 14px 0 8px; }
.order-preview-images img { width: 62px; height: 62px; border-radius: 8px; }
.order-list-body > p { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-list-meta { font-size: 12px; color: var(--secondary); margin: 8px 0 12px; }
.order-list-footer { border-top: 1px solid var(--line); padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-list-footer > span { font-size: 12px; display: inline-flex; align-items: baseline; gap: 6px; }
.order-list-footer .price { font-size: 18px; }
.order-status { padding: 6px 4px 12px; }
.order-status-heading { display: flex; align-items: center; gap: 8px; }
.order-status-symbol { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 9px; background: var(--selected); color: var(--blue); }
.order-status-symbol .icon { width: 22px; height: 22px; }
.order-status-copy { flex: 1; min-width: 0; border-left: 1px solid color-mix(in srgb, var(--secondary) 35%, var(--white)); padding-left: 8px; }
.order-status-copy h2 { font-size: 18px; line-height: 1.3; }
.order-status-copy p { font-size: 12px; line-height: 1.5; color: var(--secondary); margin-top: 2px; }
.order-status-amount { flex-shrink: 0; align-self: flex-start; padding-top: 1px; white-space: nowrap; }
.order-status-amount > .price { color: var(--blue); font-size: 20px; line-height: 1.3; }
.pickup-progress-card { margin: 16px -4px 0; border-radius: 16px; background: var(--white); box-shadow: 0 4px 12px rgb(0 86 148 / 9%); }
.pickup-code-panel { padding: 14px 16px 12px; }
.pickup-code-panel > h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.pickup-code-panel > h3::before { content: ''; width: 4px; height: 17px; border-radius: 2px; background: var(--yellow); }
.pickup-code-badge { position: relative; width: fit-content; min-width: 140px; margin: 10px auto 0; padding: 4px 20px; border-radius: 28px; text-align: center; background: var(--selected); color: var(--blue); }
.pickup-code-badge > strong { display: block; font-size: 36px; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.pickup-code-badge::before,.pickup-code-badge::after { content: ''; position: absolute; border-radius: 2px; background: var(--yellow); }
.pickup-code-badge::before { right: -9px; top: 1px; width: 13px; height: 3px; transform: rotate(-30deg); }
.pickup-code-badge::after { right: -1px; top: -11px; width: 3px; height: 13px; transform: rotate(20deg); }
.pickup-code-badge.redeemed { color: var(--secondary); background: var(--paper); }
.pickup-code-badge.redeemed::before,.pickup-code-badge.redeemed::after { display: none; }
.pickup-code-panel > p { margin-top: 10px; color: var(--secondary); font-size: 12px; line-height: 1.7; text-align: center; }
.fulfillment-steps { display: flex; list-style: none; padding: 16px 0 14px; margin: 0 16px; border-top: 1px solid var(--line); }
.fulfillment-steps li { flex: 1; position: relative; text-align: center; color: var(--secondary); }
.fulfillment-steps li::before { content: ''; position: absolute; width: calc(100% - 26px); height: 2px; background: var(--line); top: 12px; left: calc(-50% + 13px); }
.fulfillment-steps li:first-child::before { display: none; }
.fulfillment-steps li > span { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid var(--line); background: var(--paper); border-radius: 50%; font-size: 14px; margin: 0 auto 8px; }
.fulfillment-steps .icon { width: 14px; height: 14px; }
.fulfillment-steps small { display: block; font-size: 13px; line-height: 1.4; white-space: nowrap; }
.fulfillment-steps li.done > span { color: var(--blue); background: var(--selected); border-color: var(--blue); }
.fulfillment-steps li.done::before { background: var(--blue); }
.fulfillment-steps li.current { font-weight: 700; color: var(--blue); }
.fulfillment-steps li.current > span { background: var(--blue); color: var(--white); }
.order-info-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 12px; }
.order-info-row > span:first-child { color: var(--secondary); flex-shrink: 0; }
.order-info-row > span:last-child { text-align: right; overflow-wrap: anywhere; }
.store-simulation-entry { padding: 0 4px 12px; text-align: center; }
.store-simulation-entry > .text-button { font-size: 12px; color: var(--secondary); }
.transaction-sheet > .sheet-header { justify-content: space-between; }
.transaction-sheet > .sheet-header h2 { font-size: 17px; }
.transaction-sheet-body { padding: 18px 16px 22px; }
.time-immediate { width: 100%; text-align: left; padding: 14px; }
.time-immediate > strong { display: block; font-size: 14px; }
.time-immediate > span { display: block; font-size: 12px; margin-top: 5px; color: var(--secondary); }
.time-date { font-size: 14px; margin: 24px 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.time-date > span { color: var(--secondary); font-size: 12px; font-weight: 400; }
.time-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.time-option { padding: 12px 6px; min-width: 0; }
.time-option strong { display: block; font-size: 14px; }
.time-option > span { display: block; font-size: 12px; margin-top: 5px; }
.external-note { font-size: 12px; color: var(--secondary); line-height: 1.8; margin: 16px 0 0; }
.simulation-label { display: inline-flex; padding: 3px 7px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; color: var(--secondary); }
.host-payment-summary { text-align: center; margin: 24px 0 16px; }
.host-payment-summary h3 { font-size: 16px; margin-bottom: 14px; }
.host-payment-summary .price { font-size: 32px; }
.host-payment-summary p { font-size: 12px; color: var(--secondary); margin-top: 12px; }
.host-outcomes { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.host-outcomes .secondary-button { min-height: 42px; font-size: 14px; }
.host-outcomes .text-button { align-self: center; font-size: 12px; }
.voucher-content { text-align: center; }
.voucher-status { display: inline-block; background: var(--selected); color: var(--blue); font-size: 12px; padding: 4px 10px; border-radius: 4px; margin-bottom: 16px; }
.voucher-content h3 { font-size: 18px; }
.voucher-content > p { font-size: 12px; color: var(--secondary); line-height: 1.8; margin-top: 8px; }
.voucher-number-label { display: block; font-size: 12px; color: var(--secondary); margin: 24px 0 8px; }
.voucher-number { display: block; font-size: 48px; font-weight: 700; letter-spacing: 5px; line-height: 1.2; font-variant-numeric: tabular-nums; margin-bottom: 24px; }
.voucher-number.redeemed { color: var(--muted); text-decoration: line-through; }
.voucher-redeemed-at { font-size: 12px; color: var(--secondary); display: block; margin-top: 10px; }
.voucher-waiting { display: flex; align-items: center; flex-direction: column; padding: 28px 0; gap: 10px; }
.voucher-waiting > .icon { width: 40px; height: 40px; color: var(--blue); }
.voucher-waiting > strong { font-size: 16px; }
.voucher-waiting > span { font-size: 12px; color: var(--secondary); }
.voucher-footer { justify-content: space-between; gap: 8px; }
.voucher-footer > button { min-width: 0; flex: 1; font-size: 12px; padding: 0 12px; height: 42px; }
.store-order-summary { padding: 18px 0; }
.store-order-summary > strong { display: block; font-size: 16px; }
.store-order-summary > span { display: block; font-size: 12px; color: var(--secondary); margin-top: 7px; }
.store-order-summary > p { color: var(--blue); font-size: 14px; margin-top: 12px; }
.store-simulation-sheet .full-button { margin-top: 16px; }
.redeem-label { display: block; font-size: 14px; margin: 6px 0 10px; }
.redeem-input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-size: 16px; color: var(--ink); caret-color: var(--blue); }
.redeem-input::placeholder { font-size: 12px; color: var(--muted); }
.redeem-success { padding: 24px 0; text-align: center; }
.redeem-success > .icon { width: 44px; height: 44px; color: var(--blue); margin-bottom: 12px; }
.redeem-success h3 { font-size: 18px; }
.redeem-success p { font-size: 12px; color: var(--secondary); margin-top: 10px; }
.map-preview { margin: 18px 0; }
.map-preview svg { width: 100%; display: block; }
.map-destination { display: flex; align-items: flex-start; gap: 12px; }
.map-destination > .icon { color: var(--blue); margin-top: 2px; }
.map-destination strong { font-size: 16px; }
.map-destination p { font-size: 12px; color: var(--secondary); margin-top: 5px; }
.hero-tools { display: flex; align-items: center; gap: 4px; }
@media (max-width: 760px) { .transaction-footer { padding-bottom: max(12px,env(safe-area-inset-bottom)); } }

/* Checkout restaurant identity and note input. */
.checkout-restaurant-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.checkout-restaurant-heading > h2 { margin: 0; }
.checkout-screen .order-note { border: 1px solid color-mix(in srgb, var(--ink) 16%, var(--white)); border-radius: var(--lego-rounded-control); padding: 10px 12px; height: 84px; outline: none; background: var(--lego-colors-page-neutral); }
.checkout-screen .order-note:hover { border-color: color-mix(in srgb, var(--blue) 30%, var(--white)); }
.checkout-screen .order-note:focus { border-color: var(--blue); outline: 2px solid var(--selected); outline-offset: 1px; }

.time-sheet { height: 66.6667%; max-height: 66.6667%; }
.time-sheet > .sheet-scroll { flex: 1; }

/* Dining order list: scene navigation and independently filtered business stages. */
.orders-screen { background: #F4F9FD; }
.orders-screen > .transaction-header { border-bottom: 0; }
.orders-screen > .order-tabs { gap: 0; padding: 0 8px; justify-content: space-between; }
.orders-screen > .order-tabs > button { flex: 1; min-width: 0; padding: 0 3px; font-size: 12px; white-space: nowrap; }
.orders-screen > .order-tabs > button.active::after { left: 20%; right: 20%; }
.orders-screen > .order-tabs button.active { color: var(--blue); }
.orders-screen > .transaction-scroll { padding: 14px 12px; }
.orders-screen .order-list-card { --order-accent: var(--blue); position: relative; padding: 14px; border: 1px solid #E3EEF7; border-radius: 16px; box-shadow: 0 4px 10px rgba(0,71,119,.08); margin-bottom: 14px; overflow: visible; }
.orders-screen .order-list-card::after { content: ''; position: absolute; width: 25px; height: 25px; bottom: -2px; right: -2px; background: url('/assets/optimized/restaurant-brick-watermark-a339ef1285f4.webp') center / contain no-repeat; opacity: .65; pointer-events: none; }
.orders-screen .order-list-card.tone-amber { --order-accent: #E8A300; }
.orders-screen .order-list-card.tone-green { --order-accent: #17863D; }
.orders-screen .order-list-card.tone-muted { --order-accent: #8B969F; }
.orders-screen .order-list-heading { align-items: center; gap: 6px; padding: 0 0 0 6px; border: 0; }
.orders-screen .order-list-heading > a { min-width: 0; flex: 1; color: #142B46; }
.orders-screen .order-list-heading > a > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.orders-screen .order-list-heading > a .icon { flex-shrink: 0; width: 14px; height: 14px; }
.orders-screen .order-state-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 14px; background: var(--lego-colors-selected-surface); color: var(--blue); font-size: 11px; font-weight: 600; flex-shrink: 0; }
.orders-screen .order-state-badge .icon { width: 14px; height: 14px; }
.orders-screen .tone-amber .order-state-badge { background: #FFF2C9; color: #936500; }
.orders-screen .tone-green .order-state-badge { background: #E3F6DF; color: #17863D; }
.orders-screen .tone-muted .order-state-badge { background: var(--paper); color: var(--secondary); }
.orders-screen .order-list-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin: 9px 0 0; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-size: 10px; }
.orders-screen .order-list-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.orders-screen .order-list-meta .icon { width: 12px; height: 12px; }
.orders-screen .order-list-meta small { font-size: 10px; color: var(--secondary); }
.orders-screen .order-list-meta i,.orders-screen .order-list-footer i { display: inline-block; height: 10px; border-left: 1px solid #D6E0E9; margin: 0 3px; }
.orders-screen .order-list-body { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--ink); }
.orders-screen .order-preview-images { margin: 0; gap: 5px; flex-shrink: 0; position: relative; }
.orders-screen .order-preview-images img { width: 54px; height: 58px; border-radius: 9px; }
.order-more-items { position: absolute; right: 2px; bottom: 2px; background: rgba(0,0,0,.65); color: white; border-radius: 5px; font-size: 10px; padding: 2px 4px; }
.orders-screen .order-list-body > p { min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.5; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.orders-screen .order-list-footer { padding-top: 9px; position: relative; z-index: 1; }
.orders-screen .order-list-footer .price { font-size: 20px; color: var(--ink); font-weight: 700; }
.orders-screen .order-list-footer > .button,.orders-screen .order-list-footer > .secondary-button { min-height: 32px; height: 32px; min-width: 90px; padding: 4px 14px; border-radius: 16px; margin-right: 7px; font-size: 12px; }
.orders-screen .order-list-footer > .secondary-button { border-color: var(--blue); color: var(--blue); background: var(--white); }

.orders-screen .order-corner-icon { position: absolute; top: -7px; left: -2px; width: 30px; height: 34px; object-fit: contain; pointer-events: none; }
