@import url("/theme.css");

:root {
  --bg: #0d0b1f;
  --panel: rgba(26, 19, 56, 0.72);
  --panel-strong: rgba(33, 26, 69, 0.88);
  --panel-border: rgba(232, 160, 213, 0.16);
  --text: #f5f0fa;
  --muted: #c9c0d8;
  --gold: #e8a0d5;
  --gold-strong: #f4a8c7;
  --gold-soft: rgba(232, 160, 213, 0.16);
  --chip-bg: rgba(232, 160, 213, 0.14);
  --danger: #fca5a5;
  --ok: #86efac;
  --working: #f4a8c7;
  --shadow: 0 18px 44px rgba(13, 5, 35, 0.42);
  --radius-panel: 20px;
  --radius-control: 18px;
  --radius-soft: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 18%, rgba(107, 47, 160, 0.34), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(232, 160, 213, 0.32), transparent 24%),
    linear-gradient(180deg, #0d0b1f 0%, #14102e 100%);
  color: var(--text);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
}

html {
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

body.has-visit-sheet {
  overflow: hidden;
}

body.has-pricing-summary {
  overflow: hidden;
}

.bg-glow {
  position: fixed;
  width: 34vw;
  height: 34vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(88px);
  opacity: 0.18;
}

.bg-glow-1 {
  top: -8vw;
  right: -4vw;
  background: #b15cc7;
}

.bg-glow-2 {
  bottom: -10vw;
  left: -9vw;
  background: #7b6ef6;
}

.app {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 calc(clamp(16px, 3vw, 32px)) calc(30px + env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 1;
}

.hero,
.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero {
  border-radius: 0;
  padding: clamp(64px, 10vh, 120px) clamp(20px, 3vw, 32px) clamp(40px, 6vh, 80px);
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  gap: clamp(8px, 1.2vh, 16px);
  margin-bottom: 0;
  border: none;
  border-bottom: 1px solid var(--panel-border);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(107, 47, 160, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(13, 11, 31, 0.4) 0%, rgba(20, 16, 46, 0.2) 100%);
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}

.lang-menu {
  position: absolute;
  top: -2px;
  right: -2px;
  margin-left: 0;
}

.lang-globe-btn {
  border: 1px solid rgba(132, 88, 78, 0.12);
  background: rgba(255, 248, 243, 0.5);
  color: rgba(95, 67, 60, 0.86);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1;
  opacity: 0.66;
}

.lang-globe-btn:hover:not(:disabled) {
  opacity: 0.9;
  background: rgba(255, 251, 247, 0.8);
}

.lang-globe-btn:focus-visible {
  outline: 2px solid rgba(232, 160, 213, 0.42);
  outline-offset: 2px;
}

.lang-globe-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.lang-menu-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 116px;
  padding: 6px;
  border: 1px solid rgba(132, 88, 78, 0.16);
  border-radius: 12px;
  background: #fffaf7;
  box-shadow: 0 10px 24px rgba(104, 75, 67, 0.16);
  display: grid;
  gap: 4px;
}

.lang-option-btn {
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  padding: 7px 10px;
  text-align: left;
  font-size: 0.84rem;
  cursor: pointer;
}

.lang-option-btn:hover:not(:disabled) {
  background: rgba(213, 154, 135, 0.14);
}

.lang-option-btn.is-active {
  background: rgba(213, 154, 135, 0.22);
  border-color: rgba(232, 160, 213, 0.26);
  font-weight: 600;
}

.brand {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: var(--gold-strong);
  min-width: 0;
}

h1 {
  margin: 4px 0 2px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
  font-size: 0.92rem;
}

.subtitle:empty,
.hint:empty,
.status:empty,
.receipt-meta:empty,
.empty-text:empty,
.review-note:empty,
.section-head h2:empty,
.mini-label:empty {
  display: none;
}

.lang-toggle,
.cta,
.ghost,
.review-copy-btn,
.remove-btn {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.lang-toggle,
.ghost {
  border: 1px solid rgba(132, 88, 78, 0.16);
  background: rgba(255, 248, 243, 0.84);
  color: var(--text);
}

.lang-toggle {
  border-radius: var(--radius-control);
  min-width: 122px;
  min-height: 54px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-areas:
    "intake reviews"
    "dishes reviews";
  gap: 14px;
  align-items: start;
}

.layout.single-stage {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "intake";
}

.intake-card {
  grid-area: intake;
}

.dishes-card {
  grid-area: dishes;
  scroll-margin-top: 12px;
}

.reviews-card {
  grid-area: reviews;
  scroll-margin-top: 12px;
}

.card {
  border-radius: var(--radius-panel);
  padding: 16px;
}

.app.landing-mode {
  width: min(1120px, 92vw);
}

.landing-shell {
  display: grid;
  gap: 14px;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.landing-card h2 {
  margin: 0;
  font-size: 1rem;
}

.landing-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.landing-card-primary {
  gap: 18px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 239, 221, 0.72), transparent 34%),
    rgba(255, 248, 243, 0.94);
}

.landing-status {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-strong);
  font-weight: 700;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-link {
  text-decoration: none;
}

.section-head h2 {
  margin: 0;
  font-size: 1rem;
}

.hint {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.text-link {
  margin-top: 12px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--gold-strong);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.action-btn,
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin-top: 12px;
  text-align: center;
  text-decoration: none;
}

#correctionToggle {
  min-height: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(239, 192, 122, 0.92);
  font-size: 0.84rem;
  font-weight: 600;
  justify-content: flex-start;
  text-decoration: underline;
  text-decoration-color: rgba(239, 192, 122, 0.34);
  text-underline-offset: 3px;
}

#correctionToggle:hover:not(:disabled) {
  transform: none;
  color: var(--gold-strong);
}

.inline-notice {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(247, 213, 130, 0.26);
  background: rgba(247, 213, 130, 0.1);
  color: var(--working);
  font-size: 0.86rem;
  line-height: 1.45;
}

.refresh-btn {
  margin-top: 14px;
  justify-content: center;
}

.refresh-btn.is-loading {
  position: relative;
  color: transparent;
}

.refresh-btn.is-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(248, 241, 231, 0.22);
  border-top-color: var(--gold-strong);
  animation: spin 0.8s linear infinite;
}

.upload-actions,
.secondary-actions,
.correction-row,
.review-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.upload-actions,
.secondary-actions {
  margin-top: 14px;
}

.upload-actions .cta,
.upload-actions .ghost {
  min-width: 152px;
}

/* Intake: two short pill buttons above the dashed preview frame (snap + write own) */
.intake-pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.intake-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 16px;
  min-height: 38px;
  max-width: 100%;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.intake-pill:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.intake-pill--primary {
  border-color: rgba(168, 111, 100, 0.28);
  background: linear-gradient(135deg, #f4a8c7 0%, #d98be0 100%);
  color: #382522;
  box-shadow:
    0 4px 0 rgba(80, 52, 45, 0.12),
    0 10px 20px rgba(168, 111, 100, 0.16);
}

.intake-pill--primary:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(168, 111, 100, 0.38);
  box-shadow:
    0 5px 0 rgba(80, 52, 45, 0.1),
    0 14px 26px rgba(104, 75, 67, 0.12);
}

.intake-pill--primary:active:not(:disabled) {
  transform: translateY(0);
}

.intake-pill--outline {
  border-color: rgba(239, 192, 122, 0.5);
  background: rgba(255, 250, 246, 0.5);
  color: rgba(60, 44, 40, 0.92);
  box-shadow: 0 0 0 1px rgba(13, 10, 8, 0.06) inset;
}

.intake-pill--outline:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(239, 192, 122, 0.8);
  background: rgba(255, 250, 246, 0.8);
  box-shadow: 0 4px 14px rgba(104, 75, 67, 0.1);
}

.intake-pill:focus-visible {
  outline: 2px solid rgba(232, 160, 213, 0.5);
  outline-offset: 2px;
}

.slim-actions {
  margin-top: 12px;
}

.cta,
.ghost,
.review-copy-btn {
  border-radius: var(--radius-control);
  padding: 11px 17px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  min-height: 46px;
  font-size: 0.92rem;
}

.cta,
.review-copy-btn {
  border-color: rgba(168, 111, 100, 0.18);
  background: linear-gradient(135deg, #f4a8c7 0%, #d98be0 100%);
  /* Match Send my checkup text color for visual consistency across CTAs */
  color: #08111d;
  box-shadow: 0 12px 24px rgba(168, 111, 100, 0.18);
}

.cta:hover:not(:disabled),
.ghost:hover:not(:disabled),
.review-copy-btn:hover:not(:disabled),
.lang-toggle:hover:not(:disabled),
.remove-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(104, 75, 67, 0.14);
}

.ghost {
  box-shadow: 0 8px 18px rgba(104, 75, 67, 0.06);
}

.ghost:hover:not(:disabled),
.lang-toggle:hover:not(:disabled) {
  border-color: rgba(232, 160, 213, 0.28);
  background: rgba(255, 250, 246, 0.96);
}

.cta:hover:not(:disabled),
.review-copy-btn:hover:not(:disabled) {
  border-color: rgba(168, 111, 100, 0.26);
  background: linear-gradient(135deg, #b15cc7 0%, #d98be0 100%);
}

.cta:focus-visible,
.ghost:focus-visible,
.review-copy-btn:focus-visible,
.lang-toggle:focus-visible,
.remove-btn:focus-visible {
  outline: 2px solid rgba(232, 160, 213, 0.42);
  outline-offset: 3px;
}

.cta:disabled,
.ghost:disabled,
.review-copy-btn:disabled,
.lang-toggle:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.compact {
  min-height: 44px;
  padding-inline: 14px;
}

.hidden-input {
  display: none;
}

.receipt-preview {
  margin-top: 10px;
  min-height: 240px;
  border-radius: var(--radius-soft);
  border: 1px dashed rgba(239, 192, 122, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(13, 10, 8, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.receipt-preview.empty {
  padding: 18px;
}

.receipt-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.receipt-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.empty-text {
  margin: 0;
  text-align: center;
  color: rgba(248, 241, 231, 0.72);
  line-height: 1.55;
  font-size: 0.92rem;
}

.summary-chip {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(240, 190, 115, 0.14);
  color: var(--gold-strong);
  font-size: 0.82rem;
}

.recognized-list {
  margin-top: 14px;
  min-height: 84px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(239, 192, 122, 0.16);
  background: rgba(13, 10, 8, 0.3);
}

.recognized-list.empty {
  border-style: dashed;
}

.reviews-grid.empty {
  border-radius: var(--radius-soft);
  padding: 18px;
  border: 1px dashed rgba(239, 192, 122, 0.16);
  background: rgba(13, 10, 8, 0.3);
}

.dish-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 12px;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid rgba(239, 192, 122, 0.22);
  color: var(--text);
}

.dish-chip span {
  font-size: 0.86rem;
  line-height: 1.3;
}

.remove-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-strong);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.remove-btn:hover:not(:disabled) {
  background: var(--danger);
  color: #fff;
}

.correction-block {
  margin-top: 16px;
}

.mini-label {
  display: block;
  margin: 0 0 8px;
  color: var(--gold-strong);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-input {
  flex: 1 1 210px;
  min-width: 0;
  border-radius: var(--radius-control);
  border: 1px solid rgba(239, 192, 122, 0.22);
  background: rgba(12, 9, 7, 0.62);
  color: var(--text);
  padding: 12px 14px;
  min-height: 46px;
  font-size: 0.92rem;
}

.text-input:focus {
  outline: none;
  border-color: rgba(239, 192, 122, 0.48);
  box-shadow: 0 0 0 3px rgba(240, 190, 115, 0.12);
}

.select-input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(239, 192, 122, 0.92) 50%),
    linear-gradient(135deg, rgba(239, 192, 122, 0.92) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.select-input:disabled {
  cursor: not-allowed;
}

.uncertain-wrap {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(247, 213, 130, 0.18);
  background: rgba(247, 213, 130, 0.08);
}

.uncertain-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.88rem;
}

.reviews-grid {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.review-context-bar {
  margin-top: 10px;
  margin-bottom: 6px;
  display: grid;
  gap: 10px;
}

.service-toggle-btn,
.visit-option-btn,
.choice-chip {
  width: 100%;
  border: 1px solid rgba(132, 88, 78, 0.16);
  background: rgba(255, 248, 243, 0.88);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.context-pill-btn,
.service-toggle-btn {
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.context-pill-btn {
  width: fit-content;
  min-height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 8px;
  justify-content: flex-start;
  align-items: baseline;
  color: var(--text);
}

.service-toggle-btn {
  min-height: 50px;
  padding: 10px 14px;
  border-color: rgba(132, 88, 78, 0.14);
  background: rgba(255, 250, 246, 0.84);
}

.service-toggle-btn:hover,
.visit-option-btn:hover,
.choice-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(232, 160, 213, 0.34);
  box-shadow: 0 12px 24px rgba(104, 75, 67, 0.1);
}

.context-pill-btn:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.context-pill-btn:disabled,
.service-toggle-btn:disabled,
.visit-option-btn:disabled,
.choice-chip:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.context-pill-action,
.service-toggle-meta {
  flex: 0 0 auto;
  color: #8f5c4d;
  font-size: 0.8rem;
  font-weight: 700;
}

.context-pill-copy,
.service-toggle-copy {
  min-width: 0;
  display: grid;
}

.context-pill-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.service-toggle-copy {
  gap: 2px;
}

.context-pill-label,
.service-toggle-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.context-pill-label {
  color: #af7959;
}

.service-toggle-label {
  color: #9a7368;
}

.context-pill-value {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
}

.service-toggle-value {
  font-size: 0.92rem;
  color: var(--text);
}

.service-toggle-btn.has-selection {
  border-color: rgba(232, 160, 213, 0.28);
  background: rgba(232, 160, 213, 0.12);
}

.service-toggle-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 92, 77, 0.22);
  background: rgba(143, 92, 77, 0.08);
  font-size: 0.76rem;
}

.context-pill-action {
  color: #b37149;
  font-size: 0.84rem;
  text-decoration: underline;
  text-decoration-color: rgba(179, 113, 73, 0.42);
  text-underline-offset: 3px;
}

.service-panel {
  max-height: 0;
  margin-top: 0;
  padding: 0 12px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: rgba(255, 248, 243, 0);
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    transform 0.28s cubic-bezier(0.2, 0.9, 0.22, 1),
    margin-top 0.22s ease,
    padding 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.service-panel.is-open {
  max-height: 520px;
  margin-top: 10px;
  padding: 12px;
  border-color: rgba(132, 88, 78, 0.14);
  background: rgba(255, 248, 243, 0.88);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.choice-grid,
.visit-options {
  display: grid;
  gap: 10px;
}

.choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-chip,
.visit-option-btn {
  border-radius: 16px;
  padding: 12px 14px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.choice-chip.selected,
.visit-option-btn.selected {
  border-color: rgba(232, 160, 213, 0.42);
  background: linear-gradient(135deg, rgba(232, 199, 186, 0.72), rgba(244, 228, 216, 0.9));
  box-shadow: inset 0 0 0 1px rgba(232, 160, 213, 0.18);
}

.sheet-backdrop {
  --visit-sheet-drag-progress: 0;
  --visit-sheet-drag-y: 0px;
  --visit-sheet-drag-scale: 0;
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 5, 4, 0);
  backdrop-filter: blur(0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.62s ease,
    background 0.62s ease,
    backdrop-filter 0.92s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.62s;
}

.sheet-backdrop.is-open {
  background: rgba(80, 56, 48, calc(0.2 * (1 - var(--visit-sheet-drag-progress))));
  backdrop-filter: blur(calc(16px * (1 - var(--visit-sheet-drag-progress))));
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.62s ease,
    background 0.62s ease,
    backdrop-filter 0.92s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.sheet-backdrop.is-dragging,
.sheet-backdrop.is-dragging .visit-sheet {
  transition: none;
}

.visit-sheet {
  width: min(560px, 100%);
  border-radius: 28px;
  border: 1px solid rgba(132, 88, 78, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.98), rgba(248, 239, 233, 0.98)),
    rgba(255, 248, 243, 0.96);
  box-shadow: 0 28px 48px rgba(104, 75, 67, 0.18);
  padding: 14px 14px 14px;
  opacity: 0;
  transform: translateY(54px) scale(0.972);
  transition:
    opacity 0.58s ease,
    transform 0.96s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.sheet-backdrop.is-open .visit-sheet {
  opacity: 1;
  transform: translateY(var(--visit-sheet-drag-y)) scale(calc(1 - var(--visit-sheet-drag-scale)));
  animation: visit-sheet-settle 0.96s cubic-bezier(0.22, 1, 0.36, 1);
}

.sheet-backdrop.is-dragging .visit-sheet {
  animation: none;
}

.visit-sheet h2 {
  margin: 8px 4px 2px;
  font-size: 1.12rem;
}

.sheet-drag-zone {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -2px 0 4px;
  touch-action: none;
  cursor: grab;
}

.sheet-drag-zone:active {
  cursor: grabbing;
}

.sheet-grabber {
  width: 42px;
  height: 5px;
  margin: 0;
  border-radius: 999px;
  background: rgba(132, 88, 78, 0.26);
}

.visit-sheet .hint {
  margin: 0 4px 12px;
}

.visit-sheet .cta {
  margin-top: 12px;
  width: 100%;
}

@keyframes visit-sheet-settle {
  0% {
    transform: translateY(54px) scale(0.972);
  }
  72% {
    transform: translateY(-2px) scale(1.003);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.review-card {
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.96), rgba(248, 239, 233, 0.94));
  border: 1px solid rgba(132, 88, 78, 0.14);
  border-radius: var(--radius-soft);
  padding: 14px;
  cursor: pointer;
}

.review-card-skeleton {
  pointer-events: none;
}

.review-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.review-card h3 {
  margin: 0;
  font-size: 1rem;
}

.focus-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.74rem;
  white-space: nowrap;
  color: var(--text);
  background: linear-gradient(135deg, #e5b29a, #f2d7c7);
}

.review-card:hover {
  transform: translateY(-1px);
  border-color: rgba(232, 160, 213, 0.26);
  box-shadow: 0 16px 28px rgba(104, 75, 67, 0.12);
}

.review-card:focus-visible {
  outline: 2px solid rgba(239, 192, 122, 0.68);
  outline-offset: 4px;
}

.review-copy-surface {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.review-copy-surface:focus-visible {
  outline: 2px solid rgba(239, 192, 122, 0.65);
  outline-offset: 4px;
  border-radius: 12px;
}

.review-body {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(132, 88, 78, 0.12);
  background: rgba(255, 252, 249, 0.9);
  line-height: 1.65;
  font-size: 0.92rem;
}

.skeleton-block {
  display: grid;
  gap: 10px;
}

.skeleton-line {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.08) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

.skeleton-line:nth-child(2) {
  width: 94%;
}

.skeleton-line:nth-child(3) {
  width: 88%;
}

.skeleton-line:nth-child(4) {
  width: 72%;
}

.skeleton-line-title {
  width: 38%;
  margin-bottom: 10px;
}

.dish-chip-skeleton {
  width: 112px;
  height: 38px;
  border-color: rgba(239, 192, 122, 0.14);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

.review-actions {
  margin-top: 10px;
  justify-content: space-between;
  align-items: center;
}

.review-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.status {
  min-height: 1.35em;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.receipt-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.status.working {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status.working::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(247, 213, 130, 0.22);
  border-top-color: var(--working);
  animation: spin 0.8s linear infinite;
  flex: 0 0 auto;
}

.status.ok {
  color: var(--ok);
}

.status.error {
  color: var(--danger);
}

.status.working {
  color: var(--working);
}

.status-link {
  color: var(--text);
  font-size: 0.86rem;
}

.manual-open-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: rgba(247, 213, 130, 0.42);
  text-underline-offset: 2px;
  opacity: 0.82;
}

.manual-open-link:hover,
.manual-open-link:focus-visible {
  color: var(--gold-strong);
  opacity: 1;
}

.marketing-page {
  display: grid;
  gap: clamp(14px, 2vh, 22px);
  padding: 0 clamp(16px, 3vw, 32px) calc(30px + env(safe-area-inset-bottom, 0px));
}

.marketing-nav-shell,
.marketing-footer {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  border-radius: 0;
  margin: 0 calc(-1 * clamp(16px, 3vw, 32px));
  padding: 14px clamp(16px, 3vw, 32px);
}

.marketing-nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
}

.marketing-nav-main {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.marketing-nav-main .marketing-nav {
  justify-content: flex-start;
  flex: 1;
  margin-left: 0;
}

.marketing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-part {
  font-weight: 900;
}

.brand-part-rank {
  color: #000000 !important;
}

.brand-part-mysalon {
  color: #000000 !important;
}

.marketing-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.marketing-nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
}

.marketing-nav-link.is-active,
.marketing-nav-link:hover,
.marketing-nav-link:focus-visible {
  color: var(--gold-strong);
}

.marketing-hero-section,
.marketing-digital-human,
.marketing-insights,
.marketing-placeholder,
.assistant-panel,
.assistant-stage {
  padding: 22px;
}

.marketing-page .marketing-hero-section,
.marketing-page .marketing-agents-section,
.marketing-page .marketing-results-stats,
.marketing-page .marketing-testimonials,
.marketing-page .marketing-growth-form,
.marketing-page .marketing-final-cta,
.marketing-page .marketing-why-matters,
.marketing-page .marketing-digital-human,
.marketing-page .marketing-insights,
.marketing-page .marketing-placeholder {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--panel-border);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(107, 47, 160, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(20, 16, 46, 0.2) 0%, rgba(13, 11, 31, 0.4) 100%);
  margin: 0 calc(-1 * clamp(16px, 3vw, 32px));
  padding: clamp(40px, 8vh, 80px) clamp(16px, 3vw, 32px);
}

.marketing-digital-human {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.24), transparent 30%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.16), transparent 24%),
    linear-gradient(135deg, #08111f 0%, #0b1730 44%, #050c17 100%);
  box-shadow: 0 28px 80px rgba(10, 18, 33, 0.24);
}

.marketing-digital-human::after {
  content: "";
  position: absolute;
  inset: auto auto -80px -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.18);
  filter: blur(64px);
  pointer-events: none;
}

.marketing-hero-grid,
.assistant-shell {
  display: grid;
  gap: 18px;
}

.marketing-hero-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
}

.marketing-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: clamp(14px, 2vw, 30px);
}

.marketing-hero-story {
  display: grid;
  gap: 10px;
}

.marketing-hero-proof {
  margin: 0;
  max-width: 32rem;
  color: var(--text);
  font-size: clamp(1.04rem, 1.5vw, 1.34rem);
  line-height: 1.35;
  font-weight: 800;
}

.marketing-rating-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold-strong);
  font-weight: 700;
}

.marketing-rating-score {
  font-size: 1rem;
}

.marketing-rating-stars {
  color: #ff8f58;
  letter-spacing: 0.08em;
}

.marketing-rating-caption {
  color: var(--muted);
  font-size: 0.86rem;
}

.marketing-title {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.marketing-title-report {
  display: grid;
  gap: 4px;
  max-width: 34rem;
}

.marketing-title-normal {
  font-weight: 900;
  color: var(--text);
}

.marketing-title-highlight {
  font-weight: 900;
  color: #201614;
}

.marketing-title-small {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 900;
}

.marketing-body,
.marketing-digital-body,
.marketing-footer-copy,
.marketing-placeholder-card p,
.assistant-video-placeholder-body {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.marketing-body {
  margin-top: 14px;
  max-width: 34rem;
  font-size: 1rem;
}

.intel-loading-panel {
  text-align: center;
  padding: 2rem 1.25rem 2.25rem;
}

.intel-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  max-width: 22rem;
  margin: 0.5rem auto 0;
}

.intel-loading-gif {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
}

.intel-loading-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.intel-loading-body {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
  max-width: 20rem;
}

.marketing-body-wide {
  max-width: 42rem;
}

.marketing-actions,
.assistant-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.marketing-actions-hero {
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  margin-top: 0;
}

.marketing-hero-support {
  width: min(100%, 420px);
  margin: clamp(22px, 3.4vw, 40px) 0 0;
}

.marketing-trust-title {
  margin: 24px 0 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
}

.marketing-hero-primary-cta {
  display: inline-flex;
  align-items: center;
  width: min(100%, 320px);
  min-width: 0;
  padding: 16px 26px;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  justify-content: center;
  text-align: center;
  box-shadow: 0 14px 28px rgba(214, 160, 138, 0.18);
}

.marketing-hero-primary-cta-arrow {
  font-size: 0.95em;
  line-height: 1;
}

.marketing-trust-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}

.marketing-trust-item {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 0.94rem;
}

.marketing-trust-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ok);
  font-weight: 700;
}

.marketing-hero-media {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

/* Homepage hero — brief report lead (navy + gold, rankmysalon-inspired) */
.marketing-hero-section--brief.card {
  background: linear-gradient(145deg, #0c1220 0%, #152238 42%, #0a1628 100%);
  border: 1px solid rgba(99, 179, 237, 0.12);
  box-shadow:
    0 24px 64px rgba(8, 15, 35, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: clamp(22px, 4vw, 40px);
  overflow: hidden;
  position: relative;
}

.marketing-hero-section--brief.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(212, 160, 24, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(99, 179, 237, 0.08), transparent 50%);
  pointer-events: none;
}

.marketing-hero-brief-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  max-width: none;
  width: 100%;
  margin: 0;
  text-align: left;
}

.marketing-hero-brief-copy {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vh, 20px);
}

@media (max-width: 768px) {
  .marketing-hero-brief-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .marketing-hero-brief-copy {
    text-align: center;
  }
}

.marketing-hero-section--brief .marketing-rating-row--brief {
  justify-content: center;
  color: #b15cc7;
  margin-bottom: 12px;
}

.marketing-hero-section--brief .marketing-rating-caption {
  color: rgba(255, 255, 255, 0.5);
}

.marketing-hero-headline {
  display: grid;
  gap: clamp(14px, 2.5vw, 22px);
  justify-items: center;
  max-width: 38rem;
  margin: 0 auto;
}

@media (prefers-reduced-motion: no-preference) {
  .marketing-hero-headline {
    animation: marketingHeroHeadlineIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@keyframes marketingHeroHeadlineIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.marketing-title-hero-brief {
  margin: 0;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  text-align: center;
  font-family: "Manrope", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.marketing-hero-section--brief .marketing-hero-line--stat {
  font-size: clamp(1.65rem, 3.8vw, 2.45rem);
  font-weight: 400;
  line-height: 1.18;
  color: rgba(255, 255, 255, 0.97);
  max-width: 22ch;
}

.marketing-hero-section--brief .marketing-hero-line--bridge {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.45;
}

.marketing-hero-section--brief .marketing-hero-line--maps {
  font-size: clamp(2rem, 5.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
  background: linear-gradient(118deg, #f4a8c7 0%, #e8a0d5 38%, #b15cc7 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 24px rgba(201, 162, 39, 0.28));
}

.marketing-hero-urgency {
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 22px;
  border-radius: 16px;
  border: 1px solid rgba(252, 165, 165, 0.28);
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.38) 0%, rgba(30, 27, 75, 0.48) 100%);
  color: #fecdd3;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(0.94rem, 1.55vw, 1.12rem);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.marketing-hero-brief-form {
  display: grid;
  gap: 14px;
  padding: 22px 22px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.marketing-hero-brief-fields {
  display: grid;
  gap: 12px;
}

.marketing-hero-brief-field--full {
  grid-column: 1 / -1;
}

.marketing-hero-brief-fields--location {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
}

.marketing-hero-brief-field--state .marketing-hero-brief-input {
  text-transform: uppercase;
}

.marketing-hero-brief-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.marketing-hero-brief-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
}

.marketing-hero-brief-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 18, 32, 0.65);
  color: #f8fafc;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
  font-size: 0.95rem;
}

.marketing-hero-brief-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.marketing-hero-brief-input:focus {
  outline: none;
  border-color: rgba(212, 160, 36, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 160, 36, 0.15);
}

.marketing-hero-brief-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-align: left;
}

.marketing-hero-brief-consent input {
  margin-top: 3px;
  flex-shrink: 0;
}

.marketing-hero-brief-consent-note {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.38);
  text-align: left;
}

.marketing-hero-brief-inline-link {
  color: #93c5fd;
  text-decoration: none;
}

.marketing-hero-brief-inline-link:hover {
  text-decoration: underline;
}

.marketing-hero-brief-submit {
  border: none;
  cursor: pointer;
  width: 100%;
  padding: 14px 22px;
  border-radius: 12px;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1a1520;
  background: linear-gradient(135deg, #e8a0d5 0%, #b15cc7 55%, #8c3aad 100%);
  box-shadow: 0 14px 32px rgba(201, 162, 39, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.marketing-hero-brief-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(201, 162, 39, 0.42);
}

.marketing-hero-brief-feedback {
  margin: 4px 0 0;
  font-size: 0.86rem;
  min-height: 1.2em;
  text-align: center;
}

.marketing-hero-brief-feedback.is-ok {
  color: #86efac;
}

.marketing-hero-brief-feedback.is-error {
  color: #fca5a5;
}

.marketing-hero-brief-trust {
  text-align: center;
}

body.route-marketing .marketing-page-overview .overview-mobile-only {
  display: none;
}

.marketing-hero-section--brief .marketing-trust-title {
  color: rgba(255, 255, 255, 0.72);
}

.marketing-hero-section--brief .marketing-trust-list--brief {
  margin-top: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 16px;
  text-align: left;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.marketing-hero-section--brief .marketing-trust-item {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.marketing-hero-section--brief .marketing-trust-item::before {
  color: #b15cc7;
}

@media (max-width: 640px) {
  body.route-marketing .marketing-page-overview .overview-desktop-only {
    display: none !important;
  }

  body.route-marketing .marketing-page-overview .overview-mobile-only {
    display: block;
  }

  body.route-marketing .marketing-page-overview {
    gap: 10px;
  }

  body.route-marketing .marketing-page-overview .marketing-why-matters {
    margin-top: 14px;
    text-align: center;
  }

  body.route-marketing .marketing-page-overview .marketing-why-matters-title {
    margin: 0;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
  }

  body.route-marketing .marketing-page-overview .marketing-why-matters-sub {
    margin: 6px 0 0;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.92);
  }

  body.route-marketing .marketing-page-overview .marketing-why-matters .marketing-hero-brief-form {
    margin: 12px 0;
  }

  body.route-marketing .marketing-page-overview .marketing-why-matters .marketing-trust-list--brief {
    margin-top: 8px;
    margin-bottom: 0;
    text-align: left;
    max-width: none;
    grid-template-columns: 1fr;
  }

  body.route-marketing .marketing-page-overview .marketing-why-matters .marketing-trust-item {
    padding-left: 0;
    font-size: 0.76rem;
  }

  body.route-marketing .marketing-page-overview .marketing-why-matters .marketing-trust-item::before {
    content: none;
    display: none;
  }

  body.route-marketing .marketing-page-overview .marketing-digital-human.card {
    padding: 12px 10px 14px;
    display: grid;
    gap: 10px;
  }

  body.route-marketing .marketing-page-overview .marketing-digital-human .marketing-section-title {
    font-size: 0.98rem;
    line-height: 1.2;
    text-align: center;
  }

  body.route-marketing .marketing-page-overview .marketing-digital-human .marketing-digital-media {
    margin-bottom: 0;
  }

  body.route-marketing .marketing-page-overview .marketing-digital-human .marketing-digital-video {
    max-height: min(38vh, 240px);
    object-fit: cover;
    border-radius: 14px;
  }

  body.route-marketing .marketing-page-overview .marketing-digital-actions.overview-mobile-only {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 4px;
  }

  body.route-marketing .marketing-page-overview .marketing-digital-actions.overview-mobile-only .cta,
  body.route-marketing .marketing-page-overview .marketing-digital-actions.overview-mobile-only .marketing-digital-alt-link {
    width: auto;
    padding: 11px 16px;
    font-size: 0.78rem;
  }

  body.route-marketing .marketing-page-overview .marketing-insights.card {
    padding: 12px 8px 14px;
  }

  body.route-marketing .marketing-page-overview .marketing-insights .marketing-insights-head {
    margin-bottom: 10px;
  }

  body.route-marketing .marketing-page-overview .marketing-insights .marketing-section-title {
    font-size: 1rem;
  }

  body.route-marketing .marketing-page-overview .marketing-insights .marketing-insights-lead {
    font-size: 0.72rem;
    margin-top: 4px;
  }

  body.route-marketing .marketing-page-overview .marketing-insights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  body.route-marketing .marketing-page-overview .marketing-insights-card {
    border-radius: 12px;
  }

  body.route-marketing .marketing-page-overview .marketing-insights-caption {
    display: none;
  }

  body.route-marketing .marketing-page-overview .marketing-insights-play-btn {
    width: 36px;
    height: 36px;
  }

  body.route-marketing .marketing-page-overview .marketing-insights-play-btn::after {
    border-width: 7px 0 7px 11px;
  }

  body.route-marketing .marketing-page-overview .marketing-insights-play-overlay {
    background: transparent;
  }

  body.route-marketing .marketing-page-overview .marketing-nav-shell {
    justify-content: flex-end;
    gap: 0;
    padding: 6px 4px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.route-marketing .marketing-page-overview .marketing-nav-main,
  body.route-marketing .marketing-page-overview .marketing-contact-nav-btn,
  body.route-marketing .marketing-page-overview .marketing-auth-link[href="/login"] {
    display: none;
  }

  body.route-marketing .marketing-page-overview .marketing-auth-actions {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-section--brief.card {
    padding: 10px 2px 14px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: linear-gradient(180deg, #0c1220 0%, #101a2e 100%);
  }

  body.route-marketing .marketing-page-overview .marketing-hero-section--brief.card::before {
    opacity: 0.55;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-brief-layout {
    gap: 12px;
    max-width: none;
  }

  body.route-marketing .marketing-page-overview .marketing-rating-row--brief {
    margin-bottom: 6px;
  }

  body.route-marketing .marketing-page-overview .marketing-rating-score {
    font-size: 0.82rem;
  }

  body.route-marketing .marketing-page-overview .marketing-rating-stars {
    font-size: 0.72rem;
  }

  body.route-marketing .marketing-page-overview .marketing-rating-caption {
    font-size: 0.68rem;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-line--stat {
    font-size: 1.12rem;
    max-width: none;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-line--bridge {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-line--maps {
    font-size: 1.35rem;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-urgency {
    display: none;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-brief-form {
    gap: 10px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-brief-fields {
    gap: 8px;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-brief-fields--location {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr);
    gap: 8px;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-brief-label {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-brief-input {
    padding: 9px 11px;
    font-size: 0.84rem;
    border-radius: 10px;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-brief-consent {
    font-size: 0.72rem;
    gap: 8px;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-brief-consent-note {
    font-size: 0.64rem;
    line-height: 1.4;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-brief-submit {
    padding: 11px 16px;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  body.route-marketing .marketing-page-overview .marketing-hero-brief-feedback {
    font-size: 0.78rem;
  }

  body.route-marketing .marketing-page-overview .marketing-trust-title {
    font-size: 0.78rem;
  }

  body.route-marketing .marketing-page-overview .marketing-trust-list--brief {
    gap: 6px 10px;
  }

  body.route-marketing .marketing-page-overview .marketing-trust-item {
    font-size: 0.72rem;
  }
}

.marketing-report-shell {
  position: relative;
  width: min(100%, 488px);
  margin-left: auto;
  padding-top: 16px;
}

.marketing-report-badge {
  position: absolute;
  top: 0;
  left: 26px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f15d4f 0%, #f2886b 100%);
  color: #fffaf8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(232, 91, 79, 0.24);
}

.marketing-report-card {
  display: grid;
  gap: 16px;
  padding-bottom: 18px;
  border-radius: 30px;
  border: 1px solid rgba(73, 42, 101, 0.12);
  background:
    radial-gradient(circle at top right, rgba(255, 220, 212, 0.48), transparent 34%),
    linear-gradient(180deg, rgba(255, 250, 247, 0.98), rgba(255, 245, 240, 0.95));
  box-shadow: 0 26px 56px rgba(77, 56, 72, 0.18);
  overflow: hidden;
}

.marketing-report-card-head {
  padding: 20px 20px 18px;
  background: linear-gradient(135deg, #35225d 0%, #4c327e 100%);
  color: #fff;
}

.marketing-report-store-name {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
}

.marketing-report-store-address {
  margin: 8px 0 0;
  color: rgba(241, 233, 255, 0.9);
  font-size: 0.84rem;
  line-height: 1.5;
}

.marketing-report-summary {
  display: grid;
  grid-template-columns: minmax(136px, 0.56fr) minmax(0, 1fr);
  gap: 12px;
  padding: 0 20px;
}

.marketing-report-position-card,
.marketing-report-rating-card,
.marketing-report-section {
  border-radius: 22px;
  border: 1px solid rgba(86, 55, 107, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.marketing-report-position-card,
.marketing-report-rating-card {
  padding: 16px;
}

.marketing-report-position-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.marketing-report-summary-label {
  margin: 0;
  color: #6a4e90;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.marketing-report-position-value {
  margin: 0;
  color: #d84535;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.marketing-report-rating-card {
  background: linear-gradient(180deg, rgba(255, 245, 244, 0.98), rgba(255, 250, 249, 0.94));
  border-color: rgba(231, 108, 86, 0.18);
}

.marketing-report-rating-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.marketing-report-rating-value {
  color: #d84535;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 900;
}

.marketing-report-stars {
  color: #f6a527;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  white-space: nowrap;
}

.marketing-report-meta {
  margin: 10px 0 0;
  color: #7a6560;
  font-size: 0.82rem;
  line-height: 1.45;
}

.marketing-report-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 12px;
  padding: 0 20px;
  align-items: start;
}

.marketing-report-column {
  display: grid;
  gap: 12px;
}

.marketing-report-section {
  padding: 14px;
}

.marketing-report-section-title {
  margin: 0 0 12px;
  color: #5b4090;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 900;
}

.marketing-report-bars {
  display: grid;
  gap: 10px;
}

.marketing-report-bar-row {
  display: grid;
  gap: 7px;
}

.marketing-report-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}

.marketing-report-bar-label {
  color: var(--muted);
  font-weight: 700;
}

.marketing-report-bar-value {
  color: var(--text);
  font-weight: 800;
}

.marketing-report-bar-track {
  display: block;
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(95, 62, 114, 0.08);
}

.marketing-report-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.marketing-report-bar-fill-you {
  background: linear-gradient(90deg, #d43f36 0%, #e96053 100%);
}

.marketing-report-bar-fill-median {
  background: linear-gradient(90deg, #c390ff 0%, #d2a4ff 100%);
}

.marketing-report-bar-fill-top {
  background: linear-gradient(90deg, #f39f13 0%, #ffbb48 100%);
}

.marketing-report-nearby-section {
  height: 100%;
}

.marketing-report-nearby-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.marketing-report-nearby-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(96, 61, 116, 0.12);
  background: rgba(255, 252, 249, 0.92);
}

.marketing-report-nearby-rank {
  color: #d59a12;
  font-size: 0.76rem;
  font-weight: 900;
}

.marketing-report-nearby-name {
  min-width: 0;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 700;
}

.marketing-report-nearby-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.marketing-report-nearby-rating .marketing-report-stars {
  font-size: 0.72rem;
}

.marketing-report-nearby-score {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
}

.marketing-hero-frame,
.marketing-digital-media,
.assistant-video-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(132, 88, 78, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(104, 75, 67, 0.12);
}

.marketing-hero-frame {
  padding: 10px;
}

.marketing-hero-image,
.marketing-digital-video,
.assistant-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.marketing-section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.marketing-section-head-compact {
  margin-bottom: 12px;
}

.marketing-section-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-strong);
  font-weight: 700;
}

.marketing-section-title,
.marketing-digital-heading {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  line-height: 1.15;
}

.marketing-digital-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
}

.marketing-digital-media {
  margin-bottom: 0;
  min-height: 520px;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top, rgba(124, 58, 237, 0.22), transparent 32%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
  box-shadow: 0 26px 60px rgba(2, 8, 23, 0.32);
}

.marketing-digital-copy {
  display: grid;
  gap: 16px;
  justify-items: start;
  text-align: left;
}

.marketing-digital-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
}

.marketing-digital-human .marketing-section-kicker {
  color: #c4b5fd;
}

.marketing-digital-human .marketing-section-title,
.marketing-digital-human .marketing-digital-heading {
  color: #f8fafc;
}

.marketing-digital-human .marketing-digital-body {
  max-width: 35rem;
  color: rgba(226, 232, 240, 0.78);
  font-size: 1rem;
  line-height: 1.75;
}

.marketing-digital-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.marketing-digital-point {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.1);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.marketing-digital-human .cta {
  border-color: transparent;
  /* Match Talk to Ryan text color to Send my checkup (theme.css 3638) */
  color: #08111d;
}

.marketing-digital-human .cta:hover,
.marketing-digital-human .cta:focus-visible {
  box-shadow: 0 22px 40px rgba(59, 130, 246, 0.28);
}

.marketing-digital-alt-link {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.16);
  background: rgba(148, 163, 184, 0.08);
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.marketing-digital-alt-link:hover,
.marketing-digital-alt-link:focus-visible {
  color: #fff;
  border-color: rgba(248, 250, 252, 0.28);
  background: rgba(148, 163, 184, 0.14);
}

.marketing-digital-video {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 0;
}

.marketing-digital-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.02) 42%, transparent);
  pointer-events: none;
}

.marketing-digital-overlay-card {
  display: none !important;
}

.marketing-digital-badge {
  display: inline-flex;
  align-self: flex-start;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 15, 29, 0.52);
  color: #e0e7ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketing-digital-overlay-card {
  align-self: flex-end;
  max-width: 340px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 11, 21, 0.56);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 44px rgba(2, 8, 23, 0.28);
}

.marketing-digital-overlay-card strong {
  display: block;
  margin-bottom: 8px;
  color: #f8fafc;
  font-size: 1rem;
  line-height: 1.35;
}

.marketing-digital-overlay-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.74);
  line-height: 1.65;
}

.marketing-insights-head {
  margin-bottom: 18px;
}

.marketing-insights-lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
  max-width: 42rem;
}

.marketing-insights-scroll {
  margin: 0 -4px;
  padding: 2px 4px 10px;
}

.marketing-insights-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.marketing-insights-item {
  list-style: none;
}

.marketing-insights-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(132, 88, 78, 0.14);
  background: rgba(255, 252, 250, 0.92);
  box-shadow: 0 10px 28px rgba(104, 75, 67, 0.08);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.marketing-insights-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(104, 75, 67, 0.12);
}

.marketing-insights-card:focus-visible {
  outline: 2px solid rgba(232, 160, 213, 0.55);
  outline-offset: 3px;
}

.marketing-insights-thumb-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
}

.marketing-insights-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.marketing-insights-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  transition: background 0.15s ease;
  pointer-events: none;
}

.marketing-insights-card:hover .marketing-insights-play-overlay {
  background: rgba(0, 0, 0, 0.38);
}

.marketing-insights-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.92);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  position: relative;
}

.marketing-insights-play-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.marketing-insights-caption {
  display: block;
  padding: 12px 14px 14px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text);
}

@media (min-width: 769px) {
  .rms-overview-desktop .marketing-insights-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
  }

  .rms-overview-desktop .marketing-insights-scroll::-webkit-scrollbar {
    height: 6px;
  }

  .rms-overview-desktop .marketing-insights-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
  }

  .rms-overview-desktop .marketing-insights-grid {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 14px;
    width: 100%;
  }

  .rms-overview-desktop .marketing-insights-item {
    flex: 0 0 calc(33.333% - 9.34px);
    min-width: 220px;
  }

  .rms-overview-desktop .marketing-insights-card {
    height: 100%;
  }
}

.marketing-placeholder {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-panel);
}

.marketing-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.marketing-placeholder-card {
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(132, 88, 78, 0.12);
  background: rgba(255, 255, 255, 0.74);
}

.marketing-placeholder-card h2 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.about-page-hero,
.about-page-section {
  display: grid;
  gap: 22px;
}

.about-page-hero-copy,
.about-page-section-head,
.about-page-subhead {
  display: grid;
  gap: 8px;
}

.about-page-hero-tagline {
  margin: 0;
  max-width: 42rem;
  color: var(--text);
  font-size: clamp(1.04rem, 1.6vw, 1.28rem);
  line-height: 1.45;
  font-weight: 700;
}

.about-page-hero-body,
.about-page-summary,
.about-page-section-copy,
.about-page-card-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.about-page-summary,
.about-page-section-copy {
  max-width: 48rem;
}

.about-page-pillar-grid,
.about-page-strength-grid,
.about-page-team-grid,
.about-page-edge-grid,
.about-page-form-grid {
  display: grid;
  gap: 14px;
}

.about-page-pillar-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-page-strength-grid,
.about-page-edge-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-page-team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-page-pillar-card,
.about-page-info-card,
.about-page-team-card {
  border-radius: 22px;
  border: 1px solid rgba(132, 88, 78, 0.12);
  background:
    radial-gradient(circle at top right, rgba(255, 238, 228, 0.62), transparent 38%),
    rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.about-page-pillar-card,
.about-page-info-card,
.about-page-team-card {
  padding: 18px;
}

.about-page-pillar-card h2,
.about-page-info-card h4 {
  margin: 0;
  color: var(--text);
}

.about-page-pillar-card h2 {
  font-size: 1.02rem;
}

.about-page-info-card h4 {
  font-size: 1rem;
}

.about-page-subtitle {
  margin: 0;
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  line-height: 1.25;
}

.about-page-strength-block {
  display: grid;
  gap: 16px;
}

.about-page-team-card {
  display: grid;
  align-content: start;
  gap: 8px;
}

.about-page-team-name {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
}

.about-page-team-role {
  margin: 0;
  color: var(--gold-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-page-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 22px;
  align-items: start;
}

.about-page-cta-copy,
.about-page-cta-form-shell,
.about-page-form {
  display: grid;
  gap: 16px;
}

.about-page-cta-title {
  margin: 0;
  max-width: 11ch;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}

.about-page-cta-body,
.about-page-cta-note {
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
  line-height: 1.68;
  font-size: 0.98rem;
}

.about-page-cta-meta {
  display: grid;
  gap: 12px;
}

.about-page-cta-note {
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-page-cta-highlight-grid {
  display: grid;
  gap: 10px;
}

.about-page-cta-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(232, 160, 213, 0.14);
  background: rgba(255, 255, 255, 0.58);
}

.about-page-cta-highlight-dot {
  width: 8px;
  height: 8px;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4a8c7 0%, #d98be0 100%);
  box-shadow: 0 0 0 6px rgba(213, 154, 135, 0.12);
  flex: 0 0 auto;
}

.about-page-cta-highlight-text {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.55;
  font-weight: 600;
}

.about-page-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-page-cta-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 160, 213, 0.18);
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.about-page-cta-link:hover,
.about-page-cta-link:focus-visible {
  border-color: rgba(232, 160, 213, 0.28);
  color: var(--gold-strong);
}

.about-page-cta-form-shell {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(132, 88, 78, 0.12);
  background:
    radial-gradient(circle at top right, rgba(255, 231, 214, 0.78), transparent 34%),
    linear-gradient(180deg, rgba(255, 251, 248, 0.98), rgba(255, 246, 241, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.about-page-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-page-form-field {
  display: grid;
  gap: 8px;
}

.about-page-form-field-full {
  grid-column: 1 / -1;
}

.about-page-form-label {
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-page-form-control {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(232, 160, 213, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 245, 0.9)),
    rgba(255, 255, 255, 0.84);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.about-page-form-control::placeholder {
  color: rgba(84, 62, 58, 0.58);
}

.about-page-form-control:focus {
  outline: none;
  border-color: rgba(232, 160, 213, 0.44);
  box-shadow: 0 0 0 3px rgba(232, 160, 213, 0.14);
}

.about-page-form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 46px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(168, 111, 100, 0.95) 50%),
    linear-gradient(135deg, rgba(168, 111, 100, 0.95) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.about-page-form-textarea {
  min-height: 180px;
  resize: vertical;
}

.about-page-form-footer {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.about-page-form-consent {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 62ch;
}

.about-page-form-consent-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.45;
  max-width: 64ch;
}

.about-page-form-consent-check input[type="checkbox"] {
  margin-top: 2px;
}

.about-page-submit-btn {
  min-width: 190px;
  padding-inline: 24px;
}

.about-page-form-feedback {
  margin: 0;
  min-height: 1.4em;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-page-form-feedback.is-ok {
  color: var(--ok);
}

.about-page-form-feedback.is-error {
  color: var(--danger);
}

.pricing-section {
  text-align: center;
}

.pricing-simple-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 18px 0 8px;
}

.pricing-simple-title {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.pricing-simple-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 24px 0 20px;
  flex-wrap: wrap;
}

.pricing-simple-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pricing-simple-option-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-simple-or {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  font-style: italic;
}

.pricing-simple-save-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(180, 110, 70, 0.14);
  color: var(--gold-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pricing-simple-hero {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing-simple-star {
  font-size: 1.2rem;
  color: var(--gold-strong);
  font-weight: 700;
  align-self: flex-start;
  margin-top: 6px;
}

.pricing-simple-amount {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-simple-period {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--muted);
  margin-left: 4px;
}

.pricing-guarantee-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-guarantee-item {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pricing-guarantee-divider {
  color: var(--panel-border);
  font-weight: 400;
  font-size: 1rem;
  opacity: 0.6;
}

.pricing-buy-btn {
  width: auto;
  min-width: 320px;
  padding: 18px 40px;
  font-size: 1.05rem;
}

.pricing-simple-cta {
  width: auto;
}

.pricing-setup-note {
  margin: 18px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  font-style: italic;
}

.pricing-page-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 52px);
  background:
    linear-gradient(135deg, rgba(56, 37, 34, 0.98) 0%, rgba(121, 74, 64, 0.94) 100%);
  color: #f8efe9;
}

.pricing-page-top {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.pricing-page-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
  margin-bottom: 24px;
}

.pricing-page-plan-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 28px;
  border: 1px solid rgba(255, 225, 211, 0.16);
  background: linear-gradient(180deg, rgba(255, 247, 241, 0.1) 0%, rgba(255, 247, 241, 0.04) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 245, 238, 0.1);
}

.pricing-page-plan-annual {
  border-color: rgba(255, 207, 142, 0.3);
  background: linear-gradient(180deg, rgba(255, 207, 142, 0.14) 0%, rgba(255, 247, 241, 0.06) 100%);
}

.pricing-page-plan-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 214, 190, 0.15);
  color: #ffd9c4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-page-plan-badge-highlight {
  background: rgba(255, 207, 142, 0.22);
  color: #ffcf8e;
}

.pricing-page-plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-page-plan-detail {
  margin: 0;
  color: rgba(255, 239, 232, 0.68);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pricing-page-plan-card .pricing-page-amount-value {
  font-size: clamp(3.2rem, 7vw, 5rem);
}

.pricing-page-plan-card .pricing-page-cta {
  min-width: 0;
  width: 100%;
  margin-top: auto;
}

.pricing-page-extras {
  padding: clamp(24px, 3vw, 40px) clamp(16px, 3vw, 40px);
}

.pricing-page-extras-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
  max-width: 820px;
  margin: 0 auto;
}

.pricing-page-setup-amount-unit {
  font-size: 0.45em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
}

.pricing-page-setup-includes {
  margin: 0;
  padding: 6px 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-strong);
  border-top: 1px solid rgba(56, 37, 34, 0.08);
  padding-top: 10px;
}

.pricing-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
}

.pricing-page-main {
  display: grid;
  align-content: start;
  gap: 20px;
}

.pricing-page-kicker {
  margin-bottom: 0;
  color: rgba(255, 231, 220, 0.78);
}

.pricing-page-title {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(2.9rem, 5vw, 4.7rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.98;
  color: #fff7f2;
}

.pricing-page-body {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 239, 232, 0.82);
  font-size: 1rem;
  line-height: 1.65;
}

.pricing-page-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.pricing-page-amount-mark {
  color: #ffcf8e;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  font-weight: 800;
  line-height: 1;
  transform: translateY(-18px);
}

.pricing-page-amount-value {
  font-size: clamp(5rem, 12vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 900;
  color: #fff7f2;
}

.pricing-page-period {
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  font-weight: 700;
  color: rgba(255, 239, 232, 0.72);
  line-height: 1.1;
  padding-bottom: 16px;
}

.pricing-page-guarantees {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pricing-page-guarantee {
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff4ed;
}

.pricing-page-divider {
  color: rgba(255, 239, 232, 0.34);
  font-weight: 600;
}

.pricing-page-cta {
  min-width: min(100%, 390px);
  min-height: 58px;
  padding: 17px 34px;
  border-color: rgba(255, 211, 189, 0.26);
  background: linear-gradient(135deg, #ffd2b8 0%, #e7ad93 100%);
  color: #402923;
  box-shadow: 0 18px 36px rgba(32, 15, 10, 0.22);
  font-size: 1.02rem;
  font-weight: 800;
}

.pricing-page-cta:hover:not(:disabled) {
  border-color: rgba(255, 211, 189, 0.34);
  background: linear-gradient(135deg, #ffd9c4 0%, #efb89f 100%);
  box-shadow: 0 22px 44px rgba(32, 15, 10, 0.28);
}

.pricing-page-setup-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 28px;
  border: 1px solid rgba(56, 37, 34, 0.1);
  background: linear-gradient(180deg, rgba(56, 37, 34, 0.05) 0%, rgba(56, 37, 34, 0.02) 100%);
  color: var(--text);
}

.pricing-page-setup-badge {
  width: fit-content;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(56, 37, 34, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-page-setup-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.pricing-page-setup-amount {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: var(--gold-strong);
}

.pricing-page-setup-copy,
.pricing-page-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-page-setup-copy {
  font-size: 0.95rem;
}

.pricing-summary-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(36, 23, 20, 0);
  backdrop-filter: blur(0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.26s ease,
    background 0.26s ease,
    backdrop-filter 0.26s ease,
    visibility 0s linear 0.26s;
}

.pricing-summary-backdrop.is-open {
  background: rgba(36, 23, 20, 0.44);
  backdrop-filter: blur(14px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.26s ease,
    background 0.26s ease,
    backdrop-filter 0.26s ease,
    visibility 0s linear 0s;
}

.pricing-summary-dialog {
  position: relative;
  width: min(640px, 100%);
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vw, 34px);
  border-radius: 30px;
  border: 1px solid rgba(132, 88, 78, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 251, 247, 0.98), rgba(248, 239, 233, 0.98)),
    rgba(255, 251, 247, 0.96);
  box-shadow: 0 34px 70px rgba(43, 25, 20, 0.24);
  transform: translateY(16px) scale(0.985);
  transition: transform 0.26s ease, opacity 0.26s ease;
}

.pricing-summary-backdrop.is-open .pricing-summary-dialog {
  transform: translateY(0) scale(1);
}

.pricing-summary-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(132, 88, 78, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.pricing-summary-kicker {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-strong);
}

.pricing-summary-dialog h2 {
  margin: 0;
  padding-right: 40px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  line-height: 0.98;
  color: var(--text);
}

.pricing-summary-body {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 42rem;
}

.pricing-summary-lines {
  display: grid;
  gap: 12px;
}

.pricing-summary-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(132, 88, 78, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.pricing-summary-line-copy h3 {
  margin: 0 0 5px;
  font-size: 1.08rem;
  color: var(--text);
}

.pricing-summary-line-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-summary-line-amount {
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
}

.pricing-summary-total-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 217, 199, 0.5), rgba(243, 228, 216, 0.7));
  border: 1px solid rgba(132, 88, 78, 0.12);
}

.pricing-summary-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
  color: var(--text);
}

.pricing-summary-total-row strong {
  font-size: 1.18rem;
}

.pricing-summary-total-row.is-recurring {
  color: var(--muted);
}

.pricing-summary-total-row.is-recurring strong {
  font-size: 1rem;
}

.pricing-summary-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.pricing-summary-security-note {
  margin: -4px 2px 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: right;
}

.pricing-summary-back-btn {
  min-width: 120px;
}

.pricing-summary-checkout-btn {
  min-width: min(100%, 320px);
}

.marketing-footer {
  padding: 40px 22px;
  margin-top: 40px;
  border-top: 1px solid var(--panel-border);
  background: linear-gradient(180deg, transparent 0%, rgba(132, 88, 78, 0.02) 100%);
}

.marketing-footer-wrapper {
  display: grid;
  grid-template-columns: minmax(280px, 0.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: flex-start;
}

.marketing-footer-left {
  display: grid;
  gap: 24px;
}

.marketing-footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  width: fit-content;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.footer-logo-part {
  font-weight: 900;
}

.footer-logo-360 {
  color: #000000;
}

.footer-logo-ai {
  color: #00D96F;
}

.footer-logo-media {
  color: #000000;
}

.footer-logo-icon {
  font-size: 1.4rem;
  color: var(--gold-strong);
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.marketing-footer-info {
  display: grid;
  gap: 6px;
}

.footer-company-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
}

.footer-address {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.marketing-footer-right {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.marketing-footer-column {
  display: grid;
  gap: 16px;
}

.footer-column-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-column-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-column-header {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin: 8px 0 4px 0;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--gold-strong);
}

.marketing-footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--panel-border);
  text-align: center;
}

.footer-copyright {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.assistant-shell {
  grid-template-columns: minmax(300px, 0.44fr) minmax(0, 0.56fr);
  align-items: stretch;
}

.assistant-panel,
.assistant-stage {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-panel);
}

.assistant-panel {
  display: grid;
  grid-template-rows: auto auto minmax(300px, 1fr) auto;
}

.assistant-panel--call {
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 4px;
}

.assistant-voice-intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 36rem;
}

.assistant-call-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 10px;
}

.assistant-call-cta {
  text-align: center;
}

.assistant-call-alt {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.assistant-back-link {
  margin-top: 4px;
}

.assistant-stage--call {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.assistant-call-visual {
  width: 100%;
  max-width: 440px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.72);
}

.assistant-call-poster {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.assistant-panel-head {
  display: grid;
  gap: 8px;
}

.assistant-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.assistant-status-loading,
.assistant-status-connecting {
  color: var(--working);
}

.assistant-status-live {
  color: var(--ok);
}

.assistant-status-error {
  color: var(--danger);
}

.assistant-status-ended,
.assistant-status-idle {
  color: var(--muted);
}

.assistant-messages {
  margin-top: 18px;
  min-height: 320px;
  max-height: 62vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}

.assistant-empty-state {
  min-height: 220px;
  border-radius: 20px;
  border: 1px dashed rgba(132, 88, 78, 0.16);
  background: rgba(255, 255, 255, 0.56);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  gap: 8px;
  padding: 20px;
}

.assistant-empty-state-title,
.assistant-empty-state-body {
  margin: 0;
}

.assistant-empty-state-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}

.assistant-empty-state-body {
  max-width: 26rem;
  line-height: 1.55;
}

.assistant-message {
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(132, 88, 78, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.assistant-message-system {
  background: rgba(213, 160, 151, 0.12);
}

.assistant-message-role,
.assistant-message-time {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.assistant-message-body {
  margin: 6px 0 8px;
  line-height: 1.55;
  color: var(--text);
}

.assistant-status-rail {
  margin-top: 16px;
  min-height: 108px;
  border-radius: 20px;
  border: 1px solid rgba(132, 88, 78, 0.12);
  background: rgba(255, 255, 255, 0.58);
  padding: 14px 16px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.assistant-status-rail-steps {
  display: grid;
  gap: 10px;
}

.assistant-status-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.assistant-status-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(132, 88, 78, 0.18);
  box-shadow: inset 0 0 0 1px rgba(132, 88, 78, 0.08);
  flex: 0 0 auto;
}

.assistant-status-step-complete {
  color: var(--text);
}

.assistant-status-step-complete .assistant-status-step-dot {
  background: var(--gold-strong);
}

.assistant-status-step-active {
  color: var(--text);
}

.assistant-status-step-active .assistant-status-step-dot {
  background: var(--working);
  box-shadow: 0 0 0 5px rgba(224, 162, 73, 0.16);
}

.assistant-status-step-error {
  color: var(--danger);
}

.assistant-status-step-error .assistant-status-step-dot {
  background: var(--danger);
  box-shadow: 0 0 0 5px rgba(205, 103, 93, 0.14);
}

.assistant-status-rail-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.assistant-status-rail-note-error {
  color: var(--danger);
}

.assistant-video-wrap {
  min-height: 520px;
  height: 100%;
  background:
    radial-gradient(circle at top, rgba(223, 198, 188, 0.26), transparent 34%),
    rgba(255, 255, 255, 0.94);
}

.assistant-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.assistant-video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.86);
}

.assistant-video-placeholder-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.marketing-auth-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.marketing-contact-nav-btn {
  position: relative;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  background: linear-gradient(145deg, #4a070c 0%, #8b1018 38%, #c41e2a 52%, #7a0f16 100%);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.18),
    0 10px 26px rgba(139, 16, 24, 0.35);
  animation: marketing-contact-nav-pulse 2.4s ease-in-out infinite;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.marketing-contact-nav-btn:hover,
.marketing-contact-nav-btn:focus-visible {
  animation-play-state: paused;
  transform: translateY(-1px);
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.16),
    0 14px 32px rgba(139, 16, 24, 0.42);
  outline: none;
}

.marketing-contact-nav-btn:focus-visible {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.85),
    0 0 0 6px rgba(196, 30, 42, 0.45),
    0 14px 32px rgba(139, 16, 24, 0.42);
}

@keyframes marketing-contact-nav-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-contact-nav-btn {
    animation: none;
  }
}

.marketing-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 12500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.marketing-contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.marketing-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 6, 4, 0.52);
  backdrop-filter: blur(4px);
}

.marketing-contact-modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: 22px 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(132, 88, 78, 0.14);
  background:
    radial-gradient(circle at top right, rgba(255, 231, 214, 0.55), transparent 40%),
    linear-gradient(180deg, rgba(255, 252, 250, 0.98), rgba(255, 246, 241, 0.96));
  box-shadow:
    0 24px 60px rgba(42, 14, 10, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.marketing-contact-modal-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.marketing-contact-modal-title {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.marketing-contact-modal-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin: -6px -8px 0 0;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.marketing-contact-modal-close:hover,
.marketing-contact-modal-close:focus-visible {
  background: rgba(196, 30, 42, 0.12);
  color: #8b1018;
  outline: none;
}

.marketing-contact-modal-lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.marketing-contact-modal-form-shell {
  margin: 0;
}

body.marketing-contact-modal-open {
  overflow: hidden;
}

.marketing-auth-link {
  display: inline-flex;
  align-items: center;
  min-width: 112px;
  justify-content: center;
}

.marketing-lang-toggle {
  min-width: 5.5rem;
  white-space: nowrap;
  font-weight: 700;
  min-height: 40px;
  font-family: inherit;
  gap: 0.35rem;
}

.marketing-lang-wrap {
  position: relative;
}

.marketing-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 120;
  min-width: 12rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  border-radius: 12px;
  border: 1px solid rgba(132, 88, 78, 0.16);
  background: #fffaf7;
  box-shadow: 0 12px 32px rgba(104, 75, 67, 0.18);
}

.marketing-lang-option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.95rem;
  border: none;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.marketing-lang-option:hover,
.marketing-lang-option:focus-visible {
  background: rgba(213, 154, 135, 0.14);
}

.marketing-lang-option.is-active {
  background: rgba(213, 154, 135, 0.22);
  font-weight: 800;
}

.marketing-lang-btn-caret {
  font-size: 0.65rem;
  opacity: 0.75;
  line-height: 1;
}

.route-portal .app {
  width: min(1180px, 92vw);
}

.portal-shell {
  display: grid;
  gap: 14px;
}

.portal-page {
  display: grid;
  gap: 14px;
}

.portal-page-map-report .portal-map-report-output,
.portal-page-map-report .portal-map-report-full,
.portal-page-report-generator .portal-report-generator-output,
.portal-page-report-generator .portal-report-generator-full {
  display: grid;
  gap: 14px;
}

.portal-map-brief-report {
  margin-top: 4px;
}

.portal-admin-subnav {
  flex-wrap: wrap;
}

.portal-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-panel);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.portal-card-hero {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 238, 225, 0.56), transparent 34%),
    linear-gradient(180deg, rgba(255, 249, 244, 0.96), rgba(255, 245, 239, 0.88));
}

.portal-lang-bar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}

.portal-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-strong);
  font-weight: 700;
}

.portal-title {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.portal-title-small {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.portal-body {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
  max-width: 54rem;
}

.portal-grid {
  display: grid;
  gap: 14px;
}

.portal-grid-auth {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-grid-auth .portal-form-card.portal-span-full {
  grid-column: 1 / -1;
}

.portal-form-card {
  align-content: start;
}

.portal-forgot-bar {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  display: flex;
  justify-content: flex-end;
}

.portal-text-link {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-strong);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.portal-text-link:hover {
  color: var(--text);
}

.portal-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.portal-section-head h2 {
  margin: 0;
  font-size: 1.12rem;
}

.portal-section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.portal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portal-form-grid-stack {
  grid-template-columns: minmax(0, 1fr);
}

.portal-label {
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--gold-strong);
  font-weight: 700;
}

.portal-label-inline {
  max-width: 420px;
}

.portal-input {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-control);
  border: 1px solid rgba(132, 88, 78, 0.18);
  background: rgba(255, 252, 249, 0.96);
  color: var(--text);
  padding: 12px 14px;
  min-height: 46px;
  font: inherit;
  font-size: 0.94rem;
}

.portal-input:focus {
  outline: none;
  border-color: rgba(232, 160, 213, 0.46);
  box-shadow: 0 0 0 3px rgba(232, 160, 213, 0.14);
}

textarea.portal-input {
  min-height: 120px;
  resize: vertical;
  line-height: 1.45;
}

.portal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.portal-actions-tight {
  justify-content: flex-end;
}

.portal-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(132, 88, 78, 0.12);
  background: rgba(255, 252, 249, 0.86);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.portal-status:empty {
  display: none;
}

.portal-status.is-ok {
  border-color: rgba(79, 157, 116, 0.24);
  background: rgba(79, 157, 116, 0.08);
  color: var(--ok);
}

.portal-status.is-error {
  border-color: rgba(196, 95, 95, 0.24);
  background: rgba(196, 95, 95, 0.08);
  color: var(--danger);
}

.portal-status.is-working {
  border-color: rgba(211, 154, 88, 0.24);
  background: rgba(211, 154, 88, 0.08);
  color: var(--working);
}

.portal-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portal-summary-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-soft);
  background: rgba(255, 251, 247, 0.92);
  border: 1px solid rgba(132, 88, 78, 0.12);
}

.portal-summary-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portal-summary-card strong {
  font-size: 1.3rem;
}

.portal-meta-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.portal-meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(232, 160, 213, 0.12);
  color: var(--gold-strong);
  font-size: 0.84rem;
}

.portal-store-list,
.portal-repeat-list {
  display: grid;
  gap: 12px;
}

.portal-store-card,
.portal-repeat-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px;
  border-radius: var(--radius-soft);
  background: rgba(255, 252, 249, 0.88);
  border: 1px solid rgba(132, 88, 78, 0.1);
}

.portal-store-copy {
  display: grid;
  gap: 8px;
}

.portal-store-copy h2 {
  margin: 0;
  font-size: 1.06rem;
}

.portal-store-copy p {
  margin: 0;
  color: var(--muted);
}

.portal-store-actions {
  display: flex;
  align-items: center;
}

.portal-repeat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  flex: 1 1 720px;
}

.portal-inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.portal-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.portal-checkbox input {
  width: 16px;
  height: 16px;
}

.portal-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(232, 160, 213, 0.08);
  border: 1px solid rgba(232, 160, 213, 0.14);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.portal-alert {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.portal-alert-warn {
  background: rgba(200, 150, 60, 0.12);
  border: 1px solid rgba(200, 150, 60, 0.32);
  color: var(--muted);
}

.portal-alert code {
  font-size: 0.82em;
  word-break: break-all;
}

.portal-empty,
.portal-loading {
  padding: 18px;
  border-radius: var(--radius-soft);
  border: 1px dashed rgba(132, 88, 78, 0.2);
  background: rgba(255, 252, 249, 0.7);
  color: var(--muted);
  text-align: center;
}

.portal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.86rem;
}

.portal-breadcrumb {
  color: var(--gold-strong);
  text-decoration: none;
}

.hidden {
  display: none !important;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .app {
    width: min(96vw, 760px);
  }

  .marketing-nav-shell,
  .marketing-footer,
  .marketing-hero-section,
  .marketing-digital-human,
  .marketing-insights,
  .marketing-placeholder,
  .portal-card-hero,
  .assistant-panel,
  .assistant-stage {
    padding: 18px;
  }

  .marketing-nav-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .marketing-nav-main {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .marketing-nav-main .marketing-nav {
    width: 100%;
  }

  .marketing-footer-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .marketing-footer-right {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .marketing-hero-grid,
  .marketing-digital-grid,
  .assistant-shell,
  .landing-grid {
    grid-template-columns: 1fr;
  }

  .marketing-hero-copy {
    padding-left: 0;
  }

  .marketing-digital-media,
  .marketing-digital-video {
    min-height: 400px;
  }

  .about-page-pillar-grid,
  .about-page-strength-grid,
  .about-page-team-grid,
  .about-page-edge-grid,
  .about-page-cta,
  .about-page-form-grid {
    grid-template-columns: 1fr;
  }

  .portal-grid-auth,
  .portal-form-grid,
  .portal-summary-grid,
  .portal-repeat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .marketing-placeholder-grid {
    grid-template-columns: 1fr;
  }

  .pricing-page-grid {
    grid-template-columns: 1fr;
  }

  .pricing-page-plans {
    grid-template-columns: 1fr;
  }

  .pricing-page-extras-grid {
    grid-template-columns: 1fr;
  }

  .pricing-page-shell {
    padding: 24px;
  }

  .pricing-buy-btn,
  .pricing-page-cta,
  .marketing-hero-primary-cta {
    width: 100%;
    min-width: 0;
  }

  .marketing-hero-primary-cta {
    width: min(100%, 320px);
    min-width: 0;
  }

  .marketing-report-badge {
    left: 18px;
  }

  .marketing-hero-media {
    justify-content: stretch;
  }

  .marketing-report-shell {
    width: 100%;
    margin-left: 0;
  }

  .marketing-report-summary,
  .marketing-report-grid {
    grid-template-columns: 1fr;
  }

  .marketing-report-nearby-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .marketing-report-nearby-rating {
    grid-column: 2;
    justify-self: start;
  }

  .pricing-summary-backdrop {
    padding: 14px;
    align-items: end;
  }

  .pricing-summary-dialog {
    width: 100%;
    gap: 16px;
    padding: 22px 18px calc(20px + env(safe-area-inset-bottom, 0px));
    border-radius: 26px;
  }

  .pricing-summary-line {
    grid-template-columns: 1fr;
  }

  .pricing-summary-line-amount {
    white-space: normal;
  }

  .pricing-summary-actions {
    flex-direction: column-reverse;
  }

  .pricing-summary-back-btn,
  .pricing-summary-checkout-btn {
    width: 100%;
    min-width: 0;
  }

  .pricing-summary-security-note {
    text-align: left;
  }

  .layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intake"
      "reviews"
      "dishes";
  }

  .receipt-preview {
    min-height: 220px;
  }
}

@media (min-width: 981px) {
  .receipt-preview {
    min-height: 280px;
    height: clamp(280px, 32vw, 480px);
    max-height: 480px;
  }

  .receipt-preview img {
    object-fit: contain;
    background: rgba(13, 10, 8, 0.55);
  }

  body.has-results .receipt-preview {
    min-height: 240px;
    height: clamp(240px, 24vw, 360px);
    max-height: 360px;
  }
}

@media (max-width: 640px) {
  :root {
    --radius-panel: 18px;
    --radius-control: 16px;
    --radius-soft: 14px;
  }

  .app {
    width: 100%;
    padding: 8px 12px calc(42px + env(safe-area-inset-bottom, 0px));
  }

  .marketing-nav {
    gap: 12px;
  }

  .marketing-auth-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
  }

  .marketing-contact-nav-btn {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
  }

  .marketing-title {
    font-size: 2.2rem;
  }

  .marketing-hero-proof {
    font-size: 1rem;
  }

  .marketing-report-card-head,
  .marketing-report-summary,
  .marketing-report-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .marketing-report-card-head {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .marketing-report-badge {
    left: 16px;
    min-height: 30px;
    padding: 6px 11px;
    font-size: 0.7rem;
  }

  .marketing-report-position-value {
    font-size: 2.6rem;
  }

  .about-page-cta-form-shell {
    padding: 18px;
    border-radius: 22px;
  }

  .about-page-pillar-card,
  .about-page-info-card,
  .about-page-team-card {
    border-radius: 18px;
  }

  .about-page-cta-title {
    max-width: 11ch;
  }

  .pricing-page-title {
    font-size: 2.5rem;
  }

  .pricing-page-amount-mark {
    transform: translateY(-10px);
  }

  .pricing-page-guarantees {
    gap: 8px 10px;
  }

  .pricing-page-setup-card {
    gap: 10px;
  }

  .pricing-simple-options {
    gap: 12px;
  }

  .pricing-simple-amount {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
  }

  .assistant-video-wrap {
    min-height: 360px;
  }

  .portal-card,
  .portal-card-hero {
    padding: 18px;
  }

  .card {
    border-radius: var(--radius-panel);
  }

  .card {
    padding: 14px;
  }

  .hero {
    margin-bottom: 8px;
    padding: 6px 2px 4px;
    gap: 6px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .hero-topline {
    gap: 12px;
    align-items: center;
  }

  h1 {
    margin: 2px 0 0;
    font-size: 1.38rem;
    line-height: 1.1;
  }

  .subtitle {
    max-width: none;
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .lang-globe-btn {
    width: 26px;
    height: 26px;
    font-size: 0.72rem;
  }

  .lang-menu-popover {
    min-width: 108px;
    padding: 5px;
  }

  .lang-option-btn {
    font-size: 0.8rem;
    padding: 6px 9px;
  }

  .layout {
    gap: 10px;
  }

  body.has-results .layout {
    gap: 8px;
  }

  body.correction-open .layout {
    grid-template-areas:
      "intake"
      "dishes"
      "reviews";
  }

  .upload-actions,
  .secondary-actions,
  .review-actions {
    flex-direction: column;
  }

  .cta,
  .ghost,
  .review-copy-btn {
    width: 100%;
  }

  .marketing-hero-primary-cta {
    width: min(100%, 320px);
  }

  .portal-actions-tight,
  .portal-inline-actions,
  .portal-store-card {
    align-items: stretch;
  }

  .portal-store-actions {
    width: 100%;
  }

  .portal-store-actions .cta,
  .marketing-auth-link {
    width: 100%;
    justify-content: center;
  }

  .correction-row {
    flex-direction: column;
  }

  .correction-row .text-input {
    flex: 0 0 auto;
    width: 100%;
  }

  .review-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .review-card {
    padding: 12px;
  }

  .review-body {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  body.has-results .hero {
    padding: 12px 14px;
    margin-bottom: 10px;
  }

  body.has-results h1 {
    font-size: 1.2rem;
  }

  body.has-results .subtitle {
    display: none;
  }

  body.has-results .intake-card {
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-areas: "preview status";
    align-items: center;
    column-gap: 10px;
  }

  body.has-results .intake-card .section-head,
  body.has-results .intake-card .upload-actions,
  body.has-results .intake-card .intake-pill-row {
    display: none;
  }

  body.has-results .receipt-preview {
    grid-area: preview;
    min-height: 86px;
    max-height: 86px;
    margin-top: 0;
    border-radius: 12px;
  }

  body.has-results .receipt-preview img {
    object-position: center;
  }

  body.has-results .receipt-status-group {
    grid-area: status;
    margin: 0;
  }

  body.has-results #receiptStatus {
    font-size: 0.82rem;
  }

  body.has-results .receipt-meta {
    margin-top: 4px;
    font-size: 0.8rem;
  }

  body.has-results .receipt-status-group {
    align-self: start;
  }

  body.has-results .dishes-card {
    padding: 12px;
  }

  body.has-results .dishes-card .section-head {
    display: none;
  }

  body.has-results .summary-chip {
    margin-top: 0;
  }

  body.has-results:not(.correction-open) .dishes-card .uncertain-wrap {
    display: none;
  }

  body.has-results .reviews-card {
    padding: 12px;
  }

  body.has-results .reviews-card .section-head {
    margin-bottom: 4px;
  }

  body.has-results .reviews-card .hint {
    display: none;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .sheet-backdrop {
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .visit-sheet {
    border-radius: 24px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  body.has-results .correction-block {
    margin-top: 10px;
  }

  body.has-results .slim-actions {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  body.has-results .text-link {
    margin-top: 10px;
    font-size: 0.84rem;
  }

  body.has-results .action-btn,
  body.has-results .action-link {
    width: 100%;
    margin-top: 10px;
  }

  body.has-results #correctionToggle {
    width: fit-content;
    margin-top: 10px;
  }

  body.has-results .manual-open-link {
    width: auto;
    margin-top: 6px;
  }

  body.has-results .review-actions {
    margin-top: 8px;
  }

  body.has-results .review-note {
    font-size: 0.78rem;
  }

  body.has-results .review-actions {
    justify-content: flex-start;
  }

  body.has-results .inline-notice,
  body.has-results .refresh-btn {
    margin-top: 10px;
  }
}

/* --- Public analysis reports (intel) --- */

.marketing-body-compact {
  margin-top: 0;
  margin-bottom: 12px;
  max-width: 52rem;
}

.intel-report-hero {
  padding: 22px 24px;
  margin-bottom: 16px;
}

.marketing-page-intel-growth-detail {
  padding-bottom: max(5.5rem, calc(4.5rem + env(safe-area-inset-bottom, 0px)));
}

.intel-growth-report {
  position: relative;
  max-width: 760px;
  margin: 0 auto 26px;
  padding: 0 8px;
  padding-bottom: 0.5rem;
}

.intel-growth-report::before {
  content: "";
  position: absolute;
  inset: -8px -12px auto;
  height: 180px;
  background: radial-gradient(ellipse 85% 70% at 50% 0%, rgba(252, 231, 243, 0.9) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.intel-growth-report > * {
  position: relative;
  z-index: 1;
}

.intel-growth-hero {
  padding: 20px 18px 18px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(157, 57, 90, 0.14);
  background: linear-gradient(165deg, #fffefc 0%, #fff8fb 45%, #ffffff 100%);
}

.intel-growth-hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: start;
  margin-bottom: 14px;
}

.intel-growth-hero-salon-name {
  margin: 0 0 6px;
  font-size: clamp(1.55rem, 5.4vw, 2.05rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #3b1023;
}

.intel-growth-hero-salon-address {
  margin: 0 0 14px;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
  max-width: 36rem;
}

.intel-growth-eyebrow {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9d395a;
}

.intel-growth-page-title {
  margin: 0 0 8px;
  font-family: var(--font-serif, "Manrope", system-ui, sans-serif);
  font-size: clamp(1.22rem, 4vw, 1.58rem);
  font-weight: 400;
  line-height: 1.15;
  color: #3b1023;
  letter-spacing: -0.02em;
}

.intel-growth-page-title .intel-growth-page-date {
  display: inline;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #9d395a;
  white-space: nowrap;
}

.intel-growth-lead {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 22rem;
}

.intel-growth-hero-visual {
  position: relative;
  width: 112px;
  height: 100px;
  flex-shrink: 0;
  justify-self: end;
}

.intel-growth-hero-logo {
  position: absolute;
  right: 8px;
  top: 6px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(157, 57, 90, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.intel-growth-hero-svg {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.95;
}

.intel-growth-score-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
  gap: 10px;
  margin-bottom: 12px;
}

.intel-growth-score-card {
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff1f5 0%, #fff7fb 58%, #ffffff 100%);
  border: 1px solid rgba(157, 57, 90, 0.3);
  box-shadow: 0 8px 20px rgba(157, 57, 90, 0.12);
}

.intel-growth-score-label {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9d395a;
  font-weight: 700;
}

.intel-growth-score-value {
  margin: 6px 0 0;
  font-size: clamp(2.35rem, 7vw, 2.85rem);
  font-weight: 800;
  line-height: 1;
  color: #3b1023;
  font-variant-numeric: tabular-nums;
}

.intel-growth-score-value span {
  font-size: 1.05rem;
  font-weight: 600;
  color: #9d395a;
  margin-left: 4px;
}

.intel-growth-meta {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(157, 57, 90, 0.24);
  background: linear-gradient(145deg, #fff8fb 0%, #fff3f8 100%);
  display: grid;
  gap: 8px;
}

.intel-growth-meta p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
}

.intel-growth-meta-key {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9d395a;
  margin-bottom: 2px;
}

.intel-growth-meta-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #3b1023;
}

.intel-growth-summary-card {
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(157, 57, 90, 0.22);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff9fc 0%, #fff4f9 100%);
}

.intel-growth-summary-eyebrow {
  margin: 0 0 6px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9d395a;
  font-weight: 800;
}

.intel-growth-summary-title {
  margin: 0;
  font-family: var(--font-serif, "Manrope", system-ui, sans-serif);
  font-size: clamp(1.05rem, 3.2vw, 1.22rem);
  font-weight: 400;
  line-height: 1.35;
  color: #5a1231;
}

.intel-growth-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.intel-growth-insight-card {
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(157, 57, 90, 0.16);
  background: #fff;
  box-shadow: 0 6px 18px rgba(157, 57, 90, 0.07);
}

.intel-growth-insight-card--ok {
  border-top: 3px solid #16a34a;
}

.intel-growth-insight-card--warn {
  border-top: 3px solid #ea580c;
}

.intel-growth-insight-card--conv {
  border-top: 3px solid #7c3aed;
}

.intel-growth-insight-top {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.intel-growth-insight-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: rgba(252, 231, 243, 0.85);
  border: 1px solid rgba(157, 57, 90, 0.12);
}

.intel-growth-insight-badge img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 8px;
}

.intel-growth-insight-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.intel-growth-insight-card--warn .intel-growth-insight-ico {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.intel-growth-insight-card--conv .intel-growth-insight-ico {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.intel-insight-eyebrow {
  margin: 0 0 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.intel-insight-title {
  margin: 0 0 8px;
  font-size: clamp(1rem, 2.8vw, 1.14rem);
  font-weight: 700;
  line-height: 1.2;
  color: #3b1023;
}

.intel-insight-copy {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.intel-growth-actions {
  padding: 18px 16px;
  border: 1px solid rgba(157, 57, 90, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #fffafc 100%);
}

.intel-growth-section-title {
  margin: 0 0 12px;
  font-family: var(--font-serif, "Manrope", system-ui, sans-serif);
  font-size: clamp(1.2rem, 3.6vw, 1.38rem);
  font-weight: 400;
  color: #3b1023;
  letter-spacing: -0.02em;
}

.intel-growth-action-list {
  margin: 0 0 16px;
  padding-left: 1.05rem;
  color: var(--text);
  line-height: 1.45;
  font-size: 0.86rem;
}

.intel-growth-action-list strong {
  color: #6a173a;
  font-weight: 700;
}

.intel-offer-card {
  border-radius: 16px;
  border: 1px solid rgba(196, 89, 129, 0.45);
  background: linear-gradient(145deg, #fff0f6 0%, #ffe5f1 48%, #fff6fb 100%);
  padding: 16px;
  box-shadow: 0 10px 26px rgba(157, 57, 90, 0.16);
}

.intel-offer-visual {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.intel-offer-badge-img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 16px rgba(157, 57, 90, 0.2);
}

.intel-offer-visual-copy {
  min-width: 0;
}

.intel-offer-kicker {
  margin: 0 0 4px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9d395a;
  font-weight: 800;
}

.intel-offer-title {
  margin: 0;
  font-family: var(--font-serif, "Manrope", system-ui, sans-serif);
  font-size: clamp(1.15rem, 3.4vw, 1.35rem);
  font-weight: 400;
  color: #5a1231;
  line-height: 1.15;
}

.intel-offer-price {
  margin: 6px 0 8px;
  font-size: 2rem;
  font-weight: 800;
  color: #7d2347;
  line-height: 1;
}

.intel-offer-price span {
  font-size: 1rem;
  font-weight: 600;
  color: #9d395a;
}

.intel-offer-list {
  margin: 0 0 12px;
  padding-left: 1.05rem;
  line-height: 1.4;
  font-size: 0.82rem;
  color: var(--muted);
}

.intel-consult-fab {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  left: auto;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: min(19rem, calc(100vw - 2rem));
  padding: 0.88rem 1.15rem;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-sizing: border-box;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(135deg, #c33e74 0%, #a82f61 100%);
  box-shadow:
    0 4px 14px rgba(59, 16, 35, 0.12),
    0 12px 28px rgba(168, 47, 97, 0.38);
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.intel-consult-fab:hover,
.intel-consult-fab:focus-visible {
  background: linear-gradient(135deg, #b73469 0%, #90244f 100%);
  box-shadow:
    0 6px 18px rgba(59, 16, 35, 0.14),
    0 14px 32px rgba(144, 36, 79, 0.45);
  transform: translateY(-1px);
  outline: none;
}

.intel-consult-fab:focus-visible {
  outline: 2px solid rgba(195, 62, 116, 0.55);
  outline-offset: 3px;
}

.intel-offer-footnote {
  margin: 8px 0 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.intel-offer-card--full-report {
  border-color: rgba(230, 195, 95, 0.42);
  background:
    radial-gradient(circle at top right, rgba(230, 195, 95, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(17, 28, 45, 0.96), rgba(9, 17, 29, 0.96));
  box-shadow:
    0 18px 54px rgba(230, 195, 95, 0.12),
    0 0 0 1px rgba(230, 195, 95, 0.08) inset;
}

.intel-offer-card--full-report .intel-offer-kicker {
  color: #e6c35f;
}

.intel-offer-card--full-report .intel-offer-title {
  color: #ffffff;
}

.intel-offer-card--full-report .intel-offer-price {
  color: #e6c35f;
}

.intel-offer-card--full-report .intel-offer-price span {
  color: #9fb3cb;
}

.intel-offer-card--full-report .intel-offer-list {
  color: #d7e2f1;
}

.intel-offer-card--full-report .intel-offer-footnote {
  color: #9fb3cb;
}

.intel-offer-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e6c35f, #f2dfa1);
  color: #07101c;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(230, 195, 95, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.intel-offer-pay-btn:hover,
.intel-offer-pay-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(230, 195, 95, 0.24);
  outline: none;
}

.intel-search-toolbar {
  padding: 16px 18px;
  margin-bottom: 14px;
}

.intel-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

.intel-search-field {
  flex: 1 1 220px;
  min-width: 0;
}

.intel-search-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.intel-search-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-control);
  border: 1px solid var(--panel-border);
  background: rgba(255, 252, 249, 0.95);
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.intel-search-input:focus {
  border-color: rgba(151, 94, 84, 0.45);
  box-shadow: 0 0 0 3px rgba(232, 160, 213, 0.2);
}

.intel-list-cta {
  flex: 0 1 auto;
  align-self: center;
  text-align: center;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-strong);
  padding: 10px 16px;
  border-radius: var(--radius-control);
  border: 1px solid rgba(151, 94, 84, 0.35);
  background: rgba(255, 248, 243, 0.65);
  line-height: 1.35;
  max-width: 280px;
}

.intel-list-cta:hover,
.intel-list-cta:focus-visible {
  background: rgba(232, 160, 213, 0.12);
  border-color: rgba(151, 94, 84, 0.55);
}

.intel-back {
  margin: 0 0 10px;
}

.intel-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
}

.intel-metric {
  font-size: 0.92rem;
  color: var(--muted);
}

.intel-metric strong {
  color: var(--text);
  margin-right: 4px;
}

.intel-table-card {
  padding: 0;
  margin-bottom: 22px;
  overflow: hidden;
}

.intel-table-wrap {
  overflow-x: auto;
}

.intel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.intel-table thead th {
  text-align: left;
  padding: 12px 14px;
  background: rgba(255, 248, 243, 0.96);
  border-bottom: 1px solid var(--panel-border);
  font-weight: 600;
  color: var(--gold-strong);
  white-space: nowrap;
}

.intel-table-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.intel-table-sort:hover,
.intel-table-sort:focus-visible {
  color: var(--gold-strong);
  text-decoration: underline;
  outline: none;
}

.intel-table-sort.is-active {
  color: var(--gold-strong);
}

.intel-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(132, 88, 78, 0.1);
  vertical-align: top;
}

.intel-table-row:hover td {
  background: rgba(232, 160, 213, 0.06);
}

.intel-td-name {
  font-weight: 600;
  min-width: 10rem;
}

.intel-td-address {
  color: var(--muted);
  min-width: 14rem;
}

.intel-td-num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.intel-table-empty {
  padding: 18px 14px;
  color: var(--muted);
}

.intel-salon-link {
  color: var(--gold-strong);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.intel-salon-link:hover,
.intel-salon-link:focus-visible {
  border-bottom-color: rgba(151, 94, 84, 0.45);
}

.intel-error {
  color: var(--danger);
}

.intel-error-hint {
  font-size: 0.88rem;
  color: var(--muted);
}

.intel-error-hint code {
  font-size: 0.82rem;
}

.intel-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.intel-stat-card {
  padding: 14px 16px;
  border-radius: var(--radius-soft);
  border: 1px solid var(--panel-border);
  background: rgba(255, 250, 246, 0.55);
}

.intel-stat-card h3 {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.intel-stat-card p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.intel-stat-meta {
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  margin-top: 4px !important;
}

.intel-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 16px;
  align-items: start;
  margin-bottom: 28px;
}

.intel-detail-main {
  min-width: 0;
}

.intel-text-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.intel-narrative h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.intel-narrative ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.5;
}

.intel-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.intel-cta {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.intel-cta-secondary {
  text-decoration: none;
}

.intel-detail-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intel-aside-block {
  padding: 16px 18px;
}

.intel-aside-block h2 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.intel-aside-hint {
  margin: -4px 0 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.intel-review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intel-review-item {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(132, 88, 78, 0.12);
}

.intel-review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.intel-review-meta {
  margin: 0 0 4px;
  font-size: 0.78rem;
  color: var(--muted);
}

.intel-review-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .intel-detail-grid {
    grid-template-columns: 1fr;
  }

  .intel-growth-score-wrap,
  .intel-growth-insights {
    grid-template-columns: 1fr;
  }

  .intel-growth-report {
    margin-bottom: 18px;
  }

  .intel-growth-insight-card {
    padding: 10px 12px;
  }

  .intel-growth-action-list {
    margin-bottom: 12px;
  }

  .intel-growth-hero-head {
    grid-template-columns: 1fr;
  }

  .intel-growth-hero-visual {
    justify-self: center;
    width: 140px;
    height: 110px;
  }
}

@media (max-width: 480px) {
  .intel-growth-hero {
    padding: 14px 12px;
  }

  .intel-growth-page-title .intel-growth-page-date {
    white-space: normal;
  }

  .intel-growth-summary-title {
    font-size: 1.02rem;
    line-height: 1.38;
  }

  .intel-offer-price {
    font-size: 1.75rem;
  }
}

/* ── Salon brief report (/analysis-reports/:slug) ─────────────────────────── */
.marketing-page-intel-brief {
  background: transparent;
  color: var(--rms-text, #151515);
}

.intel-brief-back {
  max-width: 42rem;
  margin: 0 auto 0.5rem;
  padding: 0 1rem;
}

.intel-brief-report {
  max-width: 42rem;
  margin: 0 auto 2rem;
  padding: 1.5rem 1.25rem 2rem;
  border: 1px solid var(--rms-border, #f3f4f6);
  background: var(--rms-bg-card, #fff);
  color: var(--rms-text, #151515);
}

.intel-brief-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f3f4f6;
}

.intel-brief-header h1 {
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: #111827;
}

.intel-brief-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.intel-brief-preview {
  font-size: 0.69rem;
  color: #9ca3af;
}

.intel-brief-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.intel-brief-generated {
  text-align: right;
  font-size: 0.69rem;
  color: #9ca3af;
}

.intel-brief-generated p:last-child {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.intel-brief-section-label {
  margin: 0 0 0.75rem;
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.intel-brief-overall {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border: 1px solid #f3f4f6;
}

.intel-brief-overall-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.intel-brief-overall-title {
  margin: 0 0 0.25rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: #111827;
}

.intel-brief-overall-summary {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b7280;
}

.intel-brief-composite-note {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #9ca3af;
}

.intel-brief-issue-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.intel-brief-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.69rem;
  font-weight: 500;
}

.intel-brief-badge--info {
  background: #eff6ff;
  color: #1d4ed8;
}

.intel-brief-badge--success {
  background: #ecfdf5;
  color: #047857;
}

.intel-brief-badge--warning {
  background: #fffbeb;
  color: #b45309;
}

.intel-brief-badge--danger {
  background: #fef2f2;
  color: #b91c1c;
}

.intel-brief-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .intel-brief-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.intel-brief-metric {
  border-radius: 0.5rem;
  padding: 0.85rem 0.75rem;
  border: 1px solid var(--rms-border);
  background: var(--rms-bg-soft);
}

.intel-brief-metric--success {
  background: color-mix(in srgb, var(--rms-score-good) 14%, var(--rms-bg-soft));
  border-color: color-mix(in srgb, var(--rms-score-good) 30%, var(--rms-border));
}

.intel-brief-metric--success .intel-brief-metric-value {
  color: var(--rms-score-good);
}

.intel-brief-metric--warning {
  background: color-mix(in srgb, var(--rms-score-fair) 14%, var(--rms-bg-soft));
  border-color: color-mix(in srgb, var(--rms-score-fair) 30%, var(--rms-border));
}

.intel-brief-metric--warning .intel-brief-metric-value {
  color: var(--rms-score-fair);
}

.intel-brief-metric--danger {
  background: color-mix(in srgb, var(--rms-score-weak) 12%, var(--rms-bg-soft));
  border-color: color-mix(in srgb, var(--rms-score-weak) 28%, var(--rms-border));
}

.intel-brief-metric--danger .intel-brief-metric-value {
  color: var(--rms-score-weak);
}

.intel-brief-metric-label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  color: var(--rms-text-muted);
}

.intel-brief-metric-value {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--rms-text);
  line-height: 1.2;
}

.intel-brief-metric-sub {
  margin: 0.15rem 0 0;
  font-size: 0.69rem;
  color: var(--rms-text-muted);
}

.intel-brief-scorecard {
  margin-bottom: 1.25rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid #f3f4f6;
}

.intel-brief-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
}

.intel-brief-score-row--border {
  border-bottom: 1px solid #f3f4f6;
}

.intel-brief-score-label {
  font-size: 0.875rem;
  color: #6b7280;
}

.intel-brief-score-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.intel-brief-bar-track {
  width: 6rem;
  height: 0.375rem;
  overflow: hidden;
  border-radius: 999px;
  background: #f3f4f6;
}

.intel-brief-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.intel-brief-score-num {
  width: 1.75rem;
  text-align: right;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
}

.intel-brief-growth {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border: 1px solid #f3f4f6;
}

.intel-brief-services {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.intel-brief-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.5rem;
  background: #f9fafb;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: #374151;
}

.intel-brief-potential {
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.69rem;
  font-weight: 500;
}

.intel-brief-potential--high {
  background: #ecfdf5;
  color: #047857;
}

.intel-brief-potential--medium {
  background: #fffbeb;
  color: #b45309;
}

.intel-brief-potential--low {
  background: #f3f4f6;
  color: #6b7280;
}

.intel-brief-potential--gap {
  background: #ecfdf5;
  color: #166534;
}

.intel-brief-potential--risk {
  background: #fef2f2;
  color: #991b1b;
}

.intel-brief-growth-item {
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

.intel-brief-growth-item:last-child {
  border-bottom: 0;
}

.intel-brief-growth-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.intel-brief-growth-toggle:focus-visible {
  outline: 2px solid rgba(15, 110, 86, 0.35);
  outline-offset: 2px;
}

.intel-brief-growth-detail {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 8px;
  transition: max-height 0.2s ease, opacity 0.2s ease, padding 0.2s ease;
}

.intel-brief-growth-item.is-open .intel-brief-growth-detail {
  max-height: 280px;
  opacity: 1;
  padding: 0 8px 12px;
}

.intel-brief-growth-detail[hidden] {
  display: block;
}

.intel-brief-growth-insight {
  margin: 0 0 10px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #374151;
}

.intel-brief-growth-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.intel-brief-growth-metric {
  border-radius: 10px;
  background: #f9fafb;
  padding: 8px 10px;
}

.intel-brief-growth-metric-label {
  display: block;
  font-size: 0.65rem;
  color: #6b7280;
  margin-bottom: 2px;
}

.intel-brief-growth-metric-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.intel-brief-growth-metric-sub {
  display: block;
  font-size: 0.62rem;
  color: #9ca3af;
}

.intel-brief-growth-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  background: #111827;
  color: #fff;
}

.intel-brief-growth-cta:hover,
.intel-brief-growth-cta:focus-visible {
  background: #1f2937;
}

.intel-brief-locked {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: #9ca3af;
}

.intel-brief-store-issues {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
}

.intel-brief-store-issues--empty {
  padding: 1rem 1.25rem;
}

.intel-brief-store-issues-empty {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.intel-brief-store-issues-head {
  margin-bottom: 1rem;
}

.intel-brief-store-issues-subtitle {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b7280;
}

.intel-brief-store-issues-summary {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
}

.intel-brief-store-issues-badges {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  color: #6b7280;
}

.intel-brief-store-issues-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.intel-brief-issue-card {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem;
  background: #fff;
}

.intel-brief-issue-card--high {
  order: 1;
  border-color: #fecaca;
  background: #fffbfb;
}

.intel-brief-issue-card--medium {
  order: 2;
  border-color: #fde68a;
  background: #fffef7;
}

.intel-brief-issue-card--low {
  order: 3;
  border-color: #bbf7d0;
  background: #f9fffb;
}

.intel-brief-issue-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.5rem;
}

.intel-brief-issue-severity {
  font-size: 0.72rem;
  font-weight: 600;
}

.intel-brief-issue-severity--high {
  color: #b91c1c;
}

.intel-brief-issue-severity--medium {
  color: #b45309;
}

.intel-brief-issue-severity--low {
  color: #15803d;
}

.intel-brief-issue-category {
  font-size: 0.72rem;
  color: #6b7280;
}

.intel-brief-issue-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}

.intel-brief-issue-label {
  margin: 0.5rem 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9ca3af;
}

.intel-brief-issue-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #4b5563;
}

.intel-brief-issue-text--impact {
  color: #6b7280;
}

.intel-brief-issue-metric {
  display: inline-block;
  margin: 0.65rem 0 0;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #374151;
  background: #f3f4f6;
}

.intel-brief-competitors {
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
  padding: 0;
  border: 1px solid #f3f4f6;
}

.intel-brief-competitors-blur {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

.intel-brief-competitor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.875rem;
  color: #6b7280;
}

.intel-brief-competitors-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  text-align: center;
  padding: 1rem;
}

.intel-brief-competitors-lock-title {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
}

.intel-brief-competitors-lock-sub {
  margin: 0;
  font-size: 0.75rem;
  color: #6b7280;
}

.intel-brief-cta {
  padding: 1.5rem;
  border: 2px solid #bfdbfe;
}

.intel-brief-cta-head {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.intel-brief-cta-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #111827;
}

.intel-brief-cta-head p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b7280;
}

.intel-brief-cta-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}

.intel-brief-cta-feature {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.intel-brief-cta-feature span:first-child {
  color: #059669;
}

.intel-brief-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.intel-brief-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.intel-brief-cta-footnote {
  font-size: 0.75rem;
  color: #9ca3af;
}

.intel-full-report-sample-link {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  text-align: center;
}

.intel-full-report-sample-link--brief-toolbar {
  margin: 0.35rem 0 0;
  text-align: right;
}

.intel-full-report-sample-link--brief-mobile {
  margin: 0.5rem 0 0;
  padding: 0 0.25rem;
}

.intel-brief-layout--split {
  display: block;
}

/* Desktop: Two-column brief report (mobile unchanged via rms-* classes) */
@media (min-width: 901px) {
  .marketing-page-intel-brief .intel-brief-page {
    max-width: 72rem !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .marketing-page-intel-brief .intel-brief-report--split {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .intel-brief-layout--split {
    display: grid;
    grid-template-columns: minmax(17rem, 20.5rem) minmax(0, 1fr);
    gap: 1.75rem 2.25rem;
    align-items: start;
  }

  .intel-brief-sidebar {
    position: sticky;
    top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .intel-brief-sidebar .intel-brief-section-label {
    margin-bottom: 0.5rem;
  }

  .intel-brief-sidebar .intel-brief-overall,
  .intel-brief-sidebar .intel-brief-scorecard {
    margin-bottom: 0;
  }

  .intel-brief-sidebar .intel-brief-overall-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .intel-brief-sidebar .intel-brief-overall-copy {
    width: 100%;
  }

  .intel-brief-sidebar .intel-brief-issue-badges {
    justify-content: center;
  }

  .intel-brief-sidebar .intel-brief-score-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.65rem 0;
  }

  .intel-brief-sidebar .intel-brief-score-label {
    font-size: 0.72rem;
  }

  .intel-brief-sidebar .intel-brief-score-right {
    width: 100%;
  }

  .intel-brief-main {
    min-width: 0;
  }

  .intel-brief-main .intel-brief-header {
    margin-bottom: 1.25rem;
    padding-bottom: 0;
    border-bottom: none;
  }

  .intel-brief-main .intel-brief-header h1 {
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -0.03em;
  }

  .intel-brief-revenue-boosted {
    padding: 1rem 1rem 1.1rem;
    border: 1px solid color-mix(in srgb, var(--rms-score-good, #0f6e56) 28%, var(--rms-border, #e5e7eb));
    background: color-mix(in srgb, var(--rms-score-good, #0f6e56) 8%, var(--rms-bg-card, #fff));
  }

  .intel-brief-revenue-boosted-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rms-score-good, #0f6e56);
  }

  .intel-brief-revenue-boosted-title {
    margin: 0 0 0.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--rms-text, #111827);
  }

  .intel-brief-revenue-boosted-clients,
  .intel-brief-revenue-boosted-money {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--rms-text, #111827);
  }

  .intel-brief-revenue-boosted-money {
    margin-top: 0.15rem;
    color: var(--rms-score-good, #0f6e56);
  }

  .intel-brief-revenue-boosted-sub {
    margin: 0.55rem 0 0.85rem;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--rms-text-muted, #6b7280);
  }

  .intel-brief-revenue-boosted-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.25rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: var(--rms-score-good, #0f6e56);
    border: none;
  }

  .intel-brief-revenue-boosted-btn:hover,
  .intel-brief-revenue-boosted-btn:focus-visible {
    filter: brightness(1.06);
  }
}

.intel-full-report-sample-link--paywall {
  margin-top: 1rem;
}

/* ── Salon brief report (/analysis-reports/:slug) ─────────────────────────── */
.marketing-page-intel-brief {
  background: transparent;
  color: var(--rms-text, #151515);
}

.intel-brief-back {
  max-width: 42rem;
  margin: 0 auto 0.5rem;
  padding: 0 1rem;
}

.intel-brief-report {
  max-width: 42rem;
  margin: 0 auto 2rem;
  padding: 1.5rem 1.25rem 2rem;
  border: 1px solid var(--rms-border, #f3f4f6);
  background: var(--rms-bg-card, #fff);
  color: var(--rms-text, #151515);
}

.intel-brief-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f3f4f6;
}

.intel-brief-header h1 {
  margin: 0.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: #111827;
}

.intel-brief-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.intel-brief-preview {
  font-size: 0.69rem;
  color: #9ca3af;
}

.intel-brief-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.intel-brief-generated {
  text-align: right;
  font-size: 0.69rem;
  color: #9ca3af;
}

.intel-brief-generated p:last-child {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.intel-brief-section-label {
  margin: 0 0 0.75rem;
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.intel-brief-overall {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border: 1px solid #f3f4f6;
}

.intel-brief-overall-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.intel-brief-overall-title {
  margin: 0 0 0.25rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: #111827;
}

.intel-brief-overall-summary {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b7280;
}

.intel-brief-composite-note {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #9ca3af;
}

.intel-brief-issue-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.intel-brief-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.69rem;
  font-weight: 500;
}

.intel-brief-badge--info {
  background: #eff6ff;
  color: #1d4ed8;
}

.intel-brief-badge--success {
  background: #ecfdf5;
  color: #047857;
}

.intel-brief-badge--warning {
  background: #fffbeb;
  color: #b45309;
}

.intel-brief-badge--danger {
  background: #fef2f2;
  color: #b91c1c;
}

.intel-brief-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .intel-brief-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.intel-brief-metric {
  border-radius: 0.5rem;
  padding: 0.85rem 0.75rem;
  border: 1px solid var(--rms-border);
  background: var(--rms-bg-soft);
}

.intel-brief-metric--success {
  background: color-mix(in srgb, var(--rms-score-good) 14%, var(--rms-bg-soft));
  border-color: color-mix(in srgb, var(--rms-score-good) 30%, var(--rms-border));
}

.intel-brief-metric--success .intel-brief-metric-value {
  color: var(--rms-score-good);
}

.intel-brief-metric--warning {
  background: color-mix(in srgb, var(--rms-score-fair) 14%, var(--rms-bg-soft));
  border-color: color-mix(in srgb, var(--rms-score-fair) 30%, var(--rms-border));
}

.intel-brief-metric--warning .intel-brief-metric-value {
  color: var(--rms-score-fair);
}

.intel-brief-metric--danger {
  background: color-mix(in srgb, var(--rms-score-weak) 12%, var(--rms-bg-soft));
  border-color: color-mix(in srgb, var(--rms-score-weak) 28%, var(--rms-border));
}

.intel-brief-metric--danger .intel-brief-metric-value {
  color: var(--rms-score-weak);
}

.intel-brief-metric-label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  color: var(--rms-text-muted);
}

.intel-brief-metric-value {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--rms-text);
  line-height: 1.2;
}

.intel-brief-metric-sub {
  margin: 0.15rem 0 0;
  font-size: 0.69rem;
  color: var(--rms-text-muted);
}

.intel-brief-scorecard {
  margin-bottom: 1.25rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid #f3f4f6;
}

.intel-brief-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
}

.intel-brief-score-row--border {
  border-bottom: 1px solid #f3f4f6;
}

.intel-brief-score-label {
  font-size: 0.875rem;
  color: #6b7280;
}

.intel-brief-score-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.intel-brief-bar-track {
  width: 6rem;
  height: 0.375rem;
  overflow: hidden;
  border-radius: 999px;
  background: #f3f4f6;
}

.intel-brief-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.intel-brief-score-num {
  width: 1.75rem;
  text-align: right;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
}

.intel-brief-growth {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border: 1px solid #f3f4f6;
}

.intel-brief-services {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.intel-brief-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.5rem;
  background: #f9fafb;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: #374151;
}

.intel-brief-potential {
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.69rem;
  font-weight: 500;
}

.intel-brief-potential--high {
  background: #ecfdf5;
  color: #047857;
}

.intel-brief-potential--medium {
  background: #fffbeb;
  color: #b45309;
}

.intel-brief-potential--low {
  background: #f3f4f6;
  color: #6b7280;
}

.intel-brief-potential--gap {
  background: #ecfdf5;
  color: #166534;
}

.intel-brief-potential--risk {
  background: #fef2f2;
  color: #991b1b;
}

.intel-brief-growth-item {
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

.intel-brief-growth-item:last-child {
  border-bottom: 0;
}

.intel-brief-growth-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.intel-brief-growth-toggle:focus-visible {
  outline: 2px solid rgba(15, 110, 86, 0.35);
  outline-offset: 2px;
}

.intel-brief-growth-detail {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 8px;
  transition: max-height 0.2s ease, opacity 0.2s ease, padding 0.2s ease;
}

.intel-brief-growth-item.is-open .intel-brief-growth-detail {
  max-height: 280px;
  opacity: 1;
  padding: 0 8px 12px;
}

.intel-brief-growth-detail[hidden] {
  display: block;
}

.intel-brief-growth-insight {
  margin: 0 0 10px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #374151;
}

.intel-brief-growth-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.intel-brief-growth-metric {
  border-radius: 10px;
  background: #f9fafb;
  padding: 8px 10px;
}

.intel-brief-growth-metric-label {
  display: block;
  font-size: 0.65rem;
  color: #6b7280;
  margin-bottom: 2px;
}

.intel-brief-growth-metric-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.intel-brief-growth-metric-sub {
  display: block;
  font-size: 0.62rem;
  color: #9ca3af;
}

.intel-brief-growth-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  background: #111827;
  color: #fff;
}

.intel-brief-growth-cta:hover,
.intel-brief-growth-cta:focus-visible {
  background: #1f2937;
}

.intel-brief-locked {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: #9ca3af;
}

.intel-brief-store-issues {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
}

.intel-brief-store-issues--empty {
  padding: 1rem 1.25rem;
}

.intel-brief-store-issues-empty {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.intel-brief-store-issues-head {
  margin-bottom: 1rem;
}

.intel-brief-store-issues-subtitle {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b7280;
}

.intel-brief-store-issues-summary {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
}

.intel-brief-store-issues-badges {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  color: #6b7280;
}

.intel-brief-store-issues-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.intel-brief-issue-card {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem;
  background: #fff;
}

.intel-brief-issue-card--high {
  order: 1;
  border-color: #fecaca;
  background: #fffbfb;
}

.intel-brief-issue-card--medium {
  order: 2;
  border-color: #fde68a;
  background: #fffef7;
}

.intel-brief-issue-card--low {
  order: 3;
  border-color: #bbf7d0;
  background: #f9fffb;
}

.intel-brief-issue-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.5rem;
}

.intel-brief-issue-severity {
  font-size: 0.72rem;
  font-weight: 600;
}

.intel-brief-issue-severity--high {
  color: #b91c1c;
}

.intel-brief-issue-severity--medium {
  color: #b45309;
}

.intel-brief-issue-severity--low {
  color: #15803d;
}

.intel-brief-issue-category {
  font-size: 0.72rem;
  color: #6b7280;
}

.intel-brief-issue-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}

.intel-brief-issue-label {
  margin: 0.5rem 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9ca3af;
}

.intel-brief-issue-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #4b5563;
}

.intel-brief-issue-text--impact {
  color: #6b7280;
}

.intel-brief-issue-metric {
  display: inline-block;
  margin: 0.65rem 0 0;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #374151;
  background: #f3f4f6;
}

.intel-brief-competitors {
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
  padding: 0;
  border: 1px solid #f3f4f6;
}

.intel-brief-competitors-blur {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

.intel-brief-competitor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.875rem;
  color: #6b7280;
}

.intel-brief-competitors-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  text-align: center;
  padding: 1rem;
}

.intel-brief-competitors-lock-title {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
}

.intel-brief-competitors-lock-sub {
  margin: 0;
  font-size: 0.75rem;
  color: #6b7280;
}

.intel-brief-cta {
  padding: 1.5rem;
  border: 2px solid #bfdbfe;
}

.intel-brief-cta-head {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.intel-brief-cta-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #111827;
}

.intel-brief-cta-head p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b7280;
}

.intel-brief-cta-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}

.intel-brief-cta-feature {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.intel-brief-cta-feature span:first-child {
  color: #059669;
}

.intel-brief-cta-price {
  margin: 1rem 0 0.35rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.intel-brief-cta-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: #6b7280;
}

.intel-brief-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

.intel-brief-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.intel-brief-cta-actions .intel-offer-pay-btn {
  width: 100%;
  min-height: 46px;
  margin-top: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #e6c35f, #f2dfa1);
  color: #07101c;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(230, 195, 95, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.intel-brief-cta-actions .intel-offer-pay-btn:hover,
.intel-brief-cta-actions .intel-offer-pay-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(230, 195, 95, 0.24);
  outline: none;
}

.intel-brief-cta-footnote {
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
}

/* ── AI Leaderboard (RankMySalon) ───────────────────────────────────────── */
.route-leaderboard .app {
  min-height: 100vh;
}

.lb-page .lb-hero {
  text-align: center;
  padding: 2.5rem 1.25rem 2rem;
  background: linear-gradient(135deg, #0f172a 0%, #1a3a5c 50%, #0f172a 100%);
  border-radius: var(--radius-card, 16px);
  color: #fff;
  margin-bottom: 1rem;
}

.lb-hero .marketing-title {
  color: #fff;
}

.lb-hero-accent {
  color: #f6ad00;
}

.lb-hero-sub {
  color: rgba(255, 255, 255, 0.65);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.lb-search-form {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  max-width: 36rem;
  margin: 1.25rem auto 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.lb-google-cse {
  max-width: 40rem;
  margin: 0.75rem auto 0.5rem;
  padding: 0.85rem 1rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.lb-google-cse .gsc-control-cse {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.lb-search-inner {
  position: relative;
  flex: 1;
  min-width: 0;
}

.lb-search-btn {
  flex-shrink: 0;
  align-self: stretch;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lb-search-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(99, 179, 237, 0.45);
}

.lb-search-btn:focus-visible {
  outline: 2px solid rgba(99, 179, 237, 0.7);
  outline-offset: 2px;
}

.lb-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.7;
}

.lb-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.85rem 0.75rem 2.5rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
}

.lb-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.lb-live-pill {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
  margin-top: 0.35rem;
}

.lb-hero-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lb-preview-inline {
  flex: 1 1 220px;
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.lb-preview-inline .landing-link {
  color: #f6ad00;
}

.lb-hero-request {
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
}

.lb-hero-request:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lb-toolbar {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.lb-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin-bottom: 0.65rem;
}

.lb-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.lb-select {
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(132, 88, 78, 0.2);
  font-size: 0.88rem;
}

.lb-count {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--muted);
  align-self: center;
}

.lb-cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.lb-cat-pill {
  border: 1px solid rgba(132, 88, 78, 0.2);
  background: #f8f9fa;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
}

.lb-cat-pill.is-active {
  background: #1a365d;
  color: #fff;
  border-color: #1a365d;
}

.lb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 1.25rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.lb-layout.lb-layout--full {
  grid-template-columns: 1fr;
  max-width: min(1200px, 100%);
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

.lb-list-block {
  min-width: 0;
}

.lb-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 1.25rem 0 2rem;
  padding: 0 0.15rem;
}

.lb-pager-meta {
  font-size: 0.84rem;
  color: var(--muted);
}

.lb-pager-btns {
  display: flex;
  gap: 0.5rem;
}

.lb-pager-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.lb-toast {
  max-width: min(720px, 100%);
  margin: 0 auto 1rem;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: var(--radius-card, 16px);
}

.lb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lb-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(0.5rem, env(safe-area-inset-top, 0px)) 0.75rem max(0.5rem, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.lb-modal.is-open {
  display: flex;
}

.lb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  cursor: pointer;
}

.lb-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: min(90vh, 760px);
  overflow-y: auto;
  margin: auto;
  box-sizing: border-box;
}

.lb-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.lb-modal-head h2 {
  margin: 0;
  font-size: 1.12rem;
}

.lb-modal-close {
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.1rem 0.45rem;
}

.lb-modal-lead {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

.lb-req-kind {
  border: none;
  margin: 0 0 0.65rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.lb-req-kind-opt {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--muted);
}

.lb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.125rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .lb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .lb-grid {
    grid-template-columns: 1fr;
  }
}

.lb-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.lb-card-accent {
  height: 4px;
}

.lb-card-body {
  padding: 1rem 1.1rem 1.1rem;
}

.lb-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.lb-card-head-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  flex-shrink: 0;
}

.lb-card-menu-wrap {
  position: relative;
  z-index: 4;
}

.lb-card-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lb-card-menu-btn:hover {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

.lb-card-menu-btn:focus-visible {
  outline: 2px solid var(--accent, #2563eb);
  outline-offset: 2px;
}

.lb-card-menu-ic {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lb-card-menu-ic span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.lb-card-menu-popover {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  min-width: 11rem;
  padding: 0.35rem 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  z-index: 30;
}

.lb-card-menu-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: none;
  background: none;
  text-align: left;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s;
}

.lb-card-menu-item:hover {
  background: rgba(15, 23, 42, 0.05);
}

.lb-card-menu-item--link {
  color: #1d4ed8;
}

.lb-share-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 10050;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lb-share-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.lb-card-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.2rem;
}

.lb-card-name {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.25;
}

.lb-card-name a {
  color: inherit;
  text-decoration: none;
}

.lb-card-name a:hover {
  text-decoration: underline;
}

.lb-card-meta {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  color: #9ca3af;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
}

.lb-badge {
  flex-shrink: 0;
  text-align: center;
  border: 1.5px solid;
  border-radius: 10px;
  padding: 0.25rem 0.5rem;
}

.lb-badge-lg {
  padding: 0.45rem 0.65rem;
  border-radius: 14px;
}

.lb-badge-emoji {
  display: block;
  font-size: 1.1rem;
  line-height: 1;
}

.lb-badge-level {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
}

.lb-metrics {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.lb-metric {
  flex: 1;
  text-align: center;
  border-radius: 10px;
  padding: 0.45rem 0.35rem;
}

.lb-metric-muted {
  background: #f8f9fa;
}

.lb-metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-serif, "Manrope", system-ui, sans-serif);
  line-height: 1.1;
}

.lb-metric-lbl {
  font-size: 0.62rem;
  color: #9ca3af;
  margin-top: 0.15rem;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
}

.lb-card-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
}

.lb-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

.lb-aside h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.lb-aside p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.lb-request-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.lb-request-form label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.lb-input,
.lb-textarea {
  font: inherit;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(132, 88, 78, 0.22);
}

.lb-req-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.lb-req-status {
  font-size: 0.82rem;
  min-height: 1.25rem;
  margin: 0.25rem 0 0;
}

.lb-detail-page-inner {
  width: 100%;
  max-width: min(960px, 100%);
  margin: 0 auto;
  padding: 0 max(0.75rem, env(safe-area-inset-left, 0px)) 2rem max(0.75rem, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.lb-detail-page .lb-detail-shell {
  max-width: none;
  width: 100%;
  margin: 0 auto 2rem;
  overflow: hidden;
}

.lb-detail-page-inner--report {
  max-width: min(880px, 100%);
}

.lb-detail-shell--report {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.1);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 38%);
  overflow: visible;
}

.lb-rep-body {
  padding: 0 0 0.5rem;
}

.lb-rep-body .lb-ai-summary {
  margin: 1rem 1.25rem 1.25rem;
}

.lb-rep-hero {
  margin: 1rem 1.25rem 0.75rem;
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
}

.lb-rep-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.lb-rep-kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #64748b;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
}

.lb-rep-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 10px;
  border: 1.5px solid;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.lb-rep-badge-e {
  font-size: 1rem;
  line-height: 1;
}

.lb-rep-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  font-family: var(--font-serif, "Manrope", system-ui, sans-serif);
}

.lb-rep-sub {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
  max-width: 40rem;
}

.lb-rep-salonline,
.lb-rep-addr,
.lb-rep-phone {
  margin: 0.15rem 0;
  font-size: 0.78rem;
  color: #64748b;
}

.lb-rep-disclaimer {
  margin: 0 1.35rem 0.65rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: #94a3b8;
}

.lb-rep-impact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 1.25rem 1rem;
}

@media (max-width: 720px) {
  .lb-rep-impact {
    grid-template-columns: 1fr;
  }
}

.lb-rep-stat {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
}

.lb-rep-stat-k {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.lb-rep-stat-val {
  margin: 0 0 0.25rem;
  font-size: 1.45rem;
  font-weight: 900;
  font-family: var(--font-serif, "Manrope", system-ui, sans-serif);
  color: #0f172a;
  line-height: 1.1;
}

.lb-rep-stat-sub {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #64748b;
}

.lb-rep-stat--risk {
  border-left: 4px solid #ef4444;
  background: linear-gradient(135deg, #fff5f5, #fff);
}

.lb-rep-stat--warn {
  border-left: 4px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb, #fff);
}

.lb-rep-stat--money {
  border-left: 4px solid #16a34a;
  background: linear-gradient(135deg, #f0fdf4, #fff);
}

.lb-rep-section {
  margin: 0 1.25rem 1.25rem;
}

.lb-rep-section--pressure {
  padding-top: 0.25rem;
}

.lb-rep-section--proof {
  padding-bottom: 0.25rem;
}

.lb-rep-section--score {
  margin-top: 0.35rem;
}

.lb-rep-score {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(236, 72, 153, 0.2);
  background: linear-gradient(145deg, #fff1f8 0%, #ffffff 42%, #eff6ff 100%);
}

.lb-rep-score-head .lb-rep-h {
  margin-bottom: 0.35rem;
}

.lb-rep-score-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .lb-rep-score-grid {
    grid-template-columns: 1fr;
  }
}

.lb-rep-score-kpi {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 13px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.92);
}

.lb-rep-score-k {
  margin: 0 0 0.3rem;
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #64748b;
  font-weight: 800;
}

.lb-rep-score-v {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  color: #0f172a;
}

.lb-rep-meter {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.lb-rep-meter > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ec4899, #f97316);
}

.lb-rep-score-sub {
  margin: 0.45rem 0 0;
  font-size: 0.76rem;
  color: #475569;
  line-height: 1.45;
}

.lb-rep-score-rank {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  color: #7c3aed;
  font-weight: 700;
}

.lb-rep-h {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
}

.lb-rep-lead {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #475569;
}

.lb-rep-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 720px) {
  .lb-rep-metrics {
    grid-template-columns: 1fr;
  }
}

.lb-rep-metric {
  padding: 1rem 0.95rem 0.95rem;
  text-align: left;
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.lb-rep-metric--ai {
  padding-top: 1.15rem;
}

.lb-rep-metric-val {
  margin: 0 0 0.25rem;
  font-size: 1.65rem;
  font-weight: 900;
  font-family: var(--font-serif, "Manrope", system-ui, sans-serif);
  line-height: 1;
  color: #0f172a;
}

.lb-rep-metric-tag {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lb-rep-metric-sub {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
}

.lb-rep-metric-lbl {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.lb-rep-tone-warn {
  border-top: 3px solid #f59e0b;
  background: linear-gradient(180deg, #fffbeb, #fff);
}

.lb-rep-tone-bad {
  border-top: 3px solid #ef4444;
  background: linear-gradient(180deg, #fff5f5, #fff);
}

.lb-rep-tone-warn.lb-rep-metric--ai .lb-rep-score-hint,
.lb-rep-tone-bad.lb-rep-metric--ai .lb-rep-score-hint {
  top: 0.55rem;
  right: 0.55rem;
}

.lb-rep-table-wrap {
  overflow-x: auto;
  margin-top: 0.5rem;
}

.lb-rep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.lb-rep-table th,
.lb-rep-table td {
  padding: 0.55rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.lb-rep-table th {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.lb-rep-td-num {
  font-weight: 700;
  color: #0f172a;
}

.lb-rep-td-hot {
  color: #b45309;
  font-weight: 700;
}

.lb-rep-arr {
  font-weight: 900;
  margin-right: 0.15rem;
}

.lb-rep-arr--bad {
  color: #dc2626;
}

.lb-rep-arr--ok {
  color: #16a34a;
}

.lb-rep-micro {
  margin: 0.45rem 0 0;
  font-size: 0.65rem;
  color: #94a3b8;
  line-height: 1.4;
}

.lb-rep-urgent {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  font-weight: 600;
  color: #9a3412;
}

.lb-rep-section--heat {
  margin-top: -0.2rem;
}

.lb-rep-section--radar {
  margin-top: -0.1rem;
}

.lb-rep-radar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  background: linear-gradient(145deg, #f8fbff 0%, #ffffff 60%, #fff1f8 100%);
}

@media (max-width: 720px) {
  .lb-rep-radar {
    grid-template-columns: 1fr;
  }
}

.lb-rep-radar-canvas {
  width: 100%;
  max-width: 190px;
  justify-self: end;
}

@media (max-width: 720px) {
  .lb-rep-radar-canvas {
    justify-self: center;
  }
}

.lb-rep-radar-canvas svg {
  width: 100%;
  height: auto;
  display: block;
}

.lb-rep-heat-wrap {
  overflow-x: auto;
}

.lb-rep-heat {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.79rem;
}

.lb-rep-heat th,
.lb-rep-heat td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}

.lb-rep-heat th {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.lb-rep-heat tr.is-you td {
  background: #fff1f8;
}

.lb-rep-heat-cell {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 4.8rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-weight: 700;
  overflow: hidden;
}

.lb-rep-heat-cell > em {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fbcfe8, #fecaca);
  pointer-events: none;
}

.lb-rep-heat-cell {
  isolation: isolate;
}

.lb-rep-heat-txt {
  position: relative;
  z-index: 1;
}

.lb-rep-miss {
  margin-bottom: 0.75rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 4px solid #1d4ed8;
}

.lb-rep-miss-flag {
  margin: 0 0 0.25rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b45309;
}

.lb-rep-miss-h {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.lb-rep-miss-b {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #64748b;
}

.lb-rep-miss-rev,
.lb-rep-miss-fix {
  margin: 0.35rem 0 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #475569;
}

.lb-rep-ol {
  margin: 0;
  padding: 1rem 1rem 1rem 1.35rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #334155;
}

.lb-rep-section--solutions {
  margin-top: 0.95rem;
}

.lb-rep-sol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 880px) {
  .lb-rep-sol-grid {
    grid-template-columns: 1fr;
  }
}

.lb-rep-sol {
  padding: 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.lb-rep-sol-tag {
  margin: 0 0 0.35rem;
  font-size: 0.58rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
  color: #be185d;
}

.lb-rep-sol h3 {
  margin: 0 0 0.35rem;
  font-size: 0.87rem;
  font-weight: 800;
  color: #0f172a;
}

.lb-rep-sol p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #475569;
}

.lb-rep-sol-impact {
  margin-top: 0.45rem !important;
  color: #9a3412 !important;
  font-weight: 700;
}

.lb-rep-sol-priority {
  margin-top: 0.45rem !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #be185d !important;
  font-weight: 800 !important;
}

.lb-rep-ba {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.lb-rep-ba-col {
  flex: 1;
  min-width: 120px;
}

.lb-rep-ba-k {
  margin: 0 0 0.25rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  font-weight: 700;
}

.lb-rep-ba-v {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.lb-rep-ba-arrow {
  font-size: 1.25rem;
  color: #16a34a;
  font-weight: 900;
}

.lb-rep-quote {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.5;
  color: #475569;
}

.lb-rep-cta-band {
  margin: 1rem 1.25rem 1.25rem;
}

.lb-rep-cta-inner {
  padding: 1.25rem 1.2rem 1.35rem;
  text-align: center;
  border-radius: 16px;
  border: 2px solid rgba(29, 78, 216, 0.25);
  background: linear-gradient(145deg, #eff6ff, #fff);
  box-shadow: 0 16px 48px rgba(29, 78, 216, 0.12);
}

.lb-rep-cta-scarcity {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9a3412;
}

.lb-rep-cta-fomo {
  margin: 0 0 0.7rem;
  font-size: 0.79rem;
  line-height: 1.55;
  color: #7f1d1d;
  font-weight: 700;
}

.lb-rep-cta-primary {
  display: inline-flex;
  justify-content: center;
  width: min(100%, 22rem);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  border-color: rgba(99, 16, 16, 0.55);
  background: linear-gradient(145deg, #6f1414 0%, #8b1515 45%, #7f1d1d 100%);
  color: #fff8f7;
  box-shadow: 0 8px 26px rgba(99, 16, 16, 0.42);
}

.cta.lb-rep-cta-primary:hover:not(:disabled) {
  border-color: rgba(127, 29, 29, 0.75);
  background: linear-gradient(145deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(99, 16, 16, 0.48);
}

.cta.lb-rep-cta-primary:focus-visible {
  outline: 2px solid rgba(220, 38, 38, 0.55);
  outline-offset: 3px;
}

.lb-rep-cta-micro {
  margin: 0.5rem 0 0.85rem;
  font-size: 0.72rem;
  color: #64748b;
}

.lb-rep-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
}

.lb-rep-cta-sec {
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

.lb-detail-cta--minimal {
  padding: 0.85rem 1rem;
}

.lb-detail-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.lb-locale-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.75rem;
  padding: 0.45rem 1rem 0.55rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: #fafafa;
}

.lb-locale-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
}

.lb-locale-seg {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  overflow: hidden;
  background: #fff;
}

.lb-locale-btn {
  margin: 0;
  border: none;
  background: transparent;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  color: #64748b;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
}

.lb-locale-btn + .lb-locale-btn {
  border-left: 1px solid rgba(15, 23, 42, 0.08);
}

.lb-locale-btn.is-active {
  background: #1e293b;
  color: #fff;
}

.lb-locale-btn:hover:not(.is-active) {
  background: #f1f5f9;
  color: #0f172a;
}

.lb-back {
  text-decoration: none;
  font-size: 0.82rem;
}

.lb-detail-date {
  font-size: 0.68rem;
  color: #bbb;
}

.lb-detail-hero {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1.1rem 0.75rem;
  background: linear-gradient(135deg, var(--lb-light, #f0f4f8), #fff 70%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.lb-detail-kicker {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--lb-accent, #1a365d);
  margin: 0 0 0.35rem;
}

.lb-detail-address,
.lb-detail-phone,
.lb-detail-meta {
  margin: 0.15rem 0;
  font-size: 0.72rem;
  color: #6b7280;
}

.lb-detail-zip {
  margin: 0.1rem 0 0.15rem;
  font-size: 0.72rem;
  color: #6b7280;
}

.lb-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  gap: 0.15rem;
  padding: 0 0.5rem;
}

.lb-tab {
  border: none;
  background: transparent;
  padding: 0.55rem 0.65rem;
  font-size: 0.72rem;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
  cursor: pointer;
  color: #9ca3af;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.lb-tab.is-active {
  font-weight: 700;
  color: var(--lb-accent, #1a365d);
  border-bottom-color: var(--lb-accent, #1a365d);
}

.lb-tab-panel {
  padding: 1rem 1.1rem 1.25rem;
}

.lb-detail-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.lb-stat {
  background: #fff;
  padding: 0.75rem 0.35rem;
  text-align: center;
}

.lb-stat-val {
  font-size: 1.35rem;
  font-weight: 900;
  font-family: var(--font-serif, "Manrope", system-ui, sans-serif);
  line-height: 1;
}

.lb-stat-lbl {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-top: 0.25rem;
}

.lb-stat-sub {
  font-size: 0.65rem;
  color: #ccc;
  margin-top: 0.1rem;
}

.lb-stat-ai {
  position: relative;
}

.lb-stat-ai .lb-stat-val {
  padding-right: 1.2rem;
}

.lb-stat-hint {
  position: absolute;
  top: 0.4rem;
  right: 0.3rem;
  z-index: 5;
  display: block;
  text-align: left;
  cursor: help;
}

.lb-stat-hint:focus {
  outline: none;
}

.lb-stat-hint:focus-visible .lb-stat-hint-icon {
  box-shadow: 0 0 0 2px rgba(26, 54, 93, 0.35);
}

.lb-stat-hint-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  color: #6b7280;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
}

.lb-stat-hint-pop {
  display: none;
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  width: min(17.5rem, calc(100vw - 2.5rem));
  padding: 0.55rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: normal;
  text-transform: none;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  z-index: 20;
}

.lb-stat-hint:hover .lb-stat-hint-pop,
.lb-stat-hint:focus-within .lb-stat-hint-pop {
  display: block;
}

.lb-callout {
  border-radius: 10px;
  border: 1px solid;
  padding: 0.75rem 0.85rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #4b5563;
}

.lb-issues {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lb-issue header {
  margin-bottom: 0.35rem;
}

.lb-issue h3 {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
}

.lb-issue-sev {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lb-issue p {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.55;
}

.lb-issue-fix {
  border: 1px solid;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font-size: 0.76rem;
}

.lb-market-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.lb-top5 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lb-top5-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.lb-top5-row.is-self {
  background: rgba(66, 153, 225, 0.08);
  border-radius: 8px;
  padding: 0.5rem 0.45rem;
  border-bottom: none;
  margin-bottom: 0.25rem;
}

.lb-top5-rank {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

.lb-top5-name {
  font-size: 0.82rem;
  font-weight: 600;
}

.lb-top5-sub {
  font-size: 0.68rem;
  color: #9ca3af;
}

.lb-bar-track {
  height: 4px;
  background: #f0f0f0;
  border-radius: 99px;
  margin-top: 0.25rem;
  overflow: hidden;
}

.lb-bar-fill {
  height: 100%;
  border-radius: 99px;
  max-width: 100%;
}

.lb-reviews-split {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}

.lb-reviews-left {
  flex-shrink: 0;
  text-align: center;
}

.lb-big-rating {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  font-family: var(--font-serif, "Manrope", system-ui, sans-serif);
}

.lb-review-count {
  font-size: 0.68rem;
  color: #9ca3af;
}

.lb-reviews-bars {
  flex: 1;
  min-width: 0;
}

.lb-star-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
}

.lb-star-row .lb-bar-track {
  flex: 1;
}

.lb-detail-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.1rem 1.25rem;
  text-align: center;
  color: #fff;
}

.lb-detail-cta p {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.lb-detail-phone-cta {
  margin: 0 0 0.5rem;
  text-decoration: none;
  display: inline-flex;
}

.lb-ai-summary {
  margin: 0 1rem 1rem;
  padding: 1rem 1.15rem 1.05rem;
  background: linear-gradient(145deg, #f8fafc 0%, #fff 55%);
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
}

.lb-ai-summary-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
  font-family: var(--font-sans, "Manrope", system-ui, sans-serif);
}

.lb-ai-summary-lead {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #334155;
}

.lb-ai-summary-points {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #475569;
}

.lb-ai-summary-points li {
  margin-bottom: 0.35rem;
}

.lb-ai-summary-focus-label {
  display: inline-block;
  margin-right: 0.25rem;
  font-weight: 700;
  color: #1e293b;
  font-size: 0.78rem;
}

.lb-ai-summary-fomo {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #9a3412;
  background: rgba(254, 243, 199, 0.45);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.lb-ai-summary-cta {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  font-weight: 600;
  color: #1e293b;
}

.lb-ai-summary-cta-link {
  color: #1d4ed8;
  font-weight: 700;
}

.lb-preview-banner {
  margin-top: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.86rem;
  text-align: center;
  line-height: 1.45;
}

.lb-preview-strip {
  background: rgba(246, 173, 0, 0.12);
  border: 1px solid rgba(246, 173, 0, 0.35);
  color: #78350f;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  margin: 0.5rem 1rem 0.35rem;
  text-align: center;
}

@media (max-width: 900px) {
  .lb-layout:not(.lb-layout--full) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lb-detail-grid3 {
    grid-template-columns: 1fr;
  }

  .lb-detail-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .lb-badge-lg {
    align-self: flex-start;
  }

  .lb-toolbar-row {
    flex-direction: column;
    align-items: stretch;
  }

  .lb-count {
    margin-left: 0;
  }

  .lb-hero .marketing-title {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
  }

  .lb-tab-panel {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .lb-ai-summary {
    margin-left: 0.65rem;
    margin-right: 0.65rem;
  }

  .lb-locale-bar {
    justify-content: center;
  }
}

.legal-page-shell {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.legal-page-updated {
  margin: -4px 0 0;
  color: rgba(74, 62, 58, 0.72);
  font-size: 0.82rem;
}

.legal-page-intro {
  margin: 0;
}

.legal-page-section {
  border-top: 1px solid rgba(132, 88, 78, 0.14);
  padding-top: 14px;
}

.legal-page-title {
  margin: 0 0 8px;
  font-size: 1rem;
}

.legal-page-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
  display: grid;
  gap: 6px;
}

/* ── Marketing routes: navy + gold surface (matches homepage hero section) ── */

html[data-theme="dark"] html:has(body.route-marketing) {
  background: #070b14;
}

html[data-theme="dark"] body.route-marketing {
  background:
    radial-gradient(ellipse 120% 70% at 50% -15%, rgba(99, 179, 237, 0.14), transparent 52%),
    linear-gradient(180deg, #070b14 0%, #0f172a 38%, #0b101c 100%);
  color: rgba(248, 250, 252, 0.92);
}

html[data-theme="dark"] body.route-marketing .bg-glow-1 {
  background: rgba(99, 179, 237, 0.55);
  opacity: 0.16;
}

html[data-theme="dark"] body.route-marketing .bg-glow-2 {
  background: rgba(201, 162, 39, 0.48);
  opacity: 0.12;
}

html[data-theme="dark"] body.route-marketing .marketing-nav-shell {
  background: linear-gradient(145deg, #0c1220 0%, #152238 42%, #0a1628 100%);
  border: 1px solid rgba(99, 179, 237, 0.14);
  box-shadow:
    0 24px 64px rgba(8, 15, 35, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Language dropdown extends below the header; lift nav shell so later page sections do not paint over the menu. */
html[data-theme="dark"] body.route-marketing .marketing-nav-shell.marketing-nav-lang-open {
  position: relative;
  z-index: 11950;
  overflow: visible;
}

html[data-theme="dark"] body.route-marketing .brand-part-rank {
  color: rgba(255, 255, 255, 0.96) !important;
}

html[data-theme="dark"] body.route-marketing .brand-part-mysalon {
  background: linear-gradient(118deg, #f4a8c7 0%, #e8a0d5 40%, #b15cc7 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

html[data-theme="dark"] body.route-marketing .marketing-nav-link {
  color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] body.route-marketing .marketing-nav-link.is-active,
html[data-theme="dark"] body.route-marketing .marketing-nav-link:hover,
html[data-theme="dark"] body.route-marketing .marketing-nav-link:focus-visible {
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing .marketing-auth-actions .ghost.landing-link {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.9);
}

html[data-theme="dark"] body.route-marketing .marketing-auth-actions .ghost.landing-link:hover,
html[data-theme="dark"] body.route-marketing .marketing-auth-actions .ghost.landing-link:focus-visible {
  border-color: rgba(201, 162, 39, 0.45);
  background: rgba(255, 255, 255, 0.1);
  color: #fffef8;
}

html[data-theme="dark"] body.route-marketing .marketing-lang-toggle {
  min-width: 6.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html[data-theme="dark"] body.route-marketing .marketing-lang-menu {
  z-index: 11951;
  background: linear-gradient(180deg, #152238 0%, #0c1220 100%);
  border-color: rgba(99, 179, 237, 0.22);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] body.route-marketing .marketing-lang-option {
  color: rgba(248, 250, 252, 0.92);
}

html[data-theme="dark"] body.route-marketing .marketing-lang-option:hover,
html[data-theme="dark"] body.route-marketing .marketing-lang-option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] body.route-marketing .marketing-lang-option.is-active {
  background: rgba(201, 162, 39, 0.22);
  color: #fffef8;
}

html[data-theme="dark"] body.route-marketing .marketing-footer {
  background: linear-gradient(145deg, #0c1220 0%, #152238 42%, #0a1628 100%);
  border: 1px solid rgba(99, 179, 237, 0.12);
  border-top: 1px solid rgba(99, 179, 237, 0.12);
  box-shadow:
    0 24px 64px rgba(8, 15, 35, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] body.route-marketing .marketing-footer-bottom {
  border-top-color: rgba(99, 179, 237, 0.14);
}

html[data-theme="dark"] body.route-marketing .footer-logo-360,
html[data-theme="dark"] body.route-marketing .footer-logo-media {
  color: rgba(255, 255, 255, 0.94) !important;
}

html[data-theme="dark"] body.route-marketing .footer-company-name {
  color: rgba(255, 255, 255, 0.9);
}

html[data-theme="dark"] body.route-marketing .footer-address,
html[data-theme="dark"] body.route-marketing .footer-copyright {
  color: rgba(226, 232, 240, 0.5);
}

html[data-theme="dark"] body.route-marketing .footer-column-title {
  color: rgba(248, 250, 252, 0.75);
}

html[data-theme="dark"] body.route-marketing .footer-column-header {
  color: rgba(248, 250, 252, 0.88);
}

html[data-theme="dark"] body.route-marketing .footer-link {
  color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] body.route-marketing .footer-link:hover,
html[data-theme="dark"] body.route-marketing .footer-link:focus-visible {
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing .marketing-digital-human.card {
  background: linear-gradient(145deg, #0c1220 0%, #152238 42%, #0a1628 100%);
  border: 1px solid rgba(99, 179, 237, 0.12);
  box-shadow:
    0 24px 64px rgba(8, 15, 35, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] body.route-marketing .marketing-section-title,
html[data-theme="dark"] body.route-marketing .marketing-digital-heading {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] body.route-marketing .marketing-digital-body {
  color: rgba(226, 232, 240, 0.62);
}

html[data-theme="dark"] body.route-marketing .marketing-digital-media {
  background: rgba(0, 0, 0, 0.38);
  border-color: rgba(99, 179, 237, 0.18);
  box-shadow: 0 18px 44px rgba(8, 15, 35, 0.42);
}

html[data-theme="dark"] body.route-marketing .marketing-digital-alt-link {
  color: rgba(248, 250, 252, 0.88);
}

html[data-theme="dark"] body.route-marketing .marketing-digital-alt-link:hover,
html[data-theme="dark"] body.route-marketing .marketing-digital-alt-link:focus-visible {
  color: #f4a8c7;
}

/* Insights section: same surface as hero / Ryan — fixes light .card bg vs light text */
html[data-theme="dark"] body.route-marketing .marketing-insights.card {
  background: linear-gradient(145deg, #0c1220 0%, #152238 42%, #0a1628 100%);
  border: 1px solid rgba(99, 179, 237, 0.12);
  box-shadow:
    0 24px 64px rgba(8, 15, 35, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] body.route-marketing .marketing-insights .marketing-section-title {
  color: rgba(255, 255, 255, 0.98);
}

html[data-theme="dark"] body.route-marketing .marketing-insights-lead {
  color: rgba(226, 232, 240, 0.78);
}

html[data-theme="dark"] body.route-marketing .marketing-insights-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 179, 237, 0.2);
  box-shadow: 0 14px 40px rgba(8, 15, 35, 0.42);
}

html[data-theme="dark"] body.route-marketing .marketing-insights-card:hover {
  box-shadow: 0 18px 48px rgba(8, 15, 35, 0.5);
}

html[data-theme="dark"] body.route-marketing .marketing-insights-caption {
  color: rgba(248, 250, 252, 0.95);
}

html[data-theme="dark"] body.route-marketing .pricing-page-shell {
  background: linear-gradient(145deg, #0c1220 0%, #152238 48%, #0a1628 100%);
  border: 1px solid rgba(99, 179, 237, 0.12);
  box-shadow:
    0 24px 64px rgba(8, 15, 35, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: rgba(248, 250, 252, 0.94);
}

html[data-theme="dark"] body.route-marketing .about-page-hero-tagline,
html[data-theme="dark"] body.route-marketing .about-page-subtitle {
  color: rgba(255, 255, 255, 0.94);
}

html[data-theme="dark"] body.route-marketing .about-page-hero-body,
html[data-theme="dark"] body.route-marketing .about-page-summary,
html[data-theme="dark"] body.route-marketing .about-page-section-copy,
html[data-theme="dark"] body.route-marketing .about-page-card-copy {
  color: rgba(226, 232, 240, 0.66);
}

html[data-theme="dark"] body.route-marketing .about-page-pillar-card,
html[data-theme="dark"] body.route-marketing .about-page-info-card,
html[data-theme="dark"] body.route-marketing .about-page-team-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(99, 179, 237, 0.14);
  box-shadow: none;
}

html[data-theme="dark"] body.route-marketing .about-page-pillar-card h2,
html[data-theme="dark"] body.route-marketing .about-page-info-card h4 {
  color: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] body.route-marketing .about-page-cta.card {
  background: linear-gradient(145deg, rgba(12, 18, 32, 0.98) 0%, rgba(21, 34, 56, 0.95) 100%);
  border-color: rgba(99, 179, 237, 0.14);
}

/* About — final CTA section: titles/links were still using salon (--text) browns */
html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-cta-title {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-cta-body {
  color: rgba(226, 232, 240, 0.78);
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-cta-note {
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-cta-highlight-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 179, 237, 0.2);
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-cta-highlight-text {
  color: rgba(248, 250, 252, 0.92);
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-cta-link {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 162, 39, 0.4);
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-cta-link:hover,
html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-cta-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 162, 39, 0.58);
  color: #fffef8;
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-cta-form-shell {
  background: linear-gradient(165deg, rgba(12, 22, 40, 0.94) 0%, rgba(8, 14, 26, 0.98) 100%);
  border-color: rgba(99, 179, 237, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-form-consent,
html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-form-consent-check {
  color: rgba(226, 232, 240, 0.72);
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-form-feedback {
  color: rgba(226, 232, 240, 0.62);
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-form-feedback.is-ok {
  color: #86efac;
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-form-feedback.is-error {
  color: #fca5a5;
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-team-name {
  color: rgba(255, 255, 255, 0.94);
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-team-role {
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing .legal-page-shell.card {
  background: linear-gradient(145deg, #0c1220 0%, #152238 42%, #0a1628 100%);
  border-color: rgba(99, 179, 237, 0.14);
}

html[data-theme="dark"] body.route-marketing .legal-page-updated {
  color: rgba(226, 232, 240, 0.52);
}

html[data-theme="dark"] body.route-marketing .legal-page-intro,
html[data-theme="dark"] body.route-marketing .marketing-body-wide {
  color: rgba(226, 232, 240, 0.68);
}

html[data-theme="dark"] body.route-marketing .legal-page-list {
  color: rgba(226, 232, 240, 0.66);
}

html[data-theme="dark"] body.route-marketing .legal-page-title {
  color: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] body.route-marketing .marketing-contact-modal-panel {
  border-color: rgba(99, 179, 237, 0.22);
  background:
    radial-gradient(circle at top right, rgba(99, 179, 237, 0.12), transparent 42%),
    linear-gradient(180deg, #152238 0%, #0c1220 100%);
  box-shadow:
    0 28px 70px rgba(8, 15, 35, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] body.route-marketing .marketing-contact-modal-title {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] body.route-marketing .marketing-contact-modal-lead {
  color: rgba(226, 232, 240, 0.62);
}

html[data-theme="dark"] body.route-marketing .marketing-contact-modal-close {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 250, 252, 0.9);
}

html[data-theme="dark"] body.route-marketing .marketing-contact-modal-close:hover,
html[data-theme="dark"] body.route-marketing .marketing-contact-modal-close:focus-visible {
  background: rgba(201, 162, 39, 0.2);
  color: #fffef8;
}

html[data-theme="dark"] body.route-marketing .assistant-panel,
html[data-theme="dark"] body.route-marketing .assistant-stage {
  background: linear-gradient(145deg, #0c1220 0%, #152238 42%, #0a1628 100%);
  border-color: rgba(99, 179, 237, 0.14);
  box-shadow:
    0 24px 64px rgba(8, 15, 35, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] body.route-marketing .assistant-voice-intro,
html[data-theme="dark"] body.route-marketing .assistant-call-alt {
  color: rgba(226, 232, 240, 0.62);
}

html[data-theme="dark"] body.route-marketing .marketing-page .marketing-title-small {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] body.route-marketing .assistant-call-visual {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(99, 179, 237, 0.14);
  box-shadow: 0 18px 44px rgba(8, 15, 35, 0.35);
}

html[data-theme="dark"] body.route-marketing .about-page-form-label {
  color: rgba(240, 215, 140, 0.95);
}

html[data-theme="dark"] body.route-marketing .about-page-form-control,
html[data-theme="dark"] body.route-marketing .about-page-form-select {
  background: rgba(10, 18, 32, 0.82);
  border-color: rgba(99, 179, 237, 0.22);
  color: rgba(248, 250, 252, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] body.route-marketing .about-page-form-control::placeholder {
  color: rgba(226, 232, 240, 0.42);
}

html[data-theme="dark"] body.route-marketing .about-page-form-control:focus {
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

/* About Us — section shells match homepage hero surfaces */
html[data-theme="dark"] body.route-marketing .about-page-hero.card,
html[data-theme="dark"] body.route-marketing .about-page-section.card {
  background: linear-gradient(145deg, #0c1220 0%, #152238 42%, #0a1628 100%);
  border: 1px solid rgba(99, 179, 237, 0.12);
  box-shadow:
    0 24px 64px rgba(8, 15, 35, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .marketing-section-kicker {
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .marketing-title,
html[data-theme="dark"] body.route-marketing .marketing-page-about .marketing-section-title,
html[data-theme="dark"] body.route-marketing .marketing-page-about .about-page-subtitle {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] body.route-marketing .marketing-page-about .marketing-body {
  color: rgba(226, 232, 240, 0.72);
}

/* Leaderboard — toolbar + cards on navy page background */
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-hero {
  background: linear-gradient(145deg, #0c1220 0%, #152238 42%, #0a1628 100%);
  border: 1px solid rgba(99, 179, 237, 0.12);
  box-shadow:
    0 24px 64px rgba(8, 15, 35, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-toolbar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(99, 179, 237, 0.14);
  border-radius: 16px;
  padding: 1rem 1.15rem;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-select-wrap {
  color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-select {
  background: rgba(10, 18, 32, 0.85);
  border-color: rgba(99, 179, 237, 0.22);
  color: rgba(248, 250, 252, 0.92);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-count {
  color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-cat-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 179, 237, 0.18);
  color: rgba(248, 250, 252, 0.85);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-cat-pill.is-active {
  background: linear-gradient(135deg, #e8a0d5 0%, #b15cc7 100%);
  color: #1a1520;
  border-color: transparent;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(99, 179, 237, 0.14);
  box-shadow: 0 14px 36px rgba(8, 15, 35, 0.35);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-name,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-name a {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-meta {
  color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-menu-btn {
  color: rgba(226, 232, 240, 0.65);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-menu-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-menu-popover {
  background: linear-gradient(180deg, #152238 0%, #0c1220 100%);
  border-color: rgba(99, 179, 237, 0.22);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-menu-item {
  color: rgba(248, 250, 252, 0.92);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-menu-item--link {
  color: #93c5fd;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-metric-muted {
  background: rgba(255, 255, 255, 0.06) !important;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-metric-muted .lb-metric-val {
  color: rgba(255, 255, 255, 0.94) !important;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-metric-muted .lb-metric-lbl {
  color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-metrics .lb-metric {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(99, 179, 237, 0.14);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-metrics .lb-metric:first-child .lb-metric-val {
  color: #fde68a !important;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-metrics .lb-metric:nth-child(2) .lb-metric-val {
  color: rgba(255, 255, 255, 0.95) !important;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-metrics .lb-metric .lb-metric-lbl {
  color: rgba(226, 232, 240, 0.58);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-card-cta {
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard button.ghost.lb-pager-btn {
  border-color: rgba(99, 179, 237, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.9);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard button.ghost.lb-pager-btn:hover:not(:disabled) {
  border-color: rgba(201, 162, 39, 0.45);
  background: rgba(255, 255, 255, 0.1);
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard button.ghost.lb-pager-btn:disabled {
  opacity: 0.38;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-pager-meta {
  color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-hero {
  background: linear-gradient(165deg, rgba(21, 34, 56, 0.96) 0%, rgba(12, 18, 32, 0.98) 100%);
  border-bottom-color: rgba(99, 179, 237, 0.14);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-kicker {
  color: #93c5fd;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-address,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-phone,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-meta,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-zip {
  color: rgba(226, 232, 240, 0.62);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-tabs {
  border-bottom-color: rgba(99, 179, 237, 0.14);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-tab {
  color: rgba(226, 232, 240, 0.45);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-tab.is-active {
  color: #f4a8c7;
  border-bottom-color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-grid3 {
  background: rgba(99, 179, 237, 0.12);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-stat {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-stat-val {
  color: rgba(255, 255, 255, 0.95);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-stat-lbl {
  color: rgba(226, 232, 240, 0.5);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-stat-sub {
  color: rgba(226, 232, 240, 0.45);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report {
  background: linear-gradient(145deg, #0c1220 0%, #152238 42%, #0a1628 100%);
  border-color: rgba(99, 179, 237, 0.14);
  box-shadow:
    0 24px 64px rgba(8, 15, 35, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-topbar {
  border-bottom-color: rgba(99, 179, 237, 0.14);
  background: rgba(8, 14, 26, 0.55);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-topbar .lb-back {
  color: rgba(226, 232, 240, 0.85);
  border-color: rgba(99, 179, 237, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-topbar .lb-back:hover,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-topbar .lb-back:focus-visible {
  color: #f4a8c7;
  border-color: rgba(201, 162, 39, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-date {
  color: rgba(226, 232, 240, 0.48);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-locale-bar {
  background: rgba(12, 18, 32, 0.75);
  border-bottom-color: rgba(99, 179, 237, 0.12);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-locale-label {
  color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-locale-seg {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 179, 237, 0.2);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-locale-btn {
  color: rgba(226, 232, 240, 0.65);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-locale-btn:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 250, 252, 0.92);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-locale-btn.is-active {
  background: linear-gradient(135deg, #e8a0d5 0%, #b15cc7 100%);
  color: #1a1520;
}

/* Leaderboard salon detail — scorecard / report tab (dark marketing theme) */
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-hero {
  border-color: rgba(99, 179, 237, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  background: linear-gradient(165deg, rgba(21, 34, 56, 0.96) 0%, rgba(12, 18, 32, 0.98) 100%) !important;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-kicker {
  color: #93c5fd;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-badge {
  background: rgba(12, 22, 40, 0.85);
  border-color: rgba(99, 179, 237, 0.28);
  color: rgba(226, 232, 240, 0.88);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-title {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-sub {
  color: rgba(226, 232, 240, 0.76);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-salonline,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-addr,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-phone {
  color: rgba(226, 232, 240, 0.58);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-disclaimer {
  color: rgba(226, 232, 240, 0.48);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-stat-k {
  color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-stat-val {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-stat-sub {
  color: rgba(226, 232, 240, 0.52);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-stat--risk {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.35), rgba(12, 18, 32, 0.92));
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-stat--warn {
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.38), rgba(12, 18, 32, 0.92));
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-stat--money {
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.35), rgba(12, 18, 32, 0.92));
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-score {
  border-color: rgba(240, 215, 140, 0.22);
  background: linear-gradient(145deg, rgba(21, 34, 56, 0.55) 0%, rgba(12, 18, 32, 0.78) 100%);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-h {
  color: rgba(255, 255, 255, 0.95);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-lead {
  color: rgba(226, 232, 240, 0.72);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-score-kpi {
  border-color: rgba(99, 179, 237, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-score-k {
  color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-score-v {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-meter {
  background: rgba(30, 41, 59, 0.85);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-score-sub {
  color: rgba(226, 232, 240, 0.62);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-score-rank {
  color: #c4b5fd;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-metric {
  border-color: rgba(99, 179, 237, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-metric-val {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-metric-tag {
  color: rgba(226, 232, 240, 0.58);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-metric-sub {
  color: rgba(226, 232, 240, 0.62);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-metric-lbl {
  color: rgba(226, 232, 240, 0.48);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-tone-warn {
  border-top-color: #fbbf24;
  background: linear-gradient(180deg, rgba(146, 64, 14, 0.35), rgba(12, 18, 32, 0.92));
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-tone-bad {
  border-top-color: #f87171;
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.38), rgba(12, 18, 32, 0.92));
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-table th,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-table td {
  border-bottom-color: rgba(99, 179, 237, 0.12);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-table th {
  color: rgba(226, 232, 240, 0.48);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-td-num {
  color: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-micro {
  color: rgba(226, 232, 240, 0.45);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-urgent {
  color: #fcd34d;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-radar {
  border-color: rgba(99, 179, 237, 0.18);
  background: linear-gradient(145deg, rgba(21, 34, 56, 0.55) 0%, rgba(12, 18, 32, 0.85) 100%);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-heat th,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-heat td {
  border-bottom-color: rgba(99, 179, 237, 0.12);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-heat th {
  color: rgba(226, 232, 240, 0.48);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-heat tr.is-you td {
  background: rgba(240, 215, 140, 0.12);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-heat-cell {
  border-color: rgba(99, 179, 237, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-ai-summary {
  background: linear-gradient(145deg, rgba(21, 34, 56, 0.65) 0%, rgba(12, 18, 32, 0.88) 100%);
  border-color: rgba(99, 179, 237, 0.16);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-ai-summary-kicker {
  color: #93c5fd;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-ai-summary-lead {
  color: rgba(226, 232, 240, 0.82);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-ai-summary-points {
  color: rgba(226, 232, 240, 0.72);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-ai-summary-focus-label {
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-ai-summary-fomo {
  color: #fde68a;
  background: rgba(146, 64, 14, 0.35);
  border-color: rgba(251, 191, 36, 0.35);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-ai-summary-cta {
  color: rgba(226, 232, 240, 0.88);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-ai-summary-cta-link {
  color: #93c5fd;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-miss {
  border-color: rgba(99, 179, 237, 0.16);
  border-left-color: #60a5fa;
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-miss-flag {
  color: #fbbf24;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-miss-h {
  color: rgba(255, 255, 255, 0.94);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-miss-b,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-miss-rev,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-miss-fix {
  color: rgba(226, 232, 240, 0.68);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-ol {
  color: rgba(226, 232, 240, 0.78);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-sol {
  border-color: rgba(99, 179, 237, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(12, 18, 32, 0.5));
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-sol-tag {
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-sol h3 {
  color: rgba(255, 255, 255, 0.94);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-sol p {
  color: rgba(226, 232, 240, 0.72);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-sol-impact {
  color: #fcd34d !important;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-sol-priority {
  color: #f4a8c7 !important;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-table-wrap.card,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-heat-wrap.card,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-ol.card,
html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-ba.card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(99, 179, 237, 0.16) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-ba-k {
  color: rgba(226, 232, 240, 0.52);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-ba-v {
  color: rgba(255, 255, 255, 0.94);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-ba-arrow {
  color: #86efac;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-quote {
  color: rgba(226, 232, 240, 0.72);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-cta-inner.card {
  background: linear-gradient(145deg, rgba(21, 34, 56, 0.75) 0%, rgba(12, 18, 32, 0.92) 100%) !important;
  border-color: rgba(99, 179, 237, 0.22) !important;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-cta-scarcity {
  color: #fde68a;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-cta-fomo {
  color: rgba(254, 226, 226, 0.92);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-cta-micro {
  color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-cta-sec {
  border-color: rgba(99, 179, 237, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.9);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-cta-sec:hover {
  border-color: rgba(201, 162, 39, 0.45);
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-td-hot {
  color: #fcd34d;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-rep-radar-canvas svg text {
  fill: rgba(203, 213, 225, 0.88) !important;
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-stat-hint-icon {
  border-color: rgba(99, 179, 237, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.75);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-shell--report .lb-stat-hint-pop {
  background: linear-gradient(180deg, #152238 0%, #0c1220 100%);
  border-color: rgba(99, 179, 237, 0.2);
  color: rgba(226, 232, 240, 0.88);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-cta p {
  color: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] body.route-marketing.route-leaderboard .lb-detail-cta .cta {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] body.route-marketing .lb-detail-error.card {
  background: linear-gradient(145deg, #0c1220 0%, #152238 42%, #0a1628 100%);
  border-color: rgba(99, 179, 237, 0.14);
  color: rgba(226, 232, 240, 0.82);
}

html[data-theme="dark"] body.route-marketing .lb-detail-error.card .landing-link {
  color: #93c5fd;
}

/* Local Ranking (intel list + detail) */
html[data-theme="dark"] body.route-marketing.route-analysis .intel-report-hero.card,
html[data-theme="dark"] body.route-marketing.route-analysis .intel-search-toolbar.card,
html[data-theme="dark"] body.route-marketing.route-analysis .intel-table-card.card {
  background: linear-gradient(145deg, #0c1220 0%, #152238 42%, #0a1628 100%);
  border: 1px solid rgba(99, 179, 237, 0.12);
  box-shadow:
    0 24px 64px rgba(8, 15, 35, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] body.route-marketing.route-analysis .marketing-page-intel .marketing-section-kicker {
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing.route-analysis .marketing-page-intel .marketing-title {
  color: rgba(255, 255, 255, 0.98);
}

html[data-theme="dark"] body.route-marketing.route-analysis .marketing-page-intel .marketing-body {
  color: rgba(226, 232, 240, 0.72);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-search-label {
  color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-search-input {
  background: rgba(10, 18, 32, 0.82);
  border-color: rgba(99, 179, 237, 0.22);
  color: rgba(248, 250, 252, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-list-cta {
  border-color: rgba(201, 162, 39, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-list-cta:hover,
html[data-theme="dark"] body.route-marketing.route-analysis .intel-list-cta:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 162, 39, 0.6);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-table thead th {
  background: rgba(255, 255, 255, 0.06);
  border-bottom-color: rgba(99, 179, 237, 0.18);
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-table tbody td {
  border-bottom-color: rgba(99, 179, 237, 0.12);
  color: rgba(248, 250, 252, 0.88);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-table-row:hover td {
  background: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-td-address {
  color: rgba(226, 232, 240, 0.58);
}

/* Analysis list (/analysis-reports): fit all columns in view without horizontal scroll */
body.route-marketing.route-analysis.route-analysis-list .intel-table-wrap {
  overflow-x: visible;
}

/* On viewports <= 640px, allow horizontal scroll for the table */
@media (max-width: 640px) {
  body.route-marketing.route-analysis.route-analysis-list .intel-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

body.route-marketing.route-analysis.route-analysis-list .intel-table {
  table-layout: fixed;
  width: 100%;
  max-width: 100%;
}

body.route-marketing.route-analysis.route-analysis-list .intel-table thead th {
  white-space: normal;
  padding: 10px 8px;
  font-size: 0.8rem;
  line-height: 1.25;
  vertical-align: bottom;
  word-break: break-word;
}

body.route-marketing.route-analysis.route-analysis-list .intel-table tbody td {
  padding: 10px 8px;
}

body.route-marketing.route-analysis.route-analysis-list .intel-table thead th:nth-child(1),
body.route-marketing.route-analysis.route-analysis-list .intel-td-name {
  width: 18%;
  min-width: 0;
  box-sizing: border-box;
}

body.route-marketing.route-analysis.route-analysis-list .intel-table thead th:nth-child(2),
body.route-marketing.route-analysis.route-analysis-list .intel-td-address {
  width: 40%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-sizing: border-box;
}

body.route-marketing.route-analysis.route-analysis-list .intel-table thead th:nth-child(3),
body.route-marketing.route-analysis.route-analysis-list .intel-table thead th:nth-child(4),
body.route-marketing.route-analysis.route-analysis-list .intel-table thead th:nth-child(5),
body.route-marketing.route-analysis.route-analysis-list .intel-td-num {
  width: 14%;
  min-width: 0;
  padding-left: 6px;
  padding-right: 6px;
  box-sizing: border-box;
}

body.route-marketing.route-analysis.route-analysis-list .intel-salon-link {
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.route-marketing.route-analysis .intel-salon-link {

html[data-theme="dark"] body.route-marketing.route-analysis .intel-salon-link {
  color: #93c5fd;
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-salon-link:hover,
html[data-theme="dark"] body.route-marketing.route-analysis .intel-salon-link:focus-visible {
  border-bottom-color: rgba(147, 197, 253, 0.55);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-table-empty {
  color: rgba(226, 232, 240, 0.55);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-error {
  color: #fca5a5;
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-metric {
  color: rgba(226, 232, 240, 0.58);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-metric strong {
  color: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-report::before {
  background: radial-gradient(ellipse 85% 70% at 50% 0%, rgba(99, 179, 237, 0.14) 0%, transparent 72%);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-hero {
  border-color: rgba(99, 179, 237, 0.18);
  background: linear-gradient(165deg, rgba(21, 34, 56, 0.96) 0%, rgba(12, 18, 32, 0.98) 100%);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-hero-salon-name,
html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-page-title,
html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-summary-title,
html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-section-title,
html[data-theme="dark"] body.route-marketing.route-analysis .intel-insight-title {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-hero-salon-address,
html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-lead {
  color: rgba(226, 232, 240, 0.62);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-eyebrow,
html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-page-title .intel-growth-page-date,
html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-score-label {
  color: #93c5fd;
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-score-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 179, 237, 0.22);
  box-shadow: none;
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-score-value {
  color: rgba(255, 255, 255, 0.96);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-score-value span {
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-meta {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(99, 179, 237, 0.18);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-meta-key {
  color: rgba(147, 197, 253, 0.88);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-meta-val {
  color: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-summary-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 179, 237, 0.16);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-summary-eyebrow {
  color: #93c5fd;
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-summary-title {
  color: rgba(255, 255, 255, 0.94);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-insight-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 179, 237, 0.14);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-insight-eyebrow {
  color: rgba(226, 232, 240, 0.48);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-insight-copy {
  color: rgba(226, 232, 240, 0.68);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-action-list {
  color: rgba(226, 232, 240, 0.85);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-action-list strong {
  color: #f4a8c7;
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-growth-actions {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(99, 179, 237, 0.14);
}

html[data-theme="dark"] body.route-marketing.route-analysis .intel-offer-card {
  background: linear-gradient(145deg, rgba(21, 34, 56, 0.96) 0%, rgba(12, 18, 32, 0.98) 100%);
  border-color: rgba(201, 162, 39, 0.38);
  box-shadow: 0 14px 40px rgba(8, 15, 35, 0.45);
}

/* =========================================================
   Light mode — Leaderboard + Analysis reports
   (dark navy overrides above are scoped to dark theme only
    via higher-specificity resets here)
========================================================= */

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-page .lb-hero,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-hero {
  background: linear-gradient(145deg, var(--rms-bg-card) 0%, var(--rms-bg-soft) 55%, var(--rms-bg-card-2) 100%);
  border: 1px solid var(--rms-border);
  box-shadow: var(--rms-shadow-card);
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-hero .marketing-title,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-hero-sub,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-live-pill,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-preview-inline {
  color: var(--rms-text-soft);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-hero .marketing-title {
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-hero-accent {
  color: var(--rms-gold);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-search-input {
  background: var(--rms-bg-card-2);
  border-color: var(--rms-border-strong);
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-search-input::placeholder {
  color: var(--rms-text-muted);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-search-btn,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-hero-request {
  border-color: var(--rms-border-strong);
  background: var(--rms-gold-soft);
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-hero-banner {
  border-top-color: var(--rms-border);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-preview-inline .landing-link {
  color: #9a6b12;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-toolbar {
  background: var(--rms-bg-card);
  border: 1px solid var(--rms-border);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-select-wrap {
  color: var(--rms-text-muted);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-select {
  background: var(--rms-bg-card-2);
  border-color: var(--rms-border-strong);
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-count,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-pager-meta {
  color: var(--rms-text-muted);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-cat-pill {
  background: var(--rms-bg-card-2);
  border-color: var(--rms-border);
  color: var(--rms-text-soft);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-cat-pill.is-active {
  background: linear-gradient(135deg, #e8a0d5 0%, #b15cc7 100%);
  color: #1a1520;
  border-color: transparent;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card {
  background: var(--rms-bg-card);
  border: 1px solid var(--rms-border);
  box-shadow: var(--rms-shadow-card);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-name,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-name a {
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-meta,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-menu-btn {
  color: var(--rms-text-muted);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-menu-btn:hover {
  background: var(--rms-gold-soft);
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-menu-popover {
  background: var(--rms-bg-card-2);
  border-color: var(--rms-border-strong);
  box-shadow: var(--rms-shadow-soft);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-menu-item {
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-menu-item:hover {
  background: var(--rms-gold-soft);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-card-menu-item--link {
  color: #9a6b12;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-metric-muted,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-metrics .lb-metric {
  background: var(--rms-bg-soft) !important;
  border: 1px solid var(--rms-border) !important;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-metric-muted .lb-metric-val,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-metrics .lb-metric:first-child .lb-metric-val,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-metrics .lb-metric:nth-child(2) .lb-metric-val {
  color: var(--rms-text) !important;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-metric-muted .lb-metric-lbl,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-metrics .lb-metric .lb-metric-lbl {
  color: var(--rms-text-muted);
}

html[data-theme="light"] body.route-marketing.route-leaderboard button.ghost.lb-pager-btn {
  border-color: var(--rms-border-strong);
  background: var(--rms-bg-card);
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-leaderboard button.ghost.lb-pager-btn:hover:not(:disabled) {
  border-color: rgba(212, 175, 55, 0.55);
  background: var(--rms-gold-soft);
  color: #9a6b12;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-detail-hero,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-detail-shell--report,
html[data-theme="light"] body.route-marketing .lb-detail-error.card {
  background: linear-gradient(145deg, var(--rms-bg-card) 0%, var(--rms-bg-soft) 100%);
  border-color: var(--rms-border);
  color: var(--rms-text-soft);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-detail-kicker {
  color: #9a6b12;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-detail-address,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-detail-phone,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-detail-meta,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-detail-zip,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-tab,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-stat-lbl,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-stat-sub {
  color: var(--rms-text-muted);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-tab.is-active,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-stat-val,
html[data-theme="light"] body.route-marketing.route-leaderboard .lb-detail-cta p {
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-detail-topbar .lb-back,
html[data-theme="light"] body.route-marketing .lb-detail-error.card .landing-link {
  color: #9a6b12;
}

html[data-theme="light"] body.route-marketing.route-leaderboard .lb-stat {
  background: var(--rms-bg-soft);
}

/* Analysis reports — list + loading (not brief detail shell) */
html[data-theme="light"] body.route-marketing.route-analysis .marketing-page-intel:not(.marketing-page-intel-brief) .intel-report-hero.card,
html[data-theme="light"] body.route-marketing.route-analysis .marketing-page-intel:not(.marketing-page-intel-brief) .intel-search-toolbar.card,
html[data-theme="light"] body.route-marketing.route-analysis .marketing-page-intel:not(.marketing-page-intel-brief) .intel-table-card.card {
  background: linear-gradient(145deg, var(--rms-bg-card) 0%, var(--rms-bg-soft) 100%);
  border: 1px solid var(--rms-border);
  box-shadow: var(--rms-shadow-card);
}

html[data-theme="light"] body.route-marketing.route-analysis .marketing-page-intel .marketing-section-kicker {
  color: #9a6b12;
}

html[data-theme="light"] body.route-marketing.route-analysis .marketing-page-intel .marketing-title,
html[data-theme="light"] body.route-marketing.route-analysis .marketing-page-intel .marketing-body,
html[data-theme="light"] body.route-marketing.route-analysis .intel-metric strong {
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-analysis .marketing-page-intel .marketing-body,
html[data-theme="light"] body.route-marketing.route-analysis .intel-metric,
html[data-theme="light"] body.route-marketing.route-analysis .intel-search-label,
html[data-theme="light"] body.route-marketing.route-analysis .intel-td-address,
html[data-theme="light"] body.route-marketing.route-analysis .intel-table-empty {
  color: var(--rms-text-soft);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-search-input {
  background: var(--rms-bg-card-2);
  border-color: var(--rms-border-strong);
  color: var(--rms-text);
  box-shadow: none;
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-list-cta {
  border-color: rgba(212, 175, 55, 0.45);
  background: var(--rms-gold-soft);
  color: #7a5a0f;
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-list-cta:hover,
html[data-theme="light"] body.route-marketing.route-analysis .intel-list-cta:focus-visible {
  background: rgba(212, 175, 55, 0.28);
  border-color: rgba(212, 175, 55, 0.65);
  color: #5c4308;
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-table thead th {
  background: var(--rms-bg-soft);
  border-bottom-color: var(--rms-border);
  color: #9a6b12;
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-table tbody td {
  border-bottom-color: var(--rms-border);
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-table-row:hover td {
  background: var(--rms-gold-soft);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-salon-link {
  color: #9a6b12;
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-salon-link:hover,
html[data-theme="light"] body.route-marketing.route-analysis .intel-salon-link:focus-visible {
  border-bottom-color: rgba(154, 107, 18, 0.45);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-error {
  color: #b91c1c;
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-back .landing-link,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-back .landing-link {
  color: #9a6b12;
}

/* Analysis report detail — brief template */
html[data-theme="light"] body.route-marketing.route-analysis .marketing-page-intel-brief {
  background: transparent;
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-report,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-report.card {
  background: var(--rms-bg-card);
  border-color: var(--rms-border);
  color: var(--rms-text);
  box-shadow: var(--rms-shadow-card);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-header {
  border-bottom-color: var(--rms-border);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-header h1,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-overall-title,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-score-num,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-cta-head h2,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-competitors-lock-title {
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-preview,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-location,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-generated,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-generated p:last-child,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-section-label,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-overall-summary,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-metric-label,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-metric-sub,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-score-label,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-locked,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-competitor-row,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-competitors-lock-sub,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-cta-head p,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-cta-feature,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-cta-footnote {
  color: var(--rms-text-muted);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-overall,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-scorecard,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-growth,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-competitors {
  border-color: var(--rms-border);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-metric--success .intel-brief-metric-value {
  color: var(--rms-score-good);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-metric--warning .intel-brief-metric-value {
  color: var(--rms-score-fair);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-metric--danger .intel-brief-metric-value {
  color: var(--rms-score-weak);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-score-row--border {
  border-top-color: var(--rms-border);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-bar-track {
  background: var(--rms-bg-soft);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-service-row {
  background: var(--rms-bg-soft);
  color: var(--rms-text-soft);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-competitor-row {
  border-bottom-color: var(--rms-border);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-competitors-lock {
  background: rgba(255, 250, 240, 0.82);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-cta {
  border-color: rgba(212, 175, 55, 0.35);
  background: linear-gradient(165deg, var(--rms-bg-card) 0%, var(--rms-bg-soft) 100%);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-cta-price {
  color: var(--rms-text);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-cta-price span {
  color: var(--rms-text-muted);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-cta-actions .intel-offer-pay-btn {
  background: linear-gradient(135deg, #e6c35f, #f2dfa1);
  color: #07101c;
  box-shadow: 0 14px 28px rgba(80, 66, 35, 0.16);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-cta-actions .intel-offer-pay-btn:hover,
html[data-theme="light"] body.route-marketing.route-analysis .intel-brief-cta-actions .intel-offer-pay-btn:focus-visible {
  box-shadow: 0 18px 34px rgba(80, 66, 35, 0.22);
}

/* Store visit pages use dark theme (zoca style) */
html.store-theme-locked {
  color-scheme: dark;
}

html.store-theme-locked[data-theme="dark"] {
  color-scheme: dark;
}

/* --- Store visit (/stores/{slug}) flat UI shell --- */
body.route-store {
  --store-surface: #0d0b1f;
  --store-surface-2: #1a1338;
  --store-surface-ink: #f5f0fa;
  --store-text: #f5f0fa;
  --store-muted: rgba(245, 240, 250, 0.62);
  --store-border: rgba(232, 160, 213, 0.18);
  --store-coral: #f4a8c7;
  --store-coral-soft: #e8a0d5;
  --store-btn: #e8a0d5;
  --store-radius-lg: 20px;
  --store-radius-md: 14px;
  --store-radius-pill: 999px;
  background: var(--store-surface) !important;
  color: var(--store-surface-ink);
}

body.route-store .layout.single-stage {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

/* Desktop: center the store card and drop it ~2 inch (192px) from the nav */
/* (also added at end of file as a backup) */

body.route-store .intake-card,
body.route-store .reviews-card,
body.route-store .dishes-card {
  background: #1a1338;
  border: 1px solid rgba(232, 160, 213, 0.18);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.32);
  border-radius: var(--store-radius-lg);
  padding: 24px 18px;
  backdrop-filter: none;
  color: var(--store-surface-ink);
}

body.route-store .hero {
  box-shadow: none;
  margin-bottom: 8px;
  padding: 10px 4px 6px;
  border: none;
  border-radius: var(--store-radius-md);
  background: transparent;
  backdrop-filter: none;
}

body.route-store .hero-topline {
  justify-content: flex-end;
}

body.route-store #brandName,
body.route-store #title,
body.route-store #subtitle {
  display: none;
}

body.route-store #title {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  line-height: 1.25;
}

body.route-store .lang-menu {
  position: relative;
  top: auto;
  right: auto;
}

body.store-visit-ready #intakePillRow {
  display: none;
}

body.store-visit-ready.store-has-receipt #intakePillRow {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

body.store-visit-ready.store-has-receipt #intakePillRow #uploadBtn,
body.store-visit-ready.store-has-receipt #intakePillRow #writeOwnReviewBtn {
  display: none !important;
}

.store-visit-shell {
  display: grid;
  gap: 18px;
  max-width: 448px;
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}

.store-visit-brand {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.store-visit-brand-name,
html[data-theme="dark"] header h1.store-visit-brand-name,
html[data-theme="light"] header h1.store-visit-brand-name {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  width: 100%;
  font-size: clamp(1.9rem, 6vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
  text-align: center;
  color: var(--store-coral-soft) !important;
}

.hidden-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.store-visit-service-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--store-radius-md);
  background: var(--store-surface-2);
  border: none;
}

.store-visit-service-icon {
  font-size: 1rem;
  line-height: 1;
  color: var(--store-coral-soft);
  margin-top: 2px;
}

.store-visit-service-copy {
  min-width: 0;
}

.store-visit-service-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--store-muted);
}

.store-visit-service-name {
  margin: 4px 0 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--store-surface-ink);
  line-height: 1.35;
}

.store-visit-hero {
  width: 100%;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.store-visit-heart-wrap {
  position: relative;
  width: auto;
  height: auto;
  margin: 0 auto;
  display: grid;
  place-items: center;
  justify-self: center;
}

.store-visit-heart {
  position: relative;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--store-coral);
}

.store-visit-hero-title {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--store-surface-ink);
  line-height: 1.25;
  text-align: center;
}

.store-visit-hero-lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--store-muted);
  max-width: 34ch;
}

.store-sentiment-block {
  width: 100%;
  display: grid;
  gap: 10px;
}

.store-sentiment-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.store-sentiment-btn {
  min-height: 54px;
  border-radius: var(--store-radius-pill);
  border: 1px solid var(--store-border);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.store-sentiment-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.store-sentiment-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.store-sentiment-btn--primary {
  border-color: transparent;
  background: var(--store-btn);
  color: #0d0b1f;
}

.store-sentiment-btn--secondary {
  background: var(--store-surface-2);
  color: var(--store-surface-ink);
}

.store-flow-card {
  width: 100%;
  margin-top: 4px;
  padding: 18px;
  border-radius: 18px;
  background: var(--store-surface-2);
  border: 1px solid var(--store-border);
  text-align: left;
  display: grid;
  gap: 14px;
}

.store-flow-head {
  display: grid;
  gap: 6px;
}

.store-flow-step {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--store-muted);
}

.store-flow-title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--store-surface-ink);
}

.store-flow-hint {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--store-muted);
}

.store-flow-choice-list,
.store-flow-service-list {
  display: grid;
  gap: 10px;
}

.store-flow-choice-btn,
.store-flow-service-btn {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--store-border);
  background: var(--store-surface);
  color: var(--store-surface-ink);
  text-align: left;
  font: inherit;
  font-size: 0.94rem;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.store-flow-choice-btn.is-selected,
.store-flow-service-btn.is-selected {
  border-color: rgba(201, 122, 90, 0.45);
  background: rgba(201, 122, 90, 0.1);
  color: var(--store-coral);
}

.store-flow-search-label {
  display: block;
}

.store-flow-search-input {
  width: 100%;
}

.store-flow-selected {
  display: grid;
  gap: 8px;
}

.store-flow-selected-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--store-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-flow-selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-flow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: none;
  background: rgba(201, 122, 90, 0.12);
  color: var(--store-coral);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.store-flow-empty {
  margin: 0;
  font-size: 0.9rem;
  color: var(--store-muted);
}

.store-flow-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.store-flow-actions--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 380px) {
  .store-flow-actions--triple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-flow-actions--triple .cta {
    grid-column: 1 / -1;
  }
}

.review-write-own-btn {
  width: 100%;
  margin-top: 10px;
}

.store-visit-stars-block {
  display: grid;
  gap: 10px;
  justify-items: center;
  width: 100%;
}

.store-visit-stars {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.store-visit-star-tile {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  border: 1.5px solid rgba(201, 122, 90, 0.32);
  background: transparent;
  color: var(--store-coral-soft);
  font-size: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
  transition: color 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

.store-visit-star-glyph {
  font-size: 1.35rem;
  line-height: 1;
  pointer-events: none;
}

.store-visit-star-tile:hover:not(:disabled) {
  border-color: rgba(201, 122, 90, 0.55);
  transform: translateY(-1px);
}

.store-visit-star-tile:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.store-visit-star-tile.is-filled {
  color: var(--store-coral);
  border-color: rgba(201, 122, 90, 0.5);
  background: rgba(201, 122, 90, 0.08);
}

.store-visit-star-tile.is-filled .store-visit-star-glyph {
  color: var(--store-coral);
}

.store-visit-star-tile.is-active {
  border-color: var(--store-coral);
  background: rgba(201, 122, 90, 0.12);
}

.store-visit-mood {
  margin: 0;
  min-height: 1.35em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--store-surface-ink);
  text-align: center;
}

.store-visit-low-star-hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--store-coral-soft);
  text-align: center;
  max-width: 36ch;
}

.store-visit-cta-stack {
  display: grid;
  gap: 14px;
  width: 100%;
}

.store-visit-google-cta {
  width: 100%;
  border: none;
  border-radius: var(--store-radius-pill);
  padding: 16px 20px;
  background: var(--store-btn);
  color: #faf8f6;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(45, 41, 38, 0.14);
  transition: opacity 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.store-visit-google-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.store-visit-google-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.store-visit-google-cta-text {
  flex: 1;
  text-align: center;
  font-size: clamp(1rem, 3.8vw, 1.12rem);
  font-weight: 700;
  line-height: 1.35;
}

.store-visit-google-cta-arrow {
  font-size: 1rem;
  opacity: 0.85;
}

.store-visit-google-cta.is-rating-low {
  opacity: 0.62;
}

.store-visit-google-cta.is-rating-high {
  outline: none;
  box-shadow: 0 0 0 2px rgba(201, 122, 90, 0.35);
}

.store-visit-or {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0;
  color: var(--store-muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.store-visit-or-line {
  display: none;
}

.store-visit-or-text {
  text-align: center;
}

.store-visit-private-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  border-radius: var(--store-radius-pill);
  border: none;
  background: rgba(45, 41, 38, 0.06);
  color: var(--store-surface-ink);
  font: inherit;
  font-size: clamp(0.98rem, 3.6vw, 1.06rem);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.35;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: color 0.12s ease, background 0.12s ease;
}

.store-visit-private-cta:hover {
  color: var(--store-coral-soft);
  background: rgba(201, 122, 90, 0.1);
}

.store-visit-private-cta.is-emphasized {
  color: var(--store-coral);
  background: rgba(201, 122, 90, 0.14);
}

.store-visit-write-own {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--store-radius-pill);
  border: none;
  background: rgba(45, 41, 38, 0.04);
  color: var(--store-surface-ink);
  font-size: clamp(0.96rem, 3.5vw, 1.04rem);
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  text-decoration: none;
}

.store-visit-write-own:hover:not(:disabled) {
  color: var(--store-surface-ink);
}

.store-visit-write-own:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.store-visit-social-proof {
  margin: 6px 0 0;
  width: 100%;
  font-size: 0.88rem;
  color: var(--store-muted);
  line-height: 1.45;
  max-width: 26rem;
  text-align: center;
}

.store-visit-social-count {
  display: inline-block;
  min-width: 1.5ch;
  font-size: 1.08em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--store-coral);
  transform-origin: center bottom;
}

.store-visit-social-count.is-animating {
  animation: store-visit-count-tick 0.14s ease;
}

@keyframes store-visit-count-tick {
  0% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-3px) scale(1.12);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.store-visit-receipt-block {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

body.route-store.store-has-receipt .store-visit-receipt-block {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--store-border);
}

/* 上半部主 CTA 已说明动作：隐藏重复标题，空预览改为一条扫描提示，去掉大块占位 */
body.store-visit-ready .store-visit-receipt-block {
  margin-top: 4px;
  padding-top: 10px;
}

body.route-store .store-visit-lead-head {
  display: block;
  margin: 0 0 10px;
  text-align: center;
}

body.route-store .store-visit-lead-head #uploadTitle {
  display: none !important;
}

body.route-store .store-visit-lead-hint {
  display: block !important;
  margin: 0;
  padding: 0 6px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--store-muted);
  max-width: 34ch;
  margin-inline: auto;
}

body.route-store #storeVisitWelcomeSlab {
  display: none !important;
}

/* Beat generic .receipt-preview min-height from @media rules (220px–280px slab) */
body.route-store.store-visit-ready .receipt-preview.empty {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px dashed var(--store-border);
  background: var(--store-surface-2) !important;
  background-image: none !important;
  align-items: center;
  justify-content: center;
}

/* Empty preview hidden — welcome lives under lead title */
body.route-store.store-visit-ready:not(.store-has-receipt) #receiptPreview {
  display: none !important;
}

body.route-store.store-visit-ready:not(.store-has-receipt) .store-visit-receipt-block {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Store page: skip receipt upload entirely — 3-click flow only */
/* (also at end of file as backup) */

body.store-visit-ready .receipt-preview.empty .empty-text {
  color: var(--store-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: 36ch;
}

body.store-visit-ready #storeVisitWelcomeSlab.store-visit-welcome-slab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 4px 0 10px;
  padding: 12px 14px;
  border: 1px solid rgba(45, 41, 38, 0.1);
  border-radius: 10px;
  background: var(--store-surface-2, rgba(45, 41, 38, 0.04));
}

body.store-visit-ready #storeVisitWelcomeSlab.store-visit-welcome-slab.hidden {
  display: none !important;
}

body.store-visit-ready .store-visit-welcome-text {
  margin: 0;
  max-width: none;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--store-surface-ink);
  letter-spacing: 0.01em;
}

body.store-visit-ready .store-visit-welcome-heart {
  color: #e11d48;
  font-size: 1.05em;
  line-height: 1;
  vertical-align: -0.05em;
}

body.store-visit-ready .receipt-preview.empty::after {
  box-shadow: none;
}

body.store-visit-ready.store-has-receipt .receipt-preview:not(.empty) {
  min-height: 112px;
  height: auto;
  max-height: min(48vh, 300px);
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid var(--store-border);
  background: var(--store-surface-2);
  background-image: none;
}

body.store-visit-ready.store-has-receipt .receipt-preview:not(.empty) img {
  object-fit: contain;
  max-height: min(48vh, 300px);
  width: 100%;
  height: auto;
}

@media (min-width: 981px) {
  body.store-visit-ready.store-has-receipt .receipt-preview:not(.empty) {
    min-height: 140px;
    max-height: 320px;
    height: auto;
  }

  body.store-visit-ready.store-has-receipt .receipt-preview:not(.empty) img {
    max-height: 320px;
  }
}

body.store-visit-ready.body.has-results .receipt-preview:not(.empty) {
  min-height: 86px;
  max-height: 86px;
  margin-top: 0;
}

body.store-visit-ready.body.has-results .receipt-preview:not(.empty) img {
  max-height: 86px;
  object-fit: cover;
}

@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .store-visit-star-tile.is-filled {
    background: rgba(201, 122, 90, 0.12);
    border-color: rgba(201, 122, 90, 0.35);
  }

  .store-visit-private-cta.is-emphasized {
    background: rgba(201, 122, 90, 0.08);
  }
}

/* Private feedback modal (store page) */
.store-private-feedback-backdrop {
  position: fixed;
  inset: 0;
  z-index: 46;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px));
  background: rgba(45, 41, 38, 0);
  backdrop-filter: blur(0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    background 0.22s ease,
    backdrop-filter 0.22s ease,
    visibility 0s linear 0.22s;
}

.store-private-feedback-backdrop.is-open {
  background: rgba(45, 41, 38, 0.42);
  backdrop-filter: blur(10px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.22s ease,
    background 0.22s ease,
    backdrop-filter 0.22s ease,
    visibility 0s linear 0s;
}

.store-private-feedback-dialog {
  position: relative;
  width: min(400px, 100%);
  max-height: min(88dvh, 520px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid var(--store-border, rgba(45, 41, 38, 0.1));
  background: var(--store-surface, #faf8f6);
  box-shadow: 0 16px 48px rgba(45, 41, 38, 0.18);
  transform: translateY(8px) scale(0.99);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-private-feedback-backdrop.is-open .store-private-feedback-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.store-private-feedback-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(45, 41, 38, 0.06);
  color: var(--store-surface-ink, #2d2926);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.store-private-feedback-title {
  margin: 0;
  padding-right: 32px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--store-surface-ink, #2d2926);
  line-height: 1.3;
  flex-shrink: 0;
}

.store-private-feedback-intro {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--store-muted, rgba(45, 41, 38, 0.55));
  flex-shrink: 0;
}

#storePrivateFeedbackFormPane,
.store-private-feedback-thanks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.store-private-feedback-form {
  display: grid;
  gap: 8px;
}

.store-private-feedback-label {
  display: grid;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--store-surface-ink, #2d2926);
}

.store-private-feedback-label--block {
  grid-column: 1 / -1;
}

.store-private-feedback-form .text-input {
  flex: none;
  width: 100%;
  box-sizing: border-box;
  min-height: 38px;
  padding: 9px 11px;
  font-size: 0.88rem;
  line-height: 1.35;
  border-radius: 10px;
  border: 1px solid rgba(45, 41, 38, 0.14);
  background: #fff;
  color: var(--store-surface-ink, #2d2926);
}

.store-private-feedback-form .text-input::placeholder {
  color: rgba(45, 41, 38, 0.38);
}

.store-private-feedback-form .text-input:focus {
  outline: none;
  border-color: rgba(201, 122, 90, 0.45);
  box-shadow: 0 0 0 3px rgba(201, 122, 90, 0.12);
}

.store-private-feedback-textarea {
  resize: none;
  min-height: 68px;
  max-height: min(22dvh, 120px);
  font-family: inherit;
  line-height: 1.45;
}

.store-private-feedback-error {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #b42318;
}

.store-private-feedback-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: stretch;
  margin-top: 2px;
  flex-shrink: 0;
}

.store-private-feedback-actions .ghost,
.store-private-feedback-actions .cta {
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px;
  padding: 10px 12px;
  font-size: 0.86rem;
  border-radius: 999px;
}

.store-private-feedback-thanks {
  padding-top: 0;
}

.store-private-feedback-thanks .cta {
  width: 100%;
  min-height: 40px;
  padding: 10px 14px;
  font-size: 0.88rem;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .store-private-feedback-backdrop {
    align-items: flex-end;
    padding: 0 0 max(8px, env(safe-area-inset-bottom, 0px));
  }

  .store-private-feedback-dialog {
    width: 100%;
    max-height: min(90dvh, 100%);
    border-radius: 16px 16px 12px 12px;
    padding: 12px 12px 10px;
  }

  .store-private-feedback-title {
    font-size: 0.98rem;
  }

  .store-private-feedback-intro {
    font-size: 0.78rem;
  }

  .store-private-feedback-form {
    gap: 7px;
  }

  .store-private-feedback-form .text-input {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 16px; /* avoids iOS zoom on focus */
  }

  .store-private-feedback-textarea {
    min-height: 60px;
    max-height: min(18dvh, 100px);
    font-size: 16px;
  }
}

/* Admin portal: private feedback inbox */
.portal-private-feedback-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-soft);
}

.portal-private-feedback-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.portal-private-feedback-table th,
.portal-private-feedback-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(132, 88, 78, 0.12);
  vertical-align: top;
}

.portal-private-feedback-table th {
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 248, 243, 0.55);
}

.portal-private-feedback-table tbody tr:last-child td {
  border-bottom: none;
}

.portal-private-feedback-table .pf-msg {
  white-space: pre-wrap;
  word-break: break-word;
  max-width: min(28rem, 52vw);
}

.portal-private-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Store slug invalid / inactive, or bootstrap still loading: no fake “upload receipt” slab */
body.route-store.store-bootstrap-gated #storeVisitReceiptBlock .section-head,
body.route-store.store-bootstrap-gated #storeVisitReceiptBlock #intakePillRow,
body.route-store.store-bootstrap-gated #storeVisitReceiptBlock #receiptPreview {
  display: none !important;
}

body.route-store.store-bootstrap-gated #storeVisitReceiptBlock {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

body.route-store.store-bootstrap-gated .intake-card {
  padding-top: 12px;
  padding-bottom: 14px;
}

body.route-store.store-bootstrap-gated #receiptMeta {
  display: none;
}

body.route-store.store-bootstrap-gated #receiptStatusGroup {
  margin-top: 0;
}

@media (max-width: 900px) {
  body.route-store .app {
    width: 100%;
    max-width: 100%;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }

  body.route-store .layout.single-stage {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  body.route-store #pageHero.hero {
    margin: 0 !important;
    padding: 2px 0 4px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  body.route-store .lang-globe-btn {
    width: 32px !important;
    height: 32px !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.route-store .intake-card {
    padding: 10px 8px 14px !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .store-visit-shell {
    max-width: 100%;
    gap: 12px;
  }

  body.route-store .store-visit-brand,
  body.route-store .store-visit-brand-name {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.route-store .store-visit-brand-name {
    font-size: clamp(1.02rem, 4.4vw, 1.32rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.route-store .store-visit-service-card {
    padding: 8px 10px !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
  }

  body.route-store .store-visit-hero {
    display: grid !important;
    justify-items: center !important;
    width: 100% !important;
    gap: 8px !important;
  }

  body.route-store .store-visit-heart-wrap {
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    justify-self: center !important;
    place-self: center !important;
  }

  body.route-store .store-visit-hero-title {
    font-size: 1rem !important;
    line-height: 1.28 !important;
    font-weight: 700 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 4px !important;
    text-align: center !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    letter-spacing: normal !important;
  }

  .store-visit-hero-lead {
    font-size: 0.88rem;
    padding: 0 4px;
  }

  .store-visit-stars {
    gap: 6px;
  }

  .store-visit-stars {
    max-width: min(100%, 260px);
    gap: 8px;
  }

  .store-visit-star-tile {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .store-visit-star-glyph {
    font-size: 1.28rem;
  }

  .store-visit-google-cta {
    padding: 15px 16px;
  }

  .store-visit-google-cta-text {
    text-align: center;
    line-height: 1.35;
  }

  .store-visit-social-proof {
    font-size: 0.86rem;
    max-width: none;
  }

  .store-visit-social-count {
    font-size: 1.12em;
  }

  body.route-store.store-visit-ready.store-has-receipt .receipt-preview:not(.empty) {
    max-height: min(42vh, 260px);
  }

  body.route-store.store-visit-ready.store-has-receipt .receipt-preview:not(.empty) img {
    max-height: min(42vh, 260px);
  }
}

/* =========================================================
   FINAL APP.JS HEADER + LOGO THEME OVERRIDE
   Put at the VERY BOTTOM of styles.css
========================================================= */

/* Header changes with light / dark mode */
html[data-theme="dark"] body .marketing-page > .marketing-nav-shell,
html[data-theme="dark"] body .marketing-nav-shell {
  background:
    linear-gradient(180deg, #0b1322 0%, #101b2d 100%) !important;
  border: 1px solid rgba(117, 149, 208, 0.16) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24) !important;
}

html[data-theme="light"] body .marketing-page > .marketing-nav-shell,
html[data-theme="light"] body .marketing-nav-shell {
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(246, 237, 219, 0.98)) !important;
  border: 1px solid rgba(21, 21, 21, 0.12) !important;
  box-shadow: 0 18px 44px rgba(80, 66, 35, 0.14) !important;
}

/* Header layout protection */
body .marketing-nav-shell {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 14px !important;
  overflow: visible !important;
}

body .marketing-nav-main {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 18px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

body .marketing-brand {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

/* Logo: Rank changes color by theme */
html[data-theme="dark"] body .marketing-brand .brand-part-rank {
  color: #f5f8ff !important;
  background: none !important;
  -webkit-text-fill-color: #f5f8ff !important;
  font-weight: 700 !important;
}

html[data-theme="light"] body .marketing-brand .brand-part-rank {
  color: #151515 !important;
  background: none !important;
  -webkit-text-fill-color: #151515 !important;
  font-weight: 700 !important;
}

/* Logo: MySalon must stay gold gradient */
html[data-theme="dark"] body .marketing-brand .brand-part-mysalon,
html[data-theme="light"] body .marketing-brand .brand-part-mysalon {
  background: linear-gradient(135deg, #fff0b6 0%, #e6c35f 42%, #cfa83d 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 0 18px rgba(230, 195, 95, 0.18) !important;
  font-weight: 700 !important;
}

/* Nav link colors */
html[data-theme="dark"] body .marketing-nav-shell .marketing-nav-link {
  color: #9daabe !important;
}

html[data-theme="light"] body .marketing-nav-shell .marketing-nav-link {
  color: rgba(21, 21, 21, 0.58) !important;
}

html[data-theme="dark"] body .marketing-nav-shell .marketing-nav-link:hover,
html[data-theme="dark"] body .marketing-nav-shell .marketing-nav-link.is-active,
html[data-theme="light"] body .marketing-nav-shell .marketing-nav-link:hover,
html[data-theme="light"] body .marketing-nav-shell .marketing-nav-link.is-active {
  color: #e8a0d5 !important;
}

/* Right side buttons */
html[data-theme="dark"] body .marketing-nav-shell .marketing-auth-link,
html[data-theme="dark"] body .marketing-nav-shell .marketing-lang-toggle {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #edf4ff !important;
}

html[data-theme="light"] body .marketing-nav-shell .marketing-auth-link,
html[data-theme="light"] body .marketing-nav-shell .marketing-lang-toggle {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(21, 21, 21, 0.16) !important;
  color: #151515 !important;
  box-shadow: 0 8px 22px rgba(80, 66, 35, 0.08) !important;
}

/* Language text */
html[data-theme="dark"] body .marketing-nav-shell .marketing-lang-btn-label,
html[data-theme="dark"] body .marketing-nav-shell .marketing-lang-btn-caret {
  color: #edf4ff !important;
}

html[data-theme="light"] body .marketing-nav-shell .marketing-lang-btn-label,
html[data-theme="light"] body .marketing-nav-shell .marketing-lang-btn-caret {
  color: #151515 !important;
}

/* Theme toggle button */
html[data-theme="dark"] body .marketing-nav-shell .theme-toggle {
  background: rgba(47, 140, 255, 0.08) !important;
  border-color: #2f8cff !important;
  color: #f8fafc !important;
}

html[data-theme="light"] body .marketing-nav-shell .theme-toggle {
  background: rgba(212, 175, 55, 0.14) !important;
  border-color: rgba(212, 175, 55, 0.5) !important;
  color: #151515 !important;
}

/* Contact Us stays red */
html[data-theme="dark"] body .marketing-nav-shell .marketing-contact-nav-btn,
html[data-theme="light"] body .marketing-nav-shell .marketing-contact-nav-btn {
  background: linear-gradient(135deg, #9f1118 0%, #d31b25 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 34px rgba(211, 27, 37, 0.28) !important;
}

/* Language dropdown */
html[data-theme="dark"] body .marketing-lang-menu {
  background: #0d1624 !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

html[data-theme="light"] body .marketing-lang-menu {
  background: var(--rms-bg-card, #1a1338) !important;
  border-color: rgba(21, 21, 21, 0.12) !important;
  box-shadow: 0 16px 40px rgba(80, 66, 35, 0.14) !important;
}

html[data-theme="dark"] body .marketing-lang-option {
  color: #f8fafc !important;
}

html[data-theme="light"] body .marketing-lang-option {
  color: #151515 !important;
}

/* =========================================================
   EMERGENCY MOBILE OVERFLOW + HEADER FIX
   RankMySalon
   Put this at the very bottom of theme.css or styles.css
========================================================= */

@media (max-width: 768px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    margin: 0 !important;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box !important;
  }

  body > *,
  #root,
  .app,
  main,
  .page,
  .page-wrapper,
  .site-wrapper,
  .content,
  .container {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Force all main cards/sections to stay inside mobile screen */
  header,
  .header,
  .site-header,
  .rms-header,
  .topbar,
  .nav-card,
  .hero,
  .hero-card,
  .section,
  .section-card,
  .card,
  .panel,
  .service-card,
  .tier-card,
  .lead-card,
  .form-card,
  [class*="card"],
  [class*="Card"],
  [class*="panel"],
  [class*="Panel"],
  [class*="hero"],
  [class*="Hero"] {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden !important;
  }

  /* Header layout */
  header,
  .header,
  .site-header,
  .rms-header,
  .topbar,
  .nav-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
    padding: 26px 20px !important;
    border-radius: 24px !important;
  }

  /* Logo centered */
  .logo,
  .brand,
  .brand-logo,
  .site-logo,
  .rms-logo,
  header h1,
  header .brand-name {
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    font-size: 32px !important;
    line-height: 1.1 !important;
  }

  /* Nav should not stretch outside the screen */
  nav,
  .nav,
  .site-nav,
  .header-nav,
  .rms-nav,
  .menu,
  .nav-links,
  .navigation {
    order: 3 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 14px 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  nav a,
  .nav a,
  .site-nav a,
  .header-nav a,
  .rms-nav a,
  .menu a,
  .nav-links a,
  .navigation a {
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    font-size: 19px !important;
    line-height: 1.2 !important;
  }

  /* Sign in + English row */
  .header-actions,
  .top-actions,
  .auth-actions,
  .nav-actions,
  .rms-header-actions,
  .actions,
  .login-language,
  .auth-language-row {
    order: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .header-actions > *,
  .top-actions > *,
  .auth-actions > *,
  .nav-actions > *,
  .rms-header-actions > *,
  .actions > *,
  .login-language > *,
  .auth-language-row > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .sign-in,
  .signin,
  .login,
  .login-button,
  .language,
  .language-selector,
  .lang-select,
  .language-button,
  .header-actions a,
  .header-actions button,
  .top-actions a,
  .top-actions button,
  .auth-actions a,
  .auth-actions button,
  .nav-actions a,
  .nav-actions button,
  .rms-header-actions a,
  .rms-header-actions button {
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 18px !important;
    border-radius: 18px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Hero text mobile (exclude store visit — brand name is h1) */
  body:not(.route-store) h1 {
    max-width: 100% !important;
    font-size: clamp(38px, 11vw, 52px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.04em !important;
    overflow-wrap: normal !important;
  }

  body:not(.route-store) h2 {
    max-width: 100% !important;
    font-size: clamp(28px, 8vw, 40px) !important;
    line-height: 1.08 !important;
  }

  p {
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
  }

  /* Forms */
  form,
  input,
  textarea,
  select,
  button {
    max-width: 100% !important;
  }

  input,
  textarea,
  select {
    width: 100% !important;
    font-size: 16px !important;
  }

  /* Prevent long text/buttons from pushing page sideways */
  .alert,
  .notice,
  .banner,
  .cta,
  .button,
  .btn,
  [class*="banner"],
  [class*="Banner"],
  [class*="button"],
  [class*="Button"] {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Images and backgrounds */
  img,
  video,
  svg {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 420px) {
  header,
  .header,
  .site-header,
  .rms-header,
  .topbar,
  .nav-card,
  .hero,
  .hero-card,
  .section,
  .section-card,
  .card,
  .panel,
  .service-card,
  .tier-card,
  .lead-card,
  .form-card,
  [class*="card"],
  [class*="Card"],
  [class*="panel"],
  [class*="Panel"],
  [class*="hero"],
  [class*="Hero"] {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  nav a,
  .nav a,
  .site-nav a,
  .header-nav a,
  .rms-nav a,
  .menu a,
  .nav-links a,
  .navigation a {
    font-size: 17px !important;
  }

  .sign-in,
  .signin,
  .login,
  .login-button,
  .language,
  .language-selector,
  .lang-select,
  .language-button,
  .header-actions a,
  .header-actions button,
  .top-actions a,
  .top-actions button,
  .auth-actions a,
  .auth-actions button,
  .nav-actions a,
  .nav-actions button,
  .rms-header-actions a,
  .rms-header-actions button {
    font-size: 16px !important;
    padding: 0 14px !important;
  }
}

/* =========================================================
   RankMySalon Mobile Fix - Marketing Pages
   Fix overflow for Overview / Landing mobile layout
========================================================= */

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box !important;
  }

  #appShell,
  .app,
  .app.landing-mode,
  .landing-shell,
  .marketing-page,
  .marketing-page-overview {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .landing-shell {
    display: block !important;
  }

  .marketing-page {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .marketing-nav-shell,
  .marketing-hero-section,
  .marketing-section,
  .marketing-digital-human,
  .marketing-insights,
  .marketing-footer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden !important;
  }

  .marketing-nav-shell {
    padding: 24px 18px !important;
    border-radius: 24px !important;
  }

  .marketing-nav-shell > *,
  .marketing-hero-section > *,
  .marketing-section > *,
  .marketing-footer > * {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .marketing-brand,
  .marketing-logo,
  .marketing-nav-logo {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .marketing-nav,
  .marketing-nav-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 14px 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .marketing-nav a,
  .marketing-nav-links a,
  .marketing-nav-shell a {
    white-space: nowrap !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  .marketing-nav-actions,
  .marketing-actions,
  .marketing-auth-actions,
  .marketing-top-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(105px, auto) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .marketing-nav-actions > *,
  .marketing-actions > *,
  .marketing-auth-actions > *,
  .marketing-top-actions > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .marketing-nav-actions a,
  .marketing-nav-actions button,
  .marketing-actions a,
  .marketing-actions button,
  .marketing-auth-actions a,
  .marketing-auth-actions button,
  .marketing-top-actions a,
  .marketing-top-actions button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 54px !important;
    padding: 0 14px !important;
    border-radius: 18px !important;
    font-size: 17px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .marketing-hero-section,
  .marketing-hero-section--brief {
    padding: 34px 18px !important;
    border-radius: 24px !important;
  }

  .marketing-hero-brief-layout,
  .marketing-hero-brief-copy,
  .marketing-hero-headline,
  .marketing-hero-brief-form,
  .marketing-hero-brief-trust,
  .marketing-trust-list,
  .marketing-trust-list--brief {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block !important;
    overflow: hidden !important;
  }

  .marketing-hero-headline {
    text-align: center !important;
  }

  .marketing-hero-headline h1,
  .marketing-hero-headline,
  .marketing-hero-title,
  .marketing-hero-section h1 {
    max-width: 100% !important;
    font-size: clamp(34px, 9vw, 44px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.04em !important;
    overflow-wrap: normal !important;
  }

  .marketing-hero-section p,
  .marketing-hero-brief-copy p,
  .marketing-trust-title,
  .marketing-trust-list li {
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  .marketing-hero-urgency {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    padding: 16px 14px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #heroBriefForm,
  .marketing-hero-brief-form,
  .marketing-hero-brief-form form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .marketing-hero-brief-form input,
  .marketing-hero-brief-form textarea,
  .marketing-hero-brief-form select,
  .marketing-hero-brief-form button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    font-size: 16px !important;
  }

  .marketing-digital-grid,
  .marketing-digital-copy,
  .marketing-digital-points,
  .marketing-digital-media,
  .marketing-digital-video,
  .marketing-digital-overlay,
  .marketing-insights-head,
  .marketing-insights-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block !important;
    overflow: hidden !important;
  }

  .marketing-insights-card,
  .marketing-insights-thumb-wrap,
  .marketing-insights-thumb,
  .marketing-insights-play-overlay,
  .marketing-insights-caption {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .marketing-insights-thumb {
    height: auto !important;
    object-fit: cover !important;
  }

  .marketing-section-title,
  .marketing-digital-heading {
    max-width: 100% !important;
    font-size: clamp(28px, 8vw, 38px) !important;
    line-height: 1.08 !important;
  }

  .marketing-footer {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

@media (max-width: 420px) {
  .marketing-page {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .marketing-nav-shell {
    padding: 22px 16px !important;
  }

  .marketing-nav a,
  .marketing-nav-links a,
  .marketing-nav-shell a {
    font-size: 16px !important;
  }

  .marketing-hero-section,
  .marketing-hero-section--brief {
    padding: 30px 16px !important;
  }

  .marketing-hero-headline h1,
  .marketing-hero-headline,
  .marketing-hero-title,
  .marketing-hero-section h1 {
    font-size: 36px !important;
  }

  .marketing-hero-urgency {
    font-size: 16px !important;
  }
}

/* =========================================================
   RANKMYSALON REAL MOBILE LAYOUT FIX
   Paste at the VERY BOTTOM of styles.css
   Mobile only. Desktop unaffected.
========================================================= */

@media screen and (max-width: 900px) {

  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  * {
    box-sizing: border-box !important;
  }

  main,
  section,
  .container,
  .marketing-container,
  .page-container,
  .report-container,
  .analysis-container,
  .brief-report-container,
  .intel-container,
  .local-ranking-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* =====================================================
     1. HOMEPAGE MOBILE HEADER
     Remove the big nav block completely on mobile
  ===================================================== */

  .marketing-nav-shell {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    min-height: 52px !important;
    height: auto !important;
    margin: 10px auto 14px !important;
    padding: 10px 12px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    border-radius: 22px !important;
  }

  .marketing-nav-shell .marketing-brand,
  .marketing-nav-shell .brand-link,
  .marketing-nav-shell a[href="/"],
  .marketing-nav-shell a[href="./"] {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    font-size: 20px !important;
    line-height: 1 !important;
  }

  .marketing-nav-shell .brand-part,
  .marketing-nav-shell .brand-part-rank,
  .marketing-nav-shell .brand-part-mysalon {
    font-size: 20px !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
  }

  /* Hide the entire nav menu on mobile */
  .marketing-nav-shell nav,
  .marketing-nav-shell .marketing-nav,
  .marketing-nav-shell [aria-label="Primary"],
  .marketing-nav-shell .nav,
  .marketing-nav-shell .nav-links {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  /* Keep only Contact Us on mobile, hide sign in / language */
  .marketing-auth-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .marketing-auth-actions > * {
    display: none !important;
  }

  .marketing-auth-actions #marketingContactOpen,
  .marketing-auth-actions .marketing-contact-open,
  .marketing-auth-actions .marketing-contact-button,
  .marketing-auth-actions a[href*="contact"],
  .marketing-auth-actions button[id*="Contact"],
  .marketing-auth-actions button[id*="contact"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  /* Hide theme / language / sign in if they are outside normal action wrapper */
  .marketing-nav-shell .theme-toggle,
  .marketing-nav-shell [data-theme-toggle],
  .marketing-nav-shell .language-toggle,
  .marketing-nav-shell .language-switcher,
  .marketing-nav-shell .sign-in-link,
  .marketing-nav-shell a[href*="login"],
  .marketing-nav-shell a[href*="signin"],
  .marketing-nav-shell a[href*="sign-in"] {
    display: none !important;
  }


  /* =====================================================
     2. HOMEPAGE BRIEF REPORT FORM
     Make it one-screen friendly
  ===================================================== */

  .hero,
  .marketing-hero,
  .landing-hero,
  .home-hero {
    padding-top: 10px !important;
    padding-bottom: 16px !important;
  }

  .hero h1,
  .marketing-hero h1,
  .landing-hero h1,
  .home-hero h1 {
    font-size: 30px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em !important;
  }

  /* Main free brief report card */
  .lead-card,
  .lead-form-card,
  .brief-report-card,
  .free-report-card,
  .marketing-lead-card,
  .marketing-intake-card,
  .salon-intake-card,
  .contact-card,
  .consultation-card,
  form.closest,
  [class*="lead"][class*="card"],
  [class*="brief"][class*="card"] {
    max-width: 100% !important;
    width: 100% !important;
    margin: 12px auto !important;
    padding: 18px 14px !important;
    border-radius: 24px !important;
  }

  /* The big duplicated/overlarge rating */
  .lead-card [class*="rating"],
  .brief-report-card [class*="rating"],
  .free-report-card [class*="rating"],
  .marketing-lead-card [class*="rating"],
  .marketing-intake-card [class*="rating"],
  .salon-intake-card [class*="rating"],
  [class*="rating"] {
    font-size: 12px !important;
    line-height: 1.1 !important;
    letter-spacing: 0.16em !important;
    margin-bottom: 8px !important;
  }

  /* Hide duplicate rating if it appears twice */
  [class*="rating"] + [class*="rating"] {
    display: none !important;
  }

  .lead-card h1,
  .lead-card h2,
  .brief-report-card h1,
  .brief-report-card h2,
  .free-report-card h1,
  .free-report-card h2,
  .marketing-lead-card h1,
  .marketing-lead-card h2,
  .marketing-intake-card h1,
  .marketing-intake-card h2,
  .salon-intake-card h1,
  .salon-intake-card h2,
  [class*="lead"] h1,
  [class*="lead"] h2,
  [class*="brief"] h1,
  [class*="brief"] h2 {
    font-size: 30px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
    margin: 0 0 8px !important;
  }

  .lead-card p,
  .brief-report-card p,
  .free-report-card p,
  .marketing-lead-card p,
  .marketing-intake-card p,
  .salon-intake-card p,
  [class*="lead"] p,
  [class*="brief"] p {
    font-size: 15px !important;
    line-height: 1.35 !important;
    margin: 0 0 10px !important;
  }

  /* The WHY IT MATTERS block is too tall before form, hide on mobile */
  .why-it-matters,
  .why-matters,
  .benefits-list,
  .lead-benefits,
  .brief-benefits,
  [class*="why"][class*="matter"],
  [class*="benefit"] {
    display: none !important;
  }

  /* Form layout (exclude store private feedback modal) */
  form:not(.store-private-feedback-form),
  .lead-form,
  .brief-report-form,
  .free-report-form,
  .salon-form,
  .intake-form,
  [class*="form"]:not(.store-private-feedback-form) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  form:not(.store-private-feedback-form) label,
  .lead-form label,
  .brief-report-form label,
  .free-report-form label,
  .salon-form label,
  .intake-form label,
  [class*="form"]:not(.store-private-feedback-form) label {
    font-size: 11px !important;
    line-height: 1.1 !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 4px !important;
  }

  form:not(.store-private-feedback-form) input,
  form:not(.store-private-feedback-form) select,
  form:not(.store-private-feedback-form) textarea,
  .lead-form input,
  .lead-form select,
  .lead-form textarea,
  .brief-report-form input,
  .brief-report-form select,
  .brief-report-form textarea,
  .free-report-form input,
  .free-report-form select,
  .free-report-form textarea,
  .salon-form input,
  .salon-form select,
  .salon-form textarea,
  .intake-form input,
  .intake-form select,
  .intake-form textarea,
  [class*="form"]:not(.store-private-feedback-form) input,
  [class*="form"]:not(.store-private-feedback-form) select,
  [class*="form"]:not(.store-private-feedback-form) textarea {
    width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
  }

  form:not(.store-private-feedback-form) textarea,
  .lead-form textarea,
  .brief-report-form textarea,
  .free-report-form textarea,
  .salon-form textarea,
  .intake-form textarea,
  [class*="form"]:not(.store-private-feedback-form) textarea {
    min-height: 58px !important;
    height: 58px !important;
  }

  /* Salon name and mobile/email should full width */
  form:not(.store-private-feedback-form) > *:has(input[name*="salon"]),
  form:not(.store-private-feedback-form) > *:has(input[name*="name"]),
  form:not(.store-private-feedback-form) > *:has(input[name*="email"]),
  form:not(.store-private-feedback-form) > *:has(input[name*="mobile"]),
  form:not(.store-private-feedback-form) > *:has(input[type="email"]),
  form:not(.store-private-feedback-form) > *:has(textarea),
  .form-full,
  .full-width,
  [class*="full"] {
    grid-column: 1 / -1 !important;
  }

  form:not(.store-private-feedback-form) button,
  form:not(.store-private-feedback-form) button[type="submit"],
  .lead-form button,
  .brief-report-form button,
  .free-report-form button,
  .salon-form button,
  .intake-form button,
  [class*="form"]:not(.store-private-feedback-form) button {
    grid-column: 1 / -1 !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    border-radius: 999px !important;
  }


  /* =====================================================
     3. BRIEF REPORT / LOCAL RANKING PAGE TOP AREA
  ===================================================== */

  .report-shell,
  .report-page,
  .brief-report-page,
  .local-ranking-page,
  .analysis-report-page,
  [class*="report"],
  [class*="ranking"] {
    max-width: 100% !important;
  }

  .report-card,
  .report-summary-card,
  .business-brief-card,
  .brief-card,
  .salon-card,
  .store-card,
  [class*="summary"][class*="card"],
  [class*="business"][class*="card"],
  [class*="salon"][class*="card"] {
    padding: 18px 16px !important;
    border-radius: 24px !important;
  }

  .report-card h1,
  .report-summary-card h1,
  .business-brief-card h1,
  .brief-card h1,
  .salon-card h1,
  .store-card h1,
  [class*="report"] h1,
  [class*="business"] h1,
  [class*="salon"] h1 {
    font-size: 34px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
    margin-bottom: 10px !important;
    word-break: break-word !important;
  }

  .report-card h2,
  .report-summary-card h2,
  .business-brief-card h2,
  .brief-card h2,
  .salon-card h2,
  .store-card h2,
  [class*="report"] h2,
  [class*="business"] h2,
  [class*="salon"] h2 {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .report-card p,
  .report-summary-card p,
  .business-brief-card p,
  .brief-card p,
  .salon-card p,
  .store-card p,
  [class*="report"] p,
  [class*="business"] p,
  [class*="salon"] p {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  /* Top buttons should not look oversized */
  .report-actions,
  .brief-actions,
  .ranking-actions,
  .local-ranking-actions,
  [class*="actions"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .report-actions a,
  .report-actions button,
  .brief-actions a,
  .brief-actions button,
  .ranking-actions a,
  .ranking-actions button,
  .local-ranking-actions a,
  .local-ranking-actions button,
  [class*="actions"] a,
  [class*="actions"] button {
    min-height: 34px !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
  }


  /* =====================================================
     4. REPORT SECTION TITLES
     Fix huge letter spacing headings
  ===================================================== */

  .report-page h2,
  .brief-report-page h2,
  .local-ranking-page h2,
  .analysis-report-page h2,
  .scorecard-title,
  .section-title,
  [class*="section-title"],
  [class*="scorecard"] h2,
  [class*="breakdown"] h2,
  [class*="potential"] h2,
  [class*="issue"] h2 {
    font-size: 20px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.12em !important;
    margin: 22px 0 12px !important;
  }


  /* =====================================================
     5. SCORECARD BREAKDOWN
     Current screenshot has huge spaced text.
     Make it compact and professional.
  ===================================================== */

  .scorecard-breakdown,
  .breakdown-card,
  .score-card,
  .scorecard-card,
  [class*="scorecard"][class*="card"],
  [class*="breakdown"][class*="card"] {
    padding: 16px !important;
    border-radius: 22px !important;
  }

  .scorecard-breakdown *,
  .breakdown-card *,
  .score-card *,
  .scorecard-card *,
  [class*="scorecard"][class*="card"] *,
  [class*="breakdown"][class*="card"] * {
    letter-spacing: normal !important;
  }

  .scorecard-breakdown h3,
  .breakdown-card h3,
  .score-card h3,
  .scorecard-card h3,
  [class*="scorecard"] h3,
  [class*="breakdown"] h3 {
    font-size: 16px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  .scorecard-row,
  .breakdown-row,
  .score-row,
  [class*="scorecard"] li,
  [class*="breakdown"] li,
  [class*="score-row"] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  }

  .scorecard-row:last-child,
  .breakdown-row:last-child,
  .score-row:last-child,
  [class*="scorecard"] li:last-child,
  [class*="breakdown"] li:last-child {
    border-bottom: 0 !important;
  }

  .scorecard-row span,
  .breakdown-row span,
  .score-row span,
  [class*="scorecard"] li span,
  [class*="breakdown"] li span {
    font-size: 13px !important;
    line-height: 1.25 !important;
  }


  /* =====================================================
     6. CHARTS / DATA CARDS IN ONE ROW
  ===================================================== */

  .chart-grid,
  .charts-grid,
  .metrics-grid,
  .score-grid,
  .report-grid,
  .report-chart-grid,
  .brief-chart-grid,
  .ranking-chart-grid,
  [class*="chart"][class*="grid"],
  [class*="metric"][class*="grid"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
  }

  .chart-card,
  .metric-card,
  .report-chart-card,
  .brief-chart-card,
  .ranking-chart-card,
  [class*="chart"][class*="card"],
  [class*="metric"][class*="card"] {
    flex: 0 0 72% !important;
    max-width: 72% !important;
    min-width: 72% !important;
    padding: 14px !important;
    border-radius: 18px !important;
    scroll-snap-align: start !important;
  }

  .chart-card h3,
  .metric-card h3,
  .report-chart-card h3,
  .brief-chart-card h3,
  .ranking-chart-card h3,
  [class*="chart"][class*="card"] h3,
  [class*="metric"][class*="card"] h3 {
    font-size: 15px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }


  /* =====================================================
     7. ISSUE SECTION
     Make issue cards compact and readable
  ===================================================== */

  .issues-summary,
  .issue-summary,
  [class*="issues"] {
    font-size: 14px !important;
  }

  .issue-card,
  .issues-card,
  .report-issue-card,
  .brief-issue-card,
  [class*="issue"][class*="card"] {
    padding: 16px !important;
    border-radius: 18px !important;
    margin-bottom: 14px !important;
  }

  .issue-card h3,
  .issues-card h3,
  .report-issue-card h3,
  .brief-issue-card h3,
  [class*="issue"][class*="card"] h3 {
    font-size: 22px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    margin: 10px 0 12px !important;
  }

  .issue-card h4,
  .issues-card h4,
  .report-issue-card h4,
  .brief-issue-card h4,
  [class*="issue"][class*="card"] h4 {
    font-size: 13px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.14em !important;
    margin: 12px 0 4px !important;
  }

  .issue-card p,
  .issues-card p,
  .report-issue-card p,
  .brief-issue-card p,
  [class*="issue"][class*="card"] p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
  }

  .issue-tags,
  .issue-tag-list,
  .issues-tags,
  .report-issue-tags,
  .brief-issue-tags,
  [class*="issue"][class*="tags"],
  [class*="tag-list"] {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 0 12px !important;
  }

  .issue-tag,
  .issues-tag,
  .report-issue-tag,
  .brief-issue-tag,
  .badge,
  .tag,
  [class*="issue"][class*="tag"],
  [class*="badge"],
  [class*="tag"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 24px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;
  }

  /* The large pill at top of issue card should be compact */
  .issue-card > div:first-child,
  .issues-card > div:first-child,
  .report-issue-card > div:first-child,
  .brief-issue-card > div:first-child,
  [class*="issue"][class*="card"] > div:first-child {
    width: auto !important;
    max-width: 100% !important;
    padding: 8px 10px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
  }


  /* =====================================================
     8. TABLE / SERVICE POTENTIAL AREA
  ===================================================== */

  table,
  .table,
  .service-table,
  .potential-table,
  [class*="table"] {
    width: 100% !important;
    font-size: 13px !important;
  }

  td,
  th,
  .table-row,
  .service-row,
  .potential-row,
  [class*="table"] * {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .service-row,
  .potential-row,
  [class*="potential"] li,
  [class*="service"] li {
    padding: 10px 0 !important;
  }
}

@media screen and (max-width: 900px) {
  body::before {
    content: "MOBILE CSS LOADED";
    position: fixed;
    top: 80px;
    left: 12px;
    z-index: 999999;
    background: red;
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
  }
}
}

/* =========================================================
   Store visit — final overrides (receipt slab + post-upload UI)
========================================================= */

/* Lead section at top: title + welcome cell; hide legacy upload chrome */
body.route-store:not(.store-has-receipt) #storeVisitReceiptBlock {
  display: block !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: none !important;
}

body.route-store:not(.store-has-receipt) #storeVisitReceiptBlock #receiptPreview {
  display: none !important;
}

body.route-store #storeVisitReceiptBlock #uploadBtn,
body.route-store #storeVisitReceiptBlock #writeOwnReviewBtn {
  display: none !important;
}

body.route-store.store-visit-ready:not(.has-results) #receiptStatusGroup {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.route-store.store-has-receipt #storeVisitReceiptBlock {
  display: block !important;
  margin-top: 12px !important;
  padding-top: 0 !important;
  border-top: none !important;
}

body.route-store.store-has-receipt #receiptPreview {
  display: flex !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: min(42vh, 240px) !important;
  margin-top: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: var(--store-radius-md) !important;
  background: var(--store-surface-2) !important;
  background-image: none !important;
  overflow: hidden;
}

body.route-store.store-has-receipt #receiptPreview img {
  object-fit: contain !important;
  max-height: min(42vh, 240px) !important;
  width: 100% !important;
  height: auto !important;
  border-radius: var(--store-radius-md);
}

body.route-store.store-has-receipt #intakePillRow {
  display: flex !important;
  gap: 8px;
  margin-top: 10px;
}

body.route-store.store-has-receipt #retakeBtn {
  border: none !important;
  border-radius: var(--store-radius-pill) !important;
  background: rgba(45, 41, 38, 0.08) !important;
}

/* Review flow on store page: flat cards, no boxed tabs/links */
body.route-store .review-card {
  border: none;
  border-radius: var(--store-radius-md);
  box-shadow: 0 6px 20px rgba(45, 41, 38, 0.06);
  background: #fff;
}

body.route-store .review-card:hover {
  border: none;
  box-shadow: 0 10px 28px rgba(45, 41, 38, 0.1);
}

body.route-store .review-body {
  border: none;
  border-radius: 12px;
  background: var(--store-surface-2);
}

body.route-store .service-toggle-btn,
body.route-store .visit-option-btn,
body.route-store .choice-chip {
  border: none;
  border-radius: var(--store-radius-md);
  background: var(--store-surface-2);
  box-shadow: none;
}

body.route-store .service-toggle-btn:hover,
body.route-store .visit-option-btn:hover,
body.route-store .choice-chip:hover {
  border: none;
  box-shadow: none;
  background: rgba(201, 122, 90, 0.1);
}

body.route-store .manual-open-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  border: none;
  border-radius: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 1;
}

body.route-store .review-copy-btn,
body.route-store .ghost,
body.route-store .cta {
  border-radius: var(--store-radius-pill);
}

body.route-store .intake-pill {
  border: none !important;
}

body.route-store .receipt-status-group .status {
  border: none;
  border-radius: var(--store-radius-md);
  background: var(--store-surface-2);
  padding: 10px 12px;
  color: var(--store-muted);
}

body.route-store .receipt-status-group .status.ok {
  color: #3d7a5c;
}

body.route-store .receipt-status-group .status.error {
  color: #b42318;
}

body.route-store .receipt-status-group .status.working {
  color: #9a6b2e;
}

body.route-store .receipt-meta,
body.route-store .hint,
body.route-store .empty-text {
  color: var(--store-muted);
}

/* Store visit — readable text on light surface (overrides global dark-theme heading/body rules) */
html[data-theme="dark"] body.route-store,
html[data-theme="light"] body.route-store {
  color: var(--store-surface-ink);
}

html[data-theme="dark"] body.route-store .intake-card,
html[data-theme="dark"] body.route-store .store-visit-shell,
html[data-theme="dark"] body.route-store #storeVisitReceiptBlock,
html[data-theme="dark"] body.route-store .dishes-card,
html[data-theme="dark"] body.route-store .reviews-card {
  color: var(--store-surface-ink);
}

html[data-theme="dark"] body.route-store .store-visit-shell :is(h1, h2, h3),
html[data-theme="dark"] body.route-store .store-visit-lead-head h2,
html[data-theme="dark"] body.route-store #storeVisitReceiptBlock :is(h2, h3),
html[data-theme="dark"] body.route-store .dishes-card :is(h2, h3),
html[data-theme="dark"] body.route-store .reviews-card :is(h2, h3),
html[data-theme="dark"] body.route-store .visit-sheet :is(h2, h3) {
  color: var(--store-surface-ink) !important;
}

html[data-theme="dark"] body.route-store .store-visit-hero-lead,
html[data-theme="dark"] body.route-store .store-visit-social-proof,
html[data-theme="dark"] body.route-store .store-visit-or-text,
html[data-theme="dark"] body.route-store .store-visit-service-label,
html[data-theme="dark"] body.route-store .store-visit-lead-hint,
html[data-theme="dark"] body.route-store .dishes-card .hint,
html[data-theme="dark"] body.route-store .reviews-card .hint,
html[data-theme="dark"] body.route-store .dishes-card p,
html[data-theme="dark"] body.route-store .reviews-card p,
html[data-theme="dark"] body.route-store .visit-sheet p,
html[data-theme="dark"] body.route-store .visit-sheet .hint {
  color: var(--store-muted) !important;
}

html[data-theme="dark"] body.route-store .store-visit-mood,
html[data-theme="dark"] body.route-store .store-visit-service-name,
html[data-theme="dark"] body.route-store .review-body,
html[data-theme="dark"] body.route-store .review-card {
  color: var(--store-surface-ink) !important;
}

html[data-theme="dark"] body.route-store .store-visit-google-cta,
html[data-theme="dark"] body.route-store .store-visit-google-cta .store-visit-google-cta-text,
html[data-theme="dark"] body.route-store .store-visit-google-cta .store-visit-google-cta-arrow {
  color: #fff !important;
}

html[data-theme="dark"] body.route-store .store-visit-private-cta,
html[data-theme="dark"] body.route-store .store-visit-write-own,
html[data-theme="dark"] body.route-store .service-toggle-btn,
html[data-theme="dark"] body.route-store .visit-option-btn,
html[data-theme="dark"] body.route-store .choice-chip {
  color: var(--store-surface-ink) !important;
}

html[data-theme="dark"] body.route-store .lang-globe-btn {
  color: var(--store-surface-ink) !important;
}

@media (max-width: 640px) {
  body.route-store.store-has-receipt #receiptPreview,
  body.route-store.store-has-receipt #receiptPreview img {
    max-height: min(38vh, 220px) !important;
  }
}

/* Store visit mobile — beat [class*="card"] / [class*="hero"] width rules */
@media (max-width: 420px) {
  body.route-store .intake-card,
  body.route-store .store-visit-shell,
  body.route-store .store-visit-brand,
  body.route-store .store-visit-service-card,
  body.route-store .store-visit-hero {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media screen and (max-width: 900px) {
  body.route-store h1.store-visit-brand-name {
    font-size: clamp(1.02rem, 4.4vw, 1.32rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  body.route-store h2.store-visit-hero-title {
    font-size: 1rem !important;
    line-height: 1.28 !important;
    letter-spacing: normal !important;
    text-align: center !important;
    width: 100% !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.route-store .intake-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  body.route-store .store-visit-heart-wrap {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
  }
}

/* Store private feedback modal — single-screen compact form */
body.route-store.store-private-feedback-open {
  overflow: hidden;
}

body.route-store .store-private-feedback-dialog .store-private-feedback-form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  width: 100% !important;
}

body.route-store .store-private-feedback-dialog .store-private-feedback-label {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
  font-size: 0.72rem !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  margin-bottom: 0 !important;
}

body.route-store .store-private-feedback-dialog .store-private-feedback-form .text-input {
  flex: none !important;
  width: 100% !important;
  min-height: 38px !important;
  height: auto !important;
  padding: 9px 11px !important;
  font-size: 0.88rem !important;
  border-radius: 10px !important;
  border: 1px solid rgba(45, 41, 38, 0.14) !important;
  background: #fff !important;
  color: var(--store-surface-ink, #2d2926) !important;
}

body.route-store .store-private-feedback-dialog .store-private-feedback-textarea {
  min-height: 64px !important;
  max-height: min(20dvh, 96px) !important;
  height: auto !important;
}

body.route-store .store-private-feedback-dialog .store-private-feedback-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
}

body.route-store .store-private-feedback-dialog .store-private-feedback-actions .ghost,
body.route-store .store-private-feedback-dialog .store-private-feedback-actions .cta {
  width: auto !important;
  flex: 1 1 0 !important;
  min-height: 40px !important;
  height: auto !important;
  grid-column: auto !important;
}

@media (max-width: 640px) {
  body.route-store .store-private-feedback-backdrop {
    align-items: center !important;
    padding: max(10px, env(safe-area-inset-top, 0px)) 10px max(10px, env(safe-area-inset-bottom, 0px)) !important;
  }

  body.route-store .store-private-feedback-dialog {
    width: min(100%, 380px) !important;
    max-height: min(92dvh, 480px) !important;
  }

  body.route-store .store-private-feedback-dialog .store-private-feedback-form .text-input {
    font-size: 16px !important;
  }
}

/* ── Analysis report — GBP Strategy layout (Refined) ───────────────── */
.marketing-page-intel-brief {
  --intel-gbp-pink: #ffa8cd;
  --intel-gbp-pink-strong: #dc0074;
  --intel-gbp-pink-soft: #fff0f6;
  --intel-gbp-text: #272a2b;
  --intel-gbp-muted: #687173;
  --intel-gbp-border: #dcdfe0;
  --intel-gbp-surface: #fcfdfd;
  --intel-gbp-card: #ffffff;
  --intel-gbp-critical-bg: #fff5f5;
  --intel-gbp-critical-border: #ffd6d6;
  --intel-gbp-critical-text: #c83448;
  --intel-gbp-warning-bg: #fff7e1;
  --intel-gbp-warning-border: #ffebb7;
  --intel-gbp-warning-text: #da9021;
  --intel-gbp-star: #ffcc00;
  background: var(--intel-gbp-surface);
  color: var(--intel-gbp-text);
}

.marketing-page-intel-brief .intel-brief-page,
.marketing-page-intel-brief .intel-brief-toolbar,
.marketing-page-intel-brief .intel-brief-back {
  max-width: 72rem;
}

.marketing-page-intel-brief .intel-gbp-report {
  max-width: 72rem;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem 2rem;
  border: 1px solid var(--intel-gbp-border);
  border-radius: 1rem;
  background: var(--intel-gbp-card);
  box-shadow: 0 1px 2px rgba(39, 42, 43, 0.04);
}

.intel-gbp-page-head {
  margin-bottom: 1.5rem;
}

.intel-gbp-page-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--intel-gbp-text);
  letter-spacing: -0.02em;
}

.intel-gbp-page-head > p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--intel-gbp-muted);
  line-height: 1.5;
}

.intel-gbp-page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
}

.intel-gbp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 960px) {
  .intel-gbp-hero-grid {
    grid-template-columns: minmax(300px, 36%) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
}

.intel-gbp-hero-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intel-gbp-card {
  border: 1px solid var(--intel-gbp-border);
  border-radius: 0.75rem;
  background: var(--intel-gbp-card);
  padding: 1.1rem 1.15rem;
}

.intel-gbp-biz-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.intel-gbp-biz-card h1 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--intel-gbp-text);
}

.intel-gbp-biz-preview {
  flex-shrink: 0;
  font-size: 0.68rem;
  color: var(--intel-gbp-muted);
}

.intel-gbp-biz-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.intel-gbp-biz-star {
  color: var(--intel-gbp-star);
  font-size: 1rem;
  line-height: 1;
}

.intel-gbp-biz-rating-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--intel-gbp-text);
}

.intel-gbp-biz-reviews {
  font-size: 0.875rem;
  color: var(--intel-gbp-muted);
}

.intel-gbp-biz-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--intel-gbp-muted);
}

.intel-gbp-score-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--intel-gbp-text);
}

.intel-gbp-gauge {
  position: relative;
  width: 100%;
  max-width: 15rem;
  margin: 0 auto 0.75rem;
}

.intel-gbp-gauge-svg {
  display: block;
  width: 100%;
  height: auto;
}

.intel-gbp-gauge-center {
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}

.intel-gbp-gauge-score {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--intel-gbp-text);
}

.intel-gbp-gauge-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: var(--intel-gbp-muted);
}

.intel-gbp-score-summary {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--intel-gbp-muted);
}

.intel-gbp-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin: 0.85rem 0;
}

.intel-gbp-stat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 0.65rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid transparent;
}

.intel-gbp-stat--critical {
  background: var(--intel-gbp-critical-bg);
  border-color: var(--intel-gbp-critical-border);
  color: var(--intel-gbp-critical-text);
}

.intel-gbp-stat--warning {
  background: var(--intel-gbp-warning-bg);
  border-color: var(--intel-gbp-warning-border);
  color: var(--intel-gbp-warning-text);
}

.intel-gbp-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.65);
}

.intel-gbp-stat-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.78rem;
  line-height: 1.2;
}

.intel-gbp-stat-copy strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.intel-gbp-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.5rem;
  border: none;
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--intel-gbp-text);
  background: var(--intel-gbp-pink);
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.intel-gbp-primary-btn:hover,
.intel-gbp-primary-btn:focus-visible {
  filter: brightness(0.97);
  color: var(--intel-gbp-text);
}

.intel-gbp-primary-btn--sm {
  width: auto;
  min-height: 2.25rem;
}

.intel-gbp-promo-card p {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--intel-gbp-muted);
}

.intel-gbp-promo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.intel-gbp-breakdown-panel {
  min-width: 0;
}

.intel-gbp-breakdown-heading,
.intel-gbp-breakdown-card h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--intel-gbp-text);
  letter-spacing: -0.02em;
}

.intel-gbp-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.intel-gbp-breakdown-item {
  border: 1px solid var(--intel-gbp-border);
  border-radius: 0.85rem;
  background: var(--intel-gbp-card);
  overflow: hidden;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.intel-gbp-breakdown-item.is-open {
  border-color: color-mix(in srgb, var(--intel-gbp-pink) 35%, var(--intel-gbp-border));
  box-shadow: 0 2px 8px rgba(39, 42, 43, 0.05);
}

.intel-gbp-breakdown-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.intel-gbp-breakdown-toggle:hover,
.intel-gbp-breakdown-toggle:focus-visible {
  background: color-mix(in srgb, var(--intel-gbp-surface) 70%, transparent);
}

.intel-gbp-breakdown-ring {
  flex-shrink: 0;
}

.intel-gbp-breakdown-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  min-width: 0;
}

.intel-gbp-breakdown-label {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--intel-gbp-text);
  line-height: 1.3;
}

.intel-gbp-breakdown-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.intel-gbp-breakdown-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.intel-gbp-breakdown-badge--critical {
  color: var(--intel-gbp-pink-strong);
  background: var(--intel-gbp-pink-soft);
  border: 1px solid color-mix(in srgb, var(--intel-gbp-pink) 55%, transparent);
}

.intel-gbp-breakdown-badge--warning {
  color: var(--intel-gbp-warning-text);
  background: var(--intel-gbp-warning-bg);
  border: 1px solid var(--intel-gbp-warning-border);
}

.intel-gbp-breakdown-chevron {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--intel-gbp-muted);
  border-bottom: 2px solid var(--intel-gbp-muted);
  transform: rotate(45deg);
  transition: transform 0.18s ease, border-color 0.15s ease;
}

.intel-gbp-breakdown-item.is-open .intel-gbp-breakdown-chevron {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
  border-color: var(--intel-gbp-pink-strong);
}

.intel-gbp-breakdown-detail {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--intel-gbp-border);
  background: color-mix(in srgb, var(--intel-gbp-surface) 55%, #fff);
}

.intel-gbp-breakdown-detail[hidden] {
  display: none !important;
}

.intel-gbp-diag-block {
  padding: 0.85rem 0 0.65rem;
  border-top: 1px solid color-mix(in srgb, var(--intel-gbp-border) 80%, transparent);
}

.intel-gbp-diag-block:first-child {
  border-top: none;
  padding-top: 0.15rem;
}

.intel-gbp-diag-block h4 {
  margin: 0 0 0.45rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--intel-gbp-text);
}

.intel-gbp-diag-block h5 {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--intel-gbp-text);
  line-height: 1.45;
}

.intel-gbp-diag-desc,
.intel-gbp-diag-impact {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--intel-gbp-muted);
}

.intel-gbp-diag-metric {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--intel-gbp-text);
}

.intel-gbp-diag-gain {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--intel-gbp-pink-strong);
}

.intel-gbp-diag-empty {
  margin: 0;
  padding-bottom: 0.5rem;
  font-size: 0.8125rem;
  color: var(--intel-gbp-muted);
}

@media (max-width: 640px) {
  .intel-gbp-breakdown-toggle {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
  }

  .intel-gbp-breakdown-detail {
    padding: 0 0.85rem 0.85rem;
  }
}

.intel-gbp-metrics-strip {
  margin-bottom: 0;
}

.marketing-page-intel-brief .intel-gbp-promo-card {
  margin-top: 1rem;
}

.marketing-page-intel-brief .intel-brief-section-label {
  color: var(--intel-gbp-muted);
}

.marketing-page-intel-brief .intel-brief-metric {
  border-color: var(--intel-gbp-border);
  background: var(--intel-gbp-surface);
}

.marketing-page-intel-brief .intel-brief-scorecard,
.marketing-page-intel-brief .intel-brief-growth,
.marketing-page-intel-brief .intel-brief-competitors,
.marketing-page-intel-brief .intel-brief-cta,
.marketing-page-intel-brief .intel-brief-store-issues {
  border-color: var(--intel-gbp-border);
  border-radius: 0.75rem;
}

.marketing-page-intel-brief .intel-brief-cta {
  border-color: color-mix(in srgb, var(--intel-gbp-pink) 45%, var(--intel-gbp-border));
  background: linear-gradient(180deg, var(--intel-gbp-pink-soft), #fff);
}

.marketing-page-intel-brief .intel-brief-cta-btn,
.marketing-page-intel-brief .intel-offer-pay-btn,
.marketing-page-intel-brief .fr-btn--purchase {
  background: var(--intel-gbp-pink);
  border-color: var(--intel-gbp-pink);
  color: var(--intel-gbp-text);
}

.marketing-page-intel-brief .intel-brief-toolbar .fr-btn--pdf {
  border-color: var(--intel-gbp-border);
  color: var(--intel-gbp-text);
}

.marketing-page-intel-brief .intel-full-report-sample-link a {
  color: var(--intel-gbp-pink-strong);
}

html[data-theme="light"] body.route-marketing.route-analysis .marketing-page-intel-brief {
  background: var(--intel-gbp-surface);
  color: var(--intel-gbp-text);
}

html[data-theme="light"] body.route-marketing.route-analysis .intel-gbp-report,
html[data-theme="light"] body.route-marketing.route-analysis .intel-gbp-report.card {
  background: var(--intel-gbp-card);
  border-color: var(--intel-gbp-border);
  color: var(--intel-gbp-text);
}
/* =========================================================
   Global iPad Portrait Repair
   iPad portrait uses tablet/mobile-friendly layout.
   iPad landscape remains desktop.
========================================================= */

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  main,
  section,
  article,
  header,
  footer,
  .app,
  .layout,
  .landing-shell,
  .portal-shell,
  .marketing-section,
  .marketing-container,
  .marketing-content,
  .product-page,
  .product-shell {
    max-width: 100%;
    min-width: 0;
  }

  img,
  video,
  canvas,
  svg {
    max-width: 100%;
    height: auto;
  }

  /* Prevent wide cards/grids from overflowing on iPad portrait */
  .layout,
  .pricing-grid,
  .feature-grid,
  .bottom-section,
  .services-grid,
  .tier-grid,
  .cards-grid,
  .reports-grid,
  .leaderboard-grid {
    grid-template-columns: 1fr !important;
  }

  /* General spacing for iPad portrait */
  .app,
  .product-page,
  .landing-shell,
  .portal-shell {
    width: calc(100% - 40px) !important;
    max-width: 920px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Make large hero titles less aggressive on iPad portrait */
  h1,
  .hero h1,
  .hero-title,
  .marketing-hero-title,
  .product-hero-title {
    max-width: 100%;
    font-size: clamp(42px, 7vw, 72px) !important;
    line-height: 0.98 !important;
    overflow-wrap: break-word;
  }

  h2,
  .section-title,
  .pricing-heading {
    font-size: clamp(30px, 5vw, 48px) !important;
    line-height: 1.08 !important;
  }

  p,
  .subtitle,
  .hint,
  .hero-description {
    max-width: 100%;
  }

  /* Buttons should not overflow */
  button,
  .cta,
  .ghost,
  .primary-btn,
  .secondary-btn,
  .marketing-contact-nav-btn,
  .marketing-auth-link {
    max-width: 100%;
    white-space: normal;
  }

  /* Header: keep it usable on iPad portrait */
  .marketing-nav-shell {
    max-width: calc(100vw - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .marketing-nav-main,
  .marketing-nav,
  .marketing-auth-actions {
    min-width: 0 !important;
  }
}

/* === Store page fixes (2026-06-11) — placed at file end to ensure parsing === */

/* Hide receipt upload on /stores/:slug — 3-click AI Review Booster only */
body.route-store #storeVisitReceiptBlock,
body.route-store.store-visit-ready:not(.store-has-receipt) #storeVisitReceiptBlock,
body.route-store.store-visit-ready:not(.store-has-receipt) .store-visit-lead-hint,
body.route-store.store-visit-ready:not(.store-has-receipt) #receiptPreview,
body.route-store.store-visit-ready:not(.store-has-receipt) #intakePillRow,
body.route-store.store-bootstrap-gated #storeVisitReceiptBlock,
body.route-store.store-bootstrap-gated .store-visit-lead-hint,
body.route-store.store-bootstrap-gated #receiptPreview,
body.route-store.store-bootstrap-gated #intakePillRow {
  display: none !important;
}

/* Desktop: center store card and drop it ~2 inch (192px) from nav */
@media (min-width: 769px) {
  body.route-store .layout.single-stage {
    max-width: 540px !important;
    margin: 0 auto !important;
    padding-top: 96px !important;
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.route-store .home-hero-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
  }

  body.route-store .app {
    min-height: 100vh !important;
  }
}

/* Store sentiment block layout (fixes inline-block / 37px wide buttons) */
body.route-store .store-sentiment-block {
  width: 100%;
  display: grid !important;
  gap: 10px;
}

body.route-store .store-sentiment-buttons {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

body.route-store .store-sentiment-btn {
  display: block !important;
  width: 100% !important;
  min-height: 54px !important;
  border-radius: 999px;
  border: 1px solid rgba(232, 160, 213, 0.18);
  font: inherit;
  font-size: 1rem !important;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

body.route-store .store-sentiment-btn--primary {
  border-color: transparent;
  background: #e8a0d5 !important;
  color: #0d0b1f !important;
}

body.route-store .store-sentiment-btn--secondary {
  background: #1a1338 !important;
  color: #f5f0fa !important;
  border-color: rgba(232, 160, 213, 0.18);
}

/* Visit tier choice buttons (zoca palette, stacked) */
body.route-store .store-flow-choice-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
}

body.route-store .store-flow-choice-btn {
  display: block !important;
  width: 100% !important;
  min-height: 54px !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  border: 1.5px solid rgba(232, 160, 213, 0.28) !important;
  background: #1a1338 !important;
  color: #f5f0fa !important;
  text-align: center !important;
  font: inherit !important;
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease, transform 0.12s ease !important;
  box-sizing: border-box !important;
}

body.route-store .store-flow-choice-btn:hover:not(:disabled) {
  border-color: rgba(232, 160, 213, 0.55) !important;
  background: rgba(232, 160, 213, 0.06) !important;
  transform: translateY(-1px) !important;
}

body.route-store .store-flow-choice-btn.is-selected,
body.route-store .store-flow-choice-btn[aria-pressed="true"] {
  border-color: #e8a0d5 !important;
  background: rgba(232, 160, 213, 0.12) !important;
  color: #f4a8c7 !important;
}

body.route-store .store-flow-choice-btn:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}

/* Step 3 — services list & chips (zoca palette, screen-fit) */
body.route-store .store-flow-service-list {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  width: 100% !important;
  max-height: 320px !important;
  overflow-y: auto !important;
  padding: 4px 0 !important;
  box-sizing: border-box !important;
}

body.route-store .store-flow-service-btn {
  display: block !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  border: 1.5px solid rgba(232, 160, 213, 0.24) !important;
  background: #1a1338 !important;
  color: #f5f0fa !important;
  text-align: center !important;
  font: inherit !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease, transform 0.12s ease !important;
}

body.route-store .store-flow-service-btn:hover:not(:disabled) {
  border-color: rgba(232, 160, 213, 0.55) !important;
  background: rgba(232, 160, 213, 0.06) !important;
  transform: translateY(-1px) !important;
}

body.route-store .store-flow-service-btn.is-selected,
body.route-store .store-flow-service-btn[aria-pressed="true"] {
  border-color: #e8a0d5 !important;
  background: rgba(232, 160, 213, 0.14) !important;
  color: #f4a8c7 !important;
}

body.route-store .store-flow-service-btn:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}

/* Search input */
body.route-store .store-flow-search-input {
  width: 100% !important;
  min-height: 44px !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  border: 1.5px solid rgba(232, 160, 213, 0.28) !important;
  background: #1a1338 !important;
  color: #f5f0fa !important;
  font: inherit !important;
  font-size: 0.95rem !important;
  box-sizing: border-box !important;
  margin-bottom: 12px !important;
}

body.route-store .store-flow-search-input::placeholder {
  color: rgba(245, 240, 250, 0.5) !important;
}

body.route-store .store-flow-search-input:focus {
  outline: none !important;
  border-color: #e8a0d5 !important;
  background: rgba(232, 160, 213, 0.06) !important;
}

/* Selected services chips */
body.route-store .store-flow-selected {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 12px 0 !important;
  width: 100% !important;
}

body.route-store .store-flow-selected-label {
  width: 100% !important;
  margin: 0 0 6px 0 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: rgba(245, 240, 250, 0.6) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

body.route-store .store-flow-selected-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  width: 100% !important;
}

body.route-store .store-flow-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  max-width: 100% !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(232, 160, 213, 0.4) !important;
  background: rgba(232, 160, 213, 0.14) !important;
  color: #f4a8c7 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
}

body.route-store .store-flow-empty {
  margin: 8px 0 !important;
  padding: 14px !important;
  border-radius: 12px !important;
  background: rgba(232, 160, 213, 0.06) !important;
  color: rgba(245, 240, 250, 0.75) !important;
  font-size: 0.9rem !important;
  text-align: center !important;
}

/* === Review cards (zoca dark theme) — placed at file end to bypass mid-file parser drop === */
.review-card,
.reviews-grid .review-card {
  background: linear-gradient(180deg, #1a1338 0%, #211a45 100%) !important;
  border: 1px solid rgba(232, 160, 213, 0.24) !important;
  border-radius: 14px !important;
  padding: 14px !important;
  color: #f5f0fa !important;
}

.review-card h3 {
  color: #f4a8c7 !important;
}

.review-card .review-note,
.review-card-head .review-note {
  color: rgba(245, 240, 250, 0.6) !important;
}

.review-body,
.review-card .review-body,
.reviews-grid .review-body {
  margin: 0 !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(232, 160, 213, 0.18) !important;
  background: rgba(13, 11, 31, 0.55) !important;
  color: #f5f0fa !important;
  line-height: 1.65 !important;
  font-size: 0.92rem !important;
}

.review-card:hover {
  border-color: rgba(232, 160, 213, 0.55) !important;
  box-shadow: 0 12px 24px rgba(232, 160, 213, 0.14) !important;
}

/* === Step 3 hint is now a question — promote it to look like a heading === */
body.route-store .store-flow-head .store-flow-hint {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #f5f0fa !important;
  line-height: 1.4 !important;
  margin: 0 0 4px 0 !important;
}

/* === Hide empty context-pill-label (e.g. "This visit" removed) === */
.context-pill-label:empty,
.context-pill-label[data-empty="true"] {
  display: none !important;
}


/* === Step 2 staff description removed — clean up the Yes/No mood hint below === */
.store-visit-mood:empty,
.store-visit-mood[data-empty="true"] {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: none !important;
}

/* === Move .hidden-accessible to end of file (parser drop issue at line 11835) === */
.hidden-accessible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* === Leaderboard content centered + 2in down (Cathy #5198) === */
.route-leaderboard .app.landing-mode {
  width: min(1200px, 92vw) !important; margin: 0 auto !important;
}
.lb-page {
  padding-top: 96px !important;
}

/* === Leaderboard brief detail loading state (Cathy #5341) === */
.intel-brief-page--loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
.intel-brief-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 64px 32px;
  background: linear-gradient(180deg, rgba(26, 19, 56, 0.7) 0%, rgba(33, 26, 69, 0.5) 100%);
  border: 1px solid rgba(232, 160, 213, 0.18);
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  color: #c9c0d8;
  font-size: 0.96rem;
}
.intel-brief-loading p {
  margin: 0;
}
.intel-brief-loading-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(232, 160, 213, 0.18);
  border-top-color: #f4a8c7;
  animation: intel-brief-spin 0.9s linear infinite;
}
@keyframes intel-brief-spin {
  to { transform: rotate(360deg); }
}
