/* KAIA · Vista limpia · carril 3 (Commerce, Sourcing, Inicio, Gerencia) · propuesta local 24-10-2026.
   Todo vive bajo html.kl: con «Vista clásica» esta hoja no cambia nada.
   Fondo #F5F5F7, tarjetas blancas, radio 14-22, Archivo para títulos, IBM Plex Sans para texto, acento #14405F.
   Verde / ámbar / rojo (#12A150 / #E8A317 / #E5484D) solo para estados. */

/* ── Común ───────────────────────────────────────────────────────────────── */
html.kl body { background: #F5F5F7; color: #0F1518; font-family: "IBM Plex Sans", system-ui, sans-serif; }
html.kl .bg { display: none; }
html.kl .eyebrow, html.kl .sc-eyebrow, html.kl .hy-kicker {
  font-family: "IBM Plex Sans", system-ui, sans-serif; text-transform: none; letter-spacing: 0; font-size: 13px; color: #6E6E73;
}
html.kl .eyebrow::before, html.kl .eyebrow::after { display: none; }
html.kl .footer, html.kl .sc-footer { border-top: 0; }
html.kl .footer, html.kl .footer a, html.kl .sc-footer, html.kl .sc-footer a { font-family: "IBM Plex Sans", system-ui, sans-serif; text-transform: none; letter-spacing: 0; color: #6E6E73; }
html.kl .kl-pliegue.klcm-como > summary, html.kl .kl-pliegue.klsc-mas > summary { cursor: pointer; }

/* Franja amarilla de avisos (la pinta api.js en todas las páginas): una línea pequeña, sin fondo amarillo. El botón sigue. */
html.kl .ks-pista {
  background: transparent; border: 0; padding: 6px 28px 0; justify-content: flex-end; gap: 0;
  max-width: 1180px; margin: 0 auto; font: 400 12.5px/1.4 "IBM Plex Sans", system-ui, sans-serif; color: #6E6E73;
}
html.kl .ks-pista-t { color: #6E6E73; }
html.kl .ks-pista-t::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #E8A317; margin-right: 8px; vertical-align: middle; }
html.kl .ks-pista-b {
  background: transparent; color: #14405F; border: 0; min-height: 0; padding: 2px 0; font-size: 12.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
}
html.kl .sc-top + .ks-pista { max-width: 1440px; padding-left: 5%; padding-right: 5%; }

/* ── Commerce ────────────────────────────────────────────────────────────── */
html.kl .page.wrap { padding-top: 40px; padding-bottom: 72px; }
html.kl .klcm-cab { margin-top: 8px; }
html.kl .klcm-cab .kl-num { font-size: 72px; }
html.kl .klcm-cab .kl-sub:empty { display: none; }
html.kl .klcm-como { margin: 22px 0 0; }
html.kl .klcm-como > summary {
  padding: 0; border: 0; background: none; border-radius: 0; color: #14405F; font-size: 14px; text-decoration: underline; text-underline-offset: 3px;
}
html.kl .klcm-como > summary::after { display: none; }
html.kl .klcm-como[open] > summary { margin-bottom: 24px; }
html.kl .klcm-como .cm-intro .eyebrow, html.kl .klcm-como .cm-flow, html.kl .klcm-como .cm-intro .cm-button { display: none; }
html.kl .klcm-como .cm-intro h1 { font: 600 28px/1.2 "Archivo", sans-serif; letter-spacing: -.02em; margin: 0 0 10px; }
html.kl .klcm-como .cm-intro .lead { font-size: 15px; color: #4E5A63; margin: 0 0 24px; }
html.kl .klcm-como .kv-seccion { margin: 0 0 28px; }
html.kl .klcm-como .kv-seccion-eyebrow { display: none; }
html.kl .klcm-como .cm-levels { margin: 0 0 18px; gap: 12px; }
html.kl .cm-levels article { background: #F5F5F7; border: 0; border-radius: 14px; padding: 18px 20px; }
html.kl .cm-levels .cm-n { font-family: "IBM Plex Sans", sans-serif; font-size: 12px; color: #6E6E73; letter-spacing: 0; }
html.kl .cm-levels h2 { font: 600 18px/1.25 "Archivo", sans-serif; }

html.kl #hoja-de-ruta.cm-section { margin-top: 28px; padding-top: 0; border-top: 0; }
html.kl #hoja-de-ruta .cm-row { justify-content: flex-end; }
html.kl #hoja-de-ruta .cm-row > div { display: none; }
html.kl #cm-refresh { min-height: 36px; padding: 6px 16px; }
html.kl .cm-status:not(.error) { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html.kl .cm-status.error { background: #fff; border: 0; border-radius: 14px; color: #C8282D; padding: 14px 18px; }
html.kl #cm-work > .cm-sub { display: none; }
html.kl #cm-login { background: #fff; border-radius: 22px; padding: 28px 32px; }
html.kl .cm-tools { gap: 0; margin-top: 4px; }
html.kl .cm-form input, html.kl .cm-form select, html.kl .cm-form textarea, html.kl .cm-tools select, html.kl .cm-tools input {
  border: 1px solid #D2D2D7; border-radius: 12px; background: #fff; font-family: "IBM Plex Sans", sans-serif;
}
html.kl .cm-tools label, html.kl .cm-form label { color: #6E6E73; font-size: 13px; }
html.kl .cm-box { background: #fff; border: 0; border-radius: 18px; padding: 20px 24px; }
html.kl .cm-box summary { font: 500 15px/1.4 "IBM Plex Sans", sans-serif; color: #14405F; }
html.kl .cm-button { border-radius: 999px; background: #14405F; border-color: #14405F; color: #fff; font-weight: 500; }
html.kl .cm-button.secondary { background: #fff; color: #14405F; border-color: #D2D2D7; }

html.kl #cm-actions { display: block; margin: 8px 0 0; }
html.kl .klcm-grupo { margin: 34px 0 0; }
html.kl .klcm-sede { font: 600 22px/1.2 "Archivo", sans-serif; letter-spacing: -.02em; color: #0F1518; margin: 0 0 14px; display: flex; align-items: baseline; gap: 0; flex-wrap: wrap; }
html.kl .klcm-sede small { font: 400 14px/1 "IBM Plex Sans", sans-serif; letter-spacing: 0; color: #6E6E73; }
html.kl .klcm-nivel { grid-column: 1 / -1; margin: 10px 0 0; font: 500 14px/1.3 "IBM Plex Sans", sans-serif; color: #6E6E73; }
html.kl .klcm-lista { margin: 0; gap: 12px; }
html.kl .cm-card { background: #fff; border: 0; border-radius: 16px; padding: 22px 24px; }
html.kl .cm-card h3 { font: 600 17px/1.35 "Archivo", sans-serif; letter-spacing: -.01em; margin: 0 0 8px; }
html.kl .cm-card .cm-sub { font-size: 13px; line-height: 1.55; color: #6E6E73; margin: 0; }
html.kl .cm-card .cm-links { margin-top: 12px; }
html.kl .cm-card .cm-links a { border: 0; background: none; padding: 0; min-height: 0; color: #14405F; font-size: 13.5px; font-weight: 500; }
html.kl .cm-card .cm-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
html.kl .cm-classify-box { border-top-color: #EDEDF0; }
html.kl .cm-classify-box summary { color: #6E6E73; font-size: 13px; }
html.kl .klcm-mas { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; margin: 34px 0 6px; color: #6E6E73; font-size: 14px; }
html.kl .klcm-mas span { flex: 1 1 100%; text-align: center; }
html.kl .klcm-mas .cm-button { min-height: 40px; }
html.kl .cm-pill { border-radius: 999px; background: #F5F5F7; border: 0; color: #4E5A63; }
html.kl .cm-empty { border: 0; background: #fff; border-radius: 18px; color: #6E6E73; }
html.kl .klcm-res { margin-top: 36px; }
html.kl .klcm-res .cm-section { margin: 0; padding: 0; border: 0; }
html.kl .klcm-res .cm-section > h2 { display: none; }
html.kl .cm-metrics article { border: 0; border-radius: 16px; }

/* ── Sourcing ────────────────────────────────────────────────────────────── */
html.kl .sc-body { --sc-bg: #F5F5F7; --sc-line: #E5E5EA; background: #F5F5F7; }
html.kl .sc-body .sc-eyebrow { font-family: "IBM Plex Sans", sans-serif; font-size: 13px; letter-spacing: 0; text-transform: none; color: #6E6E73; }
html.kl .sc-body h1, html.kl .sc-body h2, html.kl .sc-body h3 { font-weight: 600; }
html.kl .sc-nav button, html.kl .sc-nav a { font-family: "IBM Plex Sans", sans-serif; }
html.kl .sc-btn { border-radius: 999px; }
html.kl .sc-btn.primary { background: #14405F; border-color: #14405F; color: #fff; }
html.kl .sc-btn.primary:hover { background: #0f3149; border-color: #0f3149; }
html.kl .sc-discovery-mini .sc-badge.pending { display: none; }
html.kl .klsc-titulo { font: 600 40px/1.1 "Archivo", sans-serif; letter-spacing: -.03em; margin: 8px 0 22px; color: #0F1518; }
html.kl .klsc-par { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; align-items: stretch; }
html.kl .klsc-card { background: #fff; border-radius: 22px; padding: 34px; min-width: 0; }
html.kl .klsc-nueva .sc-next {
  background: none; color: #0F1518; border: 0; border-radius: 0; padding: 0; min-height: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; height: 100%;
}
html.kl .klsc-nueva .sc-next::before, html.kl .klsc-nueva .sc-next::after { display: none; }
html.kl .klsc-nueva .sc-next-label, html.kl .klsc-nueva .sc-next-mark, html.kl .klsc-nueva .sc-next-foot { display: none; }
html.kl .klsc-nueva .sc-next h2 { font: 600 28px/1.2 "Archivo", sans-serif; letter-spacing: -.02em; margin: 0; }
html.kl .klsc-nueva .sc-next p { font-size: 15px; line-height: 1.55; color: #4E5A63; margin: 12px 0 26px; max-width: 34ch; }
html.kl .klsc-nueva .sc-next .sc-btn.primary { width: auto; margin-top: auto; align-self: flex-start; background: #14405F; border-color: #14405F; color: #fff; padding: 12px 24px; }
html.kl .klsc-mias .sc-section-head { margin: 0 0 14px; }
html.kl .klsc-mias .sc-section-head .sc-eyebrow { display: none; }
html.kl .klsc-mias .sc-section-head h2 { font: 600 22px/1.2 "Archivo", sans-serif; letter-spacing: -.02em; margin: 0; }
html.kl .klsc-mias .sc-panel { background: none; border: 0; padding: 0; }
html.kl .klsc-mias .sc-empty { border: 0; background: #F5F5F7; border-radius: 14px; padding: 30px 22px; }
html.kl .klsc-mias .sc-empty h3 { font-size: 16px; }
html.kl .klsc-mias .sc-request { padding: 16px 0; min-height: 0; }
html.kl .klsc-mias .sc-btn.small { min-height: 36px; padding: 6px 16px; }
html.kl .klsc-mas.kl-pliegue { margin: 28px 0 40px; }
html.kl .klsc-mas.kl-pliegue[open] > summary { margin-bottom: 28px; }
/* Dentro de «Más»: sin frases de publicidad en el primer nivel; lo que queda, en tarjetas blancas. */
html.kl .klsc-mas .sc-welcome { display: block; padding: 0; }
html.kl .klsc-mas .sc-welcome h1, html.kl .klsc-mas .sc-welcome > div > p, html.kl .klsc-mas .sc-welcome > div > .sc-eyebrow { display: none; }
html.kl .klsc-mas .sc-home-search { margin: 0 0 26px; }
html.kl .klsc-mas .sc-franja-propia { border-radius: 18px; }
html.kl .klsc-mas .sc-intent-section .sc-section-head .sc-small { display: none; }
html.kl .klsc-mas .sc-intent { background: #fff; border: 0; border-radius: 18px; }
html.kl .klsc-mas .sc-intent-top, html.kl .klsc-mas .sc-intent-top span { font-family: "IBM Plex Sans", sans-serif; }
html.kl .klsc-mas .sc-compra .sc-eyebrow { display: none; }
html.kl .klsc-mas .sc-overview { background: #fff; border: 0; border-radius: 18px; padding: 24px 8px; }
html.kl .klsc-mas .sc-benef { border-radius: 22px; }
html.kl .klsc-mas .sc-discovery-mini { background: #fff; border: 0; border-radius: 22px; }
html.kl .klsc-mas .sc-workspace { display: block; }
html.kl .klsc-mas .sc-workspace:empty { display: none; }
/* Portal de proveedor (Modo gerencia): arriba solo su cabecera y sus tres cifras. */
html.kl .sc-provider-home { padding: 36px 0 24px; gap: 28px; }
html.kl .sc-provider-home h1 { font: 600 44px/1.1 "Archivo", sans-serif; letter-spacing: -.03em; }
html.kl .sc-provider-home .sc-provider-status { background: #fff; color: #0F1518; border-radius: 22px; }
html.kl .sc-provider-home .sc-provider-status span { font-family: "IBM Plex Sans", sans-serif; letter-spacing: 0; color: #6E6E73; font-size: 13px; }
html.kl .sc-provider-home .sc-provider-status p { color: #4E5A63; }
html.kl .sc-summary { background: #fff; border: 0; border-radius: 22px; padding: 28px 32px; margin: 0 0 20px; }
html.kl .sc-summary span { font-size: 13px; color: #6E6E73; }
html.kl .sc-summary strong { font: 700 36px/1 "Archivo", sans-serif; }
html.kl .sc-panel { border: 0; border-radius: 18px; background: #fff; }

/* ── Inicio ──────────────────────────────────────────────────────────────── */
html.kl body.inicio { background: #F5F5F7; }
html.kl .ini-pagina { padding-top: 48px; padding-bottom: 72px; }
html.kl #ini-contenido > .ini-eyebrow, html.kl .ini-rol, html.kl #ini-activos-t { display: none; }
html.kl .ini-pagina h1 { font: 700 44px/1.08 "Archivo", sans-serif; font: 700 clamp(36px, 4.6vw, 52px)/1.08 "Archivo", sans-serif; letter-spacing: -.03em; margin: 0 0 36px; }
html.kl .ini-tarjetas { gap: 16px; }
html.kl .ini-tarjeta { background: #fff; color: #0F1518; border: 0; border-radius: 22px; padding: 34px 32px 30px; min-height: 0; gap: 0; }
html.kl .ini-tarjeta:hover { transform: none; box-shadow: 0 10px 30px rgba(15, 21, 24, .08); }
html.kl .ini-t-num, html.kl .ini-t-ir { display: none; }
html.kl .ini-tarjeta h3 { font: 600 24px/1.15 "Archivo", sans-serif; font: 600 clamp(22px, 2vw, 26px)/1.15 "Archivo", sans-serif; letter-spacing: -.02em; color: #0F1518; margin: 0 0 10px; }
html.kl .ini-tarjeta p { font-size: 15px; line-height: 1.5; color: #6E6E73; margin: 0; }
html.kl .ini-tarjeta:focus { outline: 2px solid #14405F; outline-offset: 3px; }
html.kl .ini-tarjeta:focus-visible { outline: 2px solid #14405F; outline-offset: 3px; }
html.kl .ini-sub { font-family: "IBM Plex Sans", sans-serif; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; color: #6E6E73; }
html.kl .ini-otros-p { color: #6E6E73; }
html.kl .ini-chip { background: #fff; border: 0; border-radius: 14px; }
html.kl .ini-chip-e { font-family: "IBM Plex Sans", sans-serif; text-transform: none; letter-spacing: 0; font-size: 12px; background: #F5F5F7; color: #6E6E73; }
html.kl .ini-vacio { background: #fff; border: 0; border-radius: 18px; }

/* ── Gerencia ────────────────────────────────────────────────────────────── */
html.kl body .hy-head { margin-bottom: 8px; }
html.kl body .hy-kicker { display: none; }
html.kl body .hy h1 { font: 700 40px/1.1 "Archivo", sans-serif; font: 700 clamp(34px, 4vw, 46px)/1.1 "Archivo", sans-serif; letter-spacing: -.03em; }
html.kl .topbar { background: transparent; border-bottom: 0; }
html.kl #gr-cuerpo > .hy-p { display: none; }
html.kl .klg-diario { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0 0; }
html.kl .klg-diario .hy-gr-tarjeta { background: #fff; border: 0; border-radius: 22px; padding: 30px 28px; min-height: 168px; gap: 0; }
html.kl .klg-diario .hy-gr-tarjeta h3 { font: 600 22px/1.2 "Archivo", sans-serif; letter-spacing: -.02em; color: #0F1518; }
html.kl .klg-diario .hy-gr-tarjeta p { font-size: 14px; line-height: 1.5; color: #6E6E73; }
html.kl .klg-sub { font: 500 14px/1.3 "IBM Plex Sans", sans-serif; color: #6E6E73; margin: 44px 0 12px; }
html.kl .hy-gr-grid.klg-resto { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 0 0 8px; }
html.kl .klg-resto .hy-gr-tarjeta { background: #fff; border: 0; border-radius: 14px; padding: 14px 18px; min-height: 0; gap: 0; }
html.kl .klg-resto .hy-gr-tarjeta h3 { font: 600 14.5px/1.3 "Archivo", sans-serif; letter-spacing: -.01em; }
html.kl .klg-resto .hy-gr-tarjeta p { font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html.kl a.hy-gr-tarjeta:hover { border: 0; box-shadow: 0 8px 24px rgba(15, 21, 24, .08); }
html.kl a.hy-gr-tarjeta:focus { border: 0; box-shadow: 0 8px 24px rgba(15, 21, 24, .08); }
html.kl a.hy-gr-tarjeta:focus-visible { border: 0; box-shadow: 0 8px 24px rgba(15, 21, 24, .08); }
html.kl .klg-pliegue { margin: 10px 0; }
html.kl .klg-pliegue > summary { font-size: 14px; }
html.kl .klg-pliegue > .hy-bloque, html.kl .klg-pliegue > #gr-tarjetas > .hy-bloque { border: 0; border-radius: 18px; background: #fff; box-shadow: none; }
html.kl .klg-oculto { display: none; }
html.kl .hy-bloque { border: 0; border-radius: 18px; }

/* ── Móvil y televisor ───────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  html.kl .klg-diario { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.kl .klsc-par { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  html.kl .page.wrap { padding-top: 24px; padding-bottom: 48px; }
  html.kl .klcm-cab .kl-num { font-size: 52px; }
  html.kl .klcm-lista { grid-template-columns: 1fr; }
  html.kl .klcm-sede { font-size: 19px; }
  html.kl .cm-card { padding: 18px 18px; }
  html.kl .klsc-card { padding: 24px 22px; border-radius: 18px; }
  html.kl .klsc-titulo { font-size: 32px; margin-top: 28px; }
  html.kl .klsc-nueva .sc-next .sc-btn.primary { width: 100%; justify-content: center; }
  html.kl .klg-diario { grid-template-columns: 1fr; gap: 12px; }
  html.kl .klg-diario .hy-gr-tarjeta { min-height: 0; padding: 22px; border-radius: 18px; }
  html.kl .ini-tarjeta { padding: 26px 22px; border-radius: 18px; }
  html.kl .ks-pista { padding: 6px 16px 0; justify-content: flex-start; }
  html.kl .sc-provider-home h1 { font-size: 34px; }
  html.kl .sc-summary { padding: 22px; }
}
@media (min-width: 1700px) {
  html.kl .wrap { max-width: 1320px; }
  html.kl .klcm-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html.kl .klcm-cab .kl-num { font-size: 88px; }
  html.kl .klsc-titulo { font-size: 48px; }
  html.kl #sc-main, html.kl .sc-nav { max-width: 1440px; }
  html.kl .ini-tarjeta h3 { font-size: 30px; }
  html.kl .ini-tarjeta p { font-size: 17px; }
  html.kl .klg-diario .hy-gr-tarjeta h3 { font-size: 26px; }
  html.kl .klg-diario .hy-gr-tarjeta p { font-size: 16px; }
}
html.kl .cm-tools label { display: flex; flex-direction: column; justify-content: flex-end; }
html.kl .klcm-cab { padding: 32px 40px; }
html.kl #hoja-de-ruta .cm-row { margin-bottom: -6px; }
html.kl .klsc-mas .sc-intents { margin-top: 20px; }
html.kl .klsc-mas .sc-panel.sc-linea { margin-bottom: 20px; }
html.kl .cm-card .cm-links a { justify-content: flex-start; }
html.kl .klg-resto + .kl-pliegue { margin-top: 28px; }

/* ═════════ Compatibilidad con televisores (Chromium 69): sin `gap` en flex ═════════ */
html.kl .ks-pista > * { margin: 0 0 4px 12px; }
html.kl .cm-tools > * { margin: 0 12px 12px 0; }
html.kl .klcm-sede small { margin-left: 12px; }
html.kl .klcm-mas > * { margin: 6px; }
html.kl .klcm-mas span { margin: 0 0 6px; }
html.kl .klg-diario .hy-gr-tarjeta > * + * { margin-top: 10px; }
html.kl .klg-resto .hy-gr-tarjeta > * + * { margin-top: 3px; }

/* 30-11-2026 (Manu): Inicio de Sourcing sin «Más»: todo a la vista debajo de las dos tarjetas, con el mismo ritmo.
   El titular grande de la bienvenida sobra (arriba ya dice «Abastecimiento»): queda solo el buscador. */
html.kl .klsc-abierto > .klsc-resto { margin-top: 28px; }
html.kl .klsc-abierto > .sc-welcome { display: block; margin-bottom: 0; }
html.kl .klsc-abierto > .sc-welcome > div > .sc-eyebrow,
html.kl .klsc-abierto > .sc-welcome > div > h1,
html.kl .klsc-abierto > .sc-welcome > div > p:not(.sc-eyebrow) { display: none; }
html.kl .klsc-abierto > .sc-welcome .sc-home-search { margin-top: 0; background: #fff; border-radius: 22px; padding: 26px 34px; }
