/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Fraunces","arguments":[{"subsets":["latin"],"variable":"--font-display","display":"swap"}],"variableName":"display"} ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/fb526027db1fc1ae-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/4da3161b738b07dd-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/af4bf8399d1aacdf-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Fraunces Fallback';src: local("Times New Roman");ascent-override: 84.71%;descent-override: 22.09%;line-gap-override: 0.00%;size-adjust: 115.45%
}.__className_eb41fe {font-family: 'Fraunces', 'Fraunces Fallback';font-style: normal
}.__variable_eb41fe {--font-display: 'Fraunces', 'Fraunces Fallback'
}

/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"DM_Sans","arguments":[{"subsets":["latin"],"variable":"--font-sans","display":"swap"}],"variableName":"sans"} ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/_next/static/media/7ab938503e4547a1-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/_next/static/media/13971731025ec697-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'DM Sans Fallback';src: local("Arial");ascent-override: 94.90%;descent-override: 29.66%;line-gap-override: 0.00%;size-adjust: 104.53%
}.__className_0d7163 {font-family: 'DM Sans', 'DM Sans Fallback';font-style: normal
}.__variable_0d7163 {--font-sans: 'DM Sans', 'DM Sans Fallback'
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --bg-elevated: #fffefa;
  --ink: #101814;
  --ink-muted: #4f5752;
  --line: #d8d2c8;
  --line-strong: #d8d2c8;
  --accent-red: #c94a3d;
  --accent-green: #1f7a52;
  --accent-green-soft: #edf5ef;
  --accent-red-soft: #fff1ef;
  --star: #d78809;
  --google-note: #f5f1e8;
  --shadow: 0 2px 5px rgba(22, 31, 26, 0.04);
  --header-h: 3.5rem;
  --radius: 10px;
  --radius-sm: 6px;

  /* Brand — docs/ui/v2 */
  --brand: #00543d;
  --brand-hover: #003f2f;
  --brand-soft: #f5f8f2;
  --brand-border: #cbd5c7;
  --red-border: #efaaa3;
  --index-ring: #e8a317;
  --index-ring-end: #d97706;
  --index-ring-track: #ebe6dc;

  /* D1 motion tokens — see frontend/shared/ui/motion.md */
  --motion-instant: 80ms;
  --motion-fast: 120ms;
  --motion-base: 180ms;
  --motion-medium: 250ms;
  --motion-slow: 350ms;
  --motion-emphasis: 500ms;
  --ease-enter: cubic-bezier(0.2, 0, 0, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-emphasis: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-sans), system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* —— D1 interaction primitives (frontend/shared/ui/motion.md) —— */
.or-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color var(--motion-fast) var(--ease-standard),
    border-color var(--motion-fast) var(--ease-standard),
    color var(--motion-fast) var(--ease-standard),
    opacity var(--motion-fast) var(--ease-standard),
    transform var(--motion-instant) var(--ease-standard);
}

.or-btn:active:not(:disabled):not(.or-btn--busy) {
  transform: scale(0.98);
}

.or-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.or-btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.or-btn--primary:hover:not(:disabled):not(.or-btn--busy) {
  background: #2a2a2a;
}

.or-btn--busy {
  cursor: wait;
  opacity: 0.9;
}

/* Portada v2 — CTA Analizar (D-V2-01: no cambia or-btn--primary global) */
.or-btn--brand {
  background: linear-gradient(180deg, var(--brand), var(--brand-hover));
  color: #fff;
  border-color: var(--brand-hover);
}

.or-btn--brand:hover:not(:disabled):not(.or-btn--busy) {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

.or-btn__spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: or-spin var(--motion-emphasis) linear infinite;
  flex-shrink: 0;
}

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

.or-toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--bg-elevated);
  font-size: 0.95rem;
  line-height: 1.35;
  box-shadow: var(--shadow);
  pointer-events: none;
}

.or-interactive {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  transition:
    border-color var(--motion-fast) var(--ease-standard),
    background-color var(--motion-fast) var(--ease-standard),
    opacity var(--motion-fast) var(--ease-standard),
    transform var(--motion-instant) var(--ease-standard);
}

.or-interactive:hover:not(:disabled):not(.or-interactive--busy) {
  border-color: var(--ink);
}

.or-interactive:active:not(:disabled):not(.or-interactive--busy) {
  transform: scale(0.995);
}

.or-interactive:disabled,
.or-interactive--busy {
  cursor: wait;
  opacity: 0.85;
}

.or-interactive:disabled:not(.or-interactive--busy) {
  cursor: not-allowed;
  opacity: 0.72;
}

@media (prefers-reduced-motion: reduce) {
  .or-btn,
  .or-interactive {
    transition:
      background-color var(--motion-fast) var(--ease-standard),
      border-color var(--motion-fast) var(--ease-standard),
      color var(--motion-fast) var(--ease-standard),
      opacity var(--motion-fast) var(--ease-standard);
  }

  .or-btn:active:not(:disabled):not(.or-btn--busy),
  .or-interactive:active:not(:disabled):not(.or-interactive--busy) {
    transform: none;
  }

  .or-btn__spinner {
    animation: none;
    border-right-color: currentColor;
    opacity: 0.7;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-main {
  flex: 1 1;
  width: min(730px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0.35rem 0 2.5rem;
}

body:has(.start-page) .app-main {
  width: min(850px, calc(100% - 2rem));
}

/* Informe v2 — ancho del mock Pantalla 8 (el shell por defecto es ~730px). */
body:has(.diag-page--v2) {
  background: #f4f4f5;
}

body:has(.diag-page--v2) .app-main {
  width: min(1590px, calc(100% - 48px));
  background: transparent;
}

body:has(.diag-summary-hero) .site-header {
  display: none;
}

body:has(.diag-page--v2) .site-header__inner {
  width: min(1180px, calc(100% - 48px));
}

/* —— Brand —— */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--brand);
}

.brand-mark__text {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--brand);
}

.brand-mark__icon {
  display: flex;
  flex-shrink: 0;
}

.brand-mark__ir {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* —— Header —— */
.site-header {
  background: var(--bg);
  border-bottom: none;
  box-shadow: none;
  padding-top: 16px;
}

.site-header__inner {
  width: min(800px, calc(100% - 48px));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.guest-label {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--brand);
}

.menu-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.menu-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
}

.site-nav-panel {
  width: min(800px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 1rem;
}

.site-nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-nav-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: 1rem;
}

/* —— Footer —— */
.site-footer {
  width: 100%;
  margin-top: auto;
  padding: 20px 24px 22px;
  border-top: 1px solid #dedad2;
  color: var(--ink-muted);
  font-size: 0.8125rem;
}

.site-footer__inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 0;
  border-top: none;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.site-footer__links a {
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: var(--ink-muted);
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__disclaimer {
  margin: 22px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-muted);
}

.site-footer__copyright {
  margin: 7px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-muted);
}

.site-footer__domain {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-muted);
}

/* —— Start page (v2 mock fidelity) —— */
.start-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.55rem;
  width: 100%;
}

.start-hero {
  width: 100%;
  max-width: 570px;
  text-align: center;
  padding-top: 0.15rem;
}

.start-hero__title {
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 500px;
  color: var(--ink);
}

.start-hero__lead {
  margin: 14px auto 20px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-muted);
}

.start-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 102px;
  grid-gap: 12px;
  gap: 12px;
  align-items: stretch;
  text-align: left;
  width: 100%;
  max-width: 570px;
}

.start-search__field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.start-search__icon {
  position: absolute;
  left: 0.85rem;
  color: #9a9590;
  pointer-events: none;
  flex-shrink: 0;
}

.start-search__input {
  width: 100%;
  height: 41px;
  min-height: 41px;
  padding: 0 0.9rem 0 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}

.start-search__input::placeholder {
  color: #9a9590;
}

.start-search__input:disabled {
  opacity: 0.85;
}

.start-search__submit {
  height: 41px;
  min-height: 41px;
  min-width: 0;
  width: 102px;
  padding: 0 0.75rem;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.92rem;
}

.start-search__live {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  min-height: 1.2em;
}

.start-search__live--error {
  color: var(--accent-red);
}

/* Sample card */
.start-sample {
  width: 100%;
  max-width: 660px;
  min-height: 250px;
  background: var(--bg-elevated);
  border-radius: 13px;
  box-shadow: var(--shadow);
  padding: 10px 16px 18px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.start-sample__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 12px;
}

.start-sample__badge {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.start-sample__cta {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}

.start-sample__cta:hover {
  text-decoration: underline;
}

.start-sample__grid {
  display: grid;
  grid-template-columns: 150px 175px minmax(0, 1fr);
  grid-template-areas:
    "photo biz themes"
    "photo index themes";
  grid-gap: 10px 22px;
  gap: 10px 22px;
  align-items: start;
}

.start-sample__photo-wrap {
  grid-area: photo;
  width: 150px;
  height: 184px;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.start-sample__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.start-sample__biz {
  grid-area: biz;
  min-width: 0;
}

.start-sample__name {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.start-sample__address {
  margin: 0.35rem 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.start-sample__pin {
  display: inline-flex;
  color: var(--ink-muted);
}

.start-sample__rating {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.84rem;
}

.start-sample__rating-num {
  font-weight: 700;
  color: var(--ink);
}

.start-sample__stars {
  color: var(--star);
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.start-sample__reviews {
  color: var(--ink-muted);
}

.start-sample__index {
  grid-area: index;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  margin-top: 0.35rem;
}

.start-sample__ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(var(--bg-elevated) 58%, transparent 59%),
    conic-gradient(
      from -90deg,
      var(--index-ring) 0%,
      var(--index-ring-end) 68%,
      var(--index-ring-track) 68%
    );
  text-align: center;
  line-height: 1;
}

.start-sample__ring-score {
  display: block;
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
}

.start-sample__ring-total {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 1px;
}

.start-sample__index-label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
  max-width: 7.5rem;
  line-height: 1.2;
}

.start-sample__themes {
  grid-area: themes;
  min-width: 0;
}

.start-sample__themes-heading {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.start-sample__impacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.start-impact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 58px;
  padding: 9px 12px;
  border-radius: 7px;
  border: 1.5px solid;
}

.start-impact--good {
  border-color: var(--brand-border);
  background: var(--accent-green-soft);
  color: var(--accent-green);
}

.start-impact--bad {
  border-color: var(--red-border);
  background: var(--accent-red-soft);
  color: var(--accent-red);
}

.start-impact__main {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
}

.start-impact__icon {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.start-impact__title {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.start-impact__sub {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.92;
}

.start-impact__metric {
  flex-shrink: 0;
  text-align: right;
}

.start-impact__metric strong {
  display: block;
  font-family: var(--font-display), Georgia, serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.start-impact__metric span {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  margin-top: 0.15rem;
  opacity: 0.9;
}

/* Benefits */
.start-benefits {
  width: 100%;
  max-width: 660px;
}

.start-benefits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 28px;
  gap: 28px;
}

.start-benefits__item {
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-gap: 12px;
  gap: 12px;
  align-items: start;
  text-align: left;
}

.start-benefits__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef3ec;
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.start-benefits__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.start-benefits__body {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--ink-muted);
}

/* Google notice */
.start-notices {
  width: 100%;
  max-width: 640px;
}

.start-google-note {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  padding: 12px 20px;
  background: var(--google-note);
  border-radius: var(--radius);
}

.start-google-note p {
  margin: 0;
  max-width: 520px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.start-google-note__mark {
  flex-shrink: 0;
  display: flex;
}

@media (max-width: 640px) {
  .start-hero {
    max-width: none;
    text-align: left;
  }

  .start-hero__title {
    font-size: 32px;
    max-width: 310px;
    margin-left: 0;
    margin-right: 0;
  }

  .start-hero__lead {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .start-search {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .start-search__submit {
    width: 100%;
  }

  .start-sample {
    max-width: none;
    min-height: 0;
    padding: 10px 12px 14px;
  }

  .start-sample__grid {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "photo biz"
      "index themes";
    gap: 10px 12px;
  }

  .start-sample__photo-wrap {
    width: 72px;
    height: 72px;
    border-radius: 7px;
  }

  .start-sample__index {
    margin-top: 0;
    align-items: center;
  }

  .start-sample__ring {
    width: 78px;
    height: 78px;
  }

  .start-sample__ring-score {
    font-size: 26px;
  }

  .start-sample__index-label {
    font-size: 0.65rem;
    max-width: 5.5rem;
  }

  .start-sample__name {
    font-size: 0.98rem;
  }

  .start-sample__themes-heading {
    display: none;
  }

  .start-impact {
    min-height: 48px;
    padding: 7px 9px;
  }

  .start-impact__title {
    font-size: 0.55rem;
  }

  .start-impact__sub {
    font-size: 0.7rem;
  }

  .start-impact__metric strong {
    font-size: 16px;
  }

  .start-benefits {
    max-width: none;
  }

  .start-benefits__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .start-notices {
    max-width: none;
  }

  .site-footer__inner {
    max-width: none;
  }
}

/* Legal stubs (páginas aún provisionales) */
.legal-stub h1 {
  font-family: var(--font-display), Georgia, serif;
  margin: 0 0 1rem;
}

.legal-stub p {
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 52ch;
}

.legal-stub__note {
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* L1 / L2 — documentos legales de producto */
.legal-doc {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.legal-doc__provisional {
  margin: 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--accent, #b45309);
  background: color-mix(in srgb, var(--accent, #b45309) 8%, transparent);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.legal-doc h1 {
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

.legal-doc__meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.legal-doc__section h2 {
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
}

.legal-doc__section h3 {
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.02rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.legal-doc__section p,
.legal-doc__section li {
  color: var(--ink);
  line-height: 1.6;
  font-size: 1rem;
}

.legal-doc__section p {
  margin: 0 0 0.75rem;
}

.legal-doc__section ul,
.legal-doc__section ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.legal-doc__section li + li {
  margin-top: 0.4rem;
}

.legal-doc__section a {
  color: var(--ink);
  text-underline-offset: 0.15em;
}

.legal-doc__section code {
  font-size: 0.92em;
}

.legal-doc__table-wrap {
  overflow-x: auto;
  margin: 0 0 0.75rem;
}

.legal-doc__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal-doc__table th,
.legal-doc__table td {
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.legal-doc__table th {
  font-weight: 600;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
}

.legal-doc__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  font-size: 0.92rem;
}

.legal-doc__nav a {
  color: var(--ink);
  text-underline-offset: 0.15em;
}

/* L3 — contacto / reclamos */
.contact-page {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-page h1 {
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

.contact-page__lead,
.contact-page__note,
.contact-page__privacy,
.contact-page__context {
  margin: 0;
  line-height: 1.55;
  color: var(--ink);
}

.contact-page__help {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.5;
  font-size: 0.92rem;
  color: var(--ink-muted, var(--ink));
}

.contact-page__help li + li {
  margin-top: 0.35rem;
}

.contact-page__case {
  margin: 0;
  font-size: 1.05rem;
}

.contact-page__case code,
.contact-page__context code {
  font-size: 0.92em;
  word-break: break-all;
}

.contact-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-page__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 0.35rem;
  background: var(--ink);
  color: var(--paper, #fff);
  text-decoration: none;
  font-weight: 600;
}

.contact-page__cta--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: 0.35rem;
  background: var(--paper, #fff);
  color: var(--ink);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__error {
  margin: 0;
  color: #9b1c1c;
  font-size: 0.95rem;
}

.contact-form__submit {
  align-self: flex-start;
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  border: none;
  border-radius: 0.35rem;
  background: var(--ink);
  color: var(--paper, #fff);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.contact-form__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Pantalla 2 — business selection (docs/ui/v2/02-business-selection_v2.png) */
.biz-page {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding-bottom: 0.5rem;
}

.biz-page__back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--brand-hover);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.biz-page__back:hover {
  color: var(--brand);
}

.biz-page__intro {
  text-align: left;
}

.biz-page__title {
  margin: 22px 0 4px;
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: clamp(42px, 5vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.biz-page__lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.5;
}

.biz-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 105px;
  grid-gap: 14px;
  gap: 14px;
  align-items: stretch;
  margin-top: 17px;
}

.biz-search__input {
  width: 100%;
  height: 43px;
  min-height: 43px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}

.biz-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.biz-search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 43px;
  min-height: 43px;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--brand), var(--brand-hover));
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.biz-search__submit:hover:not(:disabled) {
  background: var(--brand-hover);
}

.biz-search__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.biz-search__submit--busy {
  cursor: wait;
}

.biz-search__live {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  min-height: 1.25em;
}

.biz-search__live--error {
  color: var(--accent-red);
}

.biz-results {
  margin-top: 0;
}

.biz-results__heading {
  margin: 22px 0 10px;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}

.biz-results__status {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.biz-results__skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.biz-results__loading-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-muted);
}

.biz-results__spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 2px solid #d4d0c8;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: biz-spin 0.75s linear infinite;
}

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

.biz-results__skeleton-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.biz-skel-card {
  display: grid;
  grid-template-columns: 195px minmax(0, 1fr) auto;
  grid-gap: 20px;
  gap: 20px;
  align-items: start;
  min-height: 225px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.biz-skel-card__media {
  width: 195px;
  height: 195px;
  border-radius: 7px;
  flex-shrink: 0;
}

.biz-skel-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding-top: 6px;
}

.biz-skel-card__bone {
  display: block;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    #ece8e1 0%,
    #f5f2ec 45%,
    #ece8e1 100%
  );
  background-size: 200% 100%;
  animation: or-skeleton-shimmer var(--motion-emphasis) ease-in-out infinite;
}

.biz-skel-card__bone--title {
  width: min(100%, 280px);
  height: 18px;
}

.biz-skel-card__bone--title-short {
  width: min(70%, 180px);
  height: 16px;
}

.biz-skel-card__address {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.biz-skel-card__pin {
  display: inline-flex;
  color: #c9c3b8;
  flex-shrink: 0;
}

.biz-skel-card__bone--addr {
  width: min(85%, 320px);
  height: 12px;
}

.biz-skel-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.biz-skel-card__stars {
  display: inline-flex;
  gap: 2px;
  color: #d5cfc4;
}

.biz-skel-card__bone--reviews {
  width: 72px;
  height: 11px;
}

.biz-skel-card__bone--cta {
  align-self: end;
  width: 125px;
  height: 42px;
  border-radius: var(--radius-sm);
}

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

@media (prefers-reduced-motion: reduce) {
  .biz-results__spinner {
    animation: none;
    border-top-color: #d4d0c8;
  }

  .biz-skel-card__bone {
    animation: none;
    background: #ece8e1;
  }
}

.biz-results__error {
  margin: 0 0 0.75rem;
  color: var(--accent-red);
  font-size: 0.92rem;
  line-height: 1.4;
}

.biz-match-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  overflow: hidden;
}

.biz-match-list__item {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.biz-match-list__item:last-child {
  border-bottom: 0;
}

.biz-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

.biz-card__main {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  flex: 1 1;
  padding-right: 140px;
}

.biz-card--disabled {
  opacity: 0.72;
}

.biz-card--busy {
  opacity: 0.95;
}

.biz-card__media {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.biz-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.biz-card__photo-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(145deg, #e8e4de 0%, #d5d0c8 100%);
}

.biz-card__photo-placeholder--has-ref {
  background: linear-gradient(145deg, #d9e2ec 0%, #b7c5d4 100%);
}

.biz-card__body {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.biz-card__name {
  max-width: 420px;
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
}

.biz-card__address {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  width: 100%;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-muted);
}

.biz-card__pin {
  display: none;
}

.biz-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  width: 100%;
  min-width: 0;
}

.biz-card__rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink-muted);
}

.biz-card__rating-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.biz-card__stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: var(--star);
  line-height: 1;
}

.biz-card__star--empty {
  color: #cfc7b8;
}

.biz-card__reviews {
  color: var(--ink-muted);
}

.biz-card__category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  margin: 0;
  padding: 3px 9px;
  border: 1px solid #b8c5b4;
  border-radius: var(--radius-sm);
  background: #f3f6ef;
  color: #244b3b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.biz-card__category-icon {
  flex-shrink: 0;
  color: #244b3b;
}

.biz-card__badge {
  margin: 4px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.biz-card__badge--permanent {
  color: var(--accent-red);
}

.biz-card__analyze {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 118px;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--brand), var(--brand-hover));
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.biz-card__analyze:hover:not(:disabled) {
  background: var(--brand-hover);
}

.biz-card__analyze:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.biz-card__analyze--busy {
  cursor: wait;
}

/* Pantalla 10 — pocas reseñas (mock 02-02-no-reviews-enough_v2) */
.biz-card--insufficient {
  flex-direction: column;
  min-height: 0;
  gap: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.biz-card--insufficient .biz-card__main {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  grid-gap: 16px;
  gap: 16px;
  padding-right: 140px;
}

.biz-card--insufficient .biz-card__media {
  width: 120px;
  height: 120px;
}

.biz-card--insufficient .biz-card__body,
.biz-card--insufficient .biz-card__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.biz-card--insufficient .biz-card__name {
  font-family: var(--font-display), Georgia, serif;
  font-size: 20px;
}

.biz-card--insufficient .biz-card__address {
  display: block;
  -webkit-line-clamp: 3;
}

.biz-card__top {
  position: relative;
  min-width: 0;
}

.biz-card--insufficient .biz-card__content,
.biz-card--insufficient .biz-card__body {
  padding-bottom: 0;
}

.biz-card__unavailable {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 125px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #d8d5cf;
  color: #5c5852;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: not-allowed;
}

.biz-card__unavailable:disabled {
  opacity: 1;
}

.biz-card__warn {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
  align-items: start;
  margin-top: 14px;
  padding: 14px 16px;
  border-top: 1px dashed #d9d2c4;
  border-radius: 0 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px);
  background: #f7f1e4;
  color: #5a4a28;
}

.biz-card--degraded .biz-card__top {
  min-height: 42px;
  margin-bottom: 4px;
}

.biz-card--degraded .biz-card__unavailable {
  position: static;
  width: 100%;
}

.biz-card--degraded .biz-card__warn {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 10px;
}

.biz-card__warn-icon {
  display: flex;
  margin-top: 1px;
  color: #c9a227;
}

.biz-card__warn-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #3f3420;
}

.biz-card__warn-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #5a4a28;
}

.biz-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-muted);
}

.biz-tip__icon {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 1px;
  color: #b8860b;
}

.biz-privacy {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: center;
  min-height: 98px;
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid var(--brand-border);
  border-radius: 9px;
  background: var(--brand-soft);
}

.biz-privacy__icon {
  display: flex;
  color: var(--brand-hover);
}

.biz-privacy__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.biz-privacy__text {
  margin: 0;
  max-width: 570px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-muted);
}

.biz-page > .biz-privacy:last-child {
  margin-bottom: 30px;
}

.biz-page__help {
  margin: 26px 0 30px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-muted);
}

.biz-page__help-btn {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brand-hover);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  min-height: 44px;
}

.biz-page__help-btn:hover {
  color: var(--brand);
}

/* Estado vacío — docs/ui/v2/02-01-empty_result.png */
.biz-empty {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.biz-empty__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-gap: 22px 24px;
  gap: 22px 24px;
  align-items: center;
}

.biz-empty__icon {
  display: flex;
}

.biz-empty__icon-ring {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-muted);
}

.biz-empty__magnifier {
  display: block;
}

.biz-empty__message {
  min-width: 0;
}

.biz-empty__title {
  margin: 0 0 10px;
  font-family: var(--font-display), Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  outline: none;
}

.biz-empty__tip {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.biz-empty__divider {
  height: 1px;
  width: 100%;
  margin: 20px 0 16px;
  background: var(--line);
  border: 0;
}

.biz-empty__suggestions-block {
  min-width: 0;
}

.biz-empty__suggestions-label {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.biz-empty__suggestions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.biz-empty__suggestion-item {
  min-width: 0;
}

.biz-empty__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.biz-empty__chip:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand-hover);
}

.biz-empty__chip:disabled {
  opacity: 0.55;
  cursor: wait;
}

@media (max-width: 640px) {
  body:has(.biz-page) .app-main {
    width: calc(100% - 32px);
  }

  body:has(.biz-page) .site-header__inner,
  body:has(.biz-page) .site-nav-panel {
    width: calc(100% - 32px);
  }

  .site-header {
    padding-top: 14px;
  }

  .brand-mark__ir {
    width: 34px;
    height: 34px;
  }

  .brand-mark__text {
    font-size: 16px;
  }

  .site-header__right {
    gap: 17px;
  }

  .biz-page__back {
    margin-top: 24px;
  }

  .biz-page__title {
    margin-top: 18px;
    font-size: 34px;
    line-height: 1.05;
  }

  .biz-page__lead {
    font-size: 13px;
  }

  .biz-search {
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 8px;
    margin-top: 15px;
  }

  .biz-search__input,
  .biz-search__submit {
    height: 39px;
    min-height: 39px;
  }

  .biz-search__submit {
    font-size: 14px;
  }

  .biz-results__heading {
    margin: 18px 0 10px;
    font-size: 16px;
  }

  .biz-card {
    flex-direction: column;
    padding: 12px;
    min-height: 0;
  }

  .biz-card__main {
    gap: 10px;
    padding-right: 0;
  }

  .biz-card__media {
    width: 72px;
    height: 72px;
    border-radius: 5px;
  }

  .biz-card__body {
    gap: 5px;
  }

  .biz-card__name {
    max-width: none;
    font-size: 14px;
    line-height: 1.25;
  }

  .biz-card__address {
    display: none;
  }

  .biz-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .biz-card__rating {
    gap: 5px;
    font-size: 11px;
  }

  .biz-card__rating-num {
    font-size: 13px;
  }

  .biz-card__stars svg {
    width: 12px;
    height: 12px;
  }

  .biz-card__category {
    min-height: 24px;
    padding: 2px 7px;
    font-size: 11px;
  }

  .biz-card__analyze {
    position: static;
    align-self: flex-end;
    width: auto;
    min-width: 0;
    height: 32px;
    margin-top: 8px;
    padding: 0 12px;
    transform: none;
    font-size: 12px;
  }

  .biz-card--insufficient .biz-card__main {
    grid-template-columns: 72px minmax(0, 1fr);
    padding-right: 0;
  }

  .biz-card--insufficient .biz-card__media {
    width: 72px;
    height: 72px;
  }

  .biz-card--insufficient .biz-card__address {
    display: -webkit-box;
  }

  .biz-skel-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 10px;
  }

  .biz-skel-card__media {
    width: 92px;
    height: 112px;
    border-radius: 6px;
  }

  .biz-skel-card__body {
    gap: 7px;
    padding-top: 1px;
  }

  .biz-skel-card__bone--title {
    height: 14px;
  }

  .biz-skel-card__bone--title-short {
    height: 12px;
  }

  .biz-skel-card__bone--cta {
    grid-column: 1 / -1;
    width: 100%;
    height: 34px;
    margin-top: 2px;
  }

  .biz-results__loading-line {
    font-size: 13px;
  }

  .biz-card__unavailable {
    position: static;
    width: 100%;
    min-width: 0;
    height: 34px;
    margin-top: 9px;
    font-size: 13px;
  }

  .biz-card--insufficient .biz-card__content {
    padding-right: 0;
  }

  .biz-card__warn {
    gap: 10px;
    margin-top: 10px;
    padding: 12px 12px;
  }

  .biz-card__warn-title {
    font-size: 14px;
  }

  .biz-card__warn-text {
    font-size: 12px;
  }

  .biz-tip {
    gap: 8px;
    margin-top: 12px;
    font-size: 12px;
  }

  .biz-privacy {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    margin-top: 14px;
    padding: 13px 14px;
  }

  .biz-privacy__icon svg {
    width: 36px;
    height: 36px;
  }

  .biz-privacy__title {
    font-size: 13px;
  }

  .biz-privacy__text {
    font-size: 11px;
    line-height: 1.4;
  }

  .biz-page__help {
    margin: 16px 0 19px;
    font-size: 12px;
    line-height: 1.45;
  }

  .biz-empty {
    padding: 22px 16px 18px;
    text-align: center;
  }

  .biz-empty__top {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }

  .biz-empty__icon {
    padding-top: 0;
  }

  .biz-empty__icon-ring {
    width: 72px;
    height: 72px;
  }

  .biz-empty__magnifier {
    width: 44px;
    height: 44px;
  }

  .biz-empty__title {
    font-size: 20px;
  }

  .biz-empty__tip {
    font-size: 13px;
    margin-inline: auto;
  }

  .biz-empty__divider {
    margin: 16px 0 14px;
  }

  .biz-empty__suggestions-label {
    font-size: 13px;
  }

  .biz-empty__suggestions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .biz-empty__chip {
    min-height: 40px;
    font-size: 13px;
    white-space: normal;
  }

  .site-footer {
    padding: 14px 16px 16px;
  }

  .site-footer__links {
    gap: 7px 17px;
  }

  .site-footer__links a {
    font-size: 10px;
    line-height: 1.35;
    min-height: 28px;
  }

  .site-footer__disclaimer {
    margin-top: 16px;
    font-size: 10px;
    line-height: 1.4;
  }

  .site-footer__copyright {
    margin-top: 5px;
    font-size: 10px;
  }
}

/* —— Pantalla 3 · progreso de análisis (v2) —— */
.prog-page {
  width: min(640px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.75rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-height: calc(100vh - var(--header-h) - 6rem);
}

.prog-page__back {
  margin: 0;
  font-size: 0.95rem;
}

.prog-page__back a {
  color: var(--ink-muted);
  text-decoration: none;
}

.prog-page__back a:hover {
  color: var(--brand);
}

.prog-page__intro {
  text-align: left;
}

.prog-page__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.prog-page__lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.45;
  max-width: 36rem;
}

.prog-biz-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--bg-elevated);
  box-shadow: 0 8px 22px rgba(25, 35, 28, 0.06);
}

.prog-biz-card__media {
  flex: 0 0 auto;
  width: 7rem;
  height: 7rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ebe7e1;
}

.prog-biz-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prog-biz-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e4dc, #d9d4cb);
}

.prog-biz-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.prog-biz-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.prog-biz-card__address {
  margin: 0;
  display: flex;
  gap: 0.35rem;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.prog-biz-card__pin {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: var(--ink-muted);
}

.prog-biz-card__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.prog-biz-card__rating strong {
  font-weight: 700;
}

.prog-biz-card__reviews {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.prog-biz-card__meta {
  margin-top: 0.15rem;
}

.prog-stepper {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0;
}

.prog-stepper--vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.prog-stepper__item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  align-items: stretch;
  min-width: 0;
}

.prog-stepper__item--pending {
  opacity: 0.78;
}

.prog-stepper__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 2rem;
}

.prog-stepper__node {
  position: relative;
  z-index: 1;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line-strong);
  background: var(--bg-elevated);
  color: #fff;
  flex: 0 0 auto;
}

.prog-stepper__item--pending .prog-stepper__node {
  background: transparent;
  border-color: #cfc9bf;
}

.prog-stepper__item--active .prog-stepper__node {
  background: transparent;
  border-color: var(--brand);
  box-shadow: none;
}

.prog-stepper__item--done .prog-stepper__node {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.prog-stepper__connector {
  flex: 1 1 auto;
  width: 0;
  min-height: 1.35rem;
  margin: 0.2rem 0;
  border-left: 2px dashed #d5cfc4;
}

.prog-stepper__connector--done {
  border-left-color: var(--brand);
  border-left-style: solid;
}

.prog-stepper__ring {
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 2px solid transparent;
  border-top-color: var(--brand);
  border-right-color: var(--brand-border);
  animation: prog-stepper-spin var(--motion-emphasis) linear infinite;
  pointer-events: none;
}

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

.prog-stepper__body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1.1rem;
  min-width: 0;
}

.prog-stepper__item:last-child .prog-stepper__body {
  padding-bottom: 0;
}

.prog-stepper__label {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink-muted);
  font-weight: 500;
}

.prog-stepper__num-text {
  font-weight: 600;
}

.prog-stepper__item--active .prog-stepper__label {
  color: var(--ink);
  font-weight: 700;
}

.prog-stepper__item--done .prog-stepper__label {
  color: var(--ink);
  font-weight: 600;
}

.prog-stepper__status {
  margin: 0;
  flex: 0 0 auto;
  font-size: 0.88rem;
  color: var(--ink-muted);
  text-align: right;
  max-width: 42%;
}

.prog-stepper__item--active .prog-stepper__status {
  color: var(--ink-muted);
}

@media (prefers-reduced-motion: reduce) {
  .prog-stepper__ring {
    animation: none;
    border-color: var(--brand);
    opacity: 0.55;
  }

  .prog-stepper__item--active .prog-stepper__node {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
  }
}

.prog-bar {
  width: 100%;
  padding: 0.15rem 0 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.prog-bar__percent {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.prog-bar__track {
  height: 10px;
  border-radius: 999px;
  background: #e8e4dc;
  overflow: hidden;
}

.prog-bar__fill {
  height: 100%;
  width: 0%;
  background: var(--brand);
  border-radius: 999px;
  transition: width var(--motion-emphasis) var(--ease-standard);
}

.prog-bar--indeterminate .prog-bar__fill {
  width: 35%;
  background: var(--brand);
  animation: prog-bar-indeterminate calc(var(--motion-emphasis) * 2) var(--ease-standard) infinite;
}

@keyframes prog-bar-indeterminate {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .prog-bar__fill {
    transition: none;
  }

  .prog-bar--indeterminate .prog-bar__fill {
    animation: none;
    width: 40%;
    opacity: 0.85;
    transform: none;
  }
}

.prog-page__status {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0;
}

.prog-page__status-primary {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
}

.prog-page__status-secondary {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.prog-page__status-warning {
  margin: 0.15rem 0 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.prog-page__connection {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  text-align: center;
}

.prog-page__connection-msg {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.prog-page__connection-actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
}

.prog-page__connection-link {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.prog-page__connection-recovered {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
}

.prog-page__notify-wrap {
  margin-top: 0.5rem;
  opacity: 0.92;
}

.prog-page__notify-wrap .prog-notify {
  border-style: dashed;
  background: transparent;
}

.prog-notify {
  margin-top: 0.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.prog-notify__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.prog-notify__lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.prog-notify__link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.prog-notify__url {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font: inherit;
  font-size: 0.88rem;
  color: var(--ink);
}

.prog-notify__copy {
  flex: 0 0 auto;
}

.prog-notify__hint {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.prog-notify__alert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.prog-notify__badge {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
}

.prog-notify__status {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ink);
}

.prog-page--connection-paused .prog-stepper__ring {
  animation: none;
  opacity: 0.45;
}

.prog-page--completing {
  transition: opacity var(--motion-medium) var(--ease-exit);
}

.prog-page__error {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.prog-page__error p {
  margin: 0 0 0.75rem;
}

@media (max-width: 560px) {
  .prog-page {
    gap: 1.15rem;
    padding-top: 0.5rem;
  }

  .prog-biz-card {
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .prog-biz-card__media {
    width: 5.25rem;
    height: 5.25rem;
  }

  .prog-biz-card__name {
    font-size: 0.98rem;
  }

  .prog-stepper__status {
    max-width: 38%;
    font-size: 0.8rem;
  }

  .prog-stepper__label {
    font-size: 0.9rem;
  }
}

/* Pantalla 4 — diagnosis summary (docs/ui/v2/04-diagnosis-summary_v2.png) */
.diag-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.diag-page--v2 {
  --diag-hairline: #ececed;
  --diag-surface: #ffffff;
  padding: 0 0 5.5rem;
  max-width: none;
  width: 100%;
  gap: 0.85rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.diag-page--v2-unlocked {
  padding-bottom: 2.5rem;
}

.diag-report-surface {
  background: var(--diag-surface);
  border: 1px solid #e8e8ea;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
  padding: 1.15rem 1.35rem 1.35rem;
}

.diag-chrome__back--summary {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.diag-summary-hero {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 0 1.15rem;
  box-shadow: none;
  border-bottom: 1px solid var(--diag-hairline, #ececed);
}

.diag-chrome--summary {
  margin: 0;
  padding: 0.7rem 1.15rem;
  background: #fff;
  border: 1px solid #e5e5e7;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}

.diag-chrome--summary .diag-chrome__row {
  align-items: center;
  gap: 1rem;
  min-height: 2.4rem;
}

.diag-chrome--summary .diag-chrome__brand {
  flex-shrink: 0;
  gap: 0.65rem;
  color: #111;
}

.diag-chrome--summary .diag-chrome__brand .brand-mark__text {
  font-size: 0.98rem;
  font-family: var(--font-sans, inherit), system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #111;
}

.diag-chrome--summary .diag-chrome__brand .brand-mark__ir {
  width: 34px;
  height: 34px;
  font-size: 0.72rem;
  background: #0a0a0a;
}

.diag-summary-hero .diag-profile--v2 {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0.35rem 0 0;
}

.diag-summary-scroll {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.diag-summary-scroll > * {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--diag-hairline, #ececed);
}

.diag-summary-scroll > *:last-child {
  border-bottom: 0;
  padding-bottom: 0.35rem;
}

/* El hint no debe verse como bloque con divisor propio. */
.diag-summary-scroll > .diag-scroll-hint {
  padding-top: 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 0;
}

.diag-chrome--summary .diag-chrome__spacer {
  display: block;
  flex: 1 1 auto;
}

.diag-chrome--summary .diag-chrome__actions--summary {
  width: auto;
  margin-left: auto;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
  flex-wrap: wrap;
  align-items: center;
}

.diag-chrome--summary .diag-chrome__action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.45rem 0.2rem;
  line-height: 1.2;
}

.diag-chrome--summary .diag-chrome__share {
  border: 0;
  background: transparent;
  color: #111;
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}

.diag-chrome--summary .diag-chrome__pdf {
  border: 1.5px solid #1f2937;
  background: #fff;
  color: #111;
  padding: 0.48rem 0.9rem;
  border-radius: 8px;
  font-weight: 650;
}

.diag-chrome--summary .diag-chrome__pdf:hover {
  background: #f9fafb;
}

.diag-chrome--summary .diag-chrome__new--link {
  border: 0;
  background: transparent;
  color: #2563eb;
  font-weight: 650;
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}

.diag-chrome--summary .diag-chrome__new--link:hover {
  border-color: transparent;
  text-decoration: underline;
}

.diag-chrome--summary .diag-chrome__send-owner {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.45rem 0.15rem;
}

.diag-profile--v2 {
  align-items: start;
  background: var(--bg-elevated, #fff);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.diag-profile__photo-wrap {
  position: relative;
  width: 148px;
}

.diag-profile__photo-wrap .diag-profile__photo,
.diag-profile__photo-wrap .diag-profile__photo--placeholder {
  width: 148px;
  height: 148px;
  border-radius: 10px;
}

.diag-profile__photo-badge {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #1a6b45;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.diag-profile__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  padding-top: 0.1rem;
}

.diag-profile__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.15rem 0;
  text-align: right;
}

.diag-profile__aside-top {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.diag-profile__aside-line {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.diag-profile__aside-line--reach {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-top: auto;
  max-width: 14rem;
  margin-left: auto;
}

.diag-profile__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: currentColor;
  line-height: 0;
}

.diag-profile__icon--inline {
  margin-right: 0.2rem;
  vertical-align: -0.15em;
}

.diag-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  justify-self: center;
  align-self: center;
  margin-top: 0;
  padding: 0 0.25rem;
}

.diag-index__ring {
  --diag-index-pct: 0%;
  --diag-ring-color: var(--index-ring);
  --diag-ring-end: var(--index-ring-end);
  width: 138px;
  height: 138px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(var(--bg-elevated) 58%, transparent 59%),
    conic-gradient(
      from -90deg,
      var(--diag-ring-color) 0%,
      var(--diag-ring-end) var(--diag-index-pct),
      var(--index-ring-track) var(--diag-index-pct)
    );
  text-align: center;
  line-height: 1;
}

.diag-index--excelente {
  --diag-ring-color: #15803d;
  --diag-ring-end: #16a34a;
}

.diag-index--bueno {
  --diag-ring-color: #16a34a;
  --diag-ring-end: #22c55e;
}

.diag-index--regular {
  --diag-ring-color: #e8a317;
  --diag-ring-end: #d97706;
}

.diag-index--critico {
  --diag-ring-color: #dc2626;
  --diag-ring-end: #b91c1c;
}

.diag-index__score {
  display: block;
  font-family: var(--font-display), Georgia, serif;
  font-weight: 700;
  font-size: 2.05rem;
  line-height: 1;
  color: var(--ink);
}

.diag-index__total {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 2px;
}

.diag-index__label-in {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--ink-muted);
  max-width: 5.8rem;
  line-height: 1.15;
}

.diag-index__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  max-width: 7.5rem;
  line-height: 1.2;
}

.diag-index__band {
  margin: 0;
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  background: #d97706;
}

.diag-index--excelente .diag-index__band,
.diag-index--bueno .diag-index__band {
  background: #16a34a;
}

.diag-index--regular .diag-index__band {
  background: #e8a317;
}

.diag-index--critico .diag-index__band {
  background: #dc2626;
}

.diag-profile__photo-caption {
  display: none;
}

.diag-profile__meta-line {
  margin: 0 0 0.45rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.diag-profile__how {
  display: inline-flex;
  align-items: center;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.diag-profile__how:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.diag-profile__meta--muted {
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.diag-profile__meta--basis {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  font-weight: 700;
  color: var(--ink);
}

.diag-profile__meta--sample {
  margin-top: 0.35rem;
  color: #5b6b85;
  font-size: 0.86rem;
}

.diag-profile__google-total {
  color: #5b6b85;
  font-size: 0.9rem;
}

.diag-profile__reach {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.diag-acto1-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0.9rem;
  gap: 0.9rem;
  align-items: stretch;
}

.diag-acto1-row > * {
  margin: 0;
  height: 100%;
}

.diag-send-owner {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line, #d8d8d8);
  background: var(--bg-elevated, #fff);
}

.diag-send-owner__cta-label {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.diag-send-owner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.diag-send-owner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line, #d8d8d8);
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
}

.diag-send-owner__btn--primary {
  /* Gap B H-04 — no primary red; keep secondary outline. */
  background: #fff;
  border-color: var(--line, #d8d8d8);
  color: var(--ink);
}

.diag-opening-quote {
  margin: 0;
  padding: 1.15rem 1.3rem 1.2rem;
  border-radius: 12px;
  background: #fff5f3;
  border: 1px solid #f0c4bc;
}

.diag-opening-quote--healthy {
  background: #f3f8f4;
  border-color: #c5dccb;
}

.diag-opening-quote--card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.diag-opening-quote__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.diag-opening-quote__kicker {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1a6b45;
}

.diag-opening-quote__text {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.diag-opening-quote__mark {
  display: block;
  color: #dc2626;
  font-family: var(--font-display), Georgia, serif;
  font-size: 2.55rem;
  line-height: 0.65;
  margin: 0 0 0.15rem;
  font-weight: 700;
}

.diag-opening-quote--healthy .diag-opening-quote__mark {
  color: #1a6b45;
}

.diag-opening-quote__stars {
  margin: 0.15rem 0 0;
  line-height: 1;
}

.diag-opening-quote__star-row {
  display: inline-flex;
  gap: 0.08rem;
}

.diag-opening-quote__star {
  font-size: 2rem;
  line-height: 1;
  color: #d4d0ca;
}

.diag-opening-quote__star--on {
  color: #e8a317;
}

.diag-opening-quote__meta {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.diag-executive {
  margin: 0;
  padding: 1.1rem 1.25rem 1.15rem;
  border-radius: 12px;
  background: #eef8f0;
  border: 1px solid #b7d9bf;
}

.diag-executive--healthy {
  background: #f3f8f4;
  border-color: #c5dccb;
}

.diag-executive__title {
  margin: 0 0 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1a6b45;
}

.diag-executive__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #1a6b45;
  line-height: 0;
}

.diag-executive__body {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 400;
  color: var(--ink);
}

.diag-executive__priority {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.diag-scroll-hint {
  margin: 0.35rem 0 0.15rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.diag-unreplied {
  margin: 0.85rem 0 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--diag-surface, #fff) 90%, #fde8e8) 0%,
    var(--diag-surface, #fff) 100%
  );
  border: 1px solid color-mix(in srgb, #b91c1c 12%, transparent);
}

.diag-unreplied__title {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--diag-ink, #1a1a1a) 55%, transparent);
}

.diag-unreplied__body {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--diag-ink, #1a1a1a);
}


.diag-compare {
  margin: 0;
}

.diag-compare__head {
  margin: 0 0 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
}

.diag-compare__title {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.diag-compare__subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.diag-compare__empty {
  margin: 0;
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  border: 1px solid #e6e2dc;
  background: #fafafa;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.diag-compare__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  grid-gap: 0.85rem;
  gap: 0.85rem;
}

.diag-compare__card {
  border: 1px solid #e6e2dc;
  border-radius: 12px;
  padding: 1.05rem 1.05rem 0.95rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
}

.diag-compare__card-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.diag-compare__icon {
  margin: 0;
  display: inline-flex;
  color: #1a365d;
  line-height: 0;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.diag-compare__card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #1a365d;
}

.diag-compare__verdict {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.diag-compare__meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.diag-compare__gauge {
  margin: 0.15rem 0 0.25rem;
}

.diag-compare__gauge-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #e8e4df;
  margin: 0.55rem 0 1.15rem;
}

.diag-compare__gauge-thumb {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f59e0b;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #f59e0b;
  transform: translate(-50%, -50%);
}

.diag-compare__gauge-scale {
  position: relative;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: -0.55rem;
  min-height: 1.1rem;
}

.diag-compare__gauge-value {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-weight: 700;
  color: #ea580c;
}

.diag-compare__actions {
  margin-top: auto;
  padding-top: 0.45rem;
  display: flex;
  justify-content: center;
}

.diag-compare__preparing {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--or-muted, #5c6570);
  text-align: center;
}

.diag-compare__lock-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #e5e1dc;
  background: #f3f1ee;
  color: #1a365d;
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
}

.diag-compare__lock-btn:hover {
  border-color: #d4d0ca;
  background: #ebe8e4;
}

.diag-compare__lock-svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  color: #1a365d;
}

.diag-bench {
  margin: 0.85rem 0 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--diag-surface, #fff) 92%, #e8f0ea) 0%,
    var(--diag-surface, #fff) 100%
  );
  border: 1px solid color-mix(in srgb, var(--diag-ink, #1a1a1a) 8%, transparent);
}

.diag-bench__item + .diag-bench__item {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--diag-ink, #1a1a1a) 8%, transparent);
}

.diag-bench__title {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--diag-ink, #1a1a1a) 55%, transparent);
}

.diag-bench__verdict {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--diag-ink, #1a1a1a);
}

.diag-bench__meta {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--diag-ink, #1a1a1a) 60%, transparent);
}

.diag-bench__insufficient {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--diag-ink, #1a1a1a) 75%, transparent);
}

.diag-cost {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.15rem;
  border-radius: 12px;
  /* Mock Pantalla 8 — crema/ámbar (muestreo #FEF9F3 / borde #F3E6D0) */
  background: #fef9f3;
  border: 1px solid #f0e0c8;
}

.diag-cost--empty {
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-muted);
  background: #f7f7f5;
  border-color: #e6e2dc;
}

.diag-cost__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: #8a5a2b;
}

.diag-cost__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.diag-cost__body {
  min-width: 0;
  flex: 1 1 auto;
}

.diag-cost__headline {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.35rem;
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  line-height: 1.4;
  color: var(--ink);
}

.diag-cost__lead {
  font-weight: 500;
}

.diag-cost__amount {
  font-weight: 700;
  color: var(--ink);
}

.diag-cost__period {
  color: var(--ink-muted);
  font-weight: 500;
}

.diag-cost__note {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.diag-cost__details {
  display: inline;
  margin: 0;
}

.diag-cost__summary {
  display: inline;
  cursor: pointer;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2563eb;
}

.diag-cost__summary::-webkit-details-marker {
  display: none;
}

.diag-cost__summary::after {
  content: " ▾";
  font-size: 0.75em;
}

.diag-cost__list {
  display: block;
  margin: 0.55rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.diag-theme-card__item--teaser .diag-theme-card__name {
  font-style: italic;
  color: var(--ink-muted);
}

.diag-theme-card__lock {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: #334155;
}

.diag-theme-card__lock svg {
  width: 14px;
  height: 14px;
  display: block;
}

.diag-theme-card__teaser-link {
  color: inherit;
  text-decoration: none;
}

.diag-theme-card__teaser-link:hover {
  text-decoration: underline;
}


.diag-acto3 {
  display: block;
  margin-top: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.diag-acto3--with-unlock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 19rem);
  grid-gap: 1rem 1.15rem;
  gap: 1rem 1.15rem;
  align-items: stretch;
}

.diag-acto3__main {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.diag-acto3__main > .diag-evidence-preview {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--diag-hairline, #ececed);
}


.diag-evidence-preview {
  margin: 0;
}

.diag-evidence-preview__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.diag-evidence-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  align-items: stretch;
}

.diag-evidence-card {
  --ev-green: #1b7a3d;
  --ev-red: #b42318;
  --ev-icon-bg: #e8f5ec;
  border-radius: 12px;
  padding: 1.2rem 1.25rem 1.1rem;
  border: 1px solid #e8e8e8;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.diag-evidence-card--positive {
  --ev-icon-bg: #e6f6eb;
}

.diag-evidence-card--negative {
  --ev-icon-bg: #fdecea;
}

.diag-evidence-card__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-gap: 0.65rem 0.7rem;
  gap: 0.65rem 0.7rem;
  align-items: start;
  padding-bottom: 0.95rem;
  margin-bottom: 0.95rem;
  border-bottom: 1px solid #ececec;
}

.diag-evidence-card__theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--ev-icon-bg);
  line-height: 0;
}

.diag-evidence-card--positive .diag-evidence-card__theme-icon {
  color: var(--ev-green);
}

.diag-evidence-card--negative .diag-evidence-card__theme-icon {
  color: var(--ev-red);
}

.diag-evidence-card__name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  min-width: 0;
  padding-top: 0.45rem;
}

.diag-evidence-card--positive .diag-evidence-card__name {
  color: var(--ev-green);
}

.diag-evidence-card--negative .diag-evidence-card__name {
  color: var(--ev-red);
}

.diag-evidence-card__impact {
  margin: 0;
  justify-self: end;
  align-self: start;
  margin-top: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border: 0;
}

.diag-evidence-card--positive .diag-evidence-card__impact {
  color: var(--ev-green);
  background: #e6f6eb;
}

.diag-evidence-card--negative .diag-evidence-card__impact {
  color: var(--ev-red);
  background: #fdecea;
}

.diag-evidence-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1 1 auto;
}

.diag-evidence-card__quote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1f2937;
  font-style: normal;
  font-weight: 450;
}

.diag-evidence-card__meta {
  margin: 0;
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.35;
}

.diag-evidence-card__rating {
  margin: 0;
  line-height: 1;
}

.diag-evidence-card__stars {
  display: inline-flex;
  gap: 0.08rem;
}

.diag-evidence-card__star {
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1;
}

.diag-evidence-card__stars--positive .diag-evidence-card__star--on {
  color: var(--ev-green);
}

.diag-evidence-card__stars--negative .diag-evidence-card__star--on {
  color: var(--ev-red);
}

.diag-evidence-card__footer {
  margin: auto 0 0;
  padding-top: 1.05rem;
}

.diag-evidence-card__maps {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.diag-evidence-card--positive .diag-evidence-card__maps {
  color: var(--ev-green);
}

.diag-evidence-card--negative .diag-evidence-card__maps {
  color: var(--ev-red);
}

.diag-evidence-card__maps:hover {
  text-decoration: underline;
}

.diag-evidence-card--locked {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  background: #f3f1ec;
  border-style: solid;
}

.diag-evidence-card__lock-icon {
  margin: 0;
  display: flex;
  justify-content: center;
}

.diag-evidence-card__lock-svg {
  width: 22px;
  height: 22px;
}

.diag-evidence-card__locked-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.diag-unlock-card {
  border: 1px solid #e6e2dc;
  border-radius: 14px;
  padding: 1.25rem 1.15rem 1.15rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  position: -webkit-sticky;
  position: sticky;
  top: 1rem;
  height: 100%;
  align-self: stretch;
}

.diag-unlock-card__badge {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 0.1rem;
  border-radius: 999px;
  background: radial-gradient(circle, #e5f3ea 0%, #f3faf5 70%, transparent 100%);
  display: grid;
  place-items: center;
}

.diag-unlock-card__badge-core {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  background: #007131;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px rgba(0, 113, 49, 0.12);
}

.diag-unlock-card__title {
  margin: 0;
  text-align: center;
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.25;
  color: var(--ink);
}

.diag-unlock-card__sub {
  margin: 0;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.diag-unlock-card__benefits {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.diag-unlock-card__benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.5rem;
  gap: 0.5rem;
  align-items: start;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--ink);
}

.diag-unlock-card__check {
  display: inline-flex;
  line-height: 0;
  margin-top: 0.05rem;
}

.diag-unlock-card__archive {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.45rem;
  gap: 0.45rem;
  align-items: start;
  margin: 0.15rem 0 0;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #f0e0c8;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink);
}

.diag-unlock-card__archive-icon {
  display: inline-flex;
  color: #8a5a2b;
  line-height: 0;
  margin-top: 0.1rem;
}

.diag-unlock-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #007131;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
}

.diag-unlock-card__cta:hover {
  background: #005f29;
}

.diag-unlock-card__microcopy {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.diag-upsell {
  border-radius: 14px;
  padding: 1.35rem 1.4rem;
  background: linear-gradient(180deg, #f5f8f2, #eef4ea);
  border: 1px solid var(--brand-border);
}

.diag-upsell__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.35rem;
}

.diag-upsell__list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.diag-upsell__cta {
  min-width: 12rem;
}

.diag-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.75rem 1.25rem;
  background: #0f2f28;
  color: #fff;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
}

.diag-sticky-bar__lock {
  display: inline-flex;
  color: #a7f3d0;
}

.diag-sticky-bar__lock-svg {
  width: 16px;
  height: 16px;
}

.diag-sticky-bar__lead {
  margin: 0;
  font-size: 0.95rem;
  flex: 1 1 12rem;
}

.diag-sticky-bar__cta {
  flex-shrink: 0;
}

.diag-sticky-bar__dismiss {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
}

.diag-sticky-bar__dismiss:hover {
  color: #fff;
}

/* Unlock registration modal (ciclo A) — mock visual Google-first */
.diag-unlock-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 640px) {
  .diag-unlock-modal {
    align-items: center;
    padding: 1.5rem;
  }
}

.diag-unlock-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(18, 22, 20, 0.52);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  cursor: pointer;
}

.diag-unlock-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26.5rem);
  max-height: min(94vh, 42rem);
  overflow: auto;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.16);
}

@media (min-width: 640px) {
  .diag-unlock-modal__panel {
    border-radius: 22px;
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
  }
}

.diag-unlock-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.05rem 1.15rem 0.35rem 1.25rem;
}

.diag-unlock-modal__brand.brand-mark {
  gap: 0.55rem;
}

.diag-unlock-modal__brand .brand-mark__ir {
  width: 30px;
  height: 30px;
  font-size: 0.68rem;
}

.diag-unlock-modal__brand .brand-mark__text {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.diag-unlock-modal__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8a9098;
  cursor: pointer;
  padding: 0;
}

.diag-unlock-modal__close:hover:not(:disabled) {
  color: #3a3f46;
  background: rgba(0, 0, 0, 0.04);
}

.diag-unlock-modal__close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.diag-unlock-modal__body {
  padding: 0.35rem 1.55rem 1.35rem;
}

.diag-unlock-modal__title {
  margin: 0.55rem 0 0.55rem;
  font-size: clamp(1.35rem, 3.6vw, 1.55rem);
  line-height: 1.22;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-align: center;
  color: #1a1f24;
}

.diag-unlock-modal__support {
  margin: 0 auto 1.2rem;
  max-width: 22rem;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
  color: #6b737c;
}

.diag-unlock-modal__benefits {
  margin: 0 auto 1.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-gap: 0.72rem;
  gap: 0.72rem;
  max-width: 22rem;
}

.diag-unlock-modal__benefits li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #2a3036;
}

.diag-unlock-modal__check {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.05rem;
  border-radius: 999px;
  background: var(--brand, #00543d);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.diag-unlock-modal__error {
  margin: 0 0 0.9rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #fff1f0;
  color: #9b1c1c;
  font-size: 0.88rem;
  text-align: center;
}

.diag-unlock-modal__cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 650;
}

.diag-unlock-modal__google {
  flex: 0 0 auto;
}

.diag-unlock-modal__micro {
  margin: 0.7rem 0 0.4rem;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 550;
  color: #4f6b5a;
}

.diag-unlock-modal__legal {
  margin: 0;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #9aa1a9;
}

.diag-unlock-modal__archive {
  margin: 0.35rem 0 0;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #f4e6d4;
  color: #8a5a28;
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
  border-radius: 0;
}

@media (min-width: 640px) {
  .diag-unlock-modal__archive {
    border-radius: 0 0 22px 22px;
  }
}

.diag-unlock-modal__archive-icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: #9a6a35;
}

.diag-theme-card__more {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.diag-theme-card__teaser-link,
.diag-theme-card__trend-lock-link {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.diag-compare__lock-btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font: inherit;
  cursor: pointer;
}

.diag-connected__cta {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font: inherit;
  cursor: pointer;
  border: 0;
}

.diag-unlock-card__cta {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  border: 0;
}

.diag-send-owner--chrome {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.diag-chrome__send-owner {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent;
  border: 1px solid var(--line, #d8d8d8);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
}

.diag-chrome__send-owner:hover {
  background: color-mix(in srgb, var(--bg-elevated, #fff) 80%, #e8e8e8);
}

.diag-send-owner__actions--chrome {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 30;
  min-width: 10rem;
  padding: 0.5rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-elevated, #fff);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  flex-direction: column;
}

.diag-send-owner__btn--primary {
  /* Gap B H-04 — no primary red; keep secondary outline. */
  background: #fff;
  border-color: var(--line, #d8d8d8);
  color: var(--ink);
}

.diag-cuenta-stub {
  max-width: 32rem;
  margin: 3rem auto;
  padding: 0 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.diag-cuenta-stub__title {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.75rem;
}

.diag-cuenta-stub__body {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.5;
}

.diag-chrome {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.diag-chrome__back {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.diag-chrome__back:hover {
  color: var(--accent-red);
}

.diag-chrome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}

.diag-chrome__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  width: 100%;
}

.diag-tabs {
  width: 100%;
  margin-top: 0.85rem;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.diag-tabs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem 1.25rem;
  min-width: max-content;
}

.diag-tabs__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.1rem 0.55rem;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 3px solid transparent;
}

.diag-tabs__link:hover {
  color: var(--ink);
}

.diag-tabs__link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.diag-tabs__link--active {
  color: #1a6b45;
  font-weight: 700;
  border-bottom-color: #1a6b45;
}

.diag-tabpanel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

/* Pantalla 5 — lo que funciona (docs/ui/05-what-works.png) */
.works-page {
  gap: 1.35rem;
}

.works-hero {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.works-hero__icon {
  color: #1a6b45;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.works-hero__title {
  margin: 0;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  line-height: 1.15;
  color: var(--ink);
}

.works-hero__subtitle {
  margin: 0.35rem 0 0;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.45;
}

.works-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.works-card {
  border: 1px solid #b7d4c4;
  border-radius: 12px;
  background: #f3faf6;
  padding: 1.15rem 1.2rem 1.05rem;
}

.works-card__accordion-trigger {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-gap: 0.65rem 0.75rem;
  gap: 0.65rem 0.75rem;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.works-card__accordion-trigger:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.works-card__accordion-heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.works-card__explanation--summary {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.works-card__chevron {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--motion-medium) var(--ease-standard);
  color: #1a6b45;
  justify-self: end;
}

.works-card--expanded .works-card__chevron {
  transform: rotate(225deg);
  margin-top: 0.7rem;
}

.works-card--costs .works-card__chevron {
  color: var(--accent-red);
}

.works-card__collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--motion-medium) var(--ease-standard);
}

.works-card__collapse--open {
  grid-template-rows: 1fr;
}

.works-card__collapse-inner {
  overflow: hidden;
  min-height: 0;
}

.works-card__collapse--open .works-card__collapse-inner {
  padding-top: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .works-card__collapse,
  .works-card__chevron {
    transition: none;
  }
}

.works-card__header {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 0.75rem 1rem;
  gap: 0.75rem 1rem;
  align-items: start;
}

.works-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #1a6b45;
}

.works-card__score {
  text-align: right;
  border: 1px solid #b7d4c4;
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  min-width: 7.5rem;
}

.works-card__percent {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
  color: #1a6b45;
}

.works-card__ratio {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--ink-muted);
  line-height: 1.3;
}

.works-card__impact {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.3;
}

.works-card__explanation {
  margin: 0.65rem 0 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.works-card__limited {
  margin: 0.55rem 0 0;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b5a1a;
  background: #f7efd4;
  border: 1px solid #e2d4a3;
  border-radius: 6px;
  padding: 0.3rem 0.55rem;
}

.works-card__no-quote {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.works-card__evidence {
  margin-top: 1rem;
}

.works-card__evidence-title {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.works-card__quotes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.works-card__quote {
  position: relative;
  padding-left: 1.1rem;
}

.works-card__quote-mark {
  position: absolute;
  left: 0;
  top: -0.15rem;
  color: #1a6b45;
  font-size: 1.35rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.works-card__quote-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #1a6b45;
  font-weight: 600;
}

.works-card__quote-meta {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.works-card__more-examples,
.works-more-themes {
  margin-top: 0.85rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: transparent;
  color: #1a6b45;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  padding: 0.25rem 0;
  text-align: left;
}

.works-card__more-examples:hover,
.works-more-themes:hover {
  text-decoration: underline;
}

.works-empty {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  color: var(--ink-muted);
  line-height: 1.45;
}

.diag-chrome__new,
.diag-chrome__method,
.diag-chrome__pdf,
.diag-chrome__share {
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  background: var(--bg-elevated);
}

.diag-chrome__new:hover,
.diag-chrome__method:hover,
.diag-chrome__pdf:hover,
.diag-chrome__share:hover {
  border-color: var(--ink);
}

.diag-profile {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 1.25rem;
  gap: 1.25rem;
  align-items: start;
}

.diag-profile.diag-profile--with-index {
  grid-template-columns: auto minmax(0, 1.55fr) auto minmax(11rem, 14rem);
  align-items: stretch;
  gap: 1.25rem 1.65rem;
}

.diag-profile__photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.diag-profile__photo--placeholder {
  background: linear-gradient(135deg, #e8e4df 0%, #cfc8c0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.diag-profile__name {
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.7rem, 3.8vw, 2.2rem);
  margin: 0 0 0.2rem;
  line-height: 1.12;
}

.diag-profile__address,
.diag-profile__category,
.diag-profile__meta {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.diag-profile__rating {
  margin: 0.15rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.45rem;
  font-size: 0.92rem;
}

.diag-profile__score {
  font-weight: 700;
}

.diag-profile__stars {
  color: #c9a227;
  letter-spacing: 0.05em;
  font-size: 1.5rem;
}

.diag-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
  align-items: stretch;
}


.diag-customers-say {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.diag-customers-say__head {
  margin: 0;
}

.diag-customers-say__title {
  margin: 0 0 0.3rem;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.diag-customers-say__basis {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.diag-theme-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.15rem 1rem;
  background: var(--bg-elevated);
}

.diag-theme-card--positive {
  background: #f7faf7;
  border-color: #dde8df;
}

.diag-theme-card--negative {
  background: #fff7f7;
  border-color: #f5e0e0;
}

.diag-theme-card__title {
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  line-height: 1.3;
}

.diag-theme-card__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  line-height: 0;
}

.diag-theme-card__title-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.diag-theme-card--positive .diag-theme-card__title {
  color: #15803d;
}

.diag-theme-card--negative .diag-theme-card__title {
  color: #c2410c;
}

.diag-theme-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.diag-theme-card__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6.75rem;
  grid-gap: 0.35rem 0.75rem;
  gap: 0.35rem 0.75rem;
  align-items: center;
  font-size: 0.95rem;
  line-height: 1.35;
}

.diag-theme-card__item-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.diag-theme-card__row-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  grid-column-gap: 0.65rem;
  column-gap: 0.65rem;
  grid-row-gap: 0.15rem;
  row-gap: 0.15rem;
}

.diag-theme-card__item--teaser .diag-theme-card__row-head {
  grid-template-columns: auto minmax(0, 1fr);
}

.diag-theme-card__row-head .diag-theme-card__name {
  min-width: 0;
  font-weight: 600;
  color: var(--ink);
}

.diag-theme-card__rank {
  font-weight: 700;
}

.diag-theme-card__stats {
  grid-column: 2;
  justify-self: end;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 500;
}

.diag-theme-card--positive .diag-theme-card__stats {
  color: #15803d;
}

.diag-theme-card--negative .diag-theme-card__stats {
  color: #c2410c;
}

.diag-theme-card__item--amber .diag-theme-card__stats {
  color: #d97706;
}

.diag-theme-card__pct {
  font-weight: 700;
}

.diag-theme-card--positive .diag-theme-card__pct {
  color: #15803d;
}

.diag-theme-card--negative .diag-theme-card__pct {
  color: #c2410c;
}

.diag-theme-card__item--amber .diag-theme-card__pct {
  color: #d97706;
}

.diag-theme-card__mentions {
  font-weight: 500;
  opacity: 0.92;
}

.diag-theme-card__impact {
  font-weight: 500;
  opacity: 0.88;
}

.diag-theme-card__bar-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.diag-theme-card--positive .diag-theme-card__bar-track {
  background: #e7f2ea;
}

.diag-theme-card--negative .diag-theme-card__bar-track {
  background: #fce8e8;
}

.diag-theme-card__item--amber .diag-theme-card__bar-track {
  background: #fdeed8;
}

.diag-theme-card__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #16a34a;
  min-width: 0;
}

.diag-theme-card--positive .diag-theme-card__bar-fill {
  background: #16a34a;
}

.diag-theme-card--negative .diag-theme-card__bar-fill {
  background: #dc2626;
}

.diag-theme-card__item--amber .diag-theme-card__bar-fill {
  background: #f59e0b;
}

.diag-theme-card__item--teaser .diag-theme-card__bar-fill {
  background: rgba(15, 23, 42, 0.18);
}

.diag-theme-card__side {
  width: 6.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.diag-theme-card__side--empty {
  visibility: hidden;
}

.diag-theme-card__trend {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
}

.diag-theme-card__trend-icon {
  display: block;
}

.diag-theme-card__trend-icon--good {
  color: #16a34a;
}

.diag-theme-card__trend-icon--bad {
  color: #dc2626;
}

.diag-theme-card__trend-icon--flat {
  color: var(--ink-muted);
}

.diag-theme-card--positive .diag-theme-card__trend {
  color: #16a34a;
}

.diag-theme-card--negative .diag-theme-card__trend {
  color: #dc2626;
}

.diag-theme-card__trend-locked {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  font-size: 0.68rem;
  line-height: 1.15;
  text-align: center;
  color: var(--ink-muted);
}

.diag-theme-card__trend-dash {
  color: #94a3b8;
  display: block;
}

.diag-theme-card__trend-locked-row {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.diag-theme-card__trend-lock-svg {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  color: #334155;
}

.diag-theme-card__trend-lock-link {
  color: #334155;
  text-decoration: none;
  font-weight: 600;
}

.diag-theme-card__trend-lock-link:hover {
  text-decoration: underline;
}

.diag-theme-card__empty {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.diag-theme-card__footer {
  margin: 0.95rem 0 0;
}

.diag-theme-card__more {
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.diag-theme-card--positive .diag-theme-card__more {
  color: #1a6b45;
}

.diag-theme-card--negative .diag-theme-card__more {
  color: #b42318;
}

.diag-connected {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr) auto;
  grid-gap: 0.85rem 1rem;
  gap: 0.85rem 1rem;
  align-items: center;
  margin: 0.15rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  /* Mock — rosa muy suave (#FEF8F8 / borde #F0DDDF) */
  background: #fef8f8;
  border: 1px solid #f0dddf;
}

.diag-connected--empty {
  display: block;
  margin: 0.15rem 0 0;
  padding: 0.95rem 1.15rem;
  border-radius: 12px;
  background: #f7f7f5;
  border: 1px solid #e6e2dc;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.diag-connected__lead {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.diag-connected__flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.4rem 0.45rem;
}

.diag-connected__step {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.55rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e6e2df;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
  font-size: 0.82rem;
  font-weight: 650;
  color: #1e293b;
  line-height: 1.2;
}

.diag-connected__step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  color: #334155;
  line-height: 0;
}

.diag-connected__step-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.diag-connected__step-label {
  white-space: nowrap;
}

.diag-connected__arrow {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  font-size: 1rem;
  font-weight: 700;
  padding: 0 0.05rem;
}

.diag-connected__cta-wrap {
  display: flex;
  align-items: center;
  padding-left: 0.9rem;
  border-left: 1px solid #e7d5d7;
  min-height: 2.55rem;
}

.diag-connected__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 11rem;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1e3a5f;
  text-decoration: none;
}

.diag-connected__cta:hover {
  text-decoration: underline;
}

.diag-connected__cta-lock {
  flex-shrink: 0;
  color: #334155;
}

.diag-explainer {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: #efeeeb;
  border: 1px solid var(--line);
}

.diag-explainer__icon {
  margin: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-style: italic;
  background: #fff;
}

.diag-explainer__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* Pantalla 8 — vista previa alineada a la portada WeasyPrint */
.pdf-preview-page { max-width: 720px; }
.pdf-preview-page__hint {
  margin: 0 0 0.75rem;
  color: #6b7773;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pdf-preview-page__more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 1.1rem 0 0;
}
.pdf-preview-page__more a {
  color: #283649;
  font-size: 0.93rem;
  text-decoration: none;
}
.pdf-preview-page__more a:hover { text-decoration: underline; }

.pdf-preview-actions {
  margin: 0 0 1.25rem;
}
.pdf-preview-actions__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.pdf-preview-actions__btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.55rem 0.95rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}
.pdf-preview-actions__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.pdf-preview-actions__btn--primary {
  background: #0c2b25;
  border-color: #0c2b25;
  color: #fff;
}
.pdf-preview-actions__link {
  font-size: 0.92rem;
  color: #1a73a7;
  text-decoration: none;
  margin-left: 0.25rem;
}
.pdf-preview-actions__link:hover {
  text-decoration: underline;
}
.pdf-preview-actions__msg {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: #8a2b1f;
}
.pdf-preview-actions__retry {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: none;
  color: #1a73a7;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.pdf-preview-sheet {
  padding: clamp(1.1rem, 3vw, 1.75rem) clamp(1.1rem, 3vw, 1.75rem) 0;
  border: 1px solid #d8dfdc;
  border-radius: 4px;
  background: #fffdf9;
  box-shadow: 0 18px 50px rgba(16, 36, 31, 0.12);
  color: #10241f;
  overflow: hidden;
}
.pdf-preview-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.pdf-preview-sheet__meta {
  margin: 0;
  color: #6b7773;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: right;
}
.pdf-preview-sheet__meta strong {
  color: #10241f;
  font-weight: 700;
}
.pdf-preview-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #10241f;
}
.pdf-preview-brand__mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1.5px solid #ef6d69;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}
.pdf-preview-brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.95;
}
.pdf-preview-sheet__title {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.7rem, 4.5vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.pdf-preview-sheet__lead {
  margin: 0.7rem 0 1.35rem;
  color: #6b7773;
  font-size: 1rem;
  line-height: 1.4;
}

.pdf-preview-biz {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
  border: 1px solid #ead1c2;
  border-radius: 12px;
  background: #fff;
}
.pdf-preview-biz__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  background: linear-gradient(145deg, #ead1c2 0%, #c9b3a3 55%, #b79d8b 100%);
}
.pdf-preview-biz__photo--placeholder {
  min-height: 14rem;
}
.pdf-preview-biz__content {
  padding: 1.15rem 1.2rem;
}
.pdf-preview-biz__name {
  margin: 0 0 0.55rem;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  line-height: 1.18;
}
.pdf-preview-biz__address {
  margin: 0 0 0.75rem;
  color: #34433f;
  font-size: 0.9rem;
  line-height: 1.4;
}
.pdf-preview-biz__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}
.pdf-preview-biz__rating-value {
  font-size: 1.35rem;
  font-weight: 700;
}
.pdf-preview-biz__stars {
  color: #f3a000;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.pdf-preview-biz__reviews {
  margin: 0;
  color: #6b7773;
  font-size: 0.85rem;
}
.pdf-preview-biz__rule {
  width: 100%;
  height: 1px;
  margin: 0.75rem 0;
  background: #d8dfdc;
}
.pdf-preview-biz__period {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.pdf-preview-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0.85rem;
  gap: 0.85rem;
  margin-top: 1.1rem;
}
.pdf-preview-metric {
  min-height: 10rem;
  padding: 1.15rem 1rem;
  border: 1px solid;
  border-radius: 10px;
  text-align: center;
}
.pdf-preview-metric--positive {
  border-color: #a8cfb8;
  background: #f1f9f4;
}
.pdf-preview-metric--negative {
  border-color: #efb2b3;
  background: #fff4f4;
}
.pdf-preview-metric h3 {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  text-transform: uppercase;
}
.pdf-preview-metric--positive h3 { color: #087a45; }
.pdf-preview-metric--negative h3 { color: #dd2d2f; }
.pdf-preview-metric__label {
  margin: 0.45rem 0 0;
  color: #6b7773;
  font-size: 0.78rem;
}
.pdf-preview-metric__value {
  margin: 0.45rem 0 0.35rem;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
}
.pdf-preview-metric--positive .pdf-preview-metric__value { color: #087a45; }
.pdf-preview-metric--negative .pdf-preview-metric__value { color: #dd2d2f; }
.pdf-preview-metric__count {
  margin: 0;
  font-size: 0.82rem;
}

.pdf-preview-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid #d8dfdc;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.pdf-preview-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 5.2rem;
  padding: 0.95rem 0.85rem;
  border-right: 1px solid #d8dfdc;
}
.pdf-preview-benefits li:last-child { border-right: 0; }
.pdf-preview-benefits__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.7rem;
  width: 1.7rem;
  height: 1.7rem;
  border: 1.2px solid #10241f;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}
.pdf-preview-benefits strong {
  display: block;
  margin: 0.1rem 0 0.25rem;
  font-size: 0.88rem;
}
.pdf-preview-benefits span {
  color: #6b7773;
  font-size: 0.76rem;
  line-height: 1.35;
}

.pdf-preview-sheet__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.15rem -clamp(1.1rem, 3vw, 1.75rem) 0;
  padding: 0.85rem clamp(1.1rem, 3vw, 1.75rem);
  color: rgba(255, 255, 255, 0.94);
  background: #0c2b25;
  font-size: 0.78rem;
}

@media (max-width: 720px) {
  .diag-profile {
    grid-template-columns: 1fr;
  }

  .diag-profile--with-index,
  .diag-profile.diag-profile--with-index {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: left;
    align-items: start;
  }

  .diag-profile--with-index .diag-profile__body {
    justify-self: stretch;
  }

  .diag-profile__media {
    justify-self: start;
  }

  .diag-index {
    justify-self: center;
    order: 3;
  }

  .diag-profile__aside {
    order: 4;
    text-align: left;
    align-self: stretch;
    min-height: 0;
  }

  .diag-profile__aside-line--reach {
    margin-left: 0;
    max-width: none;
    justify-content: flex-start;
  }

  .diag-chrome--summary .diag-chrome__row {
    flex-wrap: wrap;
  }

  .diag-acto1-row {
    grid-template-columns: 1fr;
  }

  .diag-cards {
    grid-template-columns: 1fr;
  }

  .diag-theme-card__item {
    grid-template-columns: minmax(0, 1fr);
  }

  .diag-theme-card__side {
    width: auto;
    justify-self: start;
  }

  .diag-theme-card__side--empty {
    display: none;
  }

  .diag-connected {
    grid-template-columns: 1fr;
  }

  .diag-connected__cta-wrap {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #e0cfcb;
    padding-top: 0.75rem;
  }

  /* Mobile: Qué mejorar before Qué funciona (visual order only). */
  .diag-cards .diag-theme-card--negative {
    order: 1;
  }

  .diag-cards .diag-theme-card--positive {
    order: 2;
  }

  .diag-compare__grid {
    grid-template-columns: 1fr;
  }

  .diag-acto3--with-unlock {
    grid-template-columns: 1fr;
  }

  .diag-unlock-card {
    position: static;
  }

  .diag-evidence-preview__grid {
    grid-template-columns: 1fr;
  }

  .diag-sticky-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .diag-chrome__actions--summary {
    justify-content: stretch;
  }

  .diag-chrome__actions--summary a {
    flex: 1 1 auto;
    text-align: center;
  }

  .pdf-preview-biz,
  .pdf-preview-metrics,
  .pdf-preview-benefits {
    grid-template-columns: 1fr;
  }

  .pdf-preview-biz__photo {
    min-height: 11rem;
    max-height: 14rem;
  }

  .pdf-preview-benefits li {
    border-right: 0;
    border-bottom: 1px solid #d8dfdc;
    min-height: 0;
  }

  .pdf-preview-benefits li:last-child { border-bottom: 0; }

  .diag-chrome__actions {
    width: 100%;
  }

  .works-card__header {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .works-card__score {
    min-width: 5.5rem;
    padding: 0.35rem 0.5rem;
  }

  .works-card__percent {
    font-size: 1.25rem;
  }

  .works-card__ratio {
    font-size: 0.65rem;
  }
}

/* Pantalla 6 — lo que cuesta clientes (docs/ui/06-what-costs-customers.png) */
.costs-hero__icon {
  color: #c62828;
}

.works-card--costs {
  border-color: #e8b4b4;
  background: #fff8f8;
}

.works-card--costs .works-card__title,
.works-card--costs .works-card__percent {
  color: #c62828;
}

.works-card--costs .works-card__score {
  border-color: #e8b4b4;
}

.works-card--costs .works-card__quote-mark {
  color: #c62828;
}

.works-card--costs .works-card__limited {
  background: #fdecea;
  color: #8b1e1e;
  border-color: #e8b4b4;
}

.works-card--costs .works-card__more-examples {
  color: #c62828;
}

.costs-reco {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f0c8c8;
}

.costs-reco__title {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #c62828;
}

.costs-reco__list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.costs-reco__item + .costs-reco__item {
  margin-top: 0.35rem;
}

.works-more-themes--costs {
  color: #c62828;
}

/* Pantalla 7 — metodología (docs/ui/07-methodology.png) */
.meth-page {
  padding-bottom: 2.5rem;
}

.meth-hero {
  margin: 1.25rem 0 1.75rem;
  text-align: center;
}

.meth-hero__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.meth-hero__subtitle {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted, #5c6570);
}

.meth-steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .meth-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.meth-steps__item {
  text-align: center;
  padding: 0.5rem 0.75rem;
}

.meth-steps__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.65rem;
  color: #2f4f4f;
}

.meth-steps__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
}

.meth-steps__body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted, #5c6570);
}

.meth-criteria {
  margin: 0 0 1.75rem;
  padding-left: 1.25rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.meth-criteria__item {
  margin: 0 0 0.65rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
}

.meth-source {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  max-width: 42rem;
  margin: 0 auto 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e6e8eb;
}

.meth-source__google {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.meth-source__g {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dadce0;
  color: #4285f4;
  font-weight: 700;
  font-size: 0.75rem;
}

.meth-source__more {
  font-size: 0.95rem;
  font-weight: 550;
  color: #1a73a7;
  text-decoration: none;
}

.meth-source__more:hover {
  text-decoration: underline;
}

.meth-version {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--muted, #5c6570);
  text-align: center;
}

.meth-version__sep {
  opacity: 0.7;
}

.meth-expanded {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.meth-expanded__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.meth-expanded__eyebrow a {
  color: var(--muted, #5c6570);
  text-decoration: none;
}

.meth-expanded__eyebrow a:hover {
  text-decoration: underline;
}

.meth-expanded__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.meth-expanded__lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted, #5c6570);
}

.meth-expanded__h2 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--ink);
}

.meth-expanded__steps,
.meth-expanded__list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.55;
  color: var(--ink);
}

.meth-expanded__steps li + li,
.meth-expanded__list li + li {
  margin-top: 0.55rem;
}

.meth-expanded__note {
  margin: 2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted, #5c6570);
}

/* Visitor journey (PR-6, TK-010-06) — app/consulta/**, modules/visitor/**.
   Own screen, phone-first: single column, no dependency on owner layout. */
.visitor-journey {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  color: var(--ink);
}

.visitor-journey__title {
  font-size: 1.5rem;
  margin: 0 0 0.4rem;
}

.visitor-journey__lead {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.visitor-journey__notice {
  margin: 0.9rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--google-note);
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.visitor-entry {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.visitor-entry__input {
  width: 100%;
  height: 44px;
  padding: 0 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}

.visitor-entry__input:disabled {
  opacity: 0.85;
}

.visitor-entry__submit {
  height: 44px;
  border-radius: 7px;
  font-weight: 600;
}

.visitor-entry__live {
  margin: 0;
  font-size: 0.85rem;
}

.visitor-entry__live--error {
  color: var(--accent-red);
}

.visitor-loading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  color: var(--ink-muted);
}

.visitor-summary {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.visitor-summary__heading {
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}

.visitor-summary__group--positive .visitor-summary__heading {
  color: var(--accent-green);
}

.visitor-summary__group--negative .visitor-summary__heading {
  color: var(--accent-red);
}

.visitor-summary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.visitor-theme {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  overflow: hidden;
}

.visitor-theme__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border: none;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.visitor-theme__name {
  font-weight: 600;
  flex: 1 1;
}

.visitor-theme__count {
  color: var(--ink-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.visitor-theme__toggle {
  color: var(--brand);
  font-size: 0.85rem;
  white-space: nowrap;
}

.visitor-theme__snippets {
  list-style: none;
  margin: 0;
  padding: 0 0.9rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid var(--line);
}

.visitor-theme__snippet {
  padding-top: 0.6rem;
}

.visitor-theme__quote {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}

.visitor-empty,
.visitor-error {
  margin-top: 1.75rem;
  padding: 1rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.visitor-empty {
  background: var(--brand-soft);
}

.visitor-error {
  background: var(--accent-red-soft);
}

.visitor-error__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

