/* Consultas Perú 7.9.5 · nueva interfaz azul conforme a la referencia del usuario. */
:root{--cp77-red:#0757c6;--cp77-red-dark:#063e9c;--cp77-red-light:#e9f3ff;--cp77-ink:#152846;--cp77-muted:#687893;--cp77-shadow:0 4px 16px rgba(15,58,116,.065)}
html{scroll-behavior:auto}
body.cp77-home,body.cp77-category{font-family:Inter,system-ui,-apple-system,sans-serif!important;color:#142a4d!important;background:#fff!important}
.cp77-app{max-width:460px;background:#fff!important;min-height:100dvh}
.cp77-hero{height:100px!important;min-height:100px!important;padding-top:calc(10px + var(--cp77-safe-top))!important;background:linear-gradient(108deg,#092b66 0%,#052353 55%,#001b46 100%)!important;border-radius:0!important;overflow:hidden}
.cp77-hero:after,.cp77-hero-shape{display:none!important}
.cp77-topline{height:60px!important;gap:15px!important;padding:0 20px!important}
.cp77-topline strong{font-weight:450!important;font-size:clamp(18px,5vw,24px)!important;letter-spacing:-.45px!important;color:white}
.cp77-icon-btn{width:35px!important}
.cp77-icon-btn svg{width:27px!important;height:27px!important}
.cp77-quota-pill{min-height:51px!important;min-width:85px!important;padding:8px!important;border-radius:13px!important;color:#082a62!important;box-shadow:none!important}
.cp77-quota-pill small{font-size:11px!important;font-weight:500!important}
.cp77-quota-pill b{font-weight:800!important;font-size:20px!important}
.cp77-main{padding:0 20px 110px!important}
.cp77-panel.cp795-appear{animation:cp795-enter 190ms cubic-bezier(.2,.65,.25,1) both}
@keyframes cp795-enter{from{opacity:.35;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
body.cp795-leaving .cp77-main{opacity:.5;transition:opacity 150ms ease-out}
.cp795-query-screen{padding:32px 0 16px}
.cp795-heading{font:750 clamp(21px,5.3vw,25px)/1.3 Inter,system-ui,sans-serif;letter-spacing:-.65px;margin:0 0 20px;color:#172b4c}
.cp795-inputbar{height:70px;border:1.2px solid #ccd8eb;border-radius:15px;display:flex;align-items:center;overflow:hidden;background:#fff;box-shadow:0 2px 5px rgba(9,54,115,.025)}
.cp795-doc-type{height:100%;flex:0 0 98px;display:flex;align-items:center;justify-content:center;gap:8px;color:#074cb3;font-size:16px;font-weight:750;border-right:1px solid #dbe2ef}
.cp795-doc-type svg{width:21px;height:21px}
#cp795DniInput{height:100%;width:100%;min-width:0;flex:1;border:0;outline:0;background:#fff;color:#172b49;font:450 17px Inter,sans-serif;padding:0 10px}
#cp795DniInput::placeholder{color:#99a4b6}
#cp795Paste{background:#fff;border:0;border-left:1px solid #dbe2ef;padding:0 15px;height:100%;font:700 14px Inter,sans-serif;color:#0755ba}
.cp795-search-submit{margin-top:20px;width:100%;height:57px;border:0;border-radius:13px;display:flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(100deg,#0861cc,#0353b5);color:white;font:650 22px Inter,sans-serif;box-shadow:0 6px 14px rgba(0,64,153,.08);transition:transform 130ms,filter 130ms}
.cp795-search-submit:active{transform:scale(.975);filter:brightness(.95)}
.cp795-search-submit svg{width:25px;height:25px}
.cp795-empty-illustration{margin:72px auto 0;display:flex;align-items:center;flex-direction:column;text-align:center;max-width:330px}
.cp795-document-art{width:150px;height:145px;margin-bottom:18px}
.cp795-empty-illustration h2{font:750 21px/1.35 Inter,sans-serif;color:#0a2c67;margin:0 0 12px}
.cp795-empty-illustration p{font:400 15px/1.55 Inter,sans-serif;color:#61718c;margin:0}
.cp77-bottom-nav{max-width:460px!important;min-height:74px!important;box-shadow:none!important;border-top:1px solid #edf0f6!important;background:#fff!important}
.cp77-bottom-nav button{font-size:12px!important;color:#636f83!important;font-weight:500!important;gap:6px!important}
.cp77-bottom-nav button.active{color:#0755ba!important}
.cp77-bottom-nav button.active svg{fill:#e3f0ff!important;border-radius:10px}
.cp77-section-head{margin-top:26px}.cp77-section-head h2{color:#172b4c;font-size:22px;font-weight:750}.cp77-section-head p{font-size:13px;color:#66758c}
.cp77-list-row,.cp77-row-static{min-height:76px;border:1px solid #edf2fa;border-radius:15px;padding:11px 12px;box-shadow:0 5px 14px rgba(30,67,111,.06)}
.cp77-list-row b,.cp77-row-static b{font-size:14px!important;font-weight:650!important;color:#1e2d46}.cp77-list-row small,.cp77-row-static small{font-size:11px!important}
.cp77-item-icon{width:44px;height:44px}.cp77-item-icon svg{width:24px;height:24px}
.cp77-list-row:active,.cp77-list-row.cp77-pressed{background:#ecf5ff!important;transform:scale(.98)!important}
.cp77-drawer{max-width:360px;background:#fff}
.cp77-drawer-head{background:linear-gradient(120deg,#092f70,#061f4b);height:120px}
.cp77-drawer-items>button{font-size:14px!important;font-weight:500!important;gap:12px}
.cp77-drawer-items>button.active{background:#eaf3ff!important;color:#0755b8!important}
.cp77-drawer-items>button.active svg{color:#0755b8!important}
.cp77-menu-backdrop,.cp77-dialog-backdrop{background:rgba(9,29,64,.47)}
.cp77-dialog-icon{color:#0a53bb;background:#eaf3ff}
.cp77-primary,.cp79-dialog-accept,.cp793-continue{background:#0858c7!important}
.cp77-outline{color:#0754c0!important;border-color:#a8c8f4!important}
.cp77-category{--color-tema:#0756bd!important;--cp-blue:#0756bd!important;--cp-blue2:#095ebd!important;--cp-action1:#0756bd!important}
body.cp77-category .header,body.cp77-category .app-shell .header{background:linear-gradient(110deg,#082c69,#061f4b)!important;border-radius:0!important;min-height:92px!important;max-height:110px!important}
body.cp77-category .header::after,body.cp77-category .cp-exact-curve{display:none!important}
body.cp77-category .cp77-toolbar{height:auto!important;min-height:55px;max-width:100%!important;width:calc(100% - 20px)!important}
body.cp77-category .cp77-toolbar span{font-weight:600!important;font-size:clamp(15px,4.5vw,19px)!important}
body.cp77-category .cp79-header-quota{background:#fff!important;color:#082a62!important}
body.cp77-category .cp79-header-quota b{color:#082a62!important}
body.cp77-category .content{padding:10px 18px 88px!important;background:#fff!important}
body.cp77-category .cp-exact-search{padding:0!important;box-shadow:none!important;background:#fff!important;min-height:0!important}
body.cp77-category .cp-exact-icon-area,body.cp77-category .cp-exact-subtitle{display:none!important}
body.cp77-category .cp-exact-title{font:750 22px/1.35 Inter,system-ui,sans-serif!important;color:#182d50!important;text-align:left!important;margin:18px 0!important}
body.cp77-category .cp-exact-form{width:100%!important}
body.cp77-category .search-box-wrapper,body.cp77-category .search-container,body.cp77-category .cp-exact-field-wrap{background:#fff!important;border-radius:14px!important;box-shadow:none!important}
body.cp77-category input.search-input,body.cp77-category .cp-exact-form input:not([type=hidden]):not([type=checkbox]),body.cp77-category .cp-exact-form select{background:#fff!important;color:#172b49!important;border-color:#ccd8eb!important;opacity:1!important}
body.cp77-category .cp-reward-btn,body.cp77-category .search-button,body.cp77-category .cp-reward-btn-copy strong{background:#0758c5!important;color:white!important;border-radius:13px!important;font-weight:650!important}
body.cp77-category .cp-reward-btn{min-height:55px!important;font-size:17px!important}
body.cp77-category .check-modern,body.cp77-category label.cp79-auth-visible{display:none!important}
body.cp77-category #cp-native-ad-slot{border:1px solid #eff3fa!important;border-radius:14px!important}
body.cp77-category .cp79-dialog-icon{background:#eaf3ff!important;color:#0754b7!important}
body.cp77-category .cp79-dialog-accept{background:#0757be!important}
.cp795-result-enter{animation:cp795-enter 210ms ease-out both}
@media(prefers-reduced-motion:reduce){.cp77-panel.cp795-appear,.cp795-result-enter{animation:none!important}}
@media(max-width:360px){.cp77-main{padding-left:15px!important;padding-right:15px!important}.cp795-doc-type{flex-basis:82px}.cp795-heading{font-size:21px}.cp795-empty-illustration{margin-top:45px}}

.cp795-menu-group-label{padding:16px 12px 7px;color:#8390a7;font-size:11px;text-transform:uppercase;font-weight:700;letter-spacing:.7px}
.cp795-menu-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:10px;flex:0 0 34px}
.cp795-menu-icon svg{width:19px;height:19px!important;stroke-width:2.1}
.cp77-drawer-items button .cp795-menu-chevron{width:16px;height:16px;margin-left:auto;color:#8490a1}
.cp77-drawer-items>button[data-menu-category]{min-height:49px!important;font-weight:600!important}

/* Transiciones entre documentos y resultados sin destellos fuertes. */
body.cp77-category{animation:cp795-page-in 200ms ease-out both}
@keyframes cp795-page-in{from{opacity:.4}to{opacity:1}}
body.cp77-category .cp77-result-actions button.cp77-share,
body.cp77-category .cp77-return{background:#0759c5!important;color:#fff!important;border-color:#0759c5!important}
body.cp77-category .cp77-result-actions button:not(.cp77-share){color:#0754bd!important}
@media(prefers-reduced-motion:reduce){body.cp77-category{animation:none!important}}

/* Consultas Perú 7.9.6: encabezado uniforme, DNI compacto y navegación en un solo contexto */
:root{--cp80-blue:#061f4b}
body.cp77-home .cp77-hero{height:66px!important;min-height:66px!important;padding:0!important;background:var(--cp80-blue)!important;border-radius:0!important}
body.cp77-home .cp77-topline{height:66px!important;min-height:66px!important;padding:0 16px!important;gap:9px!important;align-items:center!important}
body.cp77-home .cp77-topline strong{font-size:17px!important;font-weight:500!important;letter-spacing:-.3px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.cp77-home .cp77-icon-btn{width:29px!important;height:34px!important}
body.cp77-home .cp77-icon-btn svg{width:22px!important;height:22px!important}
body.cp77-home .cp77-quota-pill{min-height:37px!important;min-width:69px!important;padding:4px 7px!important;border-radius:10px!important;gap:2px!important}
body.cp77-home .cp77-quota-pill small{font-size:9px!important;line-height:1!important}
body.cp77-home .cp77-quota-pill b{font-size:16px!important;line-height:1.1!important}
body.cp77-home .cp77-main{padding:0 16px 100px!important}
.cp795-query-screen{padding-top:24px!important}
.cp795-heading{font:650 18px/1.35 Inter,system-ui,sans-serif!important;margin:0 0 17px!important;letter-spacing:-.2px!important}
.cp795-inputbar{height:57px!important;border-radius:12px!important}
.cp795-doc-type{flex-basis:78px!important;font-size:13px!important;font-weight:650!important;gap:5px!important}
.cp795-doc-type svg{width:18px!important;height:18px!important}
#cp795DniInput{font-size:15px!important;padding:0 8px!important}
#cp795Paste{padding:0 12px!important;font-size:12px!important;font-weight:650!important}
.cp795-search-submit{margin-top:16px!important;height:51px!important;font-size:clamp(11px,3.4vw,14px)!important;font-weight:600!important;gap:7px!important;border-radius:12px!important;background:#0758bc!important}
.cp795-search-submit svg{width:19px!important;height:19px!important}
.cp795-search-submit:disabled{opacity:.6;cursor:progress}
.cp795-empty-illustration{margin-top:38px!important;max-width:270px!important}
.cp795-document-art{width:108px!important;height:112px!important;margin-bottom:7px!important}
.cp795-empty-illustration h2{font-size:17px!important;font-weight:650!important;margin-bottom:7px!important}
.cp795-empty-illustration p{font-size:12.5px!important;line-height:1.55!important}
.cp80-search-status{margin:13px 0;padding:10px 12px;border-radius:10px;background:#eef5ff;color:#164c94;font-size:12px;line-height:1.5}
.cp80-inline-result{margin:15px 0 6px;animation:cp795-enter .21s ease-out}
.cp80-inline-result .result-card{background:#fff;border:1px solid #e9eef7;border-radius:15px;padding:16px 12px;box-shadow:0 3px 13px rgba(12,42,87,.05)}
.cp80-inline-result .result-header{margin-bottom:12px}.cp80-inline-result .result-name{font-size:16px;font-weight:700;color:#122d56}
.cp80-inline-result .result-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cp80-inline-result .result-item{padding:10px 9px;border-radius:10px;background:#f7f9fc;min-width:0}
.cp80-inline-result .result-item.full{grid-column:1/-1}
.cp80-inline-result .result-label{font-size:10px;color:#6e7e92}.cp80-inline-result .result-value{font-size:12px;color:#122c50;overflow-wrap:anywhere}
.cp80-inline-result .result-actions,.cp80-inline-result .premium-hint{display:none!important}
.cp80-module-view{padding:22px 0 8px}.cp80-module-top{display:flex;gap:10px;align-items:center;margin-bottom:12px}.cp80-module-top h2{font:650 17px Inter,system-ui,sans-serif;color:#102d59;margin:0}
.cp80-module-top button{border:0;border-radius:50%;background:#edf5ff;color:#0758bc;width:34px;height:34px;display:grid;place-items:center}
.cp80-module-top button svg{width:20px;height:20px}
#cp80ServiceFrame{display:block;width:100%;height:440px;border:0;background:white;overflow:hidden}
.cp80-category-group{display:flex;flex-direction:column}
.cp77-drawer-items .cp80-cat-trigger{width:100%;min-height:52px;display:flex;align-items:center;gap:12px;padding:8px 12px;background:transparent;border:0;text-align:left;color:#202e45;font-size:14px;font-weight:500;border-radius:10px}
.cp77-drawer-items .cp80-cat-trigger:active,.cp80-subitem:active{background:#e8f2ff;transform:scale(.985)}
.cp80-cat-name{flex:1}.cp77-drawer-items .cp80-cat-trigger .cp795-menu-icon{margin:0!important;background:#f0f5fa;color:#275887}
.cp80-cat-trigger .cp795-menu-chevron{transition:transform .16s ease}.cp80-cat-trigger[aria-expanded=true] .cp795-menu-chevron{transform:rotate(180deg)}
.cp80-submenu{padding:3px 4px 8px 44px;display:flex;flex-direction:column;gap:2px;animation:cp795-enter .16s ease}
.cp80-submenu[hidden]{display:none!important}.cp80-subitem{background:white;border:0;padding:9px 7px;min-height:40px;text-align:left;display:flex;align-items:center;gap:11px;font-size:12px;font-weight:450;color:#394b65;border-radius:10px;transition:transform .12s,background .12s}
.cp80-subitem svg{width:17px;height:17px;color:#3268ad;flex-shrink:0}
.cp80-subitem span{margin:0!important;background:transparent!important;color:inherit!important;padding:0!important;font-weight:inherit!important;font-size:inherit!important;white-space:normal}
.cp80-subitem.pressed{background:#e9f2fd;transform:scale(.985)}
body.cp77-home .cp77-drawer-head{background:var(--cp80-blue)!important;height:100px!important}
.cp80-terms-shade{position:fixed;inset:0;z-index:9999;background:rgba(9,32,69,.46);display:flex;align-items:flex-end;justify-content:center}
.cp80-terms-shade[hidden]{display:none!important}.cp80-terms-card{width:100%;max-width:460px;padding:23px 20px calc(23px + env(safe-area-inset-bottom));background:#fff;border-radius:20px 20px 0 0;box-shadow:0 -10px 34px rgba(12,36,65,.15)}
.cp80-terms-card h2{font-size:18px;font-weight:700;color:#152d50;margin:0 0 12px}.cp80-terms-card p{font-size:12.5px;color:#53647f;line-height:1.6}
.cp80-terms-actions{display:flex;gap:10px;margin-top:18px}.cp80-terms-actions button{flex:1;border:1px solid #dce7f4;background:white;color:#214976;border-radius:12px;padding:12px 9px;font-size:11px;font-weight:600}
.cp80-terms-actions #cp80TermsAccept{background:#0758bc;color:#fff;border-color:#0758bc}
@media(max-width:350px){.cp77-topline strong{font-size:15px!important}.cp795-doc-type{flex-basis:68px!important}.cp80-terms-actions{flex-direction:column}}

/* 7.9.7: espacio superior real para la barra de estado en Android edge-to-edge. */
body.cp77-native .cp77-hero{height:104px!important;min-height:104px!important;padding:0!important;overflow:visible!important}
body.cp77-native .cp77-topline{height:104px!important;min-height:104px!important;padding:29px 13px 4px!important;align-items:center!important;gap:8px!important;box-sizing:border-box!important}
body.cp77-native .cp77-icon-btn{height:36px!important;width:31px!important;flex:0 0 31px}
body.cp77-native .cp77-topline strong{font-size:clamp(14px,4.1vw,17px)!important;line-height:1.25!important;white-space:nowrap!important;flex:1!important;min-width:0!important;overflow:visible!important;letter-spacing:-.35px!important}
body.cp77-native .cp77-quota-pill{min-width:61px!important;width:61px!important;flex:0 0 61px!important;min-height:34px!important;max-height:35px!important;padding:3px!important;align-self:center!important;border-radius:9px!important}
body.cp77-native .cp77-quota-pill small{font-size:8px!important;line-height:1!important;white-space:nowrap!important}
body.cp77-native .cp77-quota-pill b{font-size:14px!important;line-height:1.12!important}
.cp795-empty-illustration h2{max-width:320px!important;font-size:16px!important;font-weight:650!important;line-height:1.3!important}
.cp80-native-slot{height:166px;width:100%;margin:19px 0 18px;border-radius:12px;background:#fff;position:relative}
.cp80-native-slot[hidden]{display:none!important}
.cp80-module-top{padding:0;margin:3px 0 8px!important}
.cp80-module-top h2{font-size:18px!important;font-weight:650!important;margin:0!important}
.cp80-module-top button{display:none!important}
.cp80-module-view{padding-top:24px!important}
.cp797-retry{display:block;margin:8px 0 14px;padding:9px 13px;background:#f0f6ff;color:#064d9c;border:1px solid #b7d0f2;border-radius:10px;font-size:12px}
.cp797-retry[hidden]{display:none!important}
@media(max-width:360px){body.cp77-native .cp77-topline strong{font-size:14px!important}.cp795-search-submit{font-size:10.5px!important}}

/* 7.9.8: un solo lienzo de Inicio, sin marcos grises al cambiar servicio. */
body.cp77-home .cp80-module-view{padding:21px 0 14px!important;background:#fff!important}
body.cp77-home .cp80-module-top{margin:0 0 18px!important;padding:0!important}
body.cp77-home #cp80ModuleTitle{font:650 17px/1.4 Inter,system-ui,sans-serif!important;color:#112d55!important}
body.cp77-home #cp80ServiceFrame{display:block!important;width:100%!important;min-height:175px!important;border:0!important;background:#fff!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.cp77-home .cp80-module-view[hidden]{display:none!important}
body.cp77-home .cp80-module-empty{padding:16px 0 23px;text-align:center;color:#657998;background:#fff}
body.cp77-home .cp80-module-empty[hidden]{display:none!important}
body.cp77-home .cp80-module-empty svg{width:106px;height:100px;display:block;margin:4px auto 9px}
body.cp77-home .cp80-module-empty h3{margin:0 0 4px;color:#103663;font:650 15px/1.4 Inter,system-ui,sans-serif}
body.cp77-home .cp80-module-empty p{margin:0 auto;max-width:245px;font:400 12px/1.6 Inter,system-ui,sans-serif;color:#72819b}

/* 7.9.9: marco compartido, sin scroll de miles de píxeles de iframes heredados. */
body.cp77-home .cp80-module-view{padding-top:10px!important;padding-bottom:6px!important}
body.cp77-home .cp80-module-top{margin-bottom:10px!important}
body.cp77-home #cp80ServiceFrame{height:320px;min-height:0!important;max-height:520px!important;overflow-y:auto!important;overscroll-behavior:contain;border:0!important;scrollbar-width:thin}
body.cp77-home .cp80-module-empty{padding:5px 0 4px!important}
body.cp77-home .cp80-module-empty svg{width:84px!important;height:75px!important}
.cp799-module-loader{display:flex;align-items:center;gap:9px;justify-content:center;font-size:12px;color:#607997;padding:13px 0}
.cp799-module-loader[hidden]{display:none!important}
.cp799-spin{height:17px;width:17px;border-radius:50%;border:2px solid #c7d9f0;border-top-color:#1057b5;animation:cp799-spin .85s linear infinite}
@keyframes cp799-spin{to{transform:rotate(360deg)}}
