.fn-help{--help-blue:#0867ce;position:relative;z-index:1250}
.fn-help__launcher{position:absolute;top:10px;right:10px;z-index:3;width:38px;height:38px;margin:0;padding:0;display:grid;place-items:center;border:1px solid #d2dfec;border-radius:10px;background:rgba(255,255,255,.82);color:#55708d;box-shadow:0 3px 9px rgba(16,50,86,.07);opacity:0;pointer-events:none;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}
.fn-help__launcher span{display:grid;place-items:center;width:100%;height:100%;font:900 16px/1 inherit}
.fn-help__launcher:hover{border-color:#9fc5e8;background:#f3f9ff;color:var(--help-blue);box-shadow:0 5px 13px rgba(8,103,206,.11);transform:translateY(-1px)}
.fn-help__launcher:focus-visible{outline:3px solid rgba(8,103,206,.2);outline-offset:2px}
.fn-help-anchor{position:relative}
.fn-help-anchor>.fn-help__launcher{opacity:1;pointer-events:auto}
.private-page-header.fn-help-anchor{padding-right:56px}
.fn-admin-hero.fn-help-anchor{padding-right:56px}
.worker-page-heading.fn-help-anchor{padding-right:48px}
.public-header.fn-help-anchor{padding-right:max(64px,calc((100vw - 1320px)/2))}
.admin-topbar.fn-help-anchor,.worker-topbar.fn-help-anchor{padding-right:56px}
.login-card.fn-help-anchor>.fn-help__launcher{top:12px;right:12px}
.fn-help__dialog{width:min(760px,calc(100vw - 32px));max-height:min(820px,calc(100vh - 32px));padding:0;border:0;border-radius:22px;background:#fff;color:#172d49;box-shadow:0 30px 90px rgba(7,34,68,.35);overflow:hidden}
.fn-help__dialog::backdrop{background:rgba(12,35,65,.58);backdrop-filter:blur(3px)}
.fn-help__shell{display:flex;flex-direction:column;max-height:min(820px,calc(100vh - 32px))}
.fn-help__header{display:flex;align-items:center;gap:14px;padding:22px 24px;background:linear-gradient(125deg,#0759a5,#0879dc);color:#fff}
.fn-help__header>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
.fn-help__header small{font-size:11px;font-weight:800;letter-spacing:.12em;opacity:.78}
.fn-help__header strong{font-size:25px;line-height:1.15}
.fn-help__mark{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:rgba(255,255,255,.16);font-size:25px;font-weight:800}
.fn-help__header button{width:38px;height:38px;border:1px solid rgba(255,255,255,.28);border-radius:11px;background:rgba(255,255,255,.1);color:#fff;font-size:25px;cursor:pointer}
.fn-help__body{padding:24px;overflow:auto;overscroll-behavior:contain}
.fn-help__intro{margin:0 0 20px;padding:16px 18px;border-left:4px solid var(--help-blue);border-radius:0 12px 12px 0;background:#eef7ff;color:#324e6d;font-size:15px;line-height:1.55}
.fn-help__section{padding:18px 0;border-top:1px solid #e2ebf4}
.fn-help__section:first-of-type{border-top:0}
.fn-help__section h3{margin:0 0 10px;font-size:18px;color:#122d4d}
.fn-help__section p{margin:0;color:#526a84;line-height:1.55}
.fn-help__section ul{display:grid;gap:9px;margin:0;padding:0;list-style:none}
.fn-help__section li{position:relative;padding-left:22px;color:#405b77;line-height:1.45}
.fn-help__section li::before{content:"✓";position:absolute;left:0;top:0;color:#07875c;font-weight:900}
.fn-help__links{display:flex;flex-wrap:wrap;gap:9px;margin-top:8px}
.fn-help__links a{padding:8px 12px;border:1px solid #cfe0f2;border-radius:9px;background:#f7fbff;color:#0862b8;font-weight:700;text-decoration:none}
.fn-help__loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:220px;color:#607891}
.fn-help__loading i{width:28px;height:28px;border:3px solid #d7e8f7;border-top-color:var(--help-blue);border-radius:50%;animation:fn-help-spin .8s linear infinite}
.fn-help__empty{text-align:center;padding:55px 20px;color:#607891}
.fn-help__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid #dce8f3;background:#f8fbfe;color:#60758e;font-size:13px}
.fn-help__footer>div{display:flex;align-items:center;gap:9px}
.fn-help__feedback{padding:9px 12px;border:1px solid #cfe0f1;border-radius:9px;background:#fff;color:#42617f;font-weight:700;cursor:pointer}
.fn-help__feedback.is-sent{border-color:#8bd7b9;background:#eaf9f2;color:#087653}
.fn-help__feedback:disabled:not(.is-sent){opacity:.5;cursor:default}
.fn-help__footer [data-help-ask]{min-height:38px;padding:9px 14px;border:1px solid #0867ce;border-radius:9px;background:#0867ce;color:#fff;font:800 12px/1.1 inherit;box-shadow:0 7px 16px rgba(8,103,206,.18);cursor:pointer}
.fn-help__footer [data-help-ask]:hover{border-color:#0759a5;background:#0759a5;transform:translateY(-1px)}
@keyframes fn-help-spin{to{transform:rotate(360deg)}}
@media(max-width:680px){
 .fn-help__launcher{right:8px;width:38px;height:38px;border-radius:10px}
 .private-page-header.fn-help-anchor,.fn-admin-hero.fn-help-anchor{padding-right:54px}
 .worker-page-heading.fn-help-anchor{padding-right:44px}
 .public-header.fn-help-anchor{padding-right:54px}
 .fn-help__dialog{width:100vw;height:100dvh;max-height:none;border-radius:0}
 .fn-help__shell{height:100%;max-height:none}.fn-help__header{padding:17px 16px}.fn-help__header strong{font-size:21px}
 .fn-help__body{padding:18px 16px}.fn-help__footer{align-items:flex-start;flex-direction:column;padding:14px 16px}.fn-help__footer>div{width:100%}.fn-help__footer .btn{flex:1}
}
@media(prefers-reduced-motion:reduce){.fn-help__launcher,.fn-help__loading i{animation:none;transition:none}}

/* Guías operativas: buscador, índice y secciones con intención funcional. */
.fn-help__dialog{width:min(900px,calc(100vw - 32px))}
.fn-help__tools{padding:14px 24px 13px;display:grid;gap:11px;border-bottom:1px solid #dce8f3;background:#f7fbff}
.fn-help__tools[hidden]{display:none}
.fn-help__tools label{height:42px;padding:0 13px;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;border:1px solid #cbdced;border-radius:11px;background:#fff;color:#6a7f95}
.fn-help__tools label:focus-within{border-color:#0b67c8;box-shadow:0 0 0 3px rgba(11,103,200,.11)}
.fn-help__tools input{width:100%;height:38px;padding:0;border:0;outline:0;background:transparent;color:#173451;font:700 13px/1 inherit}
.fn-help__tools nav{display:flex;gap:7px;overflow:auto;scrollbar-width:thin}
.fn-help__tools nav button{flex:0 0 auto;padding:7px 10px;border:1px solid #d6e4f2;border-radius:999px;background:#fff;color:#3e607f;font:800 10px/1.1 inherit;cursor:pointer}
.fn-help__tools nav button:hover{border-color:#9ec8ee;color:#075fae;background:#eef7ff}
.fn-help__body{display:grid;gap:13px;background:#f3f7fb}
.fn-help__intro{margin:0;padding:17px 19px;border:1px solid #c9e2f7;border-left:5px solid var(--help-blue);border-radius:13px;background:#edf7ff;color:#294968;font-size:14px;font-weight:650}
.fn-help__overview{padding:2px 3px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#6b7f94;font-size:11px}
.fn-help__overview strong{color:#183754;font-size:12px}
.fn-help__section,.fn-help__section:first-of-type{position:relative;margin:0;padding:18px;border:1px solid #dbe6f1;border-top:1px solid #dbe6f1;border-radius:14px;background:#fff;scroll-margin-top:14px}
.fn-help__section>header{margin:0 0 13px;display:grid;grid-template-columns:34px minmax(0,1fr);gap:11px;align-items:center}
.fn-help__section>header>span{width:34px;height:34px;display:grid;place-items:center;color:#0b67c8;border-radius:10px;background:#e8f3fd;font-size:10px;font-weight:950}
.fn-help__section>header div{min-width:0;display:grid;gap:3px}
.fn-help__section>header small{color:#72869b;font-size:8px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.fn-help__section>header h3{margin:0;color:#173451;font-size:16px;line-height:1.2}
.fn-help__section>p{margin:0 0 12px;color:#526a84;font-size:12px;line-height:1.58}
.fn-help__section ul,.fn-help__section ol{margin:0;padding:0;display:grid;gap:8px;list-style:none;counter-reset:help-step}
.fn-help__section li{min-width:0;padding:10px 12px 10px 37px;border:1px solid #e1e9f1;border-radius:10px;background:#f8fafc;color:#405b77;font-size:12px;line-height:1.5}
.fn-help__section li::before{left:13px;top:11px}
.fn-help__section li strong,.fn-help__section li span{display:block}
.fn-help__section li strong{margin-bottom:2px;color:#1f405f;font-size:11px}
.fn-help__section ol li{counter-increment:help-step}
.fn-help__section ol li::before{content:counter(help-step);width:18px;height:18px;display:grid;place-items:center;top:10px;color:#fff;border-radius:6px;background:#0b67c8;font-size:9px}
.fn-help__section--concept{border-color:#a9d3f5;background:linear-gradient(135deg,#f4faff 0%,#fff 72%)}
.fn-help__section--concept>header>span{color:#fff;background:#0b67c8;box-shadow:0 5px 12px rgba(11,103,200,.18)}
.fn-help__section--concept>header small{color:#0b67c8}
.fn-help__section--concept li{border-color:#d4e8f8;background:#fff}
.fn-help__section--concept li::before{color:#0b67c8}
.fn-help__section--warning{border-color:#f0d3a9;background:#fffdfa}
.fn-help__section--warning>header>span{color:#a75b08;background:#fff0dc}
.fn-help__section--warning li::before{color:#b9680c}
.fn-help__section--impact{border-color:#bfe2d3;background:#fbfffd}
.fn-help__section--impact>header>span{color:#087453;background:#ddf5eb}
.fn-help__section--calculation{border-color:#cddcf5;background:#fbfdff}
.fn-help__section--calculation>header>span{color:#315fa9;background:#eaf1ff}
.fn-help__section--troubleshooting{border-color:#f0c7c4;background:#fffdfd}
.fn-help__section--troubleshooting>header>span{color:#b43a34;background:#fde9e7}
.fn-help__section--links{background:#f8fbff}
.fn-help__section--links>header>span{font-size:16px}
.fn-help__links{margin-top:0}
.fn-help__links a{min-height:36px;display:inline-flex;align-items:center}
.fn-help__no-results{padding:44px 20px;text-align:center;color:#637991}
.fn-help__no-results strong{display:block;color:#1d3b59;font-size:17px}
.fn-help__no-results p{margin:7px 0 0}
.fn-help__footer>span{display:grid;gap:2px}
.fn-help__footer>span strong{color:#294762}
@media(max-width:680px){
 .fn-help__tools{padding:12px 16px}
 .fn-help__body{padding:15px 13px}
 .fn-help__overview{align-items:flex-start;flex-direction:column;gap:2px}
 .fn-help__section{padding:15px}
 .fn-help__section li{padding-right:10px}
}
