/* v12.13 Alicia runtime integration — namespaced local component */
[data-alicia-field="composed-field"]{
  --af-graphite:#39434d;
  --af-platinum:#bdc8ce;
  --af-ivory:#f3f0e8;
  --af-silver-soft:#7f8d98;
  --af-gold-touch:#d3b06f;
  --af-gold-deep:#8f6a32;
  --af-shadow:#02060b;
  position:relative;
  min-width:0;
  isolation:isolate;
}
html[data-theme="light"] [data-alicia-field="composed-field"]{
  --af-graphite:#6a747c;
  --af-platinum:#667785;
  --af-ivory:#fffdf6;
  --af-silver-soft:#9aa3a7;
  --af-gold-touch:#a47c3c;
  --af-gold-deep:#705127;
  --af-shadow:#9da4a6;
}
[data-alicia-motion-mount]{display:block;position:relative;min-width:0;isolation:isolate}
[data-alicia-motion-mount]::before{
  content:"";position:absolute;inset:14% 9%;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at center,color-mix(in srgb,var(--af-platinum) 5%,transparent),transparent 69%);
  filter:blur(28px);opacity:.55;
}
.af-field{display:block;width:100%;height:auto;aspect-ratio:3/2;overflow:visible}
.af-stroke{fill:none;stroke-linecap:round;stroke-linejoin:round}
.af-primary-shadow{fill:var(--af-shadow);stroke:none;opacity:.3;transform:translateY(1.2px)}
.af-ribbon-front{stroke:none;opacity:.97}
.af-ribbon-back{stroke:none;opacity:0}
.af-primary-body{stroke-width:1.05}
.af-primary-specular{stroke-width:1.05;opacity:.78;stroke-dasharray:88 620}
.af-cross-over-surface{stroke:none;opacity:0}
.af-cross-over-line{stroke-width:1.2;opacity:0}
[data-af-lang="he"] .af-primary-shadow{filter:url(#af-contact-shadow-he)}
[data-af-lang="he"] .af-ribbon-front,[data-af-lang="he"] .af-cross-over-surface{fill:url(#af-ribbon-front-he)}
[data-af-lang="he"] .af-ribbon-back{fill:url(#af-ribbon-back-he)}
[data-af-lang="he"] .af-primary-body{stroke:url(#af-thread-material-he)}
[data-af-lang="he"] .af-primary-specular,[data-af-lang="he"] .af-cross-over-line{stroke:url(#af-specular-material-he)}
[data-af-lang="en"] .af-primary-shadow{filter:url(#af-contact-shadow-en)}
[data-af-lang="en"] .af-ribbon-front,[data-af-lang="en"] .af-cross-over-surface{fill:url(#af-ribbon-front-en)}
[data-af-lang="en"] .af-ribbon-back{fill:url(#af-ribbon-back-en)}
[data-af-lang="en"] .af-primary-body{stroke:url(#af-thread-material-en)}
[data-af-lang="en"] .af-primary-specular,[data-af-lang="en"] .af-cross-over-line{stroke:url(#af-specular-material-en)}
.af-residual{stroke:var(--af-silver-soft);stroke-width:.62;opacity:0}
.af-notch{stroke:var(--af-silver-soft);stroke-width:.78;opacity:.56}
.af-contact{stroke:var(--af-platinum);stroke-width:.72;opacity:0}
.af-field-frame{fill:none;stroke:var(--theme-line,var(--gold-border));stroke-width:.55;opacity:.52}
[data-alicia-motion-toggle]{
  border:1px solid var(--theme-line,var(--gold-border));border-radius:999px;background:var(--theme-panel,var(--surface-1));
  color:var(--text-mid);padding:7px 12px;font:inherit;cursor:pointer;
}
[data-alicia-motion-toggle][hidden]{display:none!important}
@media(max-width:820px){
  [data-alicia-motion-mount]{margin-top:18px}
  [data-alicia-motion-mount]::before{filter:blur(18px)}
  [data-alicia-field][data-af-lang] .af-primary-shadow{filter:none;opacity:.22}
}
@media(prefers-reduced-motion:reduce){
  [data-alicia-motion-mount]::before{display:none}
  [data-alicia-motion-toggle]{display:none!important}
}
@media(forced-colors:active){
  [data-alicia-motion-mount]::before,[data-alicia-motion-toggle],.af-ribbon-back,.af-cross-over-surface,.af-cross-over-line,.af-primary-shadow,.af-residual,.af-contact{display:none!important}
  [data-alicia-field][data-af-lang] :is(.af-field-frame,.af-primary-body,.af-primary-specular,.af-notch){stroke:CanvasText}
  [data-alicia-field][data-af-lang] .af-ribbon-front{fill:CanvasText}
  [data-alicia-field][data-af-lang] .af-primary-body{filter:none}
}

/* v12.13 fixed navigation/status opacity hardening */
html[data-theme="light"] .route:not([hidden]) > nav,
html[data-theme="light"] .route:not([hidden]) > nav.scrolled{background-color:#FFF9ED;backdrop-filter:none}
html[data-theme="dark"] .route:not([hidden]) > nav,
html[data-theme="dark"] .route:not([hidden]) > nav.scrolled{background-color:#040812;backdrop-filter:none}
@media(max-width:880px){
  html[data-theme="light"] .route:not([hidden]) .nav-links{background-color:#FCFAF5}
  html[data-theme="dark"] .route:not([hidden]) .nav-links{background-color:#09111D}
}
