@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf8f4;
  --white: #fffdfb;
  --ink: #251b16;
  --muted: #6d6058;
  --soft-ink: #514238;
  --line: #e9e1d8;
  --accent: #b83b20;
  --accent-hover: #9c2b14;
  --accent-soft: #f8e7df;
  --shadow: 0 10px 32px #4127180b;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
input, textarea, select { min-width: 0; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button:disabled { opacity: .62; cursor: wait; }
h1, h2, h3, p { margin: 0; }
svg { flex: none; vertical-align: middle; }
.wrap { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.accent { color: var(--accent); }
.muted, .subtle { color: var(--muted); }
.loading, .narrow { padding-top: 85px; text-align: center; }
.narrow .btn { margin-top: 22px; }

.header { position: sticky; top: 0; z-index: 5; background: #fffdfa; border-bottom: 1px solid var(--line); }
.header-inner { height: 73px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo { display: inline-flex; gap: 0; align-items: center; justify-self: start; font-size: 26px; font-weight: 850; letter-spacing: -.085em; line-height: 1; }
.logo > span:last-child { color: var(--accent); }
.logo-icon { width: 35px; height: 35px; display: grid; place-items: center; margin-right: 9px; background: var(--accent); color: white; border-radius: 10px; }
.public-nav { display: flex; align-items: center; gap: 8px; }
.public-nav a { display: flex; align-items: center; gap: 8px; color: var(--muted); padding: 10px 13px; border-radius: 8px; font-size: .9rem; font-weight: 640; white-space: nowrap; }
.public-nav a:hover, .public-nav a.current { background: var(--accent-soft); color: var(--accent); }
.role-menu { justify-self: end; position: relative; }
.role-menu summary { list-style: none; cursor: pointer; }
.role-menu summary::-webkit-details-marker { display: none; }
.role-menu[open] summary { border-color: #c9ac9d; }
.role-pop { position: absolute; z-index: 2; top: calc(100% + 10px); right: 0; min-width: max-content; border: 1px solid var(--line); background: var(--white); padding: 6px; border-radius: 12px; box-shadow: 0 12px 28px #37241824; }
.role-pop a { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 7px; font-size: .9rem; }
.role-pop a:hover { background: var(--accent-soft); color: var(--accent); }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid transparent; padding: 10px 15px; border-radius: 9px; font-weight: 670; font-size: .89rem; line-height: 1.25; white-space: nowrap; transition: background-color .18s, color .18s, border-color .18s; }
.btn.primary { background: var(--accent); color: white; }
.btn.primary:hover { background: var(--accent-hover); }
.btn.outline { background: var(--white); border-color: var(--line); }
.btn.outline:hover { border-color: #cfb3a4; background: #fff5ef; }
.btn.soft { background: var(--accent-soft); color: var(--accent); }
.btn.soft:hover { background: #f3d9cd; }
.btn.text { background: transparent; color: var(--accent); }
.btn.text:hover { background: var(--accent-soft); }
.btn.small { font-size: .78rem; padding: 7px 10px; gap: 5px; }
.footer { margin-top: 72px; border-top: 1px solid var(--line); background: #fffdfa; }
.footer .wrap { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.footer .logo { font-size: 22px; }
.footer p, .footer .subtle { font-size: .78rem; color: var(--muted); }

.discovery { padding-top: 27px; }
.hero { min-height: 371px; display: flex; align-items: center; overflow: hidden; border-radius: 22px; color: #fff9f3;
  background: linear-gradient(90deg, #21140ff5 0%, #21140fd9 30%, #21140f34 65%, transparent 100%), #332119 url("assets/hero.jpg") center 53% / cover no-repeat; }
.hero-copy { position: relative; width: min(535px, 100%); padding: 32px 52px; }
.hero-location { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #f3c08545; border-radius: 100px; padding: 7px 11px; color: #ffd3a1; background: #f6b66b12; font-size: .69rem; font-weight: 660; letter-spacing: .124em; }
.hero h1 { margin-top: 13px; font-size: clamp(4rem, 6vw, 5.35rem); font-weight: 830; letter-spacing: -.074em; line-height: .91; }
.hero h1 em { color: #ffb16f; font-style: normal; }
.hero h1 em span { color: #ffa164; }
.hero p { margin-top: 15px; max-width: 34ch; color: #eee1d6; font-size: 1.025rem; line-height: 1.55; letter-spacing: -.019em; }
.search-form { margin-top: 19px; display: flex; min-height: 53px; width: min(430px, 100%); align-items: center; padding: 5px; gap: 6px; border-radius: 11px; background: #fffbf7; color: var(--ink); box-shadow: 0 8px 24px #160b0849; }
.search-field { display: flex; align-items: center; flex: 1; min-width: 0; padding-left: 10px; gap: 8px; color: #807065; }
.search-field input { flex: 1; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); padding: 8px 3px; font-size: .84rem; }
.search-field input:focus-visible { outline: 0; }
.search-form:focus-within { outline: 2px solid #f7a971; outline-offset: 3px; }
.search-form .btn { min-height: 41px; padding-inline: 14px; }
.explore-filters { padding: 17px 2px 16px; display: flex; gap: 9px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: #d3bbae transparent; }
.filter { display: grid; flex: 0 0 116px; align-content: start; gap: 5px; padding: 4px 4px 6px; border-radius: 11px; border: 1px solid transparent; background: transparent; font-weight: 680; font-size: .82rem; white-space: nowrap; }
.filter-photo { display: block; width: 100%; height: 61px; overflow: hidden; border-radius: 7px; background: #f0e4d8; }
.filter-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.filter-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 2px; }
.filter-mosaic img { min-width: 0; min-height: 0; }
.filter:hover, .filter.selected { color: var(--accent); border-color: #e9c8b9; background: var(--accent-soft); }
.filter:focus-visible { outline-offset: -2px; }
.results { padding-top: 28px; scroll-margin-top: 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 19px; }
.section-heading h2 { font-size: clamp(1.55rem, 3.2vw, 2.46rem); letter-spacing: -.062em; line-height: 1.1; font-weight: 810; }
.section-heading p { margin-top: 7px; font-size: .88rem; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--accent); font-size: .7rem; font-weight: 760; letter-spacing: .126em; text-transform: uppercase; }
.city-select { position: relative; display: inline-flex; align-items: center; gap: 7px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; color: var(--soft-ink); font-weight: 620; padding: 9px 12px; font-size: .83rem; }
.city-select select { border: 0; color: inherit; background: none; appearance: none; padding-right: 21px; margin-right: -21px; }
.city-select svg:last-child { pointer-events: none; }
.venue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.venue-card { min-width: 0; border-radius: 15px; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.venue-card:hover { transform: translateY(-3px); box-shadow: 0 12px 25px #4d301914; }
.card-media { height: clamp(145px, 15vw, 203px); overflow: hidden; position: relative; background: #664134; }
.offer-card-media { display: grid; place-items: center; background: #f1e6dc; }
.offer-card-media > img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.food-photo { width: 100%; height: 100%; overflow: hidden; background: #804d38; }
.food-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.offer-badge { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); display: inline-flex; align-items: center; gap: 6px; background: #fff7ec; color: #a6321c; padding: 6px 10px; border-radius: 7px; font-size: .76rem; font-weight: 760; box-shadow: 0 2px 8px #29140938; }
.card-content { padding: 14px 15px 12px; }
.card-title { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.card-title h3 { font-size: 1.2rem; font-weight: 790; line-height: 1.2; letter-spacing: -.047em; overflow-wrap: anywhere; }
.rating { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; font-size: .76rem; color: var(--muted); }
.rating b { color: var(--ink); }
.rating svg { color: #ab5a13; }
.card-meta { margin-top: 5px; font-size: .83rem; color: var(--muted); }
.card-meta span { margin-inline: 2px; color: #a58d7e; }
.card-bottom { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 11px; color: var(--muted); font-size: .76rem; display: flex; justify-content: space-between; gap: 9px; }
.card-bottom > span { display: inline-flex; align-items: center; gap: 5px; }
.card-link { flex: none; color: var(--accent); font-weight: 720; }
.offer-page-hero { border-radius: 20px; padding: 45px 38px; color: var(--ink); background: #f8e8df; }
.offer-page-hero h1, .venue-intro h1, .workspace-heading h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.01; letter-spacing: -.074em; font-weight: 830; overflow-wrap: anywhere; }
.offer-page-hero p, .workspace-heading p, .venue-intro p { margin-top: 10px; line-height: 1.6; color: var(--muted); }
.empty { background: var(--white); border: 1px dashed #dbcabc; border-radius: 14px; text-align: center; padding: 37px 15px; }
.empty-icon { display: inline-grid; place-items: center; width: 51px; height: 51px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); margin-bottom: 10px; }
.empty h3 { font-size: 1.17rem; letter-spacing: -.04em; }
.empty p { color: var(--muted); font-size: .9rem; margin-top: 6px; line-height: 1.6; }

.detail, .workspace { padding-top: 26px; min-height: 72vh; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 670; font-size: .85rem; margin-bottom: 16px; }
.back-link:hover { color: var(--accent); }
.venue-cover { height: clamp(170px, 25vw, 310px); border-radius: 18px; overflow: hidden; }
.venue-cover .food-photo img { object-position: 50% 55%; }
.venue-intro { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.venue-location { display: flex; align-items: center; gap: 9px; background: var(--white); border: 1px solid var(--line); padding: 10px 14px; border-radius: 9px; flex-shrink: 0; }
.venue-location svg { color: var(--accent); }
.venue-location small { display: block; margin-top: 2px; color: var(--muted); }
.menu-layout { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3.5fr); gap: 27px; margin-top: 24px; }
.menu-index { align-self: start; position: sticky; top: 98px; display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.menu-index strong { padding: 7px 8px; font-size: .83rem; }
.menu-index button { display: flex; align-items: center; gap: 7px; background: transparent; border: 0; text-align: left; border-radius: 7px; padding: 8px; font-size: .83rem; }
.menu-index button:hover { color: var(--accent); background: var(--accent-soft); }
.menu-group { margin-bottom: 27px; scroll-margin-top: 95px; }
.menu-group h2 { font-size: 1.6rem; letter-spacing: -.05em; margin-bottom: 10px; }
.public-offer, .offer-edit { display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid #ecd2c6; border-radius: 12px; background: #fdf0e9; }
.public-offer + .public-offer, .offer-edit + .offer-edit { margin-top: 9px; }
.public-offer > div, .offer-edit > div:nth-child(2) { flex: 1; }
.public-offer h3, .offer-edit h3 { font-size: 1rem; letter-spacing: -.035em; }
.public-offer p, .offer-edit p, .menu-item p { margin-top: 5px; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.offer-icon, .metric-icon { display: inline-grid; place-items: center; flex: none; width: 43px; height: 43px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.public-offer .offer-icon { background: #f5dacd; }
.public-offer { scroll-margin-top: 92px; }
.offer-thumb { position: relative; display: block; flex: none; width: 80px; height: 88px; padding: 0; border: 1px solid #e9c8b9; border-radius: 8px; overflow: hidden; background: #f1e6dc; }
.offer-thumb img { width: 100%; height: 100%; display: block; object-fit: contain; }
.offer-thumb svg { position: absolute; bottom: 4px; right: 4px; padding: 3px; width: 21px; height: 21px; border-radius: 5px; color: var(--accent); background: var(--white); }
.offer-thumb:hover { border-color: var(--accent); }
.menu-items { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.menu-item { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 15px 17px; }
.menu-item + .menu-item { border-top: 1px solid var(--line); }
.menu-item h3 { font-size: .99rem; letter-spacing: -.025em; }
.menu-item strong { flex: none; font-size: .9rem; }

.workspace { padding-top: 32px; }
.workspace-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 23px; }
.workspace-heading h1 { font-size: clamp(2rem, 5vw, 3.45rem); }
.work-tabs { display: flex; gap: 5px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.work-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 15px; color: var(--muted); font-weight: 660; font-size: .86rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.work-tabs a.current, .work-tabs a:hover { color: var(--accent); border-color: var(--accent); }
.work-tabs a.current { background: var(--accent-soft); border-radius: 8px 8px 0 0; }
.workspace-section { padding-top: 24px; }
.workspace-section .section-heading h2 { font-size: clamp(1.4rem, 3vw, 1.83rem); }
.metrics { display: flex; gap: 13px; margin-bottom: 16px; }
.metric { flex: 1 1 0; min-width: 0; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.metric-icon { width: 37px; height: 37px; }
.metric-label { margin-top: 10px; font-size: .82rem; color: var(--muted); font-weight: 630; }
.metric strong { display: block; font-size: 2rem; letter-spacing: -.08em; line-height: 1.08; margin-top: 3px; }
.metric small { color: var(--muted); font-size: .72rem; display: block; margin-top: 5px; }
.report-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; margin-bottom: 16px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px; }
.panel-head h2 { font-size: 1.18rem; letter-spacing: -.045em; }
.panel-head h3 { font-size: 1.08rem; letter-spacing: -.03em; }
.panel-head p, .panel-padding { color: var(--muted); font-size: .81rem; margin-top: 4px; }
.panel-padding { padding: 0 15px 15px; }
.bar-chart { margin: 0 15px 15px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.bar-col { display: grid; gap: 6px; justify-items: center; color: var(--muted); font-size: .75rem; }
.bar-slot { height: 138px; background: #f5eee7; width: min(100%, 57px); display: flex; align-items: end; border-radius: 6px; }
.bar { width: 100%; height: var(--level); border-radius: 6px; background: #c55535; position: relative; }
.bar span { position: absolute; bottom: 5px; width: 100%; text-align: center; white-space: nowrap; color: #fff; font-size: .68rem; font-weight: 650; }
.bar[style="--level:0%"] span { color: var(--muted); }
.table-scroll { max-width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .82rem; white-space: nowrap; }
.data-table th, .data-table td { text-align: left; padding: 10px 15px; border-top: 1px solid var(--line); }
.data-table th { color: var(--muted); font-weight: 700; font-size: .73rem; background: #fcf8f4; }
.data-table td:first-child { white-space: normal; min-width: 130px; }
.data-table td strong { color: var(--ink); font-weight: 720; }
.data-table small { display: block; color: var(--muted); margin-top: 3px; font-size: .74rem; }
.data-table.compact th, .data-table.compact td { padding-top: 7px; padding-bottom: 7px; }
.status { display: inline-flex; align-items: center; gap: 5px; border-radius: 30px; padding: 4px 8px; color: #744927; background: #f9eee2; font-size: .74rem; font-weight: 690; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.online { color: #2d6347; background: #e8f2ea; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.demo-note, .report-empty { margin-top: 12px; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.report-empty { padding: 0 15px 15px; }
.merchant-card { display: flex; align-items: center; min-width: 0; gap: 11px; padding: 14px; }
.merchant-card:hover { border-color: #d3b2a1; }
.merchant-card div { flex: 1; }
.merchant-card h2 { font-size: 1rem; letter-spacing: -.03em; }
.merchant-card p { color: var(--muted); font-size: .77rem; margin-top: 4px; }
.edit-panel + .edit-panel { margin-top: 13px; }
.offer-edit { background: var(--white); border-color: var(--line); }
.qr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.qr-card { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 13px; }
.qr-card h3 { font-size: .99rem; }
.qr-card .row-actions { justify-content: center; }
.qr-picture { display: block; padding: 4px; border-radius: 9px; background: white; border: 1px solid var(--line); }
.qr-picture svg { display: block; width: 134px; max-width: 100%; height: auto; }
.qr-settings { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 13px; }
.qr-settings label { display: flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 650; }
.qr-settings select { padding: 6px; border-radius: 7px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.qr-settings p { color: var(--muted); font-size: .79rem; }
.redeem-panel { max-width: 640px; padding: 22px; }
.redeem-panel h2 { margin-top: 10px; font-size: 1.6rem; letter-spacing: -.06em; }
.redeem-panel > p { color: var(--muted); margin-top: 6px; line-height: 1.55; }
.redeem-panel .form-field { margin: 14px 0; }
.file-button { position: relative; cursor: pointer; }
.file-button:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.file-button input { position: absolute; opacity: 0; inset: 0; width: 100%; cursor: pointer; }
.validation { margin-top: 13px; padding: 10px; border-radius: 7px; font-size: .86rem; }
.validation.good { background: #e8f2ea; color: #245840; }
.validation.bad { background: var(--accent-soft); color: var(--accent); }
.validation p { margin-top: 4px; }
#validation:not(:empty):not(.validation) { margin-top: 12px; color: var(--muted); }

dialog { width: min(455px, calc(100% - 32px)); max-height: calc(100dvh - 36px); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 15px; padding: 19px; box-shadow: 0 24px 70px #25150f45; }
dialog::backdrop { background: #25150f83; backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 15px; margin-bottom: 12px; }
.dialog-head h2 { font-size: 1.38rem; letter-spacing: -.05em; }
.icon-button { display: grid; place-items: center; border: 0; border-radius: 7px; background: var(--accent-soft); color: var(--accent); padding: 4px; }
.form-field { display: grid; margin-top: 9px; gap: 5px; font-size: .83rem; font-weight: 700; }
.form-field :is(input, textarea, select) { border: 1px solid #dfd3c8; border-radius: 8px; color: var(--ink); background: white; padding: 8px 9px; font-weight: 480; }
.form-field textarea { resize: vertical; }
.check-field { display: flex; align-items: center; gap: 5px; font-size: .86rem; margin-top: 11px; }
.check-field input { accent-color: var(--accent); width: 17px; height: 17px; }
.form-error:not(:empty) { margin-top: 10px; font-size: .85rem; color: var(--accent); }
.form-actions { display: flex; justify-content: end; gap: 8px; margin-top: 16px; }
.poster-editor { padding: 9px; margin: 12px 0 0; min-width: 0; border: 1px solid var(--line); border-radius: 8px; }
.poster-editor legend { padding: 0 4px; font-size: .83rem; font-weight: 700; }
.poster-editor legend span, .poster-editor small { color: var(--muted); font-weight: 450; }
.poster-editor small { display: block; margin-top: 5px; font-size: .74rem; }
.poster-controls { display: flex; align-items: center; gap: 10px; }
.poster-preview { display: block; flex: none; width: 66px; height: 70px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #f1e6dc; }
.poster-view { display: grid; place-items: center; }
.poster-view img { display: block; max-width: 100%; max-height: 66dvh; object-fit: contain; border-radius: 8px; }
.poster-caption { margin-top: 10px; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.confirm-copy { color: var(--muted); line-height: 1.6; }
.coupon { display: grid; justify-items: center; text-align: center; gap: 7px; }
.coupon h3 { color: var(--accent); line-height: 1.3; }
.coupon p { color: var(--muted); font-size: .83rem; }
.coupon .qr-picture { margin-top: 5px; }
.coupon .qr-picture svg { width: 175px; }
.coupon-code { letter-spacing: .13em; font-size: 1.5rem; }
.coupon .btn { margin-top: 5px; }
#camera { width: 100%; max-height: 46vh; border-radius: 10px; margin-top: 10px; }
#toast { position: fixed; bottom: 18px; left: 50%; transform: translate(-50%, 8px); max-width: calc(100% - 32px); padding: 10px 14px; border-radius: 9px; background: var(--ink); color: white; font-size: .85rem; z-index: 6; opacity: 0; pointer-events: none; transition: all .16s; }
#toast.visible { opacity: 1; transform: translate(-50%, 0); }
.clipboard-fallback { position: fixed; left: -10000px; opacity: 0; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 48px); }
  .hero-copy { padding-inline: 35px; }
  .qr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 61px; }
  .logo { font-size: 23px; }
  .logo-icon { width: 29px; height: 29px; margin-right: 6px; border-radius: 8px; }
  .public-nav { gap: 2px; }
  .public-nav a { padding: 8px 7px; font-size: .78rem; gap: 4px; }
  .role-menu .btn { padding: 7px; gap: 4px; font-size: .78rem; }
  .discovery { padding-top: 14px; }
  .hero { min-height: 340px; background-position: center, 57% center; border-radius: 15px; }
  .hero-copy { padding: 25px 20px; width: 100%; }
  .hero h1 { font-size: clamp(3.15rem, 11.7vw, 4.9rem); }
  .hero p { font-size: .9rem; max-width: 30ch; margin-top: 13px; }
  .search-form { margin-top: 17px; min-height: 47px; }
  .search-form .btn { min-height: 36px; }
  .explore-filters { padding-block: 11px; gap: 5px; }
  .filter { flex-basis: 92px; font-size: .75rem; }
  .filter-photo { height: 52px; }
  .results { padding-top: 20px; }
  .venue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-media { height: 142px; }
  .card-content { padding: 10px; }
  .card-bottom { flex-wrap: wrap; }
  .footer { margin-top: 43px; }
  .footer .wrap { align-items: start; flex-direction: column; gap: 7px; padding-block: 14px; }
  .report-grid { grid-template-columns: 1fr; }
  .metrics { flex-wrap: wrap; gap: 8px; }
  .metric { flex: 1 1 40%; }
  .menu-layout { grid-template-columns: 1fr; gap: 13px; margin-top: 15px; }
  .menu-index { display: flex; overflow-x: auto; position: static; align-items: center; padding: 5px; }
  .menu-index strong { display: none; }
  .menu-index button { flex-shrink: 0; }
  .venue-intro { padding-block: 17px; }
  .qr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .workspace-heading { flex-wrap: wrap; }
}

@media (max-width: 460px) {
  .header-inner { gap: 5px; }
  .public-nav a svg, .role-menu summary > svg:first-child { display: none; }
  .logo { font-size: 21px; }
  .role-menu summary > svg:last-child { width: 12px; }
  .hero { background-image: linear-gradient(90deg, #21140fee 0%, #21140faa 57%, #21140f35 100%), url("assets/hero.jpg"); }
  .hero-location { font-size: .64rem; }
  .search-field { gap: 3px; padding-left: 5px; }
  .search-field input { font-size: .75rem; }
  .search-form .btn { padding-inline: 9px; font-size: .77rem; gap: 4px; }
  .card-title { flex-wrap: wrap; gap: 4px; }
  .card-title h3 { font-size: 1.04rem; }
  .card-media { height: 117px; }
  .offer-badge { font-size: .65rem; top: 7px; left: 7px; max-width: calc(100% - 14px); padding: 4px 5px; gap: 3px; }
  .offer-badge svg { width: 12px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 1.45rem; }
  .city-select { padding: 7px; gap: 4px; font-size: .73rem; }
  .city-select > svg:first-child { width: 14px; }
  .venue-intro { align-items: start; flex-direction: column; gap: 9px; }
  .public-offer, .offer-edit { flex-wrap: wrap; }
  .public-offer > div, .offer-edit > div:nth-child(2) { flex: 1 1 calc(100% - 56px); }
  .public-offer .btn { margin-left: 56px; }
  .offer-thumb { width: 60px; height: 68px; }
  :is(.public-offer, .offer-edit):has(.offer-thumb) > div:nth-child(2) { flex-basis: calc(100% - 73px); }
  .public-offer:has(.offer-thumb) .btn { margin-left: 73px; }
  .workspace-section .section-heading { flex-wrap: wrap; }
  .merchant-card { flex-wrap: wrap; }
  .merchant-card > svg { display: none; }
}

@media (max-width: 355px) {
  .header .wrap { width: calc(100% - 16px); }
  .logo { font-size: 17px; }
  .logo-icon { width: 24px; height: 24px; margin-right: 4px; }
  .logo-icon svg { width: 15px; }
  .public-nav a, .role-menu .btn { font-size: .71rem; padding-inline: 5px; }
  .role-menu summary > svg:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
