/*
 * Réplica de Google Search Console (2026, interfaz en castellano). Colores reales:
 * tarjetas de Clics #4285f4 e Impresiones #5e35b1; Indexadas #1e8e3e y Sin indexar
 * gris; elemento activo del menú #e8f0fe/#1967d2; enlaces #1a73e8.
 * A 560-704 px (ventana de Chrome) y en el teléfono, Search Console colapsa el menú
 * lateral: se abre como cajón modal sobre el contenido, con velo. Los informes se
 * desplazan por dentro (`.sc-scroll`); las paradas del desplazamiento son variables
 * CSS por formato (`--sa`, `--sb`) que la escena lee al medir. El HTML pinta la parada
 * final (`--sf`).
 */

.sc {
  --sc-blue: #4285f4;
  --sc-purple: #5e35b1;
  --sc-green: #1e8e3e;
  --sc-green-text: #137333;
  --sc-red: #d93025;
  --sc-amber: #e37400;
  --sc-grey: #80868b;
  --sc-text: #202124;
  --sc-text-2: #3c4043;
  --sc-text-3: #5f6368;
  --sc-link: #1a73e8;
  --sc-border: #dadce0;
  --sc-line: #e8eaed;
  --sc-grid: #e8eaed;
  --sc-active: #e8f0fe;
  --sc-active-text: #1967d2;
  --sc-page: #f8f9fa;
  --sc-top-h: 56px;

  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  font-family: var(--g-font-ui);
  color: var(--sc-text);
}
.sc svg {
  flex: none;
}

/* ---------- Barra superior ---------- */
.sc-top {
  position: relative;
  z-index: 3;
  flex: none;
  display: flex;
  align-items: center;
  height: var(--sc-top-h);
  padding: 0 12px 0 4px;
  background: #fff;
  border-bottom: 1px solid var(--sc-border);
}
.sc-burger {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  color: var(--sc-text-3);
}
.sc-burger svg {
  width: 24px;
  height: 24px;
}
.sc-logo {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  font: 400 17px/1 var(--g-font-ui);
  white-space: nowrap;
}
.sc-logo-g {
  font-weight: 500;
  letter-spacing: -0.5px;
}
.sc-logo-g b {
  font-weight: inherit;
}
.sc-logo .lg-b {
  color: var(--g-blue);
}
.sc-logo .lg-r {
  color: var(--g-red);
}
.sc-logo .lg-y {
  color: var(--g-yellow);
}
.sc-logo .lg-g {
  color: var(--g-green);
}
.sc-logo-sc {
  color: var(--sc-text-3);
}
.sc-top-r {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  color: var(--sc-text-3);
}
.sc-top-r svg {
  width: 22px;
  height: 22px;
}
.sc .sc-top-help,
.sc .sc-top-apps {
  display: none;
}
.sc-bell {
  position: relative;
}
.sc-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--sc-red);
  box-shadow: 0 0 0 2px #fff;
  font: 700 10px/1 var(--g-font-ui);
  font-style: normal;
  color: #fff;
}
.sc-avatar {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #5c6bc0;
  box-shadow: inset 0 -10px 0 #3949ab;
}

/* ---------- Menú lateral (cajón modal) ---------- */
.sc-scrim {
  position: absolute;
  z-index: 6;
  inset: 0;
  background: rgb(32 33 36 / 0.4);
  opacity: 0;
}
.sc-nav {
  position: absolute;
  z-index: 7;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(280px, 82%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 8px 10px 1px rgb(0 0 0 / 0.14),
    0 3px 14px 2px rgb(0 0 0 / 0.12);
  transform: translate3d(-105%, 0, 0);
  will-change: transform;
}
.sc-nav-head {
  flex: none;
  display: flex;
  align-items: center;
  height: var(--sc-top-h);
  padding-left: 20px;
}
.sc-prop {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  margin: 2px 14px 8px 14px;
  padding: 0 6px 0 12px;
  border: 1px solid var(--sc-border);
  border-radius: 4px;
  font: 14px/1 var(--g-font-ui);
  color: var(--sc-text);
}
.sc-prop-ico {
  width: 18px;
  height: 18px;
  color: var(--sc-text-3);
}
.sc-prop-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-prop-caret {
  width: 24px;
  height: 24px;
  color: var(--sc-text-3);
}
.sc-nav-item {
  flex: none;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 38px;
  margin-right: 12px;
  padding: 0 12px 0 22px;
  border-radius: 0 19px 19px 0;
  font: 14px/1 var(--g-font-ui);
  color: var(--sc-text);
  white-space: nowrap;
}
.sc-nav-item svg {
  width: 20px;
  height: 20px;
  color: var(--sc-text-3);
}
.sc-nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-nav-item.sc-on {
  background: var(--sc-active);
  color: var(--sc-active-text);
  font-weight: 700;
}
.sc-nav-item.sc-on svg {
  color: var(--sc-active-text);
}
.sc-nav-group {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 38px;
  margin-top: 4px;
  padding: 0 18px 0 22px;
  border-top: 1px solid var(--sc-line);
  font: 500 13px/1 var(--g-font-ui);
  color: var(--sc-text-3);
  white-space: nowrap;
}
.sc-nav-group svg {
  width: 18px;
  height: 18px;
}

/* ---------- Contenido ---------- */
.sc-main {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--sc-page);
}
.sc-view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--sc-page);
  will-change: opacity;
}
.sc-scroll {
  flex: none;
  transform: translate3d(0, calc(var(--sf, 0px) * -1), 0);
  will-change: transform;
}
.sc-head {
  position: relative;
  z-index: 1;
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 12px 0 16px;
  background: #fff;
  border-bottom: 1px solid var(--sc-border);
}
.sc-back {
  width: 22px;
  height: 22px;
  color: var(--sc-text-3);
}
.sc-title {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font: 400 17px/21px var(--g-font-ui);
  color: var(--sc-text);
}
.sc-export {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sc-text-3);
  font: 500 13px/1 var(--g-font-ui);
  letter-spacing: 0.25px;
  text-transform: uppercase;
}
.sc-export svg {
  width: 22px;
  height: 22px;
}
.sc-export span {
  display: none;
}

/* Barra de carga (entre informes) */
.sc-load {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  overflow: hidden;
  background: #c6dafc;
  opacity: 0;
}
.sc-load i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: var(--sc-link);
  transform: translateX(-100%);
}

/* Filtros */
.sc-chips {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  height: 52px;
  padding: 10px 12px 0;
  white-space: nowrap;
  overflow: hidden;
}
.sc-chip {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--sc-border);
  border-radius: 16px;
  background: #fff;
  font: 500 13px/1 var(--g-font-ui);
  color: var(--sc-text-2);
}
.sc-chip svg {
  width: 16px;
  height: 16px;
  color: var(--sc-text-3);
}
.sc-chip-add {
  border-color: transparent;
  background: transparent;
  padding-left: 4px;
  color: var(--sc-link);
}
.sc-chip-add svg {
  color: var(--sc-link);
}
.sc-updated {
  display: none;
  align-self: center;
  margin: -10px 0 0 auto;
  font: 12px/1 var(--g-font-ui);
  color: var(--sc-text-3);
}

.sc-card {
  margin: 0 12px 12px;
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  overflow: hidden;
}

/* Tarjetas de métricas */
.sc-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 12px 0;
}
.sc-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 78px;
  padding: 8px 10px 7px;
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  color: var(--sc-text-3);
}
.sc-tile-on {
  border-color: transparent;
  background: var(--sc-tile);
  color: #fff;
}
.sc-tile-top {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
.sc-box {
  width: 16px;
  height: 16px;
  margin-top: 0;
}
.sc-tile-on .sc-box {
  color: var(--sc-tile);
}
.sc-tile-label {
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font: 400 12.5px/16px var(--g-font-ui);
}
.sc-tile-value {
  margin-top: auto;
  font: 400 23px/28px var(--g-font-ui);
  white-space: nowrap;
}
.sc-tile:not(.sc-tile-on) .sc-tile-value {
  color: var(--sc-text-2);
}
.sc .sc-tile-help {
  position: absolute;
  right: 7px;
  bottom: 11px;
  width: 15px;
  height: 15px;
  opacity: 0.8;
}
.sc-tile-sub {
  font: 12px/15px var(--g-font-ui);
  opacity: 0.92;
}
.sc-tiles-idx .sc-tile {
  height: 86px;
}
.sc-tiles-idx .sc-tile-value {
  margin-top: 6px;
  font-size: 26px;
  line-height: 30px;
}
.sc-tiles-idx .sc-tile-sub {
  margin-top: auto;
}
.sc-tile-no {
  --sc-tile: var(--sc-grey);
}
.sc-tile-ok {
  --sc-tile: var(--sc-green);
}
.sc-tile-no .sc-box,
.sc-tile-ok .sc-box {
  color: #fff;
}
.sc-tile-ok .sc-box circle {
  fill: #fff;
}
.sc-tile-ok .sc-box path {
  stroke: var(--sc-green);
}

/* Gráficos */
.sc-chart {
  position: relative;
  padding: 30px 46px 0 32px;
}
.sc-axis-t {
  position: absolute;
  top: 10px;
  font: 11px/1 var(--g-font-ui);
  color: var(--sc-text-3);
}
.sc-axis-l {
  left: 10px;
}
.sc-axis-r {
  right: 10px;
}
.sc-plot {
  position: relative;
  height: 150px;
}
.sc-grid i {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid var(--sc-grid);
}
.sc-grid i:first-child {
  border-top-color: #bdc1c6;
}
.sc-y {
  position: absolute;
  inset: 0;
  font: 10.5px/1 var(--g-font-ui);
  color: var(--sc-text-3);
  white-space: nowrap;
}
.sc-y span {
  position: absolute;
  margin-bottom: -5px;
}
.sc-y-l span {
  right: calc(100% + 6px);
}
.sc-y-r span {
  left: calc(100% + 6px);
}
.sc-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sc-lines path {
  fill: none;
  stroke-width: 2px;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.sc-line-c {
  stroke: var(--sc-blue);
}
.sc-line-i {
  stroke: var(--sc-purple);
}
.sc-x {
  position: relative;
  display: block;
  height: 24px;
  font: 10.5px/1 var(--g-font-ui);
  color: var(--sc-text-3);
}
.sc-x span {
  position: absolute;
  top: 8px;
  white-space: nowrap;
  transform: translateX(-50%);
}
.sc-x span:nth-child(even) {
  display: none;
}

/* Anotación numerada (en la franja de encima del gráfico: no tapa el eje ni las líneas) */
.sc-ann {
  position: absolute;
  z-index: 0;
  top: -24px;
  bottom: 0;
  width: 0;
}
.sc-ann-line {
  position: absolute;
  top: 19px;
  bottom: 0;
  left: 0;
  border-left: 1px dashed #80868b;
  transform-origin: 0 0;
}
.sc-ann-tag {
  position: absolute;
  top: 0;
  left: -9px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transform-origin: 9px 9px;
}
.sc-ann-dot {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #5f6368;
  font: 700 10.5px/1 var(--g-font-ui);
  color: #fff;
}
.sc-ann-date {
  display: none;
  font: 11px/1 var(--g-font-ui);
  color: var(--sc-text-3);
}
.sc-ann-text {
  font: 500 11.5px/1 var(--g-font-ui);
  color: var(--sc-text-2);
}

/* Barras apiladas */
.sc-bars {
  position: absolute;
  inset: 0 0 1px;
  display: flex;
  align-items: flex-end;
  gap: 1px;
}
.sc-bars i {
  position: relative;
  flex: 1;
  background: #bdc1c6;
  transform-origin: 50% 100%;
}
.sc-bars b {
  position: absolute;
  inset: 0;
  background: var(--sc-green);
  transform-origin: 50% 100%;
}
.sc-chart-idx {
  padding: 28px 26px 0 32px;
}
.sc-chart-idx .sc-plot {
  height: 124px;
}
.sc-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-top: 1px solid var(--sc-line);
  font: 500 13px/1 var(--g-font-ui);
  color: var(--sc-link);
  white-space: nowrap;
}
.sc-more svg {
  width: 17px;
  height: 17px;
}

/* Tabla de motivos (en el teléfono, fuente y validación bajan a una segunda línea) */
.sc-why {
  padding-top: 14px;
}
.sc-why-title {
  padding: 0 14px;
  font: 400 15.5px/21px var(--g-font-ui);
  color: var(--sc-text);
}
.sc-why-sub {
  padding: 2px 14px 10px;
  font: 12px/16px var(--g-font-ui);
  color: var(--sc-text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-rrow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 36px;
  grid-template-areas:
    "name name num"
    "src val num";
  align-items: center;
  column-gap: 8px;
  row-gap: 3px;
  min-height: 56px;
  padding: 8px 14px;
  border-top: 1px solid var(--sc-line);
  font: 13px/17px var(--g-font-ui);
  color: var(--sc-text-2);
}
.sc-r-name {
  grid-area: name;
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--sc-text);
}
.sc-r-src {
  grid-area: src;
  font-size: 12px;
  color: var(--sc-text-3);
  white-space: nowrap;
}
.sc-r-src::after {
  content: " ·";
}
.sc-val {
  grid-area: val;
  display: grid;
  font-size: 12px;
  min-width: 0;
}
.sc-vs {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.sc-vs svg {
  width: 15px;
  height: 15px;
}
.sc-vs-none {
  color: var(--sc-text-3);
}
.sc-vs-started {
  color: var(--sc-text-2);
}
.sc-vs-started svg {
  color: var(--sc-link);
}
.sc-vs-passed {
  color: var(--sc-green-text);
}
.sc-vs-passed svg {
  color: var(--sc-green);
}
.sc-r-num {
  grid-area: num;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sc-r-num svg {
  width: 13px;
  height: 13px;
}
.sc-rhead {
  font-weight: 500;
  font-size: 12px;
  color: var(--sc-text-3);
}
.sc-rrow.sc-rhead {
  grid-template-areas: "name name num";
  min-height: 36px;
  padding-block: 0;
}
.sc-rhead .sc-r-name {
  color: var(--sc-text-3);
}
.sc-rhead .sc-r-src,
.sc-rhead .sc-val {
  display: none;
}

/* Detalle de un motivo: estado de la validación y ejemplos */
.sc-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
}
.sc-status-ico {
  width: 22px;
  height: 22px;
  color: var(--sc-green);
}
.sc-status-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.sc-status-title {
  font: 500 14.5px/20px var(--g-font-ui);
  color: var(--sc-text);
}
.sc-status-sub {
  font: 12px/16px var(--g-font-ui);
  color: var(--sc-text-3);
}
.sc-examples {
  padding-top: 12px;
}
.sc-examples .sc-why-title {
  padding-bottom: 8px;
}
.sc-ex {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 7px 14px;
  border-top: 1px solid var(--sc-line);
  font: 13px/17px var(--g-font-ui);
  color: var(--sc-text-2);
}
.sc-ex.sc-rhead {
  min-height: 32px;
  padding-block: 0;
}
.sc-ex-url {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.sc-ex-from,
.sc-ex-to {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-ex-from {
  color: var(--sc-text);
}
.sc-ex-to {
  font-size: 12px;
  color: var(--sc-text-3);
}
.sc-ex-to b {
  font-weight: 500;
  color: var(--sc-green-text);
}
.sc-ex-date,
.sc-wide {
  display: none;
}

/* Tabla de consultas */
.sc-ttabs {
  display: flex;
  height: 44px;
  padding: 0 4px;
  border-bottom: 1px solid var(--sc-border);
  white-space: nowrap;
  overflow: hidden;
}
.sc-ttab {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 3px solid transparent;
  font: 500 12.5px/1 var(--g-font-ui);
  letter-spacing: 0.25px;
  text-transform: uppercase;
  color: var(--sc-text-3);
}
.sc-ttab-on {
  color: var(--sc-link);
  border-bottom-color: var(--sc-link);
}
.sc-qrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0 52px 64px;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--sc-line);
  font: 13px/1 var(--g-font-ui);
  color: var(--sc-text-2);
  white-space: nowrap;
}
.sc-qrow > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc .sc-qfilter {
  display: none;
}
.sc-q-num {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}
.sc-q-num svg {
  width: 13px;
  height: 13px;
}

/* ---------- Resumen ---------- */
.sc-ov {
  padding-bottom: 6px;
}
.sc-v-overview .sc-scroll {
  padding-top: 12px;
}
.sc-ov-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 14px;
}
.sc-ov-title {
  font: 400 16px/1 var(--g-font-ui);
  color: var(--sc-text);
}
.sc-ov-open {
  font: 500 12.5px/1 var(--g-font-ui);
  letter-spacing: 0.25px;
  text-transform: uppercase;
  color: var(--sc-link);
}
.sc-ov-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font: 13px/18px var(--g-font-ui);
  color: var(--sc-text-2);
}
.sc-ov-sub b {
  font-weight: 500;
  color: var(--sc-text);
}
.sc-ov-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--sc-blue);
}
.sc-chart-ov {
  padding: 14px 24px 0 30px;
}
.sc-chart-ov .sc-plot {
  height: 104px;
}
.sc-ov-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 8px;
  font: 500 13.5px/18px var(--g-font-ui);
  color: var(--sc-text);
}
.sc-ov-item svg {
  width: 18px;
  height: 18px;
  color: var(--sc-text-3);
}
.sc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 0 14px 10px;
  font: 12.5px/16px var(--g-font-ui);
  color: var(--sc-text-2);
}
.sc-lg {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.sc-lg i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #bdc1c6;
}
.sc-lg-ok i {
  background: var(--sc-green);
}
.sc-lg b {
  font-weight: 500;
  color: var(--sc-text);
}
.sc-minibars {
  position: relative;
  height: 60px;
  margin: 0 14px;
  border-bottom: 1px solid #bdc1c6;
}
.sc-minibars .sc-bars {
  inset: 0;
}
.sc-xrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px 46px;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 5px 14px;
  border-top: 1px solid var(--sc-line);
  font: 13px/17px var(--g-font-ui);
  color: var(--sc-text-2);
}
.sc-xrow.sc-rhead {
  min-height: 30px;
  padding-block: 0;
  font-size: 11.5px;
}
.sc-x-name {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.sc-x-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sc-text);
  white-space: nowrap;
}
.sc-x-title svg {
  width: 17px;
  height: 17px;
  color: var(--sc-text-3);
}
.sc-x-subs {
  display: grid;
  padding-left: 25px;
}
.sc-x-sub {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--sc-text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-x-sub svg {
  width: 14px;
  height: 14px;
}
.sc-x-warn {
  color: #b06000;
}
.sc-x-warn svg {
  color: var(--sc-amber);
}
.sc-x-ok {
  color: var(--sc-green-text);
}
.sc-x-ok svg {
  color: var(--sc-green);
}
.sc-x-val {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.sc-xrow:not(.sc-rhead) .sc-x-val {
  font-size: 15px;
  color: var(--sc-text);
}
.sc-x-trend {
  text-align: right;
}
.sc-xrow.sc-rhead > span {
  white-space: nowrap;
}
.sc-spark {
  justify-self: end;
  width: 46px;
  height: 20px;
}
.sc-spark path {
  fill: none;
  stroke: var(--sc-green);
  stroke-width: 2;
}

/* Panel de notificaciones (campana) */
.sc-notif {
  position: absolute;
  z-index: 5;
  top: calc(var(--sc-top-h) - 4px);
  right: 8px;
  left: 8px;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow:
    0 1px 3px rgb(60 64 67 / 0.3),
    0 4px 8px 3px rgb(60 64 67 / 0.15);
  transform-origin: 85% 0;
  will-change: transform, opacity;
}
.sc-notif-head {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--sc-line);
  font: 400 16px/1 var(--g-font-ui);
  color: var(--sc-text);
}
.sc-ni {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
}
.sc-ni + .sc-ni {
  border-top: 1px solid var(--sc-line);
}
.sc-ni-ico {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}
.sc-ni-ico svg {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
}
.sc-ni-err {
  color: var(--sc-red);
}
.sc-ni-ok {
  color: var(--sc-green);
}
.sc-ni-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.sc-ni-title {
  font: 500 13.5px/18px var(--g-font-ui);
  color: var(--sc-text);
}
.sc-ni-subs {
  display: grid;
}
.sc-ni-sub {
  grid-area: 1 / 1;
  font: 12px/16px var(--g-font-ui);
  color: var(--sc-text-3);
}
.sc-ni-sub-err {
  color: var(--sc-red);
}
.sc-ni-sub-ok {
  color: var(--sc-green-text);
}
.sc-ni-old .sc-ni-title {
  font-weight: 400;
  color: var(--sc-text-3);
}

/* ---------- Paradas de desplazamiento (teléfono) ---------- */
.sc-v-perf {
  --sa: 46px;
  --sb: 46px;
  --sf: var(--sa);
}
.sc-v-pages {
  --sa: 46px;
  --sb: 322px;
  --sf: var(--sa);
}
.sc-auditoria .sc-v-pages {
  --sb: 372px;
}
.sc-v-detail {
  --sa: 0px;
  --sb: 0px;
}
.sc-v-overview {
  --sa: 0px;
  --sb: 224px;
  --sf: var(--sb);
}

/* ---------- Ventana de Chrome (560-704 px) ---------- */
@container rp (min-width: 560px) {
  .sc {
    --sc-top-h: 60px;
  }
  .sc-top {
    padding: 0 14px 0 6px;
  }
  .sc-burger {
    width: 48px;
  }
  .sc-logo {
    margin-left: 2px;
    font-size: 19px;
  }
  .sc-top-r {
    gap: 18px;
  }
  .sc .sc-top-help,
  .sc .sc-top-apps {
    display: block;
  }
  .sc-avatar {
    width: 32px;
    height: 32px;
  }
  .sc-nav {
    width: 272px;
  }
  .sc-nav-item {
    height: 36px;
  }
  .sc-nav-group {
    height: 36px;
  }
  .sc-head {
    height: 56px;
    padding: 0 16px 0 20px;
  }
  .sc-title {
    display: block;
    font-size: 20px;
    line-height: 26px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .sc-export {
    color: var(--sc-link);
  }
  .sc-export span {
    display: inline;
  }
  .sc-export svg {
    width: 20px;
    height: 20px;
  }
  .sc-chips {
    padding-inline: 14px;
  }
  .sc-updated {
    display: block;
  }
  .sc-card {
    margin: 0 14px 12px;
  }
  .sc-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .sc-tile {
    height: 82px;
  }
  .sc-tile-value {
    font-size: 24px;
  }
  .sc-tiles-idx {
    grid-template-columns: repeat(2, minmax(0, 176px));
  }
  .sc-chart {
    padding: 30px 52px 0 38px;
  }
  .sc-axis-l {
    left: 12px;
  }
  .sc-axis-r {
    right: 12px;
  }
  .sc-plot {
    height: 152px;
  }
  .sc-y,
  .sc-x {
    font-size: 11px;
  }
  .sc-y-l span {
    right: calc(100% + 8px);
  }
  .sc-y-r span {
    left: calc(100% + 8px);
  }
  .sc-x span:nth-child(even) {
    display: block;
  }
  .sc-ann-date {
    display: block;
  }
  .sc-ann-date::after {
    content: " ·";
  }
  .sc-chart-idx {
    padding: 28px 30px 0 38px;
  }
  .sc-chart-idx .sc-plot {
    height: 108px;
  }
  .sc-bars {
    gap: 1.5px;
  }
  .sc-why-title,
  .sc-why-sub {
    padding-inline: 16px;
  }
  .sc-rrow {
    grid-template-columns: minmax(0, 1fr) 70px 96px 52px;
    grid-template-areas: "name src val num";
    min-height: 46px;
    padding: 6px 16px;
  }
  .sc-rrow.sc-rhead {
    grid-template-areas: "name src val num";
  }
  .sc-r-src::after {
    content: none;
  }
  .sc-rhead .sc-r-src,
  .sc-rhead .sc-val {
    display: block;
  }
  .sc-ex {
    grid-template-columns: minmax(0, 1fr) 86px;
    padding-inline: 16px;
  }
  .sc-ex-date,
  .sc-wide {
    display: inline;
  }
  .sc-ex-date {
    text-align: right;
    font-size: 12px;
    color: var(--sc-text-3);
  }
  .sc-qrow {
    grid-template-columns: minmax(0, 1fr) 20px 80px 96px;
    padding: 0 16px;
  }
  .sc .sc-qfilter {
    display: block;
    width: 18px;
    height: 18px;
    color: var(--sc-text-3);
  }
  .sc-ov-head,
  .sc-ov-sub,
  .sc-ov-item,
  .sc-legend {
    padding-inline: 16px;
  }
  .sc-chart-ov {
    padding: 12px 28px 0 34px;
  }
  .sc-chart-ov .sc-plot {
    height: 96px;
  }
  .sc-minibars {
    margin-inline: 16px;
  }
  .sc-xrow {
    grid-template-columns: minmax(0, 1fr) 90px 64px;
    padding-inline: 16px;
  }
  .sc-notif {
    left: auto;
    right: 64px;
    width: 340px;
  }

  .sc-v-perf {
    --sa: 46px;
    --sb: 46px;
  }
  .sc-v-pages {
    --sa: 46px;
    --sb: 306px;
  }
  .sc-auditoria .sc-v-pages {
    --sb: 358px;
  }
  .sc-auditoria .sc-rrow {
    min-height: 40px;
    padding-block: 4px;
  }
  .sc-auditoria .sc-rrow.sc-rhead {
    min-height: 34px;
  }
  .sc-v-overview {
    --sa: 0px;
    --sb: 216px;
  }
  .sc-minibars {
    height: 34px;
  }
  .sc-xrow {
    min-height: 46px;
  }
}
