/* ================================================================
   PRECIO DÓLAR HOY — portada 2026 / Experiencia centrada en el cambio
   Solo se aplica al body.pdh-home; otras 22 páginas conservan su tema.
   No hay anuncios reales: los cinco data-ad-slot son reservas visuales.
   ================================================================ */
:root { color-scheme: light; }
html { scroll-behavior: smooth; }
body.pdh-home {
  --home-ink:#171431; --home-muted:#656782; --home-purple:#5926bc;
  --home-purple-light:#f0eafc; --home-green:#078b4b; --home-red:#d52350;
  --home-border:#e5e7f2; --home-shadow:0 10px 32px rgba(30,28,70,.055),0 2px 7px rgba(38,28,88,.035);
  color:var(--home-ink); background:#f9fafe;
  background-image:radial-gradient(ellipse at 1% 25%,#f3eeff 0%,transparent 34%),radial-gradient(ellipse at 95% 58%,#f0f5ff 0%,transparent 31%);
  font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;
  min-height:100vh; line-height:1.45;
}
body.pdh-home :focus-visible { outline:3px solid #8d65ee; outline-offset:3px; }
body.pdh-home a { color:inherit; }
body.pdh-home button { font:inherit; }
body.pdh-home .skip-link:focus { background:#fff; color:#242044; padding:12px 20px; border-radius:12px; }
body.pdh-home .sr-only { position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important; }
/* ---- navegación de primer nivel ---- */
body.pdh-home .site-topbar {
  position:relative; z-index:25; background:rgba(255,255,255,.96);
  border-bottom:1px solid #eaebf4; box-shadow:0 2px 10px rgba(27,25,64,.025);
}
body.pdh-home .site-topbar__inner {
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  width:min(100% - 44px,1536px); min-height:80px; margin:auto;
}
body.pdh-home .site-brand { display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none; }
body.pdh-home .site-brand img {flex-shrink:0;width:48px;height:48px;object-fit:contain;border-radius:13px;}
body.pdh-home .site-brand__copy {display:flex;flex-direction:column;min-width:0;}
body.pdh-home .site-brand__copy strong {font-size:clamp(17px,1.5vw,24px);line-height:1.16;letter-spacing:-.045em;color:#14132e;white-space:nowrap;}
body.pdh-home .site-brand__copy strong span {color:var(--home-purple);}
body.pdh-home .site-brand__copy small {font-size:11px;color:#555470;margin-top:5px;}
body.pdh-home .site-nav {display:flex;align-items:center;gap:6px;}
body.pdh-home .site-nav a {display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:0 14px;border-radius:11px;color:#27233d;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap;transition:background .15s,color .15s;}
body.pdh-home .site-nav a:hover {background:#f1edfc;color:var(--home-purple);}
body.pdh-home .site-nav a.is-current {background:var(--home-purple);color:white;box-shadow:0 4px 11px #5926bc29;}
body.pdh-home .site-nav__mobile {display:none;text-decoration:none;font-weight:750;font-size:13px;background:#f1eafd;padding:9px 13px;border-radius:10px;color:var(--home-purple);}
/* ---- grid: laterales y centro ---- */
body.pdh-home .page {padding:18px clamp(12px,1.5vw,28px) 34px;background:none;min-height:0;}
body.pdh-home .shell {
  max-width:1590px;margin:0 auto;gap:clamp(10px,1.3vw,21px);
  grid-template-columns:clamp(122px,10.5vw,160px) minmax(0,1fr) clamp(122px,10.5vw,160px);
  align-items:start;
}
body.pdh-home .center {
  display:block;max-width:none;width:100%;min-width:0;margin:0;padding:0;
  background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;
  border-radius:0;overflow:visible;
}
body.pdh-home .pdh-main {display:flex;flex-direction:column;gap:22px;min-width:0;}
/* ---- espacios publicitarios preparados (no son campañas activas) ---- */
body.pdh-home .ads {position:sticky;top:18px;max-height:none;min-width:0;align-self:start;display:flex;flex-direction:column;gap:16px;}
body.pdh-home .ad-unit {
  position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;
  width:100%;min-width:0;min-height:270px;padding:22px 12px;
  text-align:center;color:white;border:1px solid #d6c9f4;border-radius:16px;overflow:hidden;
  background:linear-gradient(156deg,#1c234f 0%,#30266f 44%,#6e37d9 76%,#a657f7 100%);
  isolation:isolate;
}
body.pdh-home .ad-unit::after {content:'';position:absolute;inset:auto -30% -55px -30%;height:125px;border-radius:100% 100% 0 0;background:linear-gradient(125deg,#aab2ff5e,#c887ff);transform:rotate(-15deg);z-index:-1;}
body.pdh-home .ad-unit:first-child {min-height:330px;}
body.pdh-home .ad-unit__label {position:absolute;top:12px;left:50%;transform:translateX(-50%);font-size:10px;font-weight:650;color:#e3ddff;letter-spacing:.02em;}
body.pdh-home .ad-unit__art {display:grid;place-items:center;width:56px;height:56px;margin:4px auto 12px;border-radius:18px;background:#ffffff22;color:#fff3b8;font-size:38px;line-height:1;}
body.pdh-home .ad-unit strong {display:block;font-size:clamp(13px,1.25vw,18px);line-height:1.25;max-width:120px;overflow-wrap:anywhere;}
body.pdh-home .ad-unit small {margin-top:10px;font-size:10px;color:#f4eaff;line-height:1.3;}
body.pdh-home .ad-unit--horizontal {min-height:80px;max-height:98px;display:flex;flex-direction:row;gap:16px;padding:20px 28px;background:linear-gradient(105deg,#f0eafa,#e9e2fd 55%,#cab4fe);border-color:#e0d7f4;color:#35216d;}
body.pdh-home .ad-unit--horizontal:first-child {min-height:88px;}
body.pdh-home .ad-unit--horizontal::after {height:90px;inset:auto -20px -50px auto;width:160px;transform:rotate(-22deg);background:#a970f866;}
body.pdh-home .ad-unit--horizontal .ad-unit__label {top:5px;left:14px;transform:none;color:#765bb1;font-size:10px;}
body.pdh-home .ad-unit--horizontal .ad-unit__art {margin:0;width:38px;height:38px;border-radius:12px;background:#fff7;color:#6634ca;font-size:26px;}
body.pdh-home .ad-unit--horizontal strong {max-width:none;font-size:16px;}
body.pdh-home .ad-unit--horizontal small {color:#665482;margin:0;font-size:11px;}
body.pdh-home .ad-horizontal {min-width:0;}
/* Unidades reales: el proveedor coloca el contenido y marca is-filled. */
body.pdh-home .ad-unit.is-filled {background:#fff;min-height:0;padding:0;border:0;}
body.pdh-home .ad-unit.is-filled::after,body.pdh-home .ad-unit.is-filled > .ad-unit__label,body.pdh-home .ad-unit.is-filled > .ad-unit__art,body.pdh-home .ad-unit.is-filled > strong,body.pdh-home .ad-unit.is-filled > small {display:none;}
body.pdh-home:not(.ads-preview) .ad-unit:not(.is-filled) {display:none;}
body.pdh-home:not(.ads-preview) .ads:not(:has(.is-filled)),body.pdh-home:not(.ads-preview) .ad-horizontal:not(:has(.is-filled)) {display:none;}
/* ---- superficies, texto y encabezados de sección ---- */
body.pdh-home .panel, body.pdh-home .guide-shortcut {
  background:#fff;border:1px solid var(--home-border);border-radius:20px;
  box-shadow:var(--home-shadow);overflow:hidden;
}
body.pdh-home .section-head {display:flex;align-items:center;gap:9px;margin:0 0 15px;padding:0;min-width:0;}
body.pdh-home .section-head--split {justify-content:space-between;gap:12px;flex-wrap:wrap;}
body.pdh-home .section-head__title {display:flex;align-items:center;gap:9px;min-width:0;}
body.pdh-home .section-title,body.pdh-home .guide-section h2,body.pdh-home .info-grid h2 {font-size:clamp(16px,1.35vw,20px);line-height:1.3;letter-spacing:-.035em;color:#19162f;margin:0;font-weight:800;}
body.pdh-home .feature-icon {flex:0 0 auto;display:grid;place-items:center;width:30px;height:30px;background:#f2eafb;color:var(--home-purple);border-radius:9px;font-size:20px;font-weight:800;}
body.pdh-home .section-subtitle {display:block;color:var(--home-muted);font-size:11px;margin-top:2px;}
/* ---- primer pantallazo ---- */
body.pdh-home .overview-grid {display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1.04fr) minmax(0,.80fr);gap:16px;align-items:stretch;}
body.pdh-home .overview-grid > * {min-width:0;}
body.pdh-home .hero-intro {padding:6px 0 3px;}
body.pdh-home .hero-intro__eyebrow {display:inline-flex;align-items:center;gap:7px;color:var(--home-purple);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;margin-bottom:7px;}
body.pdh-home .live-dot {display:inline-block;flex-shrink:0;width:8px;height:8px;border-radius:100%;background:#15a66a;box-shadow:0 0 0 4px #dbfae8;}
body.pdh-home .hero-intro h1 {margin:0;color:#171431;letter-spacing:-.055em;line-height:1.11;font-weight:850;font-size:clamp(25px,2.45vw,37px);text-wrap:balance;}
body.pdh-home .hero-intro__lead {font-size:clamp(12px,1vw,14px);line-height:1.62;margin:9px 0 14px;color:#585977;}
body.pdh-home .updated-chip {display:inline-flex;align-items:center;gap:9px;border-radius:999px;padding:7px 12px 7px 13px;background:#e9f9ed;color:#1c6f44;font-size:11px;line-height:1.4;font-weight:700;max-width:100%;}
body.pdh-home .updated-chip .live-dot {width:7px;height:7px;box-shadow:none;}
body.pdh-home .data-alert {margin:8px 0 0;background:#fff0eb;color:#883c25;border:1px solid #f4d2c8;padding:9px 12px;border-radius:10px;font-size:12px;}
body.pdh-home .pdh-pills {display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:16px;}
body.pdh-home .pdh-pill {min-width:0;min-height:128px;display:flex;flex-direction:column;align-items:flex-start;padding:14px 14px 12px;border-radius:18px;border:1px solid transparent;box-shadow:none;}
body.pdh-home .pdh-pill--buy {background:linear-gradient(130deg,#eafbef,#f5fff7);border-color:#e1f5e8;}
body.pdh-home .pdh-pill--sell {background:linear-gradient(130deg,#fff0f4,#fff8fa);border-color:#fae8ef;}
body.pdh-home .pdh-pill__icon {font-size:17px;font-weight:800;color:var(--home-green);height:21px;line-height:1;}
body.pdh-home .pdh-pill--sell .pdh-pill__icon {color:var(--home-red);}
body.pdh-home .pdh-pill__label {font-size:12px;font-weight:800;color:#1d2534;margin:0 0 6px;line-height:1.25;}
body.pdh-home .pdh-pill__value {font-size:clamp(21px,2.25vw,32px);font-weight:850;line-height:1.1;letter-spacing:-.055em;color:var(--home-green);margin:0;white-space:nowrap;}
body.pdh-home .pdh-pill__value:not(:empty)::before {content:'S/ ';font-size:.65em;letter-spacing:-.02em;}
body.pdh-home .pdh-pill__value:is(:empty) {font-size:22px;}
body.pdh-home .pdh-pill--sell .pdh-pill__value {color:var(--home-red);}
body.pdh-home .pdh-pill__meta {color:#67736a;font-size:10px;margin-top:6px;line-height:1.3;}
body.pdh-home .pdh-pill--sell .pdh-pill__meta {color:#877078;}
/* ---- calculadora ---- */
body.pdh-home .conversor-wrapper-modern {padding:17px 16px;display:flex;flex-direction:column;gap:10px;}
body.pdh-home .conversor-wrapper-modern .section-head {margin-bottom:0;}
body.pdh-home .currency-tabs {display:grid;grid-template-columns:1fr 1fr;gap:3px;background:#f5f4fa;border:1px solid #e6e4f1;border-radius:12px;padding:3px;}
body.pdh-home .currency-tab {min-width:0;min-height:34px;border-radius:10px;padding:6px 8px;line-height:1.2;font-size:11px;font-weight:750;color:#4f4b69;transition:background .2s,color .2s;}
body.pdh-home .currency-tab.is-active {background:var(--home-purple);color:white;box-shadow:0 4px 11px #5727bc33;}
body.pdh-home .modo-opciones {display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:flex-start;border:0;padding:0;margin:0;}
body.pdh-home .radio-pill {display:flex;align-items:center;gap:5px;font-size:11px;font-weight:650;margin:0;cursor:pointer;padding:0;min-height:22px;}
body.pdh-home .radio-pill input {width:14px;height:14px;accent-color:var(--home-purple);margin:0;cursor:pointer;position:static;opacity:1;}
body.pdh-home .radio-pill span {background:none;border:0;box-shadow:none;padding:0;color:#5e5a72;white-space:nowrap;}
body.pdh-home .radio-pill input:checked + span {color:var(--home-purple);font-weight:800;background:none;}
body.pdh-home .amount-head {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;}
body.pdh-home .amount-head label {font-size:12px;color:#252139;font-weight:750;}
body.pdh-home .quick-row {display:flex;gap:4px;padding:0;margin:0;}
body.pdh-home .quick-amt {border:1px solid #eeeaf5;color:#6b6488;border-radius:7px;font-size:10px;padding:3px 6px;line-height:1.5;background:#fff;min-width:0;}
body.pdh-home .quick-amt:hover {border-color:#b4a1ef;color:var(--home-purple);}
body.pdh-home .input-with-prefix {position:relative;display:flex;align-items:center;gap:8px;border:1px solid #dcdbea;border-radius:12px;background:#fff;padding:0 12px;min-height:48px;box-shadow:inset 0 1px 2px #251b6410;}
body.pdh-home .input-with-prefix:focus-within {border-color:#855ee1;box-shadow:0 0 0 3px #dcd2f744;}
body.pdh-home .input-with-prefix #prefix-monto {position:static;transform:none;padding:0;min-width:16px;color:#29233d;font-size:18px;font-weight:800;line-height:1;}
body.pdh-home #monto {flex:1 1 auto;width:40px;min-width:0;min-height:42px;background:none;border:0;outline:0;box-shadow:none;color:#242038;font-size:22px;font-weight:800;padding:5px 0;appearance:textfield;}
body.pdh-home #monto::-webkit-inner-spin-button {appearance:none;}
body.pdh-home .currency-input-label {padding:4px 6px;border-radius:6px;background:#f6f6fa;font-size:11px;font-weight:750;color:#5c5770;}
body.pdh-home .converter-direction {display:flex;gap:6px;align-items:center;justify-content:center;color:#69647a;font-size:11px;line-height:1.2;}
body.pdh-home .converter-direction > span {min-width:0;}
body.pdh-home .converter-direction .swap {border:1px solid #e6dff4;color:var(--home-purple);background:#f5efff;display:grid;place-items:center;flex:0 0 auto;width:27px;height:27px;border-radius:9px;font-weight:800;font-size:18px;transition:transform .2s;}
body.pdh-home .converter-direction .swap:hover {transform:rotate(180deg);}
body.pdh-home .resultado-modern {display:flex;flex-direction:column;gap:2px;min-height:94px;padding:13px;border-radius:13px;border:1px solid #def1e4;background:linear-gradient(120deg,#e8f9ee,#f1fff4);margin:0;color:#18432d;text-align:left;box-shadow:none;}
body.pdh-home .resultado-modern__label {font-size:12px;font-weight:750;color:#235139;}
body.pdh-home .resultado-modern__value {color:#058547;font-size:clamp(25px,2.15vw,33px);letter-spacing:-.04em;font-weight:850;line-height:1.2;}
body.pdh-home .resultado-modern__caption {font-size:10px;color:#426a52;line-height:1.45;}
body.pdh-home .fineprint {font-size:10px;color:#777289;margin:0;line-height:1.5;}
/* ---- SUNAT ---- */
body.pdh-home .sunat-widget {display:flex;flex-direction:column;gap:14px;padding:17px 14px;min-height:0;}
body.pdh-home .sunat-widget__head {justify-content:flex-start;gap:9px;}
body.pdh-home .sunat-widget__head img {width:47px;height:auto;object-fit:contain;}
body.pdh-home .sunat-widget .section-title {font-size:20px;color:#184c8c;}
body.pdh-home .sunat-grid {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;}
body.pdh-home .sunat-item {border:1px solid #e7e8f3;background:#fafbff;border-radius:11px;display:flex;flex-direction:column;gap:8px;align-items:center;padding:14px 6px;min-width:0;box-shadow:none;}
body.pdh-home .sunat-lbl {font-size:11px;color:#69647c;font-weight:700;}
body.pdh-home .sunat-val {font-size:clamp(16px,1.5vw,21px);font-weight:850;color:#1c1b2e;letter-spacing:-.04em;white-space:nowrap;}
body.pdh-home .sunat-val:not(:empty)::before {content:'S/ ';font-size:.72em;}
body.pdh-home .sunat-note {color:#77738b;font-size:11px;line-height:1.6;margin:0;}
body.pdh-home .sunat-widget__link {display:block;text-align:center;text-decoration:none;border:1px solid #e9e1f8;background:#f1eafa;padding:10px 6px;border-radius:11px;font-size:11px;font-weight:800;color:var(--home-purple);margin-top:auto;}
body.pdh-home .sunat-widget__link:hover {background:#e9dafa;}
/* ---- comparador + histórico ---- */
body.pdh-home .insights-grid {display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px;align-items:stretch;}
body.pdh-home .insights-grid > * {min-width:0;}
body.pdh-home .casas-cambio,body.pdh-home .trend-card {padding:18px 16px;}
body.pdh-home .casas-cambio .section-head,body.pdh-home .trend-card .section-head {margin-bottom:8px;}
body.pdh-home .rate-tabs {display:flex;gap:3px;padding:3px;background:#f3f1f9;border:1px solid #eeeaf6;border-radius:11px;flex-shrink:0;}
body.pdh-home .rate-tab {padding:7px 9px;font-size:10px;line-height:1.2;font-weight:750;border-radius:9px;color:#676078;white-space:nowrap;}
body.pdh-home .rate-tab.is-active {background:var(--home-purple);color:white;}
body.pdh-home .comparison-hint {margin:0 0 12px;color:#7b7890;font-size:11px;}
body.pdh-home .tabla-casas-wrapper {max-height:none;width:100%;min-height:0;overflow-x:auto;overflow-y:visible;border:1px solid #e9eaf3;border-radius:12px;background:white;box-shadow:none;}
body.pdh-home .tabla-casas {width:100%;min-width:450px;border-collapse:collapse;table-layout:auto;white-space:nowrap;font-size:12px;}
body.pdh-home .tabla-casas thead {background:#f9f9fd;}
body.pdh-home .tabla-casas th {position:static;padding:10px 8px;color:#69647b;font-size:10px;letter-spacing:0;text-transform:none;border-bottom:1px solid #e8e9f3;text-align:center;font-weight:800;}
body.pdh-home .tabla-casas th:first-child,body.pdh-home .tabla-casas td:first-child {text-align:left;padding-left:10px;}
body.pdh-home .tabla-casas td {padding:9px 8px;text-align:center;border-bottom:1px solid #f0eff7;color:#423d58;font-size:12px;background:transparent;}
body.pdh-home .tabla-casas tr:last-child td {border-bottom:0;}
body.pdh-home .tabla-casas tr.winner-row {background:#ebfaee;}
body.pdh-home .tabla-casas td.compra {color:var(--home-green);font-weight:800;}
body.pdh-home .tabla-casas td.venta {color:var(--home-red);font-weight:800;}
body.pdh-home .tabla-casas td.resultado {color:#30265a;font-weight:800;}
body.pdh-home .tabla-casas .casa {width:auto;max-width:170px;}
body.pdh-home .tabla-casas .casa-wrap {display:flex;align-items:center;justify-content:flex-start;gap:4px;min-height:28px;min-width:0;}
body.pdh-home .tabla-casas .casa-logo {width:100px;height:34px;flex:none;display:flex;align-items:center;justify-content:center;max-width:100%;}
body.pdh-home .tabla-casas .casa-logo img {max-width:90px;max-height:31px;object-fit:contain;}
body.pdh-home .tabla-casas .casa-chevron {font-size:12px;color:#8c88a0;}
body.pdh-home .tabla-casas .empty-row td {color:#77718e;text-align:center;padding:23px 10px;white-space:normal;}
body.pdh-home .table-actions {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;}
body.pdh-home .table-actions .btn-link {flex:1;background:#f1eafb;color:var(--home-purple);font-size:12px;font-weight:800;border:0;padding:10px 12px;border-radius:10px;text-decoration:none;line-height:1.4;}
body.pdh-home .table-actions .btn-link:hover {background:#e9ddfb;}
body.pdh-home .table-actions__count {font-size:10px;color:#8b859d;white-space:nowrap;}
body.pdh-home .best-deal {margin-top:12px;background:#fbfcff;border:1px solid #eaeaf4;border-radius:13px;padding:10px 12px;box-shadow:none;display:block;}
body.pdh-home .best-deal__head {display:flex;justify-content:flex-start;padding:0;margin:0 0 8px;}
body.pdh-home .best-deal__tag {background:#eaf9ed;border-radius:100px;padding:4px 8px;font-size:10px;color:#277644;font-weight:800;line-height:1.4;}
body.pdh-home .best-deal__row {display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap;}
body.pdh-home .best-deal__row img {width:74px;height:32px;object-fit:contain;flex-shrink:0;}
body.pdh-home .best-deal__details {display:flex;flex-direction:column;min-width:85px;flex:1;gap:2px;}
body.pdh-home .best-deal__details strong {font-size:12px;color:#27213d;overflow-wrap:anywhere;}
body.pdh-home .best-deal__details small {font-size:10px;color:#827c91;line-height:1.3;}
body.pdh-home .best-deal__rates {display:flex;gap:10px;font-size:10px;color:#77728b;flex-wrap:wrap;}
body.pdh-home .best-deal__rates span {display:flex;flex-direction:column;gap:2px;}
body.pdh-home .best-deal__rates b {color:#28233b;font-size:12px;}
body.pdh-home .best-deal .btn-primary {padding:9px 12px;min-width:0;min-height:33px;border-radius:9px;background:var(--home-purple);color:white;box-shadow:none;font-size:11px;font-weight:800;}
body.pdh-home .best-deal .btn-primary:disabled {background:#e5e3ec;color:#9690aa;cursor:not-allowed;}
body.pdh-home .best-deal__fine {display:none;}
body.pdh-home .trend-card {display:flex;flex-direction:column;gap:9px;}
body.pdh-home .trend-card .section-head {margin-bottom:2px;}
body.pdh-home .trend-badge {background:#f0e8fc;color:var(--home-purple);padding:6px 11px;border-radius:100px;font-size:11px;font-weight:750;white-space:nowrap;}
body.pdh-home .trend-chart {flex:1;min-height:210px;display:grid;place-items:center;position:relative;background:linear-gradient(180deg,#fff,#fdfdff);border-radius:12px;overflow:hidden;}
body.pdh-home #trend-svg {width:100%;height:auto;min-height:210px;max-height:300px;}
body.pdh-home .trend-placeholder {color:#827b94;text-align:center;font-size:12px;padding:35px 18px;line-height:1.65;}
body.pdh-home .trend-foot {margin:0;color:#7b7591;font-size:10px;line-height:1.6;}
body.pdh-home .trend-open {display:block;margin-top:auto;text-align:center;width:100%;color:var(--home-purple);background:#f4effc;border-radius:10px;padding:9px;font-size:11px;font-weight:800;}
body.pdh-home .trend-open:hover {background:#e9dffa;}
/* ---- guías rápidas, transparencia, FAQ ---- */
body.pdh-home .guide-section {margin:0;}
body.pdh-home .guide-section .section-head {margin-bottom:11px;}
body.pdh-home .guide-section .section-head > a {font-size:11px;color:var(--home-purple);font-weight:750;text-decoration:none;}
body.pdh-home .guide-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
body.pdh-home .guide-shortcut {display:flex;align-items:center;gap:12px;text-decoration:none;padding:15px 13px;min-width:0;transition:transform .18s,box-shadow .18s;}
body.pdh-home .guide-shortcut:hover {transform:translateY(-2px);box-shadow:0 12px 25px rgba(53,36,91,.10);}
body.pdh-home .guide-shortcut__icon {display:grid;place-items:center;flex:0 0 auto;width:37px;height:37px;border-radius:12px;background:#edf9e9;color:#168e4e;font-size:23px;font-weight:800;}
body.pdh-home .guide-shortcut:nth-child(2) .guide-shortcut__icon {background:#f0eafa;color:var(--home-purple);}
body.pdh-home .guide-shortcut:nth-child(3) .guide-shortcut__icon {background:#e9f8fa;color:#187ea0;}
body.pdh-home .guide-shortcut > span:nth-child(2) {display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;}
body.pdh-home .guide-shortcut strong {font-size:12px;color:#25223b;font-weight:800;line-height:1.3;}
body.pdh-home .guide-shortcut small {font-size:11px;color:#68627e;line-height:1.45;}
body.pdh-home .guide-shortcut > span:last-child {font-size:20px;color:#91869f;}
body.pdh-home .info-grid {display:grid;grid-template-columns:1fr 1fr;gap:16px;}
body.pdh-home .info-grid .panel {padding:19px 20px;}
body.pdh-home .info-grid .section-head {margin-bottom:12px;}
body.pdh-home .about-site p {margin:0 0 11px;font-size:12px;color:#635e75;line-height:1.75;max-width:72ch;}
body.pdh-home .about-site a {color:var(--home-purple);font-size:12px;text-decoration:none;font-weight:800;}
body.pdh-home .faq details {border:1px solid #e9e7f3;border-radius:10px;padding:0;margin:7px 0;background:#fcfbfe;}
body.pdh-home .faq summary {cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-weight:750;color:#3a344e;font-size:12px;}
body.pdh-home .faq summary::-webkit-details-marker {display:none;}
body.pdh-home .faq summary::after {content:'⌄';color:var(--home-purple);font-size:18px;font-weight:700;line-height:1;transition:transform .15s;}
body.pdh-home .faq details[open] summary::after {transform:rotate(180deg);}
body.pdh-home .faq details p {margin:0;border-top:1px solid #eeebf5;padding:10px 12px;color:#5b5771;font-size:11px;line-height:1.65;}
/* ---- footer ---- */
body.pdh-home .site-footer {padding:25px 18px 10px;margin-top:22px;background:linear-gradient(180deg,#f5f3ff,#f9f7ff);border:1px solid #ece8fb;border-radius:18px;}
body.pdh-home .site-footer__inner {display:grid;grid-template-columns:1.5fr repeat(4, minmax(0, 1fr));;gap:18px;}
body.pdh-home .site-footer__brand {min-width:0;}
body.pdh-home .site-footer__brand img {display:inline-block;width:39px;height:39px;vertical-align:middle;object-fit:contain;margin-right:6px;}
body.pdh-home .site-footer__brand strong {font-size:15px;font-weight:850;color:#1d1a3e;letter-spacing:-.035em;white-space:nowrap;}
body.pdh-home .site-footer__brand strong span {color:var(--home-purple);}
body.pdh-home .site-footer__brand p {font-size:10px;color:#67617c;line-height:1.5;margin:8px 0 0;}
body.pdh-home .site-footer nav {display:flex;flex-direction:column;align-items:flex-start;gap:8px;}
body.pdh-home .site-footer nav h3 {font-size:12px;color:#242041;font-weight:800;margin:0 0 1px;}
body.pdh-home .site-footer nav a {font-size:11px;color:#615c7e;text-decoration:none;}
body.pdh-home .site-footer nav a:hover {color:var(--home-purple);text-decoration:underline;}
body.pdh-home .site-footer__bottom {border-top:1px solid #eae6f8;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:22px;padding-top:12px;font-size:10px;color:#77728c;flex-wrap:wrap;}
/* ---- medallas responsivas ---- */
@media (min-width:1500px) { body.pdh-home .overview-grid {grid-template-columns:1.25fr 1fr .79fr;} }
@media (max-width:1330px) {
  body.pdh-home .shell {grid-template-columns:115px minmax(0,1fr) 115px;gap:12px;}
  body.pdh-home .site-topbar__inner {width:min(100% - 28px,1330px);}
  body.pdh-home .overview-grid {gap:12px;grid-template-columns:minmax(0,1.17fr) minmax(0,1.08fr) minmax(0,.82fr);}
  body.pdh-home .conversor-wrapper-modern {padding:15px 12px;}
  body.pdh-home .pdh-pill {padding:11px 9px;min-height:122px;}
  body.pdh-home .pdh-pill__value {font-size:25px;}
  body.pdh-home .sunat-widget {padding:15px 10px;}
  body.pdh-home .sunat-val {font-size:16px;}
}
@media (max-width:1170px) {
  body.pdh-home .shell {display:block;max-width:1100px;}
  body.pdh-home .ads {display:none!important;}
  body.pdh-home .center {max-width:1100px;margin:0 auto;}
  body.pdh-home .page {padding:17px 18px 30px;}
  body.pdh-home .site-nav {gap:0;}
  body.pdh-home .site-nav a {padding:0 10px;}
  body.pdh-home .overview-grid {grid-template-columns:minmax(0,1.24fr) minmax(0,1.08fr) minmax(0,.82fr);gap:13px;}
  body.pdh-home .hero-intro h1 {font-size:30px;}
  body.pdh-home .pdh-pill__value {font-size:28px;}
}
@media (max-width:900px) {
  body.pdh-home .overview-grid {grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);}
  body.pdh-home .hero-intro {grid-column:1/2;grid-row:1/3;align-self:stretch;}
  body.pdh-home .conversor-wrapper-modern {grid-column:2;grid-row:1/2;}
  body.pdh-home .sunat-widget {grid-column:2;grid-row:2/3;}
  body.pdh-home .sunat-widget .section-title {font-size:19px;}
  body.pdh-home .sunat-widget {gap:9px;}
  body.pdh-home .sunat-item {padding:9px 6px;}
  body.pdh-home .insights-grid {grid-template-columns:minmax(0,1fr);}
  body.pdh-home .trend-chart {min-height:190px;}
  body.pdh-home #trend-svg {max-height:240px;}
  body.pdh-home .site-topbar__inner {min-height:70px;}
  body.pdh-home .site-nav {display:none;}
  body.pdh-home .site-nav__mobile {display:inline-block;}
}
@media (max-width:670px) {
  body.pdh-home .page {padding:13px 11px 24px;}
  body.pdh-home .site-topbar__inner {width:calc(100% - 22px);gap:10px;min-height:68px;}
  body.pdh-home .site-brand img {width:40px;height:40px;}
  body.pdh-home .site-brand {gap:7px;}
  body.pdh-home .site-brand__copy strong {font-size:17px;}
  body.pdh-home .site-brand__copy small {font-size:9px;max-width:200px;}
  body.pdh-home .site-nav__mobile {font-size:11px;padding:8px 10px;white-space:nowrap;}
  body.pdh-home .pdh-main {gap:14px;}
  body.pdh-home .overview-grid {display:flex;flex-direction:column;gap:13px;}
  body.pdh-home .hero-intro {padding:3px 3px 0;}
  body.pdh-home .hero-intro h1 {font-size:clamp(26px,7vw,36px);}
  body.pdh-home .hero-intro__lead {font-size:13px;}
  body.pdh-home .pdh-pill {min-height:115px;padding:12px;}
  body.pdh-home .pdh-pill__value {font-size:clamp(26px,7vw,34px);}
  body.pdh-home .conversor-wrapper-modern,body.pdh-home .casas-cambio,body.pdh-home .trend-card {padding:16px 13px;}
  body.pdh-home .sunat-widget {display:flex;}
  body.pdh-home .sunat-grid {gap:11px;}
  body.pdh-home .sunat-val {font-size:22px;}
  body.pdh-home .guide-shortcuts,body.pdh-home .info-grid {grid-template-columns:1fr;gap:11px;}
  body.pdh-home .guide-shortcut {padding:12px 13px;}
  body.pdh-home .guide-shortcut small {font-size:11px;}
  body.pdh-home .ad-unit--horizontal {flex-wrap:wrap;justify-content:center;align-items:center;text-align:center;gap:6px;padding:20px 12px 14px;min-height:84px;}
  body.pdh-home .ad-unit--horizontal .ad-unit__art {display:none;}
  body.pdh-home .ad-unit--horizontal strong {font-size:13px;}
  body.pdh-home .ad-unit--horizontal small {font-size:10px;}
  body.pdh-home .site-footer {padding:19px 16px 12px;}
  body.pdh-home .site-footer__inner {grid-template-columns:repeat(2,minmax(0,1fr));gap:21px;}
  body.pdh-home .site-footer__brand {grid-column:1/-1;}
  body.pdh-home .info-grid .panel {padding:16px;}
}
@media (max-width:410px) {
  body.pdh-home .site-brand__copy small {display:none;}
  body.pdh-home .site-brand__copy strong {font-size:16px;}
  body.pdh-home .section-title,body.pdh-home .guide-section h2,body.pdh-home .info-grid h2 {font-size:16px;}
  body.pdh-home .section-head--split {align-items:flex-start;}
  body.pdh-home .rate-tab {padding:6px 9px;}
  body.pdh-home .pdh-pill__value {font-size:24px;}
  body.pdh-home .best-deal__row {gap:7px;}
  body.pdh-home .best-deal__rates {width:100%;}
}
@media (prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto;}
  body.pdh-home *,body.pdh-home *::before,body.pdh-home *::after {animation-duration:.001ms!important;transition-duration:.001ms!important;}
}
/* Evitar áreas implícitas heredadas del antiguo layout de portada. */
body.pdh-home .overview-grid > *, body.pdh-home .insights-grid > * {grid-area:auto;min-width:0;}
body.pdh-home .pdh-pills > * {min-width:0;max-width:100%;}
body.pdh-home .pdh-pill__meta {white-space:normal;overflow-wrap:break-word;}
body.pdh-home .pdh-pills {grid-template-columns:repeat(2,minmax(0,1fr));}
body.pdh-home .radio-pill {width:auto;max-width:100%;flex:0 1 auto;background:none;border:0;box-shadow:none;}
body.pdh-home .modo-opciones .radio-pill {padding:0;min-height:20px;}
body.pdh-home .modo-opciones .radio-pill span {display:inline;background:transparent;box-shadow:none;}
body.pdh-home .info-grid .about-site {text-align:left;}
body.pdh-home .info-grid .section-head {justify-content:flex-start;}
@media (max-width:410px){body.pdh-home .pdh-pill__value{font-size:20px;}}

/* En móvil la prioridad son las tasas: casa, compra y venta siempre visibles.
   El resultado calculado continúa en la tarjeta de la calculadora y en el modal completo. */
@media (max-width:670px) {
  body.pdh-home .casas-cambio .tabla-casas {min-width:0;width:100%;table-layout:fixed;white-space:normal;}
  body.pdh-home .casas-cambio .tabla-casas th:first-child {width:42%;}
  body.pdh-home .casas-cambio .tabla-casas th:not(:first-child) {width:29%;}
  body.pdh-home .casas-cambio .tabla-casas #columna-resultado,
  body.pdh-home .casas-cambio .tabla-casas td.resultado {display:none!important;}
  body.pdh-home .casas-cambio .tabla-casas td,
  body.pdh-home .casas-cambio .tabla-casas th {padding:11px 4px;font-size:11px;}
  body.pdh-home .casas-cambio .tabla-casas th {font-size:10px;}
  body.pdh-home .casas-cambio .tabla-casas td:first-child,
  body.pdh-home .casas-cambio .tabla-casas th:first-child {padding-left:6px;}
  body.pdh-home .casas-cambio .tabla-casas .casa-wrap {gap:2px;}
  body.pdh-home .casas-cambio .tabla-casas .casa-logo {width:76px;max-width:90%;height:27px;}
  body.pdh-home .casas-cambio .tabla-casas .casa-logo img {max-width:68px;max-height:25px;}
  body.pdh-home .casas-cambio .tabla-casas .casa-chevron {display:none;}
  body.pdh-home .casas-cambio .tabla-casas .empty-row td {width:100%;white-space:normal;text-align:left;}
}
@media (max-width:350px) {
  body.pdh-home .casas-cambio .tabla-casas th:first-child {width:40%;}
  body.pdh-home .casas-cambio .tabla-casas th:not(:first-child) {width:30%;}
  body.pdh-home .casas-cambio .tabla-casas td,
  body.pdh-home .casas-cambio .tabla-casas th {font-size:10px;}
}
/* No mostrar S/ delante de un guion cuando las tasas todavía no se han cargado. */
body.pdh-home .pdh-pill__value:not([data-has-rate="true"])::before,
body.pdh-home .sunat-val:not([data-has-rate="true"])::before {content:none;}
/* El CSS antiguo ocultaba compra/venta debajo de 700px;
   esta portada necesita ambas tasas siempre visibles. */
@media (max-width:700px) {
  body.pdh-home .casas-cambio .tabla-casas th.compra,
  body.pdh-home .casas-cambio .tabla-casas th.venta,
  body.pdh-home .casas-cambio .tabla-casas td.compra,
  body.pdh-home .casas-cambio .tabla-casas td.venta {display:table-cell!important;}
  body.pdh-home .casas-cambio .tabla-casas #columna-resultado,
  body.pdh-home .casas-cambio .tabla-casas td.resultado {display:none!important;}
}
