/* ───────────────────────────── tokens ─────────────────────────────
   Paleta de datos validada (banda de luminosidad, piso de croma,
   separación para daltonismo). Los roles de tinta y superficie salen
   de la misma referencia; el cromo de la interfaz usa el azul del
   primer espacio de serie para no inventar un color nuevo.          */

:root {
  color-scheme: light;

  --plano:        #f9f9f7;
  --superficie:   #fcfcfb;
  --superficie-2: #f4f3ef;
  --tinta:        #0b0b0b;
  --tinta-2:      #52514e;
  --tinta-3:      #898781;
  --linea:        #e1e0d9;
  --eje:          #c3c2b7;
  --anillo:       rgba(11, 11, 11, .10);
  --acento:       #1c5cab;
  --acento-suave: #cde2fb;

  --serie-1: #2a78d6;
  --serie-2: #eb6834;
  --serie-3: #1baf7a;
  --serie-4: #eda100;
  --serie-5: #e87ba4;
  --serie-6: #008300;
  --serie-7: #6250d6;
  --serie-8: #e34948;

  --bien:    #0ca30c;
  --ojo:     #fab219;
  --serio:   #ec835a;
  --critico: #d03b3b;

  --rampa-1: #cde2fb;
  --rampa-2: #9ec5f4;
  --rampa-3: #6da7ec;
  --rampa-4: #3987e5;
  --rampa-5: #256abf;
  --rampa-6: #184f95;
  --rampa-7: #0d366b;

  --sombra-1: 0 1px 2px rgba(11, 11, 11, .04);
  --sombra-2: 0 1px 2px rgba(11, 11, 11, .04), 0 10px 28px -16px rgba(11, 11, 11, .16);
  --sombra-3: 0 2px 6px rgba(11, 11, 11, .06), 0 28px 60px -28px rgba(11, 11, 11, .26);

  --r-1: 6px;
  --r-2: 10px;
  --r-3: 16px;

  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --ancho: 1440px;
}

:root[data-theme="oscuro"] {
  color-scheme: dark;

  --plano:        #0d0d0d;
  --superficie:   #1a1a19;
  --superficie-2: #232322;
  --tinta:        #f0efec;
  --tinta-2:      #c3c2b7;
  --tinta-3:      #898781;
  --linea:        #2c2c2a;
  --eje:          #383835;
  --anillo:       rgba(255, 255, 255, .10);
  --acento:       #3987e5;
  --acento-suave: #184f95;

  --serie-1: #3987e5;
  --serie-2: #d95926;
  --serie-3: #199e70;
  --serie-4: #c98500;
  --serie-5: #d55181;
  --serie-6: #0ca30c;
  --serie-7: #9085e9;
  --serie-8: #e66767;

  --rampa-1: #184f95;
  --rampa-2: #1c5cab;
  --rampa-3: #256abf;
  --rampa-4: #2a78d6;
  --rampa-5: #3987e5;
  --rampa-6: #6da7ec;
  --rampa-7: #9ec5f4;

  --sombra-1: 0 1px 2px rgba(0, 0, 0, .5);
  --sombra-2: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 28px -16px rgba(0, 0, 0, .8);
  --sombra-3: 0 2px 6px rgba(0, 0, 0, .6), 0 28px 60px -28px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--plano);
  color: var(--tinta);
  font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4rem;
}

a { color: var(--acento); text-decoration-thickness: 1px; text-underline-offset: 2px; }

h1, h2, h3 { font-weight: 560; letter-spacing: -.01em; margin: 0; }

.solo-lectores {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ───────────────────────────── carga ───────────────────────────── */

.cargando {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-content: center; gap: .9rem;
  grid-auto-flow: column; align-items: center;
  background: var(--plano); color: var(--tinta-2);
  font-size: .9rem; letter-spacing: .01em;
  transition: opacity .35s ease;
}
.cargando.fuera { opacity: 0; pointer-events: none; }
.pulso {
  width: 9px; height: 9px; border-radius: 50%; background: var(--serie-3);
  animation: latir 1.3s ease-in-out infinite;
}
@keyframes latir { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .pulso { animation: none; opacity: .8; } }

/* ───────────────────────────── barra ───────────────────────────── */

.barra {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem clamp(1rem, 3vw, 2.25rem);
  background: color-mix(in srgb, var(--superficie) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--linea);
}

.marca { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.marca-signo { width: 30px; height: 30px; color: var(--acento); flex: none; }
.marca div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.marca strong { font-weight: 560; font-size: .97rem; letter-spacing: -.01em; }
.marca span { font-size: .78rem; color: var(--tinta-3); }

.buscador { display: flex; gap: .5rem; flex: 1; max-width: 560px; margin-inline: auto; }
.buscador input {
  flex: 1; min-width: 0;
  padding: .55rem .85rem;
  font: inherit; font-size: .9rem; color: var(--tinta);
  background: var(--plano);
  border: 1px solid var(--linea); border-radius: 999px;
  box-shadow: var(--sombra-1) inset;
  transition: border-color .18s, box-shadow .18s;
}
.buscador input::placeholder { color: var(--tinta-3); }
.buscador input:focus-visible {
  outline: none; border-color: var(--acento);
  box-shadow: 0 0 0 3px var(--acento-suave);
}

button { font: inherit; cursor: pointer; }

.buscador button, .forma button[type="submit"] {
  padding: .55rem 1.1rem; font-size: .88rem;
  color: #fff; background: var(--acento);
  border: 1px solid transparent; border-radius: 999px;
  box-shadow: var(--sombra-1);
  transition: filter .18s, transform .18s;
}
.buscador button:hover, .forma button[type="submit"]:hover { filter: brightness(1.1); }
.buscador button:active { transform: translateY(1px); }

.barra-acciones { display: flex; gap: .4rem; }
.boton-icono {
  display: grid; place-items: center; width: 34px; height: 34px;
  color: var(--tinta-2); background: transparent;
  border: 1px solid var(--linea); border-radius: 999px;
  transition: background .18s, color .18s;
}
.boton-icono:hover { background: var(--superficie-2); color: var(--tinta); }

.boton-plano {
  padding: .38rem .8rem; font-size: .82rem;
  color: var(--tinta-2); background: transparent;
  border: 1px solid var(--linea); border-radius: 999px;
  transition: background .18s, color .18s;
}
.boton-plano:hover { background: var(--superficie-2); color: var(--tinta); }

/* ─────────────────────────── aviso demo ───────────────────────── */

.aviso-demo {
  max-width: var(--ancho); margin: 1rem auto 0;
  padding: .6rem .95rem;
  font-size: .8rem; line-height: 1.5; color: var(--tinta-2);
  background: var(--superficie);
  border: 1px solid var(--linea); border-left: 3px solid var(--ojo);
  border-radius: var(--r-1);
  box-shadow: var(--sombra-1);
}
.aviso-demo strong { color: var(--tinta); font-weight: 560; }
body > .aviso-demo { width: calc(100% - clamp(2rem, 6vw, 4.5rem)); }

/* ───────────────────────────── filtros ─────────────────────────── */

.filtros {
  max-width: var(--ancho);
  width: calc(100% - clamp(2rem, 6vw, 4.5rem));
  margin: 1rem auto 0;
  padding: .9rem 1rem;
  background: var(--superficie);
  border: 1px solid var(--linea); border-radius: var(--r-2);
  box-shadow: var(--sombra-2);
}

.filtros-grupo { display: flex; flex-wrap: wrap; gap: .4rem; }

.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .34rem .75rem .34rem .6rem;
  font-size: .82rem; color: var(--tinta-2);
  background: var(--plano);
  border: 1px solid var(--linea); border-radius: 999px;
  transition: background .16s, color .16s, border-color .16s;
}
.chip:hover { background: var(--superficie-2); color: var(--tinta); }
.chip .punto { width: 8px; height: 8px; border-radius: 50%; flex: none; background: currentColor; }
.chip[aria-pressed="true"] {
  color: var(--tinta); background: var(--superficie-2);
  border-color: var(--eje); box-shadow: var(--sombra-1);
}
.chip .n { font-size: .74rem; color: var(--tinta-3); font-variant-numeric: tabular-nums; }

.filtros-selects {
  display: flex; flex-wrap: wrap; align-items: end; gap: .7rem 1rem;
  margin-top: .8rem; padding-top: .8rem;
  border-top: 1px solid var(--linea);
}
.filtros-selects label { display: flex; flex-direction: column; gap: .2rem; }
.filtros-selects label > span { font-size: .7rem; color: var(--tinta-3); letter-spacing: .02em; }

select, .forma input, .forma select {
  padding: .4rem .6rem; font: inherit; font-size: .85rem;
  color: var(--tinta); background: var(--plano);
  border: 1px solid var(--linea); border-radius: var(--r-1);
  transition: border-color .18s, box-shadow .18s;
}
select:focus-visible, input:focus-visible {
  outline: none; border-color: var(--acento);
  box-shadow: 0 0 0 3px var(--acento-suave);
}

.rango { min-width: 190px; }
.rango input[type="range"] { accent-color: var(--acento); width: 100%; }
.rango output { font-size: .74rem; color: var(--tinta-3); font-variant-numeric: tabular-nums; }

.filtros-estado {
  margin: .7rem 0 0; font-size: .78rem; color: var(--tinta-3);
  font-variant-numeric: tabular-nums;
}
.filtros-estado b { color: var(--tinta); font-weight: 560; }

/* ───────────────────────────── vistas ──────────────────────────── */

.vistas {
  display: flex; gap: .25rem; overflow-x: auto;
  max-width: var(--ancho);
  width: calc(100% - clamp(2rem, 6vw, 4.5rem));
  margin: 1.1rem auto .15rem;
  padding-bottom: .35rem;
  scrollbar-width: thin;
}
.vistas button {
  padding: .42rem .85rem; white-space: nowrap;
  font-size: .86rem; color: var(--tinta-3);
  background: transparent; border: 1px solid transparent; border-radius: 999px;
  transition: color .16s, background .16s;
}
.vistas button:hover { color: var(--tinta); background: var(--superficie-2); }
.vistas button.activa {
  color: var(--tinta); background: var(--superficie);
  border-color: var(--linea); box-shadow: var(--sombra-1);
}

main {
  max-width: var(--ancho);
  width: calc(100% - clamp(2rem, 6vw, 4.5rem));
  margin: 0 auto;
}

.vista { display: none; }
.vista.activa { display: block; animation: entrar .28s ease both; }
@keyframes entrar { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vista.activa { animation: none; } }

/* ───────────────────────────── tarjetas ───────────────────────── */

.rejilla { display: grid; gap: 1rem; margin-top: 1rem; }
.rejilla.dos { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.rejilla.mapa-rejilla { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 1040px) { .rejilla.mapa-rejilla { grid-template-columns: 1fr; } }

.tarjeta {
  background: var(--superficie);
  border: 1px solid var(--linea); border-radius: var(--r-3);
  box-shadow: var(--sombra-2);
  overflow: hidden;
}
.vista > .tarjeta { margin-top: 1rem; }

.tarjeta-cab {
  display: flex; align-items: start; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.15rem .75rem;
}
.tarjeta-cab h2 { font-size: .98rem; }
.tarjeta-cab p { margin: .15rem 0 0; font-size: .78rem; color: var(--tinta-3); max-width: 62ch; }
.cab-controles { display: flex; align-items: center; gap: .5rem; flex: none; }
.mini { display: flex; align-items: center; gap: .35rem; font-size: .74rem; color: var(--tinta-3); }

.tabla-toggle {
  flex: none; padding: .25rem .6rem;
  font-size: .74rem; color: var(--tinta-3);
  background: transparent; border: 1px solid var(--linea); border-radius: 999px;
  transition: color .16s, background .16s;
}
.tabla-toggle:hover { color: var(--tinta); background: var(--superficie-2); }
.tabla-toggle[aria-pressed="true"] { color: var(--tinta); background: var(--superficie-2); }

.lienzo { width: 100%; height: 320px; }
.lienzo.alto { height: 520px; }
.lienzo.gantt { height: 740px; }

/* ───────────────────────────── kpis ───────────────────────────── */

.kpis {
  display: grid; gap: 1rem; margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.kpi {
  padding: 1rem 1.15rem;
  background: var(--superficie);
  border: 1px solid var(--linea); border-radius: var(--r-2);
  box-shadow: var(--sombra-2);
}
.kpi-etiqueta { font-size: .76rem; color: var(--tinta-3); }
.kpi-cifra {
  display: block; margin-top: .3rem;
  font-size: 2.1rem; font-weight: 560; letter-spacing: -.02em; line-height: 1.05;
}
.kpi-pie { margin-top: .25rem; font-size: .76rem; color: var(--tinta-2); }
.kpi-barra { margin-top: .6rem; height: 4px; border-radius: 999px; background: var(--superficie-2); overflow: hidden; }
.kpi-barra i { display: block; height: 100%; border-radius: 999px; background: var(--serie-1); }

/* ───────────────────────── medidores (temas) ──────────────────── */

.medidores { padding: .25rem 1.15rem 1.15rem; display: grid; gap: .55rem; }
.medidor { display: grid; grid-template-columns: 1fr auto; gap: .15rem .7rem; align-items: baseline; cursor: pointer; }
.medidor:hover .medidor-nombre { color: var(--tinta); }
.medidor-nombre { font-size: .83rem; color: var(--tinta-2); transition: color .16s; }
.medidor-cifra { font-size: .8rem; color: var(--tinta-3); font-variant-numeric: tabular-nums; }
.medidor-pista {
  grid-column: 1 / -1; height: 6px; border-radius: 999px;
  background: var(--superficie-2); overflow: hidden;
}
.medidor-pista i { display: block; height: 100%; border-radius: 999px; }

/* ───────────────────────── lista de empalmes ─────────────────── */

.lista-empalmes { list-style: none; margin: 0; padding: .25rem .6rem 1rem; display: grid; gap: .35rem; }
.lista-empalmes li {
  display: grid; grid-template-columns: auto 1fr; gap: .1rem .7rem;
  padding: .6rem .7rem; border-radius: var(--r-1);
  cursor: pointer; transition: background .16s;
}
.lista-empalmes li:hover { background: var(--superficie-2); }
.lista-empalmes .peso {
  grid-row: span 2; align-self: center;
  display: grid; place-items: center; width: 34px; height: 34px;
  font-size: .78rem; font-weight: 560; color: #fff;
  background: var(--serie-2); border-radius: 50%;
}
.lista-empalmes .par { font-size: .85rem; line-height: 1.4; }
.lista-empalmes .por-que { font-size: .76rem; color: var(--tinta-3); }

/* ───────────────────────────── tablas ─────────────────────────── */

.tabla-caja { padding: 0 1.15rem 1.15rem; overflow: auto; max-height: 560px; }
.tabla-caja.abierta { display: block; }
table { width: 100%; border-collapse: collapse; font-size: .82rem; }
thead th {
  position: sticky; top: 0; z-index: 1;
  padding: .5rem .6rem; text-align: left; font-weight: 560; font-size: .74rem;
  color: var(--tinta-3); background: var(--superficie);
  border-bottom: 1px solid var(--linea);
  white-space: nowrap;
}
tbody td { padding: .5rem .6rem; border-bottom: 1px solid var(--linea); vertical-align: top; }
tbody tr:hover td { background: var(--superficie-2); }
tbody tr[data-proyecto] { cursor: pointer; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td .sub { display: block; font-size: .74rem; color: var(--tinta-3); }

.marca-eje {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: .4rem; vertical-align: 1px;
}

.etiqueta {
  display: inline-block; padding: .08rem .45rem; margin: 0 .2rem .2rem 0;
  font-size: .7rem; color: var(--tinta-2);
  background: var(--superficie-2); border-radius: 999px;
}
.sello { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; }
.sello::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sello.bien { color: var(--bien); }
.sello.ojo { color: var(--serio); }
.sello.mal { color: var(--critico); }

/* ───────────────────────────── encuentro ─────────────────────── */

.encuentro { padding: .25rem 1.15rem 1.15rem; display: grid; gap: .8rem; }
.encuentro-fila {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr);
  gap: .9rem; align-items: center;
  padding: .85rem .95rem;
  background: var(--plano);
  border: 1px solid var(--linea); border-radius: var(--r-2);
}
@media (max-width: 860px) { .encuentro-fila { grid-template-columns: 1fr; } }
.encuentro-fila h3 { font-size: .88rem; }
.encuentro-fila .quien { font-size: .76rem; color: var(--tinta-3); margin-top: .1rem; }
.encuentro-fila .necesita { margin-top: .4rem; font-size: .78rem; color: var(--tinta-2); }
.flecha { color: var(--tinta-3); font-size: 1.1rem; text-align: center; }
.ofertas { display: grid; gap: .3rem; }
.oferta {
  display: grid; grid-template-columns: auto 1fr auto; gap: .5rem; align-items: baseline;
  padding: .4rem .55rem; border-radius: var(--r-1);
  background: var(--superficie); border: 1px solid var(--linea);
  cursor: pointer; transition: border-color .16s, box-shadow .16s;
}
.oferta:hover { border-color: var(--eje); box-shadow: var(--sombra-1); }
.oferta .tipo { font-size: .7rem; color: #fff; background: var(--serie-3); padding: .05rem .4rem; border-radius: 999px; }
.oferta .cual { font-size: .8rem; }
.oferta .cual .sub { font-size: .72rem; color: var(--tinta-3); }
.oferta .afin { font-size: .72rem; color: var(--tinta-3); font-variant-numeric: tabular-nums; }

/* ───────────────────────────── vigencia ──────────────────────── */

.segmentada { padding: .4rem 1.15rem 0; }
.segmentada-barra { display: flex; gap: 2px; height: 46px; border-radius: var(--r-1); overflow: hidden; }
.segmentada-barra > i {
  display: grid; place-items: center;
  font-size: .76rem; font-style: normal; color: #fff;
  font-variant-numeric: tabular-nums;
}
.segmentada-leyenda { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: .6rem 0 0; padding: 0 0 1rem; list-style: none; font-size: .78rem; color: var(--tinta-2); }
.segmentada-leyenda li { display: flex; align-items: center; gap: .4rem; }
.segmentada-leyenda i { width: 9px; height: 9px; border-radius: 2px; }
.nota { margin: 0; padding: 0 1.15rem 1.15rem; font-size: .78rem; color: var(--tinta-3); }

/* ───────────────────────────── formas ────────────────────────── */

.forma { display: grid; gap: .7rem; padding: .25rem 1.15rem 1.3rem; }
.forma label { display: grid; gap: .22rem; font-size: .78rem; color: var(--tinta-3); }
.forma label small { color: var(--tinta-3); font-weight: 400; }
.forma input, .forma select { font-size: .88rem; color: var(--tinta); }
.forma-fila { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.forma fieldset {
  margin: .2rem 0 0; padding: .8rem .9rem;
  border: 1px solid var(--linea); border-radius: var(--r-2);
  display: grid; gap: .6rem;
}
.forma legend { padding: 0 .4rem; font-size: .74rem; color: var(--tinta-3); }
.forma button[type="submit"] { justify-self: start; margin-top: .3rem; }
.salida { display: block; font-size: .8rem; line-height: 1.5; }
.salida:not(:empty) {
  margin-top: .3rem; padding: .7rem .85rem;
  background: var(--plano); border: 1px solid var(--linea);
  border-left: 3px solid var(--serie-3); border-radius: var(--r-1);
}
.salida.mal:not(:empty) { border-left-color: var(--critico); }

/* ───────────────────────────── panel ────────────────────────── */

.panel {
  position: fixed; top: 0; right: 0; z-index: 40;
  width: min(430px, 94vw); height: 100%;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 1.4rem 1.4rem 3rem;
  background: var(--superficie);
  border-left: 1px solid var(--linea);
  box-shadow: var(--sombra-3);
  animation: deslizar .26s cubic-bezier(.22, .68, .3, 1) both;
}
@keyframes deslizar { from { transform: translateX(26px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .panel { animation: none; } }

.panel-cerrar {
  position: absolute; top: .9rem; right: 1rem;
  width: 30px; height: 30px; display: grid; place-items: center;
  font-size: 1.25rem; line-height: 1; color: var(--tinta-3);
  background: transparent; border: 1px solid var(--linea); border-radius: 999px;
}
.panel-cerrar:hover { color: var(--tinta); background: var(--superficie-2); }

.panel h2 { font-size: 1.08rem; line-height: 1.3; padding-right: 2.4rem; }
.panel .quien { margin: .35rem 0 .9rem; font-size: .83rem; color: var(--tinta-2); }
.panel .bloque { margin-top: 1.1rem; }
.panel .bloque > h3 {
  font-size: .72rem; letter-spacing: .04em; color: var(--tinta-3);
  padding-bottom: .35rem; border-bottom: 1px solid var(--linea); margin-bottom: .5rem;
}
.panel dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem .8rem; margin: 0; font-size: .83rem; }
.panel dt { color: var(--tinta-3); }
.panel dd { margin: 0; }
.panel .vecino {
  display: grid; grid-template-columns: auto 1fr; gap: .1rem .6rem;
  padding: .5rem .6rem; border-radius: var(--r-1); cursor: pointer;
  transition: background .16s;
}
.panel .vecino:hover { background: var(--superficie-2); }
.panel .vecino .peso {
  grid-row: span 2; align-self: center;
  display: grid; place-items: center; width: 28px; height: 28px;
  font-size: .72rem; color: #fff; background: var(--serie-2); border-radius: 50%;
}
.panel .vecino strong { font-weight: 500; font-size: .83rem; }
.panel .vecino span { font-size: .74rem; color: var(--tinta-3); }

/* ───────────────────────────── pie ─────────────────────────── */

.pie {
  max-width: var(--ancho);
  width: calc(100% - clamp(2rem, 6vw, 4.5rem));
  margin: 2.5rem auto 0; padding-top: 1.1rem;
  border-top: 1px solid var(--linea);
  font-size: .76rem; color: var(--tinta-3);
  display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; justify-content: space-between;
}
.pie p { margin: 0; }

/* ───────────────────────── textura accesible ────────────────── */
/* Para impresión y forced-colors, el color deja de ser el único canal. */

@media print {
  .barra, .vistas, .filtros, .panel, .tabla-toggle { display: none !important; }
  .vista { display: block !important; }
  .tarjeta { box-shadow: none; break-inside: avoid; }
}

@media (forced-colors: active) {
  .tarjeta, .kpi, .filtros { border: 1px solid CanvasText; }
  .chip[aria-pressed="true"] { outline: 2px solid CanvasText; }
}
