@font-face {
  font-family: Inter;
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
html:not([data-menu-vista="noche"]) img.cd-logo-noche,
html[data-menu-vista="noche"] img.cd-logo-dia { display: none !important; }

html[data-menu-vista] { --cd-scroll-grosor:8px; }
.cd-temas button[data-cd-tema] {
  display:inline-flex; align-items:center; justify-content:center; gap:4px; white-space:nowrap;
}
.cd-temas button[data-cd-tema] > svg {
  display:block; flex:none; width:16px; height:16px;
}
.cd-temas { display:flex; align-items:center; gap:4px; color:var(--mv-sub); font:550 12px/1.5 Inter,system-ui,sans-serif; }
.cd-temas span { margin-inline-end:auto; }
.cd-temas button {
  padding:4px 11px; min-height:28px; border:1px solid var(--mv-line); border-radius:6px;
  color:var(--mv-ink); background:var(--mv-panel); font:inherit; cursor:pointer;
}
.cd-temas button[aria-pressed="true"] { background:var(--mv-focus); border-color:var(--mv-focus); color:var(--mv-on); }
.cd-temas button:focus-visible { outline:2px solid var(--mv-focus); outline-offset:2px; }

/* Material de día compartido por el menú y el informe. */
:root[data-menu-vista=dia], :root.acceso {
  --cd-vidrio:
    radial-gradient(ellipse 95% 95% at -8% -40%,#fff 10%,#ffffff9e 48%,transparent 73%),
    linear-gradient(122deg,#fffffff0 0%,#f3fcf9a6 27%,#edf8f94d 52%,#ffffffbd 79%,#ffffff6e 100%);
  --cd-bisel:inset 0 1.5px 0 #fffffffa,inset 1px 0 0 #ffffffe6,inset 0 -1.5px 1px #70939b57,inset -1.5px 0 1px #b3e0d980,0 4px 13px -6px #355e6663;
  --cd-difusion:blur(18px) saturate(154%);
}

/* Paleta de los informes que comparten la apariencia de CesaDash. */
:root[data-ah-informe],
:root[data-ind-informe],
:root[data-sye-informe],
:root[data-ia-interfaz],
:root[data-ia-acceso],
:root.acceso,
:root[data-prensas-informe] {
  color-scheme:light; --ah-bg:#edf1ed; --ah-sheet:#f7f8f4; --ah-card:#fff;
  --ah-tint:#e8f1e9; --ah-ink:#23372f; --ah-muted:#50645a; --ah-line:#cbd9ce;
  --ah-green:#32644e; --ah-on:#fff; --ah-ochre:#896333; --ah-graphite:#626861; --ah-slate:#4d707a;
  --ah-shadow:0 3px 12px rgba(48,70,54,.06); --ah-radius:12px;
}
:root[data-ah-informe][data-menu-vista=noche],
:root[data-ind-informe][data-menu-vista=noche],
:root[data-sye-informe][data-menu-vista=noche],
:root[data-ia-interfaz][data-menu-vista=noche],
:root[data-ia-acceso][data-menu-vista=noche],
:root.acceso[data-menu-vista=noche],
:root[data-prensas-informe][data-menu-vista=noche] {
  color-scheme:dark; --ah-bg:#071822; --ah-sheet:#0a202b; --ah-card:#0f2a36;
  --ah-tint:#153746; --ah-ink:#e0f1f5; --ah-muted:#acc7d0; --ah-line:#305362;
  --ah-green:#74d9e7; --ah-on:#092731; --ah-ochre:#f3c87b; --ah-graphite:#afd0db; --ah-slate:#92d8e8;
  --ah-shadow:0 2px 10px rgba(2,11,18,.18); --ah-radius:9px;
}
