/*
 * Réplica de PageSpeed Insights (pagespeed.web.dev, informe móvil, 2026), a tamaño real:
 * ventana de Chrome de 560-704 px o teléfono de ~358 px (container query `rp`).
 * Colores reales: anillos #ff4e42 / #ffa400 / #0cce6b, textos #c7221f / #c33300 / #008800,
 * azul de Google #1a73e8. Indicadores de Lighthouse: anillo sobre un disco tintado al 10 %.
 *
 * Todos los bloques tienen ALTURA FIJA por aspecto (variables --h-*): así el desplazamiento
 * del estado final (fotograma 0, sin JS) se calcula en CSS y coincide con el que mide la escena.
 */

.psi {
  --psi-fail: #ff4e42;
  --psi-avg: #ffa400;
  --psi-pass: #0cce6b;
  --psi-fail-text: #c7221f;
  --psi-avg-text: #c33300;
  --psi-pass-text: #008800;
  --psi-blue: #1a73e8;
  --psi-blue-track: #c6dafc;
  --psi-text: #202124;
  --psi-text-2: #5f6368;
  --psi-text-3: #616161;
  --psi-border: #dadce0;
  --psi-divider: #ebebeb;
  --psi-tint: #f8f9fa;
  --psi-font: Roboto, Arial, "Liberation Sans", Helvetica, sans-serif;
  --psi-font-ui: "Google Sans", Roboto, Arial, "Liberation Sans", Helvetica, sans-serif;
  --psi-lh: "Google Sans Text", Ubuntu, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --psi-mono: "Roboto Mono", Menlo, "DejaVu Sans Mono", Consolas, monospace;

  /* Alturas (móvil) */
  --h-head: 52px;
  --h-date: 46px;
  --h-form: 54px;
  --h-tabs: 52px;
  --h-crux: 652px;
  --h-dhead: 54px;
  --h-cats: 196px;
  --h-perf: 268px;
  --gap-x: 16px;
  --psi-ss-w: 72px;
  --psi-ss-s: 0.1944; /* (ancho - 2 px de borde) / 360 */
  --top: calc(var(--h-head) + var(--h-date) + var(--h-form) + var(--h-tabs) + var(--h-crux));
  --psi-final: var(--top);

  height: 100%;
  overflow: hidden;
  background: #fff;
  font-family: var(--psi-font);
  color: var(--psi-text);
}
.psi.psi-f-seo {
  --psi-final: calc(var(--top) + var(--h-dhead) + 1px + var(--h-cats) + var(--h-perf));
}

/* Favicon de la pestaña: la marca (dibujo propio). */
.psi-rp .rp-tab-fav {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M3.5 25A12.5 12.5 0 0 1 28.5 25' fill='none' stroke='%234285f4' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M9.5 25A6.5 6.5 0 0 1 22.5 25' fill='none' stroke='%23a142f4' stroke-width='3.4' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='25' r='2.6' fill='%231967d2'/%3E%3C/svg%3E")
    center / contain no-repeat !important;
}
/* El guion bajo de «form_factor» no cabe con interlineado 1 en la barra de direcciones. */
.psi-rp .rp-url {
  line-height: 1.35;
}

.psi-page {
  padding-bottom: 600px;
  transform: translate3d(0, calc(-1 * var(--psi-final)), 0);
  will-change: transform;
}

/* ---------- Cabecera ---------- */
.psi-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--h-head);
  padding: 0 12px 0 14px;
  border-bottom: 1px solid var(--psi-border);
  white-space: nowrap;
}
.psi-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font: 400 19px/1 var(--psi-font);
  color: var(--psi-text-2);
}
.psi-logo svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.psi-copy {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--psi-border);
  border-radius: 4px;
  color: var(--psi-blue);
}
.psi-copy svg {
  width: 18px;
  height: 18px;
}
.psi-copy span,
.psi-docs {
  display: none;
}

/* ---------- Columna: fecha, formulario y pestañas ---------- */
.psi-col {
  padding: 0 var(--gap-x);
}
.psi-date {
  height: var(--h-date);
  padding-top: 16px;
  font: 400 18px/24px var(--psi-font);
  color: var(--psi-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.psi-form {
  display: flex;
  gap: 8px;
  height: var(--h-form);
  padding-top: 2px;
}
.psi-input {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #80868b;
  border-radius: 2px;
  font: 15px/1 var(--psi-font);
  color: var(--psi-text);
  white-space: nowrap;
  overflow: hidden;
}
.psi-btn {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  height: 44px;
  padding: 0 18px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--psi-blue);
  font: 500 14px/1 var(--psi-font);
  letter-spacing: 0.2px;
  color: #fff;
}
.psi-btn-press {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.18);
}
.psi-tabs {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 4px;
  height: var(--h-tabs);
}
.psi-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 14px;
  font: 500 14px/1 var(--psi-font);
  letter-spacing: 0.2px;
  color: var(--psi-text-2);
  white-space: nowrap;
}
.psi-tab svg {
  width: 20px;
  height: 20px;
}
.psi-tab-on {
  color: var(--psi-blue);
}
.psi-tab-on::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--psi-blue);
}
.psi-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  overflow: hidden;
  background: var(--psi-blue-track);
}
.psi-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: var(--psi-blue);
  transform: translateX(-100%);
  will-change: transform;
}

/* ---------- Secciones ---------- */
.psi-res {
  will-change: opacity;
}
.psi-sec-head {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  column-gap: 12px;
  height: var(--h-dhead);
  padding-top: 14px;
  font: 500 15px/20px var(--psi-font);
  color: var(--psi-text);
}
.psi-sec-ico {
  width: 28px;
  height: 28px;
}
.psi-sec-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.psi-crux .psi-sec-head {
  grid-template-rows: 40px 24px;
  row-gap: 6px;
  height: 94px;
  padding-top: 14px;
}
.psi-crux .psi-sec-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}
.psi-crux .psi-sec-ico {
  align-self: start;
  margin-top: 6px;
}
.psi-toggle {
  grid-column: 2;
  justify-self: end;
  display: flex;
  height: 24px;
  border: 1px solid var(--psi-border);
  border-radius: 2px;
  font: 13px/22px var(--psi-font);
  color: var(--psi-text-2);
}
.psi-toggle span {
  padding: 0 7px;
}
.psi-toggle-on {
  background: #f1f3f4;
  border-right: 1px solid var(--psi-border);
  color: var(--psi-text);
}
.psi-card {
  border: 1px solid var(--psi-border);
  border-radius: 8px;
  background: #fff;
}
.psi-crux {
  height: var(--h-crux);
}
.psi-crux-card {
  padding: 10px 12px 12px;
}
.psi-stack {
  display: grid;
}
.psi-stack > * {
  grid-area: 1 / 1;
  will-change: opacity;
}

/* Evaluación de las Métricas web principales */
.psi-assess {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  column-gap: 12px;
  height: 62px;
}
.psi-assess-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--st) 12%, #fff);
  color: var(--st-ink);
}
.psi-assess-ico svg {
  width: 26px;
  height: 26px;
}
.psi-assess-text {
  font: 500 15px/20px var(--psi-font);
  color: var(--psi-text);
}
.psi-assess-text b {
  font-weight: 500;
  color: var(--st-ink);
}
.psi .psi-help {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 0 -2px 6px;
  color: var(--psi-text-2);
}
.psi-more {
  height: 20px;
  font: 12px/16px var(--psi-font);
  text-align: right;
  color: var(--psi-text-2);
}
.psi-cm-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.psi-cm {
  height: 62px;
  padding: 8px 4px 0 2px;
}
.psi-cm-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 14px/18px var(--psi-font);
  color: var(--psi-text);
  white-space: nowrap;
}
.psi-cm-name span {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: #5f6368;
}
.psi-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--st);
}
.psi-avg .psi-dot {
  border-radius: 1px;
}
.psi-fail .psi-dot {
  width: 0;
  height: 0;
  border-radius: 0;
  background: none;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid var(--st);
}
.psi-flask {
  width: 13px;
  height: 13px;
  color: var(--psi-blue);
}
.psi-cm-bar {
  position: relative;
  height: 30px;
  margin: 0 0 0 16px;
}
.psi-cm-val {
  position: absolute;
  left: var(--at);
  bottom: 11px;
  transform: translateX(-50%);
  font: 16px/20px var(--psi-font);
  color: var(--st-ink);
  white-space: nowrap;
}
.psi-cm-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  display: flex;
  gap: 2px;
  height: 4px;
}
.psi-cm-track i {
  flex-basis: 0;
  min-width: 3px;
  border-radius: 1px;
}
.psi-seg-g {
  background: var(--psi-pass);
}
.psi-seg-o {
  background: var(--psi-avg);
}
.psi-seg-r {
  background: var(--psi-fail);
}
.psi-cm-pin {
  position: absolute;
  left: var(--at);
  bottom: 0;
  width: 2px;
  height: 9px;
  margin-left: -1px;
  background: #80868b;
}
.psi-cm-pin::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -5px;
  width: 6px;
  height: 6px;
  border: 1.2px solid #80868b;
  border-radius: 50%;
  background: #fff;
}
.psi-caps {
  font: 400 12px/16px var(--psi-lh);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--psi-text-3);
}
.psi-other {
  height: 38px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--psi-divider);
}
.psi-env {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 12px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 4px;
  background: var(--psi-tint);
  font: 12px/18px var(--psi-font);
  color: var(--psi-text-2);
}
.psi-env span,
.psi-envlab > span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}
.psi-env svg,
.psi-envlab svg {
  flex: none;
  width: 13px;
  height: 13px;
}

/* ---------- Diagnóstico (Lighthouse) ---------- */
.psi-lh {
  font-family: var(--psi-lh);
  padding: 0 8px;
}

/* Indicador circular */
.psi-g {
  --d: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.psi-g-dial {
  position: relative;
  width: var(--d);
  height: var(--d);
}
.psi-g svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.psi-g-base {
  fill: var(--st);
  stroke: var(--st);
  stroke-width: 10;
  opacity: 0.1;
}
.psi-g-arc {
  fill: none;
  stroke: var(--st);
  stroke-width: 10;
}
.psi-g-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 400 calc(var(--d) * 0.36) / 1 var(--psi-mono);
  letter-spacing: -0.03em;
  color: var(--st-text);
}
.psi-g-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  height: 30px;
  margin-top: 6px;
  font: 11.5px/15px var(--psi-lh);
  color: var(--psi-text);
}
.psi-fail {
  --st: var(--psi-fail);
  --st-text: var(--psi-fail-text);
  --st-ink: var(--psi-fail-text);
}
.psi-avg {
  --st: var(--psi-avg);
  --st-text: var(--psi-avg-text);
  --st-ink: var(--psi-avg-text);
}
.psi-pass {
  --st: var(--psi-pass);
  --st-text: var(--psi-pass-text);
  --st-ink: #188038;
}

/* Fila de categorías (+ Navegación agéntica). En el móvil, 3 + 2. */
.psi-scores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  row-gap: 12px;
  height: var(--h-cats);
  border-bottom: 1px solid var(--psi-divider);
}
.psi-score {
  position: relative;
  width: 96px;
  padding-top: 4px;
}
.psi-hover {
  position: absolute;
  inset: -6px 4px -6px;
  border-radius: 8px;
  background: rgb(32 33 36 / 0.06);
}
.psi-frac {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.psi-frac-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  margin: 7px 0;
  padding: 0 12px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--st) 10%, #fff);
  font: 15px/1 var(--psi-lh);
  color: var(--st-text);
}
.psi-frac .psi-ico {
  width: 9px;
  height: 9px;
  margin: 0;
}

/* Rendimiento: indicador grande, descripción, escala y captura */
.psi-perf {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "main ss"
    "desc desc"
    "scale scale";
  align-items: center;
  height: var(--h-perf);
  padding: 12px 6px 0;
}
.psi-perf-main {
  display: contents;
}
.psi-perf-main > .psi-g {
  grid-area: main;
}
.psi-perf-rule {
  display: none;
}
.psi-g-big {
  --d: 88px;
}
.psi-g-big .psi-g-arc,
.psi-g-big .psi-g-base {
  stroke-width: 8;
}
.psi-g-big .psi-g-num {
  font: 400 calc(var(--d) * 0.36) / 1 var(--psi-lh);
  letter-spacing: 0;
  color: var(--st);
}
.psi-avg.psi-g-big .psi-g-num {
  color: #e69500;
}
.psi-g-big .psi-g-label {
  height: 28px;
  margin-top: 6px;
  font: 400 19px/28px var(--psi-lh);
}
.psi-desc {
  grid-area: desc;
  height: 51px;
  margin-top: 10px;
  font: 12px/17px var(--psi-lh);
  color: var(--psi-text-3);
  text-align: center;
  overflow: hidden;
}
.psi-desc u {
  text-decoration: none;
  color: var(--psi-blue);
}
.psi-scale {
  grid-area: scale;
  display: flex;
  justify-content: center;
  gap: 22px;
  height: 22px;
  margin-top: 8px;
  font: 12px/16px var(--psi-lh);
  color: var(--psi-text-3);
}
.psi-scale span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Indicadores de estado (triángulo, cuadrado, círculo) */
.psi-ico {
  display: block;
  flex: none;
  width: 11px;
  height: 11px;
}
.psi-fail .psi-ico,
.psi-ico.psi-fail {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 11px solid var(--psi-fail);
}
.psi-avg .psi-ico,
.psi-ico.psi-avg {
  width: 10px;
  height: 10px;
  margin-inline: 1px;
  background: var(--psi-avg);
}
.psi-pass .psi-ico,
.psi-ico.psi-pass {
  width: 11px;
  height: 11px;
  margin-inline: 0.5px;
  border-radius: 50%;
  background: var(--psi-pass);
}

/* Captura final del móvil */
.psi-ss {
  grid-area: ss;
  position: relative;
  width: var(--psi-ss-w);
  height: calc((var(--psi-ss-w) - 2px) * 2 + 2px);
  overflow: hidden;
  border: 1px solid var(--psi-border);
  background: #fff;
}
.psi-ss-old {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #fff;
}
.psi-spinner {
  display: block;
  width: 16px;
  height: 16px;
  border: 2.5px solid #e6e6e6;
  border-top-color: #a8a8a8;
  border-radius: 50%;
  transform: rotate(35deg);
}

/* Página del negocio (a tamaño de móvil, reducida a la miniatura). */
.psi-site {
  --brand: #1f7a5c;
  --brand-ink: #17322b;
  --brand-bg: #fbfaf7;
  --brand-soft: #dfe9e3;
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  height: 720px;
  transform: scale(var(--psi-ss-s));
  transform-origin: 0 0;
  background: var(--brand-bg);
  font-family: Arial, "Liberation Sans", sans-serif;
  color: var(--brand-ink);
}
.psi-site-class {
  --brand: #2d4fa3;
  --brand-ink: #1b2440;
  --brand-bg: #fafbff;
  --brand-soft: #e6ecf8;
}
.psi-site-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 18px;
  background: #fff;
  border-bottom: 1px solid #e6e9e7;
}
.psi-site-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.psi-site-logo svg {
  width: 22px;
  height: 22px;
}
.psi-site-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  font-size: 13px;
  color: #5c6f69;
}
.psi-site-name b {
  font-size: 20px;
  color: var(--brand-ink);
}
.psi-site-menu {
  width: 28px;
  height: 28px;
  color: var(--brand-ink);
}
.psi-site-photo {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--brand-soft);
}
.psi-site-photo i {
  position: absolute;
  display: block;
}
/* Clínica: perro y gato sobre el suelo. */
.psi-site-pets i:nth-child(1) {
  left: 0;
  right: 0;
  bottom: 0;
  height: 74px;
  background: #b4cfc1;
}
.psi-site-pets i:nth-child(2) {
  left: 54px;
  bottom: 38px;
  width: 168px;
  height: 92px;
  border-radius: 48% 52% 40% 44%;
  background: #c4874c;
}
.psi-site-pets i:nth-child(3) {
  left: 186px;
  bottom: 96px;
  width: 84px;
  height: 78px;
  border-radius: 50% 50% 46% 46%;
  background: #cf945a;
}
.psi-site-pets i:nth-child(4) {
  left: 182px;
  bottom: 136px;
  width: 30px;
  height: 52px;
  border-radius: 60% 40% 50% 50%;
  background: #8e5a2c;
  transform: rotate(18deg);
}
.psi-site-pets i:nth-child(5) {
  right: 34px;
  bottom: 44px;
  width: 64px;
  height: 70px;
  border-radius: 44% 44% 30% 30%;
  background: #6f7b80;
}
/* Academia: pizarra, mesa y alumna. */
.psi-site-class i:nth-child(1) {
  left: 36px;
  top: 30px;
  width: 200px;
  height: 104px;
  border: 6px solid #b98a5a;
  background: #2f5446;
}
.psi-site-class i:nth-child(2) {
  left: 62px;
  top: 58px;
  width: 120px;
  height: 6px;
  border-radius: 3px;
  background: rgb(255 255 255 / 0.75);
  box-shadow:
    0 18px 0 rgb(255 255 255 / 0.55),
    30px 36px 0 rgb(255 255 255 / 0.45);
}
.psi-site-class i:nth-child(3) {
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  background: #c79a6b;
}
.psi-site-class i:nth-child(4) {
  right: 58px;
  bottom: 52px;
  width: 70px;
  height: 84px;
  border-radius: 34px 34px 8px 8px;
  background: #e0644f;
}
.psi-site-class i:nth-child(5) {
  right: 72px;
  bottom: 132px;
  width: 42px;
  height: 46px;
  border-radius: 50%;
  background: #5a3a2a;
  box-shadow: inset 0 14px 0 #f0c29a;
}
.psi-site-body {
  padding: 22px 18px 0;
}
.psi-site-h {
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -0.3px;
}
.psi-site-p {
  margin: 10px 0 18px;
  font-size: 16px;
  line-height: 22px;
  color: #4d5f59;
}
.psi-site-cta,
.psi-site-cta2 {
  display: grid;
  place-items: center;
  height: 52px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
}
.psi-site-cta {
  background: var(--brand);
  color: #fff;
}
.psi-site-cta2 {
  margin-top: 10px;
  border: 2px solid var(--brand);
  color: var(--brand);
}
.psi-site-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 18px 0 12px;
  font-size: 15px;
  color: #3c4b47;
}
.psi-site-rating svg {
  width: 18px;
  height: 18px;
  color: #f2b01e;
}
.psi-site-row {
  display: flex;
  align-items: center;
  height: 52px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid #e2e6e4;
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
}

/* Métricas de laboratorio */
.psi-metrics {
  padding: 0 4px;
}
.psi-mhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 36px;
  padding-bottom: 8px;
  color: var(--psi-text);
}
.psi-mmore {
  text-transform: none;
  letter-spacing: 0;
  color: var(--psi-text-3);
}
.psi-mgrid {
  display: grid;
  grid-template-columns: 1fr;
}
.psi-metric {
  height: 62px;
  padding: 9px 0 0;
  border-top: 1px solid var(--psi-divider);
}
.psi-mtitle {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  font: 13.5px/18px var(--psi-lh);
  color: var(--psi-text);
}
.psi-mtitle span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
/* «Renderizado del mayor elemento con contenido» ocupa dos líneas, como en PSI. */
.psi-metric:nth-child(2) {
  height: 80px;
}
.psi-mtitle .psi-ico {
  justify-self: center;
}
.psi-mval {
  padding-left: 26px;
  font: 400 21px/28px var(--psi-lh);
  color: var(--st-text);
  white-space: nowrap;
}
.psi-envlab {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 12px;
  margin-top: 4px;
  padding: 6px 10px;
  background: var(--psi-tint);
  font: 11px/18px var(--psi-lh);
  color: var(--psi-text-3);
}
.psi-envlab > span:nth-child(n + 3) {
  display: none;
}
.psi-envlab u,
.psi-envlab span span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.psi-envlab u {
  text-decoration-color: #9aa0a6;
}
.psi-film {
  margin-top: 12px;
}
.psi-film-row {
  display: flex;
  justify-content: space-between;
}
.psi-fs {
  --fw: 34px;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--fw);
  height: calc(var(--fw) * 2);
  overflow: hidden;
  border: 1px solid var(--psi-divider);
  background: #fff;
}
.psi-fs .psi-spinner {
  width: 10px;
  height: 10px;
  border-width: 1.5px;
}
.psi-fs-page {
  display: block;
  background: #fbfaf7;
}
.psi-fs-page i {
  position: absolute;
  left: 8%;
  right: 8%;
  display: block;
  border-radius: 1px;
}
.psi-fs-bar {
  top: 0;
  left: 0 !important;
  right: 0 !important;
  height: 9%;
  background: #fff;
  box-shadow: 0 1px 0 #e6e9e7;
}
.psi-fs-photo {
  top: 9%;
  left: 0 !important;
  right: 0 !important;
  height: 30%;
  background: #c9dccf;
}
.psi-fs-class .psi-fs-photo {
  background: #d3ddf0;
}
.psi-fs-l1 {
  top: 44%;
  height: 4%;
  background: #17322b;
}
.psi-fs-l2 {
  top: 51%;
  right: 30% !important;
  height: 3%;
  background: #9aa8a3;
}
.psi-fs-btn {
  top: 59%;
  height: 7%;
  background: #1f7a5c;
}
.psi-fs-btn2 {
  top: 68%;
  height: 7%;
  box-shadow: inset 0 0 0 1px #1f7a5c;
}
.psi-fs-class .psi-fs-btn {
  background: #2d4fa3;
}
.psi-fs-class .psi-fs-btn2 {
  box-shadow: inset 0 0 0 1px #2d4fa3;
}

/* SEO: indicador grande, descripción y auditorías */
.psi-seosec {
  padding: 12px 4px 0;
  border-top: 1px solid var(--psi-divider);
}
.psi-seosec > .psi-g-big {
  margin-inline: auto;
}
.psi-seo-desc {
  height: 136px;
  margin: 4px auto 0;
}
.psi-group {
  height: 36px;
  padding-top: 16px;
  color: var(--psi-text);
}
.psi-audit {
  position: relative;
  display: grid;
  height: 56px;
  border-top: 1px solid var(--psi-divider);
}
.psi-audit-wrap:last-child .psi-audit {
  border-bottom: 1px solid var(--psi-divider);
}
.psi-audit-l {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  will-change: opacity;
}
.psi-audit-l .psi-ico {
  justify-self: center;
}
.psi-audit-t {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font: 14px/19px var(--psi-lh);
  color: var(--psi-text);
}
.psi-audit code {
  padding: 0 1px;
  font: 13px/1 var(--psi-mono);
  color: #1967d2;
}
.psi-chev {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: var(--psi-text-2);
}

/* ---------- Escritorio (ventana de Chrome de 560-704 px) ---------- */
@container rp (min-width: 560px) {
  .psi {
    --h-head: 56px;
    --h-date: 50px;
    --h-form: 54px;
    --h-tabs: 54px;
    --h-crux: 440px;
    --h-dhead: 56px;
    --h-cats: 120px;
    --h-perf: 264px;
    --gap-x: 20px;
    --psi-ss-w: 100px;
    --psi-ss-s: 0.2722;
  }
  .psi-head {
    padding: 0 0 0 16px;
  }
  .psi-logo {
    font-size: 20px;
  }
  .psi-logo svg {
    width: 28px;
    height: 28px;
  }
  .psi-copy {
    display: flex;
    gap: 8px;
    width: auto;
    height: 36px;
    padding: 0 12px;
    font: 500 14px/1 var(--psi-font);
  }
  .psi-copy span,
  .psi-docs {
    display: inline;
  }
  .psi-docs {
    padding: 0 14px 0 6px;
    font: 500 14px/1 var(--psi-font);
    color: var(--psi-blue);
  }
  .psi-date {
    padding-top: 16px;
    font-size: 21px;
    line-height: 26px;
  }
  .psi-input {
    height: 46px;
    padding: 0 14px;
  }
  .psi-btn {
    height: 46px;
    padding: 0 22px;
  }
  .psi-tabs {
    gap: 12px;
    padding-top: 2px;
  }
  .psi-tab {
    height: 50px;
  }
  .psi-sec-head {
    font-size: 16px;
  }
  .psi-crux .psi-sec-head {
    grid-template-columns: 28px 1fr auto;
    grid-template-rows: 28px;
    height: 56px;
    padding-top: 16px;
  }
  .psi-crux .psi-sec-title {
    display: block;
    white-space: nowrap;
  }
  .psi-crux .psi-sec-ico {
    margin-top: 0;
  }
  .psi-toggle {
    grid-column: 3;
  }
  .psi-crux-card {
    padding: 10px 14px 12px;
  }
  .psi-assess {
    grid-template-columns: 44px auto;
    justify-content: center;
    height: 56px;
  }
  .psi-assess-ico {
    width: 44px;
    height: 44px;
  }
  .psi-assess-text {
    white-space: nowrap;
  }
  .psi-more {
    height: 18px;
  }
  .psi-cm-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }
  .psi-cm {
    height: 64px;
  }
  .psi-env {
    grid-template-columns: 1fr 1fr;
  }

  .psi-lh {
    padding: 0 10px;
  }
  .psi-g {
    --d: 48px;
  }
  .psi-g-label {
    height: 32px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 16px;
  }
  .psi-scores {
    flex-wrap: nowrap;
    justify-content: space-evenly;
    padding: 0 4px;
  }
  .psi-score {
    width: 92px;
  }
  .psi-frac-pill {
    height: 32px;
    margin: 8px 0;
    font-size: 16px;
  }
  .psi-perf {
    grid-template-columns: minmax(0, 1fr) 1px var(--psi-ss-w);
    grid-template-areas: none;
    column-gap: 24px;
    padding: 0 8px 0 0;
  }
  .psi-perf-main {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .psi-perf-main > .psi-g,
  .psi-ss {
    grid-area: auto;
  }
  .psi-perf-rule {
    display: block;
    width: 1px;
    height: 96px;
    background: var(--psi-divider);
  }
  .psi-g-big {
    --d: 96px;
  }
  .psi-g-big .psi-g-label {
    height: 30px;
    margin-top: 8px;
    font-size: 20px;
    line-height: 30px;
  }
  .psi-desc {
    max-width: 340px;
    height: 54px;
    margin-top: 8px;
    line-height: 18px;
  }
  .psi-scale {
    margin-top: 10px;
  }

  .psi-mhead {
    height: 40px;
  }
  .psi-mgrid {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
  .psi-metric {
    height: 66px;
  }
  .psi-metric:nth-child(-n + 2) {
    height: 84px;
  }
  .psi-mtitle {
    font-size: 14px;
  }
  .psi-mval {
    font-size: 23px;
    line-height: 30px;
  }
  .psi-envlab {
    grid-template-columns: 1fr 1fr;
    font-size: 11.5px;
  }
  .psi-envlab > span:nth-child(n + 3) {
    display: flex;
  }
  .psi-fs {
    --fw: 54px;
  }
  .psi-seosec {
    padding-top: 6px;
  }
  .psi-seo-desc {
    max-width: 480px;
    height: 85px;
    line-height: 17px;
  }
  .psi-group {
    height: 36px;
  }
  .psi-audit {
    height: 42px;
  }
  .psi-audit-t {
    -webkit-line-clamp: 1;
  }
}
