/* Ayuda de EA Proyectos: paleta de referencia azul y ámbar. */
#eap-root .eaph-label{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:22px}
#eap-root .eaph-label label{margin:0;flex:1;font:inherit;color:inherit}
#eap-root .eaph-inline{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;min-width:24px;height:24px;padding:0;margin:0 0 0 4px;border:1px solid #bfcedd;border-radius:50%;background:#fff;color:#034078;vertical-align:middle;font:700 13px/1 system-ui;cursor:pointer;box-shadow:none}
#eap-root .eaph-inline::before{content:'?'}
#eap-root .eaph-inline:hover{background:#fff5df;border-color:#f59e0b}
#eap-root .eaph-inline:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
#eap-root .eaph-section-help{display:inline-flex;gap:6px;align-items:center;margin:0 0 6px}
#eaph-dialog,#eaph-tour{box-sizing:border-box;color:#172b43;font:15px/1.55 system-ui,-apple-system,sans-serif;text-align:left;letter-spacing:normal}
#eaph-dialog *,#eaph-tour *{box-sizing:border-box}
body.eaph-modal-open{overflow:hidden}
#eaph-dialog{width:min(1080px,94vw);height:min(820px,90dvh);max-width:94vw;max-height:90dvh;padding:0;margin:auto;border:1px solid #bfcedd;border-radius:14px;background:#fff;box-shadow:0 18px 60px #0d213740;overflow:hidden}
#eaph-dialog[open]{display:flex;flex-direction:column}
#eaph-dialog::backdrop{background:rgba(13,33,55,.48)}
#eaph-dialog .eaph-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;background:#034078;color:#fff;flex:none}
#eaph-dialog .eaph-header p{margin:0 0 3px;font-size:11px;letter-spacing:.1em;font-weight:700;color:#dce9f8}
#eaph-dialog h1{font-size:24px;line-height:1.2;margin:0;color:#fff;font-weight:750}
#eaph-dialog button,#eaph-tour button{font:600 13px/1.3 system-ui;cursor:pointer;border-radius:6px;padding:9px 12px;border:1px solid #c9d6e4;background:#fff;color:#034078;box-shadow:none;text-transform:none;letter-spacing:normal;white-space:normal}
#eaph-dialog button:hover,#eaph-tour button:hover{background:#eef4fa}
#eaph-dialog button:focus-visible,#eaph-dialog input:focus-visible,#eaph-tour button:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}
#eaph-dialog #eaph-close{flex:none;background:transparent;border-color:#9eb9d4;color:#fff;min-height:38px}
#eaph-dialog #eaph-close:hover{background:#18538b}
#eaph-dialog .eaph-tools{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 22px;border-bottom:1px solid #dbe3ec;flex:none}
#eaph-dialog .eaph-search-wrap{flex:1;max-width:530px;min-width:0}
#eaph-dialog .eaph-search-wrap label{display:block;font-weight:700;font-size:12px;margin:0 0 4px}
#eaph-dialog .eaph-search-wrap>div{display:flex;gap:5px}
#eaph-dialog input{width:100%;min-width:0;background:#fff;color:#172b43;border:1px solid #a7bdd3;border-radius:6px;padding:9px 11px;margin:0;font:14px/1.4 system-ui}
#eaph-dialog #eaph-count{font-size:11px;color:#51637a;display:block;margin-top:4px}
#eaph-dialog .eaph-tool-buttons{display:flex;gap:7px;flex-wrap:wrap}
#eaph-dialog #eaph-tour-start,#eaph-tour [data-tour-next]{background:#f59e0b;border-color:#f59e0b;color:#0d2137}
#eaph-dialog .eaph-layout{display:grid;grid-template-columns:285px minmax(0,1fr);flex:1;min-height:0;overflow:hidden}
#eaph-dialog #eaph-index{min-width:0;overflow:auto;background:#f7f9fc;padding:16px 12px;overscroll-behavior:contain;border-right:1px solid #dbe3ec}
#eaph-dialog .eaph-group{margin:0 0 20px}
#eaph-dialog .eaph-group h3{font:750 11px/1.4 system-ui;text-transform:uppercase;letter-spacing:.06em;color:#53677c;margin:0 8px 7px}
#eaph-dialog .eaph-group button{display:block;width:100%;margin:2px 0;text-align:left;border:0;background:transparent;padding:8px 10px;font-weight:500;color:#213c58}
#eaph-dialog .eaph-group button:hover{background:#e8eff7}
#eaph-dialog .eaph-group button[aria-current]{background:#034078;color:#fff;font-weight:700}
#eaph-dialog #eaph-article{min-width:0;overflow:auto;padding:24px 28px;overscroll-behavior:contain;scroll-behavior:auto}
#eaph-dialog .eaph-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin:0 0 9px;font-weight:700}
#eaph-dialog h2{font:750 25px/1.25 system-ui;color:#034078;margin:0 0 14px}
#eaph-dialog h3{font:700 18px/1.4 system-ui;color:#034078;margin:26px 0 12px}
#eaph-dialog h4{font:700 15px/1.4 system-ui;color:#034078;margin:16px 0 8px}
#eaph-dialog p{margin:0 0 14px;font-size:14px;line-height:1.65}
#eaph-dialog .eaph-lead{font-size:15px;color:#3e536b}
#eaph-dialog ol,#eaph-dialog ul{padding-left:23px;margin:16px 0}
#eaph-dialog li{padding-left:3px;margin:0 0 12px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
#eaph-dialog li::marker{color:#034078;font-weight:750}
#eaph-dialog .eaph-example,#eaph-dialog .eaph-note{padding:15px 18px;border-left:4px solid #f59e0b;background:#fff8e9;border-radius:0 7px 7px 0;margin:20px 0}
#eaph-dialog .eaph-note{background:#f3f6fa;border-left-color:#034078}
#eaph-dialog .eaph-note p,#eaph-dialog .eaph-example p{margin:6px 0 0}
#eaph-dialog .eaph-fields{margin:0}
#eaph-dialog .eaph-fields>div{padding:12px 0;border-bottom:1px solid #e2e8f0;scroll-margin:12px}
#eaph-dialog .eaph-fields dt{font-size:14px;font-weight:700;color:#172b43}
#eaph-dialog .eaph-fields dd{margin:4px 0 0;font-size:13px;line-height:1.65;color:#40566f}
#eaph-dialog .eaph-field-active{background:#fff6de;border-left:4px solid #f59e0b;padding:12px!important}
#eaph-dialog .eaph-topic-end{display:flex;gap:8px;flex-wrap:wrap;margin:26px 0 0;padding-top:18px;border-top:1px solid #dbe3ec}
#eaph-dialog .eaph-empty{padding:10px;color:#40566f}
#eaph-dialog [hidden]{display:none!important}
.eaph-highlight{outline:4px solid #f59e0b!important;outline-offset:4px;scroll-margin:110px}
#eaph-tour{position:fixed;right:20px;bottom:20px;z-index:2147483000;width:min(390px,calc(100vw - 32px));max-height:45dvh;overflow:auto;padding:18px;background:#fff;border:2px solid #034078;border-top:5px solid #f59e0b;border-radius:12px;box-shadow:0 10px 35px #0d213738}
#eaph-tour .eaph-tour-top{display:flex;align-items:center;justify-content:space-between;color:#51637a;font-size:12px}
#eaph-tour .eaph-tour-top button{padding:4px 9px}
#eaph-tour h2{font:750 19px/1.25 system-ui;color:#034078;margin:10px 0}
#eaph-tour p{font:14px/1.6 system-ui;margin:0 0 14px;color:#243e59}
#eaph-tour .eaph-tour-actions{display:flex;justify-content:space-between;gap:6px}
#eaph-tour button:disabled{opacity:.45;cursor:default}
@media(max-width:650px){
 #eaph-dialog{width:calc(100vw - 16px);max-width:none;height:94dvh;max-height:94dvh;border-radius:10px}
 #eaph-dialog .eaph-header{padding:14px;gap:8px}
 #eaph-dialog h1{font-size:20px}
 #eaph-dialog .eaph-tools{padding:12px 14px;display:block}
 #eaph-dialog .eaph-search-wrap{max-width:none}
 #eaph-dialog .eaph-tool-buttons{margin-top:8px}
 #eaph-dialog .eaph-tool-buttons button{flex:1;padding:7px}
 #eaph-dialog .eaph-layout{display:flex;flex-direction:column}
 #eaph-dialog #eaph-index{flex:0 0 125px;max-height:22dvh;border-right:0;border-bottom:1px solid #dbe3ec;padding:8px}
 #eaph-dialog .eaph-group{margin-bottom:10px}
 #eaph-dialog #eaph-article{flex:1;padding:18px;min-height:0}
 #eaph-dialog h2{font-size:22px}
 #eaph-tour{right:16px;bottom:12px;padding:13px;max-height:40dvh}
}
@media(prefers-reduced-motion:reduce){#eaph-dialog *,#eaph-tour *{scroll-behavior:auto}}
@media print{#eaph-dialog,#eaph-tour,.eaph-inline{display:none!important}.eaph-highlight{outline:0!important}}
