/* Centro de ayuda AFXC */
body.help { min-height: 100vh; }
.hwrap { max-width: var(--maxw); margin-inline: auto; padding: 24px var(--gutter) 0; }
.hbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { color: var(--fg); font-weight: 600; }
.hsearch { display: inline-flex; align-items: center; gap: 10px; min-width: min(280px, 100%); padding: 10px 12px 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; box-shadow: var(--shadow); transition: border-color .2s; }
.hsearch:hover, .bigsearch:hover { border-color: var(--blue); }
.hsearch svg, .bigsearch svg, .pal-in svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; flex: none; }
.hsearch span { flex: 1; text-align: left; }
kbd { font: inherit; font-size: 11.5px; font-weight: 650; padding: 3px 7px; border-radius: 7px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); }
.hgrid { display: grid; grid-template-columns: 270px minmax(0, 1fr) 220px; gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.hgrid.nt { grid-template-columns: 270px minmax(0, 1fr); }
.hside { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; padding-bottom: 20px; }
.mside > summary { display: none; }
@media (min-width: 861px) { .mside::details-content { content-visibility: visible; display: block; } }
.side { display: grid; gap: 4px; }
.side-home, .side summary { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 650; color: var(--fg); text-decoration: none; cursor: pointer; list-style: none; }
.side summary::-webkit-details-marker { display: none; }
.side summary::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); }
.side details[open] > summary::after { transform: rotate(225deg); }
.side-home:hover, .side summary:hover, .side-home.on { background: var(--soft); }
.side-home.on { color: var(--blue); }
.ci { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--blue); flex: none; }
.ci svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side ul { list-style: none; margin: 2px 0 6px 22px; padding: 0 0 0 14px; border-left: 1px solid var(--line); display: grid; gap: 1px; }
.side ul a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 14px; color: var(--muted); text-decoration: none; line-height: 1.35; }
.side ul a:hover { color: var(--fg); background: var(--soft); }
.side ul a.on { color: var(--blue); background: var(--soft); font-weight: 650; }
.art { min-width: 0; padding-bottom: 48px; }
.art h1 { font-size: clamp(32px, 4.4vw, 52px); margin-top: 14px; }
.art .lead { margin-top: 14px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 62ch; }
.prose { margin-top: 28px; max-width: 70ch; }
.prose h2 { font-size: 24px; margin: 34px 0 10px; scroll-margin-top: 96px; }
.prose p, .prose li { color: var(--fg); opacity: .88; }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { margin: 12px 0; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.prose strong { font-weight: 700; color: var(--fg); opacity: 1; }
.prose blockquote { margin: 28px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); border-left: 3px solid var(--blue); }
.prose blockquote p { margin: 0; font-size: 14px; color: var(--muted); opacity: 1; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.upd { margin-top: 24px; font-size: 13px; color: var(--muted); }
.toc { position: sticky; top: 92px; font-size: 13.5px; }
.toc p { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--fg); }
.toc a.on { color: var(--blue); border-left-color: var(--blue); font-weight: 650; }
.fb { margin-top: 36px; padding: 20px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 70ch; }
.fb-q { font-weight: 700; margin: 0; }
.fb-b { display: flex; gap: 10px; margin-top: 12px; }
.fb-b button { padding: 9px 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); color: var(--fg); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; transition: border-color .2s, background .2s; }
.fb-b button:hover { border-color: var(--blue); }
.fb-ok, .fb-no { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }
.fb-no a { color: var(--blue); font-weight: 600; }
.rel { margin-top: 36px; max-width: 70ch; }
.rel h2 { font-size: 18px; margin-bottom: 12px; }
.rel ul, .list, .pop { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rel a, .list a { display: grid; gap: 2px; padding: 15px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--fg); transition: border-color .2s, transform .25s var(--ease); }
.rel a:hover, .list a:hover { border-color: var(--blue); transform: translateY(-1px); }
.rel a span, .list a span { color: var(--muted); font-size: 14px; }
.list { margin-top: 28px; max-width: 70ch; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; max-width: 70ch; }
.pn a { display: grid; gap: 2px; padding: 15px 18px; border-radius: 18px; border: 1px solid var(--line); text-decoration: none; color: var(--fg); transition: border-color .2s; }
.pn a:hover { border-color: var(--blue); }
.pn small { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.pn .next { text-align: right; grid-column: 2; }
.pn .prev { grid-column: 1; }
/* Inicio */
.hhero { padding: clamp(36px, 6vw, 84px) var(--gutter) 8px; text-align: center; display: grid; justify-items: center; }
.hhero h1 { font-size: clamp(38px, 6vw, 72px); margin-top: 16px; }
.hhero .lead { margin-top: 16px; color: var(--muted); font-size: clamp(16px, 1.6vw, 20px); }
.bigsearch { margin-top: 28px; width: min(640px, 100%); display: flex; align-items: center; gap: 12px; padding: 17px 18px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: inherit; font-size: 16px; cursor: pointer; box-shadow: var(--shadow); transition: border-color .2s; }
.bigsearch span { flex: 1; text-align: left; }
.hsec { padding: clamp(24px, 4vw, 44px) var(--gutter) 0; }
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.cats a { display: grid; gap: 6px; align-content: start; height: 100%; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--fg); transition: transform .3s var(--ease), border-color .2s; }
.cats a:hover { transform: translateY(-3px); border-color: var(--blue); }
.cats .ci { margin-bottom: 6px; width: 40px; height: 40px; border-radius: 13px; }
.cats b { font-size: 18px; letter-spacing: -.01em; }
.cats a > span:not(.ci) { color: var(--muted); font-size: 14.5px; }
.cats small { color: var(--blue); font-weight: 650; font-size: 13px; margin-top: 4px; }
.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 72px; }
.two h2 { font-size: 24px; margin-bottom: 14px; }
.pop a { display: flex; justify-content: space-between; gap: 12px; padding: 15px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--fg); font-weight: 650; transition: border-color .2s; }
.pop a:hover { border-color: var(--blue); }
.pop a span { color: var(--muted); font-weight: 500; font-size: 13.5px; white-space: nowrap; }
.hcontact { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hcontact p { color: var(--muted); margin: 10px 0 0; }
.hcontact .btn { word-break: break-all; }
.hcontact .mut { font-size: 14px; }
.hcontact .mut a { color: var(--blue); font-weight: 600; }
/* Paleta de búsqueda */
.pal { position: fixed; inset: 0; z-index: 200; display: grid; justify-items: center; align-items: start; padding: 12vh var(--gutter) 0; }
.pal[hidden] { display: none; }
.pal-bg { position: absolute; inset: 0; background: rgba(5,11,22,.55); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.pal-box { position: relative; width: min(640px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 80px rgba(5,11,22,.45); overflow: hidden; animation: palin .25s var(--ease); }
@keyframes palin { from { opacity: 0; transform: translateY(-8px) scale(.985); } }
.pal-in { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.pal-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--fg); font: inherit; font-size: 17px; }
.pal-x { border: 1px solid var(--line); background: var(--soft); color: var(--muted); border-radius: 8px; font: inherit; font-size: 11.5px; font-weight: 650; padding: 4px 8px; cursor: pointer; }
.pal-list { list-style: none; margin: 0; padding: 8px; max-height: min(52vh, 420px); overflow: auto; }
.pal-list a { display: grid; gap: 2px; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: var(--fg); }
.pal-list a[aria-selected="true"], .pal-list a:hover { background: var(--soft); }
.pal-list b { font-size: 15px; }
.pal-list small { color: var(--blue); font-weight: 650; font-size: 12px; }
.pal-list span { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-list mark { background: transparent; color: var(--blue); font-weight: 700; }
.pal-empty { margin: 0; padding: 22px; color: var(--muted); font-size: 14.5px; text-align: center; }
.pal-empty a { color: var(--blue); font-weight: 600; }
@media (max-width: 1100px) {
  .hgrid, .hgrid.nt { grid-template-columns: 240px minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 860px) {
  .hgrid, .hgrid.nt { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hside { position: static; max-height: none; overflow: visible; padding: 0; }
  .mside { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
  .mside > summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; font-weight: 700; cursor: pointer; list-style: none; }
  .mside > summary::-webkit-details-marker { display: none; }
  .mside > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
  .mside[open] > summary::after { transform: rotate(225deg); }
  .mside .side { padding: 4px 10px 12px; }
  .two { grid-template-columns: 1fr; }
  .pn { grid-template-columns: 1fr; }
  .pn .next, .pn .prev { grid-column: 1; text-align: left; }
  .hsearch { width: 100%; }
  .pal { padding-top: 8vh; }
}
@media (prefers-reduced-motion: reduce) { .pal-box { animation: none; } .cats a, .rel a, .list a { transition: none; } }
.pal-in input::-webkit-search-cancel-button { display: none; }
@media (max-width: 860px) { kbd { display: none; } .bigsearch { padding: 15px 16px; font-size: 15px; } .bigsearch span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
