@import url("/command-menu.css");
button,input,select,textarea{font: inherit}
button{min-height: 56px;border: 1px solid var(--border);border-radius: 10px;padding: 12px 16px;cursor: pointer;background: #fff;color: var(--ink);font-weight: 600;touch-action: manipulation}
button:hover{background: #f0f7fd;border-color: #a8c7df}
button:active:not(:disabled){background: #e2effa}
button:disabled{cursor: default;opacity: .4}
button:focus-visible,input:focus-visible,select:focus-visible{outline: 3px solid #547dbc;outline-offset: 2px}
textarea:focus-visible{outline: 3px solid #547dbc;outline-offset: 2px}
.icon-button{width: 48px;min-height: 48px;padding: 12px;display: inline-flex;align-items: center;justify-content: center;flex-shrink: 0}
.quiet{background: transparent}
.primary{background: var(--accent);color: #fff;border-color: var(--accent)}
.primary:hover{background: #084d89;color: #fff;border-color: #084d89}
.primary:active:not(:disabled){background: #073d70}
:root { font-family: "Segoe UI", system-ui, sans-serif; color: #153d5b; background: #f3f6fa; font-synthesis: none; --accent: #0b5da5; --ink: #153d5b; --muted: #60788b; --border: #dce5ed; }
@font-face { font-family: "Cabinet Grotesk"; src: url("/cabinet-grotesk-bold.woff") format("woff"); font-style: normal; font-weight: 700; font-display: swap; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100dvh; display: flex; flex-direction: column; }
.open-price { border: 0; padding: 0; margin: 0 0 24px; }
.open-price legend { font-weight: 650; margin-bottom: 10px; }
.open-price input { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.price-keypad { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 10px; max-width: 360px; }
.price-keypad button { font-size: 1.15rem; }
.open-price p { font-size: .9rem; color: var(--muted); }
.kitchen-note-field { margin: 0 0 24px; }
.kitchen-note-field:last-child { margin-bottom: 0; }
.kitchen-note-field summary { min-height: 56px; padding: 16px; border-radius: 10px; background: #f3f6fa; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.kitchen-note-field summary:focus-visible { outline: 3px solid #547dbc; outline-offset: 2px; }
.saved-kitchen-note, .line small { white-space: pre-wrap; }
label { display: block; font-size: .9rem; font-weight: 600; margin: 16px 0 6px; }
label input, label select { margin-top: 7px; }
h2 { font-size: 1.1rem; margin: 0; font-weight: 650; }
.topbar { flex-shrink: 0; min-height: 76px; background: #fff; border-bottom: 1px solid #dce8ef; padding: 8px 24px; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
/* The original logo has transparent margins; frame it without changing the source image. */
.brand-logo { position: relative; display: block; width: 116px; height: 44px; overflow: hidden; flex-shrink: 0; }
.brand-logo img { position: absolute; display: block; width: 136px; height: auto; max-width: none; left: -10px; top: -12px; }
.brand-context { border-left: 1px solid #c8dde8; padding-left: 16px; color: #53788f; text-transform: uppercase; letter-spacing: 1.25px; font-size: .72rem; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-context:empty { display: none; }
#revenue-center { justify-self: center; margin: 0; color: #123d58; font-family: "Cabinet Grotesk", "Segoe UI", sans-serif; font-size: 2rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; max-width: 34vw; text-align: center; overflow-wrap: anywhere; }
#revenue-center:empty { display: none; }
#change-revenue-center { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 6px 8px; color: inherit; background: none; border: 0; border-radius: 8px; font: inherit; letter-spacing: inherit; line-height: inherit; text-align: center; }
#change-revenue-center:not(:disabled):hover { background: #eef5f8; }
.revenue-center-options { display: grid; gap: 8px; padding: 16px 24px 24px; max-height: 60dvh; overflow-y: auto; }
.revenue-center-options button { display: flex; justify-content: space-between; min-height: 52px; text-align: left; padding: 12px 16px; }
.revenue-center-options [aria-current] { opacity: 1; background: #eef5f8; color: #123d58; border-color: #9cb8c7; }
.header-staff { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; min-width: 0; }
#staff { display: flex; align-items: center; gap: 12px; font-size: .85rem; min-width: 0; }
.employee-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#logout { border-color: transparent; color: #53788f; }
#connection { font-size: .8rem; color: #986e18; }
#notice:empty { display: none; }
#notice { flex-shrink: 0; padding: 12px 20px; background: #fff1d3; color: #694b06; border-bottom: 1px solid #e2cf9e; }
#notice.error { color: #853222; background: #fce9e4; border-color: #e4bdb3; }
#app { padding: 16px; flex: 1; min-height: 0; }
body:has(.workspace, .employee-screen, .module-shell) { display: grid; grid-template-rows: auto auto minmax(0,1fr); height: 100dvh; overflow: hidden; }
body:has(.workspace, .employee-screen, .module-shell) .topbar { grid-row: 1; }
body:has(.workspace, .employee-screen, .module-shell) #notice { grid-row: 2; }
body:has(.workspace, .employee-screen, .module-shell) #app { grid-row: 3; }
.workspace { display: grid; grid-template-columns: 168px minmax(0,1fr) 352px; gap: 16px; height: 100%; min-height: 0; align-items: stretch; }
.workspace.without-check { grid-template-columns: 168px minmax(0,1fr); }
.workspace>.panel { min-width: 0; min-height: 0; }
.check { grid-column: 3; display: flex; flex-direction: column; box-shadow: 0 4px 16px rgb(21 61 91 / .04); }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.panel-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid #e7edf3; }
.panel-header small { display: block; margin-top: 4px; color: #667281; font-size: .8rem; }
.panel-content { padding: 16px; }
.panel-content>.primary { width: 100%; margin-top: 14px; }
.check .panel-header { padding: 14px 20px; }
.check-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; border-bottom: 1px solid #edf1f5; flex-shrink: 0; }
.check-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 16px; flex-shrink: 0; }
.check-heading>div { min-width: 0; flex: 1; }
.check-title { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 48px; padding: 0; border: 0; border-radius: 6px; font: inherit; text-align: left; }
.check-title-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check-number { color: var(--muted); font-weight: 500; flex-shrink: 0; }
.check-heading h2 { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.check #open-checks { min-height: 48px; padding: 10px 8px; border-color: transparent; font-size: .85rem; color: var(--accent); }
.check #cancel-check { border-color: transparent; color: #b42318; }
.check #cancel-check:hover:not(:disabled) { background: #fff0ee; }
.check #cancel-check:active:not(:disabled) { background: #ffe4df; }
.check-lines { margin: 0; padding: 6px 0; list-style: none; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.empty { padding: 40px 16px; color: #788491; font-size: .9rem; }
.line { border-bottom: 1px solid #edf1f5; font-size: .9rem; }
.check-line { position: relative; width: 100%; min-height: 64px; text-align: left; border: 0; border-radius: 0; padding: 12px 30px 12px 12px; font-weight: 400; }
.check-line>div { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: start; gap: 10px; }
.check-line strong { line-height: 1.4; overflow-wrap: anywhere; font-weight: 600; }
.line-quantity { display: flex; justify-content: center; align-items: center; min-height: 32px; border-radius: 7px; background: #f0f5f9; color: #46647a; font-size: .8rem; white-space: nowrap; }
.line-amount { padding-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.line-chevron { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: #91a5b5; }
.line-entry .check-line { min-height: 56px; padding-bottom: 6px; }
.line-entry .check-line>div { grid-template-columns: minmax(0,1fr) auto; }
.line-entry .check-line .line-quantity { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip-path: inset(50%); }
.line-entry .check-line>small { margin-left: 0; }
.line-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px 8px; }
.line-stepper { display: flex; align-items: center; gap: 2px; border-radius: 9px; background: #f0f5f9; }
.line-stepper button { width: 48px; min-height: 48px; padding: 8px; border-color: transparent; background: transparent; font-size: 1.2rem; }
.line-stepper button:hover { background: #e2ebf4; }
.line-quantity-value { min-width: 32px; text-align: center; font-weight: 650; font-variant-numeric: tabular-nums; }
.line-controls .line-trash { width: 48px; min-height: 48px; padding: 10px; color: #a63d32; }
.line-controls .line-trash:hover { background: #fff0ee; }
.line-discount-label { grid-column:1 / -1; margin:0!important; color:#236dae!important; text-align:right; }
.check-discount { display:flex; justify-content:space-between; align-items:center; width:100%; min-height:48px; margin:4px 0; padding:8px 0; color:#236dae; border:0; font-size:.9rem; }
.check-discount .loyalty-name{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.discount-modified { display:inline-block; margin-left:8px; font-size:.7rem; color:#935510; }
.item-footer.discount-footer { grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); }
.receipt-button { flex-shrink:0; min-height:48px; margin:8px 16px; }
.receipt-body { padding:24px; overflow:auto; color:#182a3b; }
.receipt-body>img { display:block; width:100px; margin:0 auto; }
.receipt-body>h3, .receipt-body>p { text-align:center; margin:8px 0; }
.receipt-lines { margin-top:24px; border-block:1px solid #dce4ec; padding:12px 0; }
.receipt-lines>div, .receipt-body dl>div { display:flex; justify-content:space-between; gap:20px; margin:10px 0; }
.receipt-lines small { display:block; }
.receipt-body dd { margin:0; white-space:nowrap; }
.receipt-discount { color:#236dae; }
.receipt-total { font-weight:700; border-top:1px solid #dce4ec; padding-top:12px; }
#print-receipt { margin:16px 24px; min-height:56px; }
@media print { body, #app, .workspace { height:auto!important; overflow:visible!important; display:block!important; padding:0!important; background:white!important; } .topbar, #notice, .categories, .check, .receipt-editor>.panel-header, #print-receipt { display:none!important; } .receipt-editor { display:block!important; height:auto!important; border:0!important; box-shadow:none!important; } .receipt-body { overflow:visible!important; padding:0!important; max-width:80mm; margin:auto; } }
.line small { display: block; margin: 4px 0 0 48px; color: var(--muted); line-height: 1.4; font-size: .8rem; }
.line-added { border-left: 4px solid #329367; }
.line-modified { border-left: 4px solid #c28b2c; }
.line-removed { border-left: 4px solid #b2bbc4; }
.line-voided { border-left: 4px solid #be6256; }
.line-voided .line-change { color: #a63d32; }
.line .line-change { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .75rem; }
.line-added .line-change>span:first-child { color: #21704e; }
.line-modified .line-change>span:first-child { color: #895d14; }
.line-change>span:first-child { font-weight: 650; }
.removed-line>div, .removed-line>small { opacity: .55; }
.removed-line>div { text-decoration: line-through; }
.removed-line>button { min-height: 48px; margin: 10px 0 0 48px; padding: 8px 20px; }
.change-description { overflow-wrap: anywhere; }
.item-form .panel-header h2 { flex: 1; min-width: 0; }
.item-form .panel-header button { flex-shrink: 0; }
.totals { flex-shrink: 0; padding: 14px 16px 4px; border-top: 1px solid #e7edf3; font-size: .8rem; color: var(--muted); }
.total-breakdown { gap: 12px; font-size: .75rem; }
.total-breakdown span { display: flex; align-items: center; gap: 6px; }
.total-breakdown b { font-weight: 500; }
.totals div, .payment-summary div { display: flex; justify-content: space-between; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.totals .total { color: var(--ink); font-size: 1.35rem; margin: 10px 0 4px; }
.payment-summary { flex-shrink: 0; padding: 12px 20px; background: #eef6fc; font-size: .85rem; }
.payment-summary .change { font-size: 1.25rem; margin: 12px 0 0; }
.actions { flex-shrink: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 12px 16px 16px; }
.actions #save-check { min-height: 64px; border-color: #9ebbd1; color: var(--accent); }
.tender-button { width: 100%; min-height: 72px; margin-top: 20px; text-align: left; padding: 20px; }
.check-directory .history>button { min-height: 84px; }
.check-directory .history strong { display: flex; justify-content: space-between; gap: 16px; }
.actions #pay-card, .actions #pay, .actions #refund { min-height: 64px; font-size: 1rem; }
.actions #refund { grid-column: 1 / -1; }
.categories { display: flex; flex-direction: column; gap: 4px; padding: 8px; overflow-y: auto; overscroll-behavior: contain; background: #edf2f7; border-color: transparent; scrollbar-width: thin; scrollbar-color: #bdccd8 transparent; }
.categories button { flex-shrink: 0; min-height: 56px; width: 100%; padding: 10px 14px; text-align: left; overflow-wrap: anywhere; border-color: transparent; background: transparent; color: #46647a; font-size: .9rem; }
.categories button:hover { background: #e2ebf4; }
.categories .active { background: var(--accent); color: #fff; border-color: var(--accent); }
.categories .active:hover { background: #084d89; }
.menu, .editor { display: flex; flex-direction: column; }
.menu { border: 0; border-radius: 0; background: transparent; }
.editor>.panel-content, .editor>.history, .editor>.audit { min-height: 0; overflow-y: auto; }
.items { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); grid-auto-rows: max-content; gap: 10px; padding: 4px 4px 12px; flex: 1; min-height: 0; align-content: start; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #bdccd8 transparent; }
.item { min-height: 104px; text-align: left; padding: 16px; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; border-radius: 10px; border-color: #dce5ed; }
.item strong { font-size: 1rem; line-height: 1.35; font-weight: 650; overflow-wrap: anywhere; }
.item span { color: #60788b; font-size: .85rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.item strong, .item span { flex-shrink: 0; }
.menu-header { flex-shrink: 0; padding: 2px 4px 14px; display: flex; align-items: center; gap: 16px; }
.menu-header h2 { flex: 1; min-width: 0; font-size: 1.2rem; font-weight: 650; overflow-wrap: anywhere; }
.menu-controls { display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 100%; }
.menu-controls>button { flex-shrink: 0; white-space: nowrap; }
.menu-search { position: relative; width: 260px; max-width: 100%; min-width: 0; flex-shrink: 1; }
.menu-search svg { position: absolute; left: 16px; top: 18px; color: #8096a8; pointer-events: none; }
.menu-search input { width: 100%; padding: 12px 14px 12px 46px; border-color: #dce5ed; background: #fff; font-size: .9rem; }
.menu-search:has(#clear-search) input { padding-right: 54px; }
.menu-search input::-webkit-search-cancel-button { appearance: none; }
.menu-search #clear-search { position: absolute; right: 4px; top: 4px; width: 48px; min-height: 48px; padding: 12px; }
.menu-search #clear-search svg { position: static; display: block; color: inherit; }
.menu-pages { flex-shrink: 0; padding: 10px 4px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.menu-pages span { color: #697583; font-variant-numeric: tabular-nums; }
.group { margin: 0 0 18px; padding: 0; border: 0; }
.group legend { font-size: .95rem; font-weight: 650; margin-bottom: 4px; }
.group>small { display: block; color: #697583; margin-bottom: 10px; font-size: .8rem; }
.choice { width: 100%; min-height: 72px; padding: 18px; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 12px; }
.choice small { font-weight: 400; color: #697583; }
.choice.selected { border-color: var(--accent); color: var(--accent); background: #eaf4fc; box-shadow: inset 0 0 0 1px var(--accent); }
.amount { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 22px; }
.amount strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.cashbuttons { display: flex; gap: 8px; margin: 12px 0; }
.cashbuttons button { flex: 1; padding: 12px 8px; }
.cash-editor .panel-content { max-width: 520px; width: 100%; margin: 0 auto; }
.cash-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.cash-heading strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.cash-editor .amount { margin: 0 0 8px; }
.cash-editor label { margin: 0 0 6px; }
.cash-editor .cash-entry { display: flex; align-items: center; gap: 10px; }
.cash-entry>span { font-size: 1.5rem; color: var(--muted); }
.cash-entry input { min-width: 0; flex: 1; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.cash-editor .cashbuttons { flex-wrap: wrap; }
.cashbuttons button { min-width: 72px; min-height: 52px; }
.cash-editor .cash-keypad { max-width: none; margin: 10px 0; }
.cash-keypad button { min-height: 56px; }
.cash-editor .cash-change { margin: 10px 0; }
.cash-editor .panel-content>#cash-complete { margin-top: 4px; }
.cash-editor #cash-complete { width: 100%; min-height: 58px; }
.history { padding: 12px; display: grid; gap: 8px; }
.history button { text-align: left; }
.history small { display: block; margin-top: 8px; color: #697583; }
.audit { max-height: 65vh; overflow-y: auto; padding: 16px; overflow-wrap: anywhere; }
.audit article { padding: 12px 0; border-bottom: 1px solid #dfe5eb; }
.audit small { display: block; margin-top: 5px; color: #697583; }
.pending { flex-shrink: 0; padding: 16px; background: #fff1d3; display: grid; gap: 12px; font-size: .9rem; }
.tools dl { margin: 0 0 16px; }
.tools dl>div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #dfe5eb; }
.tools dd { margin: 0; font-weight: 600; }
.tools button { width: 100%; margin-bottom: 8px; text-align: left; }
.login { max-width: 380px; margin: 48px auto; padding: 28px; }
.login h2 { margin-bottom: 24px; }
.login .primary { width: 100%; margin-top: 24px; }
.login input { min-height: 56px; }
.login input[name="activationCode"] { text-transform: uppercase; letter-spacing: .08em; }
.auth-screen { width: 100%; max-width: 1040px; margin: 36px auto; }
body:has(.employee-screen) { background: #f7fbfd; }
.employee-screen { display: flex; flex-direction: column; max-width: 1060px; height: calc(100% - 32px); max-height: 900px; min-height: 0; margin: 16px auto; padding: 24px; border: 1px solid #d7e7ef; border-radius: 12px; background: #fff; color: #153d5b; }
.auth-header { margin-bottom: 16px; padding: 0 4px; }
.auth-header h2 { font-size: 1.2rem; font-weight: 650; }
.pos-identity { margin: 8px 0 0; color: #687585; font-size: .9rem; line-height: 1.5; }
.employee-screen .pos-identity { color: #607c90; }
.employee-scope { display:flex; align-self:center; max-width:100%; flex-shrink:0; margin:0 0 16px; padding:4px; gap:3px; background:#f0ebf2; border:1px solid #e8e0eb; border-radius:13px; }
.employee-scope button { flex:1; min-width:90px; min-height:40px; padding:8px 18px; border:0; border-radius:9px; background:transparent; color:#807982; white-space:normal; overflow-wrap:anywhere; }
.employee-scope button[aria-pressed=true] { background:white; color:#705179; box-shadow:0 2px 6px #302b3414; font-weight:750; }
.employee-search { position: relative; width: 100%; flex-shrink: 0; margin-bottom: 16px; }
.employee-search>svg { position: absolute; left: 20px; top: 21px; color: #607c90; pointer-events: none; }
.employee-search input { min-width: 0; min-height: 64px; padding: 16px 64px 16px 56px; border: 1px solid #d7e7ef; border-radius: 8px; background: #fff; color: #153d5b; }
.employee-search input::placeholder { color: #607c90; }
.employee-search input:focus-visible { border-color: #0b5da5; outline-color: #70c9eb; }
.employee-search input::-webkit-search-cancel-button { display: none; }
.employee-search button { position: absolute; right: 4px; top: 4px; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #607c90; font-size: 1.6rem; }
.employee-search button:hover { background: #eaf7fd; }
.employee-grid { display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; padding: 4px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #b7ccd9 transparent; scrollbar-width: thin; }
.employee-card { display: flex; flex-shrink: 0; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 14px; border: 1px solid #d7e7ef; border-radius: 8px; background: rgb(11 93 165 / .02); color: #153d5b; text-align: left; }
.employee-name { flex: 1; min-width: 0; font-size: .9rem; line-height: 1.35; font-weight: 600; text-transform: uppercase; overflow-wrap: anywhere; }
.employee-chevron { flex-shrink: 0; color: #0b5da5; }
.employee-card:hover { background: rgb(11 93 165 / .06); border-color: #0b5da5; }
.employee-card:active { background: rgb(11 93 165 / .12); border-color: #0b5da5; }
.employee-card:focus-visible { outline-color: #70c9eb; border-color: #0b5da5; }
.employee-avatar { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: #e9eff7; color: #234e90; font-size: 1rem; font-weight: 650; text-transform: uppercase; }
.employee-card .employee-avatar { width: 36px; height: 36px; border-radius: 6px; background: #eaf7fd; color: #0b5da5; font-size: .85rem; }
.employee-empty { padding: 40px 0; margin: 0; text-align: center; color: #607c90; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.pin-screen { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,320px); align-items: center; gap: 32px; max-width: 760px; padding: 24px; border-radius: 12px; }
.pin-screen:focus { outline: none; }
.pin-person { align-self: stretch; display: flex; flex-direction: column; }
.employee-back { display: flex; gap: 10px; align-items: center; padding: 8px 12px; margin-left: -12px; border-color: transparent; color: #687585; }
.employee-back span { font-size: 1.8rem; }
.pin-identity { text-align: center; margin: auto 0; padding: 24px 0 56px; }
.pin-identity .employee-avatar { margin: 0 auto 16px; width: 64px; height: 64px; font-size: 1.3rem; }
.pin-identity h2 { font-size: 1.35rem; overflow-wrap: anywhere; }
#pin-display { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin-bottom: 24px; }
.pin-digit { display: flex; align-items: center; justify-content: center; height: 64px; border: 2px solid #d7e7ef; border-radius: 10px; background: #f7fbfd; color: #153d5b; font-size: 1.4rem; }
.pin-digit.filled { border-color: #a9c8de; background: #eaf7fd; }
.pin-digit.current { border-color: #0b5da5; background: #fff; }
.pin-rejected .pin-digit { border-color: #d13645; }
.pin-keypad { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.pin-keypad button { display: flex; justify-content: center; align-items: center; min-height: 72px; padding: 12px; border-radius: 8px; font-size: 1.6rem; }
.pin-keypad #pin-clear { font-size: 1rem; color: #687585; }
@media(max-width:700px) {
  .auth-screen { margin: 16px auto; }
  .employee-screen { padding: 20px 16px 16px; }
  .auth-header { margin-bottom: 16px; }
  .employee-card { padding: 10px 12px; }
  .pin-screen { padding: 20px; gap: 20px; }
}
@media(max-width:600px) {
  .pin-screen { max-width: 420px; grid-template-columns: minmax(0,1fr); gap: 0; padding: 12px 20px 20px; }
  .pin-person { display: block; }
  .pin-identity { margin: 12px 0 20px; padding: 0; }
  .pin-identity .employee-avatar { width: 48px; height: 48px; margin-bottom: 12px; font-size: 1rem; }
}
/* Let short landscape screens scroll instead of collapsing the employee list. */
@media(max-height:600px) {
  body:has(.employee-screen) #app { overflow-y: auto; padding: 8px; }
  .employee-screen { height: auto; min-height: 100%; max-height: none; margin: 0 auto; padding: 12px; }
  .employee-screen .employee-scope, .employee-screen .auth-header, .employee-screen .employee-search { margin-bottom: 8px; }
  .employee-screen .employee-search input { min-height: 48px; padding: 12px 52px 12px 48px; }
  .employee-screen .employee-search>svg { left: 16px; top: 15px; }
  .employee-screen .employee-search button { top: 0; right: 0; width: 48px; height: 48px; min-height: 48px; }
  .employee-screen .employee-grid { flex: none; min-height: 68px; overflow: visible; }
}
body:has(#item-dialog[open]) { overflow: hidden; }
#item-dialog { width: min(760px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 24px 80px rgb(15 35 53 / .24); overflow: hidden; }
#item-dialog::backdrop { background: rgb(15 35 53 / .45); }
#item-dialog.price-dialog { width: min(520px,calc(100% - 32px)); }
#item-dialog.void-dialog { width: min(520px,calc(100% - 32px)); }
#item-dialog.check-dialog { width: min(520px,calc(100% - 32px)); }
.void-item-summary { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-bottom: 24px; }
.void-item-summary strong { min-width: 0; overflow-wrap: anywhere; }
.void-item-summary>span { flex-shrink: 0; font-variant-numeric: tabular-nums; }
#void-reason { min-height: 64px; }
.item-footer.void-footer { grid-template-columns: minmax(0,1fr); }
.danger { background: #a63d32; border-color: #a63d32; color: #fff; }
.danger:hover { background: #8e3228; border-color: #8e3228; }
.item-form { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); }
.item-form .panel-header { flex-shrink: 0; }
.item-form #item-close { border-color: transparent; background: #f3f6fa; }
.item-form h2 { font-size: 1.25rem; }
.item-body { padding: 24px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
#item-error:empty { display: none; }
#item-error { padding: 14px; margin-bottom: 20px; color: #853222; background: #fce9e4; border: 1px solid #e4bdb3; border-radius: 4px; }
.quantity-stepper { display: grid; grid-template-columns: 64px minmax(64px,88px) 64px; gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.quantity-stepper button { min-height: 64px; padding: 0; border: 0; border-radius: 0; background: #f3f6fa; font-size: 1.6rem; font-weight: 400; }
.quantity-stepper input { min-height: 64px; padding: 8px; border: 0; border-radius: 0; text-align: center; font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.quantity-stepper :focus-visible { outline-offset: -3px; }
.item-body .group { margin-bottom: 24px; }
.item-body .group:last-child { margin-bottom: 0; }
.item-body legend { margin-bottom: 12px; font-size: 1rem; }
.item-body legend small { margin-left: 8px; color: #697583; font-size: .85rem; font-weight: 400; }
.choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.choice small { white-space: nowrap; }
.item-footer { flex-shrink: 0; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px; padding: 20px 24px; border-top: 1px solid #e7edf3; background: #f8fafc; }
.item-footer button { min-height: 64px; }
.item-footer .primary { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#item-dialog .item-customization{max-height:min(880px,calc(100dvh - 32px))}
.item-customization .item-info{flex-shrink:0;margin:0;padding:16px 24px 20px;gap:22px}
.item-customization .item-detail-photo{width:104px;height:104px;object-fit:cover;border-radius:12px}
.item-overview-copy{display:flex;flex-direction:column;gap:9px;min-width:0}
.item-overview-copy>strong{font-size:1.55rem;letter-spacing:-.03em}
.item-overview-copy p{font-size:.9rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.item-overview-copy p:empty{display:none}
.item-customization .item-body{flex:1;padding:4px 24px 20px;scrollbar-gutter:stable}
.item-customization .panel-header #item-close{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border-radius:50%}
.item-customization .panel-header #item-close svg{width:20px;height:20px}
.item-customization .panel-header h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.item-customization .item-footer{padding:17px 24px}
.item-customization .item-footer button,.item-customization .quantity-stepper input{min-height:54px}
.item-customization .quantity-stepper{grid-template-columns:50px 60px 50px}
.item-customization .omni-modifier-option{padding:10px 0}
.item-customization .omni-modifier-heading{padding-bottom:9px}
.item-customization .omni-modifier-heading h2{font-size:1rem}
.item-customization .omni-modifier-copy strong{font-size:.98rem}
.item-customization .omni-modifier-copy small{font-size:.8rem}
#item-dialog[data-nested=true] .item-customization .panel-header{display:flex}
.item-customization .modifier-child-heading h2{display:none}
#item-dialog[data-nested=true] .item-customization .item-footer{grid-template-columns:1fr}
#item-dialog[data-nested=true] .item-customization .item-footer .primary{justify-content:center}
@media(max-width:600px){.item-customization .item-info{padding:12px 16px 15px;gap:15px}.item-customization .item-detail-photo{width:82px;height:82px}.item-overview-copy>strong{font-size:1.3rem}.item-overview-copy p{font-size:.8rem}.item-customization .modifier-navigation{padding:0 12px;gap:2px}.item-customization .modifier-navigation button{font-size:.9rem;padding:12px 10px;min-height:51px}.item-customization .item-body{padding:2px 16px 14px}.item-customization .item-footer{padding:13px 16px;gap:10px}.item-customization .quantity-stepper{grid-template-columns:38px 40px 38px}.item-customization .item-footer button,.item-customization .quantity-stepper input{min-height:50px}}
@media(max-height:600px) and (min-width:601px){#item-dialog .item-customization{max-height:calc(100dvh - 16px)}.item-customization .panel-header{min-height:52px;padding-top:7px;padding-bottom:7px}.item-customization .item-info{padding:8px 24px;gap:18px}.item-customization .item-detail-photo{width:64px;height:64px}.item-overview-copy>strong{font-size:1.25rem}.item-overview-copy p{font-size:.8rem}.item-customization .modifier-navigation button{padding-top:9px;padding-bottom:9px;min-height:44px}.item-customization .item-footer{padding-top:10px;padding-bottom:10px}}
#item-amount { white-space: nowrap; font-variant-numeric: tabular-nums; }
.saved-details { display: grid; gap: 20px; }
.saved-details>div { display: flex; justify-content: space-between; gap: 16px; }
@media(max-width:1100px) {
  #revenue-center { font-size: 1.625rem; }
  .workspace { grid-template-columns: 128px minmax(0,1fr) 300px; gap: 12px; }
  .workspace.without-check { grid-template-columns: 128px minmax(0,1fr); }
  .categories button { padding: 10px; }
  .items { grid-template-columns: repeat(auto-fill,minmax(120px,1fr)); }
  .item { padding: 14px; }
  .menu-header { flex-direction: column; align-items: stretch; gap: 10px; }
  .menu-search { width: 100%; }
  .check .panel-header, .totals { padding-left: 16px; padding-right: 16px; }
  .actions { padding-left: 16px; padding-right: 16px; }
}
@media(max-width:700px) {
  body:has(.workspace) { height: auto; min-height: 100dvh; overflow: auto; }
  body:has(.workspace.without-check) { height: 100dvh; overflow: hidden; }
  .topbar { padding: 8px 12px; gap: 6px 12px; grid-template-columns: minmax(0,1fr) auto; }
  .brand { gap: 8px; }
  .brand-context { padding-left: 8px; letter-spacing: .7px; font-size: .65rem; }
  .brand-logo { width: 100px; height: 40px; }
  .brand-logo img { width: 116px; left: -8px; top: -9px; }
  #revenue-center { grid-column: 1 / -1; grid-row: 2; max-width: 100%; font-size: 1.5rem; }
  .header-staff { grid-column: 2; grid-row: 1; gap: 4px; }
  .header-staff #connection { display: none; }
  #staff { gap: 6px; }
  #staff>span { max-width: 92px; font-size: .75rem; }
  #app { padding: 8px; }
  .workspace, .workspace.without-check { grid-template-columns: 104px minmax(0,1fr); gap: 8px; height: auto; align-items: start; }
  .workspace.without-check { height: 100%; align-items: stretch; }
  .workspace.without-check .categories, .workspace.without-check .menu { max-height: none; }
  .menu-controls { flex-direction: column; align-items: stretch; }
  .check { grid-column: 1 / -1; grid-row: 2; position: static; }
  .categories { grid-column: 1; padding: 6px; font-size: .85rem; position: sticky; top: 8px; max-height: 65dvh; }
  .categories button { font-size: .85rem; }
  .menu { max-height: 65dvh; }
  .items { grid-template-columns: minmax(0,1fr); }
  .check-lines { min-height: 96px; max-height: 25vh; }
  .check .panel-header { padding: 10px 12px; }
  .login { margin: 24px auto; }
  #item-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  #item-dialog.price-dialog { width: calc(100% - 16px); }
  #item-dialog.void-dialog { width: calc(100% - 16px); }
  .item-form { max-height: calc(100dvh - 16px); }
  .item-body { padding: 16px; }
  .item-footer { padding: 12px 16px; gap: 8px; }
  .choices { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .quantity-stepper { grid-template-columns: 60px 64px 60px; }
  .item-footer .primary { padding: 12px; }
}
@media(max-width:420px) {
  .item-footer { padding: 12px; }
  .item-footer .quantity-stepper { grid-template-columns: 48px 48px 48px; }
  .item-footer .primary { padding: 8px; flex-wrap: wrap; justify-content: center; column-gap: 10px; row-gap: 3px; font-size: .9rem; }
}
/* Keep the complete check reachable when controls exceed a short landscape screen. */
@media(min-width:701px) and (max-height:600px) {
  .workspace>.check { overflow-y: auto; overscroll-behavior: contain; }
  .check .check-lines { flex: none; overflow: visible; }
}

/* Module launcher: labels and generous app icons, centered in the usable viewport. */
button.brand-logo { padding:0; min-height:0; border:0; border-radius:8px; background:transparent; }
button.brand-logo:hover, button.brand-logo:active { background:transparent; }
button.brand-logo:disabled { opacity:1; cursor:default; }
.module-shell { height:100%; min-height:0; }
.module-launcher { display:grid; place-items:center; overflow:auto; }
.module-grid { display:grid; grid-template-columns:repeat(3,224px); max-width:100%; gap:36px 72px; padding:24px; }
.module-app { display:flex; flex-direction:column; align-items:center; gap:20px; padding:20px 24px; border:0; border-radius:28px; background:transparent; }
.module-app:hover { background:rgb(255 255 255 / .65); }
.module-app:active:not(:disabled) { background:rgb(255 255 255 / .9); }
.module-icon { width:160px; height:160px; display:grid; place-items:center; border-radius:36px; color:white; box-shadow:0 8px 20px rgb(21 61 91 / .12),inset 0 1px 0 rgb(255 255 255 / .18); }
.module-icon :is(svg,img) { width:80px; height:80px; object-fit:contain; }
.module-pos { background:#0b5da5; }
.module-timekeeping { background:#087f8c; }
.module-learning { background:#7155a4; }
.module-inventory { background:#b9712b; }
.module-configure { background:#526677; }
.module-manager { background:#28744d; }

.module-name { font-size:1.4rem; font-weight:600; line-height:1.2; }
.module-status { display:block; margin-top:6px; font-size:.85rem; font-weight:500; line-height:1.3; }
.module-status:empty { display:none; }

@media(max-width:960px) {
 .module-grid { grid-template-columns:repeat(2,224px); }
}
@media(max-width:600px),(max-height:650px) {
 .module-grid { grid-template-columns:repeat(2,minmax(0,180px)); gap:16px 24px; padding:12px; }
 .module-app { padding:12px; gap:14px; }
 .module-icon { width:120px; height:120px; border-radius:28px; }
 .module-icon :is(svg,img) { width:64px; height:64px; }
 .module-name { font-size:1.15rem; }
}
@media(max-width:380px) {
 .module-grid { gap:12px; }
 .module-icon { width:100px; height:100px; border-radius:24px; }
}




#client-version{position:fixed;inset:auto 0 0;height:28px;display:grid;place-items:center;color:#64748b;background:#f3f6fa;font-size:12px;font-weight:400;pointer-events:none;z-index:6}#client-version[hidden]{display:none}body:has(#client-version:not([hidden])){padding-bottom:28px}@media print{#client-version{display:none!important}}

/* Shared searchable choice controls; available before opening any module. */@media(max-width:700px){.tr-toolbar>.ui-single-selection{flex:1 1 145px}}


/* Employee security uses the same avatar and popup on every client. */
#employee-profile{display:flex;align-items:center;gap:11px;max-width:290px;min-width:0;padding:6px 10px;border:0;background:transparent;color:inherit;text-align:left;border-radius:12px}
#employee-profile:hover{background:#edf5f4}.employee-profile-avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;background:#e5f1ee;color:#377b72;font-size:15px;font-weight:600}
:is(.employee-profile-dialog,.omni-modal){width:min(540px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid #e0e8ec;border-radius:20px;color:#24495b;box-shadow:0 24px 80px #152d3b33;overflow:auto}
.employee-profile-dialog[open]{display:flex;flex-direction:column;overflow:hidden}.employee-profile-dialog>header{flex-shrink:0}.employee-profile-dialog>form{display:flex;flex-direction:column;min-height:0;overflow:hidden}.employee-profile-dialog::backdrop{background:#233c4d66}.employee-profile-dialog>header{display:flex;align-items:center;gap:14px;padding:23px 25px;border-bottom:1px solid #e7edef}
.employee-profile-dialog>header .employee-profile-avatar{width:48px;height:48px;font-size:18px}.employee-profile-dialog h2{margin:0;font-size:23px}.employee-profile-dialog>header div>span{display:block;margin-top:5px;color:#738794;font-size:13px}.employee-profile-dialog [data-close]{margin-left:auto;flex-shrink:0}
.employee-profile-body{padding:24px 25px;overflow-y:auto;min-height:0}.employee-profile-dialog label{display:grid;gap:8px;font-size:13px;font-weight:600;margin:0 0 18px}.employee-profile-dialog label:last-child{margin-bottom:0}
:is(.employee-profile-dialog,.omni-modal) input:not([type=checkbox]):not([type=radio]),:is(.employee-profile-dialog,.omni-modal) select{width:100%;min-height:46px;padding:11px 12px;border:1px solid #ccd9df;border-radius:9px;background:#fff;color:#24495b;font:inherit;font-size:15px;box-sizing:border-box;margin-top:0}
.employee-profile-dialog select{white-space:normal;font-size:13px}.employee-profile-dialog input[type=password][inputmode=numeric]{letter-spacing:.35em;font-size:20px}
.employee-profile-dialog fieldset{padding:15px;margin:0 0 18px;border:1px solid #e0e8ec;border-radius:12px;min-width:0}.employee-profile-dialog fieldset:last-child{margin-bottom:0}.employee-profile-dialog legend{padding:0 6px;font-size:12px;color:#6d838d}.employee-profile-dialog fieldset select{margin-bottom:14px}
.employee-profile-dialog footer{flex-shrink:0;display:flex;justify-content:flex-end;gap:10px;padding:18px 25px;border-top:1px solid #e7edef;background:#fafcfc}.employee-profile-dialog footer button{min-height:44px;padding:10px 23px;border-radius:10px}
.employee-profile-error{color:#a43434;font-size:13px;margin:18px 0 0}.employee-profile-error[hidden]{display:none}.employee-profile-section{display:flex;align-items:center;justify-content:space-between;gap:12px}.employee-profile-section h3{font-size:15px;margin:0}.employee-profile-section button{min-height:36px;font-size:13px}
.employee-profile-questions ol{padding-left:23px;margin:15px 0 24px}.employee-profile-questions li{font-size:14px;line-height:1.5;padding:6px 0}.employee-profile-action{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:48px;text-align:left;background:#f3f8f7;border:1px solid #dce9e6;border-radius:10px;padding:12px 15px;color:#2d756e}
.pin-recovery-button{display:block;margin:14px auto 0;border:0;background:transparent;color:#357a77;min-height:38px;font-size:14px}
@media(max-width:650px){#employee-profile{max-width:170px;padding:4px;gap:7px}#employee-profile .employee-name{font-size:12px}.employee-profile-avatar{width:32px;height:32px;font-size:12px}.employee-profile-dialog>header,.employee-profile-body{padding:20px}.employee-profile-dialog footer{padding:15px 20px}}

@media(max-width:700px){.topbar:has(#employee-profile) .header-staff{max-width:calc(100vw - 136px)}#staff:has(#employee-profile){max-width:100%}#employee-profile{flex:1 1 auto}}

.modifier-quantity{display:flex;align-items:center;justify-content:space-between;gap:12px}.modifier-quantity small{display:block}.modifier-quantity .stepper{display:flex;align-items:center;gap:6px}.modifier-quantity .stepper output{min-width:20px;text-align:center}.modifier-quantity .stepper button{min-width:36px;min-height:36px}.menu-module{flex:1;min-height:0;width:100%;align-self:stretch}

#app[data-module="configure"]{padding:0;overflow:hidden;display:flex}

.item-photo{width:100%;height:96px;object-fit:contain;border-radius:8px}.category-photo{width:28px;height:28px;object-fit:contain;border-radius:50%;float:left;margin-right:8px}.item-detail-photo{width:96px;height:96px;object-fit:contain;border-radius:10px;flex-shrink:0}.item-info{display:flex;align-items:center;gap:18px;margin:0 0 20px}.item-info p{margin:0;white-space:pre-line;color:var(--muted)}.modifier-photo{width:36px;height:36px;object-fit:contain;border-radius:50%}

.device-settings{width:min(840px,calc(100vw - 32px));height:min(530px,calc(100dvh - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--border);border-radius:20px;background:#fff;color:var(--ink);box-shadow:0 24px 80px rgb(15 35 53 / .24);overflow:hidden}
.device-settings[open]{display:grid;grid-template-rows:64px minmax(0,1fr)}
.device-settings::backdrop,.device-deactivate-dialog::backdrop{background:rgb(15 35 53 / .45)}
.device-settings-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 22px;border-bottom:1px solid var(--border)}
.device-settings-header h2{margin:0;font-size:19px;font-weight:650}
.device-settings-header button{width:36px;height:36px;min-height:36px;padding:8px;border:0}
.device-settings-layout{display:grid;grid-template-columns:180px minmax(0,1fr);min-height:0}
.device-settings-nav{padding:18px 10px;background:#f5f8f8;border-right:1px solid var(--border);overflow:auto}
.device-settings-nav button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;margin:0 0 5px;padding:10px 12px;border:0;border-radius:10px;background:transparent;font-size:14px;text-align:left;color:#536b77;white-space:normal}
.device-settings-nav button[aria-selected=true]{background:#e1efee;color:#086c68;font-weight:650}
.device-settings-nav .ic{flex-shrink:0;width:19px;height:19px}
.device-settings-main{min-width:0;min-height:0;overflow:auto;padding:26px 30px;display:flex;flex-direction:column}
.device-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.device-settings-heading h3{margin:0;font-size:22px;font-weight:650}
.device-settings-status{display:inline-flex;align-items:center;gap:6px;color:#227b60;font-size:12px;font-weight:600;white-space:nowrap}
.device-settings-status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.device-settings-details{margin:0;display:grid;gap:0;font-size:14px}
.device-settings-details>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:16px;padding:16px 0;border-bottom:1px solid #edf1f3}
.device-settings-details dt{color:#647984}.device-settings-details dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.device-settings-actions{margin-top:auto;padding-top:26px;display:flex}
.device-settings-actions button{display:flex;align-items:center;gap:8px;padding:11px 16px;font-size:14px;border-radius:10px}
.device-settings-about{display:grid;justify-items:center;gap:10px;padding-top:12px}
.device-settings-about h4{margin:0;font-size:26px}.device-settings-about p{margin:0;color:#647984;font-size:14px}
.device-settings-about .device-settings-details{width:100%;margin-top:18px}
.reader-options .ui-selections{margin:0}.reader-options .ui-choice-list{display:grid;gap:0;max-height:none;margin:0}
.reader-options .ui-choice-copy>span{display:block;color:#647984;font-size:12px;margin-top:3px}
.reader-options p{margin:18px 0 0;font-size:13px;overflow-wrap:anywhere}
.reader-options #reader-error{color:#a33829}.reader-options [hidden]{display:none}
.reader-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:22px}.reader-actions button{font-size:14px;padding:11px 16px;min-height:42px}
.device-deactivate-dialog{width:min(400px,calc(100vw - 24px));padding:0;text-align:center}
.device-deactivate-dialog .item-body{padding:24px 24px 12px}.device-deactivate-dialog .item-body>.ic{width:38px;height:38px;margin-bottom:8px;color:#a33829}
.device-deactivate-dialog h2{margin:0 0 12px;font-size:21px}.device-deactivate-dialog p{font-size:14px;color:#647984;margin:8px 0}
.device-deactivate-dialog [data-deactivate-error]{color:#a33829}.device-deactivate-dialog [data-deactivate-error]:empty{display:none}
.device-deactivate-dialog .item-footer{display:flex;justify-content:center;gap:10px;padding:12px 20px 24px}
.device-deactivate-dialog button{font-size:14px;min-height:42px;padding:10px 16px}
@media(max-width:600px){.device-settings{width:calc(100vw - 16px);height:min(550px,calc(100dvh - 24px));border-radius:16px}.device-settings[open]{grid-template-rows:58px minmax(0,1fr)}.device-settings-header{padding:0 16px}.device-settings-layout{grid-template-columns:112px minmax(0,1fr)}.device-settings-nav{padding:12px 6px}.device-settings-nav button{gap:7px;font-size:12px;padding:11px 7px}.device-settings-nav .ic{width:16px;height:16px}.device-settings-main{padding:20px 16px}.device-settings-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:12px}.device-settings-heading h3{font-size:19px}.device-settings-details>div{grid-template-columns:1fr;gap:6px;padding:12px 0}.device-settings-details{font-size:13px}.device-settings-actions button{font-size:13px;padding:10px 12px}.reader-options .ui-choice-copy>span{font-size:11px}.reader-actions button{width:100%}.device-settings-actions{padding-top:20px}}

/* Payment preparation and recovery share one stable popup across reader types. */
.payment-popup{width:min(480px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--border);border-radius:22px;background:#fff;color:var(--ink);box-shadow:0 24px 80px rgb(15 35 53 / .24);overflow:auto}
.payment-popup::backdrop{background:rgb(15 35 53 / .45)}
.payment-popup-body{padding:26px;text-align:center}.payment-popup header{display:flex;align-items:center;justify-content:space-between;min-height:28px;margin-bottom:18px}.payment-icon{display:flex;color:var(--accent)}.payment-icon svg{width:28px;height:28px}.payment-popup #payment-environment{padding:4px 10px;border-radius:20px;background:#fff1c9;color:#775c17;font-size:12px;font-weight:600}.payment-popup h2{font-size:24px;line-height:1.2;margin:0 0 12px}.payment-amount{display:block;font-size:46px;line-height:1.1;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}.payment-feedback{display:grid;justify-items:center;align-content:center;gap:14px;min-height:112px;padding:22px 0}.payment-feedback p{font-size:16px;line-height:1.45;margin:0;overflow-wrap:anywhere;color:var(--muted)}.payment-popup.is-error .payment-feedback p{color:#a13a2d}.payment-popup .ui-spinner{display:none}.payment-popup.is-working .ui-spinner{display:block}.payment-popup footer{display:flex;gap:10px;margin-top:8px}.payment-popup footer button{flex:1;min-width:0;min-height:48px}.payment-popup footer button[hidden]{display:none}
@media(max-height:450px){.payment-popup-body{padding:18px 24px}.payment-popup header{margin-bottom:8px}.payment-popup h2{font-size:21px;margin-bottom:8px}.payment-amount{font-size:36px}.payment-feedback{min-height:70px;padding:14px 0;gap:8px}.payment-popup footer{margin-top:0}}
.module-loading{display:flex;align-items:center;justify-content:center;width:100%;flex:1}
.module-style-loading{grid-row:3;height:100%;min-height:0;display:flex;flex:1;width:100%}

.payment-feedback[hidden]{display:none}.payment-reader-setup{margin:20px 0;text-align:left}.payment-reader-setup #reader-error{color:#a13a2d;font-size:14px;overflow-wrap:anywhere}.payment-reader-setup .reader-actions{display:flex;gap:10px;flex-wrap:wrap}.payment-reader-setup .reader-actions button{flex:1}

/* Configure is a grid child; constrain its track before its internal content scrolls. */
#app:has(>.menu-module){min-width:0}

/* Extensions retain the normal header and fill its remaining content area. */
body.extension-mode{min-height:100vh;overflow:hidden;}
body.extension-mode #app{padding:0;min-width:0;min-height:0;display:flex;}
.extension-view{width:100%;height:100%;flex:1;min-width:0;min-height:0;overflow:hidden;background:#f3f6fa;display:flex;align-items:center;justify-content:center;}
.device-settings-switch {display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;}

.device-settings-details dd {overflow-wrap:anywhere;}


.ui-spinner{display:block;width:22px;height:22px;flex-shrink:0;border:2px solid #deebed;border-top-color:var(--accent,var(--ui-accent));border-radius:50%;animation:ui-spin .8s linear infinite}
@keyframes ui-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.ui-spinner{animation-duration:1.6s}}
.device-code>.ui-spinner{margin-inline:auto}

:root,:host{--ui-ink:#203e4a;--ui-muted:#748b98;--ui-accent:#087d88;--ui-accent-hover:#066975;--ui-line:#dce6eb;--ui-surface:#fff;--ui-hover:#f0f8f8;--ui-selected:#e1f2ef;--ui-focus:#76bfc5;--ui-danger:#b64049;--ui-radius:8px;--ui-control:56px;--ui-control-pad:12px;--ui-font:14px;--ui-cell-pad:13px 19px}
[data-ui-density=comfortable]{--ui-control:42px;--ui-control-pad:10px 13px;--ui-font:14px;--ui-cell-pad:14px 16px}
[data-ui-density=compact],:host([data-ui-density=compact]){--ui-control:41px;--ui-control-pad:10px 12px;--ui-font:13px;--ui-cell-pad:13px 19px}
[data-ui-density=touch],:host([data-ui-density=touch]){--ui-control:52px;--ui-control-pad:12px 16px;--ui-font:16px;--ui-cell-pad:16px 18px}
:where(input,select,textarea).ui-field{box-sizing:border-box;width:100%;min-height:var(--ui-control);max-width:100%;min-width:0;padding:var(--ui-control-pad);border:1px solid var(--ui-line);border-radius:var(--ui-radius);background:var(--ui-surface);color:var(--ui-ink);font:400 var(--ui-font)/1.4 'Segoe UI',Arial,sans-serif;box-shadow:none}
textarea.ui-field{min-height:88px;resize:vertical;width:100%}.ui-field:disabled{opacity:.55;cursor:default}.ui-field[aria-invalid=true]{border-color:var(--ui-danger)}
.ui-field[data-ui-filter]{width:auto;max-width:100%;flex:0 1 auto}.ui-field[type=search]{min-width:100px}
.ui-field[data-ui-inline]{border:0;border-radius:0;background:transparent;box-shadow:none;min-height:0;padding:6px 3px;font:inherit;color:inherit}
.ui-search{display:flex;align-items:center;gap:9px;box-sizing:border-box;border:1px solid var(--ui-line);border-radius:var(--ui-radius);background:#fff;min-height:var(--ui-control);padding:0 12px}.ui-search:focus-within{outline:3px solid var(--ui-focus);outline-offset:2px}.ui-search .ui-field:focus-visible{outline:none}
input.ui-check{appearance:none;-webkit-appearance:none;box-sizing:border-box;position:relative;display:inline-block;vertical-align:middle;width:18px;height:18px;min-width:18px;min-height:18px;flex:none;padding:0;margin:0;border:1.5px solid #afc7d1;border-radius:4px;background:#fff;color:var(--ui-accent);cursor:pointer;box-shadow:none}
input.ui-check:checked{border-color:var(--ui-accent);background:var(--ui-accent)}
input.ui-check:checked::after{content:'';position:absolute;left:5px;top:2px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
input.ui-check:indeterminate{border-color:var(--ui-accent);background:var(--ui-selected)}input.ui-check:indeterminate::after{content:'';position:absolute;width:8px;height:2px;left:3.5px;top:6.5px;background:var(--ui-accent);border:0;transform:none}
input.ui-check[type=radio]{border-radius:50%}input.ui-check[type=radio]:checked{background:#fff}input.ui-check[type=radio]:checked::after{left:3px;top:3px;width:9px;height:9px;background:var(--ui-accent);border:0;border-radius:50%;transform:none}
input.ui-check:disabled{--ui-accent:#9da6ac;--ui-selected:#eef0f2;opacity:.4;cursor:default}
.ui-scroll{overflow:auto;max-width:100%;min-width:0}
.ui-table>thead>tr>th:has(>input[type=checkbox]:only-child),.ui-table>tbody>tr>td:has(>input[type=checkbox]:only-child){width:1%;white-space:nowrap}
.ui-selections:has(>[data-selection-filter]){margin:0}
table.ui-table{border-collapse:collapse;width:100%;text-align:left;color:var(--ui-ink)}
.ui-table:not([data-ui-kind=matrix]){font:12px/1.45 'Segoe UI',Arial,sans-serif}
.ui-table:not([data-ui-kind=matrix])>thead>tr>th{padding:14px 19px;background:#f9fbfc;border-bottom:1px solid var(--ui-line);color:var(--ui-muted);font-size:10px;font-weight:700;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap;text-align:left}
.ui-table:not([data-ui-kind=matrix])>tbody>.ui-row>td{padding:var(--ui-cell-pad);border-bottom:1px solid #edf1f3;border-top:0;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;font-size:12px;color:var(--ui-ink);background:transparent}
.ui-table small{display:block;color:var(--ui-muted);font-size:11px;font-weight:400;line-height:1.4;margin-top:4px}.ui-table td>strong{font-weight:600}
.ui-table>tbody>.ui-row.ui-selected{background:var(--ui-selected)}
.ui-table>tbody>.ui-detail>td{padding:18px 16px;background:#f2f8f7;box-shadow:inset 3px 0 var(--ui-accent);border-top:1px solid var(--ui-line)}
.ui-table .ui-empty{padding:24px;text-align:center;color:var(--ui-muted)}
[data-ui-density=compact] .ui-choice-option{min-height:34px}
@media(max-width:700px){.ui-table[data-ui-responsive=cards]{min-width:0;table-layout:fixed}.ui-table[data-ui-responsive=cards]>thead{display:none}.ui-table[data-ui-responsive=cards]>tbody{display:block;width:100%}.ui-table[data-ui-responsive=cards]>tbody>.ui-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;box-sizing:border-box;gap:10px 14px;padding:13px;border-top:1px solid var(--ui-line)}.ui-table[data-ui-responsive=cards]>tbody>.ui-row>td{display:block;padding:0;border:0;min-width:0;box-shadow:none}.ui-table[data-ui-responsive=cards]>tbody>.ui-row>td:first-child{grid-column:1/-1}.ui-table[data-ui-responsive=cards]>.ui-row>td::before,.ui-table[data-ui-responsive=cards]>tbody>.ui-row>td::before{content:attr(data-label);display:block;font-size:10px;color:var(--ui-muted);font-weight:600;letter-spacing:.035em;text-transform:uppercase;margin-bottom:5px}.ui-table[data-ui-responsive=cards]>tbody>.ui-row>td:first-child::before,.ui-table[data-ui-responsive=cards]>tbody>.ui-row>td[data-label='']::before{display:none}.ui-table[data-ui-responsive=cards]>tbody>.ui-detail{display:block}.ui-table[data-ui-responsive=cards]>tbody>.ui-detail>td{display:block;width:auto;padding:15px;box-sizing:border-box}.ui-table[data-ui-responsive=cards]>tbody>.ui-selected{box-shadow:inset 3px 0 var(--ui-accent)}.ui-field[data-ui-filter]{flex:1 1 130px;min-width:110px}.ui-choice-search.ui-field{font-size:16px}}
.ui-table-frame{min-width:0;max-width:100%;background:#fff;border:1px solid var(--ui-line);border-radius:12px;overflow:auto}
.ui-table-frame>table{margin:0}
.ui-table:not([data-ui-kind=matrix])>tbody>.ui-row:last-child>td{border-bottom:0}
.ui-table button[data-ui-inline]{min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font:inherit;font-weight:600;text-align:left}
.ui-results-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:140px;padding:24px;color:var(--ui-muted)}.ui-results-state p{margin:0}
label.ui-search,.ui-search{margin:0;font:400 var(--ui-font)/1.4 'Segoe UI',Arial,sans-serif}.ui-search>input.ui-field{width:100%;min-width:0;flex:1;height:auto;min-height:0;padding:0;background:transparent;border:0;border-radius:0;font-size:inherit}.ui-search>svg{width:20px;height:20px;flex:none}
select.ui-field.filter{min-height:var(--ui-control);height:var(--ui-control);padding:0 32px 0 12px;border-radius:var(--ui-radius);font-size:var(--ui-font)}
@media(max-width:700px){.ui-table[data-ui-responsive=cards]>tbody>.ui-row>td{border:0}.ui-table[data-ui-responsive=cards]>tbody>.ui-row>td[colspan]{grid-column:1/-1}.ui-table[data-ui-responsive=cards]>tbody>.ui-row:first-child{border-top:0}}

.ui-selections{margin:0 0 18px;min-width:0}
.ui-selection-label{display:block;font-size:13px;font-weight:650;margin-bottom:7px;color:#29495c}
.ui-choice{display:block;margin:0;padding:0;max-height:none;overflow:visible;border:1px solid var(--ui-line);border-radius:var(--ui-radius);background:white}
.ui-choice summary{display:flex;align-items:center;gap:8px;min-height:var(--ui-control);padding:8px 12px;box-sizing:border-box;cursor:pointer;list-style:none;font-weight:450;font-size:13px}
.ui-choice summary::-webkit-details-marker{display:none}
.ui-choice summary>span:first-child{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ui-select-chevron{color:#75909e}
.ui-selection-count{background:#e2f2ef;color:#007c77;border-radius:5px;padding:2px 6px;font-size:11px;font-weight:700}
.ui-choice[open]{border-color:#008b85;box-shadow:0 0 0 2px #008b8510}
.ui-choice-menu{border-top:1px solid #e2ebef;padding:8px}
.ui-selections .ui-choice-search{width:100%;box-sizing:border-box;min-height:37px;padding:8px 10px;border:1px solid #d8e4ea;border-radius:6px;font-size:13px;background:#f7fafb;color:#23495d}
.ui-choice-list{max-height:200px;overflow:auto;margin-top:6px}
.ui-choice .ui-choice-option,.ui-choice-rows .ui-choice-option{display:flex;align-items:center;gap:10px;padding:9px 8px;min-height:37px;box-sizing:border-box;border-radius:5px;cursor:pointer;font-size:13px;line-height:1.4}
.ui-choice-option:hover{background:#eff8f7}
.ui-choice-option:has(input:checked){background:#e6f4f1;color:#006e69}
.ui-choice-option span{min-width:0;overflow-wrap:anywhere}
.ui-choice-empty{display:block;padding:12px 8px;color:#718996;font-size:12px}
.ui-selections input[type=radio]{appearance:auto;width:18px;height:18px;min-width:18px;min-height:18px;margin:0;flex:0 0 18px;accent-color:#008b85;cursor:pointer;box-shadow:none;padding:0}
.ui-selections input[type=radio]{border-radius:50%}
.ui-single-selection{min-width:0}
.tr-toolbar>.ui-single-selection{flex:0 1 210px;margin:0}
.ui-choice:where([data-selection-single]) summary{font-weight:450}
.ui-choice:where([data-selection-single]) .ui-choice-list{max-height:220px}
.ui-selections [hidden]{display:none!important}
.ui-choice:where([data-selection-persistent])>summary{display:none}
.ui-choice:where([data-selection-persistent])[open]{border-color:#ccdde6;box-shadow:none}
.ui-choice:where([data-selection-persistent]) .ui-choice-menu{border-top:0}
.ui-choice:where([data-selection-persistent]):focus-within{border-color:#008b85;box-shadow:0 0 0 2px #008b8510}
.ui-choice:where([data-selection-single]):not(:where([data-selection-persistent])){position:relative}
.ui-choice:where([data-selection-single]):not(:where([data-selection-persistent])) .ui-choice-menu{position:absolute;top:calc(100% + 5px);left:0;z-index:60;box-sizing:border-box;width:max(100%,260px);max-width:calc(100vw - 32px);border:1px solid #ccdde6;border-radius:8px;background:white;box-shadow:0 8px 24px #173d5926}
.ui-form-stack{display:flex;flex-direction:column;gap:18px}
.detail-grid{display:grid;grid-template-columns:minmax(120px,180px) minmax(0,1fr);gap:14px 24px;margin:0;padding:24px;background:#fff;border:1px solid #e3eaed;border-radius:12px}.detail-grid dt{color:#718792;font-size:13px}.detail-grid dd{margin:0;overflow-wrap:anywhere;font-size:14px}@media(max-width:600px){.detail-grid{grid-template-columns:1fr;gap:5px;padding:18px}.detail-grid dd+dt{margin-top:12px}}
/* Ordinary modal frames are shared between document and shadow hosts. */
dialog[data-ui-dialog-size]{box-sizing:border-box;width:min(480px,calc(100vw - 28px));max-width:calc(100vw - 28px);height:fit-content;max-height:calc(100dvh - 28px);margin:auto;padding:0;border:1px solid #dce6eb;border-radius:14px;background:#fff;color:#24495b;box-shadow:0 24px 80px #152d3b33;overflow:hidden;text-align:left}
dialog[data-ui-dialog-size=medium]{width:min(800px,calc(100vw - 28px))}
dialog[data-ui-dialog-size=wide]{width:min(1240px,calc(100vw - 28px))}
dialog[data-ui-dialog-size]::backdrop{background:#233c4d66}
dialog[data-ui-dialog-size]>form{display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 30px);margin:0}
dialog[data-ui-dialog-size][open]:not(:has(>form)){display:flex;flex-direction:column}
dialog[data-ui-dialog-size] .ui-dialog-heading{flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid #e7edef}
dialog[data-ui-dialog-size] .ui-dialog-heading>div{min-width:0}
dialog[data-ui-dialog-size] .ui-dialog-heading h2{overflow-wrap:anywhere;font-size:20px;line-height:1.3;font-weight:600;margin:0}
dialog[data-ui-dialog-size] .ui-dialog-heading p{font-size:12px;color:#738794;margin:6px 0 0}
dialog[data-ui-dialog-size] .ui-dialog-body{flex:1 1 auto;padding:22px 24px;min-height:0;overflow:auto;font-size:14px;line-height:1.5}
dialog[data-ui-dialog-size] .ui-dialog-body>p:first-child{margin-top:0}dialog[data-ui-dialog-size] .ui-dialog-body>p:last-child{margin-bottom:0}
dialog[data-ui-dialog-size] .ui-dialog-actions{flex:none;display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px;padding:16px 24px;border-top:1px solid #e7edef;margin:0}
dialog[data-ui-dialog-size] .ui-dialog-actions button{min-height:40px;padding:9px 18px;font-size:13px;border:1px solid #d4dfe4;border-radius:8px;background:#fff;color:#294e60}
dialog[data-ui-dialog-size] .ui-dialog-actions .danger{background:var(--ui-danger,#b64049);border-color:var(--ui-danger,#b64049);color:white}
dialog[data-ui-dialog-size] .ui-dialog-actions :is(.primary,.tk-primary){background:#087c77;border-color:#087c77;color:white}
dialog[data-ui-dialog-size] .ui-choice-option{display:flex;align-items:center;gap:10px;width:auto;margin:0;padding:10px 8px;font-size:14px;font-weight:400;line-height:1.4;cursor:pointer}
dialog[data-ui-dialog-size] .ui-choice-option>span{min-width:0;overflow-wrap:anywhere}
dialog[data-ui-dialog-size] .editor-error{font-size:13px;color:#a43434;margin:12px 0 0}
dialog[data-ui-dialog-size] .ui-choice-option:hover{background:#eff7f6;border-radius:6px}
:is(.employee-profile-dialog,.omni-modal,dialog[data-ui-dialog-size]) input[type=radio]{box-sizing:border-box;flex:none;width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:#087c77}
@media(max-width:600px){dialog[data-ui-dialog-size] :is(.ui-dialog-heading,.ui-dialog-body,.ui-dialog-actions){padding:16px 18px}}

/* Opt-in review surfaces retain the established management controls. */
.ui-tabs[data-ui-tabs=underline]{display:flex;align-items:center;gap:22px;border-bottom:1px solid var(--line,#dde7eb)}
.ui-tabs:is(.mp-review-tabs,.permission-tabs,[data-ui-tabs=underline])>button.ui-tab{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:12px 0;border:0;border-radius:0;border-bottom:2px solid transparent;background:transparent;box-shadow:none;color:var(--muted,#7d939e);font:inherit;font-weight:400;cursor:pointer}
.ui-tabs:is(.mp-review-tabs,.permission-tabs,[data-ui-tabs=underline])>button.ui-tab[aria-selected=true]{border-bottom-color:var(--teal,#087d88);color:var(--teal,#087d88);font-weight:550}
[data-ui-surface=manager-review] button.ui-button[data-ui-variant=primary]{background:#087d88;color:#fff;border:1px solid #087d88;border-radius:8px;min-height:40px;padding:9px 15px;font:inherit;font-weight:550}
[data-ui-surface=manager-review] button.ui-button[data-ui-variant=primary]:hover:not(:disabled){background:#066975;border-color:#066975}
[data-ui-surface=manager-review] button.ui-button[data-ui-variant=quiet],[data-ui-surface=manager-review] button.ui-button[data-ui-variant=icon]{background:transparent;border-color:transparent;box-shadow:none;color:#355769;font-weight:400}
[data-ui-surface=manager-review] button.ui-button[data-ui-variant=quiet]{min-height:32px;padding:6px 8px}
[data-ui-surface=manager-review] button.ui-button[data-ui-variant=quiet]:hover:not(:disabled),[data-ui-surface=manager-review] button.ui-button[data-ui-variant=icon]:hover:not(:disabled){background:#eaf4f2}
button[data-ui-shape=circle],button.ui-button[data-ui-shape=circle]{box-sizing:border-box;width:var(--ui-circle-size,2.5rem);height:var(--ui-circle-size,2.5rem);min-width:var(--ui-circle-size,2.5rem);min-height:var(--ui-circle-size,2.5rem);max-width:var(--ui-circle-size,2.5rem);max-height:var(--ui-circle-size,2.5rem);flex:none;padding:0;border-radius:50%;aspect-ratio:1}
[hidden]{display:none!important}
.ui-choice .ui-choice-option{margin:0 0 2px;font-weight:450}.ui-choice .ui-choice-option:last-child{margin-bottom:0}
.ui-selection-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:6px 2px 2px}
.ui-selection-actions>.ui-selection-future{display:flex;align-items:center;gap:5px;flex:0 1 auto;min-width:0;margin:0 0 0 auto;padding:0;border:0;background:transparent;color:#536f7e;font-size:10.5px;font-weight:450;line-height:1.25;white-space:normal}
.ui-selection-actions>.ui-selection-future>span{font:inherit;min-width:0}
.ui-selection-actions>button{flex:none;min-height:24px;padding:1px 3px;font-size:12px}
@media(max-width:350px){.ui-selection-actions{gap:5px;padding-left:0;padding-right:0}.ui-selection-actions>button{font-size:11px;padding-left:2px;padding-right:2px}.ui-selection-actions>.ui-selection-future{font-size:9.5px;gap:4px}}

/* One header Close control across ordinary document and shadow-root editors. */
dialog button.ui-button.ui-dialog-close[data-ui-variant=icon]{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;min-width:34px;min-height:34px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;box-shadow:none;color:#718995;line-height:1}
dialog button.ui-button.ui-dialog-close[data-ui-variant=icon]>svg{width:17px;height:17px;margin:0;flex:none}
dialog button.ui-button.ui-dialog-close[data-ui-variant=icon]:hover:not(:disabled){background:#eef5f6;border-color:transparent;color:#294e60}
:where(.ic){display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.ui-switch-field{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;font-size:13px;font-weight:600;line-height:1.4}.toggle:has(input:disabled){opacity:.5}
.toggle{display:inline-flex;position:relative;width:35px;height:20px;flex-shrink:0}.toggle>input[type=checkbox]{position:absolute;opacity:0;width:100%;height:100%;min-height:0;margin:0;padding:0;box-sizing:border-box}.toggle span{pointer-events:none;width:35px;height:20px;display:block;background:#d7e1e6;border-radius:20px;cursor:pointer;transition:background .15s}.toggle span:after{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;background:white;border-radius:50%;box-shadow:0 1px 2px #0001;transition:transform .15s}.toggle>input[type=checkbox]:checked+span{background:var(--teal,var(--ui-accent))}.toggle>input[type=checkbox]:checked+span:after{transform:translateX(15px)}.toggle>input[type=checkbox]:focus-visible+span{outline:3px solid #8bd3d5;outline-offset:3px}
.ic.ui-inline-icon{display:inline-block;vertical-align:middle}
.ic.ui-disclosure{display:inline-block;width:20px;height:20px;vertical-align:middle;flex:none;transform:rotate(0deg)}
[aria-expanded=true]>.ui-disclosure,[aria-expanded=true]>td:first-child>.ui-disclosure,details[open]>summary>.ui-disclosure{transform:rotate(90deg)}
.ui-row[data-ui-row],.ui-list>[data-ui-row]{cursor:pointer}
.ui-row[data-ui-row]:hover,.ui-row[data-ui-row]:focus-within,.ui-list>[data-ui-row]:not(:disabled):hover{background:var(--ui-row-hover,#f2f9f9)}
[data-ui-row]:focus-visible{outline:3px solid #547dbc;outline-offset:2px}
.ui-choice:not([data-selection-persistent])>.ui-choice-menu{position:fixed;z-index:120;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden}.ui-choice-menu{background:#fff}select option,select optgroup{background:#fff;color:#203e4a}.ui-choice-menu>.ui-choice-search,.ui-choice-menu>.ui-selection-actions{flex-shrink:0}
.ui-choice:not([open])>.ui-choice-menu{display:none}
.ui-choice[data-selection-persistent]>summary{cursor:default}
.ui-choice[data-selection-persistent] .ui-select-chevron{display:none}
.ui-choice-loading{display:none;align-items:center;justify-content:center;padding:12px}.ui-choice[aria-busy="true"] .ui-choice-loading{display:flex}.ui-choice[aria-busy="true"] .ui-choice-empty{display:none}
.ui-choice-list{min-height:0;overflow:auto;overscroll-behavior:contain}
.ui-choice-option>span{min-width:0;overflow-wrap:anywhere}
.ui-choice-copy{display:block;min-width:0;line-height:1.35}.ui-choice-copy>strong{display:block;font-size:14px;font-weight:650;color:#254357;overflow:hidden;text-overflow:ellipsis}.ui-choice-copy>small{display:block;font-size:12px;font-weight:400;color:#718391;margin-top:3px;line-height:1.35}.ui-choice .ui-choice-option:has(.ui-choice-copy){align-items:center;margin:0;padding:6px 10px}.ui-choice .ui-choice-option>.ui-choice-copy{flex:1}

.permissions-admin{min-width:0;color:var(--text,#24434e)}.permission-editor-heading,.permission-index-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.permission-editor-heading h3{font-size:16px;margin:0}.permission-editor-actions{display:flex;gap:8px;margin-left:auto}.permission-template-name{flex:1;max-width:420px}.permission-index-heading>button{margin-left:auto}.permission-search{max-width:420px;margin-bottom:14px}.permission-tree-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.permission-tree-toolbar .search{flex:1;min-width:180px}.permission-tree{max-height:calc(100dvh - 325px);min-height:220px;overflow:auto;border:1px solid var(--line,#dde7eb);border-radius:8px;background:#fff;overscroll-behavior:contain}.permission-tree details+details{border-top:1px solid var(--line,#dde7eb)}.permission-tree summary{display:flex;align-items:center;gap:10px;padding:12px 14px;cursor:pointer;font-weight:600;list-style:none}.permission-tree summary::-webkit-details-marker{display:none}.permission-sections{padding:0 16px 12px 43px}.permission-sections section+section{margin-top:12px}.permission-section,.permission-leaf{display:flex;gap:10px;align-items:center;min-height:33px;font-size:13px}.permission-leaf{padding-left:25px;font-weight:400;cursor:pointer}.permission-inherited{color:#8a969d;cursor:default}.permission-row-actions{text-align:right;white-space:nowrap}.permission-row-actions>div{display:inline-flex;align-items:center;justify-content:flex-end;gap:12px}.permission-list{min-width:0}.permission-selection,.permission-empty{font-size:13px;color:#657b85}.permission-template-options{display:flex;flex-direction:column;gap:4px;max-height:55dvh;overflow:auto}.permission-dialog form{min-height:0}.permission-error{margin:0 0 12px}.mp-profile-panel:has(.permissions-admin){padding:18px}.mp-profile-panel .permission-tree{max-height:calc(100dvh - 345px)}@media(max-width:700px){.permission-editor-actions{margin-left:0;width:100%}.permission-tree{max-height:calc(100dvh - 315px)}.permission-sections{padding-left:22px}.permission-leaf{padding-left:16px}.permission-editor-heading{gap:8px}.mp-profile-panel .permission-tree{max-height:55dvh}}
.permission-leaf,.permission-section{margin:0;padding-block:0;line-height:1.4}.permission-tree-toolbar .search{margin:0}.permission-tree-toolbar input[type=search]{height:38px;min-height:38px;padding:8px 12px;font:inherit}.mp-profile-details:has(.permissions-admin){display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 225px)}.mp-profile-panel:has(.permissions-admin){display:flex;flex:1;min-height:0}.mp-profile-panel [data-live-preserve]:has(>.permissions-admin){display:flex;flex:1;min-height:0}.mp-profile-panel .permissions-admin{display:flex;flex-direction:column;flex:1;min-height:0}.mp-profile-panel [data-permission-tree]{display:flex;flex-direction:column;flex:1;min-height:0}.mp-profile-panel .permission-tree{flex:1;min-height:0;max-height:none}.permission-tree-toolbar,.permission-editor-heading{flex-shrink:0}@media(max-width:700px){.mp-profile-details:has(.permissions-admin){max-height:75dvh;min-height:440px}}

.permission-index-heading .permission-tabs{display:flex;align-items:center;gap:22px;flex:1;border-bottom:1px solid var(--line,#dde7eb)}.permission-tabs>.ui-tab{font-weight:400;padding:10px 0}.permission-tabs>.ui-tab[aria-selected=true]{font-weight:600}.permissions-admin>.permission-search{width:100%;max-width:none;margin-bottom:16px}.permission-selection:empty{display:none}.permission-selection{margin:10px 0 0;font-size:11px}.permission-template-name{margin:0}.permission-tree-toolbar input[type=search]{font-size:13px}

.omni-modifiers{--modifier-line:var(--line,var(--border,#dce5ed));--modifier-accent:var(--accent,#00687e);color:inherit}.omni-modifier-group{padding:1rem 0 .4rem}.omni-modifier-heading{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.3rem}.omni-modifier-heading h2{font-size:1.1rem;margin:0}.omni-modifier-heading>span{color:var(--muted,#60788b);font-size:.85rem}.omni-modifier-option{border-bottom:1px solid var(--modifier-line);padding:.8rem 0}.omni-modifier-row{display:flex;align-items:center;gap:1rem;min-height:2.5rem}.omni-modifier-copy{flex:1;min-width:0}.omni-modifier-copy strong{display:block;font-size:1rem;font-weight:550}.omni-modifier-copy small{display:block;font-size:.85rem;color:var(--muted,#60788b);margin-top:.2rem}.omni-modifier-stepper{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.omni-modifier-stepper button{display:grid;place-items:center;border:1px solid var(--modifier-line);--ui-circle-size:2.5rem;background:#fff;color:var(--modifier-accent);font-size:1.25rem;padding:0}.omni-modifier-stepper button:disabled{opacity:.35}.omni-modifier-stepper span{min-width:1rem;text-align:center}.customize-modifier{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-radius:.6rem;background:#f2f6f7;color:var(--ink,#234957);font-size:.95rem;text-align:left;padding:.8rem 1rem;margin-top:.7rem}.customize-modifier>span:last-child{font-size:1.4rem;color:var(--modifier-accent)}.modifier-child-summary{font-size:.85rem;line-height:1.4;color:var(--muted,#60788b);margin-top:.4rem}.modifier-child-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem;align-items:center;padding:.5rem 0 1rem}.modifier-child-heading h2{font-size:1.3rem;margin:0;overflow-wrap:anywhere}.modifier-child-heading>button{white-space:nowrap}.modifier-error{color:var(--danger,#b73c46);padding:.6rem 0}.item-dialog[data-nested=true] .product-hero,.item-dialog[data-nested=true] .item-pickup,.item-dialog[data-nested=true] .notes-block,.item-dialog[data-nested=true] #item-favorite,.item-dialog[data-nested=true] #compact-price{display:none}.item-dialog[data-nested=true] .quantity{display:none}.item-dialog[data-nested=true] #item-footer{justify-content:flex-end}#item-dialog[data-nested=true] .item-info,#item-dialog[data-nested=true] .item-footer>.stepper{display:none}

#item-dialog[data-nested=true] .item-footer>.quantity-stepper,#item-dialog[data-nested=true] .kitchen-note-field{display:none}

#item-dialog[data-nested=true] .panel-header{display:none}.modifier-child-heading{padding-top:1.2rem}

/* Optional section navigation; all groups remain in the same scroll container. */
.modifier-navigation{display:flex;gap:8px;flex-shrink:0;overflow-x:auto;scrollbar-width:thin;padding:0 24px;border-bottom:1px solid var(--border,#dce5ed);background:#fff}
.modifier-navigation[hidden]{display:none}
.modifier-navigation button{display:flex;align-items:center;justify-content:center;gap:9px;flex:1 0 auto;white-space:nowrap;min-height:54px;margin:0;padding:14px 16px 15px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--muted,#60788b);font:inherit;font-weight:600}
.modifier-navigation button[aria-current=property]{border-bottom-color:var(--accent,#0b5da5);background:#f6faff;color:var(--accent,#0b5da5)}
.modifier-navigation button:not([aria-current]):hover{background:#f5f8fa;color:var(--ink,#153d5b)}
.modifier-navigation button:focus-visible{outline-offset:-3px}.modifier-navigation button>span:first-child{max-width:min(45vw,24rem);overflow:hidden;text-overflow:ellipsis}
.modifier-group-state{display:grid;place-items:center;flex-shrink:0;width:19px;height:19px;border-radius:50%;font-size:18px;line-height:1}
.modifier-group-state.complete{background:#e4f2ed;color:#318067}.modifier-group-state.complete svg{width:13px;height:13px}.modifier-group-state.missing{background:#fff1dc;color:#ad761f}
.modifier-navigation:not([hidden])+.item-body .omni-modifier-group{scroll-margin-top:12px}.modifier-navigation:not([hidden])+.item-body .omni-modifier-group+.omni-modifier-group{margin-top:20px;padding-top:22px;border-top:1px solid var(--border,#dce5ed)}

@media(max-width:480px){.modifier-child-heading{grid-template-columns:1fr auto}.modifier-child-heading h2{grid-column:1/-1;grid-row:2}}

.membership-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;overflow:auto;color:var(--ink,#193b49)}
.membership-heading,.membership-footer{display:flex;align-items:center;gap:12px;padding:20px 24px}.membership-heading{justify-content:space-between;border-bottom:1px solid #e5ebed}.membership-heading h2{margin:0}.membership-footer{justify-content:flex-end;border-top:1px solid #e5ebed}.membership-footer .danger{margin-right:auto}
.membership-search{display:flex;gap:10px;padding:18px 24px 12px}.membership-search label{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.membership-search svg,.membership-heading svg{width:22px;height:22px}.membership-search input{width:100%;min-width:0}
.membership-results{min-height:140px;max-height:50dvh;overflow:auto;padding:0 12px 12px}.membership-list{display:flex;flex-direction:column;gap:2px}.membership-result{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:13px 12px!important;background:transparent!important;border:0!important;border-radius:10px!important}.membership-result:hover,.membership-result[aria-pressed=true]{background:#eaf5f4!important}.membership-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.membership-copy strong,.membership-copy span{overflow:hidden;text-overflow:ellipsis}.membership-copy small{color:#667d85}.membership-avatar{width:48px;height:48px;flex:none;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#e6f1ef;color:#277d79;font-weight:700}.membership-avatar img{width:100%;height:100%;object-fit:cover}.membership-status{font-size:12px;font-weight:600;color:#657980;max-width:120px}.membership-status[data-ui-tone=success]{color:#277d66}.membership-empty{padding:28px;text-align:center;color:#667d85}.membership-error{margin:0 24px 12px;color:#b83232}.membership-config-tools{display:flex;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}.membership-config-tools .search{flex:1;min-width:200px}.membership-config-tools svg{width:20px;height:20px}
@media(max-width:550px){.membership-heading,.membership-footer{padding:16px}.membership-search{padding:14px 16px}.membership-result{gap:10px}.membership-avatar{width:40px;height:40px}.membership-status{max-width:85px;font-size:11px}}

.membership-dialog .membership-result{text-align:left}.membership-copy{font-size:14px;font-weight:400;line-height:1.4}.membership-copy strong{font-size:15px;font-weight:650}.membership-copy>span{font-size:13px}.membership-copy small{font-size:12px}

.pos-offers [data-offers]{max-height:42dvh;overflow:auto;padding:0 22px}.pos-offer-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #e5edef;padding:8px 0}.pos-offer-row>.ui-choice-option{flex:1;min-width:0}.pos-offer-row strong,.pos-offer-row small{display:block}.pos-offer-row small{font-size:12px;color:#718995;margin-top:3px}.pos-offer-code{padding:18px 22px}.pos-offer-code label{display:grid;gap:7px;font-size:13px;font-weight:600}.pos-offers .membership-footer{flex-wrap:wrap}

.pos-offer-applied{display:grid;gap:8px}.pos-offer-applied:empty{display:none}.pos-offer-applied>span{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#277d66;font-size:13px;padding:10px 0}.pos-offer-applied strong{font-weight:650}

.membership-attached{display:flex;align-items:center;gap:12px;padding:14px 24px;background:#f0f8f6;border-bottom:1px solid #dcece7}.membership-attached>span{display:grid;place-items:center;color:#258176}.membership-attached svg{width:22px;height:22px}.membership-attached>div{display:grid;gap:3px}.membership-attached small{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#548477}.membership-attached strong{font-size:15px}.membership-attached div>span{font-size:12px;color:#607d78}
.membership-result-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none;min-width:62px}.membership-result-meta>strong{font-size:17px;line-height:1.15;color:#24495b;font-variant-numeric:tabular-nums}.membership-result-meta>strong>small{display:block;font-size:11px;font-weight:400;color:#718591}.membership-search>button{flex:none;min-height:42px;padding:10px}.membership-config-tools .filter{min-height:41px;border:1px solid #dce5e9;border-radius:8px;background:#fff;padding:0 34px 0 12px;width:auto}.membership-config .table-wrap{min-width:0}.membership-copy>small{overflow-wrap:anywhere;white-space:normal}.membership-dialog .membership-heading h2{font-size:21px;line-height:1.3}.membership-config-tools .search input{min-width:0}

.membership-filters{margin:0;display:flex;align-items:center;padding:0 24px 10px}.membership-filters .ui-choice-option{width:auto;min-height:0;padding:6px 0;background:transparent}.membership-filters .ui-choice-option span{font-size:14px}@media(max-width:550px){.membership-filters{padding-right:16px;padding-left:16px}}

.loyalty-admin{min-width:0}.loyalty-list-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.loyalty-list-toolbar .ui-selections{width:230px}.loyalty-table{min-width:0}.loyalty-secondary{display:block;color:var(--muted,#6c7c84);font-size:.85em;line-height:1.45;font-weight:400}.loyalty-number{text-align:right;font-variant-numeric:tabular-nums}.loyalty-row-actions{white-space:nowrap;text-align:right}.loyalty-row-actions button{margin-left:6px}.loyalty-pill{display:inline-block;margin-right:10px;border-radius:20px;background:#e8f3f0;color:#287068;padding:4px 10px;font-size:.85em}.loyalty-pagination{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:20px}.loyalty-dialog .ui-dialog-body{padding:22px 26px;min-width:0;min-height:0;overflow:auto}.loyalty-dialog .ui-dialog-body>label,.loyalty-field-grid>label{display:flex;flex-direction:column;gap:8px;margin:0 0 18px;font-weight:600}.loyalty-dialog .ui-dialog-body input:not([type=checkbox]):not([type=radio]),.loyalty-dialog .ui-dialog-body select,.loyalty-dialog .ui-dialog-body textarea{width:100%;box-sizing:border-box}.loyalty-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.loyalty-dialog .ui-dialog-body section+section{border-top:1px solid #e5e9eb;margin-top:24px;padding-top:16px}.loyalty-dialog .ui-dialog-body section h3{margin:0 0 16px;font-size:1em}.loyalty-help{color:var(--muted,#6c7c84);font-size:.9em;line-height:1.5;margin:0 0 20px}.loyalty-steps{display:flex;gap:20px;border-bottom:1px solid #e5e9eb;margin:-8px 0 24px}.loyalty-steps button{border-radius:0!important;border:0!important;background:transparent!important;padding:12px 2px!important;color:var(--muted,#6c7c84)}.loyalty-steps button[aria-current=step]{color:#137c81;border-bottom:2px solid #137c81!important}.loyalty-member-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.loyalty-member-summary>div:first-child>strong{display:block;font-size:2em;line-height:1.3}.loyalty-pending{margin-bottom:16px}.loyalty-load-error{padding:20px}.loyalty-dialog .ui-selections{min-width:0;width:100%}@media(max-width:600px){.loyalty-field-grid{grid-template-columns:1fr;gap:0}.loyalty-member-summary{flex-wrap:wrap}.loyalty-list-toolbar .ui-selections{flex:1;min-width:180px}.loyalty-list-toolbar>button{width:100%}.loyalty-dialog .ui-dialog-body .ui-selections{max-width:100%}}.loyalty-list-toolbar>select{width:auto;max-width:230px;flex:0 1 200px}.loyalty-list-toolbar .ui-selections{margin:0}.loyalty-birthday-input{display:flex;align-items:center;gap:10px}.loyalty-birthday-input input{min-width:0}.loyalty-admin .loyalty-dialog .field{margin-bottom:18px}.loyalty-dialog .ui-dialog-body .ui-selections{margin-bottom:18px}.loyalty-dialog .ui-dialog-body .field>.ui-selections{margin-bottom:0}.loyalty-table .membership-status{white-space:nowrap}.loyalty-row-actions .icon-btn{vertical-align:middle}.loyalty-member-summary>.membership-avatar{width:48px;height:48px;margin-right:-6px}.loyalty-member-summary>div:nth-child(2)>strong{display:block;font-size:2em;line-height:1.3}.loyalty-list-toolbar .ui-selection-label{display:none}.loyalty-dialog .ui-dialog-body>p:first-child{margin-top:0}.loyalty-dialog .ui-dialog-body>p+label{margin-top:20px}.loyalty-dialog .ui-dialog-body .field>.ui-selections{margin-top:0}

.loyalty-enrollment-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.loyalty-enrollment-fields .ui-selections{min-width:0;margin-bottom:0}@media(max-width:650px){.loyalty-enrollment-fields{grid-template-columns:minmax(0,1fr)}}

.loyalty-list-toolbar .search{flex:1;min-width:min(200px,100%)}

.module-focus { background:#3468a8; }
@media(min-width:1200px) {
 .module-grid:has([data-module="focus"]),.module-grid:has([data-focus-route]) { grid-template-columns:repeat(4,224px); }
}
.focus-route{flex:1;width:100%;display:flex;flex-direction:column;min-height:0}.focus-route>.extension-view{flex:1;height:auto;min-height:0}.focus-route-error{color:var(--danger,#b42318);padding:8px 16px}
.focus-navigation{flex:1;width:100%;display:flex;flex-direction:column;min-height:0}.focus-navigation>.module-launcher{flex:1;height:auto;min-height:0}
.module-roller { background:#fff; }