@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --text-bump: 2pt; /* added to every non-heading font size */
  color-scheme: light;
  --ink: #1e302b;
  --muted: #818c85;
  --line: #e9eee9;
  --surface: #fff;
  --canvas: #f5f7f4;
  --green: #2e755b;
  --green-dark: #1c493d;
  --green-soft: #eaf3ed;
  --gold: #c69050;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Manrope", var(--body);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--canvas); color: var(--ink); font: calc(14px + var(--text-bump)) var(--body); -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { appearance: none; -webkit-appearance: none; color: inherit; }
:where(button:not([class])) { min-height: 36px; border: 1px solid #dce5de; border-radius: 8px; background: #fff; padding: 0 12px; color: #52715d; font-size: calc(10px + var(--text-bump)); font-weight: 600; cursor: pointer; }
:where(button:not([class]):hover) { border-color: #aac7b1; background: #f5f9f5; }
button:disabled { opacity: .5; cursor: not-allowed; }
button:focus-visible, input:focus-visible { outline: 3px solid #9dcab0; outline-offset: 2px; }
.app-shell { min-height: 100vh; }
.topbar { display: flex; height: 76px; align-items: center; gap: 35px; border-bottom: 1px solid var(--line); background: var(--surface); padding: 0 30px; }
.brand { display: flex; flex: 0 0 195px; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; background: var(--green-dark); color: #fff; font: 800 calc(20px + var(--text-bump)) var(--display); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font: 800 calc(18px + var(--text-bump)) var(--display); letter-spacing: -1px; }
.brand-copy small { color: #8a948d; font-size: calc(8px + var(--text-bump)); font-weight: 700; letter-spacing: 1.5px; }
.store-context { display: flex; align-items: center; gap: 10px; }
.store-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #f3eee5; color: #9a784d; font-size: calc(19px + var(--text-bump)); }
.store-context > span:nth-child(2) { display: grid; gap: 3px; }
.store-context select { max-width: 132px; min-height: 24px; border: 0; background: transparent; color: #7e8982; font: 500 calc(9px + var(--text-bump)) var(--body); }
.store-context select:focus-visible { outline-offset: 0; }
.store-context strong { font-size: calc(12px + var(--text-bump)); font-weight: 700; }
.store-context small { color: var(--muted); font-size: calc(10px + var(--text-bump)); }
.open-status { display: inline-flex; align-items: center; gap: 5px; margin-left: 5px; border-radius: 20px; background: #edf5ef; padding: 5px 8px; color: #548264; font-size: calc(9px + var(--text-bump)); font-weight: 600; }
.open-status i, .connectivity i { width: 6px; height: 6px; border-radius: 50%; background: #5aa06b; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.connectivity { display: flex; align-items: center; gap: 7px; color: #7e8982; font-size: calc(10px + var(--text-bump)); }
.connectivity.offline i { background: #d99a46; }
button.connectivity { border: 0; border-radius: 999px; background: transparent; padding: 6px 8px; font-family: inherit; cursor: pointer; }
button.connectivity:hover { background: #f1f5f2; }
.sync-form, .sync-field { display: grid; gap: 6px; }
.sync-form { gap: 11px; }
.sync-field { color: #78857c; font-size: calc(9px + var(--text-bump)); font-weight: 600; }
.sync-field input, .sync-field select { min-height: 40px; border: 1px solid #e6ebe6; border-radius: 8px; padding: 0 10px; color: var(--ink); font: inherit; font-size: calc(11px + var(--text-bump)); }
.sync-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 10px; }
.sync-counts div { display: grid; justify-items: center; gap: 3px; border-radius: 9px; background: #f6f8f6; padding: 11px 6px; }
.sync-counts strong { color: var(--green-dark); font: 700 calc(19px + var(--text-bump)) var(--display); }
.sync-counts small { color: #87928a; font-size: calc(9px + var(--text-bump)); }
.sync-failures { display: grid; gap: 6px; margin: 0 0 6px; padding: 0; list-style: none; }
.sync-failures li { border-radius: 7px; background: #fbf1ee; padding: 8px 10px; color: #a1493c; font-size: calc(9px + var(--text-bump)); line-height: 1.45; }
.sync-actions { display: grid; gap: 8px; }
.sync-actions .complete-button { margin-top: 4px; }
.icon-button, .user-button { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid #e8ece7; border-radius: 10px; background: white; cursor: pointer; }
.icon-button { color: #68766e; font-size: calc(16px + var(--text-bump)); }
.user-button { border: 0; border-radius: 50%; background: #e8efe8; color: #41694d; font-weight: 700; }
.pos-lock-screen { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; overflow-y: auto; background: linear-gradient(145deg, #183c33, #244d40 56%, #183c33); padding: 24px; }
#sync-modal { z-index: 10001; }
.pos-lock-cloud { width: 100%; min-height: 44px; margin: 4px 0 14px; border: 1px solid var(--green); border-radius: 10px; background: #f1f7f2; color: var(--green-dark); font: 700 calc(11px + var(--text-bump)) var(--body); cursor: pointer; }
.pos-lock-card { width: min(100%, 370px); border: 1px solid #ffffff30; border-radius: 20px; background: #fff; padding: 30px; text-align: center; box-shadow: 0 24px 70px #0a1c1666; }
.pos-lock-mark { display: grid; width: 46px; height: 46px; place-items: center; margin: 0 auto 19px; border-radius: 14px; background: var(--green-dark); color: #fff; font: 800 calc(22px + var(--text-bump)) var(--display); }
.pos-lock-card .eyebrow { margin-bottom: 7px; }
.pos-lock-card h1 { margin: 0 0 8px; font-size: 23px; }
.pos-lock-description { margin: 0; color: #79867e; font-size: calc(12px + var(--text-bump)); }
.pos-pin-display { display: flex; justify-content: center; gap: 14px; margin: 22px 0 10px; }
.pos-pin-display span { width: 15px; height: 15px; border: 1.5px solid #b8c7bc; border-radius: 50%; background: white; }
.pos-pin-display span.filled { border-color: var(--green); background: var(--green); }
.pos-lock-error, .pos-lock-setup-hint { margin: 8px 0 12px; color: #a13d38; font-size: calc(11px + var(--text-bump)); line-height: 1.5; }
.pos-lock-setup-hint { border-radius: 8px; background: #fff6e9; padding: 9px; color: #805b2d; }
.pos-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 16px auto; }
.pos-keypad button { min-height: 52px; border: 1px solid #e4ebe5; border-radius: 10px; background: #f8faf8; color: #29483c; font: 700 calc(18px + var(--text-bump)) var(--display); cursor: pointer; }
.pos-keypad button:hover { border-color: #b8cfbd; background: #edf4ef; }
.pos-keypad .pos-keypad-utility { color: #68766e; font: 600 calc(12px + var(--text-bump)) var(--body); }
.pos-unlock-button { width: 100%; min-height: 46px; border: 0; border-radius: 10px; background: var(--green-dark); color: #fff; font-weight: 700; cursor: pointer; }
.pos-unlock-button:disabled { background: #aab9af; }
.workspace { display: grid; min-height: calc(100vh - 76px); grid-template-columns: minmax(0, 1fr) 375px; }
.catalog-pane { min-width: 0; padding: 26px 28px 18px 30px; }
.catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.eyebrow { margin: 0 0 6px; color: #819688; font-size: calc(9px + var(--text-bump)); font-weight: 700; letter-spacing: 1.15px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 5px; font: 700 24px/1.3 var(--display); letter-spacing: -.7px; }
h1 span { color: var(--gold); font-size: 19px; }
.subtitle { margin: 0; color: #86918a; font-size: calc(12px + var(--text-bump)); }
.quick-stats { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 9px 10px; }
.stat-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #edf4ef; color: #518565; font-size: calc(17px + var(--text-bump)); }
.quick-stats > span:nth-child(2) { display: grid; gap: 3px; }
.quick-stats small { color: #8e9891; font-size: calc(9px + var(--text-bump)); }
.quick-stats strong { font-size: calc(12px + var(--text-bump)); font-weight: 700; }
.small-icon { width: 27px; height: 27px; margin-left: 6px; border: 0; font-size: calc(14px + var(--text-bump)); }
.catalog-tools { display: flex; gap: 10px; margin-bottom: 15px; }
.front-of-house-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: -3px 0 14px; }
.floor-plan-button, .open-checks-button, .time-clock-home-button, .hold-check-button { min-height: 40px; border: 1px solid #dce6dd; border-radius: 8px; background: #fff; padding: 0 13px; color: #326b4e; font: inherit; font-size: calc(11px + var(--text-bump)); font-weight: 700; cursor: pointer; }
.floor-plan-button { display: inline-flex; align-items: center; gap: 12px; background: #edf4ef; }
.floor-plan-button span { border-radius: 20px; background: #fff; padding: 4px 7px; color: #78867b; font-size: calc(9px + var(--text-bump)); }
.open-checks-button { color: #5e6e63; }
.time-clock-home-button { background: #f4f7f2; }
.search-box { display: flex; height: 43px; flex: 1; align-items: center; gap: 9px; border: 1px solid #e7ece7; border-radius: 9px; background: white; padding: 0 11px; color: #8b968f; }
.search-box > span { font-size: calc(21px + var(--text-bump)); line-height: 1; transform: rotate(-15deg); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: calc(12px + var(--text-bump)); }
.search-box input::placeholder { color: #9ca49e; }
kbd { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid #e9ede9; border-radius: 5px; background: #fafbfa; color: #a0a8a2; font: calc(10px + var(--text-bump)) var(--body); }
.currency-switch { display: flex; flex: 0 0 auto; align-items: center; gap: 2px; border: 1px solid #e7ece7; border-radius: 9px; background: #fff; padding: 4px; }
.currency-option { min-width: 48px; height: 33px; border: 0; border-radius: 6px; background: transparent; color: #8b958e; font-size: calc(10px + var(--text-bump)); font-weight: 700; cursor: pointer; }
.currency-option.active { background: #eaf3ed; color: var(--green); }
.category-list { display: flex; gap: 8px; overflow-x: auto; margin: 0 -2px 15px; padding: 2px; scrollbar-width: none; }
.category-list::-webkit-scrollbar { display: none; }
.category-button { flex: 0 0 auto; min-height: 34px; border: 1px solid #e8ece7; border-radius: 8px; background: white; padding: 0 13px; color: #77837b; font-size: calc(10px + var(--text-bump)); font-weight: 600; cursor: pointer; }
.category-button.active { border-color: var(--green-dark); background: var(--green-dark); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.product-card { position: relative; display: flex; min-width: 0; min-height: 142px; flex-direction: column; align-items: flex-start; border: 1px solid #e8ede8; border-radius: 11px; background: #fff; padding: 11px; text-align: left; cursor: pointer; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; touch-action: manipulation; }
.product-card:hover { transform: translateY(-2px); border-color: #b7d0bd; box-shadow: 0 5px 16px #284d3810; }
.product-card:active { transform: scale(.98); }
.product-card[disabled] { opacity: .5; cursor: not-allowed; }
.discount-product-card { border-color: #e8ddca; }
.discount-product-card .product-price { color: #a66f31; }
.product-visual { display: grid; width: 100%; height: 69px; place-items: center; margin-bottom: 9px; border-radius: 8px; background: var(--product-bg, #edf3ed); font-size: calc(30px + var(--text-bump)); }
.product-name { overflow: hidden; width: 100%; margin-bottom: 3px; font-size: calc(11px + var(--text-bump)); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.product-description { overflow: hidden; width: 100%; margin-bottom: 6px; color: #96a098; font-size: calc(9px + var(--text-bump)); text-overflow: ellipsis; white-space: nowrap; }
.product-price { margin-top: auto; color: var(--green); font-size: calc(11px + var(--text-bump)); font-weight: 700; }
.stock-label { position: absolute; top: 7px; right: 7px; border-radius: 5px; background: #fff9ed; padding: 4px 5px; color: #b68643; font-size: calc(8px + var(--text-bump)); font-weight: 600; }
.empty-catalog { grid-column: 1 / -1; padding: 45px 15px; color: #89948c; text-align: center; }
.catalog-footnote { margin: 17px 0 0; color: #a0a9a2; font-size: calc(9px + var(--text-bump)); text-align: center; }
.catalog-footnote strong { color: #64776a; }
.order-pane { position: sticky; top: 0; display: flex; height: calc(100vh - 76px); min-height: 530px; flex-direction: column; border-left: 1px solid var(--line); background: #fff; padding: 22px 20px 16px; }
.order-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 15px; }
.check-context { margin-top: -4px; margin-bottom: 8px; border-radius: 7px; background: #f3f6f2; padding: 8px 10px; color: #496453; font-size: calc(10px + var(--text-bump)); font-weight: 700; }
.check-details { display: grid; grid-template-columns: 75px 86px minmax(0, 1fr); gap: 8px; margin-bottom: 8px; }
.check-details label { display: grid; gap: 4px; color: #7c867e; font-size: calc(9px + var(--text-bump)); font-weight: 600; }
.check-details input, .check-details select { width: 100%; min-width: 0; min-height: 34px; border: 1px solid #e7ebe6; border-radius: 6px; background: #fff; padding: 0 8px; color: #37463c; font: inherit; font-size: calc(10px + var(--text-bump)); }
.hold-check-button { width: 100%; min-height: 36px; margin-bottom: 6px; }
.hold-check-button:disabled { color: #a6afa8; cursor: not-allowed; }
.order-heading h2 { margin: 0; font: 700 17px var(--display); letter-spacing: -.3px; }
.order-number { margin-left: 5px; color: #9aa39c; font: 500 10px var(--body); }
.clear-button { border: 0; background: none; padding: 7px 3px; color: #9b8e84; font-size: calc(10px + var(--text-bump)); cursor: pointer; }
.clear-button:disabled { color: #c4c9c4; cursor: default; }
.customer-field { display: flex; height: 40px; flex: 0 0 auto; align-items: center; gap: 8px; border: 1px solid #e9eee9; border-radius: 8px; background: #fbfcfb; padding: 0 10px; color: #85928a; }
.customer-icon { font-size: calc(15px + var(--text-bump)); }
.customer-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: calc(10px + var(--text-bump)); }
.customer-field input::placeholder { color: #9ba49d; }
.customer-field button { border: 0; background: none; color: #89958d; font-size: calc(18px + var(--text-bump)); cursor: pointer; }
.cart-list { min-height: 75px; flex: 1; overflow: auto; margin: 9px -4px 10px; padding: 0 4px; overscroll-behavior: contain; }
.cart-empty { display: grid; height: 100%; min-height: 180px; align-content: center; justify-items: center; color: #a1aaa3; text-align: center; }
.cart-empty span { display: grid; width: 49px; height: 49px; place-items: center; margin-bottom: 12px; border-radius: 16px; background: #f3f6f3; color: #8aa091; font-size: calc(23px + var(--text-bump)); }
.cart-empty strong { margin-bottom: 5px; color: #5f6d64; font-size: calc(11px + var(--text-bump)); }
.cart-empty small { font-size: calc(9px + var(--text-bump)); }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; border-bottom: 1px solid #f0f2ef; padding: 11px 2px; }
.cart-line-copy { min-width: 0; }
.cart-line-copy strong { display: block; overflow: hidden; margin-bottom: 4px; font-size: calc(10px + var(--text-bump)); text-overflow: ellipsis; white-space: nowrap; }
.cart-line-copy small { color: #959f97; font-size: calc(9px + var(--text-bump)); }
.line-total { align-self: center; color: #394c41; font-size: calc(10px + var(--text-bump)); font-weight: 700; white-space: nowrap; }
.quantity-controls { display: flex; align-items: center; gap: 10px; }
.quantity-controls button { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #e9ede9; border-radius: 7px; background: #fff; color: #64766a; font-size: calc(15px + var(--text-bump)); cursor: pointer; touch-action: manipulation; }
.quantity-controls span { min-width: 11px; color: #536359; font-size: calc(10px + var(--text-bump)); font-weight: 700; text-align: center; }
.cart-seat-select { max-width: 42px; min-height: 27px; border: 1px solid #e9ede9; border-radius: 7px; background: #fff; color: #536359; font-size: calc(9px + var(--text-bump)); }
.discount-cart-line .cart-line-copy strong, .discount-cart-line .line-total { color: #9a6937; }
.remove-discount-button { color: #9a6937 !important; }
.order-bottom { flex: 0 0 auto; border-top: 1px solid #edf0ed; padding-top: 12px; }
.totals > div:not(.secondary-total) { display: flex; align-items: center; justify-content: space-between; margin: 8px 0; color: #828d85; font-size: calc(10px + var(--text-bump)); }
.totals strong { color: #3c5044; font-size: calc(10px + var(--text-bump)); font-weight: 600; }
.totals .total-row { border-top: 1px solid #edf0ed; margin-top: 10px !important; padding-top: 11px; color: #33493c !important; font-size: calc(12px + var(--text-bump)) !important; font-weight: 700; }
.totals .total-row strong { color: var(--green-dark); font: 700 calc(19px + var(--text-bump)) var(--display); letter-spacing: -.4px; }
.discount-row strong { color: #b47a38; }
.service-charge-row strong { color: #53725d; }
.secondary-total { margin-top: -5px; color: #9ba59e; font-size: calc(9px + var(--text-bump)); text-align: right; }
.service-charge-toggle { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 6px; color: #738178; font-size: calc(9px + var(--text-bump)); cursor: pointer; }
.service-charge-toggle input { margin: 0; accent-color: var(--green); }
.charge-button { display: grid; width: 100%; min-height: 51px; grid-template-columns: 1fr auto 16px; align-items: center; gap: 10px; margin-top: 13px; border: 0; border-radius: 9px; background: var(--green); padding: 0 15px; color: white; text-align: left; cursor: pointer; touch-action: manipulation; }
.charge-button:disabled { background: #d7e1d9; color: #f9fbf9; cursor: not-allowed; }
.charge-button > span:first-child { font-size: calc(12px + var(--text-bump)); font-weight: 600; }
.charge-button strong { font-size: calc(12px + var(--text-bump)); }
.charge-arrow { font-size: calc(17px + var(--text-bump)); text-align: right; }
.split-seat-button { width: 100%; min-height: 34px; margin-top: 7px; border: 1px solid #dfe8e1; border-radius: 8px; background: #f7faf7; color: #50705a; font-size: calc(10px + var(--text-bump)); font-weight: 700; cursor: pointer; }
.split-seat-button:disabled { color: #a6afa8; cursor: not-allowed; }
.rate-note { margin: 9px 0 0; color: #a2aaa4; font-size: calc(8px + var(--text-bump)); text-align: center; }
.hidden { display: none !important; }

.modal-backdrop { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; overflow: auto; background: #15251fcc; padding: 18px; }
.dialog { position: relative; width: min(100%, 420px); border: 1px solid #e9eee9; border-radius: 16px; background: white; padding: 25px; box-shadow: 0 20px 80px #1b362729; }
.dialog-close { position: absolute; top: 13px; right: 14px; display: grid; width: 32px; height: 32px; place-items: center; border: 0; border-radius: 8px; background: #f5f7f5; color: #6d7b72; font-size: calc(21px + var(--text-bump)); cursor: pointer; }
.dialog h2 { margin: 0 0 6px; font: 700 21px var(--display); letter-spacing: -.4px; }
.dialog-subtitle { margin: 0 0 18px; color: #849087; font-size: calc(11px + var(--text-bump)); line-height: 1.5; }
.payment-currency { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 17px; }
.payment-currency-button { display: grid; min-height: 62px; justify-items: start; gap: 4px; border: 1px solid #e7ece7; border-radius: 9px; background: white; padding: 10px 12px; text-align: left; cursor: pointer; }
.payment-currency-button strong { font-size: calc(12px + var(--text-bump)); }
.payment-currency-button small { color: #939d96; font-size: calc(9px + var(--text-bump)); }
.payment-currency-button.active { border-color: #5c9270; background: #f1f7f2; color: #316a4d; box-shadow: 0 0 0 1px #5c9270 inset; }
.amount-due { display: grid; justify-items: center; gap: 5px; border-radius: 10px; background: #f6f8f6; padding: 13px; }
.amount-due span { color: #87928a; font-size: calc(9px + var(--text-bump)); }
.amount-due strong { color: var(--green-dark); font: 700 calc(25px + var(--text-bump)) var(--display); }
.amount-due small { color: #969f99; font-size: calc(9px + var(--text-bump)); }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.method-button { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #e8ece8; border-radius: 8px; background: white; color: #728078; font-size: calc(10px + var(--text-bump)); font-weight: 600; cursor: pointer; }
.method-button.active { border-color: var(--green); background: #f1f7f2; color: var(--green); }
.method-button span { font-size: calc(15px + var(--text-bump)); }
.tender-field { display: grid; gap: 6px; color: #78857c; font-size: calc(9px + var(--text-bump)); font-weight: 600; }
.email-field { margin-top: 11px; }
.email-field input, .receipt-email-field input { width: 100%; min-height: 39px; border: 1px solid #e6ebe6; border-radius: 8px; padding: 0 10px; color: var(--ink); font-size: calc(11px + var(--text-bump)); }
.tender-field > div, .rate-field > div { display: flex; min-height: 43px; align-items: center; gap: 9px; border: 1px solid #e6ebe6; border-radius: 8px; padding: 0 11px; color: #76837a; }
.tender-field input, .rate-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); font-size: calc(14px + var(--text-bump)); font-weight: 600; }
.quick-cash { display: flex; gap: 7px; margin-top: 8px; }
.quick-cash button { min-height: 30px; flex: 1; border: 1px solid #e9ede9; border-radius: 6px; background: white; color: #78857c; font-size: calc(9px + var(--text-bump)); cursor: pointer; }
.quick-cash button.exact { border-color: #d4e4d8; background: #f2f7f3; color: #467554; }
.change-row { display: flex; justify-content: space-between; margin-top: 12px; border-radius: 7px; background: #f2f7f3; padding: 10px; color: #728177; font-size: calc(10px + var(--text-bump)); }
.change-row strong { color: #376a4b; }
.payment-error { margin: 10px 0 0; color: #b35244; font-size: calc(10px + var(--text-bump)); }
.guest-picker-label { margin: 14px 0 7px; color: #78857c; font-size: calc(9px + var(--text-bump)); font-weight: 600; }
.guest-choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 7px; }
.guest-choice-grid .method-button { min-height: 44px; font-size: calc(14px + var(--text-bump)); }
.guest-other-field { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; color: #78857c; font-size: calc(9px + var(--text-bump)); font-weight: 600; }
.guest-other-field input { width: 70px; min-height: 34px; border: 1px solid #e6ebe6; border-radius: 8px; padding: 0 8px; color: var(--ink); font-size: calc(12px + var(--text-bump)); }
.complete-button, .print-button { display: grid; min-height: 46px; flex: 1; place-items: center; border: 1px solid var(--green); border-radius: 8px; background: var(--green); color: white; font-size: calc(11px + var(--text-bump)); font-weight: 700; cursor: pointer; touch-action: manipulation; }
.complete-button { width: 100%; margin-top: 15px; }
.demo-disclaimer { margin: 10px 0 0; color: #a1aaa3; font-size: calc(8px + var(--text-bump)); text-align: center; }
.rate-field { display: grid; gap: 7px; color: #728078; font-size: calc(10px + var(--text-bump)); font-weight: 600; }
.rate-field > div span { font-size: calc(10px + var(--text-bump)); white-space: nowrap; }
.settings-hint { margin: 10px 0 0; color: #9aa39c; font-size: calc(9px + var(--text-bump)); line-height: 1.5; }
.receipt-dialog { width: min(100%, 390px); }
.receipt-brand { display: flex; align-items: center; gap: 10px; border-bottom: 1px dashed #dfe5df; padding-bottom: 15px; }
.receipt-logo { width: 54px; height: 54px; object-fit: contain; }
.receipt-brand > div { display: grid; gap: 3px; }
.receipt-brand strong { font-size: calc(12px + var(--text-bump)); }
.receipt-brand small { color: #8a958d; font-size: calc(9px + var(--text-bump)); }
.receipt-success { margin: 17px 0 7px; color: #558164; font-size: calc(10px + var(--text-bump)); font-weight: 700; }
.receipt-dialog h2 { font-size: 23px; }
.receipt-meta { margin: 5px 0 14px; color: #87928a; font-size: calc(9px + var(--text-bump)); }
.receipt-items { border-top: 1px dashed #dfe5df; }
.receipt-item { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f0f2f0; font-size: calc(10px + var(--text-bump)); }
.receipt-item span:last-child { font-weight: 600; white-space: nowrap; }
.receipt-totals { display: grid; gap: 7px; padding-top: 12px; }
.receipt-totals div { display: flex; justify-content: space-between; gap: 10px; color: #78857c; font-size: calc(10px + var(--text-bump)); }
.receipt-totals strong { color: #344d3d; }
.receipt-totals .receipt-grand { border-top: 1px dashed #dfe5df; padding-top: 10px; color: var(--ink); font-weight: 700; }
.receipt-note { margin: 13px 0 0; color: #a1aaa3; font-size: calc(8px + var(--text-bump)); line-height: 1.5; }
.receipt-footnotes, .receipt-footer { margin: 10px 0 0; color: #718078; font-size: calc(9px + var(--text-bump)); line-height: 1.5; white-space: pre-line; text-align: center; }
.receipt-footer { border-top: 1px dashed #dfe5df; padding-top: 10px; }
.receipt-promotion { display: grid; justify-items: center; gap: 5px; margin-top: 13px; border-top: 1px dashed #dfe5df; padding-top: 11px; text-align: center; }
.receipt-promotion strong { color: #43574a; font-size: calc(10px + var(--text-bump)); }
.receipt-promotion img { width: 120px; height: 120px; image-rendering: pixelated; }
.receipt-promotion p, .receipt-promotion a { margin: 0; color: #718078; font-size: calc(8px + var(--text-bump)); line-height: 1.4; overflow-wrap: anywhere; }
.receipt-promotion a { color: #376a4b; }
.receipt-actions { display: flex; gap: 8px; margin-top: 15px; }
.receipt-actions .complete-button { margin: 0; }
.print-button { border: 1px solid #dce5de; background: white; color: #53725d; }
.email-receipt-button { display: grid; min-height: 46px; flex: 1; place-items: center; border: 1px solid #dce5de; border-radius: 8px; background: #f1f7f2; color: #376a4b; font-size: calc(10px + var(--text-bump)); font-weight: 700; cursor: pointer; }
.receipt-email-field { margin-top: 12px; }
.receipt-email-field input { min-height: 36px; }
.logo-preview { display: flex; align-items: center; gap: 12px; min-height: 55px; }
.logo-preview img { width: 90px; height: 60px; object-fit: contain; border: 1px solid #e5eae5; border-radius: 6px; padding: 4px; }
.logo-preview p { color: #89958d; font-size: calc(9px + var(--text-bump)); }
.toast { position: fixed; z-index: 20; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; max-width: calc(100vw - 30px); transform: translate(-50%, 15px); border-radius: 8px; background: #213d32; padding: 11px 16px; color: white; font-size: calc(11px + var(--text-bump)); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.visible { transform: translate(-50%, 0); opacity: 1; }
.sales-view { max-width: 1200px; margin: 0 auto; padding: 35px 30px; }
.floor-plan-view { min-height: calc(100vh - 76px); padding: 30px; background: #f7f8f4; }
.floor-plan-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.floor-plan-heading h1 { margin: 3px 0 4px; color: #243b30; font-family: var(--display); font-size: 25px; }
.floor-plan-heading .subtitle { margin: 0; color: #768178; font-size: calc(12px + var(--text-bump)); }
.floor-plan-summary { margin-bottom: 16px; color: #657368; font-size: calc(11px + var(--text-bump)); font-weight: 700; }
.floor-plan-area { margin-bottom: 18px; }
.floor-table-grid { display: grid; min-width: 640px; min-height: 250px; grid-template-columns: repeat(6, minmax(80px, 1fr)); grid-template-rows: repeat(6, minmax(66px, auto)); gap: 10px; overflow: auto; border: 1px dashed #dfe6df; border-radius: 9px; background-color: #fbfcfa; background-image: linear-gradient(#edf1ec 1px, transparent 1px), linear-gradient(90deg, #edf1ec 1px, transparent 1px); background-size: calc(100% / 6) calc(100% / 6); padding: 10px; }
.floor-table { display: flex; min-width: 76px; min-height: 64px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 1px solid #d8e1d9; border-radius: 10px; background: var(--table-color, #eaf1ec); color: #344c3c; cursor: pointer; }
.floor-table.round-table { width: 68px; min-width: 68px; justify-self: center; border-radius: 50%; }
.floor-canvas { position: relative; min-width: 560px; aspect-ratio: 16 / 10; overflow: hidden; border: 1px dashed #cfd9d0; border-radius: 9px; background-color: #fbfcfa; background-image: linear-gradient(#edf1ec 1px, transparent 1px), linear-gradient(90deg, #edf1ec 1px, transparent 1px); background-size: 5% 8%; }
.floor-canvas .floor-table { position: absolute; min-width: 0; min-height: 0; overflow: hidden; padding: 2px; text-align: center; }
.floor-canvas .floor-table.round-table { border-radius: 50%; }
.floor-canvas .floor-table:not(.round-table) { border-radius: 8px; }
.floor-canvas-editor { touch-action: none; }
.floor-canvas-editor .layout-table { cursor: grab; touch-action: none; user-select: none; }
.floor-canvas-editor .layout-table.dragging { z-index: 2; cursor: grabbing; box-shadow: 0 6px 16px rgba(36, 59, 48, .25); }
.floor-canvas-editor .layout-table.overlap { border-color: #c0392b; outline: 2px solid rgba(192, 57, 43, .35); }
.floor-canvas-editor .layout-table:focus-visible { outline: 3px solid #326b4e; }
.table-area-config .floor-canvas { margin: 8px 0 12px; }
.table-area-config h3 { font-size: 16.38px; } /* browser-default h3 size at the original 14px body; headings are not bumped */
.floor-plan-area .floor-canvas { overflow: hidden; }
.floor-plan-area { overflow-x: auto; }
.floor-table.occupied { border-color: #c88e4b; background: #fbf1df; }
.floor-table strong { font-size: calc(11px + var(--text-bump)); }
.floor-table small { color: #67776b; font-size: calc(9px + var(--text-bump)); }
.floor-table span { max-width: 100%; overflow: hidden; color: #8c683c; font-size: calc(8px + var(--text-bump)); text-overflow: ellipsis; white-space: nowrap; }
.open-checks-section { margin-top: 22px; }
.open-check-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.open-check-card { display: grid; gap: 5px; border: 1px solid #e2e8e1; border-radius: 8px; background: #fff; padding: 13px; color: #35473b; text-align: left; cursor: pointer; }
.open-check-card strong { font-size: calc(11px + var(--text-bump)); }
.open-check-card small { color: #768178; font-size: calc(9px + var(--text-bump)); }
.open-check-card b { color: #35684d; font-size: calc(12px + var(--text-bump)); }
.sales-view-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.sales-view-heading h1 { margin-bottom: 5px; }
.back-button, .secondary-action { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; border: 1px solid #dce5de; border-radius: 8px; background: white; padding: 0 12px; color: #52715d; font-size: calc(10px + var(--text-bump)); font-weight: 600; text-decoration: none; cursor: pointer; }
.back-button:hover, .secondary-action:hover { border-color: #aac7b1; background: #f5f9f5; color: #386b4b; }
.sales-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.sales-summary article { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 17px; }
.sales-summary span { color: #849087; font-size: calc(10px + var(--text-bump)); }
.sales-summary strong { font: 700 calc(21px + var(--text-bump)) var(--display); }
.sales-table-wrap { position: relative; min-height: 170px; border: 1px solid var(--line); border-radius: 10px; background: white; overflow-x: auto; }
.sales-table { width: 100%; border-collapse: collapse; text-align: left; }
.sales-table th { padding: 12px 16px; border-bottom: 1px solid var(--line); color: #97a099; font-size: calc(8px + var(--text-bump)); letter-spacing: .6px; }
.sales-table td { padding: 13px 16px; border-bottom: 1px solid #f0f2f0; color: #58665d; font-size: calc(10px + var(--text-bump)); white-space: nowrap; }
.sales-table tbody tr:last-child td { border-bottom: 0; }
.sales-table td:first-child { color: #3e6348; font-weight: 700; }
.sales-table td:last-child { color: #334d3c; font-weight: 700; }
.align-right { text-align: right !important; }
.empty-sales { display: grid; min-height: 170px; align-content: center; justify-items: center; color: #98a29b; }
.empty-sales > span { margin-bottom: 8px; font-size: calc(22px + var(--text-bump)); }
.empty-sales strong { color: #607067; font-size: calc(11px + var(--text-bump)); }
.empty-sales p { margin: 4px 0 0; font-size: calc(9px + var(--text-bump)); }
.manage-button { min-height: 34px; border: 1px solid #dfe9e1; border-radius: 8px; background: #f5f8f5; padding: 0 11px; color: #416d50; font-size: calc(10px + var(--text-bump)); font-weight: 700; cursor: pointer; }
.store-context select { max-width: 200px; border: 0; background: transparent; color: inherit; font: inherit; font-size: calc(9px + var(--text-bump)); }
.store-context select:focus-visible { outline-offset: 0; }
.admin-view { display: grid; min-height: calc(100vh - 76px); grid-template-columns: 238px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; display: flex; height: calc(100vh - 76px); flex-direction: column; border-right: 1px solid var(--line); background: #fff; padding: 25px 14px 18px; }
.admin-sidebar-heading { padding: 0 9px; }
.admin-sidebar-heading h2 { margin: 0 0 22px; font: 700 21px var(--display); }
.admin-nav { display: grid; gap: 4px; }
.admin-nav-link { display: flex; min-height: 41px; align-items: center; gap: 11px; border: 0; border-radius: 8px; background: transparent; padding: 0 10px; color: #727f76; font-size: calc(11px + var(--text-bump)); text-align: left; cursor: pointer; }
.admin-nav-link > span { display: grid; width: 20px; place-items: center; color: #819087; font-size: calc(16px + var(--text-bump)); }
.admin-nav-link.active { background: #edf4ef; color: #326b4e; font-weight: 700; }
.admin-nav-link.active > span { color: #326b4e; }
.settings-subnav-link { min-height: 35px; margin-left: 18px; border-left: 2px solid #e7ece8; border-radius: 0 7px 7px 0; padding-left: 12px; font-size: calc(10px + var(--text-bump)); }
.settings-subnav-link.active { border-left-color: #5c9270; }
.admin-back { margin-top: auto; text-align: center; }
.admin-content { width: 100%; max-width: 1320px; min-width: 0; margin: 0 auto; padding: 31px 34px 40px; }
.admin-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.admin-page-heading h1 { margin-bottom: 5px; font-size: 25px; }
.demo-admin-label { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #eee7d9; border-radius: 20px; background: #fcfaf5; padding: 8px 11px; color: #947d54; font-size: calc(9px + var(--text-bump)); white-space: nowrap; }
.demo-admin-label i { width: 6px; height: 6px; border-radius: 50%; background: #d69c4f; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 15px; }
.admin-stat-card { display: grid; min-height: 119px; align-content: space-between; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 14px; }
.admin-stat-card span { color: #7e8981; font-size: calc(10px + var(--text-bump)); }
.admin-stat-card strong { font: 700 calc(25px + var(--text-bump)) var(--display); }
.admin-stat-card small { color: #9aa39c; font-size: calc(9px + var(--text-bump)); line-height: 1.4; }
.admin-panel { min-width: 0; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 17px; }
.admin-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.admin-panel-heading h2 { margin: 0 0 4px; font: 700 14px var(--display); }
.admin-panel-heading p { margin: 0; color: #919b94; font-size: calc(9px + var(--text-bump)); line-height: 1.5; }
.admin-primary-button { min-height: 35px; flex: 0 0 auto; border: 1px solid var(--green); border-radius: 8px; background: var(--green); padding: 0 11px; color: #fff; font-size: calc(10px + var(--text-bump)); font-weight: 700; cursor: pointer; }
.admin-primary-button:hover, .complete-button:hover { border-color: var(--green-dark); background: var(--green-dark); }
.small-action { display: inline-flex; min-height: 30px; align-items: center; justify-content: center; border: 1px solid var(--green); border-radius: 7px; background: var(--green); padding: 0 9px; color: #fff; font-size: calc(9px + var(--text-bump)); font-weight: 700; text-decoration: none; cursor: pointer; }
.small-action:hover { border-color: var(--green-dark); background: var(--green-dark); }
.small-action.danger-action { border-color: #eedbd6; background: #fff9f7; color: #a34e40; }
.small-action.danger-action:hover { border-color: #d8aaa0; background: #fff2ee; color: #913c31; }
.setup-list { display: grid; }
.setup-row { display: flex; min-height: 62px; align-items: center; gap: 11px; border: 0; border-top: 1px solid #f0f2f0; background: transparent; padding: 8px 2px; text-align: left; cursor: pointer; }
.setup-icon, .modifier-symbol { display: grid; width: 33px; height: 33px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #eef4ef; color: #4e795b; font-size: calc(16px + var(--text-bump)); }
.setup-row > span:nth-child(2) { display: grid; flex: 1; gap: 4px; }
.setup-row strong { font-size: calc(10px + var(--text-bump)); }
.setup-row small { color: #929d95; font-size: calc(9px + var(--text-bump)); }
.setup-arrow { color: #829087; }
.standards-note { background: #f7f9f7; }
.standards-note > strong { font-size: calc(10px + var(--text-bump)); }
.standards-note p { margin: 6px 0 0; color: #78867c; font-size: calc(9px + var(--text-bump)); line-height: 1.6; }
.admin-record-list { display: grid; }
.admin-record { display: flex; min-width: 0; align-items: center; gap: 11px; border-top: 1px solid #f0f2f0; padding: 12px 2px; }
.record-avatar { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #f2eee6; color: #89714f; font-size: calc(15px + var(--text-bump)); }
.staff-avatar { border-radius: 50%; background: #eaf1eb; color: #477252; font-weight: 700; }
.record-main { display: grid; min-width: 0; flex: 1; gap: 4px; }
.record-main strong { overflow: hidden; font-size: calc(10px + var(--text-bump)); text-overflow: ellipsis; white-space: nowrap; }
.record-main > small { overflow: hidden; color: #909b93; font-size: calc(9px + var(--text-bump)); text-overflow: ellipsis; white-space: nowrap; }
.record-code { margin-left: 5px; border-radius: 4px; background: #f2f4f2; padding: 3px 5px; color: #829087; font: 600 calc(8px + var(--text-bump)) var(--body); }
.record-status { border: 1px solid #eceeec; border-radius: 20px; padding: 4px 7px; color: #969e98; font-size: calc(8px + var(--text-bump)); white-space: nowrap; }
.record-status.is-active { border-color: #e0eee3; background: #f1f7f2; color: #598065; }
.row-actions { display: flex; flex: 0 0 auto; gap: 5px; }
.row-actions button { min-height: 30px; border: 1px solid #dce5de; border-radius: 7px; background: white; padding: 0 9px; color: #52715d; font-size: calc(9px + var(--text-bump)); font-weight: 600; cursor: pointer; }
.row-actions button:hover { border-color: #aac7b1; color: #386b4b; }
.row-actions [data-delete-discount], .row-actions .danger-button { border-color: #eedbd6; background: #fff9f7; color: #a34e40; }
.row-actions [data-delete-discount]:hover, .row-actions .danger-button:hover { border-color: #d8aaa0; background: #fff2ee; color: #913c31; }
.pos-clock-form .complete-button { width: auto; min-width: 120px; min-height: 38px; margin: 0; padding: 0 13px; }
.pos-clock-punch-panel { border-color: #dce9df; background: linear-gradient(145deg, #fff, #f7faf7); }
.pos-clock-punch-panel .admin-panel-heading { margin-bottom: 12px; }
.pos-clock-primary-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pos-clock-primary-actions .complete-button, .pos-clock-primary-button, .pos-clock-out-button { width: auto; min-width: 150px; min-height: 50px; margin: 0; padding: 0 20px; border: 0; border-radius: 9px; background: var(--green-dark); color: #fff; font-size: calc(14px + var(--text-bump)); font-weight: 700; cursor: pointer; }
.pos-clock-primary-actions .complete-button:hover, .pos-clock-primary-button:hover { background: #28604d; }
.pos-clock-out-button { border: 1px solid #e9c9c3; background: #fff8f6; color: #9e493e; }
.pos-clock-out-button:hover { background: #fff0ec; }
.pos-clock-out-button:disabled { opacity: .5; cursor: not-allowed; }
.pos-clock-self-form { display: grid; justify-items: start; gap: 10px; }
.pos-clock-self-form .admin-field { width: min(100%, 360px); }
.pos-clock-scheduled-shift { margin: 2px 0 0; color: #65746a; font-size: calc(12px + var(--text-bump)); }
.pos-clock-punch-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #738077; font-size: calc(12px + var(--text-bump)); }
.pos-clock-status-pill { border: 1px solid #dcebdd; border-radius: 20px; background: #eef6ef; padding: 6px 11px; color: #4d7956; font-size: calc(11px + var(--text-bump)); font-weight: 700; }
.pos-clock-status-pill.is-on-break { border-color: #eedfbd; background: #fff7e8; color: #956b2d; }
.pos-clock-helper { margin: 10px 0 0; color: #8a7560; font-size: calc(11px + var(--text-bump)); }
.pos-clock-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pos-clock-table-button { width: auto; min-height: 29px; margin: 0; padding: 0 8px; font-size: calc(8px + var(--text-bump)); }
.pos-clock-active-list { display: grid; }
.pos-clock-active { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 11px; border-top: 1px solid #f0f2f0; padding: 12px 2px; }
.pos-clock-active .complete-button { width: auto; min-width: 100px; min-height: 36px; margin: 0; padding: 0 11px; }
.pos-clock-active .complete-button:disabled { cursor: not-allowed; opacity: .55; }
.pos-clock-active .record-main small { white-space: normal; }
.pos-clock-schedule-table td:first-child strong { color: #34483b; }
.pos-clock-schedule-status { display: inline-flex; border: 1px solid #e6ebe6; border-radius: 20px; background: #f6f8f6; padding: 4px 7px; color: #727d74; font-size: calc(8px + var(--text-bump)); white-space: nowrap; }
.pos-clock-schedule-status.is-clocked-in { border-color: #dcebdd; background: #eef6ef; color: #4d7956; }
.pos-clock-schedule-status.is-upcoming { border-color: #e4e9ed; background: #f2f6f8; color: #5e7887; }
.pos-clock-schedule-status.is-missed { border-color: #efdfd3; background: #fff6ef; color: #a2673d; }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.role-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 10px; border: 1px solid #edf0ed; border-radius: 8px; padding: 11px; }
.role-card > div { display: grid; gap: 4px; }
.role-card strong { font-size: calc(10px + var(--text-bump)); }
.role-card small, .role-card > span { color: #919c94; font-size: calc(8px + var(--text-bump)); line-height: 1.5; }
.role-card .row-actions { margin-top: auto; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th { padding: 10px 9px; border-bottom: 1px solid #e9ede9; color: #98a29a; font-size: calc(8px + var(--text-bump)); letter-spacing: .55px; white-space: nowrap; }
.admin-table td { padding: 10px 9px; border-bottom: 1px solid #f0f2f0; color: #65736a; font-size: calc(9px + var(--text-bump)); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td:first-child { min-width: 145px; color: #3d5144; }
.admin-table td:first-child strong, .admin-table td:first-child small, .admin-table td:nth-child(3) small { display: block; }
.admin-table td:first-child strong { font-size: calc(9px + var(--text-bump)); }
.admin-table td small { margin-top: 3px; color: #9aa39c; font-size: calc(8px + var(--text-bump)); }
.admin-table .row-actions { justify-content: flex-end; }
.inventory-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.inventory-location-picker { display: grid; min-width: 145px; gap: 5px; color: #77847b; font-size: calc(9px + var(--text-bump)); font-weight: 600; }
.inventory-location-picker select { min-height: 35px; border: 1px solid #e5eae5; border-radius: 7px; background: #fff; padding: 0 8px; color: #35483c; font-size: calc(10px + var(--text-bump)); }
.inventory-status { display: inline-flex; border-radius: 20px; padding: 4px 7px; font-size: calc(8px + var(--text-bump)); white-space: nowrap; }
.inventory-alert { background: #fff6e9; color: #a66d2e; }
.inventory-good { background: #eff6f0; color: #4b7857; }
.inventory-disclosure { padding: 0; }
.inventory-disclosure > summary { min-height: 47px; padding: 15px 17px; color: #405448; font-size: calc(11px + var(--text-bump)); font-weight: 700; cursor: pointer; }
.inventory-disclosure > summary small { display: block; margin: 5px 0 0 16px; color: #929c95; font-size: calc(8px + var(--text-bump)); font-weight: 400; }
.inventory-disclosure[open] > summary { border-bottom: 1px solid #edf0ed; }
.inventory-disclosure > :not(summary) { margin-right: 17px; margin-left: 17px; }
.inventory-description { color: #8b968e; font-size: calc(9px + var(--text-bump)); line-height: 1.5; }
.inventory-form { padding: 0 0 15px; }
.inventory-form .admin-form-actions { margin-top: 3px; }
.inventory-form .complete-button { width: auto; min-width: 130px; min-height: 39px; margin: 0; padding: 0 13px; }
.inventory-form .settings-hint { grid-column: 1 / -1; }
.inventory-inline-form { display: flex; min-width: 135px; align-items: end; flex-wrap: wrap; gap: 5px; }
.inventory-inline-form label { display: grid; min-width: 96px; gap: 3px; color: #707a70; font-size: calc(8px + var(--text-bump)); }
.inventory-inline-form input { width: 100%; min-width: 65px; min-height: 36px; border: 1px solid #e5eae5; border-radius: 6px; padding: 0 6px; font-size: calc(10px + var(--text-bump)); }
.inventory-inline-form button { min-height: 36px; border: 1px solid #dce7de; border-radius: 6px; background: #f1f7f2; padding: 0 8px; color: #376a4b; font-size: calc(9px + var(--text-bump)); font-weight: 700; cursor: pointer; }
.category-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.category-admin-card { display: flex; min-width: 0; align-items: center; gap: 10px; border: 1px solid #edf0ed; border-radius: 8px; padding: 10px; }
.category-swatch { width: 27px; height: 27px; flex: 0 0 auto; border-radius: 8px; background: var(--swatch); }
.category-admin-card > div { display: grid; flex: 1; gap: 4px; }
.category-admin-card strong { font-size: calc(10px + var(--text-bump)); }
.category-admin-card small { color: #8e9991; font-size: calc(8px + var(--text-bump)); }
.modifier-admin-list { display: grid; }
.modifier-admin-card { border-top: 1px solid #f0f2f0; padding: 13px 2px; }
.modifier-admin-heading { display: flex; align-items: center; gap: 9px; }
.modifier-admin-heading > span:nth-child(2) { display: grid; flex: 1; gap: 4px; }
.modifier-admin-heading strong { font-size: calc(10px + var(--text-bump)); }
.modifier-admin-heading small { color: #919b94; font-size: calc(8px + var(--text-bump)); }
.modifier-options { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.modifier-options > span { border: 1px solid #edf0ed; border-radius: 6px; background: #fafbfa; padding: 6px 8px; color: #58695e; font-size: calc(8px + var(--text-bump)); }
.modifier-options b { margin-left: 4px; color: #87948a; font-weight: 500; }
.modifier-assigned { margin: 7px 0 9px; color: #89958d; font-size: calc(8px + var(--text-bump)); }
.admin-empty { padding: 25px 10px; color: #929c95; font-size: calc(10px + var(--text-bump)); text-align: center; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 13px; }
.settings-grid .admin-panel { margin: 0; }
.settings-single-page { grid-template-columns: minmax(0, 1fr); }
.pos-device-list { display: grid; gap: 8px; }
.pos-device-row { display: grid; grid-template-columns: minmax(120px, 1.1fr) minmax(100px, .8fr) minmax(140px, 1.2fr) minmax(95px, .75fr) minmax(95px, .75fr); gap: 9px; border-top: 1px solid #edf0ed; padding: 11px 0; }
.pos-device-save { width: auto; min-height: 35px; margin: 0; padding: 0 12px; }
.admin-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 12px; }
.admin-form-section { grid-column: 1 / -1; border-top: 1px solid #edf0ed; padding-top: 12px; }
.admin-form-section:first-child { border-top: 0; padding-top: 0; }
.admin-form-section h3 { margin: 0; color: #43574a; font: 700 10px var(--display); }
.admin-field { display: grid; min-width: 0; align-content: start; gap: 6px; color: #6d7b71; font-size: calc(9px + var(--text-bump)); font-weight: 600; }
.admin-field input, .admin-field select, .admin-field textarea { width: 100%; min-width: 0; min-height: 38px; border: 1px solid #e5eae5; border-radius: 7px; background: #fff; padding: 8px 9px; color: #35483c; font-size: calc(10px + var(--text-bump)); font-weight: 400; }
.admin-field textarea { min-height: 58px; resize: vertical; }
.admin-field input[type="color"] { min-height: 38px; padding: 4px; }
.admin-field input[type="checkbox"] { width: 16px; min-height: 16px; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-field fieldset, fieldset.admin-field { min-width: 0; margin: 0; border: 1px solid #e8ece8; border-radius: 7px; padding: 10px; }
.admin-field legend { padding: 0 4px; color: #718077; font-size: calc(9px + var(--text-bump)); font-weight: 600; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-check { display: flex; align-items: flex-start; gap: 7px; color: #637168; font-size: calc(9px + var(--text-bump)); line-height: 1.45; }
.admin-check input { flex: 0 0 auto; margin: 0; accent-color: var(--green); }
.admin-form-actions { display: flex; grid-column: 1 / -1; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.admin-form-actions .complete-button { width: auto; min-width: 115px; min-height: 38px; margin: 0; padding: 0 13px; }
.report-filter-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.report-filter-row > [hidden] { display: none !important; }
.tip-report-metrics { margin-top: 4px; }
.tip-report-metrics .admin-stat-card { min-height: 105px; }
.tip-report-metrics .admin-stat-card strong { font-size: calc(20px + var(--text-bump)); }
.purchase-order-lines { display: grid; grid-column: 1 / -1; gap: 8px; }
.purchase-order-line { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(135px, 1.2fr) minmax(85px, .65fr) minmax(85px, .65fr) minmax(125px, .85fr) 100px; align-items: end; gap: 9px; border: 1px solid #edf0ed; border-radius: 8px; background: #fcfdfc; padding: 10px; }
.purchase-order-line .small-action { width: 100px; min-height: 38px; }
.purchase-conversion-fields > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.add-purchase-order-line { grid-column: 1 / -1; justify-self: start; }
.settings-hint { grid-column: 1 / -1; margin: 0; color: #9aa39c; font-size: calc(8px + var(--text-bump)); line-height: 1.55; }
.backup-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.backup-actions .back-button { min-height: 35px; }
.import-button { display: flex; align-items: center; cursor: pointer; }
.danger-button { min-height: 34px; border: 1px solid #eedbd6; border-radius: 7px; background: #fff9f7; padding: 0 10px; color: #a34e40; font-size: calc(9px + var(--text-bump)); cursor: pointer; }
.admin-dialog { width: min(100%, 720px); max-height: min(90vh, 900px); overflow-y: auto; padding: 25px; }
.admin-dialog h2 { padding-right: 30px; }
.admin-dialog .admin-form { margin-top: 17px; }
.admin-dialog .admin-form-section:not(:first-child) { margin-top: 4px; }
.recipe-editor, .modifier-edit-list { display: grid; grid-column: 1 / -1; gap: 7px; }
.recipe-row, .modifier-edit-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 32px; align-items: center; gap: 7px; }
.recipe-row select, .recipe-row input, .modifier-edit-row select, .modifier-edit-row input { width: 100%; min-width: 0; min-height: 36px; border: 1px solid #e5eae5; border-radius: 6px; background: white; padding: 7px; color: #4c5e52; font-size: calc(9px + var(--text-bump)); }
.recipe-row button, .modifier-edit-row button { min-height: 32px; border: 1px solid #eedfdb; border-radius: 6px; background: #fff9f7; color: #a75d4d; font-size: calc(15px + var(--text-bump)); cursor: pointer; }
.add-recipe-row, .add-option-row { min-height: 32px; grid-column: 1 / -1; justify-self: start; font-size: calc(9px + var(--text-bump)); }
.recipe-empty { grid-column: 1 / -1; margin: 0; color: #98a29b; font-size: calc(9px + var(--text-bump)); }
.admin-form > .back-button.add-recipe-row, .admin-form > .back-button.add-option-row { margin-top: -5px; }
.modifier-edit-row { grid-template-columns: minmax(90px, 1fr) 70px minmax(110px, 1fr) 70px minmax(115px, 1fr) 30px; }
.modifier-edit-row input[name="optionPrice"]::before { content: "Afl"; }
.modifier-pick-group { display: grid; gap: 8px; margin: 13px 0; border: 1px solid #e9eee9; border-radius: 9px; padding: 11px; }
.modifier-pick-group legend { padding: 0 5px; font-size: calc(10px + var(--text-bump)); font-weight: 700; }
.modifier-pick-hint { color: #909a93; font-size: calc(8px + var(--text-bump)); }
.modifier-choice { display: flex; min-height: 35px; align-items: center; gap: 8px; border-top: 1px solid #f0f2f0; padding-top: 7px; font-size: calc(9px + var(--text-bump)); }
.modifier-choice input { accent-color: var(--green); }
.modifier-choice span { flex: 1; }
.modifier-choice strong { color: #55745e; font-size: calc(9px + var(--text-bump)); }
.modifier-quantity { width: 68px; min-height: 30px; border: 1px solid #e5eae5; border-radius: 6px; padding: 5px; }
.modifier-text-input { width: 100%; min-height: 38px; border: 1px solid #e5eae5; border-radius: 7px; padding: 8px; font-size: calc(10px + var(--text-bump)); }
.cart-modifiers { grid-column: 1 / -1; color: #9a8056; font-size: calc(8px + var(--text-bump)); }
.tax-row { color: #828d85; }
.sales-table.hidden { display: none; }
@media (max-width: 600px) {
  .purchase-order-line { grid-template-columns: minmax(0, 1fr) minmax(100px, .7fr); }
  .purchase-order-line .admin-field:first-child { grid-column: 1 / -1; }
  .purchase-conversion-fields > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1400px) {
  .workspace { grid-template-columns: minmax(0, 1fr) 410px; }
  .catalog-pane { padding-right: 34px; padding-left: 36px; }
  .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .product-card { min-height: 155px; padding: 13px; }
  .product-visual { height: 78px; }
}
@media (max-width: 1050px) {
  .topbar { gap: 20px; padding-right: 20px; padding-left: 20px; }
  .brand { flex-basis: 170px; }
  .workspace { grid-template-columns: minmax(0, 1fr) 340px; }
  .catalog-pane { padding-right: 20px; padding-left: 20px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-card { min-height: 135px; }
}
@media (max-width: 820px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .topbar { height: 64px; gap: 13px; padding: 0 14px; }
  .brand { flex-basis: auto; gap: 7px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-copy strong { font-size: calc(16px + var(--text-bump)); }
  .brand-copy small { font-size: calc(7px + var(--text-bump)); }
  .store-context { gap: 7px; }
  .store-context select { max-width: 90px; padding: 0; font-size: calc(8px + var(--text-bump)); }
  .store-icon { width: 32px; height: 32px; }
  .store-context strong { max-width: 145px; overflow: hidden; font-size: calc(10px + var(--text-bump)); text-overflow: ellipsis; white-space: nowrap; }
  .store-context small { font-size: calc(8px + var(--text-bump)); }
  .open-status { display: none; }
  .header-actions { gap: 7px; }
  .connectivity { width: 9px; overflow: hidden; font-size: 0; }
  .connectivity i { width: 7px; height: 7px; }
  .icon-button, .user-button { width: 32px; height: 32px; }
  .workspace { display: block; min-height: auto; }
  .catalog-pane { padding: 20px 16px 17px; }
  .front-of-house-actions { margin-top: -3px; }
  .catalog-heading { align-items: flex-start; }
  h1 { font-size: 20px; }
  .quick-stats { gap: 6px; padding: 7px; }
  .quick-stats small { font-size: calc(8px + var(--text-bump)); }
  .quick-stats strong { font-size: calc(10px + var(--text-bump)); }
  .stat-icon { width: 27px; height: 27px; }
  .small-icon { display: none; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .product-card { min-height: 127px; padding: 8px; }
  .product-visual { height: 59px; font-size: calc(26px + var(--text-bump)); }
  .product-name { font-size: calc(10px + var(--text-bump)); }
  .product-description { font-size: calc(8px + var(--text-bump)); }
  .product-price { font-size: calc(10px + var(--text-bump)); }
  .order-pane { position: relative; top: auto; height: auto; min-height: 480px; max-height: none; border-top: 1px solid var(--line); border-left: 0; padding: 18px 16px max(18px, env(safe-area-inset-bottom)); }
  .cart-list { max-height: 330px; min-height: 130px; flex: 0 1 auto; }
  .order-bottom { margin-top: auto; }
  .sales-view { padding: 24px 16px; }
  .floor-plan-view { min-height: calc(100vh - 64px); padding: 22px 16px; }
  .floor-plan-heading { align-items: flex-start; flex-direction: column; }
  .floor-plan-heading > div:last-child { display: flex; flex-wrap: wrap; gap: 7px; }
  .topbar .manage-button { min-height: 30px; padding: 0 8px; font-size: calc(9px + var(--text-bump)); }
  .admin-view { display: block; min-height: calc(100vh - 64px); }
  .admin-sidebar { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 13px 14px 10px; }
  .admin-sidebar-heading h2 { display: none; }
  .admin-sidebar-heading .eyebrow { margin-bottom: 8px; }
  .admin-nav { display: flex; overflow-x: auto; gap: 5px; scrollbar-width: none; }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav-link { flex: 0 0 auto; min-height: 35px; gap: 7px; border: 1px solid #e9eee9; padding: 0 9px; font-size: calc(9px + var(--text-bump)); white-space: nowrap; }
  .admin-nav-link > span { width: auto; font-size: calc(13px + var(--text-bump)); }
  .settings-subnav-link { margin-left: 0; border-left: 1px solid #e9eee9; padding-left: 9px; }
  .admin-back { display: none; }
  .admin-content { padding: 21px 16px 30px; }
  .pos-device-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .topbar { gap: 8px; padding: 0 10px; }
  .brand-copy small { letter-spacing: 1px; }
  .store-context { margin-left: auto; }
  .store-icon { display: none; }
  .store-context strong { max-width: 110px; }
  .store-context select { max-width: 72px; font-size: calc(7px + var(--text-bump)); }
  .header-actions { margin-left: 0; }
  .catalog-pane { padding-right: 12px; padding-left: 12px; }
  .catalog-heading { gap: 8px; }
  .catalog-heading .subtitle { max-width: 190px; font-size: calc(10px + var(--text-bump)); }
  .quick-stats { max-width: 135px; }
  .quick-stats .stat-icon { display: none; }
  .currency-option { min-width: 42px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card { min-height: 139px; padding: 10px; }
  .product-visual { height: 68px; }
  .check-details { grid-template-columns: 70px 78px minmax(0, 1fr); gap: 5px; }
  .check-details label { font-size: calc(8px + var(--text-bump)); }
  .check-details input, .check-details select { padding: 0 5px; font-size: calc(9px + var(--text-bump)); }
  .sales-view-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .sales-summary { grid-template-columns: 1fr; gap: 8px; }
  .sales-summary article { gap: 5px; padding: 12px; }
  .sales-summary strong { font-size: calc(17px + var(--text-bump)); }
  .dialog { padding: 22px 18px; }
  .admin-content { padding: 19px 11px 24px; }
  .admin-page-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .admin-page-heading h1 { font-size: 21px; }
  .admin-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .inventory-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-stat-card { min-height: 100px; padding: 10px; }
  .admin-stat-card strong { font-size: calc(21px + var(--text-bump)); }
  .admin-panel { padding: 12px; }
  .admin-panel-heading { align-items: flex-start; }
  .admin-panel-heading h2 { font-size: 12px; }
  .admin-primary-button { min-height: 32px; padding: 0 8px; font-size: calc(8px + var(--text-bump)); }
  .admin-record { flex-wrap: wrap; gap: 8px; }
  .admin-record .record-main { flex-basis: calc(100% - 54px); }
  .admin-record > .record-status { margin-left: 44px; }
  .admin-record > .row-actions { margin-left: auto; }
  .role-grid, .category-admin-grid, .settings-grid { grid-template-columns: 1fr; }
  .admin-form { grid-template-columns: 1fr; }
  .report-filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pos-device-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .admin-form-section, .admin-field-wide, .admin-form-actions, .settings-hint, .recipe-editor { grid-column: 1; }
  .check-grid { grid-template-columns: 1fr; }
  .modifier-edit-row { grid-template-columns: minmax(0, 1fr) 65px 28px; }
  .modifier-edit-row select, .modifier-edit-row input[name="optionQuantity"] { grid-column: span 1; }
  .admin-table th, .admin-table td { padding-right: 7px; padding-left: 7px; }
}
@media (max-height: 720px) and (min-width: 761px) {
  .catalog-pane { padding-top: 17px; }
  .catalog-heading { margin-bottom: 14px; }
  .product-grid { gap: 9px; }
  .product-card { min-height: 127px; }
  .product-visual { height: 59px; }
}
@media print {
  body { background: white; }
  .app-shell > :not(#receipt-modal) { display: none !important; }
  #receipt-modal { position: static; display: block !important; overflow: visible; background: white; padding: 0; }
  .receipt-dialog { width: 100%; max-width: 360px; margin: 0 auto; border: 0; box-shadow: none; }
  .receipt-promotion img { width: 100px; height: 100px; }
  .no-print { display: none !important; }
}

.admin-tabs { display: flex; gap: 4px; margin: 4px 0 16px; border-bottom: 1px solid #dce6dd; }
.admin-tab { min-height: 40px; border: 0; border-bottom: 3px solid transparent; background: none; padding: 0 18px; color: #657368; font: inherit; font-size: calc(13px + var(--text-bump)); font-weight: 700; cursor: pointer; }
.admin-tab.active { border-bottom-color: #326b4e; color: #243b30; }
.admin-tab:focus-visible { outline: 3px solid #326b4e; outline-offset: -3px; }
.admin-form-actions .danger-button { margin-right: auto; }
.inventory-tabs-panel .admin-tab small { margin-left: 4px; border-radius: 10px; background: #edf1ec; padding: 2px 6px; color: #657368; font-size: calc(9px + var(--text-bump)); }
