.cashier-app { background: #f3f4f6; --cs-blue: #2563eb; min-height: 100%; }
.cashier-app .cs-login {
    min-height: 100%;
    padding: 48px 32px;
    background: linear-gradient(180deg, #2563eb 0%, #f3f4f6 42%);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cashier-app .cs-login__hero { margin-bottom: 28px; color: #fff; width: 100%; max-width: 420px; }
.cashier-app .cs-login__title { font-size: 26px; font-weight: 700; display: block; }
.cashier-app .cs-login__sub { font-size: 14px; opacity: .9; margin-top: 6px; display: block; }
.cashier-app .cs-login__card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,.08); width: 100%; max-width: 420px; }
.cashier-app .cs-field { margin-bottom: 14px; }
.cashier-app .cs-field__label { font-size: 13px; color: #6b7280; display: block; margin-bottom: 5px; }
.cashier-app .cs-field__input { width: 100%; border: 1px solid #e5e7eb; border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.cashier-app .cs-login__btn { margin-top: 8px; padding: 12px; background: var(--cs-blue); color: #fff; text-align: center; border-radius: 8px; font-weight: 600; cursor: pointer; }
.cashier-app .cs-login__tip { display: block; text-align: center; margin-top: 16px; font-size: 12px; color: #888; }

.cashier-app .cs-menu { display: flex; flex-direction: column; min-height: 100%; height: 100%; }
.cashier-app .cs-topbar { background: var(--cs-blue); color: #fff; padding: 12px 16px 10px; flex-shrink: 0; }
.cashier-app .cs-shop-row { display: flex; justify-content: space-between; align-items: flex-start; }
.cashier-app .cs-shop-name { font-size: 17px; font-weight: 700; display: block; }
.cashier-app .cs-shop-sub { font-size: 12px; opacity: .85; display: block; }
.cashier-app .cs-logout { font-size: 13px; padding: 4px 8px; background: rgba(255,255,255,.15); border-radius: 4px; cursor: pointer; }
.cashier-app .cs-table-row { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.cashier-app .cs-table-label { font-size: 13px; }
.cashier-app .cs-table-input { flex: 1; height: 32px; background: rgba(255,255,255,.15); border: 0; border-radius: 5px; padding: 0 10px; color: #fff; font-size: 14px; }
.cashier-app .cs-main { flex: 1; display: flex; min-height: 0; }
.cashier-app .cs-cats { width: 96px; background: #fff; border-right: 1px solid #e5e7eb; flex-shrink: 0; overflow: auto; }
.cashier-app .cs-cat { padding: 16px 10px; font-size: 14px; color: #4b5563; border-left: 3px solid transparent; cursor: pointer; text-align: center; }
.cashier-app .cs-cat--on { background: #eff6ff; color: var(--cs-blue); border-left-color: var(--cs-blue); font-weight: 600; }
.cashier-app .cs-goods {
    flex: 1;
    padding: 10px;
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-content: start;
}
.cashier-app .cs-goods-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 0;
    cursor: pointer;
    min-height: 132px;
}
.cashier-app .cs-pic { width: 100%; height: 72px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.cashier-app .cs-goods-info { margin-left: 0; margin-top: 8px; display: flex; flex-direction: column; justify-content: center; }
.cashier-app .cs-goods-name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.cashier-app .cs-goods-price { color: #dc2626; font-size: 16px; font-weight: 700; margin-top: 6px; }
.cashier-app .cs-cart { width: 200px; background: #fff; border-left: 1px solid #e5e7eb; display: flex; flex-direction: column; flex-shrink: 0; }
.cashier-app .cs-cart-scroll { flex: 1; padding: 6px; overflow: auto; font-size: 12px; }
.cashier-app .cs-cart-empty { color: #9ca3af; text-align: center; padding: 20px 0; display: block; }
.cashier-app .cs-cart-line { padding: 6px 0; border-bottom: 1px solid #f3f4f6; }
.cashier-app .cs-line-name { font-weight: 600; display: block; }
.cashier-app .cs-line-right { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.cashier-app .cs-line-price { color: #dc2626; flex: 1; }
.cashier-app .cs-del { color: var(--cs-blue); cursor: pointer; }
.cashier-app .cs-cart-foot { border-top: 1px solid #e5e7eb; padding: 8px; }
.cashier-app .cs-total { display: block; font-size: 16px; font-weight: 700; color: #dc2626; margin-bottom: 6px; }
.cashier-app .cs-submit { background: var(--cs-blue); color: #fff; text-align: center; padding: 8px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.cashier-app .cs-submit--off { opacity: .5; pointer-events: none; }

.cashier-app .cs-amount { padding: 24px 48px; max-width: 520px; margin: 0 auto; }
.cashier-app .cs-amount__title { font-size: 22px; font-weight: 700; display: block; }
.cashier-app .cs-amount__sub { font-size: 13px; color: #666; margin-top: 4px; display: block; }
.cashier-app .cs-amount-box { display: flex; align-items: baseline; justify-content: center; padding: 32px 0; }
.cashier-app .cs-currency { font-size: 28px; color: #dc2626; }
.cashier-app .cs-amount-val { font-size: 48px; font-weight: 700; color: #dc2626; margin-left: 4px; }
.cashier-app .cs-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cashier-app .cs-key { background: #fff; border-radius: 10px; padding: 18px; text-align: center; font-size: 22px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.cashier-app .cs-key--pay { grid-column: span 3; background: var(--cs-blue); color: #fff; font-size: 16px; }

.cashier-app .cs-orders { padding: 16px 24px; max-width: 640px; margin: 0 auto; }
.cashier-app .cs-orders__hd { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.cashier-app .cs-order-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 8px; padding: 12px; margin-bottom: 8px; cursor: pointer; }
.cashier-app .cs-order-no { font-size: 14px; font-weight: 700; display: block; }
.cashier-app .cs-order-meta { font-size: 12px; color: #888; margin-top: 4px; display: block; }
.cashier-app .cs-order-amt { font-size: 16px; font-weight: 700; color: #dc2626; }

.cashier-app .cs-pay { padding: 48px 32px; text-align: center; max-width: 560px; margin: 0 auto; }
.cashier-app .cs-pay__amt { font-size: 36px; font-weight: 700; color: #dc2626; display: block; }
.cashier-app .cs-pay__tip { font-size: 14px; color: #666; margin: 12px 0 24px; display: block; }
.cashier-app .cs-pay__scan { border: 2px dashed #cbd5e1; border-radius: 12px; padding: 48px; color: #94a3b8; margin-bottom: 24px; }
.cashier-app .cs-pay__ok { background: var(--cs-blue); color: #fff; padding: 12px; border-radius: 8px; cursor: pointer; }
.cashier-app .app-tabbar__item--on { color: var(--cs-blue); }
