/* ==========================================================================
   Organigrama · UX Designer Claude · 15/11/2026
   1) Jerarquía del Chief con sus dos juniors (Coordinadora en Codex y Optimizador en Claude) e insignia de
      plataforma. Aplica en todas partes, porque es estructura.
   2) Paleta azul medianoche SOLO dentro del Admin (body.is-embed). La vista pública conserva sus colores.
   Se carga después de organigrama-web.css.
   ========================================================================== */

/* 1. Jerarquía e insignias */
#nocaos-org-web .ow-ai__juniors { display: grid; gap: 8px; min-width: 0; }
#nocaos-org-web .ow-plat {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 9px 3px 6px;
  border: 1px solid #D5DBE5; border-radius: 999px; background: #FFFFFF; color: #2E3A4D;
  font-size: 12px; font-weight: 700; line-height: 1.3;
}
#nocaos-org-web .ow-plat img { display: block; width: 16px; height: 16px; object-fit: contain; }
#nocaos-org-web .ow-agent--junior { position: relative; }

/* 2. Paleta del Admin (organigrama incrustado) */
body.is-embed { --ow-ink: #0B1220; }
body.is-embed #nocaos-org-web .ow-ai { border-color: #14284B; background: #F2F5FA; }
body.is-embed #nocaos-org-web .ow-agent { border-color: #D5DBE5; }
body.is-embed #nocaos-org-web .ow-ai__link, body.is-embed #nocaos-org-web .ow-ai__note { color: #14284B; }
@media (min-width: 900px) { body.is-embed #nocaos-org-web .ow-ai__link span { background: #F2F5FA; } }

/* Generado por gen_embed.py: verdes de scale-layout, organigrama-panel, organigrama-web y el CSS interno de
   index.html, repetidos con body.is-embed. Verde oscuro -> #14284B; el resto, azul con la misma luminancia. */
/* desde scale-layout.css */
body.is-embed #panel-escala { --scale-green: #14284B; --scale-soft: #F2F5FA; }
body.is-embed #panel-escala .scale-nav { box-shadow: 0 4px 15px #14284B08; }
body.is-embed #panel-escala .scale-nav a { color: #475265; }
body.is-embed #panel-escala .scale-nav a:hover, body.is-embed #panel-escala .scale-nav a:focus-visible { background: #E7ECF6; color: #14284B; }
body.is-embed #panel-escala .scale-card { box-shadow: 0 4px 18px #14284B05; }
body.is-embed #panel-escala .scale-card h3 { color: #14284B; }
body.is-embed #panel-escala .scale-card p { color: #3E4858; }
body.is-embed #panel-escala .scale-card:first-child { background: linear-gradient(120deg,#EEF2F8,#f7fbf8); }
body.is-embed #panel-escala .scale-card:first-child h2 { color: #14284B; }
body.is-embed #panel-escala .scale-card:first-child .scale-note { color: #5E6C83!important; }
body.is-embed #panel-escala .scale-card:nth-child(2) { border-top: 4px solid #6088CF; }
body.is-embed #panel-escala .scale-card:nth-child(4) { border-left: 4px solid #6088CF; background: #F7F9FC; }
body.is-embed #panel-escala .scale-card:nth-child(4) p { color: #14284B; }
body.is-embed #panel-escala .scale-phase>summary { color: #444F63; }
body.is-embed #panel-escala .scale-phase>summary::before { border: 1px solid #D6DBE3; color: #14284B; }
body.is-embed #panel-escala .scale-phase[data-phase='1']>summary { background: #EEF2F8; color: #14284B; }
body.is-embed #panel-escala summary:focus-visible { outline: 3px solid #819DCF; }
body.is-embed #panel-escala .scale-project>summary { color: #14284B; }
body.is-embed #panel-escala .scale-project>summary::after { color: #677895; }
body.is-embed #panel-escala .scale-project>summary strong { color: #14284B; }
body.is-embed #panel-escala .scale-project>summary em { color: #667080; }
body.is-embed #panel-escala li { color: #495363; }
body.is-embed #panel-escala li::marker { color: #14284B; }
/* desde organigrama-panel.css */
body.is-embed { --teal: #14284B; --mint: #EFF3F9; --oc-brand: #8EB1EF; --oc-focus: #14284B; }
body.is-embed .card { box-shadow: 0 1px 2px rgba(20, 40, 75, .05); }
body.is-embed .agent-reports { background: #F4F6FB; color: #14284B; }
body.is-embed .owner { color: #14284B; }
/* desde organigrama-web.css */
body.is-embed #nocaos-org-web { --ow-green: #14284B; --ow-green-d: #14284B; --ow-brand: #8EB1EF; --ow-mint: #EFF3F9; --ow-mint-2: #F7F9FC; --ow-ai: #14284B; box-shadow: 0 1px 2px rgba(20, 40, 75, .05); }
body.is-embed #nocaos-org-web .ow-junta { border: 1px solid #DADFE6; }
body.is-embed #nocaos-org-web .ow-exec { box-shadow: 0 1px 2px rgba(20, 40, 75, .06); }
body.is-embed #nocaos-org-web .ow-agent { border: 1px solid #DADFE6; }
body.is-embed #nocaos-org-web .ow-div--7 { --acc: #14284B; }
body.is-embed #nocaos-org-web .ow-div--1 { --acc: #14284B; }
body.is-embed #nocaos-org-web .ow-div--4 { --acc: #4E86E6; }
body.is-embed #nocaos-org-web .ow-div { box-shadow: 0 1px 2px rgba(20, 40, 75, .05); }
body.is-embed #nocaos-org-web .ow-hfa { border: 1px solid #C0C5CF; }
body.is-embed #nocaos-org-web .ow-chip { border: 1px solid #DADFE6; }
body.is-embed #nocaos-org-web .ow-vfp { border: 1px solid #D1DBEE; }
body.is-embed #nocaos-org-web.is-human .ow-co { border-color: #C2CFE8; }
body.is-embed #nocaos-org-web.is-human .ow-chip--co { border-color: #C2CFE8; }
/* desde index.html */
body.is-embed { --teal: #6797E9; --mint: #F2F5FB; }
body.is-embed button:hover { color: #14284B; }
body.is-embed .agent-kicker { color: #14284B; }
body.is-embed .agent-reports { color: #485367; }
