:root {
  --cream: #fff7e9;
  --paper: #fffdf8;
  --ink: #21160f;
  --ink-soft: #35251a;
  --muted: #75685d;
  --gold: #d8b166;
  --gold-deep: #a77d43;
  --gold-light: #f2d590;
  --coral: #e96855;
  --green: #2f7357;
  --green-soft: #e9f4ed;
  --line: rgba(92, 65, 40, .17);
  --app-height: 100vh;
  --header-height: 58px;
  --nav-height: 68px;
  font-family: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #100b08;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { display: flex; align-items: center; justify-content: center; background: #100b08; }
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.deck {
  position: relative;
  display: grid;
  grid-template-rows: var(--header-height) minmax(0, 1fr) var(--nav-height);
  width: min(100vw, calc(var(--app-height) * 1.333333));
  height: min(var(--app-height), 75vw);
  overflow: hidden;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 22px 80px rgba(0, 0, 0, .38);
}

.deck-header,
.deck-nav {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  background: rgba(255, 253, 248, .97);
}

.deck-header {
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 170px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 850;
  letter-spacing: .1em;
}

.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand-dash { color: var(--gold-deep); }
.deck-label { color: #87796d; font-size: 14px; font-weight: 700; }
.header-actions { display: flex; min-width: 170px; justify-content: flex-end; gap: 8px; }
.header-button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}
.language-picker { position: relative; }
.language-button { min-width: 58px; gap: 4px; padding: 0 9px; }
.language-flag, #language-flag { font-size: 16px; line-height: 1; }
.language-button #language-current { color: var(--gold-deep); font-weight: 900; }
.language-chevron { margin-left: 1px; color: var(--muted); font-size: 14px; transform: translateY(-1px); }
.language-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; width: 138px; overflow: hidden; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 15px 32px rgba(33,22,15,.2); }
.language-menu button { display: flex; width: 100%; min-height: 37px; align-items: center; gap: 8px; padding: 0 9px; border: 0; border-radius: 8px; color: var(--ink); background: transparent; cursor: pointer; font-size: 12px; font-weight: 750; text-align: left; }
.language-menu button:hover, .language-menu button:focus { outline: 0; background: #f6ecdc; }
.header-primary { border-color: var(--gold); background: var(--gold); }

.slides { position: relative; min-height: 0; overflow: hidden; }
.slide { position: absolute; inset: 0; display: none; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.slide.is-active { display: block; }
.slide-paper { background: var(--paper); }
.slide-soft { background: #f8efdf; }
.slide-dark { color: #fffaf0; background: var(--ink); }
.slide-photo { color: #fffaf0; background: var(--ink); }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: clamp(13px, 1.45vw, 16px);
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.slide-dark .eyebrow,
.slide-photo .eyebrow,
.slide-hero .eyebrow,
.slide-offer .eyebrow { color: var(--gold-light); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  margin-bottom: 18px;
  font-size: clamp(44px, 5.2vw, 62px);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.08;
}

.slide-copy {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 450;
  line-height: 1.45;
}

.slide-dark .slide-copy,
.slide-photo .slide-copy,
.slide-hero .slide-copy,
.slide-offer .slide-copy { color: #e3d6c8; }

.split {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 5vw, 60px);
  width: 100%;
  height: 100%;
  align-items: center;
  padding: clamp(32px, 5vw, 58px);
}

.split-wide { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.split > *, .dashboard-layout > *, .form-layout > *, .review-layout > * { min-width: 0; }
.slide-message { position: relative; z-index: 2; }
.slide-message h2 { max-width: 510px; }

.is-active .slide-message > *,
.is-active .hero-content > *,
.is-active .center-message > *,
.is-active .offer-wrap > * {
  animation: rise-in 430ms both;
}
.is-active .slide-message > :nth-child(2),
.is-active .hero-content > :nth-child(2),
.is-active .center-message > :nth-child(2),
.is-active .offer-wrap > :nth-child(2) { animation-delay: 55ms; }
.is-active .slide-message > :nth-child(3),
.is-active .hero-content > :nth-child(3),
.is-active .center-message > :nth-child(3),
.is-active .offer-wrap > :nth-child(3) { animation-delay: 105ms; }

/* Hero */
.slide-hero { color: #fffaf0; background: var(--ink); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,12,7,.97) 0%, rgba(20,12,7,.82) 47%, rgba(20,12,7,.31) 74%, rgba(20,12,7,.21)), linear-gradient(0deg, rgba(20,12,7,.86) 0%, transparent 52%); }
.hero-content { position: absolute; top: 6%; left: 4.5%; z-index: 2; width: 53%; }
.hero-content h1 { max-width: 610px; margin-bottom: 12px; font-size: clamp(42px, 4.9vw, 58px); line-height: 1.02; }
.hero-content .slide-copy { max-width: 580px; color: #fffaf0; font-size: clamp(20px, 2.3vw, 27px); font-weight: 680; line-height: 1.28; }
.hero-offer {
  position: absolute;
  right: 4.5%;
  top: 6%;
  z-index: 2;
  display: flex;
  width: 29%;
  min-height: 205px;
  padding: 20px 22px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(255,253,248,.98), rgba(246,226,180,.95));
  box-shadow: 0 22px 52px rgba(0,0,0,.28), inset 0 1px 0 #fff;
}
.offer-kicker { color: var(--gold-deep); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero-offer del { margin-top: 5px; color: #6d5b4c; font-size: clamp(24px,2.7vw,31px); font-weight: 780; text-decoration-color: var(--coral); text-decoration-thickness: 3px; }
.hero-offer strong { margin-top: -2px; color: var(--green); font-size: clamp(54px,6vw,72px); font-weight: 900; letter-spacing: -.055em; line-height: .98; }
.hero-offer small { margin-top: 8px; color: #4e4035; font-size: 14px; font-weight: 720; line-height: 1.28; }
.hero-benefits { position: absolute; right: 4.5%; bottom: 4.5%; left: 4.5%; z-index: 2; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.hero-benefit { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 11px; min-height: 76px; align-items: center; padding: 12px 15px; border: 1px solid rgba(255,255,255,.23); border-radius: 15px; background: rgba(28,19,13,.84); box-shadow: 0 12px 30px rgba(0,0,0,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-benefit svg { width: 30px; height: 30px; color: var(--gold-light); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-benefit span { display: block; min-width: 0; }
.hero-benefit strong, .hero-benefit small { display: block; }
.hero-benefit strong { color: #fffdf8; font-size: 14px; font-weight: 820; line-height: 1.15; }
.hero-benefit small { margin-top: 4px; color: #d7c9bc; font-size: 11px; font-weight: 570; line-height: 1.18; }
.is-active .hero-offer { animation: confirm-in 460ms 150ms both; }
.is-active .hero-benefit { animation: rise-in 380ms both; }
.is-active .hero-benefit:nth-child(1) { animation-delay: 190ms; }
.is-active .hero-benefit:nth-child(2) { animation-delay: 230ms; }
.is-active .hero-benefit:nth-child(3) { animation-delay: 270ms; }
.is-active .hero-benefit:nth-child(4) { animation-delay: 310ms; }
.is-active .hero-benefit:nth-child(5) { animation-delay: 350ms; }
.is-active .hero-benefit:nth-child(6) { animation-delay: 390ms; }
.live-dot { grid-row: 1 / 3; align-self: center; width: 11px; height: 11px; border-radius: 50%; background: #65c58e; box-shadow: 0 0 0 6px rgba(101,197,142,.15); }

/* Dish orbit */
.dish-orbit { position: relative; width: min(50vw, 560px); max-width: 100%; aspect-ratio: 1 / .88; justify-self: center; }
.dish-orbit::before { position: absolute; inset: 10% 15%; border: 1px dashed rgba(184,135,63,.45); border-radius: 50%; content: ""; }
.dish-orbit img { position: absolute; top: 50%; left: 50%; width: 54%; aspect-ratio: 1; object-fit: cover; border: 10px solid #fff; border-radius: 50%; box-shadow: 0 20px 55px rgba(53,35,20,.18); transform: translate(-50%, -50%); }
.orbit-item { position: absolute; z-index: 2; display: grid; min-height: 44px; padding: 0 14px; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(255,253,248,.96); box-shadow: 0 8px 22px rgba(53,35,20,.09); font-size: 14px; font-weight: 750; }
.orbit-1 { top: 3%; left: 36%; }
.orbit-2 { top: 20%; right: 0; }
.orbit-3 { right: 2%; bottom: 18%; }
.orbit-4 { bottom: 1%; left: 36%; }
.orbit-5 { bottom: 18%; left: 0; }
.orbit-6 { top: 20%; left: 1%; }
.is-active .orbit-item { animation: pop-in 330ms both; }
.is-active .orbit-2 { animation-delay: 60ms; }
.is-active .orbit-3 { animation-delay: 120ms; }
.is-active .orbit-4 { animation-delay: 180ms; }
.is-active .orbit-5 { animation-delay: 240ms; }
.is-active .orbit-6 { animation-delay: 300ms; }

/* Micro-influencer video campaign */
.campaign-icon-list { display: grid; gap: 8px; margin-top: 22px; }
.campaign-icon-list > span { display: flex; min-height: 37px; align-items: center; gap: 10px; color: #57483c; font-size: 12px; }
.campaign-icon-list svg { width: 25px; height: 25px; flex: 0 0 auto; color: var(--gold-deep); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.campaign-icon-list b { font-weight: 800; }
.campaign-icon-list > span > span { display: block; }
.campaign-icon-list small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 560; line-height: 1.18; }

.creator-campaign-visual { position: relative; width: min(53vw,580px); max-width: 100%; height: min(55vh,430px); min-height: 360px; justify-self: center; }
.creator-reel { position: absolute; overflow: hidden; border: 3px solid #fff; border-radius: 24px; color: #fff; background: var(--ink); box-shadow: 0 24px 55px rgba(36,22,13,.25); }
.creator-reel::after { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(13,8,5,.5),transparent 30%,transparent 58%,rgba(13,8,5,.78)); content: ""; }
.creator-reel > img { width: 100%; height: 100%; object-fit: cover; }
.creator-reel-left { top: 12%; left: 0; z-index: 1; width: 34%; height: 57%; transform: rotate(-5deg); }
.creator-reel-left > img { object-position: 76% center; }
.creator-reel-main { top: 1%; left: 50%; z-index: 3; width: 43%; height: 72%; transform: translateX(-50%); }
.creator-reel-main > img { object-position: center 43%; }
.creator-reel-right { top: 13%; right: 0; z-index: 1; width: 34%; height: 57%; transform: rotate(5deg); }
.creator-reel-right > img { object-position: 75% center; }
.reel-top { position: absolute; top: 0; right: 0; left: 0; z-index: 2; display: flex; min-height: 43px; align-items: center; gap: 7px; padding: 7px 9px; font-size: 9px; }
.reel-top i { width: 22px; height: 22px; flex: 0 0 auto; border: 2px solid var(--gold-light); border-radius: 50%; background: rgba(255,255,255,.28); }
.reel-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel-top span { margin-left: auto; font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.reel-tag { position: absolute; right: 9px; bottom: 48px; z-index: 3; padding: 7px 10px; border-radius: 999px; color: var(--ink); background: rgba(255,253,248,.95); font-size: 11px; font-weight: 900; }
.creator-reel-main .reel-tag { right: auto; bottom: 74px; left: 12px; padding: 8px 12px; font-size: 13px; }
.reel-numbers { position: absolute; bottom: 14px; left: 10px; z-index: 3; font-size: 9px; font-weight: 800; }
.reel-caption { position: absolute; right: 12px; bottom: 13px; left: 12px; z-index: 3; }
.reel-caption b, .reel-caption small { display: block; }
.reel-caption b { font-size: 11px; }
.reel-caption small { margin-top: 3px; color: #e9dfd5; font-size: 9px; }
.reel-play { position: absolute; top: 45%; left: 50%; z-index: 3; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(20,12,7,.42); font-size: 16px; transform: translate(-50%,-50%); }
.reel-hearts { position: absolute; right: 10px; bottom: 76px; z-index: 4; display: grid; gap: 2px; color: #fff; }
.reel-hearts i { color: var(--coral); font-size: 19px; font-style: normal; text-shadow: 0 2px 8px rgba(0,0,0,.32); }
.campaign-reach-note { position: absolute; right: 7%; bottom: 60px; left: 7%; z-index: 5; display: flex; min-height: 53px; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(167,125,67,.28); border-radius: 15px; color: var(--ink); background: rgba(255,250,239,.96); box-shadow: 0 10px 25px rgba(53,35,20,.11); }
.campaign-reach-note svg { width: 28px; height: 28px; flex: 0 0 auto; color: var(--gold-deep); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.campaign-reach-note b, .campaign-reach-note small { display: block; }
.campaign-reach-note b { font-size: 11px; font-weight: 900; }
.campaign-reach-note small { margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 600; line-height: 1.22; }
.campaign-proof-pill { position: absolute; right: 7%; bottom: 0; left: 7%; z-index: 5; display: flex; min-height: 48px; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: rgba(255,253,248,.97); box-shadow: 0 12px 30px rgba(53,35,20,.16); }
.campaign-proof-pill span { color: var(--gold-deep); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.campaign-proof-pill strong { font-size: 10px; }
.campaign-proof-pill b { margin-left: auto; color: var(--green); font-size: 10px; }
.is-active .creator-reel-left { animation: reel-left-in 430ms 80ms both; }
.is-active .creator-reel-main { animation: reel-main-in 470ms 150ms both; }
.is-active .creator-reel-right { animation: reel-right-in 430ms 220ms both; }
.is-active .campaign-proof-pill { animation: rise-in 400ms 340ms both; }
.is-active .campaign-reach-note { animation: rise-in 400ms 300ms both; }
.is-active .campaign-icon-list > span { animation: rise-in 330ms both; }
.is-active .campaign-icon-list > span:nth-child(2) { animation-delay: 55ms; }
.is-active .campaign-icon-list > span:nth-child(3) { animation-delay: 110ms; }
.is-active .reel-hearts i { animation: heart-rise 1.5s ease-in-out infinite; }
.is-active .reel-hearts i:nth-child(2) { animation-delay: .35s; }
.is-active .reel-hearts i:nth-child(3) { animation-delay: .7s; }

/* Reusable Instagram content */
.growth-benefits { display: grid; gap: 10px; margin-top: 22px; }
.growth-benefits > span { display: flex; align-items: center; gap: 10px; color: #584b40; font-size: 13px; line-height: 1.26; }
.growth-benefits svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--gold-deep); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.content-growth-visual { position: relative; width: min(53vw,570px); max-width: 100%; height: min(54vh,420px); min-height: 350px; justify-self: center; }
.restaurant-feed-card { position: absolute; top: 2%; left: 7%; z-index: 3; width: 47%; height: 83%; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 24px 55px rgba(53,35,20,.18); }
.feed-head { display: flex; min-height: 54px; align-items: center; gap: 8px; padding: 9px 11px; }
.feed-head i { width: 30px; height: 30px; border: 2px solid var(--gold); border-radius: 50%; background: url("images/restaurant-pitch-room-v1.jpg") center / cover; }
.feed-head strong, .feed-head small { display: block; }
.feed-head strong { color: var(--ink); font-size: 11px; }
.feed-head small { margin-top: 1px; color: var(--muted); font-size: 8px; }
.feed-head > b { margin-left: auto; color: var(--ink); font-size: 18px; }
.feed-video { position: relative; height: calc(100% - 89px); overflow: hidden; background: var(--ink); }
.feed-video::after { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(20,12,7,.58),transparent 45%); content: ""; }
.feed-video img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.feed-video span { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; color: #fff; background: rgba(20,12,7,.36); transform: translate(-50%,-50%); }
.feed-video em { position: absolute; bottom: 9px; left: 9px; z-index: 2; color: #fff; font-size: 9px; font-style: normal; font-weight: 800; }
.feed-actions { display: flex; min-height: 35px; align-items: center; padding: 0 10px; color: var(--ink); font-size: 14px; }
.feed-actions b { margin-left: auto; color: var(--muted); font-size: 8px; }
.autopost-card { position: absolute; top: 17%; right: 0; z-index: 4; display: grid; grid-template-columns: 36px 1fr auto; width: 50%; min-height: 82px; align-items: center; gap: 9px; padding: 11px; border: 1px solid rgba(242,213,144,.26); border-radius: 16px; color: #fff8ec; background: var(--ink); box-shadow: 0 20px 45px rgba(53,35,20,.2); }
.autopost-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--gold); font-size: 20px; font-weight: 900; }
.autopost-card strong, .autopost-card small { display: block; }
.autopost-card strong { font-size: 11px; line-height: 1.15; }
.autopost-card small { margin-top: 5px; color: #d9cab9; font-size: 9px; }
.autopost-card small b { color: var(--gold-light); }
.autopost-card > i { padding: 5px 6px; border-radius: 999px; color: #d7f0df; background: rgba(101,197,142,.18); font-size: 8px; font-style: normal; font-weight: 900; }
.reach-card { position: absolute; right: 4%; bottom: 7%; z-index: 4; width: 48%; padding: 16px; border: 1px solid rgba(167,125,67,.23); border-radius: 18px; color: var(--ink); background: #fffdf8; box-shadow: 0 17px 42px rgba(53,35,20,.13); }
.reach-card span, .reach-card strong, .reach-card small { display: block; }
.reach-card span { color: var(--gold-deep); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.reach-card strong { margin-top: 7px; font-size: clamp(22px,2.7vw,31px); line-height: 1; }
.reach-card small { margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.25; }
.growth-arrow { position: absolute; top: 45%; left: 48%; z-index: 5; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(233,104,85,.34); border-radius: 50%; color: var(--coral); background: #fffdf8; box-shadow: 0 10px 22px rgba(53,35,20,.13); font-size: 22px; }
.is-active .restaurant-feed-card { animation: reel-main-in 450ms 80ms both; }
.is-active .autopost-card { animation: rise-in 390ms 210ms both; }
.is-active .reach-card { animation: rise-in 390ms 320ms both; }
.is-active .growth-arrow { animation: confirm-in 420ms 260ms both; }
.is-active .growth-benefits > span { animation: rise-in 340ms both; }
.is-active .growth-benefits > span:nth-child(2) { animation-delay: 65ms; }
.content-growth-slide .split { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(22px,3.4vw,42px); }
.content-growth-slide .slide-message h2 { font-size: clamp(40px,4.5vw,53px); }
.content-growth-slide .slide-copy { max-width: 340px; }
.content-growth-slide .content-growth-visual { width: min(100%,460px); }

/* Visible demand: the same restaurant, empty versus lively */
.demand-reasons { display: grid; gap: 9px; margin-top: 21px; }
.demand-reasons > span { display: flex; align-items: center; gap: 10px; color: #584b40; font-size: 13px; }
.demand-reasons svg { width: 25px; height: 25px; flex: 0 0 auto; color: var(--gold-deep); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.seat-contrast { position: relative; width: min(53vw,570px); max-width: 100%; height: min(50vh,370px); min-height: 300px; justify-self: center; }
.seat-photo { position: absolute; top: 5%; width: 47%; height: auto; margin: 0; overflow: visible; aspect-ratio: 4 / 3; border: 3px solid #fff; border-radius: 23px; background: #e7ddd0; box-shadow: 0 23px 52px rgba(53,35,20,.2); }
.seat-photo img { display: block; width: 100%; height: 100%; border-radius: 20px; object-fit: cover; }
.seat-photo::after { position: absolute; inset: 0; border-radius: 20px; background: linear-gradient(0deg,rgba(20,12,7,.42),transparent 52%); content: ""; }
.seat-photo-empty { left: 0; transform: rotate(-2deg); }
.seat-photo-busy { right: 0; transform: rotate(2deg); }
.seat-photo span, .seat-photo figcaption { position: absolute; z-index: 2; right: 12px; left: 12px; }
.seat-photo span { top: 12px; display: inline-flex; width: max-content; max-width: calc(100% - 24px); padding: 5px 7px; border-radius: 999px; color: #fff8ec; background: rgba(20,12,7,.58); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.seat-photo figcaption { bottom: calc(100% + 13px); padding: 9px 10px; border-radius: 12px; color: var(--ink); background: rgba(255,253,248,.97); box-shadow: 0 9px 20px rgba(53,35,20,.12); font-size: 12px; font-weight: 760; line-height: 1.28; }
.seat-photo figcaption::after { position: absolute; right: 22px; bottom: -7px; width: 14px; height: 14px; background: rgba(255,253,248,.94); content: ""; transform: rotate(45deg); }
.seat-arrow { position: absolute; top: 41%; left: 50%; z-index: 3; display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid rgba(233,104,85,.34); border-radius: 50%; color: var(--coral); background: #fffdf8; box-shadow: 0 11px 25px rgba(53,35,20,.16); font-size: 27px; transform: translate(-50%,-50%); }
.seat-proof { position: absolute; right: 7%; bottom: 0; left: 7%; z-index: 4; display: grid; grid-template-columns: auto 1fr auto; min-height: 50px; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #fffdf8; box-shadow: 0 13px 30px rgba(53,35,20,.14); }
.seat-proof b { color: var(--gold-deep); font-size: 9px; letter-spacing: .1em; }
.seat-proof span { color: var(--muted); font-size: 10px; }
.seat-proof strong { color: var(--green); font-size: 9px; }
.is-active .seat-photo-empty { animation: reel-left-in 440ms 80ms both; }
.is-active .seat-photo-busy { animation: reel-right-in 440ms 160ms both; }
.is-active .seat-arrow { animation: confirm-in 410ms 260ms both; }
.is-active .seat-proof { animation: rise-in 400ms 320ms both; }
.is-active .demand-reasons > span { animation: rise-in 340ms both; }
.is-active .demand-reasons > span:nth-child(2) { animation-delay: 55ms; }
.is-active .demand-reasons > span:nth-child(3) { animation-delay: 110ms; }

/* Private access */
.access-visual { position: relative; display: grid; min-height: 390px; place-items: center; }
.pass-card { position: relative; width: min(330px, 84%); padding: 28px; border-radius: 24px; color: #fff8ec; background: var(--ink); box-shadow: 0 26px 60px rgba(53,35,20,.24); transform: rotate(-2deg); }
.pass-card::before, .pass-card::after { position: absolute; top: 54%; width: 24px; height: 24px; border-radius: 50%; background: #f8efdf; content: ""; }
.pass-card::before { left: -12px; }
.pass-card::after { right: -12px; }
.pass-brand { margin-bottom: 38px; font-size: 18px; font-weight: 850; letter-spacing: .08em; }
.pass-brand span { color: var(--gold); }
.pass-kicker { display: block; margin-bottom: 8px; color: var(--gold-light); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.pass-card > strong { display: block; font-size: 29px; }
.pass-code { display: grid; grid-template-columns: repeat(3, 18px); grid-auto-rows: 18px; gap: 5px; width: max-content; margin: 28px 0; }
.pass-code i { background: #fff8ec; }
.pass-code i:nth-child(2), .pass-code i:nth-child(4), .pass-code i:nth-child(9) { opacity: .3; }
.pass-status { display: flex; align-items: center; gap: 8px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.14); color: #ded0c2; font-size: 13px; }
.pass-status b { width: 9px; height: 9px; border-radius: 50%; background: #64c48b; }
.not-coupon { position: absolute; right: 4%; bottom: 8%; display: grid; width: 150px; height: 70px; place-items: center; border: 2px solid rgba(233,104,85,.6); border-radius: 8px; color: #9b4d42; background: #fffdf8; font-size: 11px; font-weight: 900; letter-spacing: .06em; transform: rotate(7deg); }
.not-coupon b { position: absolute; width: 118px; height: 4px; background: var(--coral); transform: rotate(-24deg); }

/* Control panel */
.control-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 20px 55px rgba(53,35,20,.13); }
.control-top, .control-row, .control-total { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 14px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.control-top { min-height: 54px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.control-top b { padding: 6px 9px; border-radius: 999px; color: #806336; background: #f8eacb; letter-spacing: 0; }
.control-row strong { min-width: 90px; font-size: 15px; }
.control-row span { padding: 8px 10px; border-radius: 9px; color: #5f5147; background: #f7f1e8; font-size: 13px; font-weight: 700; }
.control-row .off { color: #998d82; background: transparent; }
.control-row.selected { box-shadow: inset 4px 0 var(--coral); background: #fff9ef; }
.control-total { border-bottom: 0; background: var(--ink); color: #fff8ec; }
.control-total span { color: #cdbfb0; font-size: 14px; }
.control-total strong { font-size: 20px; }
.is-active .control-row.selected { animation: select-row 800ms 180ms both; }

/* Member flow */
.member-flow { display: grid; grid-template-columns: 1fr 44px .8fr; gap: 14px; align-items: center; }
.member-card, .time-card { overflow: hidden; border: 1px solid rgba(242,213,144,.17); border-radius: 22px; background: #fffdf8; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.member-card img { width: 100%; height: 215px; object-fit: cover; }
.member-card div { padding: 17px; color: var(--ink); }
.member-card span, .time-card > span { display: block; margin-bottom: 7px; color: var(--gold-deep); font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.member-card strong { display: block; font-size: 20px; }
.member-card small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.flow-arrow { color: var(--gold-light); font-size: 33px; text-align: center; }
.time-card { padding: 18px; }
.time-card button { display: block; width: 100%; min-height: 40px; margin: 7px 0; border: 1px solid #e0d2c0; border-radius: 11px; color: var(--ink); background: #fff; font-size: 14px; font-weight: 700; }
.time-card button.chosen { border-color: var(--coral); color: #fff; background: var(--coral); }
.time-card > strong { display: block; margin-top: 12px; color: var(--green); font-size: 14px; text-align: center; }

/* Photo slides */
.cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-left { object-position: left center; }
.cover-right { object-position: right center; }
.photo-gradient { position: absolute; inset: 0; }
.photo-gradient-right { background: linear-gradient(90deg, rgba(20,13,8,.08) 26%, rgba(20,13,8,.75) 62%, rgba(20,13,8,.98)); }
.photo-gradient-left { background: linear-gradient(90deg, rgba(20,13,8,.97) 0%, rgba(20,13,8,.78) 40%, rgba(20,13,8,.08) 75%); }
.photo-message { position: absolute; top: 50%; z-index: 2; width: 44%; transform: translateY(-50%); }
.photo-message-right { right: 5.5%; }
.photo-message-left { left: 5.5%; }
.photo-message h2 { max-width: 480px; }
.scan-confirm { display: flex; max-width: 380px; align-items: center; gap: 13px; margin-top: 25px; padding: 14px 16px; border: 1px solid rgba(119,205,154,.35); border-radius: 15px; background: rgba(38,107,76,.82); }
.checkmark { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--green); background: #eaf8ef; font-size: 21px; font-weight: 900; }
.scan-confirm strong, .scan-confirm small { display: block; }
.scan-confirm strong { font-size: 15px; }
.scan-confirm small { margin-top: 3px; color: #d4eadc; font-size: 12px; }
.is-active .scan-confirm { animation: confirm-in 560ms 220ms both; }
.service-momentum { display: flex; max-width: 360px; align-items: center; gap: 13px; margin-top: 25px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.26); border-radius: 15px; background: rgba(33,22,15,.84); box-shadow: 0 16px 38px rgba(0,0,0,.18); }
.service-momentum .live-dot { flex: 0 0 auto; }
.service-momentum strong, .service-momentum small { display: block; }
.service-momentum strong { font-size: 15px; }
.service-momentum small { margin-top: 3px; color: #d4c7b9; font-size: 12px; }
.is-active .service-momentum { animation: confirm-in 560ms 220ms both; }
.receipt-mini { max-width: 420px; margin-top: 24px; padding: 13px 17px; border-radius: 15px; color: var(--ink); background: rgba(255,253,248,.94); }
.receipt-mini span { display: flex; min-height: 32px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 13px; }
.receipt-mini span:last-child { border-bottom: 0; }
.receipt-mini b { color: var(--gold-deep); }

/* Proof */
.post-proof { position: relative; display: grid; grid-template-columns: 1fr 76px .82fr; align-items: center; }
.social-post { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 20px 50px rgba(53,35,20,.15); }
.social-head { display: flex; height: 48px; align-items: center; gap: 9px; padding: 0 13px; font-size: 13px; }
.social-head i { width: 25px; height: 25px; border-radius: 50%; background: var(--ink); }
.social-head span { margin-left: auto; }
.social-post img { width: 100%; height: 240px; object-fit: cover; }
.social-actions { padding: 10px 14px; font-size: 22px; }
.proof-line { height: 3px; background: linear-gradient(90deg, var(--coral), var(--gold)); }
.proof-card { display: flex; align-items: center; gap: 12px; padding: 19px; border: 1px solid rgba(47,115,87,.22); border-radius: 18px; color: var(--green); background: var(--green-soft); box-shadow: 0 14px 34px rgba(53,35,20,.08); }
.proof-icon { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 19px; font-weight: 900; }
.proof-card strong, .proof-card small { display: block; }
.proof-card strong { font-size: 15px; }
.proof-card small { margin-top: 3px; color: #5f7467; font-size: 11px; line-height: 1.35; }
.is-active .proof-card { animation: proof-in 520ms 230ms both; }

/* Content library */
.content-library { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 20px 55px rgba(53,35,20,.12); }
.library-top { display: flex; min-height: 52px; align-items: center; justify-content: space-between; padding: 0 16px; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.library-top strong { padding: 6px 9px; border-radius: 999px; color: var(--green); background: var(--green-soft); letter-spacing: 0; }
.library-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 0 3px 3px; }
.library-grid figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 1 / 1; }
.library-grid img { width: 100%; height: 100%; object-fit: cover; }
.library-grid span { position: absolute; right: 7px; bottom: 7px; padding: 5px 7px; border-radius: 999px; color: #fff; background: rgba(33,22,15,.8); font-size: 9px; font-weight: 800; }
.creator-tile { background-image: url("images/restaurant-pitch-creators-library-v1.png"); background-size: 200% 200%; }
.is-french .creator-tile { background-image: url("images/restaurant-pitch-creators-library-fr-v1.png"); }
.creator-tile-1 { background-position: left top; }
.creator-tile-2 { background-position: right top; }
.creator-tile-3 { background-position: left bottom; }
.creator-tile-4 { background-position: right bottom; }

/* Private review */
.review-card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 20px 55px rgba(53,35,20,.13); }
.private-pill { display: inline-block; padding: 7px 10px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.review-card h3 { margin: 24px 0 14px; font-size: 25px; }
.stars { color: var(--gold-deep); font-size: 32px; letter-spacing: 3px; }
.review-tags { display: flex; gap: 7px; margin: 18px 0; }
.review-tags span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 700; }
.review-card p { margin: 0; padding: 15px; border-radius: 13px; color: #55483e; background: #faf5ed; font-size: 14px; line-height: 1.45; }

/* Dashboard */
.dashboard-layout { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(30px,5vw,58px); height: 100%; align-items: center; padding: clamp(32px,5vw,58px); }
.dashboard { overflow: hidden; border: 1px solid rgba(242,213,144,.18); border-radius: 23px; color: var(--ink); background: var(--paper); box-shadow: 0 25px 60px rgba(0,0,0,.24); }
.dashboard-head { display: flex; min-height: 54px; align-items: center; justify-content: space-between; padding: 0 18px; color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.dashboard-head b { padding: 6px 9px; border-radius: 999px; color: var(--green); background: var(--green-soft); letter-spacing: 0; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-grid div { padding: 15px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-grid div:nth-child(3n) { border-right: 0; }
.metric-grid div:nth-child(n+4) { border-bottom: 0; }
.metric-grid strong, .metric-grid span { display: block; }
.metric-grid strong { font-size: clamp(25px,3.1vw,37px); line-height: 1; }
.metric-grid span { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.25; }
.report-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 17px 18px 20px; padding-bottom: 9px; color: #5a4e44; font-size: 13px; }
.report-row i { position: absolute; right: 0; bottom: 0; left: 0; height: 4px; overflow: hidden; border-radius: 99px; background: #eee5d8; }
.report-row i::after { display: block; width: var(--fill); height: 100%; border-radius: inherit; background: var(--gold-deep); content: ""; }

/* Comparison */
.center-message { padding: clamp(28px,4vw,46px) 5vw 18px; text-align: center; }
.center-message h2 { margin-bottom: 9px; }
.center-message .slide-copy { margin: 0 auto; }
.comparison { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; padding: 18px 5vw 34px; }
.comparison > div { min-height: 190px; padding: 19px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.comparison span, .comparison strong, .comparison small { display: block; }
.comparison span { color: #948679; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.comparison strong { margin-top: 47px; font-size: 18px; line-height: 1.25; }
.comparison small { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.comparison .comparison-winner { border-color: var(--gold); color: #fff8ec; background: var(--ink); box-shadow: 0 16px 34px rgba(53,35,20,.16); }
.comparison .comparison-winner span { color: var(--gold-light); }
.comparison .comparison-winner small { color: #d7c8b8; }

/* Positive comparison table */
.comparison-table { width: calc(100% - 10vw); margin: 4px 5vw 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(53,35,20,.07); }
.comparison-row { display: grid; grid-template-columns: 1.38fr repeat(4,1fr); min-height: 58px; align-items: center; border-top: 1px solid var(--line); color: #63564b; font-size: 11px; line-height: 1.28; }
.comparison-row:first-child { border-top: 0; }
.comparison-row > * { min-width: 0; padding: 10px 12px; border-left: 1px solid var(--line); }
.comparison-row > :first-child { border-left: 0; }
.comparison-row > :last-child { align-self: stretch; display: flex; align-items: center; color: #184e3b; background: #eef8f1; font-weight: 800; }
.comparison-heading { min-height: 48px; color: #806e5e; background: #faf4ea; font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.comparison-heading > :last-child { color: #fff; background: var(--green); }
.comparison-row strong { color: var(--ink); font-size: 11px; line-height: 1.25; }
.comparison-yes { gap: 6px; }
.comparison-yes::first-letter { color: var(--green); font-size: 17px; }

/* Campaign value */
.campaign-value { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 12px 5vw 30px; }
.campaign-value div { position: relative; min-height: 126px; padding: 16px 16px 14px 52px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 9px 24px rgba(53,35,20,.05); }
.campaign-value b { position: absolute; top: 15px; left: 15px; display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--gold-light); font-size: 10px; }
.campaign-value strong, .campaign-value small { display: block; }
.campaign-value strong { font-size: 17px; line-height: 1.25; }
.campaign-value small { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.is-active .campaign-value div { animation: rise-in 360ms both; }
.is-active .campaign-value div:nth-child(2) { animation-delay: 45ms; }
.is-active .campaign-value div:nth-child(3) { animation-delay: 90ms; }
.is-active .campaign-value div:nth-child(4) { animation-delay: 135ms; }
.is-active .campaign-value div:nth-child(5) { animation-delay: 180ms; }
.is-active .campaign-value div:nth-child(6) { animation-delay: 225ms; }

/* Offer */
.slide-offer { display: none; grid-template-columns: 1fr 1fr; color: #fff8ec; background: var(--ink); }
.slide-offer.is-active { display: grid; }
.offer-wrap { align-self: center; padding: clamp(30px,5vw,58px); }
.offer-wrap h2 { font-size: clamp(44px,5vw,60px); }
.offer-value-card { display: flex; width: min(100%, 330px); min-height: 190px; margin: 0 0 20px; padding: 20px 22px; flex-direction: column; align-items: flex-start; border: 1px solid rgba(242,213,144,.62); border-radius: 22px; color: var(--ink); background: rgba(255,253,248,.96); box-shadow: 0 18px 48px rgba(0,0,0,.18); }
.offer-value-card .offer-kicker { color: var(--gold-deep); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.offer-value-card del { margin-top: 5px; color: #6d5b4c; font-size: clamp(24px,2.7vw,31px); font-weight: 780; text-decoration-color: var(--coral); text-decoration-thickness: 3px; }
.offer-value-card strong { margin-top: -2px; color: var(--green); font-size: clamp(54px,6vw,72px); font-weight: 900; letter-spacing: -.055em; line-height: .98; }
.offer-value-card small { margin-top: 8px; color: #4e4035; font-size: 14px; font-weight: 720; line-height: 1.28; }
.offer-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.offer-points span { padding: 8px 11px; border: 1px solid rgba(242,213,144,.22); border-radius: 999px; color: #d9ccbe; font-size: 12px; }
.offer-points b { color: var(--gold-light); }
.offer-decision { max-width: 470px; margin: 0 0 22px; padding: 12px 14px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.06); }
.offer-decision span, .offer-decision strong { display: block; }
.offer-decision span { color: var(--gold-light); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.offer-decision strong { margin-top: 5px; color: #f4e9db; font-size: 13px; line-height: 1.35; }
.large-cta, .send-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 22px; padding: 0 19px; border: 0; border-radius: 14px; color: var(--ink); background: var(--gold); cursor: pointer; font-size: 16px; font-weight: 850; }
.large-cta b, .send-button b { font-size: 22px; }
.offer-visual { position: relative; overflow: hidden; }
.offer-visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink), transparent 38%); content: ""; }
.offer-visual img { width: 100%; height: 100%; object-fit: cover; }
.week-card { position: absolute; right: 7%; bottom: 8%; z-index: 2; min-width: 220px; max-width: calc(100% - 14%); padding: 19px; border: 1px solid rgba(255,255,255,.3); border-radius: 18px; background: rgba(33,22,15,.88); }
.week-card span, .week-card strong, .week-card small { display: block; }
.week-card span { color: var(--gold-light); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.week-card strong { margin-top: 8px; font-size: 34px; }
.week-card small { margin-top: 4px; color: #d7c9ba; font-size: 12px; }

/* Forms */
.slide-form { background: var(--paper); }
.form-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(28px,5vw,58px); height: 100%; align-items: center; padding: clamp(28px,4.5vw,52px); }
.form-heading h2, .schedule-heading h2, .review-heading h2 { margin-bottom: 14px; font-size: clamp(40px,4.7vw,56px); }
.fields { display: grid; gap: 13px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 16px 42px rgba(53,35,20,.08); }
.fields-two { grid-template-columns: 1fr 1fr; }
.fields label, .shift-edit-row label { color: #564a40; font-size: 13px; font-weight: 750; line-height: 1.35; }
.optional-label { color: #948679; font-size: 10px; font-weight: 650; }
.fields input, .fields select, .fields textarea, .shift-edit-row input {
  width: 100%;
  min-height: 45px;
  margin-top: 7px;
  padding: 9px 11px;
  border: 1px solid #dcd0c1;
  border-radius: 11px;
  outline: none;
  color: var(--ink);
  background: #fffdf9;
  font-size: 16px;
  font-weight: 500;
}
.fields input:focus, .fields select:focus, .fields textarea:focus, .shift-edit-row input:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(216,177,102,.18); }
.fields input.is-invalid,
.fields select.is-invalid,
.fields textarea.is-invalid,
.shift-edit-row input.is-invalid { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(233,104,85,.16); }
.fields textarea { min-height: 72px; resize: none; line-height: 1.4; }
.field-wide { grid-column: 1 / -1; }
.dish-form-layout { grid-template-columns: .62fr .66fr 1.05fr; gap: 24px; }
.dish-upload { position: relative; width: 100%; min-width: 0; overflow: hidden; aspect-ratio: .82; border-radius: 22px; background: #ece2d5; box-shadow: 0 16px 42px rgba(53,35,20,.1); }
.dish-upload img { width: 100%; height: 100%; object-fit: cover; }
.dish-upload.is-invalid { box-shadow: 0 0 0 3px var(--coral), 0 16px 42px rgba(53,35,20,.1); }
.dish-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-button { position: absolute; right: 12px; bottom: 12px; left: 12px; display: grid; min-height: 44px; place-items: center; border-radius: 12px; color: #fff; background: rgba(33,22,15,.87); cursor: pointer; font-size: 13px; font-weight: 800; }
.dish-fields { min-width: 0; grid-template-columns: 1fr 1fr; }
.limit-fields { align-items: stretch; }
.limit-box { display: grid; min-height: 145px; align-content: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #faf5ed; }
.limit-box strong { display: block; }
.limit-box strong input { width: 118px; min-height: 46px; margin: 10px 0 7px; font-size: 24px; font-weight: 800; }
.limit-box span { color: var(--muted); font-size: 12px; font-weight: 500; }
.fields input[readonly] { color: #594b40; background: #f6f0e7; cursor: default; }
.fixed-limit { box-shadow: inset 4px 0 var(--gold); }

/* Schedule */
.schedule-layout { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; height: 100%; padding: 24px clamp(32px,5vw,58px) 18px; }
.schedule-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.schedule-heading .eyebrow { margin-bottom: 6px; }
.schedule-heading h2 { margin-bottom: 0; }
.schedule-heading .slide-copy { max-width: 380px; padding-bottom: 4px; text-align: right; }
.schedule-table { display: grid; grid-template-rows: repeat(7, minmax(0,1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.schedule-table.is-invalid { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(233,104,85,.15); }
.day-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; min-height: 0; padding: 0 15px; border-bottom: 1px solid var(--line); cursor: pointer; }
.day-row:last-child { border-bottom: 0; }
.day-row:hover { background: #fffaf1; }
.day-row strong { font-size: 14px; }
.day-row .day-slots { display: flex; gap: 7px; overflow: hidden; }
.day-row .day-slots span { overflow: hidden; padding: 6px 9px; border-radius: 9px; color: #55483e; background: #f7f0e5; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.day-row .day-slots .off { color: #928579; background: transparent; }
.day-row button { min-width: 58px; min-height: 35px; border: 1px solid var(--line); border-radius: 9px; color: var(--gold-deep); background: #fff; cursor: pointer; font-size: 12px; font-weight: 800; }
.schedule-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.schedule-actions button { min-height: 38px; padding: 0 13px; border: 1px solid var(--gold); border-radius: 10px; color: var(--ink); background: #faedce; cursor: pointer; font-size: 12px; font-weight: 800; }
.schedule-actions span { color: var(--muted); font-size: 12px; }

/* Rules */
.rules-layout { grid-template-columns: .72fr 1.28fr; }
.rule-list { display: grid; gap: 10px; }
.rule { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: center; min-height: 78px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; }
.rule input { width: 24px; height: 24px; accent-color: var(--gold-deep); }
.rule strong, .rule small { display: block; }
.rule strong { font-size: 14px; }
.rule small { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.rule-locked { cursor: default; }
.rule-locked input:disabled { opacity: 1; filter: none; }

/* Review + success */
.review-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px,5vw,58px); height: 100%; align-items: center; padding: clamp(28px,4.5vw,52px); }
.campaign-summary { padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 48px rgba(53,35,20,.1); }
.summary-dish { display: grid; grid-template-columns: 100px 1fr; gap: 14px; align-items: center; }
.summary-dish img { width: 100px; height: 78px; object-fit: cover; border-radius: 13px; }
.summary-dish span, .summary-dish strong, .summary-dish small { display: block; }
.summary-dish span { color: var(--gold-deep); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.summary-dish strong { margin-top: 5px; font-size: 20px; }
.summary-dish small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 15px 0; }
.summary-grid div { min-height: 61px; padding: 11px; border-radius: 12px; background: #faf5ed; }
.summary-grid span, .summary-grid strong { display: block; }
.summary-grid span { color: var(--muted); font-size: 10px; }
.summary-grid strong { margin-top: 6px; font-size: 13px; }
.approval-row { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.approval { display: flex; min-width: 0; flex: 1; align-items: flex-start; gap: 9px; margin: 0; color: #55483e; font-size: 12px; line-height: 1.4; }
.approval input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--gold-deep); }
.approval.is-invalid { padding: 8px; border-radius: 10px; color: #8e382d; background: rgba(233,104,85,.1); }
.terms-link { flex: 0 0 auto; padding: 6px 0; border: 0; border-bottom: 1px solid var(--gold-deep); color: var(--gold-deep); background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; }
.send-button { width: 100%; min-height: 48px; font-size: 14px; }
.send-button.needs-approval { animation: nudge 360ms both; background: var(--coral); color: #fff; }
.send-button:disabled { cursor: wait; opacity: .72; }
.send-button.is-loading { justify-content: center; }
.button-spinner { width: 18px; height: 18px; border: 2px solid rgba(33,22,15,.26); border-top-color: var(--ink); border-radius: 50%; animation: spin 700ms linear infinite; }
.slide-success { display: none; place-items: center; padding: 40px; text-align: center; background: var(--cream); }
.slide-success.is-active { display: grid; align-content: center; }
.success-mark { display: grid; width: 74px; height: 74px; margin: 0 auto 20px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 38px; font-weight: 900; }
.slide-success h2 { margin-bottom: 13px; }
.slide-success .slide-copy { margin: 0 auto; }
.application-reference { display: inline-grid; min-width: 230px; margin: 20px auto 0; padding: 11px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.application-reference span { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.application-reference strong { margin-top: 4px; color: var(--green); font-size: 20px; letter-spacing: .04em; }
.next-steps { display: flex; justify-content: center; gap: 10px; margin: 25px 0; }
.next-steps span { display: flex; min-height: 42px; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: #55483e; background: #fff; font-size: 12px; font-weight: 700; }
.next-steps b { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--gold); }
.restart-button { min-height: 45px; padding: 0 17px; border: 1px solid var(--gold-deep); border-radius: 12px; color: var(--ink); background: transparent; cursor: pointer; font-weight: 800; }

/* Bottom navigation */
.deck-nav { gap: 20px; padding: 0 20px; border-top: 1px solid var(--line); }
.nav-button { display: inline-flex; min-width: 112px; min-height: 44px; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; cursor: pointer; font-size: 14px; font-weight: 800; }
.nav-button:disabled { opacity: .3; cursor: default; }
.nav-next { color: #fff8ec; background: var(--ink); }
.progress-wrap { flex: 1; max-width: 520px; margin: 0 auto; }
.progress-text { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.progress-text strong { color: var(--ink); }
.progress-track { height: 4px; overflow: hidden; border-radius: 99px; background: #e8dece; }
.progress-track i { display: block; width: 4.76%; height: 100%; border-radius: inherit; background: var(--gold-deep); transition: width 220ms ease; }

/* Modals */
.modal { position: absolute; inset: 0; z-index: 100; display: grid; place-items: center; padding: 28px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,13,8,.72); }
.modal-card { position: relative; z-index: 1; width: min(780px, 92%); max-height: 88%; overflow: auto; padding: 28px; border-radius: 24px; background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal-card h2 { margin-bottom: 22px; font-size: 40px; }
.modal-close { position: absolute; top: 14px; right: 14px; display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; color: var(--ink); background: #f3eadc; cursor: pointer; font-size: 26px; }
.qa-sections { display: grid; gap: 22px; }
.qa-section h3 { margin: 0 0 10px; color: var(--gold-deep); font-size: 14px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.qa-grid div { padding: 14px; border-radius: 13px; background: #faf4ea; }
.qa-grid strong, .qa-grid span { display: block; }
.qa-grid strong { font-size: 14px; }
.qa-grid span { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.terms-card { width: min(820px, 94%); }
.terms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.terms-grid div { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #faf4ea; }
.terms-grid strong, .terms-grid span { display: block; }
.terms-grid strong { color: var(--ink); font-size: 14px; }
.terms-grid span { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.shift-editor { width: min(820px, 94%); }
.day-active { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; color: #55483e; font-size: 14px; font-weight: 800; }
.day-active input, .shift-edit-row input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--gold-deep); }
.shift-edit-row { display: grid; grid-template-columns: 105px 1fr auto 1fr 115px; gap: 9px; align-items: center; margin-top: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #faf5ed; }
.shift-edit-row > label:first-child { display: flex; align-items: center; gap: 7px; }
.shift-edit-row label:last-child { display: grid; grid-template-columns: auto 64px; align-items: center; gap: 6px; }
.shift-edit-row input { min-height: 38px; margin: 0; font-size: 14px; }
.shift-editor-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.shift-editor-actions button { min-height: 44px; padding: 0 15px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; cursor: pointer; font-weight: 800; }
.shift-editor-actions .save-shift { border-color: var(--gold); background: var(--gold); }
.toast { position: absolute; right: 20px; bottom: 82px; z-index: 120; max-width: 330px; padding: 12px 15px; border-radius: 12px; color: #fff; background: var(--ink); box-shadow: 0 14px 34px rgba(0,0,0,.2); font-size: 13px; font-weight: 750; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.toast.show { opacity: 1; transform: none; }
.toast.toast-error { max-width: 390px; background: #7d3028; }

/* iPad keyboard: only the active form surface may scroll while the keyboard is open. */
.deck.keyboard-visible .slide-form.is-active .fields,
.deck.keyboard-visible .slide-form.is-active .rule-list,
.deck.keyboard-visible .slide-review.is-active .campaign-summary,
.deck.keyboard-visible .shift-editor { min-height: 0; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.deck.keyboard-visible .slide-form.is-active .form-layout,
.deck.keyboard-visible .slide-review.is-active .review-layout { min-height: 0; align-items: stretch; }

@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }
@keyframes select-row { 0% { background: #fff; } 50% { background: #f9e8bf; } 100% { background: #fff9ef; } }
@keyframes confirm-in { 0% { opacity: 0; transform: scale(.92); } 60% { transform: scale(1.03); } 100% { opacity: 1; transform: scale(1); } }
@keyframes proof-in { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes reel-left-in { from { opacity: 0; transform: translateX(24px) rotate(-1deg) scale(.92); } to { opacity: 1; transform: rotate(-5deg) scale(1); } }
@keyframes reel-main-in { from { opacity: 0; transform: translate(-50%,18px) scale(.9); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
@keyframes reel-right-in { from { opacity: 0; transform: translateX(-24px) rotate(1deg) scale(.92); } to { opacity: 1; transform: rotate(5deg) scale(1); } }
@keyframes heart-rise { 0%,100% { opacity: .55; transform: translateY(4px) scale(.82); } 45% { opacity: 1; transform: translateY(-5px) scale(1.1); } }
@keyframes nudge { 0%,100% { transform: translateX(0); } 35% { transform: translateX(-7px); } 70% { transform: translateX(7px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* iPad portrait and smaller portrait screens */
@media (orientation: portrait) {
  .deck { width: 100vw; height: var(--app-height); }
  .split, .split-wide, .dashboard-layout, .form-layout, .review-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 22px; align-items: stretch; padding: 32px 44px; }
  .slide-message { align-self: end; }
  .slide-message h2 { max-width: 680px; margin-bottom: 11px; font-size: clamp(42px,7vw,58px); }
  .slide-copy { font-size: clamp(18px,2.6vw,22px); }
  .hero-content { top: 4.5%; left: 5%; width: 90%; transform: none; }
  .hero-content h1 { max-width: 690px; font-size: clamp(44px,7.3vw,60px); }
  .hero-shade { background: linear-gradient(180deg, rgba(20,12,7,.96) 0%, rgba(20,12,7,.7) 38%, rgba(20,12,7,.43) 63%, rgba(20,12,7,.86)); }
  .hero-offer { top: 35%; right: 5%; left: 5%; display: grid; grid-template-columns: 105px 135px minmax(0,1fr); grid-template-rows: auto auto; gap: 0 13px; width: auto; min-height: 108px; padding: 15px 20px; }
  .hero-offer .offer-kicker { grid-column: 1; grid-row: 1; align-self: end; }
  .hero-offer del { grid-column: 1; grid-row: 2; align-self: start; margin: 1px 0 0; }
  .hero-offer strong { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; font-size: 52px; }
  .hero-offer small { grid-column: 3; grid-row: 1 / 3; align-self: center; margin: 0; font-size: 15px; }
  .hero-benefits { right: 5%; bottom: 3.5%; left: 5%; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .hero-benefit { min-height: 72px; }
  .dish-orbit { width: min(76vw, 610px); }
  .post-scale { width: min(78vw, 620px); align-self: center; }
  .campaign-icon-list { grid-template-columns: 1fr; gap: 7px; margin-top: 13px; }
  .campaign-icon-list > span { min-height: 44px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.62); }
  .creator-campaign-visual { width: min(80vw,620px); height: min(48vh,460px); min-height: 340px; align-self: center; }
  .growth-benefits { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
  .growth-benefits > span { min-height: 44px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.62); font-size: 11px; }
  .growth-benefits svg { width: 22px; height: 22px; }
  .content-growth-visual { width: min(80vw,620px); height: min(48vh,460px); min-height: 340px; align-self: center; }
  .demand-reasons { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-top: 13px; }
  .demand-reasons > span { min-height: 44px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.62); font-size: 10px; }
  .demand-reasons svg { width: 21px; height: 21px; }
  .seat-contrast { width: min(80vw,620px); height: min(48vh,460px); min-height: 340px; align-self: center; }
  .access-visual { min-height: 0; }
  .control-panel { align-self: center; }
  .member-flow { align-self: center; }
  .photo-message { top: auto; right: 6%; bottom: 6%; left: 6%; width: auto; padding: 22px; border-radius: 20px; background: rgba(33,22,15,.86); transform: none; }
  .photo-gradient-left, .photo-gradient-right { background: linear-gradient(0deg, rgba(20,13,8,.55), transparent 65%); }
  .post-proof { align-self: center; }
  .content-library, .review-card, .dashboard { align-self: center; }
  .center-message { padding-top: 45px; }
  .comparison { grid-template-columns: 1fr 1fr; }
  .comparison > div { min-height: 150px; }
  .comparison strong { margin-top: 25px; }
  .comparison-table { width: calc(100% - 10vw); }
  .slide-offer { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .offer-wrap { padding-bottom: 24px; }
  .offer-visual::after { background: linear-gradient(180deg, var(--ink), transparent 35%); }
  .dish-form-layout { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; }
  .dish-form-layout .form-heading { grid-column: 1 / -1; }
  .form-layout > .fields,
  .form-layout > .dish-upload,
  .form-layout > .rule-list,
  .review-layout > .campaign-summary { align-self: center; }
  .dish-upload { max-height: 520px; }
  .schedule-layout { padding: 30px 40px 22px; }
  .schedule-heading { display: block; }
  .schedule-heading .slide-copy { max-width: none; padding: 0; text-align: left; }
  .rules-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-height: 54px; --nav-height: 62px; }
  /* iPhone: preserve the slide format, but never clip information. A slide only scrolls when its content is taller than the available screen. */
  .slide { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .split, .split-wide, .dashboard-layout, .form-layout, .review-layout { height: auto; min-height: 100%; grid-template-rows: auto auto; align-content: start; }
  .schedule-layout { height: auto; min-height: 100%; grid-template-rows: auto auto auto; }
  .slide-offer.is-active { min-height: 100%; }
  .slide-success.is-active { min-height: 100%; padding: 34px 24px; align-content: center; }
  .slide-hero .hero-photo, .slide-hero .hero-shade { min-height: 100%; }
  .slide-hero .hero-content,
  .slide-hero .hero-offer,
  .slide-hero .hero-benefits { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: auto; }
  .slide-hero .hero-content { margin: 26px 20px 0; }
  .slide-hero .hero-offer { margin: 18px 20px 0; }
  .slide-hero .hero-benefits { margin: 18px 20px 28px; }
  .deck-header { padding: 0 14px; }
  .brand { min-width: 0; font-size: 13px; }
  .brand img { width: 30px; height: 30px; }
  .deck-label { display: none; }
  .header-actions { min-width: 0; }
  .header-button { min-height: 38px; padding: 0 10px; font-size: 12px; }
  .language-button { min-width: 50px; padding: 0 7px; }
  .language-button #language-current { display: none; }
  h1, h2 { font-size: clamp(36px,7.5vw,50px); }
  .split, .split-wide, .dashboard-layout, .form-layout, .review-layout { padding: 24px 25px; }
  .hero-content { top: 3.5%; left: 5%; width: 90%; }
  .hero-content h1 { font-size: clamp(35px,10vw,47px); }
  .hero-content .slide-copy { font-size: clamp(17px,4.7vw,21px); }
  .hero-offer { top: 34%; grid-template-columns: 75px 94px minmax(0,1fr); min-height: 92px; padding: 11px 13px; border-radius: 17px; }
  .hero-offer .offer-kicker { font-size: 8px; }
  .hero-offer del { font-size: 20px; }
  .hero-offer strong { font-size: 37px; }
  .hero-offer small { font-size: 11px; }
  .hero-benefits { bottom: 2.5%; gap: 7px; }
  .hero-benefit { grid-template-columns: 25px minmax(0,1fr); gap: 8px; min-height: 60px; padding: 8px 9px; border-radius: 12px; }
  .hero-benefit svg { width: 23px; height: 23px; }
  .hero-benefit strong { font-size: 11px; }
  .hero-benefit small { margin-top: 2px; font-size: 9px; }
  .orbit-item { min-height: 37px; padding: 0 10px; font-size: 11px; }
  .post-scale { width: 100%; padding: 14px; }
  .post-scale-total strong { font-size: 58px; }
  .post-scale-total small { font-size: 13px; }
  .ten-day-grid span { min-height: 57px; }
  .campaign-icon-list { gap: 5px; margin-top: 10px; }
  .campaign-icon-list > span { min-height: 38px; gap: 6px; padding: 5px 6px; font-size: 8px; }
  .campaign-icon-list svg { width: 18px; height: 18px; }
  .creator-campaign-visual { width: 100%; height: min(43vh,375px); min-height: 285px; }
  .creator-reel { border-width: 2px; border-radius: 17px; }
  .reel-top { min-height: 34px; padding: 5px 6px; font-size: 7px; }
  .reel-top i { width: 17px; height: 17px; }
  .reel-tag { right: 6px; bottom: 37px; padding: 5px 7px; font-size: 8px; }
  .creator-reel-main .reel-tag { bottom: 61px; left: 8px; padding: 6px 8px; font-size: 10px; }
  .reel-caption { right: 8px; bottom: 9px; left: 8px; }
  .reel-caption b { font-size: 9px; }
  .reel-caption small { font-size: 7px; }
  .campaign-proof-pill { right: 3%; left: 3%; min-height: 40px; gap: 5px; padding: 0 8px; }
  .campaign-proof-pill span, .campaign-proof-pill strong, .campaign-proof-pill b { font-size: 7px; }
  .campaign-reach-note { right: 3%; bottom: 48px; left: 3%; min-height: 45px; gap: 7px; padding: 6px 9px; }
  .campaign-reach-note svg { width: 21px; height: 21px; }
  .campaign-reach-note b { font-size: 9px; }
  .campaign-reach-note small { font-size: 7px; }
  .growth-benefits { gap: 5px; margin-top: 10px; }
  .growth-benefits > span { min-height: 40px; gap: 6px; padding: 5px 6px; font-size: 8px; }
  .growth-benefits svg { width: 18px; height: 18px; }
  .content-growth-visual { width: 100%; height: min(43vh,375px); min-height: 285px; }
  .restaurant-feed-card { border-radius: 17px; }
  .feed-head { min-height: 42px; padding: 6px 7px; }
  .feed-head i { width: 23px; height: 23px; }
  .feed-head strong { font-size: 9px; }
  .feed-head small { font-size: 7px; }
  .feed-actions { min-height: 29px; padding: 0 7px; font-size: 11px; }
  .feed-actions b { font-size: 7px; }
  .autopost-card { min-height: 63px; gap: 6px; padding: 8px; border-radius: 12px; }
  .autopost-icon { width: 27px; height: 27px; font-size: 16px; }
  .autopost-card strong { font-size: 9px; }
  .autopost-card small { margin-top: 3px; font-size: 7px; }
  .autopost-card > i { padding: 4px; font-size: 6px; }
  .reach-card { padding: 11px; border-radius: 13px; }
  .reach-card span { font-size: 6px; }
  .reach-card strong { margin-top: 4px; font-size: 19px; }
  .reach-card small { margin-top: 4px; font-size: 8px; }
  .demand-reasons { gap: 5px; margin-top: 10px; }
  .demand-reasons > span { min-height: 38px; gap: 6px; padding: 5px 6px; font-size: 8px; }
  .demand-reasons svg { width: 18px; height: 18px; }
  .seat-demand-slide .seat-contrast { width: 100%; height: min(43vh,375px); min-height: 285px; margin-top: 62px; }
  .seat-photo { border-width: 2px; border-radius: 16px; }
  .seat-photo span { top: 7px; right: 7px; left: 7px; padding: 4px 5px; font-size: 6px; }
  .seat-photo figcaption { right: 5px; bottom: calc(100% + 8px); left: 5px; padding: 6px 7px; border-radius: 8px; font-size: 8px; line-height: 1.25; }
  .seat-photo figcaption::after { right: 14px; bottom: -5px; width: 10px; height: 10px; }
  .seat-photo strong { right: 8px; bottom: 8px; left: 8px; font-size: 9px; }
  .seat-arrow { width: 31px; height: 31px; font-size: 19px; }
  .seat-proof { right: 4%; left: 4%; min-height: 39px; gap: 5px; padding: 0 8px; }
  .seat-proof b, .seat-proof strong { font-size: 6px; }
  .seat-proof span { font-size: 7px; }
  .control-row { min-height: 58px; padding: 0 12px; }
  .control-row strong { min-width: 74px; }
  .control-row span { font-size: 11px; }
  .member-flow { grid-template-columns: 1fr; }
  .flow-arrow { display: none; }
  .member-card { display: grid; grid-template-columns: 42% 1fr; }
  .member-card img { height: 100%; }
  .post-proof { grid-template-columns: 1fr 48px .85fr; }
  .social-post img { height: 180px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid div, .metric-grid div:nth-child(3n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .metric-grid div:nth-child(2n) { border-right: 0; }
  .metric-grid div:nth-child(n+5) { border-bottom: 0; }
  .comparison { gap: 8px; padding: 10px 24px 24px; }
  .comparison > div { min-height: 135px; padding: 14px; }
  .comparison strong { margin-top: 19px; font-size: 15px; }
  .comparison-table { width: calc(100% - 48px); margin: 4px 24px 16px; border-radius: 12px; }
  .comparison-table { overflow-x: auto; }
  .comparison-row { min-width: 610px; grid-template-columns: 1.1fr repeat(4,.95fr); min-height: 50px; font-size: 8px; }
  .comparison-row > * { padding: 7px 6px; }
  .comparison-heading { min-height: 37px; font-size: 7px; }
  .comparison-row strong { font-size: 8px; }
  .campaign-value { grid-template-columns: 1fr 1fr; gap: 7px; padding: 7px 24px 14px; }
  .campaign-value div { min-height: 90px; padding: 12px 10px 10px 42px; }
  .campaign-value b { top: 11px; left: 10px; }
  .campaign-value strong { font-size: 13px; }
  .campaign-value small { margin-top: 4px; font-size: 10px; }
  .offer-points { margin: 16px 0; }
  .offer-decision { margin-bottom: 16px; padding: 9px 11px; }
  .offer-decision strong { font-size: 11px; }
  .fields { padding: 16px; }
  .fields-two { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .limit-box { min-height: 138px; }
  .dish-form-layout { grid-template-columns: .72fr 1.28fr; }
  .dish-fields { grid-template-columns: 1fr 1fr; align-content: center; }
  .dish-fields .field-wide { grid-column: 1 / -1; }
  .day-row { grid-template-columns: 74px 1fr 52px; padding: 0 9px; }
  .day-row .day-slots span { padding: 5px 7px; font-size: 10px; }
  .schedule-actions span { display: none; }
  .rule { min-height: 68px; }
  .nav-button { min-width: 82px; min-height: 40px; }
  .progress-wrap { max-width: 300px; }
  .qa-grid { grid-template-columns: 1fr; }
  .shift-edit-row { grid-template-columns: 90px 1fr auto 1fr; }
  .shift-edit-row label:last-child { grid-column: 2 / -1; }
}

@media (max-height: 680px) and (orientation: landscape) {
  :root { --header-height: 52px; --nav-height: 60px; }
  .split, .split-wide, .dashboard-layout, .form-layout, .review-layout { padding-top: 25px; padding-bottom: 25px; }
  h1, h2 { font-size: clamp(38px,4.8vw,54px); }
  .slide-copy { font-size: clamp(16px,1.75vw,20px); }
  .hero-content { top: 5%; }
  .hero-content h1 { font-size: clamp(37px,4.4vw,49px); }
  .hero-content .slide-copy { font-size: clamp(17px,2vw,22px); }
  .hero-offer { top: 5%; min-height: 180px; padding: 16px 18px; }
  .hero-offer strong { font-size: clamp(48px,5.3vw,62px); }
  .hero-benefits { bottom: 3%; gap: 8px; }
  .hero-benefit { min-height: 66px; padding: 9px 12px; }
  .creator-campaign-visual { height: min(58vh,390px); min-height: 330px; }
  .content-growth-visual { height: min(58vh,390px); min-height: 330px; }
  .seat-contrast { height: min(58vh,390px); min-height: 330px; }
  .comparison > div { min-height: 160px; }
  .schedule-layout { padding-top: 16px; }
  .fields { gap: 9px; padding: 16px; }
  .fields input, .fields select { min-height: 40px; }
  .rule { min-height: 64px; }
}

/* Small phones turned sideways: retain the page system without clipped content. */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --header-height: 44px; --nav-height: 48px; }
  .deck { width: 100vw; height: var(--app-height); }
  .deck-header { gap: 8px; padding: 0 12px; }
  .brand { min-width: 0; gap: 6px; font-size: 11px; }
  .brand img { width: 25px; height: 25px; }
  .header-button { min-height: 32px; padding: 0 9px; border-radius: 9px; font-size: 10px; }
  .split, .split-wide, .dashboard-layout, .form-layout, .review-layout { gap: 15px; padding: 12px 18px; }
  h1, h2, .slide-message h2, .form-heading h2, .schedule-heading h2, .review-heading h2, .offer-wrap h2 { margin-bottom: 8px; font-size: clamp(25px, 4.7vw, 34px); }
  .eyebrow { margin-bottom: 6px; font-size: 9px; }
  .slide-copy { font-size: 12px; line-height: 1.35; }
  .hero-content { top: 4%; left: 3%; width: 55%; }
  .hero-content h1 { max-width: 430px; font-size: clamp(25px, 4.2vw, 35px); }
  .hero-content .slide-copy { max-width: 430px; font-size: clamp(11px,1.7vw,15px); }
  .hero-offer { top: 4%; right: 3%; display: flex; width: 34%; min-height: 122px; padding: 9px 13px; border-radius: 14px; }
  .hero-offer .offer-kicker { font-size: 7px; }
  .hero-offer del { margin-top: 2px; font-size: 16px; }
  .hero-offer strong { margin-top: -2px; font-size: 33px; }
  .hero-offer small { margin-top: 3px; font-size: 8px; }
  .hero-benefits { right: 3%; bottom: 3%; left: 3%; gap: 5px; }
  .hero-benefit { grid-template-columns: 20px minmax(0,1fr); gap: 5px; min-height: 46px; padding: 5px 7px; border-radius: 8px; }
  .hero-benefit svg { width: 18px; height: 18px; }
  .hero-benefit strong { font-size: 8px; }
  .hero-benefit small { margin-top: 1px; font-size: 6px; }
  .dish-orbit { width: min(47vw, 285px); }
  .orbit-item { min-height: 27px; padding: 0 7px; font-size: 8px; }
  .post-scale { width: min(52vw, 360px); padding: 9px; border-radius: 15px; }
  .post-scale-total { gap: 7px; padding-bottom: 7px; }
  .post-scale-total span { font-size: 7px; }
  .post-scale-total strong { font-size: 39px; }
  .post-scale-total small { font-size: 9px; }
  .ten-day-grid { gap: 3px; }
  .ten-day-grid span { min-height: 34px; padding: 4px; border-radius: 6px; }
  .ten-day-grid b { font-size: 6px; }
  .post-scale-proof { gap: 3px; margin-top: 6px; }
  .post-scale-proof span { padding: 3px 4px; font-size: 5px; }
  .post-scale-proof b { font-size: 6px; }
  .campaign-icon-list { gap: 2px; margin-top: 5px; }
  .campaign-icon-list > span { min-height: 20px; gap: 5px; padding: 0; border: 0; background: transparent; font-size: 7px; }
  .campaign-icon-list svg { width: 14px; height: 14px; }
  .creator-campaign-visual { width: min(53vw,380px); height: min(66vh,260px); min-height: 220px; }
  .reel-top { min-height: 25px; padding: 3px 4px; font-size: 5px; }
  .reel-top i { width: 12px; height: 12px; border-width: 1px; }
  .reel-top span { font-size: 4px; }
  .creator-reel-main .reel-tag { bottom: 40px; left: 5px; padding: 4px 5px; font-size: 7px; }
  .reel-tag { right: 4px; bottom: 25px; padding: 3px 4px; font-size: 5px; }
  .reel-play { width: 28px; height: 28px; font-size: 9px; }
  .reel-caption { right: 5px; bottom: 5px; left: 5px; }
  .reel-caption b { font-size: 6px; }
  .reel-caption small { font-size: 5px; }
  .reel-hearts { right: 5px; bottom: 44px; }
  .reel-hearts i { font-size: 10px; }
  .reel-numbers { bottom: 6px; left: 5px; font-size: 5px; }
  .campaign-proof-pill { min-height: 27px; border-radius: 8px; }
  .campaign-proof-pill span, .campaign-proof-pill strong, .campaign-proof-pill b { font-size: 5px; }
  .campaign-reach-note { bottom: 32px; min-height: 29px; padding: 3px 5px; border-radius: 8px; }
  .campaign-reach-note svg { width: 15px; height: 15px; }
  .campaign-reach-note b { font-size: 6px; }
  .campaign-reach-note small { margin-top: 0; font-size: 5px; }
  .growth-benefits { gap: 2px; margin-top: 5px; }
  .growth-benefits > span { min-height: 20px; gap: 5px; padding: 0; border: 0; background: transparent; font-size: 7px; }
  .growth-benefits svg { width: 14px; height: 14px; }
  .content-growth-visual { width: min(53vw,380px); height: min(66vh,260px); min-height: 220px; }
  .restaurant-feed-card { border-radius: 10px; }
  .feed-head { min-height: 28px; gap: 4px; padding: 4px; }
  .feed-head i { width: 15px; height: 15px; border-width: 1px; }
  .feed-head strong { font-size: 5px; }
  .feed-head small { font-size: 4px; }
  .feed-head > b { font-size: 11px; }
  .feed-video { height: calc(100% - 48px); }
  .feed-video span { width: 25px; height: 25px; font-size: 8px; }
  .feed-video em { bottom: 4px; left: 4px; font-size: 5px; }
  .feed-actions { min-height: 20px; padding: 0 5px; font-size: 7px; }
  .feed-actions b { font-size: 5px; }
  .autopost-card { min-height: 44px; grid-template-columns: 19px 1fr auto; gap: 3px; padding: 5px; border-radius: 8px; }
  .autopost-icon { width: 18px; height: 18px; font-size: 11px; }
  .autopost-card strong { font-size: 6px; }
  .autopost-card small { margin-top: 2px; font-size: 5px; }
  .autopost-card > i { padding: 3px; font-size: 5px; }
  .reach-card { padding: 7px; border-radius: 9px; }
  .reach-card span { font-size: 4px; }
  .reach-card strong { margin-top: 3px; font-size: 13px; }
  .reach-card small { margin-top: 2px; font-size: 5px; }
  .growth-arrow { width: 24px; height: 24px; font-size: 14px; }
  .demand-reasons { gap: 2px; margin-top: 5px; }
  .demand-reasons > span { min-height: 20px; gap: 5px; padding: 0; border: 0; background: transparent; font-size: 7px; }
  .demand-reasons svg { width: 14px; height: 14px; }
  .seat-contrast { width: min(53vw,380px); height: min(66vh,260px); min-height: 220px; }
  .seat-photo { border-width: 1px; border-radius: 10px; }
  .seat-photo span { top: 4px; right: 4px; left: 4px; padding: 3px 4px; font-size: 4px; }
  .seat-photo strong { right: 5px; bottom: 5px; left: 5px; font-size: 6px; }
  .seat-arrow { width: 24px; height: 24px; font-size: 14px; }
  .seat-proof { min-height: 27px; border-radius: 8px; }
  .seat-proof b, .seat-proof strong { font-size: 5px; }
  .seat-proof span { font-size: 5px; }
  .access-visual { min-height: 230px; }
  .pass-card { width: 210px; padding: 15px; border-radius: 16px; }
  .pass-brand { margin-bottom: 15px; font-size: 12px; }
  .pass-card > strong { font-size: 18px; }
  .pass-code { grid-template-columns: repeat(3, 11px); grid-auto-rows: 11px; gap: 3px; margin: 12px 0; }
  .not-coupon { width: 105px; height: 48px; }
  .control-top, .control-row, .control-total { min-height: 34px; padding: 0 9px; }
  .control-top { min-height: 30px; font-size: 8px; }
  .control-row strong { min-width: 63px; font-size: 10px; }
  .control-row span { padding: 4px 6px; font-size: 8px; }
  .control-total strong { font-size: 13px; }
  .member-card img { height: 115px; }
  .member-card div, .time-card { padding: 10px; }
  .member-card strong { font-size: 13px; }
  .time-card button { min-height: 27px; margin: 4px 0; font-size: 10px; }
  .photo-message { width: 46%; }
  .scan-confirm, .receipt-mini { margin-top: 10px; padding: 8px 10px; }
  .receipt-mini span { min-height: 24px; font-size: 9px; }
  .social-post img { height: 125px; }
  .social-head { height: 31px; font-size: 9px; }
  .social-actions { padding: 4px 8px; font-size: 14px; }
  .proof-card { padding: 10px; }
  .library-top { min-height: 34px; }
  .review-card { padding: 14px; }
  .review-card h3 { margin: 10px 0 7px; font-size: 16px; }
  .stars { font-size: 21px; }
  .review-tags { margin: 8px 0; }
  .review-card p { padding: 8px; font-size: 10px; }
  .dashboard-head { min-height: 34px; }
  .metric-grid div { padding: 10px 8px; }
  .report-row { margin: 8px 12px 11px; font-size: 9px; }
  .center-message { padding: 10px 4vw 4px; }
  .comparison { gap: 6px; padding: 7px 4vw 10px; }
  .comparison > div { min-height: 92px; padding: 9px; border-radius: 11px; }
  .comparison strong { margin-top: 9px; font-size: 11px; }
  .comparison small { margin-top: 4px; font-size: 8px; }
  .comparison-table { width: calc(100% - 8vw); margin: 2px 4vw 7px; border-radius: 8px; }
  .comparison-row { min-height: 31px; font-size: 5px; }
  .comparison-row > * { padding: 4px 3px; }
  .comparison-heading { min-height: 24px; font-size: 4px; }
  .comparison-row strong { font-size: 5px; }
  .comparison-yes::first-letter { font-size: 9px; }
  .campaign-value { grid-template-columns: repeat(3,1fr); gap: 4px; padding: 3px 4vw 8px; }
  .campaign-value div { min-height: 58px; padding: 7px 5px 5px 25px; border-radius: 8px; }
  .campaign-value b { top: 6px; left: 5px; width: 16px; height: 16px; font-size: 6px; }
  .campaign-value strong { font-size: 8px; }
  .campaign-value small { margin-top: 2px; font-size: 6px; }
  .offer-wrap { padding: 14px 18px; }
  .offer-points { gap: 4px; margin: 9px 0; }
  .offer-points span { padding: 4px 7px; font-size: 8px; }
  .offer-decision { margin-bottom: 9px; padding: 6px 8px; }
  .offer-decision span { font-size: 6px; }
  .offer-decision strong { margin-top: 2px; font-size: 8px; }
  .large-cta { min-height: 36px; font-size: 11px; }
  .week-card { min-width: 150px; padding: 11px; }
  .week-card strong { font-size: 22px; }
  .form-layout { grid-template-columns: .62fr 1.38fr; grid-template-rows: 1fr; align-items: center; }
  .form-heading h2 { font-size: clamp(25px, 4.7vw, 32px); }
  .fields, .fields-two { grid-template-columns: 1fr 1fr; gap: 5px 8px; padding: 10px; border-radius: 14px; }
  .fields label, .shift-edit-row label { font-size: 9px; }
  .fields input, .fields select, .fields textarea { min-height: 28px; margin-top: 2px; padding: 4px 6px; border-radius: 7px; font-size: 11px; }
  .fields textarea { min-height: 37px; }
  .field-wide { grid-column: 1 / -1; }
  .dish-form-layout { grid-template-columns: .55fr .56fr 1.35fr; gap: 10px; }
  .dish-form-layout .form-heading { grid-column: auto; }
  .dish-upload { max-height: 205px; border-radius: 14px; }
  .upload-button { right: 6px; bottom: 6px; left: 6px; min-height: 29px; font-size: 9px; }
  .dish-fields { grid-template-columns: 1fr 1fr; }
  .limit-box { min-height: 62px; padding: 7px; }
  .limit-box strong input { width: 75px; min-height: 28px; margin: 3px 0; font-size: 14px; }
  .limit-box span { font-size: 8px; }
  .schedule-layout { gap: 5px; padding: 7px 18px 6px; }
  .schedule-heading { display: flex; }
  .schedule-heading .slide-copy { max-width: 240px; text-align: right; }
  .day-row { grid-template-columns: 65px 1fr 43px; gap: 6px; padding: 0 7px; }
  .day-row strong { font-size: 9px; }
  .day-row button { min-width: 42px; min-height: 23px; font-size: 8px; }
  .schedule-actions button { min-height: 27px; font-size: 8px; }
  .rules-layout { grid-template-columns: .62fr 1.38fr; }
  .rule-list { gap: 4px; }
  .rule { min-height: 41px; gap: 7px; padding: 5px 8px; border-radius: 10px; }
  .rule input { width: 17px; height: 17px; }
  .rule strong { font-size: 10px; }
  .rule small { margin-top: 1px; font-size: 8px; }
  .review-layout { grid-template-columns: .58fr 1.42fr; }
  .campaign-summary { padding: 9px; }
  .summary-dish { grid-template-columns: 67px 1fr; gap: 8px; }
  .summary-dish img { width: 67px; height: 47px; }
  .summary-dish strong { font-size: 12px; }
  .summary-grid { gap: 4px; margin: 6px 0; }
  .summary-grid div { min-height: 34px; padding: 5px; }
  .summary-grid strong { margin-top: 2px; font-size: 9px; }
  .approval-row { gap: 6px; margin: 5px 0; }
  .approval { font-size: 8px; }
  .terms-link { font-size: 8px; }
  .send-button { min-height: 32px; font-size: 10px; }
  .deck-nav { padding: 0 12px; }
  .nav-button { min-width: 72px; min-height: 32px; border-radius: 9px; font-size: 10px; }
  .modal { padding: 10px; }
  .modal-card { max-height: 94%; padding: 15px; border-radius: 16px; }
  .modal-card h2 { margin-bottom: 9px; font-size: 23px; }
  .modal-close { top: 7px; right: 7px; width: 30px; height: 30px; font-size: 19px; }
  .terms-grid, .qa-grid { grid-template-columns: 1fr 1fr; gap: 5px; }
  .terms-grid div, .qa-grid div { padding: 7px; }
  .terms-grid strong, .qa-grid strong { font-size: 9px; }
  .terms-grid span, .qa-grid span { margin-top: 2px; font-size: 8px; }
  .shift-edit-row { grid-template-columns: 82px 1fr auto 1fr 92px; margin-top: 5px; padding: 6px; }
  .shift-edit-row label:last-child { grid-column: auto; }
  .shift-editor-actions { margin-top: 8px; }
}

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