/* Home motion pass: the assistant inherits the mascot's float; guides use quiet concept tokens. */
:root{--home-unified-background:linear-gradient(135deg,#edf6f1 0%,#f7faf8 100%)}
html[data-theme="dark"]{--home-unified-background:linear-gradient(135deg,#111a15 0%,#0e1612 100%)}
#main-content{background:var(--home-unified-background)}
:root body.sc-polish #main-content>*{background:transparent!important}
:root body.sc-polish #main-content>#guias{background:transparent!important}
.home-hero-kicker,
.home-legal-badges{display:none!important}

/* One FAQ outline, with quiet separators between independent questions. */
:root body.sc-polish #main-content .faq-list{box-shadow:none!important}
:root body.sc-polish #main-content .faq-list details{
  border:0!important;border-radius:0!important;box-shadow:none!important;
  background:transparent!important;
}
:root body.sc-polish #main-content .faq-list details+details{
  border-top:1px solid var(--sc-line)!important;
}
:root body.sc-polish #main-content .faq-list details>summary{
  border:0!important;border-radius:0!important;box-shadow:none!important;
}

/* Keep source metadata compact and aligned with the right edge. */
:root body.sc-polish #fuentes .sources-head{
  position:relative;width:100%!important;max-width:none!important;
}
:root body.sc-polish #fuentes .sources-head>div{width:auto;max-width:700px;padding-right:0}
:root body.sc-polish #fuentes .source-kicker-wrap{width:auto;justify-content:flex-start}
:root body.sc-polish #fuentes .source-updated-pill{
  position:absolute;top:0;right:0;margin:0;flex-shrink:0;
  border:0!important;background:transparent!important;box-shadow:none!important;
  padding:0!important;border-radius:0!important;
}
@media(max-width:760px){
  :root body.sc-polish #fuentes .source-kicker-wrap{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;width:100%;}
  :root body.sc-polish #fuentes .source-kicker{flex:1 1 100%;}
  :root body.sc-polish #fuentes .source-updated-pill{position:static!important;display:flex;width:max-content;max-width:100%;margin:0 0 0 auto!important;white-space:nowrap;line-height:1.25;text-align:right;}
}
:root body.sc-polish #fuentes .source-card-top{
  width:100%;justify-content:flex-end!important;
}
:root body.sc-polish #fuentes .source-card :is(.official-badge,.method-badge){
  font-size:9px!important;line-height:1.25!important;padding:3px 7px!important;
  max-width:none!important;white-space:nowrap!important;letter-spacing:.02em!important;
}
html[data-theme="dark"] body.sc-polish #fuentes .source-card:hover{
  background:transparent!important;
  border-color:transparent transparent var(--sc-green)!important;
  box-shadow:none!important;
}

/* Soft glass only on the navigation bar; content remains fully opaque. */
:root body.sc-polish .topbar,
:root body.sc-polish .topbar.sc-scrolled{
  background:rgba(247,250,248,.88)!important;
  backdrop-filter:blur(16px) saturate(1.08)!important;
  -webkit-backdrop-filter:blur(16px) saturate(1.08)!important;
}
html[data-theme="dark"] body.sc-polish .topbar,
html[data-theme="dark"] body.sc-polish .topbar.sc-scrolled{
  background:rgba(15,21,18,.86)!important;
}

#chatLaunch.chat-launch:not(.chat-open-hidden):not(:hover):not(:focus-visible){
  animation:none!important;
  transform-origin:center bottom!important;
  will-change:auto;
  box-shadow:0 12px 30px rgba(4,86,62,.28)!important;
}
#chatLaunch.chat-launch:not(.chat-open-hidden):not(:hover):not(:focus-visible) .chat-launch-icon{
  animation:none!important;
  transform-origin:center!important;
}

.guides-section{position:relative;isolation:isolate;overflow:hidden}
.guides-section>.wrap{position:relative;z-index:2}
.guides-ambient{position:absolute;z-index:1;inset:0;overflow:hidden;pointer-events:none;mask-image:linear-gradient(to bottom,transparent 0,#000 13%,#000 87%,transparent 100%)}
.concept-token{position:absolute;top:-74px;display:grid;place-items:center;width:70px;height:42px;border:1px solid color-mix(in srgb,var(--accent) 42%,transparent);background:color-mix(in srgb,var(--accent2) 76%,transparent);color:var(--accent);clip-path:polygon(0 0,88% 0,100% 22%,100% 100%,12% 100%,0 78%);font:800 10px/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em;opacity:.24;box-shadow:0 4px 12px rgba(18,92,64,.06);will-change:transform}
.concept-token::before,.concept-token::after{content:"";position:absolute;left:11px;right:11px;height:1px;background:currentColor;opacity:.26}
.concept-token::before{top:9px}.concept-token::after{bottom:9px}
.concept-token-percent{left:4%}
.concept-token-sac{left:23%;width:64px;height:38px;opacity:.25}
.concept-token-cv{left:52%;width:58px;height:46px;opacity:.25}
.concept-token-neto{left:76%;width:82px;height:40px;opacity:.25}
.concept-token-check{left:93%;width:46px;height:46px;border-radius:50%;clip-path:none;opacity:.25}
.concept-token-check::before,.concept-token-check::after{display:none}
@keyframes scConceptFall{
  0%{transform:translate3d(0,-70px,0) rotate(-9deg)}
  35%{transform:translate3d(24px,230px,0) rotate(3deg)}
  70%{transform:translate3d(-15px,510px,0) rotate(-4deg)}
  100%{transform:translate3d(18px,760px,0) rotate(7deg)}
}
@keyframes scConceptFallAlt{
  0%{transform:translate3d(0,-85px,0) rotate(8deg)}
  42%{transform:translate3d(-28px,270px,0) rotate(-4deg)}
  76%{transform:translate3d(18px,545px,0) rotate(5deg)}
  100%{transform:translate3d(-10px,780px,0) rotate(-7deg)}
}
html[data-theme="dark"] .concept-token{background:rgba(37,110,82,.18);border-color:rgba(99,221,175,.28);color:#6eddb3;opacity:.22}
@media(max-width:768px){
  #chatLaunch.chat-launch:not(.chat-open-hidden):not(:hover):not(:focus-visible){animation:none!important;box-shadow:0 10px 24px rgba(4,86,62,.26)!important}
  .concept-token{display:none!important;animation:none!important}
  .guides-ambient{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  #chatLaunch.chat-launch:not(.chat-open-hidden):not(:hover):not(:focus-visible),#chatLaunch.chat-launch:not(.chat-open-hidden):not(:hover):not(:focus-visible) .chat-launch-icon,.concept-token{animation:none!important}
  .concept-token{display:none!important}
}
