:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --panel: #fff;
  --dark: #202123;
  --text: #17202a;
  --muted: #657384;
  --line: #dce2e8;
  --accent: #fb7f83;
  --accent-strong: #e85f64;
  --ok: #16a085;
  --warn-bg: #fff7e9;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

/* QR Menu platform ------------------------------------------------------- */
.qr-login, .qr-portal-shell, .qr-public-menu, .qr-public-error, .qr-public-loading { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.qr-loading { min-height: 100vh; display: grid; place-items: center; background: #f4f2eb; color: #18392b; font-weight: 800; }
.qr-kicker { color: #bd7b2a; font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.qr-primary { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 20px; border: 0; border-radius: 12px; background: #18392b; color: white; font: inherit; font-weight: 850; cursor: pointer; text-decoration: none; }
.qr-primary:hover { filter: brightness(1.08); }
.qr-login { min-height: 100vh; display: grid; grid-template-columns: 1.15fr .85fr; color: #13251d; background: #f7f4eb; }
.qr-login-brand { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(48px, 8vw, 120px); color: white; background: radial-gradient(circle at 15% 20%, #355f49, transparent 40%), linear-gradient(145deg, #14271e, #1e4935); }
.qr-login-brand h1 { max-width: 700px; margin: 20px 0; font-family: Georgia, serif; font-size: clamp(50px, 7vw, 98px); font-weight: 500; line-height: .93; letter-spacing: -.05em; }
.qr-login-brand p { max-width: 560px; margin: 0; color: #d7e5dc; font-size: 18px; line-height: 1.65; }
.qr-login-card { align-self: center; width: min(440px, calc(100% - 48px)); margin: auto; padding: 48px; border-radius: 28px; background: white; box-shadow: 0 24px 80px #18392b1f; }
.qr-mark, .qr-brand > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50% 50% 50% 12px; background: #d99a3d; color: #173427; font-family: Georgia, serif; font-size: 26px; font-weight: 900; }
.qr-login-card h2 { margin: 28px 0 6px; font-size: 32px; }
.qr-login-card > p { margin: 0 0 28px; color: #66736b; }
.qr-login-card form { display: grid; gap: 18px; }
.qr-login-card label, .qr-form-grid label { display: grid; gap: 7px; color: #34463d; font-size: 13px; font-weight: 800; }
.qr-login-card input, .qr-form-grid input, .qr-form-grid select, .qr-form-grid textarea { width: 100%; min-height: 46px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #d9ded9; border-radius: 10px; background: #fff; color: #17251e; font: inherit; }
.qr-form-grid textarea { min-height: 94px; resize: vertical; }
.qr-alert { margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; color: #8b2a2a; background: #fff0ef; font-size: 13px; }
.qr-portal-shell { min-height: 100vh; color: #1b2a23; background: #f5f6f2; }
.qr-portal-top { position: sticky; z-index: 30; top: 0; display: flex; justify-content: space-between; align-items: center; height: 72px; padding: 0 38px; border-bottom: 1px solid #dde2dc; background: #ffffffed; backdrop-filter: blur(16px); }
.qr-brand { display: flex; align-items: center; gap: 10px; color: #193529; text-decoration: none; }
.qr-brand > span { width: 36px; height: 36px; font-size: 20px; }
.qr-brand strong { font-family: Georgia, serif; font-size: 24px; }
.qr-brand small { padding-left: 8px; border-left: 1px solid #ccd5ce; color: #7c887f; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.qr-user { display: flex; align-items: center; gap: 16px; color: #526158; font-size: 13px; font-weight: 700; }
.qr-user button, .qr-back { border: 0; background: transparent; color: #526158; font: inherit; font-weight: 800; cursor: pointer; }
.qr-admin { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 64px 0 100px; }
.qr-page-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 38px; }
.qr-page-head h1 { margin: 8px 0 6px; font-family: Georgia, serif; font-size: clamp(42px, 5vw, 64px); font-weight: 500; letter-spacing: -.04em; }
.qr-page-head p { margin: 0; color: #68746c; }
.qr-notice { margin: -18px 0 28px; padding: 13px 16px; border: 1px solid #bcd4c5; border-radius: 12px; color: #1e6541; background: #edf8f0; font-weight: 750; }
.qr-admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.qr-admin-stats article { display: flex; flex-direction: column; padding: 26px; border: 1px solid #dfe3de; border-radius: 18px; background: white; }
.qr-admin-stats strong { font-family: Georgia, serif; font-size: 38px; color: #17382a; }
.qr-admin-stats span { color: #748078; font-size: 13px; }
.qr-store-list { display: grid; gap: 10px; }
.qr-store-card { display: flex; align-items: stretch; gap: 10px; }
.qr-store-card-main { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 18px; flex: 1; min-width: 0; padding: 18px 20px; border: 1px solid #dfe3de; border-radius: 16px; background: white; color: inherit; text-align: left; cursor: pointer; transition: .2s ease; }
.qr-store-card-main:hover { border-color: #bfcac1; transform: translateY(-2px); box-shadow: 0 12px 26px #21372c0d; }
.qr-store-avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: white; font-family: Georgia, serif; font-size: 24px; }
.qr-store-card-main > span:nth-child(2), .qr-store-meta { display: flex; flex-direction: column; gap: 4px; }
.qr-store-card-main small { color: #7c887f; }
.qr-store-meta { align-items: flex-end; font-size: 12px; color: #69766e; }
.qr-store-meta b { color: #23372d; font-size: 18px; }
.qr-store-delete { flex: 0 0 auto; width: 52px; border: 1px solid #f0d9d7; border-radius: 16px; background: #fff6f5; color: #a43631; font-size: 18px; cursor: pointer; transition: .2s ease; }
.qr-store-delete:hover { background: #fde9e7; border-color: #e2b3af; }
.qr-dialog-copy { color: #46554c; font-size: 14px; line-height: 1.6; }
.qr-empty { padding: 80px 24px; border: 1px dashed #cbd2cc; border-radius: 20px; text-align: center; background: #fafbf8; }
.qr-empty h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.qr-empty p { margin: 0; color: #78837b; }
.qr-dialog { width: min(680px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 22px; color: #1b2a23; box-shadow: 0 30px 100px #10251d66; }
.qr-dialog-wide { width: min(820px, calc(100% - 28px)); }
.qr-dialog::backdrop { background: #0c1d16a8; backdrop-filter: blur(4px); }
.qr-dialog form { padding: 30px; }
.qr-dialog-head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 26px; }
.qr-dialog-head h2 { margin: 3px 0 0; font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.qr-dialog-head button { border: 0; background: none; color: #69746d; font-size: 28px; cursor: pointer; }
.qr-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.qr-span-2 { grid-column: 1 / -1; }
.qr-check { display: flex !important; grid-column: 1 / -1; flex-direction: row; align-items: center; }
.qr-check input, .qr-check-grid input { width: 17px; min-height: 17px; accent-color: #193b2c; }
.qr-check-grid { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.qr-check-grid label { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 9px; background: #f1f4f0; font-size: 12px; font-weight: 750; }
.qr-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.qr-dialog-actions button { min-height: 42px; padding: 0 17px; border: 0; border-radius: 10px; font: inherit; font-weight: 800; cursor: pointer; }
.qr-danger { margin-right: auto; color: #a43631; background: #fff0ef; }
.qr-image-picker { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding: 16px; border: 1px solid #d9ded9; border-radius: 14px; background: #fafbf8; }
.qr-image-preview { display: grid; place-items: center; min-height: 135px; overflow: hidden; border-radius: 12px; color: #7b867f; background: #e9eee9; font-size: 13px; }
.qr-image-preview img { width: 100%; height: 100%; min-height: 135px; max-height: 170px; object-fit: cover; }
.qr-image-picker-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 7px; }
.qr-image-picker-copy > small { color: #718078; font-weight: 500; line-height: 1.45; }
.qr-image-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 5px; }
.qr-image-actions button, .qr-upload-button { display: inline-flex !important; align-items: center; min-height: 36px; box-sizing: border-box; padding: 0 11px; border: 1px solid #ced7d0; border-radius: 9px; color: #284638; background: white; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.qr-image-actions button:disabled { opacity: .55; cursor: wait; }
.qr-image-status { min-height: 18px; color: #426c56; font-size: 12px; font-weight: 700; }
.qr-media-dialog-inner { padding: 30px; }
.qr-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-height: 60vh; overflow-y: auto; }
.qr-media-grid > button { overflow: hidden; padding: 0; border: 1px solid #dce2dd; border-radius: 13px; color: #32493d; background: #fff; text-align: left; cursor: pointer; }
.qr-media-grid > button:hover { border-color: #859d8e; box-shadow: 0 8px 22px #17382914; }
.qr-media-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #edf1ed; }
.qr-media-grid span { display: block; overflow: hidden; padding: 9px 10px; font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.qr-commercial { margin: 56px 0; padding: 34px; border: 1px solid #dce3dd; border-radius: 22px; background: #fff; }
.qr-renew { display: flex; align-items: center; gap: 8px; color: #496052; font-size: 13px; font-weight: 800; }
.qr-renew input { width: 18px; height: 18px; accent-color: var(--qr-primary); }
.qr-analytics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.qr-analytics-grid article { display: flex; flex-direction: column; padding: 19px; border-radius: 15px; background: #f2f5f1; }
.qr-analytics-grid strong { color: #17382a; font-family: Georgia, serif; font-size: 32px; }
.qr-analytics-grid span { color: #718078; font-size: 11px; }
.qr-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qr-plan-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid #dfe4df; border-radius: 17px; background: #fff; }
.qr-plan-card.selected { border-color: var(--qr-accent); background: #fffbf2; }
.qr-plan-card > span { color: #9b6b27; font-size: 9px; font-weight: 950; letter-spacing: .13em; }
.qr-plan-card h3 { margin: 10px 0 6px; font-size: 22px; }
.qr-plan-card p { min-height: 54px; margin: 0; color: #718078; font-size: 12px; line-height: 1.5; }
.qr-plan-card > strong { margin-top: 16px; color: #1b4733; }
.qr-plan-card ul { flex: 1; padding-left: 18px; color: #53665b; font-size: 12px; line-height: 1.8; }
.qr-plan-card button { min-height: 38px; border: 0; border-radius: 9px; color: white; background: var(--qr-primary); font-weight: 800; cursor: pointer; }
.qr-commercial-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 18px; border-radius: 14px; background: #f3f6f2; }
.qr-offer-schedule { padding: 17px; border: 1px solid #e0e4df; border-radius: 14px; background: #fbfcfa; }
.qr-offer-schedule > strong { display: block; margin-bottom: 13px; }
.qr-offer-schedule > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.qr-offer-schedule fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 10px; border: 0; border-top: 1px solid #e1e5e1; }
.qr-offer-schedule legend { color: #5e6f65; font-size: 11px; font-weight: 800; }
.qr-offer-schedule fieldset label { display: flex; align-items: center; gap: 4px; font-size: 11px; }
.qr-offer-schedule fieldset input { width: 15px; min-height: 15px; }
.qr-offer-schedule .qr-check { margin-bottom: 4px; }
.qr-schedule-body { margin-top: 4px; }
.qr-schedule-ranges { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.qr-schedule-range-row { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 10px; }
.qr-schedule-range-row label { display: grid; gap: 6px; color: #5e6f65; font-size: 11px; font-weight: 700; }
.qr-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; min-height: 38px; border: 1px solid #e0e4df; border-radius: 10px; color: #a43631; background: #fff0ef; font-size: 15px; cursor: pointer; }
.qr-menu-product { position: relative; }
.qr-promo-badge { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 6px 9px; border-radius: 999px; color: #fff; background: #be4638; font-size: 10px; box-shadow: 0 5px 14px #56160f2e; }
.qr-product-title strong { display: flex; flex-direction: column; align-items: flex-end; }
.qr-product-title del { color: #9a8179; font-size: 11px; font-weight: 500; }
.qr-workspace { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: calc(100vh - 72px); }
.qr-workspace-side { position: sticky; top: 72px; align-self: start; display: flex; flex-direction: column; min-height: calc(100vh - 72px); box-sizing: border-box; padding: 28px 20px; border-right: 1px solid #dee3de; background: white; }
.qr-back { align-self: start; margin-bottom: 28px; }
.qr-side-store { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; padding: 14px; border-radius: 14px; background: #f1f5f1; }
.qr-side-store > span { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; color: white; background: var(--qr-primary); font-family: Georgia, serif; font-size: 21px; }
.qr-side-store div { min-width: 0; display: flex; flex-direction: column; }
.qr-side-store strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qr-side-store small { color: #678072; }
.qr-workspace-side nav { display: grid; gap: 5px; }
.qr-workspace-side nav a { padding: 11px 13px; border-radius: 9px; color: #65736a; font-weight: 750; text-decoration: none; }
.qr-workspace-side nav a:hover, .qr-workspace-side nav a.active { color: var(--qr-primary); background: #eff4f0; }
.qr-public-link { margin-top: auto; padding: 13px; border-radius: 10px; color: white; background: var(--qr-primary); font-size: 13px; font-weight: 800; text-align: center; text-decoration: none; }
.qr-workspace-main { width: min(960px, calc(100% - 56px)); margin: 0 auto; padding: 56px 0 100px; }
.qr-editor-section { margin-bottom: 20px; border: 1px solid #dfe4df; border-radius: 18px; background: white; overflow: hidden; }
.qr-editor-section-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; border-bottom: 1px solid #e5e9e5; }
.qr-editor-section-head h3 { margin: 0 0 3px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.qr-editor-section-head span { color: #7c877f; font-size: 12px; }
.qr-editor-section-head > div:last-child { display: flex; gap: 8px; }
.qr-editor-section-head button, .qr-product-admin button { padding: 8px 11px; border: 1px solid #d8ded9; border-radius: 8px; color: #425349; background: white; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.qr-product-admin-list { display: grid; }
.qr-product-admin { display: grid; grid-template-columns: 52px minmax(150px, 1fr) 90px 100px auto; align-items: center; gap: 16px; padding: 13px 20px; border-bottom: 1px solid #edf0ed; }
.qr-product-admin:last-child { border-bottom: 0; }
.qr-product-admin.muted { opacity: .55; }
.qr-product-admin img, .qr-product-placeholder { width: 50px; height: 50px; border-radius: 11px; object-fit: cover; }
.qr-product-placeholder { display: grid; place-items: center; color: #8c967f; background: #f0f2ea; font-family: Georgia, serif; font-size: 20px; }
.qr-product-admin > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.qr-product-admin small { overflow: hidden; color: #7a857d; text-overflow: ellipsis; white-space: nowrap; }
.qr-product-admin > b { color: var(--qr-primary); }
.qr-status { color: #5f7668; font-size: 11px; font-weight: 800; }
.qr-inline-empty { padding: 22px; color: #879087; text-align: center; }
.qr-settings-card, .qr-qr-card { margin-top: 70px; padding: 28px; border: 1px solid #dfe4df; border-radius: 20px; background: white; }
.qr-settings-card > div:first-child { margin-bottom: 24px; }
.qr-settings-card h2, .qr-qr-card h2 { margin: 5px 0 0; font-family: Georgia, serif; font-size: 32px; font-weight: 500; }
.qr-qr-card { display: grid; grid-template-columns: 1fr 250px; align-items: center; gap: 40px; color: white; background: var(--qr-primary); }
.qr-qr-card p { color: #d8e2dc; }
.qr-qr-card code { display: block; margin: 18px 0; padding: 11px 13px; border-radius: 9px; color: #d9e5dc; background: #ffffff12; overflow-wrap: anywhere; }
.qr-qr-card .qr-primary { color: #1b3428; background: var(--qr-accent); }
.qr-qr-card img { width: 100%; border-radius: 16px; background: white; }
.qr-sync-badge { display: inline-flex; align-items: center; margin-left: 6px; padding: 3px 7px; border-radius: 20px; color: #256746; background: #e6f4ea; font: 800 9px/1.2 Inter, sans-serif; text-transform: uppercase; vertical-align: middle; }
.qr-marketplace { margin-top: 70px; scroll-margin-top: 90px; }
.qr-marketplace-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 22px; }
.qr-marketplace-head h2 { margin: 6px 0 7px; font: 500 36px Georgia, serif; letter-spacing: -.025em; }
.qr-marketplace-head p { margin: 0; color: #6d7971; }
.qr-marketplace-count { flex: 0 0 auto; padding: 7px 11px; border-radius: 20px; color: #486254; background: #e8eee9; font-size: 11px; font-weight: 850; }
.qr-connectors { display: grid; gap: 14px; }
.qr-connector-card { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: start; gap: 18px; padding: 24px; border: 1px solid #dce2dc; border-radius: 20px; background: white; overflow: hidden; }
.qr-connector-card.connected { border-color: #a9cfb8; box-shadow: inset 4px 0 #2f8859; }
.qr-connector-card.coming-soon { opacity: .68; }
.qr-connector-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; color: white; background: #53645a; font-size: 22px; font-weight: 950; }
.qr-connector-icon.kivio { color: #132f23; background: linear-gradient(145deg, #e7ae52, #f4d184); }
.qr-connector-icon.orexsys { color: white; background: linear-gradient(145deg, #4b52ad, #8187de); }
.qr-connector-icon.pegasus-estiasi { color: white; background: linear-gradient(145deg, #2365a7, #42a0c8); }
.qr-connector-icon.kalypso-restaurant { color: white; background: linear-gradient(145deg, #5941a8, #9b62c7); }
.qr-connector-icon.joinpos { color: white; background: linear-gradient(145deg, #d54431, #ee8a43); }
.qr-connector-copy { min-width: 0; }
.qr-connector-title { display: flex; justify-content: space-between; gap: 16px; }
.qr-connector-title span { color: #8b958e; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.qr-connector-title h3 { margin: 2px 0 0; font: 500 25px Georgia, serif; }
.qr-connector-title > b { align-self: start; color: #7a857e; font-size: 11px; }
.qr-connected-dot { color: #29784d !important; }
.qr-connected-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #36a568; }
.qr-connector-copy > p { max-width: 640px; margin: 10px 0 18px; color: #6c7870; font-size: 13px; line-height: 1.55; }
.qr-capabilities { display: flex; flex-wrap: wrap; gap: 5px; margin: -8px 0 16px; }
.qr-capabilities span { padding: 4px 7px; border-radius: 14px; color: #647169; background: #f0f3f0; font-size: 9px; font-weight: 800; }
.qr-private-api { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 14px; border: 1px solid #d8daf1; border-radius: 12px; background: #f5f5fc; }
.qr-private-api > div { display: flex; flex-direction: column; gap: 3px; }
.qr-private-api strong { color: #454b92; font-size: 12px; }
.qr-private-api small { color: #71758c; font-size: 10px; }
.qr-private-api a { flex: 0 0 auto; padding: 9px 11px; border-radius: 9px; color: white; background: #545bb1; font-size: 10px; font-weight: 850; text-decoration: none; }
.qr-private-actions { display: flex; flex: 0 0 auto; gap: 7px; }
.qr-private-api a.secondary { color: #545bb1; background: white; box-shadow: inset 0 0 0 1px #c7cae8; }
.qr-price-pill { padding: 7px 10px; border-radius: 18px; color: #65501f; background: #fff4d8; font-size: 10px; font-weight: 900; white-space: nowrap; }
.qr-bridge-form { display: flex; align-items: end; gap: 10px; padding: 14px; border-radius: 12px; background: #f4f6f3; }
.qr-bridge-form label { flex: 1; display: grid; gap: 5px; color: #526158; font-size: 11px; font-weight: 850; }
.qr-bridge-form select { min-height: 40px; padding: 0 10px; border: 1px solid #d7ded8; border-radius: 8px; color: #26372e; background: white; font: inherit; }
.qr-bridge-form .qr-primary { min-height: 40px; font-size: 12px; }
.qr-sync-status { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 12px; padding: 12px 14px; border: 1px solid #e0e5e1; border-radius: 11px; }
.qr-sync-status > span { display: flex; flex: 1; min-width: 160px; flex-direction: column; gap: 2px; color: #78837c; font-size: 10px; }
.qr-sync-status > span b { color: #3d4e44; font-size: 11px; }
.qr-sync-status label { display: flex; align-items: center; gap: 6px; color: #526158; font-size: 11px; font-weight: 800; }
.qr-sync-status input { accent-color: #2f8859; }
.qr-sync-status button { padding: 7px 10px; border: 1px solid #ccd6cf; border-radius: 8px; color: #2d5941; background: white; font: inherit; font-size: 11px; font-weight: 850; cursor: pointer; }

/* Public menu */
.qr-public-loading, .qr-public-error { min-height: 100vh; display: grid; place-content: center; justify-items: center; color: white; background: #173629; text-align: center; }
.qr-public-loading span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50% 50% 50% 16px; color: #173629; background: #d99a3d; font: 900 34px Georgia, serif; }
.qr-public-error span { color: #d99a3d; font-size: 13px; font-weight: 900; letter-spacing: .2em; }
.qr-public-error h1 { margin: 12px 0; font: 500 40px Georgia, serif; }
.qr-public-menu { min-height: 100vh; color: #213027; background: #f7f4ec; }
.qr-menu-hero { position: relative; min-height: min(74vh, 720px); display: flex; flex-direction: column; overflow: hidden; color: white; background: radial-gradient(circle at 75% 25%, color-mix(in srgb, var(--menu-accent) 42%, transparent), transparent 35%), linear-gradient(135deg, var(--menu-primary), #0e1d17); }
.qr-menu-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qr-menu-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #08110c66 0%, #08110c14 40%, #08110cbd 100%); }
.qr-menu-top, .qr-menu-intro { position: relative; z-index: 2; width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.qr-menu-top { display: flex; justify-content: space-between; padding-top: 28px; }
.qr-menu-logo { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid #ffffff4d; border-radius: 50% 50% 50% 18px; color: var(--menu-primary); background: var(--menu-accent); font: 900 30px Georgia, serif; overflow: hidden; }
.qr-menu-logo img { width: 100%; height: 100%; object-fit: cover; }
.qr-language { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid #ffffff38; border-radius: 24px; background: #0d1d1775; backdrop-filter: blur(10px); }
.qr-language button { width: 42px; height: 34px; border: 0; border-radius: 18px; color: #d9e4dc; background: transparent; font: inherit; font-size: 11px; font-weight: 900; cursor: pointer; }
.qr-language button.active { color: #173126; background: white; }
.qr-menu-intro { margin-top: auto; padding-bottom: 70px; }
.qr-menu-intro > span { color: var(--menu-accent); font-size: 11px; font-weight: 900; letter-spacing: .24em; }
.qr-menu-intro h1 { max-width: 900px; margin: 10px 0 12px; font-family: Georgia, serif; font-size: clamp(58px, 10vw, 118px); font-weight: 500; line-height: .88; letter-spacing: -.06em; }
.qr-menu-intro p { max-width: 620px; margin: 0; color: #e1e8e3; font-size: clamp(17px, 2vw, 23px); }
.qr-menu-sticky { position: sticky; z-index: 20; top: 0; display: grid; gap: 12px; padding: 14px max(24px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid #ddd9ce; background: #f7f4ecf2; backdrop-filter: blur(18px); }
.qr-menu-sticky label { display: flex; align-items: center; gap: 10px; max-width: 440px; padding: 0 14px; border: 1px solid #d8d6cd; border-radius: 24px; background: white; }
.qr-menu-sticky input { flex: 1; height: 42px; border: 0; outline: 0; background: transparent; font: inherit; }
.qr-menu-sticky nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.qr-menu-sticky nav a { flex: 0 0 auto; padding: 8px 14px; border-radius: 20px; color: #59665e; background: #ebe9e1; font-size: 12px; font-weight: 800; text-decoration: none; }
.qr-menu-body { width: min(1120px, calc(100% - 48px)); margin: auto; padding: 50px 0 110px; }
.qr-menu-description { max-width: 780px; margin: 0 0 62px; color: #657068; font: 20px/1.7 Georgia, serif; }
.qr-menu-section { padding: 45px 0; border-top: 1px solid #d7d5cc; scroll-margin-top: 120px; }
.qr-menu-section > header { display: grid; grid-template-columns: 52px 1fr; gap: 12px; margin-bottom: 28px; }
.qr-menu-section > header > span { padding-top: 9px; color: var(--menu-accent); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.qr-menu-section h2 { margin: 0; color: var(--menu-primary); font: 500 clamp(38px, 5vw, 62px)/1 Georgia, serif; letter-spacing: -.035em; }
.qr-menu-section header p { max-width: 620px; margin: 10px 0 0; color: #7a817b; }
.qr-menu-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-left: 64px; }
.qr-menu-product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-height: 160px; padding: 20px; border: 1px solid #dedcd3; border-radius: 16px; background: #fbfaf6; }
.qr-menu-product:has(img) { grid-template-columns: 132px minmax(0, 1fr); }
.qr-menu-product.featured { border-color: color-mix(in srgb, var(--menu-accent) 55%, #dedcd3); background: color-mix(in srgb, var(--menu-accent) 8%, #fbfaf6); }
.qr-menu-product > img { width: 132px; height: 132px; border-radius: 12px; object-fit: cover; }
.qr-product-copy { min-width: 0; display: flex; flex-direction: column; }
.qr-product-title { display: flex; justify-content: space-between; gap: 14px; }
.qr-product-title h3 { margin: 0; font: 500 22px/1.12 Georgia, serif; }
.qr-product-title strong { flex: 0 0 auto; color: var(--menu-primary); }
.qr-product-copy > p { margin: 10px 0; color: #6b746e; font-size: 13px; line-height: 1.55; }
.qr-product-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; }
.qr-product-tags span { padding: 5px 8px; border-radius: 20px; color: var(--menu-primary); background: #e8eee9; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.qr-product-tags small { flex-basis: 100%; color: #8c908c; font-size: 10px; }
.qr-empty-search { padding: 80px 0; text-align: center; }
.qr-public-menu footer { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 70px 24px 36px; color: #d8e1dc; background: var(--menu-primary); text-align: center; }
.qr-public-menu footer .small { width: 48px; height: 48px; margin-bottom: 10px; font-size: 22px; }
.qr-public-menu footer strong { font: 500 28px Georgia, serif; }
.qr-public-menu footer span, .qr-public-menu footer a { color: #c7d2cb; font-size: 13px; text-decoration: none; }
.qr-public-menu footer small { margin-top: 26px; color: #8fa397; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 860px) {
  .qr-login { grid-template-columns: 1fr; }
  .qr-login-brand { min-height: 48vh; padding: 44px 28px; }
  .qr-login-card { margin: 32px auto; padding: 30px; }
  .qr-workspace { display: block; }
  .qr-workspace-side { position: static; min-height: auto; border-right: 0; border-bottom: 1px solid #dfe4df; }
  .qr-workspace-side nav { grid-template-columns: repeat(3, 1fr); }
  .qr-public-link { margin-top: 18px; }
  .qr-product-admin { grid-template-columns: 48px minmax(120px, 1fr) auto; }
  .qr-product-admin > .qr-status { display: none; }
  .qr-product-admin > button { grid-column: 2 / -1; justify-self: end; }
  .qr-menu-products { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .qr-portal-top { height: 64px; padding: 0 16px; }
  .qr-brand small, .qr-user span { display: none; }
  .qr-admin, .qr-workspace-main { width: calc(100% - 28px); padding-top: 34px; }
  .qr-page-head { align-items: stretch; flex-direction: column; }
  .qr-page-head .qr-primary { align-self: stretch; }
  .qr-admin-stats { grid-template-columns: 1fr; }
  .qr-store-card-main { grid-template-columns: 46px 1fr; padding: 14px; }
  .qr-store-avatar { width: 44px; height: 44px; }
  .qr-store-meta { grid-column: 2; flex-direction: row; align-items: center; }
  .qr-store-delete { width: 44px; }
  .qr-form-grid { grid-template-columns: 1fr; }
  .qr-image-picker { grid-template-columns: 1fr; }
  .qr-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qr-analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .qr-plans { grid-template-columns: 1fr; }
  .qr-commercial-settings, .qr-offer-schedule > div { grid-template-columns: 1fr; }
  .qr-span-2 { grid-column: 1; }
  .qr-workspace-side { padding: 18px 14px; }
  .qr-side-store { margin-bottom: 12px; }
  .qr-workspace-side nav a { text-align: center; }
  .qr-product-admin { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; padding: 12px; }
  .qr-product-admin img, .qr-product-placeholder { width: 42px; height: 42px; }
  .qr-product-admin > b { font-size: 13px; }
  .qr-settings-card, .qr-qr-card { padding: 20px; }
  .qr-qr-card { grid-template-columns: 1fr; }
  .qr-qr-card img { width: 200px; justify-self: center; }
  .qr-marketplace-head { align-items: start; flex-direction: column; gap: 12px; }
  .qr-connector-card { grid-template-columns: 52px minmax(0, 1fr); padding: 17px; }
  .qr-connector-icon { width: 50px; height: 50px; }
  .qr-price-pill { position: absolute; top: 16px; right: 16px; }
  .qr-connector-title { padding-right: 78px; }
  .qr-bridge-form { align-items: stretch; flex-direction: column; }
  .qr-menu-hero { min-height: 68vh; }
  .qr-menu-top, .qr-menu-intro, .qr-menu-body { width: calc(100% - 32px); }
  .qr-menu-intro { padding-bottom: 42px; }
  .qr-menu-sticky { padding: 11px 16px; }
  .qr-menu-sticky label { max-width: none; }
  .qr-menu-body { padding-top: 34px; }
  .qr-menu-description { margin-bottom: 38px; font-size: 17px; }
  .qr-menu-section { padding: 34px 0; }
  .qr-menu-section > header { grid-template-columns: 34px 1fr; }
  .qr-menu-products { margin-left: 0; }
  .qr-menu-product:has(img) { grid-template-columns: 88px minmax(0, 1fr); padding: 13px; }
  .qr-menu-product > img { width: 88px; height: 100%; min-height: 105px; }
  .qr-product-title h3 { font-size: 19px; }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

#app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

#app:has(> .qr-login),
#app:has(> .qr-portal-shell),
#app:has(> .qr-public-menu),
#app:has(> .qr-public-error),
#app:has(> .qr-public-loading),
#app:has(> .qr-loading) {
  display: block;
  grid-template-columns: none;
}

.sidebar {
  background: var(--dark);
  color: #fff;
  padding: 22px 16px;
}

.brand {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand strong { font-size: 24px; }
.brand span { color: #cdd3da; }

.nav {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.nav-section {
  display: grid;
  gap: 5px;
}

.nav-heading {
  color: #8f9aa8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 7px 10px 2px;
}

.nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  background: transparent;
  color: #cdd3da;
  text-align: left;
  font-weight: 800;
}

.nav button small {
  min-width: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 2px 7px;
  text-align: center;
  font-size: 11px;
}

.nav button.active,
.nav button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.qr-sidebar-launch { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 12px; border: 1px solid #ffffff1f; border-radius: 10px; color: white; background: #ffffff0c; text-decoration: none; }
.qr-sidebar-launch > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: #202123; background: #d99a3d; font-size: 11px; font-weight: 950; }
.qr-sidebar-launch > div { display: flex; flex-direction: column; gap: 2px; }
.qr-sidebar-launch strong { font-size: 13px; }
.qr-sidebar-launch small { color: #aeb7c1; font-size: 10px; }

.main {
  min-width: 0;
  padding: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

h1,
h2,
p { margin-top: 0; }

h1 { margin-bottom: 4px; }
h2 { margin-bottom: 0; font-size: 18px; }
p { color: var(--muted); }

.refresh-button,
.secondary-button,
form button,
.pos-actions button,
.panel-header button,
.extras-strip button {
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  min-height: 40px;
  padding: 0 14px;
  font-weight: 900;
}

.secondary-button {
  background: #eef2f6;
  color: var(--text);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.notice {
  border: 1px solid #ffd08a;
  background: var(--warn-bg);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-weight: 800;
}

.metrics,
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.module-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.module-home button {
  display: grid;
  gap: 8px;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 16px;
  text-align: left;
}

.module-home button strong {
  font-size: 18px;
}

.module-home button span {
  color: var(--muted);
}

.module-home button:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.08);
}

.metric-card,
.panel,
.error-screen,
.loading {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.metric-card {
  display: grid;
  gap: 8px;
}

.metric-card span,
.metric-card small { color: var(--muted); }
.metric-card strong { font-size: 30px; }

.panel {
  margin-top: 14px;
  overflow: hidden;
}

.module-grid .panel { margin-top: 0; }

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.form-row,
.form-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.form-row {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 8px 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip,
.badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.chip button {
  border: 0;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--text);
  margin-left: 6px;
  min-height: 24px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
}

.badge.ok { color: var(--ok); }
.badge.off { color: var(--muted); }

.tree {
  display: grid;
  gap: 10px;
}

.tree-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.tree-subgroup {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 8px;
}

.tree-subgroup span {
  font-weight: 900;
}

.tree-subgroup small {
  color: var(--muted);
}

.chip .row-actions {
  display: inline-flex;
  margin-left: 8px;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.row-actions button,
.draft-line button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--text);
  min-height: 30px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
}

.hidden { display: none !important; }

/* The dedicated POS surface is isolated from the Backoffice grid and visual language. */
.pos-app-shell {
  grid-column: 1 / -1;
  min-width: 0;
  min-height: 100vh;
  background: #111315;
  color: #f7f8f9;
}

.pos-app-header {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #303439;
  padding: 10px 20px;
  background: #181b1e;
}

.pos-brand-lockup,
.pos-brand-lockup > div,
.pos-session-context {
  display: grid;
}

.pos-brand-lockup {
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
}

.pos-brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fb7f83;
  color: #181b1e;
  font-size: 23px;
  font-weight: 950;
}

.pos-brand-lockup strong { font-size: 17px; }
.pos-brand-lockup small,
.pos-session-context span { color: #939ba4; font-size: 12px; }

.pos-session-context {
  justify-items: center;
  gap: 2px;
}

.pos-shell-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.pos-shell-actions button,
.pos-summary-tabs button,
.pos-document-actions button,
.pos-cart-actions button {
  min-height: 40px;
  border: 1px solid #3a3f45;
  border-radius: 7px;
  padding: 0 13px;
  background: #24282c;
  color: #f7f8f9;
  font-weight: 850;
}

.pos-notice {
  border-bottom: 1px solid #6b5730;
  padding: 9px 20px;
  background: #332d20;
  color: #ffe0a1;
  font-weight: 800;
}

.pos-overview {
  height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(310px, 30%) minmax(0, 1fr);
  overflow: hidden;
}

.pos-table-summary {
  display: grid;
  grid-template-rows: auto auto minmax(80px, 1fr) auto auto;
  min-height: 0;
  border-right: 1px solid #303439;
  padding: 16px;
  background: #181b1e;
}

.pos-summary-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.pos-summary-tabs button.active {
  border-color: #fb7f83;
  background: #fb7f83;
  color: #17191c;
}

.pos-summary-heading,
.pos-workspace-toolbar,
.pos-catalog-toolbar,
.pos-cart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pos-summary-heading {
  padding: 18px 2px 12px;
}

.pos-summary-heading span,
.pos-workspace-toolbar span,
.pos-catalog-toolbar > div > span,
.pos-cart-heading span,
.pos-extras-panel header span {
  color: #8f98a2;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.pos-summary-heading h2,
.pos-workspace-toolbar h1,
.pos-catalog-toolbar h1,
.pos-cart-heading h2 {
  margin: 3px 0 0;
}

.pos-summary-heading > strong {
  color: #fb7f83;
  font-size: 22px;
}

.pos-summary-scroll,
.pos-cart-lines,
.pos-menu-grid {
  min-height: 0;
  overflow: auto;
}

.pos-order-card {
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid #353a40;
  border-radius: 7px;
  background: #202428;
}

.pos-order-card header,
.pos-order-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 10px;
}

.pos-order-card header {
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid #353a40;
  background: #282d32;
}

.pos-order-line + .pos-order-line { border-top: 1px solid #30353a; }
.pos-order-line.paid { opacity: 0.52; }
.pos-order-line.paid b { text-decoration: line-through; }
.pos-order-line input { width: 18px; min-height: 18px; margin: 2px 0 0; accent-color: #fb7f83; }
.pos-order-line span { display: grid; gap: 4px; }
.pos-order-line small { color: #aeb6bf; }

.pos-empty-state {
  min-height: 120px;
  display: grid;
  place-content: center;
  gap: 5px;
  color: #e8eaed;
  text-align: center;
}

.pos-empty-state span,
.pos-no-extras { color: #858e98; }
.pos-empty-state.wide { grid-column: 1 / -1; min-height: 240px; }

.pos-table-totals,
.pos-cart-totals,
.pos-turnover-list {
  display: grid;
  gap: 7px;
  border-top: 1px solid #303439;
  padding: 12px 2px;
}

.pos-table-totals div,
.pos-cart-totals div,
.pos-turnover-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #aab1b9;
  font-size: 13px;
}

.pos-table-totals strong,
.pos-cart-totals strong,
.pos-turnover-list strong { color: #fff; }

.pos-table-totals .grand,
.pos-cart-totals .grand,
.pos-turnover-list .total {
  margin-top: 3px;
  border-top: 1px solid #41474d;
  padding-top: 9px;
  color: #fff;
  font-size: 18px;
}

.pos-table-totals .grand strong,
.pos-cart-totals .grand strong { color: #fb7f83; }

.pos-document-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.pos-document-actions .primary,
.pos-cart-actions .primary {
  border-color: #45b7e8;
  background: #45b7e8;
  color: #101417;
}

.pos-document-actions > .primary { grid-column: 1 / -1; }
.pos-payment-row { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.pos-payment-row select { border-color: #3a3f45; background: #24282c; color: #fff; }

.pos-tables-workspace,
.pos-catalog {
  min-width: 0;
  min-height: 0;
  background: #f5f6f8;
  color: #171b20;
}

.pos-tables-workspace {
  overflow: auto;
  padding: 18px 20px 24px;
}

.pos-area-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid #dadddf;
  padding-bottom: 14px;
}

.pos-area-tabs button {
  min-height: 42px;
  min-width: 105px;
  border: 1px solid #d5d9de;
  border-radius: 7px;
  padding: 0 16px;
  background: #fff;
  color: #4d5864;
  font-weight: 900;
  white-space: nowrap;
}

.pos-area-tabs button.active {
  border-color: #fb7f83;
  background: #fb7f83;
  color: #15181b;
}

.pos-workspace-toolbar,
.pos-catalog-toolbar { padding: 18px 0; }

.pos-workspace-toolbar h1,
.pos-catalog-toolbar h1 { font-size: 25px; }

.pos-search {
  width: min(340px, 48%);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9dde2;
  border-radius: 7px;
  padding: 0 11px;
  background: #fff;
}

.pos-search > span { color: #737d88; font-size: 22px; }
.pos-search input { min-height: 42px; border: 0; padding: 0; background: transparent; }
.pos-search input:focus { outline: 0; }

.pos-table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}

.pos-table-tile {
  position: relative;
  min-height: 132px;
  display: grid;
  align-content: space-between;
  border: 1px solid #d8dce1;
  border-radius: 7px;
  padding: 15px;
  background: #fff;
  color: #1b2127;
  text-align: left;
  box-shadow: 0 4px 12px rgba(22, 28, 35, 0.05);
}

.pos-table-tile:hover { border-color: #9aa3ad; }
.pos-table-tile.open { border-color: #f0ab64; background: #fff8ef; }
.pos-table-tile.selected { outline: 3px solid rgba(251, 127, 131, 0.42); }
.pos-table-tile span { font-size: 17px; font-weight: 950; }
.pos-table-tile strong { align-self: end; color: #e85f64; font-size: 22px; }
.pos-table-tile small { color: #818a94; font-weight: 800; }

.pos-table-tile i {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #18a886;
}

.pos-order-workspace {
  height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 34%);
  grid-template-rows: minmax(0, 1fr) 60px;
  overflow: hidden;
}

.pos-catalog {
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) minmax(170px, 36%);
  padding: 0 18px;
}

.pos-catalog-toolbar > div { position: relative; padding-left: 0; }
.pos-catalog-toolbar > div:has(.pos-back-button) { padding-left: 48px; }

.pos-back-button {
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border: 1px solid #d5d9de;
  border-radius: 7px;
  background: #fff;
  color: #20252a;
  font-size: 20px;
}

.pos-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  align-content: start;
  gap: 10px;
  padding: 2px 3px 14px;
}

.pos-category-card,
.pos-product-card {
  min-height: 92px;
  display: grid;
  align-content: space-between;
  border: 1px solid #d7dbe0;
  border-radius: 7px;
  padding: 13px;
  color: #181c20;
  text-align: left;
  box-shadow: 0 3px 9px rgba(25, 30, 36, 0.05);
}

.pos-category-card span,
.pos-product-card span { font-size: 15px; font-weight: 950; }
.pos-category-card small,
.pos-product-card small { color: #5f6872; }
.pos-category-card.tone-0 { background: #dcdcff; }
.pos-category-card.tone-1 { background: #f8d8f3; }
.pos-category-card.tone-2 { background: #d9efea; }
.pos-category-card.tone-3 { background: #d5effc; }
.pos-category-card.tone-4 { background: #ffe0df; }

.pos-product-card { background: #fff; }
.pos-product-card:hover { border-color: #fb7f83; }
.pos-product-card strong { color: #e85f64; font-size: 17px; }

.pos-extras-panel {
  min-height: 0;
  overflow: auto;
  border-top: 1px solid #d9dde2;
  padding: 14px 2px 18px;
}

.pos-extras-panel header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pos-extras-panel header div { display: grid; gap: 2px; }
.pos-extras-panel header > small { color: #7b8490; }
.pos-extras-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 8px; }

.pos-extras-grid button {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid #d6dbe0;
  border-radius: 7px;
  padding: 8px 10px;
  background: #fff;
  color: #20252a;
  text-align: left;
  font-weight: 850;
}

.pos-extras-grid button > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9edf0;
}

.pos-extras-grid button strong { grid-column: 2; color: #e85f64; font-size: 12px; }
.pos-extras-grid button.selected { border-color: #fb7f83; background: #fff0f1; }
.pos-extras-grid button.selected > span { background: #fb7f83; color: #17191b; }

.pos-cart {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(100px, 1fr) auto auto;
  border-left: 1px solid #303439;
  padding: 16px;
  background: #181b1e;
}

.pos-cart-heading {
  border-bottom: 1px solid #303439;
  padding-bottom: 12px;
}

.pos-cart-heading > strong {
  border-radius: 999px;
  padding: 6px 9px;
  background: #2b3035;
  font-size: 12px;
}

.pos-cart-lines { padding: 12px 2px; }

.pos-cart-line {
  margin-bottom: 8px;
  border: 1px solid #353a40;
  border-radius: 7px;
  padding: 11px;
  background: #22262a;
  cursor: pointer;
}

.pos-cart-line.active { border-color: #fb7f83; background: #2b2629; }
.pos-cart-line-title { display: flex; justify-content: space-between; gap: 10px; }
.pos-cart-line > small { display: block; margin-top: 5px; color: #b2bac2; }

.pos-quantity {
  display: grid;
  grid-template-columns: 34px 30px 34px 1fr;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.pos-quantity button {
  min-height: 32px;
  border: 1px solid #434950;
  border-radius: 6px;
  background: #2e3338;
  color: #fff;
  font-weight: 900;
}

.pos-quantity span { text-align: center; font-weight: 900; }
.pos-quantity .remove { justify-self: end; padding: 0 10px; color: #ff999d; }

.pos-cart-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; }

.pos-open-table-dock {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  border-top: 1px solid #303439;
  padding: 8px 16px;
  background: #181b1e;
}

.pos-open-table-dock > span {
  min-width: max-content;
  color: #8f98a2;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.pos-open-table-dock button {
  min-width: 100px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #3b4147;
  border-radius: 7px;
  padding: 0 10px;
  background: #252a2e;
  color: #fff;
  font-weight: 850;
}

.pos-open-table-dock button small { color: #64d4ad; }

.kitchen-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.kitchen-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.kitchen-toolbar h1 { margin: 3px 0 0; }
.kitchen-toolbar button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.kitchen-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
  gap: 14px;
}

.kitchen-lane {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #eef1f4;
}

.kitchen-lane > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.kitchen-lane > header span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.kitchen-lane > header strong {
  min-width: 30px;
  border-radius: 999px;
  padding: 5px 8px;
  background: #202428;
  color: #fff;
  text-align: center;
}

.kitchen-tickets { display: grid; gap: 9px; }

.kitchen-ticket {
  border: 1px solid #d9dde2;
  border-left: 5px solid #f0ad55;
  border-radius: 7px;
  padding: 12px;
  background: #fff;
}

.kitchen-ticket.status-preparing { border-left-color: #45b7e8; }
.kitchen-ticket.status-ready { border-left-color: #18a886; }
.kitchen-ticket-meta,
.kitchen-ticket-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.kitchen-ticket-meta span { color: var(--muted); font-size: 12px; }
.kitchen-ticket h3 { margin: 14px 0 5px; font-size: 18px; }
.kitchen-ticket p { margin: 3px 0; font-size: 13px; }
.kitchen-ticket-status { margin-top: 13px; border-top: 1px solid var(--line); padding-top: 10px; }
.kitchen-ticket-status > span { color: var(--muted); font-size: 12px; font-weight: 900; }
.kitchen-ticket-status button {
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  padding: 0 12px;
  background: #202428;
  color: #fff;
  font-weight: 900;
}

.details-row td {
  color: var(--muted);
  background: #f8fafc;
  font-size: 13px;
}

.document-details {
  display: grid;
  gap: 6px;
}

.document-details strong {
  color: var(--text);
  margin-top: 4px;
}

pre {
  white-space: pre-wrap;
  margin: 0;
  color: var(--text);
  font: 12px Consolas, monospace;
}

.template-editor {
  grid-column: 1 / -1;
  min-height: 140px;
  resize: vertical;
  font-family: Consolas, monospace;
}

.loading,
.error-screen {
  margin: 28px;
  grid-column: 1 / -1;
}

@media (max-width: 1100px) {
  .pos-app-header { grid-template-columns: 1fr auto; }
  .pos-session-context { display: none; }
}

@media (max-width: 920px) {
  #app { grid-template-columns: 1fr; }

  .main {
    padding: 16px;
  }

  .pos-overview,
  .pos-order-workspace {
    height: auto;
    min-height: calc(100vh - 72px);
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .pos-table-summary {
    min-height: 640px;
    border-right: 0;
    border-bottom: 1px solid #303439;
  }

  .pos-tables-workspace { min-height: 620px; }

  .pos-order-workspace {
    grid-template-rows: auto auto 60px;
  }

  .pos-catalog { min-height: 680px; }
  .pos-cart { min-height: 580px; border-left: 0; border-top: 1px solid #303439; }
  .pos-open-table-dock { grid-column: 1; }
}

@media (max-width: 620px) {
  .pos-app-header { min-height: 64px; padding: 8px 10px; }
  .pos-brand-lockup { grid-template-columns: 36px 1fr; }
  .pos-brand-mark { width: 36px; height: 36px; }
  .pos-brand-lockup small { display: none; }
  .pos-shell-actions { gap: 4px; }
  .pos-shell-actions button { min-height: 36px; padding: 0 8px; font-size: 12px; }
  .pos-overview { min-height: calc(100vh - 64px); }
  .pos-table-summary { padding: 12px; }
  .pos-tables-workspace { padding: 14px 12px 20px; }
  .pos-workspace-toolbar,
  .pos-catalog-toolbar { align-items: stretch; flex-direction: column; }
  .pos-search { width: 100%; }
  .pos-table-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pos-table-tile { min-height: 120px; }
  .pos-catalog { padding: 0 12px; }
  .pos-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pos-cart { padding: 12px; }
  .pos-document-actions { grid-template-columns: 1fr; }
  .pos-document-actions > .primary,
  .pos-payment-row { grid-column: 1; }
}

/* QR Menu 2.0 — modern merchant workspace and mobile-first guest menu */
.qr-portal-shell,
.qr-login,
.qr-public-menu,
.qr-public-error,
.qr-public-loading {
  --qr-ink: #142019;
  --qr-muted: #68766d;
  --qr-line: #e2e8e3;
  --qr-canvas: #f4f7f4;
  --qr-surface: #fff;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}

.qr-portal-shell button,
.qr-portal-shell a,
.qr-public-menu button,
.qr-public-menu a,
.qr-login button,
.qr-login input { -webkit-tap-highlight-color: transparent; }

.qr-portal-shell :focus-visible,
.qr-public-menu :focus-visible,
.qr-login :focus-visible {
  outline: 3px solid #77a88f;
  outline-offset: 3px;
}

.qr-portal-shell { background: var(--qr-canvas); color: var(--qr-ink); }
.qr-primary {
  min-height: 48px;
  gap: 10px;
  padding: 0 20px;
  border-radius: 13px;
  background: #153f2e;
  box-shadow: 0 1px 1px #0f2b2014, 0 7px 18px #153f2e1f;
  font-size: 14px;
  font-weight: 760;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.qr-primary:hover { filter: none; background: #0f3325; transform: translateY(-1px); box-shadow: 0 10px 24px #153f2e2b; }
.qr-button-soft,
.qr-button-quiet {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid #dbe4dd;
  border-radius: 12px;
  color: #294338;
  background: #f6f9f6;
  font: inherit;
  font-size: 13px;
  font-weight: 730;
  text-decoration: none;
  cursor: pointer;
}
.qr-button-quiet { background: #fff; }
.qr-button-soft svg { width: 17px; height: 17px; }
.qr-kicker { color: #a06319; font-size: 10px; font-weight: 850; letter-spacing: .17em; }

/* Login */
.qr-login { min-height: 100svh; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); background: #f4f7f4; }
.qr-login-brand {
  min-height: 100svh;
  justify-content: space-between;
  padding: clamp(34px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 18%, #8fae7f42 0, transparent 27%),
    radial-gradient(circle at 8% 88%, #d9a74b26 0, transparent 31%),
    linear-gradient(145deg, #10271e, #174332 58%, #102d22);
}
.qr-login-lockup { display: flex; align-items: center; gap: 11px; }
.qr-login-lockup .qr-mark { width: 40px; height: 40px; border-radius: 12px; font-family: inherit; font-size: 18px; }
.qr-login-lockup strong { font-size: 21px; letter-spacing: -.03em; }
.qr-login-lockup small { margin-left: 2px; padding-left: 12px; border-left: 1px solid #ffffff38; color: #b8c9bf; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.qr-login-brand h1 { max-width: 820px; margin: 18px 0 22px; font-family: inherit; font-size: clamp(48px, 6.2vw, 86px); font-weight: 620; line-height: .98; letter-spacing: -.065em; }
.qr-login-brand p { max-width: 620px; color: #c8d7ce; font-size: 17px; line-height: 1.65; }
.qr-login-benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.qr-login-benefits span { padding: 9px 12px; border: 1px solid #ffffff1f; border-radius: 999px; color: #dce8e1; background: #ffffff0d; font-size: 12px; }
.qr-login-card { width: min(450px, calc(100% - 48px)); padding: 46px; border: 1px solid #e3e9e4; border-radius: 24px; box-shadow: 0 30px 80px #1d352518; }
.qr-login-card > .qr-kicker { display: block; margin-bottom: 13px; }
.qr-login-card h2 { margin: 0 0 8px; font-size: 36px; line-height: 1.1; letter-spacing: -.045em; }
.qr-login-card > p { margin-bottom: 30px; line-height: 1.5; }
.qr-login-card label { gap: 9px; color: #33483d; font-size: 12px; }
.qr-login-card input { min-height: 52px; padding: 0 15px; border-color: #d7e0d9; border-radius: 12px; background: #fafcfa; }
.qr-login-card input:focus { border-color: #4e8568; background: #fff; box-shadow: 0 0 0 4px #4e856817; outline: 0; }
.qr-login-card .qr-primary { width: 100%; justify-content: space-between; margin-top: 4px; padding: 0 18px; }
.qr-login-help { display: block; margin-top: 20px; color: #8a958e; font-size: 10px; text-align: center; }
.qr-login-mobile-brand { display: none; }

/* Portal shell */
.qr-portal-top {
  height: 68px;
  padding: 0 26px;
  border-color: #e3e9e4;
  background: #ffffffed;
  box-shadow: 0 1px 0 #10261c08;
}
.qr-brand { gap: 10px; }
.qr-brand > span { width: 36px; height: 36px; border-radius: 11px; background: #153f2e; color: #dcb15e; font-family: inherit; font-size: 16px; }
.qr-brand > div { display: flex; align-items: baseline; gap: 8px; }
.qr-brand strong { font-family: inherit; font-size: 19px; font-weight: 780; letter-spacing: -.04em; }
.qr-brand small { padding: 0; border: 0; color: #8b978f; font-size: 8px; }
.qr-top-status { display: flex; align-items: center; gap: 7px; color: #7d8981; font-size: 11px; }
.qr-top-status i,
.qr-side-store b i,
.qr-status i,
.qr-menu-facts .is-open i { width: 7px; height: 7px; border-radius: 50%; background: #2fa765; box-shadow: 0 0 0 4px #2fa76518; }
.qr-user { gap: 10px; }
.qr-user-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #17412f; background: #e6efe8; font-size: 12px; font-weight: 800; }
.qr-user-name { max-width: 170px; overflow: hidden; color: #31463a; text-overflow: ellipsis; white-space: nowrap; }
.qr-user button { display: inline-flex; min-height: 40px; align-items: center; gap: 7px; padding: 0 10px; border: 0; color: #7b8780; background: transparent; font-size: 12px; cursor: pointer; }
.qr-user button svg { width: 18px; height: 18px; }

.qr-workspace { grid-template-columns: 268px minmax(0, 1fr); min-height: calc(100svh - 68px); }
.qr-workspace-side {
  top: 68px;
  min-height: calc(100svh - 68px);
  padding: 24px 16px 18px;
  border-color: #e2e8e3;
  background: #fff;
}
.qr-back { min-height: 38px; margin: 0 4px 14px; color: #718077; font-size: 12px; }
.qr-side-store { gap: 11px; margin: 0 0 24px; padding: 13px; border: 1px solid #e1e8e2; border-radius: 15px; background: #f7faf7; }
.qr-side-store > span { width: 42px; height: 42px; border-radius: 12px; font-family: inherit; font-size: 16px; font-weight: 800; }
.qr-side-store div { gap: 2px; }
.qr-side-store div > small { color: #9aa49e; font-size: 7px; font-weight: 850; letter-spacing: .12em; }
.qr-side-store strong { font-size: 13px; }
.qr-side-store b { display: flex; align-items: center; gap: 6px; color: #4d695a; font-size: 9px; font-weight: 700; }
.qr-side-store b i { width: 5px; height: 5px; box-shadow: none; }
.qr-workspace-side nav { gap: 4px; }
.qr-workspace-side nav button {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  color: #6c7971;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  text-align: left;
}
.qr-workspace-side nav button svg { width: 20px; height: 20px; }
.qr-workspace-side nav button small { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 7px; background: #edf2ee; font-size: 9px; }
.qr-workspace-side nav button:hover { color: #153f2e; background: #f1f6f2; }
.qr-workspace-side nav button.active { color: #123d2b; background: #eaf3ec; box-shadow: inset 3px 0 #2b7652; }
.qr-side-help { margin-top: auto; padding: 14px; border: 1px solid #e4eae5; border-radius: 14px; background: linear-gradient(145deg, #f8faf8, #eef5ef); }
.qr-side-help span,
.qr-side-help small { display: block; }
.qr-side-help span { color: #314a3d; font-size: 11px; font-weight: 780; }
.qr-side-help small { margin: 4px 0 9px; color: #7c8880; font-size: 9px; line-height: 1.4; }
.qr-side-help a { color: #226342; font-size: 10px; font-weight: 760; }
.qr-public-link { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; border-radius: 12px; font-size: 11px; }
.qr-public-link svg { width: 16px; height: 16px; }
.qr-workspace-main { width: min(1120px, calc(100% - 64px)); padding: 48px 0 96px; }
.qr-page-head { margin-bottom: 26px; align-items: center; }
.qr-page-head h1 { margin: 8px 0 7px; font-family: inherit; font-size: clamp(34px, 4vw, 48px); font-weight: 690; letter-spacing: -.055em; }
.qr-page-head p { font-size: 14px; }
.qr-notice { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 13px 15px; border-radius: 12px; font-size: 12px; }
.qr-notice > span { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: #2c8a56; font-size: 11px; }
.qr-menu-summary { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.qr-menu-summary > span { padding: 8px 11px; border: 1px solid #e1e7e2; border-radius: 999px; color: #78847c; background: #fff; font-size: 10px; }
.qr-menu-summary b { color: #254235; font-size: 12px; }
.qr-menu-summary a { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #275c43; font-size: 11px; font-weight: 740; text-decoration: none; }
.qr-menu-summary a svg { width: 15px; height: 15px; }

.qr-editor-section { margin-bottom: 14px; border-color: #e0e6e1; border-radius: 18px; box-shadow: 0 1px 2px #152b2010; }
.qr-editor-section-head { min-height: 76px; padding: 15px 18px; border-color: #e8ede9; background: #fcfdfc; }
.qr-category-heading { display: flex; align-items: center; gap: 12px; }
.qr-category-handle { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: #52705f !important; background: #edf3ee; font-size: 10px !important; font-weight: 800; }
.qr-editor-section-head h3 { margin: 0 0 3px; font-family: inherit; font-size: 18px; font-weight: 720; letter-spacing: -.025em; }
.qr-editor-section-head > div:last-child { gap: 7px; }
.qr-editor-section-head button { min-height: 38px; padding: 0 12px; border-radius: 10px; }
.qr-product-admin { min-height: 74px; grid-template-columns: 50px minmax(170px, 1fr) 90px 112px 108px; gap: 14px; padding: 11px 17px; }
.qr-product-admin:hover { background: #fafcf9; }
.qr-product-admin img,
.qr-product-placeholder { width: 50px; height: 50px; border-radius: 12px; }
.qr-product-placeholder { font-family: inherit; font-size: 15px; font-weight: 750; }
.qr-product-admin-copy strong { font-size: 13px; }
.qr-product-admin-copy small { color: #89938d; font-size: 10px; }
.qr-product-admin > b { font-size: 13px; font-weight: 760; }
.qr-status { display: inline-flex; align-items: center; gap: 7px; color: #78847d; font-size: 10px; }
.qr-status i { width: 6px; height: 6px; background: #aab2ad; box-shadow: none; }
.qr-status.is-live { color: #3e7056; }
.qr-status.is-live i { background: #32a565; }
.qr-product-admin .qr-edit-icon { min-height: 38px; padding: 0 11px; border-color: #dfe5e0; border-radius: 10px; font-size: 10px; }
.qr-product-admin .qr-edit-icon span { margin-left: 5px; }
.qr-mobile-price { display: none; }
.qr-inline-empty { display: grid; gap: 4px; padding: 28px; }
.qr-inline-empty strong { color: #52635a; font-size: 13px; }
.qr-inline-empty span { color: #8b958f; font-size: 11px; }

/* Portal content cards */
.qr-section-heading { margin-bottom: 28px; }
.qr-section-heading h2,
.qr-commercial h2,
.qr-marketplace h2,
.qr-settings-card h2,
.qr-qr-card h2 { margin: 7px 0 8px; font-family: inherit; font-size: clamp(32px, 4vw, 44px); font-weight: 680; letter-spacing: -.05em; }
.qr-section-heading p,
.qr-marketplace-head p { margin: 0; color: #6e7b73; font-size: 14px; }
.qr-commercial,
.qr-marketplace,
.qr-settings-card,
.qr-qr-card { margin: 0; scroll-margin-top: 88px; }
.qr-commercial { padding: 0; border: 0; background: transparent; }
.qr-marketplace-head { margin-bottom: 24px; }
.qr-marketplace-head h2 { font: 680 clamp(32px, 4vw, 44px)/1.1 Inter, "Segoe UI", sans-serif; letter-spacing: -.05em; }
.qr-analytics-grid { gap: 12px; margin: 24px 0; }
.qr-analytics-grid article { min-height: 118px; justify-content: space-between; padding: 19px; border: 1px solid #e1e7e2; border-radius: 16px; background: #fff; }
.qr-analytics-grid strong { font-family: inherit; font-size: 34px; font-weight: 680; letter-spacing: -.05em; }
.qr-analytics-grid span { font-size: 10px; }
.qr-plans { gap: 12px; }
.qr-plan-card { padding: 22px; border-color: #e0e6e1; border-radius: 18px; }
.qr-plan-card.selected { border: 2px solid var(--qr-primary); background: color-mix(in srgb, var(--qr-primary) 4%, white); box-shadow: 0 12px 30px #173d2b12; }
.qr-plan-card h3 { font-size: 21px; }
.qr-plan-card p { min-height: 50px; }
.qr-plan-card button { min-height: 44px; border-radius: 11px; }
.qr-settings-card { padding: 30px; border-color: #e0e6e1; border-radius: 20px; }
.qr-form-grid { gap: 20px; }
.qr-form-grid label { gap: 8px; color: #43554b; font-size: 11px; }
.qr-form-grid input,
.qr-form-grid select,
.qr-form-grid textarea { min-height: 50px; padding: 11px 13px; border-color: #dbe3dd; border-radius: 11px; background: #fafcfa; }
.qr-form-grid input:focus,
.qr-form-grid select:focus,
.qr-form-grid textarea:focus { border-color: #5f8c72; background: #fff; box-shadow: 0 0 0 4px #5f8c7215; outline: 0; }
.qr-color-field { position: relative; }
.qr-color-field > label input { padding-right: 54px; }
.qr-color-field > span { position: absolute; right: 10px; bottom: 9px; width: 32px; height: 32px; border: 3px solid #fff; border-radius: 9px; box-shadow: 0 0 0 1px #d9e0da; pointer-events: none; }
.qr-publish-toggle { display: flex !important; grid-column: 1 / -1; align-items: center; gap: 12px !important; padding: 14px; border: 1px solid #dfe6e0; border-radius: 13px; background: #f8faf8; }
.qr-publish-toggle > input { position: absolute; width: 1px; min-height: 1px; opacity: 0; }
.qr-publish-toggle > span { position: relative; width: 42px; height: 24px; flex: 0 0 auto; border-radius: 999px; background: #bec8c1; transition: background .2s ease; }
.qr-publish-toggle > span::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px #1a2d2252; content: ""; transition: transform .2s ease; }
.qr-publish-toggle > input:checked + span { background: #278453; }
.qr-publish-toggle > input:checked + span::after { transform: translateX(18px); }
.qr-publish-toggle div { display: grid; gap: 2px; }
.qr-publish-toggle strong { font-size: 12px; }
.qr-publish-toggle small { color: #839087; font-size: 10px; font-weight: 500; }
.qr-commercial-settings { border: 1px solid #e2e8e3; background: #f8faf8; }
.qr-connectors { gap: 12px; }
.qr-connector-card { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 16px; padding: 20px; border-radius: 18px; box-shadow: 0 1px 2px #152b2010; }
.qr-connector-icon { width: 52px; height: 52px; border-radius: 14px; font-size: 18px; }
.qr-connector-title h3 { font: 690 19px Inter, "Segoe UI", sans-serif; letter-spacing: -.025em; }
.qr-connector-copy > p { margin: 8px 0 16px; }
.qr-connector-card.coming-soon { opacity: 1; background: #fbfcfb; }
.qr-private-api { border-color: #e0e4ed; background: #f7f8fb; }
.qr-qr-card { min-height: 530px; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(30px, 8vw, 100px); padding: clamp(30px, 5vw, 58px); border: 0; border-radius: 24px; background: radial-gradient(circle at 12% 10%, #ffffff12, transparent 28%), linear-gradient(145deg, var(--qr-primary), #0c2b20); overflow: hidden; }
.qr-qr-copy { position: relative; z-index: 1; }
.qr-qr-copy p { max-width: 560px; font-size: 15px; line-height: 1.65; }
.qr-link-preview { margin: 28px 0 20px; padding: 14px; border: 1px solid #ffffff17; border-radius: 13px; background: #ffffff0b; }
.qr-link-preview small { display: block; color: #a7bbb0; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.qr-link-preview code { margin: 5px 0 0; padding: 0; background: transparent; font-size: 12px; }
.qr-qr-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qr-qr-actions .qr-button-soft { color: #e6eee9; border-color: #ffffff24; background: #ffffff0d; }
.qr-qr-preview { position: relative; display: flex; flex-direction: column; align-items: center; padding: 28px; border-radius: 24px; color: #17382a; background: #fff; box-shadow: 0 28px 70px #06120d5e; transform: rotate(1.5deg); }
.qr-qr-preview > span { align-self: flex-start; margin-bottom: 13px; color: #9ca69f; font-size: 8px; font-weight: 850; letter-spacing: .17em; }
.qr-qr-preview img { width: 100%; border-radius: 0; }
.qr-qr-preview strong { margin-top: 16px; font-size: 16px; }
.qr-qr-preview small { margin-top: 4px; color: #8d9890; font-size: 9px; }

/* Dialogs */
.qr-dialog { border-radius: 20px; box-shadow: 0 32px 100px #0d21184f; }
.qr-dialog::backdrop { background: #0b1c16a3; backdrop-filter: blur(7px); }
.qr-dialog form,
.qr-media-dialog-inner { padding: 28px; }
.qr-dialog-head h2 { font-family: inherit; font-size: 25px; font-weight: 700; letter-spacing: -.035em; }
.qr-dialog-head button { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #f1f4f1; font-size: 21px; }
.qr-image-picker { border-color: #dfe6e0; background: #f8faf8; }
.qr-image-actions button,
.qr-upload-button { min-height: 40px; border-radius: 10px; }

/* Guest-facing QR menu */
.qr-public-menu { --menu-paper: #f8f8f5; min-height: 100svh; color: #172019; background: var(--menu-paper); }
.qr-menu-hero { min-height: 360px; background: radial-gradient(circle at 76% 20%, color-mix(in srgb, var(--menu-accent) 36%, transparent), transparent 34%), linear-gradient(135deg, var(--menu-primary), color-mix(in srgb, var(--menu-primary) 72%, #07120d)); }
.qr-menu-hero-shade { background: linear-gradient(180deg, #07110c75 0%, #07110c14 42%, #07110cba 100%); }
.qr-menu-top,
.qr-menu-intro { width: min(1180px, calc(100% - 56px)); }
.qr-menu-top { align-items: center; padding-top: 24px; }
.qr-menu-brand { display: flex; align-items: center; gap: 11px; }
.qr-menu-brand > span { color: #eaf0ec; font-size: 13px; font-weight: 730; }
.qr-menu-logo { width: 48px; height: 48px; border-radius: 14px; font: 780 18px Inter, sans-serif; }
.qr-language { min-height: 44px; border-radius: 14px; }
.qr-language button { width: 43px; min-height: 36px; border-radius: 10px; }
.qr-menu-intro { padding-bottom: 42px; }
.qr-menu-intro > span { font-size: 9px; letter-spacing: .19em; }
.qr-menu-intro h1 { max-width: 960px; margin: 8px 0 10px; font-family: inherit; font-size: clamp(48px, 7vw, 78px); font-weight: 650; line-height: .98; letter-spacing: -.065em; }
.qr-menu-intro p { font-size: clamp(15px, 1.8vw, 19px); }
.qr-menu-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.qr-menu-facts span,
.qr-menu-facts a { display: inline-flex; min-height: 34px; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid #ffffff20; border-radius: 999px; color: #dfe8e2; background: #ffffff0d; font-size: 10px; text-decoration: none; backdrop-filter: blur(8px); }
.qr-menu-facts .is-open i { width: 6px; height: 6px; }
.qr-menu-sticky { gap: 10px; padding: 12px max(24px, calc((100vw - 1180px) / 2)); border-color: #e2e4df; background: #f8f8f5ed; box-shadow: 0 8px 24px #1022190a; }
.qr-menu-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.qr-menu-sticky label { width: min(470px, 100%); min-height: 46px; gap: 10px; padding: 0 13px; border-color: #dde2dc; border-radius: 13px; box-shadow: 0 1px 2px #152b200a; }
.qr-menu-sticky label svg { width: 19px; height: 19px; flex: 0 0 auto; color: #6d7a72; }
.qr-menu-sticky input { height: 44px; font-size: 13px; }
.qr-menu-sticky label small { display: grid; min-width: 27px; height: 27px; place-items: center; border-radius: 8px; color: #6d7a72; background: #f0f3ef; font-size: 9px; }
.qr-menu-scroll-hint { display: flex; align-items: center; gap: 9px; color: #89938d; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.qr-menu-scroll-hint span { font-size: 16px; }
.qr-menu-sticky nav { gap: 6px; }
.qr-menu-sticky nav a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid transparent; border-radius: 11px; color: #66736b; background: transparent; font-size: 11px; }
.qr-menu-sticky nav a:hover { background: #eef2ee; }
.qr-menu-sticky nav a.active { color: #fff; background: var(--menu-primary); box-shadow: 0 5px 14px color-mix(in srgb, var(--menu-primary) 24%, transparent); }
.qr-menu-body { width: min(1180px, calc(100% - 56px)); padding: 34px 0 100px; }
.qr-menu-description { display: flex; max-width: 820px; align-items: flex-start; gap: 12px; margin: 0 0 42px; color: #667169; font: 15px/1.65 Inter, sans-serif; }
.qr-menu-description > span { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--menu-primary); background: color-mix(in srgb, var(--menu-accent) 20%, white); font-size: 11px; }
.qr-menu-description p { margin: 2px 0 0; }
.qr-menu-section { padding: 38px 0 50px; border-color: #dfe2dd; scroll-margin-top: 122px; }
.qr-menu-section > header { display: flex; grid-template-columns: none; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 21px; }
.qr-menu-section > header > div > span { color: #9a6b2a; font-size: 8px; font-weight: 850; letter-spacing: .16em; }
.qr-menu-section h2 { margin-top: 5px; font: 660 clamp(30px, 4vw, 43px)/1 Inter, sans-serif; letter-spacing: -.05em; }
.qr-menu-section header p { margin-top: 8px; font-size: 12px; }
.qr-menu-section > header > small { padding: 7px 10px; border-radius: 999px; color: #7b867f; background: #ecefeb; font-size: 9px; }
.qr-menu-pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 28px; border-top: 1px solid #dfe2dd; }
.qr-menu-pager span { color: #7b867f; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.qr-menu-pager button { min-height: 44px; padding: 0 18px; border: 1px solid #dde2dc; border-radius: 12px; color: #294338; background: #fff; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.qr-menu-pager button:hover:not(:disabled) { border-color: var(--menu-primary); color: var(--menu-primary); }
.qr-menu-pager button:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 720px) {
  .qr-menu-pager { padding-top: 20px; }
  .qr-menu-pager button { padding: 0 13px; font-size: 11px; }
}
.qr-menu-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-left: 0; }
.qr-menu-product { min-height: 142px; grid-template-columns: 116px minmax(0, 1fr); gap: 15px; padding: 13px; border-color: #e0e3de; border-radius: 17px; background: #fff; box-shadow: 0 1px 2px #14271e0a; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.qr-menu-product:hover { border-color: #ccd4cc; transform: translateY(-2px); box-shadow: 0 12px 25px #14271e0d; }
.qr-menu-product:has(img) { grid-template-columns: 116px minmax(0, 1fr); }
.qr-menu-product.featured { border-color: color-mix(in srgb, var(--menu-accent) 45%, #e0e3de); background: #fff; }
.qr-menu-product > img,
.qr-menu-product-placeholder { width: 116px; height: 116px; border-radius: 13px; object-fit: cover; }
.qr-menu-product-placeholder { display: grid; place-items: center; color: color-mix(in srgb, var(--menu-primary) 65%, white); background: linear-gradient(145deg, color-mix(in srgb, var(--menu-primary) 9%, white), color-mix(in srgb, var(--menu-accent) 12%, white)); font-size: 22px; font-weight: 730; }
.qr-product-copy { padding: 4px 2px 2px 0; }
.qr-product-title { gap: 10px; }
.qr-product-title h3 { font: 690 16px/1.25 Inter, sans-serif; letter-spacing: -.025em; }
.qr-product-title strong { font-size: 13px; }
.qr-product-copy > p { margin: 8px 0; color: #717c75; font-size: 11px; line-height: 1.5; }
.qr-product-tags { gap: 5px; }
.qr-product-tags span { padding: 4px 7px; color: #496054; background: #edf2ee; font-size: 8px; }
.qr-product-tags .featured-tag { color: #76551f; background: #fff3d9; }
.qr-product-tags small { display: flex; align-items: center; gap: 5px; color: #949c97; font-size: 8px; }
.qr-product-tags small b { display: grid; width: 14px; height: 14px; place-items: center; border: 1px solid #cfd5d0; border-radius: 50%; font-size: 8px; }
.qr-promo-badge { top: 19px; left: 19px; padding: 5px 7px; font-size: 8px; }
.qr-product-title del { font-size: 9px; }
.qr-empty-search > span { display: block; color: #9aa39d; font-size: 30px; }
.qr-public-menu footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 45px max(24px, calc((100vw - 1180px) / 2)); text-align: left; }
.qr-menu-footer-brand { display: flex; align-items: center; gap: 13px; }
.qr-menu-footer-brand > div:last-child { display: grid; gap: 3px; }
.qr-public-menu footer .small { width: 42px; height: 42px; margin: 0; border-radius: 12px; font-size: 15px; }
.qr-public-menu footer strong { font: 700 15px Inter, sans-serif; }
.qr-public-menu footer span,
.qr-public-menu footer a { font-size: 10px; }
.qr-menu-footer-contact { display: flex; gap: 15px; }
.qr-public-menu footer > small { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid #ffffff14; font-size: 8px; }

@media (max-width: 900px) {
  .qr-top-status { display: none; }
  .qr-workspace { grid-template-columns: 224px minmax(0, 1fr); }
  .qr-workspace-main { width: min(100% - 36px, 960px); }
  .qr-product-admin { grid-template-columns: 48px minmax(140px, 1fr) 78px 95px; }
  .qr-product-admin > button { grid-column: auto; }
  .qr-product-admin > .qr-status { display: none; }
  .qr-plans { grid-template-columns: 1fr; }
  .qr-plan-card p { min-height: 0; }
}

@media (max-width: 700px) {
  .qr-login { display: block; background: #fff; }
  .qr-login-brand { display: none; }
  .qr-login-card { width: 100%; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 32px 24px; border: 0; border-radius: 0; box-shadow: none; }
  .qr-login-mobile-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 58px; }
  .qr-login-mobile-brand .qr-mark { width: 38px; height: 38px; border-radius: 11px; font: 800 16px Inter, sans-serif; }
  .qr-login-mobile-brand strong { font-size: 16px; }
  .qr-login-card h2 { font-size: 32px; }
  .qr-portal-top { height: 60px; padding: 0 14px; }
  .qr-brand > div small,
  .qr-user-name,
  .qr-user button span { display: none; }
  .qr-user button { width: 40px; justify-content: center; padding: 0; }
  .qr-workspace { display: block; min-height: calc(100svh - 60px); }
  .qr-workspace-side { position: fixed; z-index: 50; top: auto; right: 0; bottom: 0; left: 0; min-height: 72px; display: block; padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); border: 0; border-top: 1px solid #dfe6e0; box-shadow: 0 -8px 30px #14291e14; }
  .qr-back,
  .qr-side-store,
  .qr-side-help,
  .qr-public-link { display: none; }
  .qr-workspace-side nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
  .qr-workspace-side nav button { display: flex; min-width: 0; min-height: 54px; flex-direction: column; justify-content: center; gap: 3px; padding: 3px; border-radius: 10px; font-size: 8px; text-align: center; }
  .qr-workspace-side nav button svg { width: 20px; height: 20px; }
  .qr-workspace-side nav button small { display: none; }
  .qr-workspace-side nav button.active { box-shadow: none; }
  .qr-workspace-main { width: calc(100% - 28px); padding: 28px 0 104px; }
  .qr-page-head { align-items: stretch; gap: 18px; margin-bottom: 19px; }
  .qr-page-head h1 { font-size: 35px; }
  .qr-page-head .qr-primary { width: 100%; }
  .qr-menu-summary { overflow-x: auto; margin-right: -14px; padding-right: 14px; scrollbar-width: none; }
  .qr-menu-summary > span { flex: 0 0 auto; }
  .qr-menu-summary a { display: none; }
  .qr-editor-section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .qr-editor-section-head > div:last-child { width: 100%; }
  .qr-editor-section-head button { flex: 1; }
  .qr-product-admin { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 11px; padding: 12px; }
  .qr-product-admin > b,
  .qr-product-admin > .qr-status { display: none; }
  .qr-product-admin > button { grid-column: auto; width: 40px; overflow: hidden; padding: 0; color: transparent; }
  .qr-product-admin > button span { color: #345244; font-size: 14px; }
  .qr-mobile-price { display: block; margin-top: 3px; color: var(--qr-primary); font-size: 11px; font-weight: 760; }
  .qr-settings-card { padding: 19px; }
  .qr-section-heading h2,
  .qr-commercial h2,
  .qr-marketplace h2,
  .qr-settings-card h2,
  .qr-qr-card h2 { font-size: 32px; }
  .qr-analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .qr-analytics-grid article { min-height: 105px; }
  .qr-connector-card { grid-template-columns: 46px minmax(0, 1fr); padding: 15px; }
  .qr-connector-icon { width: 44px; height: 44px; }
  .qr-connector-title { padding-right: 65px; }
  .qr-connector-title h3 { font-size: 16px; }
  .qr-private-api { align-items: stretch; flex-direction: column; }
  .qr-private-actions { width: 100%; }
  .qr-private-api a { flex: 1; text-align: center; }
  .qr-qr-card { min-height: auto; grid-template-columns: 1fr; padding: 24px; }
  .qr-qr-preview { width: min(280px, 100%); justify-self: center; transform: none; }
  .qr-qr-actions { flex-direction: column; }
  .qr-dialog { max-height: 92svh; border-radius: 18px 18px 0 0; margin: auto auto 0; overflow-y: auto; }
  .qr-dialog form,
  .qr-media-dialog-inner { padding: 20px; }
  .qr-form-grid { grid-template-columns: 1fr; }
  .qr-span-2 { grid-column: 1; }
  .qr-image-picker { grid-template-columns: 1fr; }
  .qr-image-preview { min-height: 180px; }

  .qr-menu-hero { min-height: 270px; }
  .qr-menu-top,
  .qr-menu-intro,
  .qr-menu-body { width: calc(100% - 28px); }
  .qr-menu-top { padding-top: 16px; }
  .qr-menu-brand > span { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .qr-menu-logo { width: 42px; height: 42px; border-radius: 12px; }
  .qr-language { min-height: 42px; }
  .qr-language button { width: 38px; min-height: 34px; }
  .qr-menu-intro { padding-bottom: 24px; }
  .qr-menu-intro h1 { font-size: clamp(37px, 12vw, 52px); }
  .qr-menu-intro p { font-size: 14px; }
  .qr-menu-facts { margin-top: 14px; }
  .qr-menu-facts span,
  .qr-menu-facts a { min-height: 30px; padding: 0 9px; font-size: 8px; }
  .qr-menu-facts > :nth-child(2) { display: none; }
  .qr-menu-sticky { padding: 9px 14px 10px; }
  .qr-menu-tools { display: block; }
  .qr-menu-sticky label { width: 100%; min-height: 44px; }
  .qr-menu-scroll-hint { display: none; }
  .qr-menu-sticky nav { margin-right: -14px; padding-right: 14px; }
  .qr-menu-sticky nav a { min-height: 37px; }
  .qr-menu-body { padding: 24px 0 80px; }
  .qr-menu-description { margin-bottom: 26px; font-size: 12px; }
  .qr-menu-section { padding: 30px 0 38px; scroll-margin-top: 108px; }
  .qr-menu-section > header { align-items: flex-end; margin-bottom: 16px; }
  .qr-menu-section h2 { font-size: 30px; }
  .qr-menu-section header p { font-size: 10px; }
  .qr-menu-products { grid-template-columns: 1fr; }
  .qr-menu-product,
  .qr-menu-product:has(img) { min-height: 126px; grid-template-columns: 98px minmax(0, 1fr); gap: 12px; padding: 11px; }
  .qr-menu-product > img,
  .qr-menu-product-placeholder { width: 98px; height: 104px; border-radius: 12px; }
  .qr-product-copy { padding-top: 2px; }
  .qr-product-title h3 { font-size: 15px; }
  .qr-product-title strong { font-size: 12px; }
  .qr-product-copy > p { display: -webkit-box; overflow: hidden; margin: 6px 0; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 10px; }
  .qr-promo-badge { top: 16px; left: 16px; }
  .qr-public-menu footer { grid-template-columns: 1fr; gap: 20px; padding: 36px 20px 28px; }
  .qr-menu-footer-contact { flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .qr-primary,
  .qr-menu-product,
  .qr-publish-toggle > span,
  .qr-publish-toggle > span::after { transition: none; }
}
