/* Estilos aislados: no alteran los artículos ni el tema de Esperanza33. */
.e33-dh{--e33-ink:#061946;--e33-muted:#516782;--e33-red:#FF8500;--e33-border:#E5EEFA;--e33-bg:#F7FAFF;color:var(--e33-ink);font-family:inherit;max-width:1080px;margin:24px auto 54px;padding:0 12px;line-height:1.5;box-sizing:border-box}
.e33-dh *{box-sizing:border-box}.e33-dh [hidden]{display:none!important}
.e33-dh .e33-dh-masthead{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-top:4px solid var(--e33-ink);border-bottom:1px solid var(--e33-border)}
.e33-dh .e33-dh-masthead>span{font-size:20px;letter-spacing:-.06em;font-weight:900;line-height:1}.e33-dh .e33-dh-brand-red{color:#FF8500}
.e33-dh .e33-dh-masthead small{font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--e33-muted);text-align:right}
.e33-dh .e33-dh-heading{padding:32px 0 24px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.e33-dh .e33-dh-heading h2{color:var(--e33-ink);margin:0 0 9px;font-size:clamp(32px,5.5vw,50px);font-weight:800;line-height:1.1;letter-spacing:-1.2px}
.e33-dh .e33-dh-heading p{margin:0;color:var(--e33-muted);font-size:14px}.e33-dh .e33-dh-heading .e33-dh-eyebrow{color:#FF8500;font-weight:800;font-size:11px;letter-spacing:2.1px;margin-bottom:7px}
.e33-dh .e33-dh-flag{font-size:42px}.e33-dh .e33-dh-switch{display:flex;gap:6px;padding:5px;width:max-content;max-width:100%;border-radius:13px;background:var(--e33-bg);margin-bottom:17px}
.e33-dh button,.e33-dh input,.e33-dh select{font:inherit}
.e33-dh .e33-dh-switch button{cursor:pointer;border:0;background:transparent;padding:11px 21px;font-size:13px;font-weight:750;color:var(--e33-muted);border-radius:9px}
.e33-dh .e33-dh-switch button.is-active{background:white;color:var(--e33-ink);box-shadow:0 1px 7px #17263b1a}
.e33-dh .e33-dh-switch button:focus-visible,.e33-dh input:focus-visible,.e33-dh select:focus-visible{outline:3px solid #3a86ff;outline-offset:2px}
.e33-dh .e33-dh-date{font-size:12px;color:var(--e33-muted);margin:12px 0}.e33-dh .e33-dh-warning{font-weight:800;color:#a1272b}
.e33-dh .e33-dh-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:0 0 32px}
.e33-dh .e33-dh-card{padding:24px;border:1px solid var(--e33-border);border-radius:15px;background:linear-gradient(180deg,#fff,#fcfcfd);box-shadow:0 4px 21px #2030450b}
.e33-dh .e33-dh-card:first-child{border-top:3px solid #FF8500}
.e33-dh .e33-dh-card-kicker{font-size:10px;color:var(--e33-muted);font-weight:800;letter-spacing:1.1px}
.e33-dh .e33-dh-card-value{font-size:clamp(24px,4vw,36px);font-weight:900;color:var(--e33-ink);line-height:1.2;margin:9px 0 8px;white-space:nowrap}
.e33-dh .e33-dh-card-name{font-size:13px;color:var(--e33-muted)}
.e33-dh h3{font-size:20px;font-weight:800;letter-spacing:-.3px;color:var(--e33-ink);margin:0 0 13px}
.e33-dh .e33-dh-table-wrap{border:1px solid var(--e33-border);border-radius:14px;overflow-x:auto;margin:0 0 32px;background:white}
.e33-dh table.e33-dh-table{margin:0;width:100%;border-collapse:collapse;border:0;background:#fff;min-width:530px;font-size:13px;color:var(--e33-ink)}
.e33-dh .e33-dh-table th{text-align:left;background:#f5f7fa;color:#5d6b7d;font-size:11px;letter-spacing:.5px;text-transform:uppercase;font-weight:800;padding:14px 15px;border-bottom:1px solid var(--e33-border)}
.e33-dh .e33-dh-table td{padding:14px 15px;border-bottom:1px solid var(--e33-border);vertical-align:middle}
.e33-dh .e33-dh-table tbody tr:last-child td{border-bottom:0}
.e33-dh .e33-dh-table td:nth-child(2),.e33-dh .e33-dh-table td:nth-child(3){font-weight:800;white-space:nowrap}
.e33-dh .e33-dh-table .e33-dh-type{display:block;font-weight:400;color:var(--e33-muted);font-size:11px;margin-top:3px}
.e33-dh .e33-dh-empty{border:1px dashed #a3acb9;background:var(--e33-bg);padding:24px;border-radius:13px;font-size:14px;color:#5b6574}
.e33-dh .e33-dh-converter{border-radius:16px;background:var(--e33-ink);padding:27px;color:#fff;margin-top:14px}
.e33-dh .e33-dh-converter h3{color:white;margin:0 0 5px}.e33-dh .e33-dh-converter>p{font-size:13px;color:#cad3e2;margin:0 0 18px}
.e33-dh .e33-dh-form{display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:13px;align-items:end}
.e33-dh .e33-dh-form label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:11px;color:#d9e1ee;font-weight:650}
.e33-dh .e33-dh-form input,.e33-dh .e33-dh-form select{width:100%;min-height:49px;color:#17263b;border-radius:8px;padding:11px;background:#fff;border:1px solid #f4f4f4;font-size:13px}
.e33-dh .e33-dh-result{display:flex;flex-direction:column;justify-content:center;gap:4px;background:#2b3a52;border-radius:9px;min-height:74px;padding:12px}
.e33-dh .e33-dh-result small{color:#c7d1df;font-size:10px}.e33-dh .e33-dh-result strong{color:white;font-weight:850;font-size:21px}
.e33-dh .e33-dh-footer{border-top:1px solid var(--e33-border);padding:19px 0 0;margin-top:25px;color:var(--e33-muted);font-size:12px}
.e33-dh .e33-dh-footer p{margin:0 0 13px;color:var(--e33-muted)}.e33-dh .e33-dh-footer a{color:#FF8500;text-decoration:underline}
.e33-dh .e33-dh-footer .e33-dh-updated{font-weight:700;font-size:11px}
@media(max-width:730px){.e33-dh .e33-dh-form{grid-template-columns:1fr 1fr}.e33-dh .e33-dh-form label:first-child{grid-column:1/-1}.e33-dh .e33-dh-heading{padding-top:25px}.e33-dh .e33-dh-flag{font-size:34px}}
@media(max-width:520px){.e33-dh{padding:0 4px}.e33-dh .e33-dh-masthead small{font-size:8px;letter-spacing:.7px}.e33-dh .e33-dh-cards{grid-template-columns:1fr;gap:10px}.e33-dh .e33-dh-card{padding:19px}.e33-dh .e33-dh-form{grid-template-columns:1fr}.e33-dh .e33-dh-form label:first-child{grid-column:auto}.e33-dh .e33-dh-switch{width:100%}.e33-dh .e33-dh-switch button{flex:1;padding:11px 10px}.e33-dh .e33-dh-converter{padding:19px}}

/* E33-BR-001 / E33-BR-002: identidad del Manual Maestro, v1.1.0 */
.e33-dh .e33-dh-brand{min-width:0;display:flex;align-items:center}
.e33-dh .e33-dh-brand-logo{display:block;width:auto;height:auto;max-width:min(320px,100%);max-height:68px;object-fit:contain}
.e33-dh .e33-dh-brand-fallback{font-size:clamp(19px,2.4vw,27px);color:#061946;letter-spacing:-.7px;line-height:1.1}
.e33-dh .e33-dh-brand-fallback span{color:#FF8500}
.e33-dh .e33-dh-masthead{border-top-color:#075BD6}
.e33-dh .e33-dh-heading{border-radius:16px;background:linear-gradient(115deg,#F7FAFF,#E5EEFA 70%,#F7FAFF);padding:24px;margin:24px 0}
.e33-dh .e33-dh-heading h2{color:#061946}
.e33-dh .e33-dh-card:first-child{background:linear-gradient(135deg,#061946,#075BD6);border:0}
.e33-dh .e33-dh-card:first-child .e33-dh-card-kicker,.e33-dh .e33-dh-card:first-child .e33-dh-card-value,.e33-dh .e33-dh-card:first-child .e33-dh-card-name{color:#fff}
.e33-dh .e33-dh-card:nth-child(2){background:linear-gradient(135deg,#FF8500,#FFC12F);border:0}
.e33-dh .e33-dh-card:nth-child(2) .e33-dh-card-kicker,.e33-dh .e33-dh-card:nth-child(2) .e33-dh-card-value,.e33-dh .e33-dh-card:nth-child(2) .e33-dh-card-name{color:#061946}
.e33-dh .e33-dh-table th{background:#061946;color:#fff}
.e33-dh .e33-dh-converter{background:#061946}
.e33-dh .e33-dh-result{background:#075BD6}
.e33-dh .e33-dh-switch button.is-active{color:#061946;box-shadow:0 1px 5px #075BD622}
.e33-dh .e33-dh-switch button:focus-visible,.e33-dh input:focus-visible,.e33-dh select:focus-visible{outline-color:#00B7FF}
@media(max-width:520px){.e33-dh .e33-dh-heading{margin:15px 0;padding:19px}.e33-dh .e33-dh-brand-logo{max-height:46px;max-width:210px}}

/* v1.2: mercado local separado de las cotizaciones nacionales */
.e33-dh-local{margin:28px 0 26px;padding:22px;border:1px solid #d9e5f4;border-radius:16px;background:linear-gradient(135deg,#f7faff 72%,#edf4ff);color:#061946}
.e33-dh-local-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:16px}
.e33-dh-local-eyebrow{display:block;font-weight:800;font-size:11px;letter-spacing:.09em;color:#ff8500}
.e33-dh-local-head h3{margin:5px 0 6px!important;font-size:clamp(19px,2.4vw,27px)!important;color:#061946!important}
.e33-dh-local-head p{margin:0!important;color:#52627d}
.e33-dh-local-flag{display:flex;align-items:center;justify-content:center;border-radius:12px;background:#fff;font-size:25px;width:48px;height:48px}
.e33-dh-local-card{padding:16px 18px;border-radius:13px;background:#fff;box-shadow:0 6px 20px rgba(6,25,70,.07);border-left:5px solid #ff8500}
.e33-dh-local-profile{display:flex;align-items:center;gap:11px;margin-bottom:17px}
.e33-dh-local-profile strong{display:block;font-weight:800;font-size:19px;color:#061946}
.e33-dh-local-profile span:not(.e33-dh-local-initials){display:block;color:#52627d;font-size:13px}
.e33-dh-local-initials{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#061946;border-radius:50%;color:#ffc12f;font-weight:800;font-size:15px}
.e33-dh-local-quotes{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.e33-dh-local-quotes>div{border-radius:10px;padding:13px;background:#f3f7fc}
.e33-dh-local-quotes small{display:block;color:#52627d;letter-spacing:.04em;font-size:11px;font-weight:800}
.e33-dh-local-quotes strong{display:block;color:#061946;font-size:clamp(15px,2vw,21px);margin-top:4px}
.e33-dh-local-status{color:#53657b;font-size:13px;margin:13px 0!important}
.e33-dh-local-call{display:inline-flex;align-items:center;padding:10px 14px;border-radius:9px;background:#ff8500;color:#061946!important;font-weight:800;text-decoration:none!important}
.e33-dh-local-call:hover{background:#ffc12f}
.e33-dh-local-note{font-size:12px;line-height:1.55;color:#53657b;margin:12px 0 0!important}
@media(max-width:560px){.e33-dh-local{padding:15px}.e33-dh-local-card{padding:13px}.e33-dh-local-quotes{grid-template-columns:1fr 1fr;gap:7px}.e33-dh-local-quotes>div{padding:9px}.e33-dh-local-quotes strong{font-size:14px}}

/* v1.3.0: fichas locales de Esperanza. No modifica tablas ni API nacionales. */
.e33-dh .e33-dh-local-list{display:grid;grid-template-columns:1fr;gap:14px}
.e33-dh .e33-dh-local-card{margin:0;min-width:0}
.e33-dh .e33-dh-local-details{min-width:0}
.e33-dh .e33-dh-local-service{font-size:12px!important;font-weight:700;color:#075BD6!important;margin:2px 0 3px}
.e33-dh .e33-dh-local-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.e33-dh .e33-dh-local-directory{display:inline-block;font-size:12px;color:#075BD6!important;font-weight:750;text-decoration:underline!important}
.e33-dh .e33-dh-local-list [data-local-id="joselito"]{border-left-color:#ff8500}
.e33-dh .e33-dh-local-list [data-local-id]:not([data-local-id="joselito"]){border-left-color:#075BD6}
@media(max-width:560px){.e33-dh .e33-dh-local-actions{align-items:stretch;flex-direction:column}.e33-dh .e33-dh-local-call{justify-content:center}.e33-dh .e33-dh-local-directory{text-align:center}}
