:root {
  color-scheme: light;
  --navy-950: #17113f;
  --navy-900: #21195f;
  --navy-800: #2f2584;
  --navy-700: #3a3195;
  --red-700: #b60020;
  --red-600: #e40324;
  --red-500: #ef304a;
  --cream: #f6f5f9;
  --paper: #ffffff;
  --ink: #15202b;
  --muted: #65717d;
  --line: #dfdeea;
  --soft: #efeff7;
  --success: #167b59;
  --warning: #9b5c00;
  --shadow: 0 18px 50px rgba(7, 28, 51, .12);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body { margin: 0; min-width: 320px; background: var(--cream); color: var(--ink); font-size: 16px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
svg { width: 1.2rem; height: 1.2rem; fill: currentColor; flex: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
:where(button, a, input, select, textarea):focus-visible { outline: 3px solid rgba(47,37,132,.34); outline-offset: 3px; }

.demo-ribbon { position: fixed; z-index: 60; inset: 0 0 auto; min-height: 34px; display: flex; align-items: center; justify-content: center; gap: .65rem; padding: .42rem 1rem; background: var(--red-600); color: #fff; font-size: .76rem; letter-spacing: .02em; text-align: center; box-shadow: 0 1px 0 rgba(255,255,255,.18); }
.demo-ribbon strong { letter-spacing: .08em; }
.app-shell { min-height: 100vh; padding-top: 34px; }

.side-panel { position: fixed; z-index: 20; inset: 34px auto 0 0; width: 272px; display: flex; flex-direction: column; padding: 1.3rem 1.1rem 1.2rem; background: radial-gradient(circle at 12% 0%, rgba(228,3,36,.18), transparent 27%), linear-gradient(180deg, var(--navy-800), var(--navy-950) 46%); color: #fff; box-shadow: inset -1px 0 rgba(255,255,255,.08); }
.brand, .mobile-brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand { margin: 0 -.2rem; padding: .65rem; border: 1px solid rgba(255,255,255,.13); border-radius: 19px; background: rgba(255,255,255,.06); }
.brand-logo-frame, .mobile-logo-frame { display: grid; place-items: center; flex: none; overflow: hidden; background: #fff; box-shadow: 0 9px 24px rgba(7,6,42,.22); }
.brand-logo-frame { width: 72px; height: 64px; padding: 4px; border-radius: 15px; }
.mobile-logo-frame { width: 48px; height: 43px; padding: 2px; border: 1px solid rgba(47,37,132,.12); border-radius: 11px; box-shadow: 0 5px 16px rgba(47,37,132,.12); }
.brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand strong, .brand small, .mobile-brand strong, .mobile-brand small { display: block; }
.brand-copy { min-width: 0; }
.brand strong { font-family: Georgia, serif; font-size: 1rem; letter-spacing: .01em; }
.brand small { color: #c7c3e4; font-size: .75rem; line-height: 1.3; }
.side-nav { display: grid; gap: .45rem; margin-top: 2rem; }
.side-nav button, .owner-link { width: 100%; display: flex; align-items: center; gap: .85rem; border: 0; border-radius: 13px; padding: .82rem .9rem; background: transparent; color: #b9c7d4; text-align: left; cursor: pointer; transition: .2s ease; }
.side-nav button:hover, .owner-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.side-nav button.active { background: #fff; color: var(--navy-900); font-weight: 760; box-shadow: 0 10px 30px rgba(7,6,42,.25), inset 4px 0 var(--red-600); }
.side-nav button.active svg { color: var(--red-600); }
.side-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.owner-link { color: #fff; }
.side-footer p { margin: .55rem .8rem 0; color: #8297aa; font-size: .76rem; line-height: 1.4; }

.app-area { min-height: calc(100vh - 34px); margin-left: 272px; }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 clamp(1.2rem, 4vw, 3.6rem); background: rgba(246,245,249,.92); border-bottom: 1px solid rgba(47,37,132,.1); backdrop-filter: blur(14px); position: sticky; top: 34px; z-index: 15; }
.desktop-view-title { color: var(--navy-900); font-size: .82rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.mobile-brand { display: none; }
.topbar-actions { display: flex; align-items: center; gap: .65rem; }
.network-state { display: inline-flex; align-items: center; gap: .45rem; margin-right: .3rem; color: var(--muted); font-size: .82rem; }
.network-state > span { width: 8px; height: 8px; border-radius: 999px; background: var(--success); box-shadow: 0 0 0 4px rgba(22,123,89,.12); }
.network-state.offline { color: var(--red-700); }
.network-state.offline > span { background: var(--red-600); box-shadow: 0 0 0 4px rgba(197,30,50,.12); }
.icon-action { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--navy-800); cursor: pointer; }
.icon-action:hover { border-color: var(--navy-700); }

main { width: min(1180px, 100%); margin: 0 auto; padding: clamp(1.5rem, 3.2vw, 2.6rem) clamp(1.1rem, 4vw, 3.6rem) 4.5rem; outline: none; }
.view { animation: view-in .24s ease both; }
@keyframes view-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.welcome-row, .page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem; }
.eyebrow { margin: 0 0 .35rem; color: var(--red-700); font-size: .76rem; font-weight: 850; letter-spacing: .14em; }
h1 { margin: 0; color: var(--navy-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.03; letter-spacing: -.035em; }
h2, h3, p { overflow-wrap: anywhere; }
.today-chip { margin-top: .35rem; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); color: var(--muted); font-size: .8rem; white-space: nowrap; }

.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; margin: 1.7rem 0; }
.quick-card { min-height: 144px; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: .8rem; padding: 1.15rem; border: 1px solid var(--line); border-top: 3px solid rgba(47,37,132,.68); border-radius: var(--radius-lg); background: rgba(255,255,255,.9); text-align: left; cursor: pointer; box-shadow: 0 7px 28px rgba(47,37,132,.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.quick-card.quick-offers { border-top-color: var(--red-600); }
.quick-card:hover { transform: translateY(-3px); border-color: #c5d0d9; border-top-color: var(--navy-700); box-shadow: var(--shadow); }
.quick-card.quick-offers:hover { border-top-color: var(--red-600); }
.quick-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--soft); color: var(--navy-700); }
.quick-offers .quick-icon { background: #fde9ec; color: var(--red-700); }
.quick-card strong, .quick-card small { display: block; }
.quick-card strong { margin-top: .1rem; color: var(--navy-950); font-size: .98rem; }
.quick-card small { margin-top: .35rem; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.quick-arrow { width: 1rem; color: #93a0ac; margin-top: .75rem; }

.featured-offer { position: relative; min-height: 390px; overflow: hidden; border-radius: var(--radius-xl); background: var(--navy-950); color: #fff; box-shadow: var(--shadow); }
.featured-offer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,20,38,.98) 0%, rgba(4,20,38,.86) 38%, rgba(4,20,38,.12) 78%); }
.offer-content { position: relative; z-index: 1; width: min(520px, 72%); padding: clamp(2rem, 5vw, 4rem); }
.demo-label { display: inline-flex; padding: .38rem .58rem; border-radius: 7px; background: var(--red-600); color: #fff; font-size: .75rem; font-weight: 850; letter-spacing: .08em; }
.demo-label.dark { background: var(--navy-900); }
.offer-content > p { margin: 1.25rem 0 .25rem; color: #c5d0da; font-size: .88rem; }
.offer-content h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: .98; }
.price-line { display: flex; align-items: baseline; gap: .8rem; margin: 1.25rem 0; }
.price-line strong { font-size: 1.65rem; color: #fff; }
.price-line s { color: #aebdca; }
.price-line.dark strong { color: var(--red-700); }
.price-line.dark s { color: var(--muted); }
.light-button, .primary-button, .outline-button, .text-button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; border-radius: 13px; padding: .72rem 1rem; font-weight: 760; text-decoration: none; cursor: pointer; }
.light-button { border: 0; background: #fff; color: var(--navy-950); }
.light-button svg { width: 1rem; }
.primary-button { border: 1px solid var(--navy-900); background: var(--navy-900); color: #fff; }
.primary-button:hover { background: var(--navy-800); }
.primary-button:disabled, .outline-button:disabled, .text-button:disabled { opacity: .45; cursor: not-allowed; }
.primary-button.full { width: 100%; margin-top: 1.2rem; }
.outline-button { border: 1px solid #bcc8d1; background: #fff; color: var(--navy-900); }
.outline-button:hover { border-color: var(--navy-700); }
.text-button { border: 0; background: transparent; color: var(--muted); }
.danger, .danger-fill { color: var(--red-700); }
.danger-fill { border-color: var(--red-700); background: var(--red-700); color: #fff; }

.service-note { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.68); }
.service-note-mark { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid var(--navy-800); border-radius: 50%; color: var(--navy-800); font-family: Georgia, serif; font-weight: 800; }
.service-note p { margin: 0; color: var(--muted); }
.service-note strong { color: var(--navy-950); }

.store-updates { position: relative; margin: 0 0 1.4rem; overflow: hidden; padding: clamp(1.1rem, 2.5vw, 1.5rem); border: 1px solid rgba(47,37,132,.16); border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,239,247,.9)); box-shadow: 0 9px 30px rgba(47,37,132,.07); }
.store-updates::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--red-600), var(--navy-800)); }
.updates-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.updates-head .eyebrow { margin-bottom: .2rem; }
.updates-head h2 { margin: 0; color: var(--navy-950); font-family: Georgia, serif; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.05; }
.updates-head .demo-pill { flex: none; padding: .35rem .5rem; border: 1px solid rgba(228,3,36,.18); border-radius: 7px; background: #fff; }
.updates-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: .75rem; }
.update-item { min-width: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: .9rem; padding: .9rem; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.update-date { width: 64px; min-height: 66px; display: grid; align-content: center; justify-items: center; border-radius: 14px; background: var(--soft); color: var(--navy-800); text-align: center; line-height: 1; }
.update-date strong { font-family: Georgia, serif; font-size: 1.65rem; }
.update-date small { margin-top: .22rem; font-size: .75rem; font-weight: 850; letter-spacing: .08em; }
.update-body { min-width: 0; }
.update-status { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .2rem; color: var(--navy-700); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.update-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.update-item h3 { margin: 0; color: var(--navy-950); font-size: .98rem; line-height: 1.25; }
.update-item p { margin: .25rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.update-item.status-open .update-status { color: var(--success); }
.update-item.status-closed .update-date { background: #fde8eb; color: var(--red-700); }
.update-item.status-closed .update-status { color: var(--red-700); }
.updates-note { margin: .8rem 0 0; color: #7a748d; font-size: .78rem; }
.updates-empty { grid-column: 1 / -1; margin: 0; padding: 1rem; border: 1px dashed #c8c5d8; border-radius: 14px; color: var(--muted); text-align: center; }

.page-heading { align-items: center; }
.page-intro { max-width: 720px; margin: 1rem 0 2rem; color: var(--muted); }
.offer-large { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: 0 10px 34px rgba(7,28,51,.07); }
.offer-large img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.offer-large-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.5rem, 4vw, 3.4rem); }
.offer-large-copy h2 { margin: 1rem 0 .3rem; color: var(--navy-950); font-family: Georgia, serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.05; }
.offer-large-copy p { margin: .4rem 0; color: var(--muted); }
.offer-large-copy small { color: var(--muted); }
.offer-list { display: grid; gap: .75rem; margin-top: 1rem; }
.offer-unavailable { display: flex; align-items: center; gap: 1rem; padding: 1.2rem; border: 1px dashed #c7c3d8; border-radius: var(--radius-lg); background: rgba(255,255,255,.76); color: var(--navy-900); }
.offer-unavailable svg { width: 1.65rem; height: 1.65rem; color: var(--red-700); }
.offer-unavailable strong { display: block; }
.offer-unavailable p { margin: .2rem 0 0; color: var(--muted); font-size: .86rem; }
.offer-page-empty { margin-top: 1rem; }
.offer-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.offer-symbol { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; font-family: Georgia, serif; font-weight: 900; }
.offer-symbol.beef { background: #fbe4e7; color: var(--red-700); }
.offer-symbol.chicken { background: #fff1cb; color: #825600; }
.offer-symbol.family { background: #e6edf4; color: var(--navy-700); }
.offer-row h3 { margin: .1rem 0; color: var(--navy-950); font-size: 1rem; }
.offer-row p { margin: 0; color: var(--muted); font-size: .84rem; }
.offer-row > strong { color: var(--red-700); font-size: 1.12rem; text-align: right; }
.demo-pill { color: var(--red-700); font-size: .72rem; font-weight: 900; letter-spacing: .09em; }
.safe-callout { display: flex; gap: 1rem; margin-top: 1.5rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-lg); background: var(--navy-900); color: #fff; }
.safe-callout > svg { margin-top: .15rem; color: #ff8d99; }
.safe-callout p { margin: .2rem 0 0; color: #b9c8d7; font-size: .86rem; }

.notification-test { margin-top: 1.5rem; padding: 1.25rem; border: 1px solid #c8d4dd; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 8px 30px rgba(7,28,51,.06); }
.notification-test-head { display: flex; align-items: flex-start; gap: .9rem; }
.notification-test-head p { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }
.notification-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: 13px; background: #fde7ea; color: var(--red-700); }
.consent-check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; margin: 1rem 0; padding: 1rem; border-radius: 13px; background: #f1f5f8; color: #43515d; font-size: .88rem; cursor: pointer; }
.consent-check input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--navy-800); }
.notification-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.notification-actions button:disabled { opacity: .45; cursor: not-allowed; }
.notification-status { margin: .8rem 0 0; color: var(--muted); font-size: .82rem; }
.notification-status.pass { color: var(--success); font-weight: 750; }
.notification-status.fail { color: var(--red-700); font-weight: 750; }

.planner-panel { max-width: 900px; margin: 1.8rem auto 0; padding: clamp(2rem, 6vw, 5rem); border-radius: var(--radius-xl); background: radial-gradient(circle at 80% 10%, #174a74 0, var(--navy-900) 34%, var(--navy-950) 74%); color: #fff; text-align: center; box-shadow: var(--shadow); }
.planner-orbit { width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 1.2rem; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.planner-orbit svg { width: 2rem; height: 2rem; }
.planner-kicker { color: #ff95a0; font-size: .75rem; font-weight: 850; letter-spacing: .13em; }
.planner-panel h2 { margin: .7rem 0 1rem; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; }
.planner-panel > p:not(.planner-kicker):not(.external-note) { max-width: 650px; margin: 0 auto; color: #c4d1dc; }
.benefit-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.3rem; margin: 1.5rem 0 1.8rem; padding: 0; list-style: none; }
.benefit-list li { display: flex; align-items: center; gap: .35rem; color: #eef4f8; }
.benefit-list svg { color: #77dbb7; }
.planner-panel .primary-button { border-color: #fff; background: #fff; color: var(--navy-950); }
.external-note { max-width: 620px; margin: 1rem auto 0; color: #94a8ba; font-size: .78rem; }
.warning-card { max-width: 900px; margin: 1rem auto 0; padding: 1.2rem; border-left: 4px solid #d89a35; border-radius: 4px var(--radius-md) var(--radius-md) 4px; background: #fff8e8; color: #63491d; }
.warning-card p { margin: .25rem 0 0; }

.bonus-card { position: relative; isolation: isolate; width: min(680px, 100%); min-height: 370px; margin: 2rem auto 0; overflow: hidden; padding: clamp(1.5rem, 5vw, 3rem); border-radius: 28px; background: linear-gradient(135deg, #061a30 0%, #0b3459 60%, #a71326 140%); color: #fff; box-shadow: 0 26px 60px rgba(7,28,51,.24); }
.bonus-card::before { content: ""; position: absolute; z-index: -1; width: 390px; height: 390px; right: -170px; top: -160px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.035), 0 0 0 96px rgba(255,255,255,.025); }
.bonus-topline { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; letter-spacing: .11em; }
.bonus-topline strong { color: #ff9ea8; }
.bonus-card > p { margin: 2rem 0 .7rem; color: #d3dee8; font-size: .8rem; letter-spacing: .1em; }
.bonus-points { display: flex; align-items: baseline; gap: .75rem; }
.bonus-points strong { font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; }
.bonus-points span { color: #b5c6d5; }
.barcode { display: block; width: min(360px, 88%); height: 66px; margin-top: 1.8rem; border: 7px solid #fff; background: #fff; }
.barcode rect { fill: #071c33; }
.bonus-card-status { margin: .75rem 0 0 !important; color: #d3dee8; font-size: .72rem !important; letter-spacing: .01em !important; }
.bonus-card-status strong { color: #fff; }
.bonus-number { display: flex; justify-content: space-between; width: min(360px, 80%); color: #c4d1dc; font-size: .7rem; letter-spacing: .08em; }
.bonus-number strong { color: #fff; }
.watermark { position: absolute; right: 1.5rem; bottom: 1.4rem; padding: .4rem .6rem; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; color: #ffb7be; font-size: .75rem; font-weight: 850; letter-spacing: .09em; transform: rotate(-4deg); }
.card-actions { display: flex; justify-content: center; margin-top: 1rem; }
.points-rule { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; max-width: 680px; margin: 1.7rem auto .8rem; }
.points-rule > div { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; text-align: center; }
.points-rule span, .points-rule small { display: block; }
.points-rule span { color: var(--navy-900); font-family: Georgia, serif; font-size: 1.55rem; font-weight: 800; }
.points-rule small { color: var(--muted); font-size: .78rem; }
.cashier-note { text-align: center; color: var(--muted); font-weight: 700; }
.empty-card { max-width: 680px; margin: 2rem auto; padding: 2.5rem 1.5rem; border: 2px dashed #bec9d2; border-radius: var(--radius-xl); text-align: center; }
.empty-card > svg { width: 2.8rem; height: 2.8rem; color: var(--navy-700); }
.empty-card h2 { margin: .8rem 0 .3rem; color: var(--navy-950); }
.empty-card p { max-width: 500px; margin: 0 auto 1.2rem; color: var(--muted); }
.bonus-registration-demo { max-width: 680px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 1rem; margin: 1.4rem auto 0; padding: clamp(1rem, 3vw, 1.4rem); border: 1px solid #cbc7de; border-radius: var(--radius-xl); background: linear-gradient(145deg, #fff, #f2f1f8); }
.bonus-registration-copy h2 { margin: .55rem 0 .35rem; color: var(--navy-950); font-family: Georgia, serif; font-size: 1.5rem; line-height: 1.1; }
.bonus-registration-copy p { margin: 0; color: var(--muted); font-size: .84rem; }
.bonus-registration-form { display: grid; gap: .75rem; }
.bonus-registration-form > label:not(.consent-check) { display: grid; gap: .3rem; color: var(--navy-900); font-size: .82rem; font-weight: 800; }
.bonus-registration-form input:not([type="checkbox"]) { width: 100%; min-height: 46px; padding: .65rem .75rem; border: 1px solid #c4c1d7; border-radius: 11px; background: #fff; color: var(--ink); }
.bonus-registration-form input:not([type="checkbox"]):focus { border-color: var(--navy-700); outline: 3px solid rgba(47,37,132,.12); }
.bonus-registration-form label small { color: var(--muted); font-size: .72rem; font-weight: 500; }
.bonus-registration-form .consent-check { margin: 0; padding: .75rem; font-size: .8rem; }
.bonus-registration-form .primary-button { justify-self: start; }
.registration-result { margin: 0; padding: .7rem .8rem; border-radius: 11px; background: #eeedf5; color: var(--muted); font-size: .78rem; }
.registration-result.pass { background: #e5f5ee; color: var(--success); font-weight: 750; }
.registration-result.pending { background: #fff5df; color: #795619; font-weight: 750; }
.registration-result.fail { background: #fff0f2; color: var(--red-700); font-weight: 750; }

.store-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); margin-top: 1.8rem; padding: clamp(2rem, 6vw, 5rem); border-radius: var(--radius-xl); background: radial-gradient(circle at 88% 8%, rgba(228,3,36,.28), transparent 31%), linear-gradient(118deg, var(--navy-950), var(--navy-800)); color: #fff; box-shadow: 0 22px 52px rgba(47,37,132,.2); }
.store-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--red-600) 0 34%, #fff 34% 66%, var(--navy-700) 66%); opacity: .9; }
.store-hero-copy { position: relative; z-index: 1; }
.store-hero span { color: #ffb6bf; font-size: .75rem; font-weight: 850; letter-spacing: .15em; }
.store-hero h2 { margin: .7rem 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 6vw, 5rem); line-height: .95; }
.store-hero p { margin: 1.2rem 0 0; color: #d3d0ea; }
.store-hero-logo { position: relative; z-index: 1; width: clamp(150px, 18vw, 208px); aspect-ratio: 208 / 186; display: grid; place-items: center; padding: clamp(.65rem, 1.4vw, 1rem); border: 1px solid rgba(255,255,255,.5); border-radius: 28px; background: #fff; box-shadow: 0 20px 50px rgba(7,6,42,.28), 0 0 0 7px rgba(255,255,255,.09); transform: rotate(1.4deg); }
.store-hero-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; margin-top: 1rem; }
.info-card { display: flex; align-items: flex-start; gap: .9rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.info-card > svg { width: 1.45rem; height: 1.45rem; color: var(--red-700); margin-top: .1rem; }
.info-card strong { color: var(--navy-950); }
.info-card p { margin: .35rem 0; color: var(--muted); }
.info-card small { color: #7b8791; }
.info-card a { color: var(--navy-700); font-weight: 750; }
.contact-actions { display: flex; gap: .75rem; margin-top: 1rem; }
.standby-card { display: flex; gap: 1rem; margin-top: 1.5rem; padding: 1.1rem 1.2rem; border: 1px dashed #b8c4ce; border-radius: var(--radius-lg); background: rgba(255,255,255,.55); }
.standby-card > span { align-self: flex-start; padding: .3rem .45rem; border-radius: 6px; background: #dfe5ea; color: #596670; font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.standby-card p { margin: .2rem 0 0; color: var(--muted); }

.owner-warning { margin: 1.5rem 0; padding: 1rem 1.2rem; border: 1px solid #efc1c7; border-radius: var(--radius-lg); background: #fff1f3; color: #721524; }
.owner-warning p { margin: .2rem 0 0; }
.owner-section-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin: -0.5rem 0 1rem; }
.owner-section-nav button { min-height: 44px; padding: .55rem .85rem; border: 1px solid #c9c5db; border-radius: 999px; background: #fff; color: var(--navy-800); font-size: .84rem; font-weight: 800; cursor: pointer; }
.owner-section-nav button:hover { border-color: var(--navy-700); background: var(--soft); }
.owner-layout, .owner-scope { scroll-margin-top: 116px; }
.owner-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; }
.owner-form, .owner-preview, .owner-scope { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; }
.owner-form h2, .owner-scope h2 { margin: 0 0 1.2rem; color: var(--navy-950); font-family: Georgia, serif; }
.owner-form label { display: grid; gap: .4rem; margin-bottom: 1rem; color: var(--navy-900); font-size: .86rem; font-weight: 750; }
.owner-form input { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid #bdc8d1; border-radius: 11px; background: #fff; color: var(--ink); font-size: 1rem; }
.owner-form input:focus { border-color: var(--navy-700); outline: 3px solid rgba(18,68,111,.12); }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.offer-options { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin: .1rem 0 1rem; }
.owner-form .option-check { min-height: 48px; display: flex; align-items: center; gap: .65rem; margin: 0; padding: .7rem .8rem; border: 1px solid #d2cfdf; border-radius: 11px; background: #f8f8fc; cursor: pointer; }
.owner-form .option-check input { width: 20px; min-height: 20px; height: 20px; margin: 0; padding: 0; flex: none; accent-color: var(--navy-800); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.owner-preview { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: linear-gradient(145deg, #fff, #edf2f6); }
.preview-topline { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.offer-state-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: .28rem .55rem; border-radius: 999px; background: #ecebf3; color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .06em; }
.offer-state-chip.active { background: #e2f4ec; color: var(--success); }
.offer-state-chip.paused { background: #fff0d7; color: var(--warning); }
.offer-state-chip.expired { background: #fde7ea; color: var(--red-700); }
.owner-preview > p { margin: 1.2rem 0 .3rem; color: var(--muted); }
.owner-preview h2 { margin: 0; color: var(--navy-950); font-family: Georgia, serif; font-size: 2.2rem; line-height: 1.05; }
.owner-preview small { color: var(--muted); }
.owner-scope { margin-top: 1rem; }
.owner-scope ul { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1.5rem; margin: 0; padding-left: 1.2rem; color: var(--muted); }
.owner-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.owner-section-heading h2 { margin-bottom: .2rem; }
.owner-section-heading p { max-width: 680px; margin: 0; color: var(--muted); font-size: .86rem; }
.owner-update-form { display: grid; gap: .85rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #f8f8fc; }
.owner-update-form label { display: grid; gap: .4rem; color: var(--navy-900); font-size: .86rem; font-weight: 750; }
.owner-update-form input, .owner-update-form select, .owner-update-form textarea { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid #c4c1d7; border-radius: 11px; background: #fff; color: var(--ink); font-size: 1rem; }
.owner-update-form textarea { min-height: 72px; resize: vertical; line-height: 1.4; }
.owner-update-form input:focus, .owner-update-form select:focus, .owner-update-form textarea:focus { border-color: var(--navy-700); outline: 3px solid rgba(47,37,132,.12); }
.update-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.update-form-actions .primary-button { justify-self: start; }
.update-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.owner-updates-list { display: grid; gap: .65rem; margin-top: .85rem; }
.owner-update-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .8rem; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.owner-update-row.is-expired { border-style: dashed; background: #f6f5f9; opacity: .86; }
.owner-update-row strong { display: block; color: var(--navy-950); font-size: .92rem; }
.owner-update-row small { display: block; margin-top: .16rem; color: var(--muted); font-size: .78rem; }
.owner-update-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
.owner-update-actions button { min-height: 44px; padding: .5rem .7rem; }
.owner-update-actions .remove-update { color: var(--red-700); }
.owner-updates-empty { margin: .75rem 0 0; padding: 1rem; border: 1px dashed #c8c5d8; border-radius: 14px; color: var(--muted); text-align: center; }
.bridge-console { border-color: #bfc8df; background: linear-gradient(145deg, #fff, #f5f4fa); }
.bridge-lock-badge { display: inline-flex; align-items: center; flex: none; min-height: 34px; padding: .35rem .65rem; border: 1px solid #e8a4ae; border-radius: 999px; background: #fff0f2; color: var(--red-700); font-size: .72rem; font-weight: 900; letter-spacing: .06em; }
.simply-scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 0 0 1rem; }
.simply-scope-card { padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.simply-scope-card.allowed { border-color: rgba(22,123,89,.32); background: #f1faf6; }
.simply-scope-card.blocked { border-color: rgba(182,0,32,.2); background: #fff7f8; }
.simply-scope-card > span { display: block; margin-bottom: .24rem; color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.simply-scope-card.allowed > span { color: var(--success); }
.simply-scope-card.blocked > span { color: var(--red-700); }
.simply-scope-card > strong { color: var(--navy-950); }
.simply-scope-card ul { display: grid; grid-template-columns: 1fr; gap: .3rem; margin: .7rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .82rem; }
.bridge-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.bridge-summary-grid > div { min-width: 0; padding: .85rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.bridge-summary-grid span, .bridge-summary-grid strong { display: block; }
.bridge-summary-grid span { color: var(--muted); font-size: .74rem; }
.bridge-summary-grid strong { margin-top: .2rem; color: var(--navy-950); font-size: .94rem; line-height: 1.25; }
.bridge-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .85rem; }
.bridge-actions button:disabled { opacity: .45; cursor: not-allowed; }
.bridge-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.2rem; }
.bridge-columns h3 { margin: 0 0 .6rem; color: var(--navy-950); font-size: .92rem; }
.bridge-list { display: grid; align-content: start; gap: .55rem; max-height: 420px; overflow: auto; padding-right: .15rem; }
.bridge-list-row, .bridge-audit-row { min-width: 0; padding: .78rem; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.bridge-list-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .55rem; }
.bridge-list-row strong, .bridge-audit-row strong { color: var(--navy-950); font-size: .82rem; }
.bridge-list-row p, .bridge-audit-row p { margin: .3rem 0 0; color: var(--muted); font-size: .74rem; line-height: 1.4; }
.bridge-status { flex: none; max-width: 48%; padding: .23rem .4rem; border-radius: 999px; background: #ecebf3; color: #615d70; font-size: .61rem; font-weight: 900; letter-spacing: .03em; text-align: center; }
.bridge-status.matched_existing { background: #e2f4ec; color: var(--success); }
.bridge-status.ready_for_create, .bridge-status.pending { background: #fff2d8; color: #795619; }
.bridge-status.review_required, .bridge-status.rejected_consent { background: #fde7ea; color: var(--red-700); }
.bridge-row-action { min-height: 36px; margin-top: .55rem; padding: .4rem .55rem; border: 1px solid #c7c3d8; border-radius: 10px; background: #f8f8fc; color: var(--navy-800); font-size: .72rem; font-weight: 800; cursor: pointer; }
.bridge-row-action:hover { border-color: var(--navy-700); background: var(--soft); }
.bridge-empty { margin: 0; padding: 1rem; border: 1px dashed #c8c5d8; border-radius: 13px; color: var(--muted); font-size: .8rem; text-align: center; }
.bridge-footnote { margin: 1rem 0 0; padding: .8rem .9rem; border-left: 4px solid var(--navy-700); border-radius: 4px 11px 11px 4px; background: #eeedf5; color: #555067; font-size: .78rem; }
.device-lab { border-color: #cbc7de; background: linear-gradient(145deg, #fff, #f3f2f8); }
.device-progress { display: inline-flex; align-items: center; justify-content: center; flex: none; min-height: 36px; padding: .38rem .72rem; border: 1px solid #d6c899; border-radius: 999px; background: #fff8df; color: #795619; font-size: .78rem; font-weight: 900; letter-spacing: .04em; }
.device-progress.complete { border-color: #abd8c7; background: #e5f5ee; color: var(--success); }
.device-progress.has-fail { border-color: #edb9c1; background: #fff0f2; color: var(--red-700); }
.device-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-bottom: .8rem; }
.device-facts > div { min-width: 0; padding: .8rem; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.device-facts span, .device-facts strong { display: block; }
.device-facts span { color: var(--muted); font-size: .74rem; }
.device-facts strong { margin-top: .15rem; color: var(--navy-950); font-size: .84rem; line-height: 1.3; }
.device-tests { display: grid; gap: .7rem; }
.device-test { padding: 1rem; border: 1px solid var(--line); border-left: 4px solid #c7c3d8; border-radius: 15px; background: #fff; transition: border-color .2s ease, background .2s ease; }
.device-test.has-pass { border-left-color: var(--success); background: #fbfffd; }
.device-test.has-fail { border-left-color: var(--red-600); background: #fffafb; }
.device-test-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: .8rem; }
.device-test-head strong { display: block; color: var(--navy-950); font-size: .94rem; }
.device-test-head p { margin: .2rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.device-test-head small { display: block; margin-top: .35rem; color: #716b80; font-size: .76rem; }
.test-number { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--soft); color: var(--navy-800); font-weight: 900; }
.result-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 76px; min-height: 30px; padding: .28rem .5rem; border-radius: 999px; background: #ecebf3; color: #6b6878; font-size: .7rem; font-weight: 900; letter-spacing: .05em; }
.result-chip.pass { background: #e2f4ec; color: var(--success); }
.result-chip.fail { background: #fde7ea; color: var(--red-700); }
.device-test-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .85rem 0 0 2.8rem; }
.device-test-actions button { min-height: 44px; }
.result-button { min-width: 68px; min-height: 44px; border: 1px solid; border-radius: 12px; background: #fff; font-size: .78rem; font-weight: 900; cursor: pointer; }
.result-button.pass { border-color: #8cc9b2; color: var(--success); }
.result-button.pass:hover { background: #e5f5ee; }
.result-button.fail { border-color: #e8a4ae; color: var(--red-700); }
.result-button.fail:hover { background: #fff0f2; }
.device-report-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1rem; }
.device-report-note { margin: .8rem 0 0; padding: .85rem 1rem; border-radius: 12px; background: #efeff7; color: #545060; font-size: .82rem; }
.production-gate-badge { display: inline-flex; align-items: center; min-height: 34px; padding: .35rem .75rem; border-radius: 999px; background: #fae7e8; color: #9c1727; font-size: .78rem; font-weight: 900; letter-spacing: .05em; }
.production-evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1rem 0 1.2rem; }
.production-proof { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.production-proof span { display: block; margin-bottom: .45rem; color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .06em; }
.production-proof strong { display: block; color: var(--navy-900); }
.production-proof p { margin: .5rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.production-proof.fail { border-color: #e6a7ad; background: #fff7f7; }
.production-proof.fail strong { color: #9c1727; }
.production-proof.pending { border-color: #d8d1b2; background: #fffdf4; }
.pos-evidence-form { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: #f8f9fb; }
.owner-section-heading.compact { margin-bottom: .8rem; }
.owner-section-heading.compact h3 { margin: 0; color: var(--navy-900); }
.owner-section-heading.compact p { margin: .3rem 0 0; }
.pos-evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.pos-evidence-grid label { display: grid; gap: .35rem; color: var(--navy-900); font-size: .82rem; font-weight: 800; }
.pos-evidence-grid input { width: 100%; min-height: 44px; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy-900); font: inherit; }
.test-pass-text { color: var(--success) !important; }
.test-fail-text { color: var(--red-700) !important; }
.test-status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.test-status-grid > div { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .5rem; padding: .85rem; border: 1px solid var(--line); border-radius: 13px; background: #f8fafb; }
.test-status-grid strong { color: var(--navy-950); font-size: .86rem; }
.test-status-grid small { grid-column: 2; color: var(--muted); font-size: .75rem; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #b48221; box-shadow: 0 0 0 4px rgba(180,130,33,.12); }
.status-dot.pass { background: var(--success); box-shadow: 0 0 0 4px rgba(22,123,89,.12); }
.status-dot.fail { background: var(--red-600); box-shadow: 0 0 0 4px rgba(197,30,50,.12); }

.bottom-nav { display: none; }
.app-dialog { width: min(460px, calc(100% - 2rem)); border: 0; border-radius: 24px; padding: 2rem; color: var(--ink); box-shadow: 0 30px 90px rgba(4,20,38,.35); }
.app-dialog::backdrop { background: rgba(4,20,38,.66); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: .9rem; right: .9rem; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer; }
.dialog-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: #e5eef5; color: var(--navy-700); }
.dialog-icon.red { background: #fde7ea; color: var(--red-700); }
.app-dialog h2 { margin: 1rem 0 .5rem; color: var(--navy-950); font-family: Georgia, serif; font-size: 1.8rem; }
.app-dialog p { color: var(--muted); }
.app-dialog small { color: #7d8790; }
.install-dialog-state { margin: .8rem 0; padding: .7rem .8rem; border-radius: 11px; background: #f1f0f6; color: #625f70 !important; font-size: .84rem; font-weight: 750; }
.install-dialog-state.pass { background: #e5f5ee; color: var(--success) !important; }
.dialog-safety { display: flex; gap: .65rem; margin-top: 1rem; padding: .85rem; border-radius: 12px; background: #e9f6f1; color: #135a44; font-size: .86rem; }
.dialog-safety svg { margin-top: .1rem; }
.install-refresh-guide { margin: 1rem 0; padding: .85rem 1rem; border: 1px solid #d4d1e2; border-radius: 12px; background: #f5f4fa; color: #4f4b5d; font-size: .8rem; }
.install-refresh-guide strong { color: var(--navy-950); }
.install-refresh-guide ol { margin: .45rem 0 0; padding-left: 1.15rem; }
.install-refresh-guide li + li { margin-top: .3rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .65rem; margin-top: 1.2rem; }
.muted { font-size: .86rem; }
.full-link { width: 100%; margin-top: .65rem; }
.token-status { min-height: 1.2rem; margin: .7rem 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(1.3rem + var(--safe-bottom)); max-width: calc(100% - 2rem); padding: .8rem 1rem; border-radius: 12px; background: var(--navy-950); color: #fff; box-shadow: var(--shadow); transform: translate(-50%, 130%); opacity: 0; transition: .25s ease; pointer-events: none; text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1050px) {
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-card { min-height: 118px; }
  .store-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .demo-ribbon { min-height: 40px; align-items: center; flex-wrap: wrap; gap: .1rem .5rem; padding: .38rem .7rem; line-height: 1.2; }
  .app-shell { padding-top: 40px; }
  .side-panel { display: none; }
  .app-area { margin-left: 0; }
  .topbar { height: 66px; top: 40px; justify-content: space-between; padding: 0 1rem; }
  .desktop-view-title { display: none; }
  .mobile-brand { display: flex; }
  .mobile-brand strong { color: var(--navy-950); font-family: Georgia, serif; font-size: .98rem; line-height: 1.05; }
  .mobile-brand small { color: var(--muted); font-size: .75rem; }
  .network-state { display: none; }
  main { padding: 1.5rem 1rem calc(6.2rem + var(--safe-bottom)); }
  h1 { font-size: 2.15rem; }
  .today-chip { display: none; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.4rem 0; }
  .quick-card { min-height: 155px; grid-template-columns: 1fr auto; align-content: start; padding: 1rem; }
  .quick-card .quick-icon { grid-column: 1; }
  .quick-card > span:nth-child(2) { grid-column: 1 / -1; }
  .quick-card .quick-arrow { grid-column: 2; grid-row: 1; }
  .featured-offer { min-height: 430px; }
  .offer-shade { background: linear-gradient(0deg, rgba(4,20,38,.99) 0%, rgba(4,20,38,.85) 52%, rgba(4,20,38,.05) 92%); }
  .offer-content { position: absolute; inset: auto 0 0; width: 100%; padding: 1.4rem; }
  .offer-content h2 { font-size: 2rem; }
  .offer-content > p { margin-top: .8rem; }
  .price-line { margin: .7rem 0; }
  .service-note { align-items: flex-start; }
  .service-note-mark { width: 50px; height: 50px; flex: none; }
  .updates-list { grid-template-columns: 1fr; }
  .page-heading { align-items: flex-start; }
  .page-heading .outline-button { min-height: 42px; padding: .55rem .7rem; font-size: .8rem; }
  .offer-large { grid-template-columns: 1fr; }
  .offer-large img { min-height: 230px; max-height: 260px; }
  .offer-large-copy { padding: 1.3rem; }
  .offer-large-copy h2 { font-size: 2rem; }
  .planner-panel { padding: 2.2rem 1.2rem; }
  .planner-panel h2 { font-size: 2.25rem; }
  .benefit-list { display: grid; justify-content: start; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
  .bonus-card { min-height: 345px; border-radius: 22px; }
  .bonus-points strong { font-size: 3.7rem; }
  .barcode, .bonus-number { width: 88%; }
  .watermark { right: 1rem; bottom: 1rem; }
  .points-rule { grid-template-columns: 1fr 1fr 1fr; gap: .45rem; }
  .points-rule > div { padding: .75rem .35rem; }
  .points-rule span { font-size: 1.25rem; }
  .points-rule small { font-size: .75rem; }
  .bonus-registration-demo { grid-template-columns: 1fr; }
  .store-hero { grid-template-columns: minmax(0, 1fr) 112px; gap: 1rem; padding: 2.2rem 1.4rem; }
  .store-hero-logo { width: 112px; padding: .5rem; border-radius: 19px; box-shadow: 0 14px 32px rgba(7,6,42,.26), 0 0 0 5px rgba(255,255,255,.08); }
  .owner-layout { grid-template-columns: 1fr; }
  .owner-section-nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .owner-section-nav button { padding-inline: .45rem; }
  .two-fields { grid-template-columns: 1fr; gap: 0; }
  .offer-options { grid-template-columns: 1fr; }
  .owner-scope ul { grid-template-columns: 1fr; }
  .simply-scope-grid { grid-template-columns: 1fr; }
  .owner-section-heading { display: grid; }
  .owner-section-heading .text-button { justify-self: start; padding-left: 0; }
  .update-form-grid { grid-template-columns: 1fr; }
  .owner-update-row { grid-template-columns: 1fr; }
  .owner-update-actions { justify-content: flex-start; }
  .bridge-summary-grid { grid-template-columns: 1fr 1fr; }
  .bridge-columns { grid-template-columns: 1fr; }
  .device-facts { grid-template-columns: 1fr 1fr; }
  .device-test-actions { margin-left: 0; }
  .test-status-grid { grid-template-columns: 1fr 1fr; }
  .bottom-nav { position: fixed; z-index: 35; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: .5rem .35rem calc(.45rem + var(--safe-bottom)); border-top: 1px solid rgba(7,28,51,.12); background: rgba(255,255,255,.95); backdrop-filter: blur(18px); box-shadow: 0 -8px 24px rgba(7,28,51,.08); }
  .bottom-nav button { min-width: 0; display: grid; justify-items: center; gap: .18rem; border: 0; background: transparent; color: #77838d; font-size: .75rem; cursor: pointer; }
  .bottom-nav button svg { width: 1.25rem; height: 1.25rem; }
  .bottom-nav button.active { color: var(--red-700); font-weight: 820; }
  .bottom-nav button.active svg { transform: translateY(-1px); }
  .toast { bottom: calc(5.7rem + var(--safe-bottom)); }
}

@media (max-width: 430px) {
  .demo-ribbon span { display: none; }
  .quick-card { min-height: 145px; }
  .updates-list { grid-template-columns: 1fr; }
  .update-item { grid-template-columns: 58px minmax(0, 1fr); padding: .8rem; }
  .update-date { width: 58px; min-height: 62px; }
  .offer-row { grid-template-columns: auto 1fr; }
  .offer-row > strong { grid-column: 2; text-align: left; }
  .page-heading { display: grid; }
  .page-heading .outline-button { justify-self: start; }
  .bonus-card { padding: 1.25rem; }
  .bonus-number { display: grid; }
  .bonus-points { align-items: flex-end; }
  .bonus-registration-form .primary-button { width: 100%; }
  .bridge-summary-grid { grid-template-columns: 1fr; }
  .bridge-actions { display: grid; grid-template-columns: 1fr; }
  .bridge-actions > * { width: 100%; }
  .contact-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .device-facts { grid-template-columns: 1fr; }
  .device-test-head { grid-template-columns: auto minmax(0, 1fr); }
  .device-test-head .result-chip { grid-column: 2; justify-self: start; }
  .device-test-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .device-test-actions .outline-button { grid-column: 1 / -1; width: 100%; }
  .device-report-actions { display: grid; grid-template-columns: 1fr; }
  .device-report-actions > * { width: 100%; }
  .production-evidence-grid, .pos-evidence-grid { grid-template-columns: 1fr; }
  .test-status-grid { grid-template-columns: 1fr; }
  .store-hero { min-height: 310px; grid-template-columns: 1fr; align-items: start; }
  .store-hero-copy { max-width: 82%; }
  .store-hero h2 { font-size: 2.4rem; }
  .store-hero-logo { position: absolute; right: -1rem; bottom: 1.2rem; width: 116px; opacity: .22; transform: rotate(-7deg); }
}

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

@media (prefers-contrast: more) {
  :root { --line: #7d8892; }
  .quick-card, .info-card, .offer-row { border-width: 2px; }
}

/* Owner confirmation controls must remain compact on narrow screens. */
.owner-view input[type="checkbox"] { width: 22px; height: 22px; min-height: 22px; margin: 0 .5rem 0 0; padding: 0; flex: none; accent-color: var(--navy-800); }
.owner-view .confirmation-check { display: flex; align-items: flex-start; gap: .5rem; font-weight: 500; line-height: 1.5; }
