/* EDT 2026 utility facelift. Opt-in; older tools remain unaffected until migrated. */
:root{--edt-ink:#102d3d;--edt-text:#4b6674;--edt-navy:#071c2c;--edt-accent:#087da8;--edt-line:#d8e6ec;--edt-bg:#f3f8fa}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--edt-bg);scroll-behavior:smooth}
body.edt-modern-page{
  margin:0;overflow-x:hidden;color:var(--edt-ink);
  background:radial-gradient(circle at 8% 0%,rgba(0,166,184,.10),transparent 30rem),
    radial-gradient(circle at 92% 7%,rgba(68,111,212,.07),transparent 25rem),
    linear-gradient(180deg,#fbfdfe 0,#f3f8fa 430px,#f3f8fa 100%);
  font:16px/1.6 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.edt-modern-page a{color:#086c97}
.edt-modern-header{background:rgba(7,28,44,.987);border-bottom:1px solid rgba(255,255,255,.07);box-shadow:0 3px 16px rgba(7,28,44,.13)}
.edt-modern-header-inner{width:min(1180px,calc(100% - 36px));margin:auto;min-height:92px;padding:10px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}
.edt-modern-brand{display:flex;align-items:center;gap:13px;text-decoration:none!important;color:#fff!important;min-width:0}
.edt-modern-logo-link{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;text-decoration:none!important}
.edt-modern-logo-link:focus-visible{outline:3px solid #4bb7d9;outline-offset:4px;border-radius:15px}
.edt-modern-brand img{width:68px;height:68px;object-fit:contain;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.18);flex:0 0 auto}
.edt-modern-brand span{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.edt-modern-brand strong{font-size:19px;letter-spacing:-.02em;font-weight:900;line-height:1.08}
.edt-modern-brand small{font-size:14.4px;font-weight:400;line-height:1.2;color:#abc6d3;margin-top:4px}
.edt-modern-directory-link{text-decoration:none!important;border:1px solid var(--edt-line);border-radius:11px;padding:9px 15px;background:#f7fbfc;color:#1a4c67!important;font-size:13px;font-weight:800;white-space:nowrap}
.edt-modern-directory-link:hover{background:#eaf6fa}
.edt-modern-shell{position:relative;width:min(1180px,calc(100% - 36px));margin:50px auto 38px}
.edt-modern-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(16,74,105,.10);border-radius:22px;background:radial-gradient(circle at 94% 10%,rgba(68,111,212,.08),transparent 28%),#fff;padding:34px 36px 32px;box-shadow:0 18px 48px rgba(7,28,44,.09);margin-bottom:18px}
/* Password-tool hero has a subtle lavender tint, with no large cyan highlight. */
.edt-modern-kicker{font-size:14.4px;font-weight:900;letter-spacing:.11em;color:#087da8;text-transform:uppercase;margin-bottom:9px}
.edt-modern-hero h1{font-size:clamp(30px,3.8vw,42px);color:#071c2c;letter-spacing:-.04em;line-height:1.06;margin:0 0 14px;font-weight:900}
.edt-modern-hero p{font-size:17px;color:#566f7d;line-height:1.68;max-width:990px;margin:0 0 18px}
.edt-modern-badges{display:flex;gap:9px;flex-wrap:wrap}
.edt-modern-badges span{display:inline-flex;align-items:center;border:1px solid #d7e7ed;border-radius:999px;background:#f7fbfc;color:#55707e;padding:7px 10px;font-weight:800;font-size:14.4px}
.edt-modern-page .container{width:100%;max-width:none;margin:0;padding:27px 32px 34px;border-radius:18px;background:#fff;border:1px solid var(--edt-line);box-shadow:0 18px 48px rgba(7,28,44,.075);min-width:0}
.edt-modern-page .container > .intro{margin:0 0 17px;padding:0 2px;color:#496572;line-height:1.75;font-size:15px}
.edt-modern-page .container > .intro p{margin:0}
.edt-modern-page .box{margin:18px 0 0;border:1px solid #d6e7ed;background:linear-gradient(150deg,#f6fbfd,#ecf7fb);border-radius:16px;padding:25px;box-shadow:0 5px 19px rgba(17,66,88,.045)}
.edt-modern-page .advanced-title{color:#112e42;font-size:20px;font-weight:850;margin:0 0 19px;letter-spacing:-.018em}
.edt-modern-page label{color:#244556;font-size:13px;font-weight:800}
.edt-modern-page input[type=text],.edt-modern-page input[type=number],.edt-modern-page select{min-height:44px;max-height:none;border:1px solid #c4d8e0;border-radius:10px;padding:9px 12px;background:#fff;font:inherit;font-size:15px;font-weight:600;line-height:1.3;color:#17394a;box-shadow:0 1px 3px rgba(7,28,44,.025)}
.edt-modern-page input[type=text]:focus-visible,.edt-modern-page input[type=number]:focus-visible,.edt-modern-page select:focus-visible{outline:3px solid rgba(0,166,184,.23);outline-offset:1px;border-color:#087da8}
.edt-modern-page button.primary,.edt-modern-page button.btn.primary{background:linear-gradient(135deg,#087da8,#056487);border:1px solid #087da8;color:#fff;box-shadow:0 6px 15px rgba(8,125,168,.16)}
.edt-modern-page button.primary:hover,.edt-modern-page button.btn.primary:hover{background:#075f84;transform:translateY(-1px)}
.edt-modern-page .btn,.edt-modern-page .copy-btn,.edt-modern-page .miniLink,.edt-modern-page .related-tool-btn,.edt-modern-page .promo-btn a{background:#fff;border:1px solid #c3dae2;border-radius:10px;color:#1b536d;padding:10px 15px;font-size:14px;font-weight:750;text-decoration:none;min-height:42px;max-height:none;height:auto;box-shadow:0 2px 7px rgba(7,28,44,.035);transition:background .15s,border-color .15s,transform .15s;line-height:1.25}
.edt-modern-page .btn:hover,.edt-modern-page .copy-btn:hover,.edt-modern-page .miniLink:hover,.edt-modern-page .related-tool-btn:hover,.edt-modern-page .promo-btn a:hover{background:#eaf6fa;border-color:#9dc5d3;text-decoration:none}
.edt-modern-page .copy-mini{font-size:12px;min-height:32px;min-width:65px;padding:5px 9px}
.edt-modern-page .hint,.edt-modern-page .formula,.edt-modern-page .meta{color:#708997;font-size:12px}
.edt-modern-page .pill,.edt-modern-page .status{background:#eaf7fb;border:1px solid #c4e1e9;border-radius:999px;color:#196b83;padding:6px 12px;font-size:12px}
.edt-modern-page .panel,.edt-modern-page .prebox{border:1px solid var(--edt-line);border-radius:12px;box-shadow:none;background:#fff}
.edt-modern-page table{border:1px solid var(--edt-line);border-radius:12px;overflow:hidden;display:block;overflow-x:auto;width:100%;border-collapse:separate;border-spacing:0}
.edt-modern-page th{background:#eaf4f8;color:#244c61;font-weight:800}
.edt-modern-page td,.edt-modern-page th{border-bottom:1px solid #e5eef2;padding:11px 13px}
.edt-modern-page .group-title{font-size:16px;color:#17364b}
/* The password checker/generator related-link treatment, shared by renovated tools. */
.edt-modern-page .related-tools{margin:22px 0 0;padding:14px;background:#fff;border:1px solid #dce6ef;border-radius:14px;box-shadow:0 8px 24px rgba(15,45,70,.06)}
.edt-modern-page .related-tools-row{display:flex;flex-wrap:nowrap;gap:10px;width:100%;margin:0}
.edt-modern-page .related-tool-btn{min-width:0;min-height:42px;padding:10px 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#f6faff;border:1px solid #cdddea;border-radius:10px;color:#17324d;font-size:14px;font-weight:700;line-height:1.2;text-decoration:none!important;white-space:normal;overflow-wrap:anywhere;text-align:center;flex:1 1 0;box-shadow:none;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s}
.edt-modern-page .related-tool-btn:hover{background:#eef7ff;border-color:#7eabc9;color:#0c4167;text-decoration:none!important;transform:translateY(-1px);box-shadow:0 5px 14px rgba(15,70,110,.10)}
/* The FAQ panel stands alone, exactly as on the two password utilities. */
.edt-modern-page .content.edt-modern-faq-section{margin:18px 0 0;padding:28px;border:1px solid rgba(16,74,105,.10);border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(7,28,44,.065);font-size:15.6px;color:#617985;line-height:1.62}
.edt-modern-page .content .edt-modern-faq-heading{margin:0;color:#173b4d;font-size:25px;font-weight:850;letter-spacing:-.025em;line-height:1.3}
.edt-modern-page .content .faq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.edt-modern-page .content .faq-item{min-width:0;break-inside:avoid;padding:18px;border:1px solid #d9e6eb;border-radius:14px;background:#fbfdfe}
.edt-modern-page .content .faq h3{margin:0 0 7px;color:#173b4d;font-size:16px;font-weight:850;letter-spacing:0;line-height:1.4}
.edt-modern-page .content .faq p{margin:0 0 12px;color:#617985;font-size:15.6px;line-height:1.62}
.edt-modern-page .content .faq p:last-child{margin-bottom:0}
/* Stable 728x90 placement before FAQs; responsive scaling is handled by edt-responsive-ads.js. */
.edt-modern-page .edt-modern-leaderboard.edt-ad-728{height:90px;min-height:0;flex-shrink:0}
.edt-modern-page .edt-modern-leaderboard,.edt-modern-page .edt-modern-mobile-ad{border-radius:18px;overflow:hidden}
.edt-modern-page .edt-modern-tower{border-radius:18px;overflow:hidden}
.edt-modern-page .navigation{margin:18px 0 0;clear:both}
.edt-modern-page .edt-box{max-width:none}
.edt-modern-page .edt-modern-tower{display:none}
.edt-modern-page .edt-modern-leaderboard{display:flex;justify-content:center;align-items:flex-start;min-height:0;margin:22px auto;max-width:100%;overflow:hidden}
.edt-modern-page .edt-modern-mobile-ad{display:none}
@media(min-width:1648px){.edt-modern-page .edt-modern-tower{position:absolute;display:block;left:-184px;top:0;width:160px;height:600px;overflow:hidden;border-radius:18px;line-height:0}}
/* At common 1440px desktops there is room for a 160px tower if the shell shifts right.
   Keep the banner OUTSIDE the working area instead of covering tools. */
@media(min-width:1370px) and (max-width:1647px){
  .edt-modern-page .edt-modern-shell{width:calc(100% - 220px);max-width:1180px;margin-left:195px;margin-right:25px}
  .edt-modern-page .edt-modern-tower{position:absolute;display:block;left:-184px;top:0;width:160px;height:600px;overflow:hidden;border-radius:18px;line-height:0}
}
@media(max-width:760px){.edt-modern-header-inner{min-height:82px;gap:12px}.edt-modern-brand img{width:58px;height:58px;border-radius:13px}.edt-modern-shell{width:min(100% - 28px,1180px);margin:24px auto 30px}.edt-modern-hero{padding:27px 23px}.edt-modern-hero h1{font-size:30px}.edt-modern-hero p{font-size:16px}.edt-modern-page .related-tools-row{flex-wrap:wrap;gap:8px}.edt-modern-page .related-tool-btn{flex:1 1 calc(50% - 8px)}}

@media(max-width:850px){.edt-modern-page .container{padding:23px}.edt-modern-page .box{padding:20px}}
@media(max-width:760px){.edt-modern-page .content .faq{grid-template-columns:1fr}}
@media(max-width:520px){.edt-modern-header-inner{width:calc(100% - 26px);min-height:82px}.edt-modern-brand img{width:58px;height:58px}.edt-modern-brand strong{font-size:19px}.edt-modern-brand small{font-size:12px}.edt-modern-directory-link{font-size:12px;padding:7px 9px}.edt-modern-shell{width:min(100% - 22px,1180px);margin:24px auto 30px}.edt-modern-hero{padding:23px 19px;margin-bottom:18px;border-radius:22px}.edt-modern-hero h1{font-size:30px}.edt-modern-hero p{font-size:16px}.edt-modern-page .container{padding:18px 14px 22px;border-radius:14px}.edt-modern-page .box{padding:17px 13px}.edt-modern-page .row,.edt-modern-page .actions{align-items:stretch}.edt-modern-page .field{min-width:0;flex:1 1 100%!important;max-width:none!important}.edt-modern-page button.primary{width:100%}.edt-modern-page .related-tools{padding:12px}.edt-modern-page .edt-modern-mobile-ad{display:flex;justify-content:center;max-width:100%;overflow:hidden;margin:14px auto}.edt-modern-page .edt-modern-leaderboard{display:flex}.edt-modern-page .content.edt-modern-faq-section{padding:21px 18px}}

/* Desktop ad creative radius matches the 18px utility panel corners. */
.edt-modern-page .edt-modern-leaderboard{border-radius:18px}
.edt-modern-page .edt-modern-mobile-ad{border-radius:14px}

/* Standard 728px banner is always eligible for display and scales down on mobile. */
.edt-modern-page .edt-ad-728{width:min(728px,100%);max-width:100%;display:flex;position:relative;overflow:hidden;border-radius:18px;margin-left:auto;margin-right:auto}
.edt-modern-page .edt-ad-728 .edt-ad-canvas{width:728px;height:90px;position:absolute;top:0;left:0;transform-origin:0 0}

@media(max-width:400px){.edt-modern-page .related-tool-btn{flex:1 1 100%}}
