*{box-sizing:border-box}.echd-wrap{font-family:Arial,sans-serif;background:linear-gradient(115deg,#061b2e,#123c66);padding:22px;border-radius:22px;color:#fff;width:100%}.echd-wrap header{margin-bottom:18px}.echd-wrap h2{font-size:clamp(23px,3vw,34px);font-weight:800;margin:0;color:#fff}.echd-wrap header p{margin:5px 0 0;color:#e5edf6}.echd-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.echd-card{background:#fff;color:#102b49;border-radius:15px;padding:16px 10px 14px;text-align:center;display:flex;flex-direction:column;align-items:center;min-width:0;box-shadow:0 4px 14px #0002}.echd-icon{height:56px;width:48px;border:3px solid #d94b40;border-radius:5px;color:#d94b40;display:flex;align-items:end;justify-content:center;padding-bottom:5px;font-size:11px;font-weight:800;margin-bottom:10px}.echd-card:nth-child(6n+2) .echd-icon{border-color:#1682d5;color:#1682d5}.echd-card:nth-child(6n+3) .echd-icon{border-color:#16834e;color:#16834e}.echd-card:nth-child(6n+4) .echd-icon{border-color:#7837bd;color:#7837bd}.echd-card:nth-child(6n+5) .echd-icon{border-color:#df790e;color:#df790e}.echd-card:nth-child(6n) .echd-icon{border-color:#0aa0b6;color:#0aa0b6}.echd-card h3{font-size:15px;line-height:1.25;color:#111;margin:0 0 6px}.echd-card p{font-size:12px;line-height:1.35;color:#243447;margin:0 0 13px;min-height:32px}.echd-actions{display:flex;gap:6px;width:100%;margin-top:auto}.echd-actions button{border-radius:24px;padding:9px 7px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;flex:1;background:#fff;border:1px solid #aab6c3;color:#102b49}.echd-actions button[data-action=download]{background:linear-gradient(110deg,#f5d17b,#e9ae39);border-color:#e5b34d;color:#111}.echd-modal{display:none;position:fixed;inset:0;background:#06182bd9;z-index:999999;align-items:center;justify-content:center;padding:16px}.echd-modal.is-open{display:flex}.echd-lead-box{position:relative;background:#fff;color:#102b49;border-radius:18px;padding:28px;width:min(100%,450px);box-shadow:0 20px 70px #0006}.echd-lead-box h2{font-size:22px;margin:0 28px 8px}.echd-lead-box p{font-size:14px;color:#5d6b79;margin:0 0 18px}.echd-lead-box label{display:block;font-size:14px;font-weight:700;margin:13px 0}.echd-lead-box input{width:100%;display:block;margin-top:6px;padding:13px;border:1px solid #cbd3dc;border-radius:8px;font-size:16px}.echd-lead-box small{display:block;color:#687889;line-height:1.5;margin:14px 0}.echd-submit{width:100%;border:0;border-radius:25px;padding:13px;background:linear-gradient(110deg,#f5d17b,#e9ae39);font-weight:800;cursor:pointer}.echd-msg{margin-top:10px;color:#b42318;font-size:13px}.echd-close{border:0;background:none;color:#102b49;font-size:30px;line-height:1;cursor:pointer;padding:3px 8px}.echd-lead-box>.echd-close{position:absolute;right:12px;top:10px}.echd-viewer-box{background:#fff;border-radius:13px;width:min(1200px,97vw);height:min(92vh,1000px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 80px #0008}.echd-viewer-head{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;border-bottom:1px solid #e3e8ee;min-height:50px;color:#102b49}.echd-viewer-head>div{display:flex;align-items:center;gap:12px}.echd-viewer-download{padding:9px 16px;border-radius:22px;background:#efbd54;color:#111;text-decoration:none;font-weight:700;font-size:13px}.echd-viewer-box iframe{border:0;display:block;width:100%;height:100%;flex:1;background:#e9edf2}@media(max-width:1050px){.echd-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.echd-wrap{padding:15px 10px;border-radius:16px}.echd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.echd-card{padding:13px 7px}.echd-card h3{font-size:13px}.echd-card p{font-size:11px}.echd-actions{flex-direction:column}.echd-actions button{width:100%}.echd-viewer-box{width:100%;height:94vh}.echd-viewer-head{padding:7px}.echd-viewer-download{padding:8px 10px;font-size:11px}.echd-lead-box{padding:24px 17px}}
/* v1.3.5: lead form consent alignment and browser autofill polish */
.echd-lead-box .echd-form .echd-consent{
 display:flex !important; flex-direction:row !important; align-items:flex-start !important;
 justify-content:flex-start !important; gap:9px !important; width:100% !important;
 margin:12px 0 16px !important; padding:10px 12px !important;
 background:#f7f9fc !important; border:1px solid #e3e9f0 !important;
 border-radius:9px !important; text-align:left !important;
 font-size:11px !important; line-height:1.45 !important; font-weight:400 !important;
 color:#5d6875 !important; box-sizing:border-box !important;
}
.echd-lead-box .echd-form .echd-consent input[type="checkbox"]{
 display:block !important; flex:0 0 16px !important; width:16px !important;
 height:16px !important; min-width:16px !important; margin:1px 0 0 !important;
 padding:0 !important; accent-color:#c49a45 !important; cursor:pointer !important;
}
.echd-lead-box .echd-form .echd-consent span{
 display:block !important; flex:1 1 auto !important; margin:0 !important;
 text-align:left !important; font-size:11px !important; line-height:1.45 !important;
 font-weight:400 !important; color:#5d6875 !important;
}
.echd-lead-box .echd-form label:not(.echd-consent){text-align:left !important}
.echd-lead-box .echd-form input:not([type="checkbox"]){box-sizing:border-box !important}
.echd-lead-box .echd-form input:-webkit-autofill,
.echd-lead-box .echd-form input:-webkit-autofill:hover,
.echd-lead-box .echd-form input:-webkit-autofill:focus{
 -webkit-text-fill-color:#102b49 !important;
 box-shadow:0 0 0 1000px #fff inset !important;
 transition:background-color 9999s ease-out 0s;
}

/* v1.5.0 – responsive PDF.js canvas viewer */
.echd-pdf-toolbar{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:9px 12px;background:#f4f6f9;border-bottom:1px solid #dfe5ec}
.echd-pdf-toolbar button{border:1px solid #d6dee8;background:#fff;color:#173653;border-radius:7px;padding:7px 11px;font-size:12px;cursor:pointer}
.echd-pdf-toolbar button:disabled{opacity:.45;cursor:not-allowed}
.echd-pdf-page{font-size:12px;color:#40536a;min-width:82px;text-align:center}
.echd-pdf-stage{position:relative;flex:1;min-height:0;overflow:auto;background:#394553;display:flex;align-items:flex-start;justify-content:center;padding:18px;box-sizing:border-box}
.echd-pdf-canvas{display:block;max-width:100%;height:auto!important;background:#fff;box-shadow:0 5px 22px #0005;margin:0 auto 20px}
.echd-pdf-loading,.echd-pdf-error{color:#fff;text-align:center;padding:24px;font-size:14px;line-height:1.6;max-width:560px;margin:auto}
.echd-pdf-error{color:#fff;background:#26384a;border:1px solid #61758a;border-radius:10px}
@media(max-width:600px){.echd-pdf-toolbar{gap:5px;padding:7px 5px}.echd-pdf-toolbar button{padding:7px 8px;font-size:11px}.echd-pdf-stage{padding:8px}.echd-viewer-box{height:96dvh;max-height:96dvh;border-radius:10px}.echd-viewer-head{min-height:46px}.echd-pdf-canvas{max-width:100%}}
