* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--pp-color-text-primary); background: var(--pp-color-bg-page); font-family: var(--pp-font-sans); font-size: 1rem; line-height: 1.6; }
a { color: var(--pp-color-blue-700); text-underline-offset: .18em; }
a:hover { color: var(--pp-color-action-hover); }
:focus-visible { outline: 3px solid var(--pp-color-blue-500); outline-offset: 3px; border-radius: .2rem; }
h1, h2, h3 { margin: 0 0 .75rem; line-height: 1.15; letter-spacing: -.025em; }
h1 { max-width: 18ch; font-size: clamp(2.35rem, 7vw, 4.8rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
img { display: block; max-width: 100%; }
address { font-style: normal; }
.container { width: min(100% - 2rem, var(--pp-container-wide)); margin-inline: auto; }
.content-width { max-width: var(--pp-container-content); }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .75rem 1rem; color: var(--pp-white); background: var(--pp-color-slate-900); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--pp-color-border); background: rgb(255 255 255 / .96); }
.header-row { display: flex; min-height: 4.75rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--pp-color-slate-900); font-size: 1.15rem; font-weight: 800; text-decoration: none; }
.brand > span { display: grid; width: 2.1rem; height: 2.1rem; place-items: center; border-radius: .7rem; color: var(--pp-white); background: var(--pp-color-blue-600); }
.nav-menu summary { min-height: 44px; padding: .55rem .8rem; cursor: pointer; font-weight: 700; }
.nav-menu nav { position: absolute; top: 4.25rem; right: 1rem; left: 1rem; display: grid; gap: .4rem; padding: 1rem; border: 1px solid var(--pp-color-border); border-radius: var(--pp-radius-md); background: var(--pp-white); box-shadow: var(--pp-shadow-card); }
.nav-menu nav a { min-height: 44px; padding: .6rem; font-weight: 650; text-decoration: none; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .72rem 1.15rem; border: 2px solid var(--pp-color-action); border-radius: var(--pp-radius-md); color: var(--pp-white); background: var(--pp-color-action); font: inherit; font-weight: 750; line-height: 1.2; text-decoration: none; cursor: pointer; }
.button:hover { border-color: var(--pp-color-action-hover); color: var(--pp-white); background: var(--pp-color-action-hover); }
.button-small { min-height: 44px !important; padding: .5rem .8rem !important; }
.button-secondary { color: var(--pp-color-blue-700); background: transparent; }
.button-secondary:hover { color: var(--pp-white); }
.button-light { border-color: var(--pp-white); color: var(--pp-color-slate-900); background: var(--pp-white); }
.button-light:hover { border-color: var(--pp-color-blue-100); color: var(--pp-color-blue-700); background: var(--pp-color-blue-50); }
.button-full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.text-link { font-weight: 750; }
.eyebrow, .meta { color: var(--pp-color-blue-700); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.meta { color: var(--pp-color-text-muted); }
.hero, .page-hero, .profile-hero, .article-header { padding: clamp(3.5rem, 9vw, 7rem) 0; overflow: hidden; background: var(--pp-white); }
.hero { background: var(--pp-cream); }
.hero-grid, .profile-grid { display: grid; align-items: center; gap: 2.5rem; }
.hero-copy { max-width: 60ch; color: var(--pp-color-text-secondary); font-size: clamp(1.08rem, 2.4vw, 1.3rem); }
.hero-card { position: relative; padding: 2rem; overflow: hidden; border: 1px solid var(--pp-color-blue-100); border-radius: var(--pp-radius-lg); background: var(--pp-burgundy-dark); box-shadow: var(--pp-shadow-card); color: var(--pp-white); }
.hero-card h2 { font-size: 1.9rem; }
.hero-card .eyebrow { color: var(--pp-gold-light); }
.hero-mark { display: grid; width: 4.5rem; height: 4.5rem; margin-bottom: 3rem; place-items: center; border-radius: 1.3rem; background: var(--pp-color-blue-500); font-size: 2rem; font-weight: 900; }
.check-list { display: grid; gap: .7rem; padding: 0; list-style: none; }
.check-list li::before { content: "✓"; margin-right: .6rem; color: #86efac; font-weight: 900; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-subtle { background: var(--pp-color-bg-subtle); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.card-grid, .editorial-grid { display: grid; gap: 1.25rem; }
.card { overflow: hidden; border: 1px solid var(--pp-color-border); border-radius: var(--pp-radius-md); background: var(--pp-white); box-shadow: var(--pp-shadow-sm); }
.card-art { display: grid; min-height: 10rem; place-items: center; color: var(--pp-white); background: var(--pp-burgundy); font-size: 3rem; font-weight: 900; }
.restaurant-art { background: var(--pp-charcoal); }
.product-art { background: var(--pp-burgundy-dark); }
.card-body { padding: 1.35rem; }
.card h2, .card h3 { font-size: 1.3rem; }
.card h2 a, .card h3 a, .editorial-card h2 a, .editorial-card h3 a { color: var(--pp-color-text-primary); }
.editorial-card { padding: 1.5rem 0; border-top: 3px solid var(--pp-color-slate-900); }
.location { color: var(--pp-color-text-muted); font-weight: 650; }
.empty { padding: 2rem; border: 1px dashed var(--pp-color-slate-500); border-radius: var(--pp-radius-md); color: var(--pp-color-text-secondary); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.5rem; font-size: .9rem; }
.article-header h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.prose { font-size: 1.08rem; }
.prose > * + * { margin-top: 1.25rem; }
.two-column { display: grid; gap: 2rem; }
.profile-monogram { display: grid; aspect-ratio: 4 / 3; place-items: center; border-radius: var(--pp-radius-lg); color: var(--pp-white); background: var(--pp-charcoal); box-shadow: var(--pp-shadow-card); font-size: clamp(5rem, 20vw, 10rem); font-weight: 900; }
.detail-card, .notice { padding: 1.5rem; border: 1px solid var(--pp-color-border); border-radius: var(--pp-radius-md); background: var(--pp-white); }
.notice { margin-top: 2rem; border-left: 5px solid var(--pp-color-blue-500); background: var(--pp-color-blue-50); }
.detail-card address + address { margin-top: 1.5rem; }
.detail-card dl { display: grid; grid-template-columns: 1fr 1.5fr; gap: .7rem; }
.detail-card dt { font-weight: 750; }
.detail-card dd { margin: 0; }
.price { font-size: 1.6rem; font-weight: 850; }
.disclosure { max-width: 62ch; margin-top: 1rem; color: var(--pp-color-text-secondary); font-size: .9rem; }
.status-unavailable { padding: .8rem 1rem; border-radius: .6rem; background: var(--pp-color-slate-100); color: var(--pp-color-text-secondary); font-weight: 700; }
.pill-row { display: flex; gap: .65rem; padding-bottom: 1.5rem; overflow-x: auto; }
.pill-row a { flex: 0 0 auto; min-height: 44px; padding: .55rem .9rem; border: 1px solid var(--pp-color-border); border-radius: 99rem; background: var(--pp-white); font-weight: 700; text-decoration: none; }
.search-form label, .auth-card label { display: block; margin: 1rem 0 .35rem; font-weight: 750; }
input { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid var(--pp-color-slate-500); border-radius: .5rem; color: var(--pp-color-text-primary); background: var(--pp-white); font: inherit; }
select, textarea { width: 100%; padding: .7rem .8rem; border: 1px solid var(--pp-color-slate-500); border-radius: .5rem; color: var(--pp-color-text-primary); background: var(--pp-white); font: inherit; }
.input-row { display: grid; gap: .7rem; }
.search-result { padding: 1.5rem 0; border-bottom: 1px solid var(--pp-color-border); }
.auth-shell { display: grid; min-height: 70vh; padding: 3rem 1rem; place-items: center; background: var(--pp-color-slate-100); }
.auth-card { width: min(100%, 30rem); padding: clamp(1.5rem, 5vw, 2.5rem); border: 1px solid var(--pp-color-border); border-radius: var(--pp-radius-lg); background: var(--pp-white); box-shadow: var(--pp-shadow-card); }
.auth-card h1 { font-size: 2.4rem; }
.checkbox { display: flex !important; align-items: center; gap: .7rem; }
.checkbox input { width: 1.25rem; min-height: 1.25rem; }
.alert { padding: 1rem; border-radius: .5rem; }
.alert-error { border: 1px solid #fecaca; color: #991b1b; background: #fef2f2; }
.admin-header { padding: 3rem 0; background: var(--pp-white); }
.admin-header h1 { font-size: 2.5rem; }
.metric-grid { display: grid; gap: 1rem; }
.metric-grid article { display: grid; padding: 1.5rem; border: 1px solid var(--pp-color-border); border-radius: var(--pp-radius-md); background: var(--pp-white); }
.metric-grid strong { font-size: 2.5rem; }
.metric-grid span { color: var(--pp-color-text-muted); font-weight: 700; }
.invitation { padding: 3rem 0; color: var(--pp-white); background: var(--pp-color-blue-700); }
.invitation .eyebrow { color: var(--pp-gold-light); }
.invitation-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-footer { padding: 4rem 0 1.5rem; color: var(--pp-footer-text); background: var(--pp-color-slate-900); }
.brand-footer, .site-footer h2 { color: var(--pp-white); }
.site-footer h2 { font-size: 1rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid nav { display: grid; align-content: start; gap: .55rem; }
.footer-grid nav a { color: var(--pp-footer-text); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--pp-footer-border); font-size: .9rem; }
.admin-workspace { display: grid; gap: 1.25rem; }
.admin-workspace form, .enrollment-card form { display: grid; gap: .8rem; }
.admin-workspace label, .enrollment-card > form > label:not(.consent-choice) { font-weight: 750; }
.managed-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--pp-color-border); }
.reward-summary { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem; background: var(--pp-color-bg-subtle); }
.compact { margin: 0; gap: .65rem; }
.small-url { max-width: 28rem; overflow-wrap: anywhere; font-size: .85rem; }
details > summary { margin: .75rem 0; cursor: pointer; }
.enrollment-shell, .wallet-shell { min-height: 75vh; padding: 2rem 1rem; background: var(--pp-soft-cream); }
.enrollment-card { width: min(100%, 34rem); margin: 0 auto; padding: clamp(1.4rem, 5vw, 2.5rem); border: 1px solid var(--pp-color-border); border-radius: var(--pp-radius-lg); background: var(--pp-white); box-shadow: var(--pp-shadow-card); }
.enrollment-card h1, .wallet-shell h1 { font-size: clamp(2rem, 8vw, 3.6rem); }
.reward-lede { font-size: 1.15rem; }
.consent-choice { display: grid; grid-template-columns: 1.5rem 1fr; gap: .7rem; padding: 1rem; border: 1px solid var(--pp-color-border); border-radius: var(--pp-radius-md); }
.consent-choice input { width: 1.25rem; min-height: 1.25rem; }
.consent-choice small { display: block; margin-top: .3rem; color: var(--pp-color-text-secondary); font-weight: 400; }
.required-consent { border-color: var(--pp-color-blue-500); background: var(--pp-color-blue-50); }
.privacy-note { margin-top: 1.25rem; color: var(--pp-color-text-muted); font-size: .85rem; }
.wallet-shell { padding-block: 3rem; }
.success-banner, .review-invitation { margin-bottom: 1.5rem; padding: 1.2rem; border-radius: var(--pp-radius-md); background: #ecfdf5; }
.reward-wallet-card { margin: 1.25rem 0; padding: clamp(1.25rem, 5vw, 2rem); border: 1px solid var(--pp-color-border); border-radius: var(--pp-radius-lg); background: var(--pp-white); box-shadow: var(--pp-shadow-card); }
.reward-code { margin: 1.5rem 0; padding: 1rem; border: 2px dashed var(--pp-color-blue-500); border-radius: .75rem; background: var(--pp-color-blue-50); font-size: clamp(1.8rem, 9vw, 3rem); font-weight: 900; letter-spacing: .12em; text-align: center; }
.reward-wallet-card dl { display: grid; grid-template-columns: 1fr 2fr; gap: .5rem; }
.reward-wallet-card dt { font-weight: 800; }
.reward-wallet-card dd { margin: 0; }
.review-invitation { margin-top: 2rem; background: var(--pp-color-bg-subtle); }
.offer-stack { margin-top: 2rem; }
.offer-card { margin: 1rem 0; padding: 1.5rem; border: 1px solid var(--pp-color-border); border-radius: var(--pp-radius-md); background: var(--pp-white); }
.demo-banner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; padding: .8rem 1rem; border-radius: .6rem; color: #713f12; background: #fef3c7; }
.demo-logo { max-width: 12rem; max-height: 7rem; object-fit: contain; }
.reward-qr { display: block; width: min(15rem, 100%); margin: 1rem auto; }
.demo-form { display: grid; gap: 1rem; }
.demo-hero { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--pp-radius-lg); object-fit: cover; box-shadow: var(--pp-shadow-card); }
.managed-offer { padding: 1rem 0; border-top: 1px solid var(--pp-color-border); }
.crm-metrics { grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); }
.metric-alert { border-color: #f59e0b !important; background: #fffbeb !important; }
.crm-filter { display: grid; gap: .75rem; margin-bottom: 2rem; padding: 1rem; border: 1px solid var(--pp-color-border); border-radius: var(--pp-radius-md); background: var(--pp-white); }
.crm-filter label, .crm-detail-grid label, .crm-form-card label { font-weight: 750; }
.table-scroll, .pipeline-board { overflow-x: auto; }
.crm-table { width: 100%; border-collapse: collapse; background: var(--pp-white); }
.crm-table th, .crm-table td { min-width: 8rem; padding: .8rem; border-bottom: 1px solid var(--pp-color-border); text-align: left; vertical-align: top; }
.crm-table small { display: block; color: var(--pp-color-text-muted); }
.tag { display: inline-block; margin-left: .4rem; padding: .1rem .45rem; border-radius: 999px; color: #78350f; background: #fef3c7; font-size: .72rem; font-weight: 800; }
.attention { color: #b45309; font-weight: 850; }
.pipeline-board { display: grid; grid-auto-columns: minmax(14rem, 1fr); grid-auto-flow: column; gap: 1rem; padding-bottom: 1rem; }
.pipeline-column { padding: 1rem; border: 1px solid var(--pp-color-border); border-radius: var(--pp-radius-md); background: var(--pp-white); }
.pipeline-column h3 { display: flex; justify-content: space-between; text-transform: capitalize; }
.pipeline-card { display: grid; gap: .3rem; margin-top: .7rem; padding: .8rem; border: 1px solid var(--pp-color-border); border-radius: .6rem; color: var(--pp-color-text-primary); text-decoration: none; }
.pipeline-card small { color: var(--pp-color-text-muted); }
.empty-compact { color: var(--pp-color-text-muted); }
.crm-form-card { width: min(100%, 48rem); }
.crm-detail-grid { display: grid; gap: 1.25rem; }
.crm-detail-grid form { display: grid; gap: .7rem; }
.opportunity-panel { padding: 1rem 0; border-top: 1px solid var(--pp-color-border); }
.timeline { display: grid; gap: 1rem; padding-left: 1.4rem; }
.timeline li { padding-left: .5rem; border-left: 3px solid var(--pp-color-blue-100); }
.onboarding-list { display: grid; gap: .8rem; padding: 0; list-style: none; }
.onboarding-list li { display: grid; grid-template-columns: 2rem 1fr; gap: .7rem; padding: 1rem; border: 1px solid var(--pp-color-border); border-radius: .7rem; }
.onboarding-list li > span { color: var(--pp-color-blue-600); font-size: 1.5rem; font-weight: 900; }
.milestone-completed { background: #ecfdf5; }

@media (min-width: 48rem) {
  .container { width: min(100% - 3rem, var(--pp-container-wide)); }
  .nav-menu summary { display: none; }
  .nav-menu nav { position: static; display: flex; align-items: center; padding: 0; border: 0; box-shadow: none; }
  .hero-grid, .profile-grid { grid-template-columns: 1.15fr .85fr; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .editorial-grid { grid-template-columns: repeat(3, 1fr); }
  .two-column { grid-template-columns: minmax(0, 1.65fr) minmax(16rem, .7fr); }
  .input-row { grid-template-columns: 1fr auto; }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .metric-grid-wide { grid-template-columns: repeat(6, 1fr); }
  .admin-workspace { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
  .crm-filter { grid-template-columns: 2fr repeat(4, 1fr) auto; align-items: end; }
  .crm-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
/* Brand foundation: existing operational screens retain their layout contracts. */
h1, .section-heading h2, .home-hero h2, .promo-banner h2, .invitation h2 { font-family: var(--pp-font-editorial); font-weight: 400; }
.section-heading h2 { font-size: var(--pp-heading-section); }
.eyebrow { color: var(--pp-gold-ink); }
.section { padding-block: var(--pp-section-space); }
.button { gap: var(--pp-space-3); border-width: 1px; border-radius: var(--pp-radius-button); }
.button:active { background: var(--pp-burgundy-dark); }
.card { border-radius: var(--pp-radius-card); }
.card-grid, .editorial-grid, .category-grid { gap: var(--pp-grid-gap); }
.card-body { padding: var(--pp-space-6); }
.card-body > p:not(.meta):not(.rating) { color: var(--pp-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { background: var(--pp-cream); }
.header-row { flex-wrap: wrap; padding-block: var(--pp-space-3); gap: var(--pp-space-3); }
.brand { min-width: 0; font-family: var(--pp-font-editorial); font-size: 1.2rem; }
.brand > .brand-wordmark { display: inline; width: auto; height: auto; color: var(--pp-charcoal); background: none; border-radius: 0; font-weight: 400; }
.brand-logo { width: 4.75rem; height: 4.75rem; flex: 0 0 auto; object-fit: contain; border-radius: var(--pp-radius-sm); }
.header-row:has(.brand-logo) { padding-block: var(--pp-space-2); }
@media (max-width: 35.99rem) {
  .brand-logo { width: 3rem; height: 3rem; }
  .brand .logo-wordmark { display: none; }
  .header-row:has(.brand-logo) { flex-wrap: nowrap; gap: var(--pp-space-2); }
}
.desktop-navigation { display: none; }
.header-cta { margin-left: auto; }
.mobile-navigation { margin-left: auto; }
.nav-menu summary { margin: 0; padding: .5rem; }
.mobile-panel nav { position: static; box-shadow: none; border: 0; }
.mobile-panel { position: absolute; top: 100%; left: 1rem; right: 1rem; padding: var(--pp-space-4); background: var(--pp-white); border: 1px solid var(--pp-border); border-radius: var(--pp-radius-md); box-shadow: var(--pp-shadow-overlay); max-height: 75vh; overflow-y: auto; }
.mobile-panel nav { display: grid; }
.nav-menu nav a[aria-current="page"], .desktop-navigation a[aria-current="page"] { color: var(--pp-burgundy); text-decoration: underline; text-decoration-color: var(--pp-gold); text-decoration-thickness: 2px; text-underline-offset: .5em; }
.search-link { display: inline-flex; align-items: center; gap: .75rem; }
.home-hero { background: var(--pp-cream); padding-block: var(--pp-section-space); }
.home-hero h1 { font-size: var(--pp-heading-hero); max-width: 14ch; line-height: 1.04; }
.hero-note { margin: var(--pp-space-6) 0 0; font-size: var(--pp-text-sm); color: var(--pp-muted); }
.hero-feature { padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--pp-radius-lg); color: var(--pp-cream); background: var(--pp-burgundy-dark); }
.hero-feature .eyebrow, .promo-banner .eyebrow { color: var(--pp-gold-light); }
.hero-feature .text-link { color: var(--pp-cream); }
.hero-feature h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.editorial-flourish { display: block; margin-bottom: var(--pp-space-6); color: var(--pp-gold-light); font-size: 3rem; }
.hero-visual { margin: 0; position: relative; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: var(--pp-image-hero); object-fit: cover; border-radius: var(--pp-radius-lg); }
.hero-visual figcaption { padding: var(--pp-space-3) 0; color: var(--pp-muted); font-size: var(--pp-text-sm); }
.trust-strip { border-block: 1px solid var(--pp-border); background: var(--pp-white); padding-block: var(--pp-space-5); }
.trust-grid { display: grid; gap: var(--pp-space-4); }
.trust-grid p { display: flex; align-items: center; gap: var(--pp-space-3); margin: 0; font-size: var(--pp-text-sm); font-weight: 600; }
.trust-grid span { color: var(--pp-gold-ink); font-size: var(--pp-icon-size); }
.category-grid { display: grid; }
.category-card > a { display: block; height: 100%; text-decoration: none; color: var(--pp-charcoal); }
.category-card:hover { border-color: var(--pp-gold); }
.category-card p { font-size: var(--pp-text-sm); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.category-motif { min-height: 8rem; display: grid; place-items: center; background: var(--pp-soft-cream); }
.category-motif span { font-family: var(--pp-font-editorial); color: var(--pp-burgundy); font-size: 3.5rem; }
.category-image, .card-image { display: block; width: 100%; height: auto; aspect-ratio: var(--pp-image-card); object-fit: cover; }
.deal-card .card-body, .article-card .card-body { display: flex; flex-direction: column; height: 100%; }
.deal-card:has(.card-image) .card-body, .article-card:has(.card-image) .card-body { height: auto; flex: 1; }
.deal-card, .article-card { display: flex; flex-direction: column; }
.deal-card .button, .article-card .text-link { margin-top: auto; align-self: flex-start; }
.deal-card .button { margin-top: auto; }
.deal-card h3:last-of-type { margin-bottom: var(--pp-space-4); }
.merchant-logo { object-fit: contain; max-height: 4rem; margin-bottom: var(--pp-space-4); }
.badge { align-self: flex-start; padding: .25rem .65rem; margin-bottom: var(--pp-space-3); border-radius: var(--pp-radius-full); background: var(--pp-soft-cream); color: var(--pp-burgundy-dark); font-size: var(--pp-text-sm); font-weight: 700; }
.rating { font-size: var(--pp-text-sm); }
.rating span { color: var(--pp-gold-ink); }
.disclosure { max-width: none; margin: 0 0 var(--pp-space-6); }
.promo-banner { display: grid; gap: var(--pp-space-8); align-items: center; padding: clamp(1.5rem, 5vw, 3.5rem); border-radius: var(--pp-radius-lg); background: var(--pp-charcoal); color: var(--pp-cream); }
.promo-banner h2 { font-size: var(--pp-heading-section); max-width: 22ch; }
.promo-banner p:not(.eyebrow) { max-width: 55ch; }
.promo-banner img { width: 100%; aspect-ratio: var(--pp-image-card); object-fit: cover; border-radius: var(--pp-radius-md); }
.promo-mark { display: none; font-size: 7rem; color: var(--pp-gold-light); justify-self: center; }
.invitation { background: var(--pp-soft-cream); color: var(--pp-charcoal); border-top: 1px solid var(--pp-border); }
.invitation .eyebrow { color: var(--pp-gold-ink); }
.invitation .privacy-note { margin: 0; color: var(--pp-muted); }
.site-footer { background: var(--pp-charcoal); }
.brand-footer { color: var(--pp-cream); }
.site-footer a:hover { color: var(--pp-gold-light); }
.footer-note { font-size: var(--pp-text-sm); }
.checkbox-row { display: flex; gap: var(--pp-space-3); align-items: flex-start; }
.checkbox-row input { width: 1.25rem; min-height: 1.25rem; flex: 0 0 auto; margin-top: .3rem; accent-color: var(--pp-burgundy); }
.form-stack { display: grid; gap: var(--pp-space-4); max-width: 36rem; }
#shop-categories, #categories { scroll-margin-top: var(--pp-space-8); }
@media (min-width: 36rem) {
  .header-row { flex-wrap: nowrap; }
  .trust-grid, .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 47.99rem) {
  .nav-menu summary { display: block; }
  .header-cta { font-size: .8rem; }
  .hero-feature { padding: var(--pp-space-6); }
  .editorial-flourish { font-size: 2rem; margin-bottom: var(--pp-space-4); }
}
@media (min-width: 48rem) {
  .mobile-navigation summary { display: block; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promo-banner { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .promo-mark { display: block; }
  .hero-grid > *, .card-grid > *, .editorial-grid > * { min-width: 0; }
}
@media (min-width: 72rem) {
  .desktop-navigation { display: block; }
  .desktop-navigation nav { display: flex; align-items: center; gap: 1rem; }
  .desktop-navigation a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 600; text-decoration: none; }
  .mobile-navigation, .mobile-search-label { display: none; }
  .header-row { min-height: 5rem; }
  .trust-grid, .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Phase 2: affiliate collections and editorial reading, using Phase 1 tokens. */
.internal-hero { padding-block: var(--pp-internal-hero-space); background: var(--pp-cream); border-bottom: 1px solid var(--pp-border); }
.internal-hero h1 { font-size: var(--pp-heading-internal); max-width: 25ch; }
.internal-hero .hero-copy { max-width: 65ch; font-size: var(--pp-text-lg); }
.collection-section { padding-top: var(--pp-space-8); }
.collection-navigation { margin-bottom: var(--pp-space-8); }
.collection-navigation-desktop { display: none; }
.collection-navigation-mobile { border: 1px solid var(--pp-border); border-radius: var(--pp-radius-md); background: var(--pp-white); }
.collection-navigation-mobile summary { min-height: 48px; margin: 0; padding: var(--pp-space-4); font-weight: 650; }
.collection-navigation-mobile .collection-links { padding: 0 var(--pp-space-4) var(--pp-space-4); }
.collection-links { display: flex; flex-wrap: wrap; gap: var(--pp-space-2); }
.collection-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem .85rem; border: 1px solid var(--pp-border); border-radius: var(--pp-radius-full); background: var(--pp-white); color: var(--pp-charcoal); font-size: var(--pp-text-sm); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.collection-links a:hover { border-color: var(--pp-gold); color: var(--pp-burgundy); }
.collection-links a[aria-current="page"] { border-color: var(--pp-burgundy); color: var(--pp-white); background: var(--pp-burgundy); }
.navigation-count { display: inline-block; margin-left: var(--pp-space-2); color: var(--pp-muted); font-size: var(--pp-text-sm); }
.collection-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--pp-space-4); align-items: center; margin-bottom: var(--pp-space-6); }
.collection-toolbar p { margin: 0; }
.collection-followup { margin-top: var(--pp-space-12); }
.collection-grid > * { min-width: 0; }
.collection-grid h3 { overflow-wrap: anywhere; }
.collection-grid .card h3 a { text-decoration: none; }
.collection-grid .card h3 a:hover { text-decoration: underline; }
.collection-grid .card-body { padding: var(--pp-space-6); }
.card-fallback { display: grid; place-items: center; aspect-ratio: var(--pp-image-card); max-height: 10rem; background: var(--pp-soft-cream); border-bottom: 1px solid var(--pp-border); color: var(--pp-burgundy); }
.card-fallback span { font-family: var(--pp-font-editorial); font-size: 3.5rem; }
.deal-card:has(.card-fallback) .card-body { height: auto; flex: 1; }
.card-category { font-size: var(--pp-text-sm); }
.collection-grid .card-body > p.card-price { color: var(--pp-charcoal); font-weight: 750; }
.empty-collection { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--pp-border); border-radius: var(--pp-radius-card); background: var(--pp-white); text-align: center; }
.empty-collection h2 { font-family: var(--pp-font-editorial); font-weight: 400; }
.empty-collection p { max-width: 55ch; margin-inline: auto; color: var(--pp-muted); }
.empty-motif { display: block; color: var(--pp-gold-ink); font-size: 2rem; margin-bottom: var(--pp-space-4); }
.category-hero-image, .product-image { display: block; width: 100%; height: auto; aspect-ratio: var(--pp-image-card); object-fit: cover; border-radius: var(--pp-radius-lg); }
.category-guide-links { margin-top: var(--pp-space-10); padding: var(--pp-space-6); border: 1px solid var(--pp-border); border-radius: var(--pp-radius-md); background: var(--pp-cream); }
.category-guide-links h2 { font-family: var(--pp-font-editorial); font-weight: 400; font-size: var(--pp-text-2xl); }
.category-guide-links ul { display: grid; gap: var(--pp-space-3); }
.product-hero .profile-grid { align-items: start; }
.product-actions { margin-bottom: var(--pp-space-6); }
.product-actions form { max-width: 100%; }
.product-actions .button { min-height: 48px; max-width: 100%; }
.product-visual { min-width: 0; }
.fallback-visual { display: grid; align-content: center; justify-items: center; min-height: 13rem; padding: var(--pp-space-8); border: 1px solid var(--pp-border); border-radius: var(--pp-radius-lg); background: var(--pp-soft-cream); text-align: center; }
.fallback-visual > span { font-family: var(--pp-font-editorial); font-size: clamp(4rem, 10vw, 7rem); line-height: 1.1; color: var(--pp-burgundy); margin-bottom: var(--pp-space-6); }
.fallback-visual p:last-child { font-family: var(--pp-font-editorial); font-size: var(--pp-text-xl); margin: 0; }
.disclosure-panel { border-left: 2px solid var(--pp-gold); padding-left: var(--pp-space-4); }
.disclosure-panel .disclosure { margin-bottom: 0; }
.product-information-grid { display: grid; gap: var(--pp-space-8); align-items: start; }
.product-prose { max-width: var(--pp-reading-width); }
.product-prose h2, .product-facts h2 { font-family: var(--pp-font-editorial); font-weight: 400; }
.product-facts { min-width: 0; }
.product-facts dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); font-size: var(--pp-text-sm); }
.product-facts dd { overflow-wrap: anywhere; }
.purchase-note { margin-top: var(--pp-space-8); padding: var(--pp-space-6); border-radius: var(--pp-radius-md); background: var(--pp-soft-cream); }
.purchase-note h2 { font-size: var(--pp-text-2xl); }
.purchase-note p:last-child { margin: 0; }
.resource-navigation { padding-block: var(--pp-space-5); background: var(--pp-soft-cream); border-bottom: 1px solid var(--pp-border); }
.resource-date { font-size: var(--pp-text-sm); color: var(--pp-muted); margin-bottom: var(--pp-space-5); }
.article-card .resource-date { margin-top: auto; }
.article-card .text-link { min-height: 44px; display: inline-flex; align-items: center; gap: var(--pp-space-2); }
.reading-width { max-width: var(--pp-reading-width); }
.resource-article .article-header h1 { max-width: none; }
.article-hero-image { width: 100%; height: auto; aspect-ratio: var(--pp-image-article); object-fit: cover; border-radius: var(--pp-radius-lg); margin-top: var(--pp-space-6); }
.article-prose { padding-block: var(--pp-space-10) var(--pp-space-16); font-size: var(--pp-text-lg); line-height: 1.8; overflow-wrap: anywhere; }
.article-prose h2 { font-family: var(--pp-font-editorial); font-weight: 400; font-size: clamp(1.55rem, 3vw, 2rem); margin-top: var(--pp-space-10); }
.article-prose h3 { margin-top: var(--pp-space-8); }
.article-prose .disclosure { padding: var(--pp-space-4); border-left: 2px solid var(--pp-gold); background: var(--pp-soft-cream); font-size: var(--pp-text-sm); }
.article-prose .meta { font-size: var(--pp-text-sm); font-weight: 500; letter-spacing: normal; text-transform: none; }
.article-prose .table-scroll { max-width: 100%; border: 1px solid var(--pp-border); border-radius: var(--pp-radius-md); margin-block: var(--pp-space-6); }
.article-prose table { background: var(--pp-white); }
.article-prose caption { padding: var(--pp-space-4); color: var(--pp-charcoal); font-weight: 650; text-align: left; }
.article-prose thead { background: var(--pp-soft-cream); }
.article-prose td, .article-prose th { font-size: var(--pp-text-sm); line-height: 1.6; }
.article-prose .button { max-width: 100%; white-space: normal; }
[id^="resources-"], #category-offerings, #category-guidance { scroll-margin-top: var(--pp-space-8); }
@media (min-width: 48rem) {
  .collection-navigation-desktop { display: block; }
  .collection-navigation-mobile { display: none; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-information-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .fallback-visual { aspect-ratio: var(--pp-image-card); }
}
@media (min-width: 64rem) {
  .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 48rem) {
  .collection-grid.collection-single { grid-template-columns: minmax(0, 1fr); max-width: var(--pp-container-content); }
  .product-grid.collection-single .deal-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .product-grid.collection-single .card-fallback { aspect-ratio: auto; max-height: none; border-bottom: 0; border-right: 1px solid var(--pp-border); }
  .product-grid.collection-single .card-image { height: 100%; }
  .resource-grid.collection-single h3 { max-width: 35ch; }
  .resource-grid.collection-single .card-body > p { max-width: 55ch; }
.collection-grid.collection-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phase 3: restaurant surfaces inherit the established marketplace system. */
.restaurant-fallback { display: grid; align-content: center; justify-items: center; gap: var(--pp-space-3); min-height: 10rem; padding: var(--pp-space-6); background: var(--pp-soft-cream); color: var(--pp-burgundy); text-align: center; }
.restaurant-fallback > span { font-size: 2.5rem; color: var(--pp-gold-ink); }
.restaurant-fallback small { max-width: 25ch; font-size: var(--pp-text-xs); letter-spacing: .08em; text-transform: uppercase; }
.restaurant-card { display: flex; flex-direction: column; }
.restaurant-card .card-body { display: flex; flex-direction: column; flex: 1; height: auto; }
.restaurant-card .button, .restaurant-offer .button { align-self: start; margin-top: auto; }
.restaurant-card .badge { align-self: start; }
.restaurant-offer { border-top: 2px solid var(--pp-gold-light); }
.restaurant-offer .card-body { display: flex; flex-direction: column; height: 100%; }
.restaurant-profile { padding-block: var(--pp-internal-hero-space); }
.restaurant-profile h1, .restaurant-operations-header h1 { font-family: var(--pp-font-editorial); font-weight: 400; font-size: var(--pp-heading-internal); }
.restaurant-profile-fallback, .restaurant-profile-image { width: 100%; aspect-ratio: var(--pp-image-card); border-radius: var(--pp-radius-card); }
.restaurant-profile-image { object-fit: cover; height: auto; }
.restaurant-details { align-items: start; }
.restaurant-details > *, .restaurant-operations .detail-card, .reward-wallet-card { min-width: 0; overflow-wrap: anywhere; }
.restaurant-details h2, .restaurant-details h3, .restaurant-claim-card h2, .restaurant-operations h2, .enrollment-card h1, .wallet-shell h1, .reward-wallet-card h2, .auth-card h1 { font-family: var(--pp-font-editorial); font-weight: 400; }
.restaurant-details .offer-card { border-radius: var(--pp-radius-card); border-top: 2px solid var(--pp-gold-light); }
.restaurant-claim-hero h1 { max-width: 25ch; }
.restaurant-claim-section { padding-top: var(--pp-space-8); }
.restaurant-claim-card { border-radius: var(--pp-radius-card); box-shadow: var(--pp-shadow-card); }
.restaurant-claim-card form { display: grid; gap: var(--pp-space-5); }
.restaurant-claim-card form > label:not(.consent-choice) { display: grid; gap: var(--pp-space-2); font-weight: 650; }
.enrollment-shell, .wallet-shell { background: var(--pp-cream); padding-block: var(--pp-internal-hero-space); }
.reward-wallet-card { border-top: 2px solid var(--pp-gold-light); }
.reward-wallet-card details { padding-top: var(--pp-space-3); border-top: 1px solid var(--pp-border); }
.reward-wallet-card summary { min-height: 44px; font-weight: 650; }
.reward-wallet-card dl { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.reward-qr { height: auto; aspect-ratio: 1; }
.reward-validation-form { display: grid; gap: var(--pp-space-4); padding: var(--pp-space-6); border-radius: var(--pp-radius-card); border: 1px solid var(--pp-border); background: var(--pp-white); }
.reward-validation-form label { display: grid; gap: var(--pp-space-2); font-weight: 650; }
.redemption-history { margin-top: var(--pp-space-8); padding: var(--pp-space-6); border-radius: var(--pp-radius-card); background: var(--pp-soft-cream); }
.restaurant-operations-header .header-row { flex-wrap: wrap; }
.restaurant-operations .metric-grid article, .restaurant-operations .detail-card { border-radius: var(--pp-radius-card); box-shadow: var(--pp-shadow-card); }
.restaurant-operations .metric-grid strong { color: var(--pp-burgundy); font-weight: 650; }
.restaurant-operations .detail-card + .detail-card { margin-top: var(--pp-space-6); }
.merchant-identity-image { display: block; width: 100%; height: auto; aspect-ratio: var(--pp-image-card); object-fit: scale-down; padding: var(--pp-space-8); background: var(--pp-white); border-radius: var(--pp-radius-card); }
.deal-card .merchant-identity-image { border-radius: 0; border-bottom: 1px solid var(--pp-border); }
@media (min-width: 48rem) {
  .reward-validation-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

.brand-identity { padding-top: var(--pp-space-6); }
.brand-identity img { width: 168px; height: 120px; object-fit: scale-down; background: var(--pp-white); border-radius: var(--pp-radius-md); padding: var(--pp-space-3); }

.deal-card:has(.merchant-identity-image) .card-body { height: auto; flex: 1; }
.deal-card .merchant-identity-image { max-height: 12rem; }
.product-visual .merchant-identity-image { max-height: 26rem; }

.restaurant-operations .two-column > .detail-card + .detail-card { margin-top: 0; }
.redemption-history h2 { font-family: var(--pp-font-editorial); font-weight: 400; }
.reward-wallet-card form { display: grid; gap: var(--pp-space-4); margin-top: var(--pp-space-5); }
.reward-wallet-card form > label:not(.checkbox) { display: grid; gap: var(--pp-space-2); font-weight: 650; }
.reward-wallet-card form .button { justify-self: start; }

/* Keep supplied promotional artwork complete; never crop embedded branding. */
img.affiliate-creative { object-fit: contain; background: var(--pp-white); }

/* Operations reuses the public palette and components at a denser scale. */
.internal-ui h1 { max-width: none; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.internal-ui h2 { font-size: 1.4rem; }
.internal-ui h3 { font-size: 1.1rem; }
.internal-header { border-bottom: 1px solid var(--pp-border); background: var(--pp-white); }
.internal-header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.5rem; }
.internal-brand > span { display: block; width: auto; height: auto; background: transparent; color: var(--pp-charcoal); }
.internal-brand small { display: block; color: var(--pp-muted); font-size: .75rem; font-weight: 500; }
.internal-brand .brand-logo { width: 48px; height: 48px; }
.internal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 80vh; }
.internal-sidebar { padding: 1.5rem 1rem; border-right: 1px solid var(--pp-border); background: var(--pp-soft-cream); }
.internal-sidebar nav, .internal-mobile-nav nav { display: grid; gap: .35rem; }
.internal-sidebar a, .internal-mobile-nav a { padding: .7rem .8rem; border-radius: var(--pp-radius-md); text-decoration: none; color: var(--pp-charcoal); font-weight: 650; }
.internal-sidebar a[aria-current], .internal-mobile-nav a[aria-current] { background: var(--pp-burgundy); color: var(--pp-white); }
.internal-workspace { min-width: 0; }
.internal-ui .container { width: calc(100% - 3rem); max-width: var(--pp-container-wide); }
.internal-ui .section { padding-block: 1.5rem; }
.internal-ui .admin-header { padding-block: 1.5rem; }
.internal-ui .header-row, .internal-ui .section-heading { flex-wrap: wrap; min-width: 0; }
.internal-ui .button { min-height: 44px; padding: .55rem .85rem; font-size: .9rem; }
.internal-ui .detail-card { padding: 1.25rem; margin-bottom: 1rem; }
.internal-ui .metric-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.internal-ui .metric-grid article { padding: 1rem; }
.internal-ui .metric-grid strong { font-size: 1.75rem; }
.internal-ui .metric-grid span { font-size: .85rem; }
.internal-ui form { display: grid; gap: .85rem; }
.internal-ui .pagination-size { display: flex; flex-wrap: wrap; align-items: end; gap: var(--pp-space-3); margin-top: var(--pp-space-6); }
.internal-ui .pagination-size label { flex: 0 1 12rem; }
.internal-ui form > .button { justify-self: start; width: auto; }
.internal-ui form > .button-full { justify-self: stretch; width: 100%; }
.internal-ui .internal-form-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.internal-ui .internal-form-grid .field-wide { grid-column: 1 / -1; }
.internal-ui .tag { color: var(--pp-charcoal); background: var(--pp-gold-light); }
.internal-ui .metric-alert { border-color: var(--pp-gold); background: var(--pp-soft-cream); }
.internal-ui .attention { color: var(--pp-burgundy-dark); }
.internal-ui .form-error { border-inline-start: 3px solid var(--pp-burgundy); background: var(--pp-soft-cream); color: var(--pp-charcoal); }
.internal-ui label { font-size: .9rem; }
.internal-ui input, .internal-ui select, .internal-ui textarea { min-width: 0; max-width: 100%; }
.internal-ui label small { display: block; color: var(--pp-muted); font-weight: 400; }
.internal-ui fieldset { display: grid; gap: .85rem; min-width: 0; border: 1px solid var(--pp-border); border-radius: var(--pp-radius-md); padding: 1rem; }
.internal-ui legend { font-weight: 700; padding-inline: .35rem; }
.internal-ui table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.internal-ui th, .internal-ui td { padding: .75rem; border-bottom: 1px solid var(--pp-border); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.internal-ui thead { background: var(--pp-soft-cream); }
.internal-ui .table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--pp-border); border-radius: var(--pp-radius-md); }
.internal-ui .table-scroll table { min-width: 640px; }
.internal-ui .pipeline-board { max-width: 100%; }
.internal-ui .crm-filter { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.internal-ui .notice, .internal-ui .form-error { border-radius: var(--pp-radius-md); padding: 1rem; }
.status-badge { display: inline-block; padding: .2rem .6rem; border: 1px solid var(--pp-border); border-radius: var(--pp-radius-md); background: var(--pp-soft-cream); color: var(--pp-charcoal); font-size: .8rem; font-weight: 650; }
.internal-mobile-nav { display: none; }
.internal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--pp-border); color: var(--pp-muted); font-size: .8rem; }
.internal-media-grid { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); gap: 1.5rem; align-items: start; }
.media-thumbnail { width: 100%; height: auto; max-height: 240px; aspect-ratio: var(--pp-image-card); object-fit: cover; border-radius: var(--pp-radius-md); margin-bottom: 1rem; }
.restaurant-logo-image { object-fit: contain !important; background: var(--pp-white); }
.media-removal { margin-top: 1rem; border-top: 1px solid var(--pp-border); padding-top: 1rem; }
.media-removal summary { cursor: pointer; color: var(--pp-burgundy); min-height: 44px; }
.required-label { color: var(--pp-muted); font-size: .75rem; font-weight: 400; }
.internal-ui .button-danger { background: var(--pp-burgundy-dark); border-color: var(--pp-burgundy-dark); }
.restaurant-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--pp-space-4); }
.restaurant-gallery figure { margin: 0; }
.restaurant-gallery img { display: block; width: 100%; height: auto; aspect-ratio: var(--pp-image-card); object-fit: cover; border-radius: var(--pp-radius-md); }
.restaurant-gallery figcaption { padding-top: .5rem; color: var(--pp-muted); font-size: .9rem; }
@media (max-width: 1000px) {
  .internal-layout { grid-template-columns: 1fr; }
  .internal-sidebar { display: none; }
  .internal-mobile-nav { display: block; margin: 1rem; padding: .8rem; border: 1px solid var(--pp-border); border-radius: var(--pp-radius-md); background: var(--pp-white); }
  .internal-mobile-nav summary { min-height: 44px; cursor: pointer; font-weight: 700; }
  .internal-media-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .internal-header-row { padding: .75rem 1rem; }
  .internal-ui .container { width: calc(100% - 2rem); }
  .internal-ui .two-column, .internal-ui .profile-grid { grid-template-columns: minmax(0, 1fr); }
  .internal-ui .managed-item { flex-wrap: wrap; }
}

/* Phase 8: scoped sales presentation, using the established theme. */
.presentation-header { display:flex; justify-content:space-between; gap:var(--pp-space-4,1rem); align-items:center; padding-block:1rem; }
.presentation-header .brand-logo { width:88px; height:88px; object-fit:contain; }
.presentation-slide { padding:clamp(2.5rem,6vw,5rem) 0; min-height:65vh; scroll-margin-top:1rem; }
.presentation-slide h1 { font-size:clamp(2.5rem,6vw,4.8rem); }
.presentation-slide h2 { font-size:clamp(2rem,4vw,3.4rem); }
.presentation-journey { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; padding-left:1.5rem; margin-block:2rem; }
.presentation-journey li { padding:1rem; border-bottom:1px solid var(--pp-gold-light); font-weight:600; }
.presentation-demo { display:flex; align-items:center; gap:2rem; flex-wrap:wrap; margin-block:2rem; }
.presentation-demo img { max-width:100%; object-fit:contain; }
.presentation-price { display:flex; gap:1rem; align-items:baseline; flex-wrap:wrap; }
.presentation-price strong { font-size:clamp(3rem,7vw,5rem); color:var(--pp-burgundy); }
@media (max-width:640px) { .presentation-header { flex-direction:column; align-items:flex-start; } .presentation-journey { grid-template-columns:1fr; } .presentation-slide { min-height:0; } }
@media print { .sales-presentation .presentation-controls,.sales-presentation .skip-link { display:none; } .sales-presentation .presentation-slide { break-after:page; min-height:0; padding:1cm 0; } .sales-presentation .presentation-header { position:static; } .sales-presentation .table-scroll { overflow:visible; } .sales-presentation .presentation-demo { display:none; } .sales-presentation a { color:inherit; text-decoration:none; } }

.presentation-screens { display:flex; gap:2rem; align-items:flex-start; flex-wrap:wrap; }
.presentation-screens figure { margin:0; flex:1 1 240px; min-width:0; }
.presentation-screens img { display:block; max-width:100%; width:auto; height:440px; object-fit:contain; object-position:left top; border:1px solid var(--pp-border); border-radius:var(--pp-card-radius,1rem); }
.presentation-screens figcaption { color:var(--pp-muted); font-size:.9rem; margin-top:.75rem; }
@media print { .presentation-slide h1 { font-size:34pt; } .presentation-slide h2 { font-size:26pt; } .presentation-screens img { height:300px; } }
