
/* CONCRETOS Genesis P204 — deterministic runtime class + theme control authority */
.p19-icon[data-s16-theme-toggle]{
  position:relative;
  display:inline-grid!important;
  place-items:center!important;
  inline-size:52px!important;
  block-size:52px!important;
  min-inline-size:52px!important;
  min-block-size:52px!important;
  padding:0!important;
  overflow:hidden;
}
.p19-icon[data-s16-theme-toggle] [data-theme-icon]{display:none!important}
.p204-theme-glyph{
  position:relative;
  display:block;
  inline-size:22px;
  block-size:22px;
  color:#17302d;
}
.p204-theme-glyph::before,
.p204-theme-glyph::after{
  content:"";
  position:absolute;
  inset:0;
  box-sizing:border-box;
}
.p204-theme-glyph::before{
  border:2px solid currentColor;
  border-radius:50%;
}
.p204-theme-glyph::after{
  background:currentColor;
  border-radius:50%;
  transform:translate(7px,-5px) scale(.84);
  box-shadow:-8px 7px 0 2px var(--p204-toggle-bg,#fff);
}
html.dark .p204-theme-glyph,
html[data-theme="dark"] .p204-theme-glyph{color:#e8cf72}
html.dark .p204-theme-glyph::after,
html[data-theme="dark"] .p204-theme-glyph::after{
  transform:scale(.42);
  box-shadow:0 -10px 0 -3px currentColor,0 10px 0 -3px currentColor,10px 0 0 -3px currentColor,-10px 0 0 -3px currentColor,7px 7px 0 -3px currentColor,-7px -7px 0 -3px currentColor,7px -7px 0 -3px currentColor,-7px 7px 0 -3px currentColor;
}
.p19-icon[data-s16-theme-toggle]{--p204-toggle-bg:#fff}
html.dark .p19-icon[data-s16-theme-toggle],html[data-theme="dark"] .p19-icon[data-s16-theme-toggle]{--p204-toggle-bg:#102522}
.p19-icon[data-s16-theme-toggle]:focus-visible{outline:3px solid #c8a947!important;outline-offset:3px}
/* Engineering first-paint shell: no late class-dependent geometry shift. */
body.p28-engineering main,
body.p28-engineering .p19-site-header,
body.p28-engineering .s16-authority-rail,
body.p28-engineering .s16-authority-rail-spacer{
  opacity:1!important;
  visibility:visible!important;
}
body.p28-engineering .p19-site-header,
body.p28-engineering .s16-authority-rail,
body.p28-engineering main{animation:none!important}
