/* TOOLKITA v13.0.0 — Advanced Layout Suite */
.tool-layout-category-nav,.editorial-content-nav,.editorial-related-tools{display:none}

/* 1. Modern Conversion */
body.layout-modern{--layout-density:1;background:#fff}.layout-modern .tool-above-fold-modern{display:grid;grid-template-columns:minmax(0,.92fr) minmax(540px,1.08fr);max-width:var(--container-max,1200px);margin:0 auto 34px;padding:26px 0 0;gap:22px;align-items:stretch}.layout-modern .tool-above-fold-modern>.tool-head-v6,.layout-modern .tool-above-fold-modern>.tool-stage{padding:0;background:transparent;border:0}.layout-modern .tool-above-fold-modern .tool-head-card{height:100%;min-height:560px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:42px!important;border-radius:24px;background:linear-gradient(145deg,#f5f9ff,#eef6ff);border:1px solid #dce9fb;box-shadow:none}.layout-modern .tool-above-fold-modern .tool-title-icon{margin:0 0 22px}.layout-modern .tool-above-fold-modern .tool-title-copy{text-align:left}.layout-modern .tool-above-fold-modern .tool-title-copy h1{font-size:clamp(2.4rem,4vw,3.5rem)!important}.layout-modern .tool-above-fold-modern .tool-title-copy>p{font-size:16px!important}.layout-modern .tool-above-fold-modern .tool-head-meta{justify-content:flex-start}.layout-modern .tool-above-fold-modern .tool-hero-actions{margin-top:10px}.layout-modern .tool-above-fold-modern .tool-stage-grid{display:block;height:100%}.layout-modern .tool-above-fold-modern .tool-workspace{height:100%;min-height:560px;display:flex;flex-direction:column;justify-content:center;border-radius:24px!important;padding:34px!important}.layout-modern .tool-above-fold-modern .tool-side-panel{display:none}.layout-modern .tool-above-fold-modern .tool-form-guidance{margin-top:4px}.layout-modern .tool-above-fold-modern .tool-experience-notes{display:none}.layout-modern .tool-above-fold-modern .tool-result-guidance{margin-top:15px}.layout-modern .generated-article-card{max-width:1050px;margin:auto}.layout-modern .generated-article-nav{position:sticky;top:86px;z-index:4}.layout-modern .related-tools .tool-grid{grid-template-columns:repeat(3,1fr)}

/* 2. Compact Workspace */
body.layout-compact{--layout-density:.86;background:#f7f9fc}.layout-compact .site-header{height:58px}.layout-compact .nav-wrap{max-width:1440px}.layout-compact .brand img{height:31px}.layout-compact .brand-mark{width:31px;height:31px;border-radius:8px}.layout-compact .main-navigation .nav-item>a{padding:17px 0}.layout-compact .header-cta{padding:8px 13px}.layout-compact .container{width:min(var(--container-max,1440px),calc(100% - 28px))}.layout-compact .hero{padding:48px 0 40px}.layout-compact .hero-inner{grid-template-columns:minmax(0,1fr) 290px;gap:28px}.layout-compact .hero h1{font-size:clamp(38px,5vw,56px)}.layout-compact .hero-showcase{min-height:240px}.layout-compact .hero-orb{width:170px;height:170px}.layout-compact .floating-card{transform:scale(.8)}.layout-compact .section{padding:46px 0}.layout-compact .tool-grid{grid-template-columns:repeat(4,1fr);gap:11px}.layout-compact .tool-card{padding:15px;gap:10px;border-radius:10px}.layout-compact .tool-card h3{font-size:15px}.layout-compact .category-grid{grid-template-columns:repeat(6,1fr);gap:9px}.layout-compact .category-grid a{padding:15px;border-radius:9px}.layout-compact .site-footer{padding-top:38px}.layout-compact .tool-breadcrumb{padding-block:13px}.layout-compact .tool-head-v6{padding:13px 0 16px;background:#f7f9fc}.layout-compact .tool-head-card{grid-template-columns:auto minmax(0,1fr) auto;padding:18px!important;border-radius:12px}.layout-compact .tool-title-icon{width:52px!important;height:52px!important;font-size:24px!important;margin:0!important}.layout-compact .tool-title-copy h1{font-size:clamp(1.55rem,2.6vw,2rem)!important}.layout-compact .tool-title-copy>p{max-width:88ch}.layout-compact .tool-head-meta{display:none}.layout-compact .tool-hero-actions{justify-self:end}.layout-compact .tool-stage{padding:14px 0 34px}.layout-compact .tool-stage-grid{grid-template-columns:225px minmax(0,1fr) 245px;grid-template-areas:"side workspace workspace";gap:13px}.layout-compact .tool-workspace{grid-area:workspace;border-radius:12px!important;padding:22px!important}.layout-compact .tool-side-panel{grid-area:side;position:sticky;top:70px;gap:10px}.layout-compact .tool-side-card{border-radius:10px;padding:15px}.layout-compact .tool-side-panel>.tool-side-card:not(.tool-layout-category-nav){display:none}.layout-compact .tool-layout-category-nav{display:block}.layout-compact .tool-layout-category-nav nav{display:grid;gap:3px;margin-top:10px}.layout-compact .tool-layout-category-nav a{display:flex;justify-content:space-between;align-items:center;padding:10px;border-radius:8px;color:#475569;font-size:13px;font-weight:700}.layout-compact .tool-layout-category-nav a:hover,.layout-compact .tool-layout-category-nav a.is-active{background:#eaf2ff;color:var(--primary)}.layout-compact .tool-workspace-header{padding-bottom:14px}.layout-compact .tool-form-guidance{margin-block:10px}.layout-compact .tool-experience-notes{grid-template-columns:1fr 1fr}.layout-compact .generated-tool-article{padding-top:30px}.layout-compact .generated-article-card{max-width:1050px;margin:auto}.layout-compact .related-tools .tool-grid{grid-template-columns:repeat(5,1fr)}.layout-compact .related-tools .tool-card p{display:none}

/* 3. Editorial SEO */
body.layout-editorial{--layout-density:1;background:#fdfdfc}.layout-editorial .site-header{position:relative;height:68px;background:#fff}.layout-editorial .nav-wrap{max-width:1280px}.layout-editorial .brand{font-family:Georgia,serif}.layout-editorial .header-cta{background:transparent;color:var(--primary);border:1px solid currentColor}.layout-editorial .hero{padding:62px 0;background:#f7f7f3;border-bottom:1px solid #e8e8e2}.layout-editorial .hero-inner{grid-template-columns:minmax(0,1.25fr) minmax(280px,.55fr);text-align:left}.layout-editorial .hero h1,.layout-editorial .page-hero h1,.layout-editorial .section-head h2,.layout-editorial .generated-article-card h2{font-family:Georgia,"Times New Roman",serif;font-weight:650;letter-spacing:-.025em}.layout-editorial .hero-showcase{min-height:280px}.layout-editorial .tool-grid{grid-template-columns:repeat(2,1fr)}.layout-editorial .tool-card{box-shadow:none;border-width:0 0 1px;border-radius:0;padding:22px 4px}.layout-editorial .category-grid a{border-radius:3px}.layout-editorial .site-footer{background:#111827}.layout-editorial .tool-breadcrumb{padding-block:17px;border-bottom:1px solid #ecece7}.layout-editorial .tool-head-v6{padding:30px 0 22px;background:#fff;border:0}.layout-editorial .tool-head-card{display:block;max-width:900px!important;padding:0!important;text-align:center;background:transparent!important;border:0!important;box-shadow:none!important}.layout-editorial .tool-title-icon{display:none}.layout-editorial .tool-title-copy h1{font-size:clamp(2.5rem,4.5vw,4rem)!important}.layout-editorial .tool-title-copy>p{max-width:75ch;margin-inline:auto;font-size:16px!important}.layout-editorial .tool-head-meta,.layout-editorial .tool-hero-actions{justify-content:center}.layout-editorial .tool-stage{padding:10px 0 42px}.layout-editorial .tool-stage-grid{display:block;max-width:1080px}.layout-editorial .tool-workspace{border-radius:6px!important;box-shadow:0 10px 30px rgba(15,23,42,.06)!important;border-color:#dcdcd5;padding:24px!important}.layout-editorial .tool-workspace-header{display:none}.layout-editorial .tool-form-guidance,.layout-editorial .tool-result-guidance,.layout-editorial .tool-experience-notes{display:none}.layout-editorial .premium-tool-runtime .form-grid{grid-template-columns:1fr 1fr}.layout-editorial .premium-tool-runtime .button-row{align-items:end}.layout-editorial .tool-side-panel{display:none}.layout-editorial .generated-tool-article{padding:54px 0;background:#fff}.layout-editorial .generated-tool-article .compact-content-layout{max-width:1220px}.layout-editorial .editorial-content-grid{display:grid;grid-template-columns:190px minmax(0,1fr) 230px;gap:32px;align-items:start}.layout-editorial .editorial-content-nav,.layout-editorial .editorial-related-tools{display:grid;position:sticky;top:18px;border:1px solid #e2e2dc;background:#fff}.layout-editorial .editorial-content-nav strong,.layout-editorial .editorial-related-tools>strong{padding:15px;border-bottom:1px solid #e2e2dc;font-family:Georgia,serif;font-size:17px}.layout-editorial .editorial-content-nav a,.layout-editorial .editorial-related-tools a{display:flex;justify-content:space-between;gap:8px;padding:11px 15px;border-bottom:1px solid #eeeeea;color:#475569;font-size:13px}.layout-editorial .editorial-content-nav a:hover,.layout-editorial .editorial-related-tools a:hover{color:var(--primary);background:#f8fafc}.layout-editorial .generated-article-card{padding:0!important;border:0!important;box-shadow:none!important}.layout-editorial .generated-article-header{text-align:left;border-bottom:3px double #d9d9d2}.layout-editorial .generated-article-header h2{font-size:clamp(2rem,3vw,2.7rem)!important}.layout-editorial .generated-article-nav{display:none}.layout-editorial .generated-article-intro{font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1.9}.layout-editorial .generated-article-section p,.layout-editorial .generated-article-section li{font-size:16px;line-height:1.85}.layout-editorial .generated-article-faq details{border-radius:0;border-inline:0}.layout-editorial .related-tools{display:none}

@media(max-width:1180px){.layout-modern .tool-above-fold-modern{margin-inline:20px}.layout-compact .tool-grid{grid-template-columns:repeat(3,1fr)}.layout-compact .category-grid{grid-template-columns:repeat(4,1fr)}.layout-editorial .editorial-content-grid{grid-template-columns:170px minmax(0,1fr)}.layout-editorial .editorial-related-tools{display:none}}
@media(max-width:900px){.layout-modern .tool-above-fold-modern{grid-template-columns:1fr;margin-inline:20px}.layout-modern .tool-above-fold-modern .tool-head-card,.layout-modern .tool-above-fold-modern .tool-workspace{min-height:auto}.layout-modern .tool-above-fold-modern .tool-head-card{padding:30px!important}.layout-compact .tool-stage-grid{grid-template-columns:1fr;grid-template-areas:"workspace" "side"}.layout-compact .tool-side-panel{position:static}.layout-compact .tool-grid{grid-template-columns:repeat(2,1fr)}.layout-editorial .editorial-content-grid{grid-template-columns:1fr}.layout-editorial .editorial-content-nav{position:static;display:flex;flex-wrap:wrap}.layout-editorial .editorial-content-nav strong{width:100%}.layout-editorial .editorial-content-nav a{flex:1;white-space:nowrap}.layout-editorial .editorial-related-tools{display:none}}
@media(max-width:600px){.layout-modern .tool-above-fold-modern{margin-inline:12px;padding-top:12px}.layout-modern .tool-above-fold-modern .tool-head-card{padding:22px!important}.layout-modern .tool-above-fold-modern .tool-title-copy h1{font-size:2rem!important}.layout-compact .site-header{height:60px}.layout-compact .hero-inner,.layout-editorial .hero-inner{grid-template-columns:1fr}.layout-compact .hero-showcase,.layout-editorial .hero-showcase{display:none}.layout-compact .tool-head-card{grid-template-columns:1fr}.layout-compact .tool-title-icon{display:none}.layout-compact .tool-hero-actions{justify-self:start}.layout-compact .tool-grid,.layout-compact .category-grid{grid-template-columns:1fr}.layout-compact .tool-experience-notes{grid-template-columns:1fr}.layout-editorial .tool-head-v6{padding:22px 0 12px}.layout-editorial .tool-title-copy h1{font-size:2.25rem!important}.layout-editorial .premium-tool-runtime .form-grid{grid-template-columns:1fr}.layout-editorial .editorial-content-nav{display:grid}.layout-editorial .editorial-content-nav a{white-space:normal}}

/* v14 pixel-accurate component layer */
.compact-utility-panel{display:none}.compact-header-search{display:none}.editorial-category-strip{display:none}
.layout-modern .site-header{box-shadow:0 8px 24px rgba(15,23,42,.04)}.layout-modern .tool-above-fold-modern .tool-head-card:before{content:"";position:absolute;inset:auto -70px -90px auto;width:220px;height:220px;border-radius:50%;background:color-mix(in srgb,var(--primary) 9%,transparent);filter:blur(2px)}.layout-modern .tool-above-fold-modern .tool-head-card{position:relative;overflow:hidden}.layout-modern .tool-above-fold-modern .tool-title-copy,.layout-modern .tool-above-fold-modern .tool-head-meta,.layout-modern .tool-above-fold-modern .tool-hero-actions{position:relative;z-index:1}.layout-modern .editorial-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:28px;align-items:start}.layout-modern .editorial-content-nav{display:none}.layout-modern .editorial-related-tools{display:grid;position:sticky;top:90px;border:1px solid #e5eaf1;border-radius:14px;background:#fff;overflow:hidden}.layout-modern .editorial-related-tools>strong{padding:16px;border-bottom:1px solid #e5eaf1}.layout-modern .editorial-related-tools a{display:flex;justify-content:space-between;padding:12px 15px;border-bottom:1px solid #eef2f7;font-size:13px}.layout-modern .editorial-related-tools a:hover{color:var(--primary);background:#f8fafc}

.layout-compact .nav-wrap{gap:18px}.layout-compact .compact-header-search{display:flex;align-items:center;flex:1;max-width:390px;height:38px;padding:0 10px;border:1px solid #dce3ed;border-radius:8px;background:#fff}.layout-compact .compact-header-search input{min-width:0;flex:1;border:0;outline:0;padding:8px;background:transparent}.layout-compact .compact-header-search kbd{padding:3px 6px;border:1px solid #dce3ed;border-radius:5px;color:#94a3b8;font:11px ui-monospace,monospace}.layout-compact .main-navigation{gap:18px}.layout-compact .tool-stage-grid{grid-template-areas:"side workspace utility"}.layout-compact .compact-utility-panel{grid-area:utility;display:grid;align-content:start;gap:12px;position:sticky;top:70px}.layout-compact .compact-utility-panel section{display:grid;border:1px solid #e2e8f0;border-radius:10px;background:#fff;overflow:hidden}.layout-compact .compact-utility-panel .workspace-kicker{padding:14px;border-bottom:1px solid #edf1f6}.layout-compact .compact-utility-panel a{display:flex;justify-content:space-between;gap:8px;padding:11px 13px;border-bottom:1px solid #edf1f6;color:#475569;font-size:12px}.layout-compact .compact-utility-panel a:hover{color:var(--primary);background:#f8fafc}.layout-compact .compact-utility-panel .compact-view-all{justify-content:center;color:var(--primary);font-weight:800}.layout-compact .premium-tool-runtime{border-top:1px solid #edf1f6;padding-top:18px}.layout-compact .related-tools{border-top:1px solid #e2e8f0}

.layout-editorial .editorial-category-strip{display:block;border-bottom:1px solid #ecece7;background:#fff}.layout-editorial .editorial-category-strip .container{display:flex;justify-content:center;gap:34px;min-height:42px;align-items:center}.layout-editorial .editorial-category-strip a{font-size:13px;color:#475569}.layout-editorial .editorial-category-strip a:hover{color:var(--primary)}.layout-editorial .age-calculator-form{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);grid-template-rows:auto auto auto;gap:14px 22px;align-items:start}.layout-editorial .age-calculator-form>.form-grid{grid-column:1;grid-row:1;display:grid;grid-template-columns:1fr 1fr}.layout-editorial .age-calculator-form>.field-hint-row{display:none}.layout-editorial .age-calculator-form>.button-row{grid-column:1;grid-row:2;margin:0}.layout-editorial .age-calculator-form>.button-row button{min-width:140px}.layout-editorial .age-calculator-form>.tk-tool-status{grid-column:1;grid-row:3}.layout-editorial .age-calculator-form>.age-result{grid-column:2;grid-row:1/4;align-self:start;width:100%;min-height:0;margin:0!important}.layout-editorial .age-result-primary{padding:18px}.layout-editorial .age-result-primary .big-result{font-size:34px}.layout-editorial .age-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.layout-editorial .age-result-grid>div{padding:12px}.layout-editorial .age-result-grid strong{font-size:20px}.layout-editorial .age-result-details{display:none}.layout-editorial .site-footer-editorial{padding-top:42px;border-top:1px solid #282f3b}

@media(max-width:1180px){.layout-compact .compact-header-search{max-width:270px}.layout-compact .main-navigation{display:none}.layout-modern .editorial-content-grid{grid-template-columns:1fr}.layout-modern .editorial-related-tools{position:static;grid-template-columns:repeat(3,1fr)}.layout-modern .editorial-related-tools>strong{grid-column:1/-1}}
@media(max-width:900px){.layout-compact .compact-header-search{display:none}.layout-compact .tool-stage-grid{grid-template-areas:"workspace" "side" "utility"}.layout-compact .compact-utility-panel{position:static;grid-template-columns:1fr 1fr}.layout-editorial .age-calculator-form{grid-template-columns:1fr;grid-template-rows:auto auto auto auto}.layout-editorial .age-calculator-form>.form-grid{grid-column:1;grid-row:1}.layout-editorial .age-calculator-form>.button-row{grid-column:1;grid-row:2}.layout-editorial .age-calculator-form>.age-result{grid-column:1;grid-row:3}.layout-editorial .age-calculator-form>.tk-tool-status{grid-column:1;grid-row:4}.layout-editorial .editorial-category-strip .container{justify-content:flex-start;overflow:auto}}
@media(max-width:600px){.layout-modern .editorial-content-grid{display:block}.layout-modern .editorial-related-tools{display:none}.layout-compact .compact-utility-panel{grid-template-columns:1fr}.layout-editorial .editorial-category-strip{display:none}.layout-editorial .age-calculator-form{display:block}.layout-editorial .age-calculator-form>.button-row{margin-top:12px}.layout-editorial .age-calculator-form>.age-result{margin-top:18px!important}}

/* v14.0.2 — hardened phone contract */
.layout-modern,.layout-compact,.layout-editorial{overflow-x:hidden}
@media(max-width:768px){
 .layout-modern .container,.layout-compact .container,.layout-editorial .container{width:min(100% - 24px,var(--container-max,1200px))}
 .layout-modern .site-header,.layout-compact .site-header,.layout-editorial .site-header{height:62px;position:sticky;top:0}
 .layout-modern .brand img,.layout-compact .brand img,.layout-editorial .brand img{width:auto;max-width:185px;height:34px}
 .layout-modern .header-cta,.layout-compact .header-cta,.layout-editorial .header-cta{display:none}
 .layout-modern .mobile-menu-toggle,.layout-compact .mobile-menu-toggle,.layout-editorial .mobile-menu-toggle{display:flex}
 .layout-modern .hero,.layout-compact .hero,.layout-editorial .hero{padding:42px 0}
 .layout-modern .hero-inner,.layout-compact .hero-inner,.layout-editorial .hero-inner{display:block}
 .layout-modern .hero-showcase,.layout-compact .hero-showcase,.layout-editorial .hero-showcase{display:none}
 .layout-modern .hero h1,.layout-compact .hero h1,.layout-editorial .hero h1{font-size:clamp(2.15rem,11vw,3rem);overflow-wrap:anywhere}
 .layout-modern .search-box,.layout-compact .search-box,.layout-editorial .search-box{width:100%;min-width:0}
 .layout-modern .section,.layout-compact .section,.layout-editorial .section{padding:42px 0}
 .layout-modern .section-head,.layout-compact .section-head,.layout-editorial .section-head{align-items:flex-start;flex-direction:column;gap:12px}
 .layout-modern .tool-grid,.layout-compact .tool-grid,.layout-editorial .tool-grid,.layout-modern .category-grid,.layout-compact .category-grid,.layout-editorial .category-grid{grid-template-columns:1fr}
 .layout-modern .tool-breadcrumb,.layout-compact .tool-breadcrumb,.layout-editorial .tool-breadcrumb{display:flex;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
 .layout-modern .tool-head-card,.layout-compact .tool-head-card,.layout-editorial .tool-head-card{width:100%;min-width:0;padding:20px!important}
 .layout-modern .tool-title-copy h1,.layout-compact .tool-title-copy h1,.layout-editorial .tool-title-copy h1{font-size:clamp(1.85rem,10vw,2.35rem)!important;overflow-wrap:anywhere}
 .layout-modern .tool-title-copy>p,.layout-compact .tool-title-copy>p,.layout-editorial .tool-title-copy>p{font-size:14px!important;line-height:1.65}
 .layout-modern .tool-hero-highlights,.layout-compact .tool-hero-highlights,.layout-editorial .tool-hero-highlights,.layout-modern .tool-value-pills,.layout-compact .tool-value-pills,.layout-editorial .tool-value-pills{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:7px}
 .layout-editorial .tool-hero-highlights,.layout-editorial .tool-value-pills{justify-content:center}
 .layout-modern .tool-hero-actions,.layout-compact .tool-hero-actions,.layout-editorial .tool-hero-actions{display:grid;width:100%;grid-template-columns:1fr;gap:9px}
 .layout-modern .tool-hero-actions>* ,.layout-compact .tool-hero-actions>* ,.layout-editorial .tool-hero-actions>*{width:100%;justify-content:center}
 .layout-modern .tool-stage-grid,.layout-compact .tool-stage-grid,.layout-editorial .tool-stage-grid{display:block;width:100%;min-width:0}
 .layout-modern .tool-workspace,.layout-compact .tool-workspace,.layout-editorial .tool-workspace{width:100%;min-width:0;padding:17px!important;border-radius:14px!important}
 .layout-modern .premium-tool-runtime,.layout-compact .premium-tool-runtime,.layout-editorial .premium-tool-runtime{width:100%;min-width:0;padding:0!important}
 .layout-modern .premium-tool-runtime .form-grid,.layout-compact .premium-tool-runtime .form-grid,.layout-editorial .premium-tool-runtime .form-grid{grid-template-columns:1fr!important}
 .layout-modern .premium-tool-runtime input,.layout-compact .premium-tool-runtime input,.layout-editorial .premium-tool-runtime input,.layout-modern .premium-tool-runtime select,.layout-compact .premium-tool-runtime select,.layout-editorial .premium-tool-runtime select,.layout-modern .premium-tool-runtime textarea,.layout-compact .premium-tool-runtime textarea,.layout-editorial .premium-tool-runtime textarea{width:100%;max-width:100%;min-width:0}
 .layout-modern .age-calculator-form,.layout-compact .age-calculator-form,.layout-editorial .age-calculator-form{display:block!important;width:100%;min-width:0}
 .layout-modern .age-calculator-form>.button-row,.layout-compact .age-calculator-form>.button-row,.layout-editorial .age-calculator-form>.button-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
 .layout-modern .age-calculator-form>.button-row button,.layout-compact .age-calculator-form>.button-row button,.layout-editorial .age-calculator-form>.button-row button{width:100%;min-width:0!important}
 .layout-modern .age-calculator-form>.age-result,.layout-compact .age-calculator-form>.age-result,.layout-editorial .age-calculator-form>.age-result{width:100%;max-width:100%;margin-top:16px!important}
 .layout-modern .age-result-grid,.layout-compact .age-result-grid,.layout-editorial .age-result-grid{grid-template-columns:1fr 1fr!important;gap:8px}
 .layout-modern .age-result-grid>div,.layout-compact .age-result-grid>div,.layout-editorial .age-result-grid>div{min-width:0;padding:11px!important}
 .layout-modern .age-result-grid strong,.layout-compact .age-result-grid strong,.layout-editorial .age-result-grid strong{font-size:19px;overflow-wrap:anywhere}
 .layout-modern .tool-utility-actions,.layout-compact .tool-utility-actions,.layout-editorial .tool-utility-actions{display:grid!important;grid-template-columns:1fr;gap:8px}
 .layout-modern .tool-utility-actions[hidden],.layout-compact .tool-utility-actions[hidden],.layout-editorial .tool-utility-actions[hidden]{display:none!important}
 .layout-modern .editorial-content-grid,.layout-compact .editorial-content-grid,.layout-editorial .editorial-content-grid{display:block}
 .layout-modern .editorial-content-nav,.layout-compact .editorial-content-nav,.layout-editorial .editorial-content-nav{position:static;display:grid;margin-bottom:20px}
 .layout-modern .editorial-related-tools,.layout-compact .editorial-related-tools,.layout-editorial .editorial-related-tools,.layout-editorial .editorial-category-strip{display:none}
 .layout-modern .generated-article-card,.layout-compact .generated-article-card,.layout-editorial .generated-article-card{width:100%;min-width:0;padding:18px!important}
 .layout-modern .generated-article-header h2,.layout-compact .generated-article-header h2,.layout-editorial .generated-article-header h2{font-size:1.75rem!important;overflow-wrap:anywhere}
 .layout-modern .generated-article-intro,.layout-compact .generated-article-intro,.layout-editorial .generated-article-intro{font-size:16px;line-height:1.75}
 .layout-modern .generated-article-section,.layout-compact .generated-article-section,.layout-editorial .generated-article-section{min-width:0}
 .layout-modern .generated-article-faq summary,.layout-compact .generated-article-faq summary,.layout-editorial .generated-article-faq summary{font-size:14px;overflow-wrap:anywhere}
 .layout-modern .footer-grid,.layout-compact .footer-grid,.layout-editorial .footer-grid{grid-template-columns:1fr;gap:24px}
}
@media(max-width:420px){
 .layout-modern .container,.layout-compact .container,.layout-editorial .container{width:min(100% - 18px,var(--container-max,1200px))}
 .layout-modern .brand img,.layout-compact .brand img,.layout-editorial .brand img{max-width:155px;height:30px}
 .layout-modern .tool-head-card,.layout-compact .tool-head-card,.layout-editorial .tool-head-card,.layout-modern .tool-workspace,.layout-compact .tool-workspace,.layout-editorial .tool-workspace{padding:14px!important}
 .layout-modern .age-calculator-form>.button-row,.layout-compact .age-calculator-form>.button-row,.layout-editorial .age-calculator-form>.button-row{grid-template-columns:1fr}
}
@media(min-width:769px) and (max-width:1180px){
 .layout-modern .container,.layout-compact .container,.layout-editorial .container{width:min(100% - 40px,var(--container-max,1200px))}
 .layout-modern .nav-wrap,.layout-compact .nav-wrap,.layout-editorial .nav-wrap{gap:16px}
 .layout-modern .main-navigation,.layout-compact .main-navigation,.layout-editorial .main-navigation{gap:16px}
 .layout-modern .tool-stage-grid,.layout-compact .tool-stage-grid,.layout-editorial .tool-stage-grid{min-width:0}
 .layout-modern .tool-workspace,.layout-compact .tool-workspace,.layout-editorial .tool-workspace{min-width:0}
 .layout-modern .premium-tool-runtime input,.layout-compact .premium-tool-runtime input,.layout-editorial .premium-tool-runtime input{min-width:0}
 .layout-modern .tool-grid,.layout-compact .tool-grid,.layout-editorial .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:1600px){
 .layout-modern .container,.layout-compact .container,.layout-editorial .container{max-width:1440px}
 .layout-modern .tool-above-fold-modern{max-width:1380px;grid-template-columns:minmax(0,.9fr) minmax(620px,1.1fr);gap:28px}
 .layout-modern .tool-above-fold-modern .tool-head-card,.layout-modern .tool-above-fold-modern .tool-workspace{min-height:600px}
 .layout-compact .tool-stage-grid{grid-template-columns:250px minmax(0,1fr) 270px;gap:18px}
 .layout-editorial .generated-tool-article .compact-content-layout{max-width:1380px}
 .layout-editorial .editorial-content-grid{grid-template-columns:220px minmax(0,1fr) 260px;gap:40px}
}
@media(min-width:2200px){
 .layout-modern .container,.layout-compact .container,.layout-editorial .container{max-width:1600px}
 .layout-modern .tool-above-fold-modern{max-width:1520px}
 .layout-modern .site-header,.layout-compact .site-header,.layout-editorial .site-header{font-size:16px}
 .layout-modern .tool-card,.layout-compact .tool-card,.layout-editorial .tool-card{min-height:190px}
 .layout-editorial .generated-tool-article .compact-content-layout{max-width:1500px}
}
@media(orientation:landscape) and (max-height:600px) and (max-width:1000px){
 .layout-modern .site-header,.layout-compact .site-header,.layout-editorial .site-header{height:54px}
 .layout-modern .hero,.layout-compact .hero,.layout-editorial .hero{padding:26px 0}
 .layout-modern .page-hero,.layout-compact .page-hero,.layout-editorial .page-hero{padding-block:18px}
 .layout-modern .tool-head-card,.layout-compact .tool-head-card,.layout-editorial .tool-head-card{min-height:0!important}
 .layout-modern .tool-above-fold-modern .tool-workspace{min-height:0}
}
@media(pointer:coarse){
 .layout-modern :is(a,button,input,select,textarea),.layout-compact :is(a,button,input,select,textarea),.layout-editorial :is(a,button,input,select,textarea){touch-action:manipulation}
 .layout-modern button,.layout-compact button,.layout-editorial button{min-height:44px}
}

/* v14.2.0 — final visual hierarchy and complete page audit */
.layout-editorial .hero{padding:46px 0 42px}
.layout-editorial .hero h1{max-width:760px;font-size:clamp(3rem,4.8vw,3.6rem);line-height:1.04}
.layout-editorial .hero-showcase{min-height:235px}
.layout-editorial .inner-hero{padding:58px 0 52px}
.layout-editorial .inner-hero h1{font-size:clamp(2.65rem,4.2vw,3.35rem);line-height:1.08}
.layout-editorial .hero-stat-card{min-height:155px;border-radius:18px}
.layout-editorial .hero-stat-card strong{font-size:48px}
.layout-editorial .tool-breadcrumb{padding-block:11px;font-size:13px}
.layout-editorial .tool-head-v6{padding:18px 0 12px}
.layout-editorial .tool-head-card{max-width:960px!important}
.layout-editorial .tool-title-copy h1{font-size:clamp(2.35rem,3.5vw,3rem)!important;line-height:1.08;margin:4px 0 8px!important}
.layout-editorial .tool-title-copy>p{max-width:68ch;font-size:15px!important;line-height:1.65}
.layout-editorial .tool-hero-highlights{justify-content:center;margin-top:12px}
.layout-editorial .tool-head-meta{margin-top:11px}
.layout-editorial .tool-hero-actions{margin-top:12px}
.layout-editorial .tool-stage{padding:8px 0 34px}
.layout-editorial .generated-tool-article{padding:42px 0}
.layout-editorial .generated-article-header h2{font-size:clamp(1.8rem,2.6vw,2.35rem)!important}
.layout-editorial .page-directory,.layout-editorial .articles-directory{padding-top:62px}
.directory-load-more{display:flex;justify-content:center;margin-top:32px}
.directory-load-more[hidden],.directory-load-more button[hidden]{display:none}
.directory-load-more .btn{min-width:220px}
.directory-result-meta i{font-style:normal;font-weight:800;color:#334155}
.article-directory-grid .article-card{display:flex;min-height:250px;flex-direction:column}
.article-directory-grid .article-card p{flex:1}
.articles-empty{margin-block:10px 40px}
.compact-section-head{margin-bottom:24px}

@media(max-width:900px){
 .layout-editorial .hero{padding:40px 0}
 .layout-editorial .inner-hero{padding:46px 0 58px}
 .layout-editorial .tool-head-v6{padding:15px 0 10px}
 .layout-editorial .tool-title-copy h1{font-size:clamp(2.1rem,7vw,2.65rem)!important}
}
@media(max-width:600px){
 .layout-editorial .hero{padding:34px 0}
 .layout-editorial .hero h1{font-size:clamp(2.15rem,10vw,2.75rem)}
 .layout-editorial .inner-hero{padding:38px 0 48px}
 .layout-editorial .inner-hero h1{font-size:clamp(2rem,9.5vw,2.55rem)}
 .layout-editorial .tool-breadcrumb{padding-block:9px}
 .layout-editorial .tool-head-v6{padding:12px 0 8px}
 .layout-editorial .tool-title-copy h1{font-size:clamp(1.9rem,9vw,2.3rem)!important}
 .layout-editorial .tool-title-copy>p{font-size:14px!important}
 .layout-editorial .tool-head-meta{display:none}
 .layout-editorial .tool-hero-actions{grid-template-columns:1fr 1fr;margin-top:10px}
 .layout-editorial .tool-hero-actions .btn{padding:10px 8px;font-size:13px}
 .layout-editorial .tool-stage{padding-top:6px}
 .layout-editorial .page-directory,.layout-editorial .articles-directory{padding-top:44px}
 .directory-load-more{margin-top:24px}
}

/* v14.2.1 — live audit hotfix */
.layout-editorial .tool-page-age-calculator .tool-head-v6{padding:12px 0 8px}
.layout-editorial .tool-page-age-calculator .tool-head-card{max-width:860px!important}
.layout-editorial .tool-page-age-calculator .tool-title-copy h1{font-size:clamp(2.25rem,3.2vw,2.8rem)!important}
.layout-editorial .tool-page-age-calculator .tool-title-copy>p{display:-webkit-box;max-width:64ch;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.layout-editorial .tool-page-age-calculator .tool-hero-highlights,.layout-editorial .tool-page-age-calculator .tool-head-meta{display:none}
.layout-editorial .tool-page-age-calculator .tool-hero-actions{margin-top:10px}
.layout-editorial .tool-page-age-calculator .tool-stage{padding-top:4px}
@media(max-width:600px){
 .layout-editorial .tool-page-age-calculator .tool-title-copy>p{-webkit-line-clamp:2}
 .layout-editorial .tool-page-age-calculator .tool-hero-actions{grid-template-columns:1fr}
 .layout-editorial .tool-page-age-calculator .tool-hero-actions [data-favorite-tool]{display:none}
}

/* v15.0.0 — Sprint 11 UI/UX Premium Final */
.ui-icon{display:block;width:21px;height:21px;flex:0 0 auto}
body.layout-editorial{background:#f6f7f9;color:#0b1739}
@media(min-width:1480px){
 body.layout-editorial>.site-header,body.layout-editorial>main,body.layout-editorial>.site-footer{width:min(1440px,calc(100% - 32px));margin-inline:auto}
 body.layout-editorial>.site-header{margin-top:16px;border:1px solid #e3e7ee;border-radius:18px 18px 0 0}
 body.layout-editorial>.site-footer{margin-bottom:16px;border:1px solid #e3e7ee;border-top:0;border-radius:0 0 18px 18px}
}
.layout-editorial .site-header{height:64px;border-color:#e6e9ef;box-shadow:0 8px 30px rgba(15,23,42,.045)}
.layout-editorial .nav-wrap{max-width:1280px}
.layout-editorial .brand img{height:35px;max-width:220px}
.layout-editorial .main-navigation{height:100%;align-items:stretch;gap:4px}
.layout-editorial .main-navigation>.nav-item,.layout-editorial .main-navigation>a{height:100%}
.layout-editorial .main-navigation>.nav-item>a,.layout-editorial .main-navigation>a{display:flex;height:100%;align-items:center;padding:0 17px;border-bottom:2px solid transparent;color:#111827;font-size:13px;font-weight:650}
.layout-editorial .main-navigation>.nav-item>a:hover,.layout-editorial .main-navigation>a:hover{border-bottom-color:var(--primary);color:var(--primary)}
.layout-editorial .header-search-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;color:#0b1739}
.layout-editorial .header-search-icon:hover{background:#f1f5f9;color:var(--primary)}
.layout-editorial .header-cta{display:none}
.layout-editorial .editorial-category-strip{display:none!important}
.layout-editorial .site-header+.site-ad-slot+main,.layout-editorial .site-header+main{background:#fff}

.layout-editorial .tool-breadcrumb{max-width:1280px;padding-block:15px;border-bottom:0;color:#64748b;font-size:12px}
.layout-editorial .tool-breadcrumb a:hover{color:var(--primary)}
.layout-editorial .tool-head-v6,.layout-editorial .tool-page-age-calculator .tool-head-v6{padding:4px 0 12px;background:#fff}
.layout-editorial .tool-head-card,.layout-editorial .tool-page-age-calculator .tool-head-card{max-width:960px!important}
.layout-editorial .tool-title-copy .eyebrow{display:inline-flex;padding:4px 8px;border-radius:4px;background:#f1f5ff;font-size:10px;letter-spacing:.08em}
.layout-editorial .tool-title-copy h1,.layout-editorial .tool-page-age-calculator .tool-title-copy h1{margin:7px 0 2px!important;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.75rem,4.3vw,3.75rem)!important;font-weight:650!important;letter-spacing:-.035em!important;line-height:1.02}
.layout-editorial .tool-hero-subtitle{margin:0 0 8px;font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.25}
.layout-editorial .tool-title-copy>p,.layout-editorial .tool-page-age-calculator .tool-title-copy>p{display:-webkit-box;max-width:860px;margin-inline:auto!important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px!important;line-height:1.55}
.layout-editorial .tool-hero-highlights{display:none!important}
.layout-editorial .tool-head-meta{display:flex!important;justify-content:center;gap:10px;margin-top:10px}
.layout-editorial .tool-head-meta span{padding:0;border:0;background:none;color:#64748b;font-size:12px;font-weight:600}
.layout-editorial .tool-head-meta span:first-child{color:var(--primary)}
.layout-editorial .tool-head-meta i{color:#94a3b8;font-style:normal}
.layout-editorial .tool-hero-actions{display:none!important}
.layout-editorial .tool-stage,.layout-editorial .tool-page-age-calculator .tool-stage{padding:2px 0 18px}
.layout-editorial .tool-stage-grid{max-width:1280px}
.layout-editorial .tool-workspace{margin-bottom:0;padding:20px!important;border:1px solid #dfe4ec!important;border-radius:8px!important;box-shadow:0 8px 24px rgba(15,23,42,.07)!important}
.layout-editorial .premium-tool-runtime{padding:0!important}

.layout-editorial .age-calculator-form{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 150px minmax(300px,1.35fr);grid-template-rows:auto auto;gap:12px 22px;align-items:end}
.layout-editorial .age-calculator-form>.form-grid{display:contents}
.layout-editorial .age-calculator-form>.form-grid label{font-size:12px;font-weight:750}
.layout-editorial .age-calculator-form>.form-grid input{min-height:43px!important;padding:9px 12px!important;border-radius:5px!important;background:#fff!important}
.layout-editorial .age-calculator-form>.button-row{display:block;grid-column:3;grid-row:1;margin:0}
.layout-editorial .age-calculator-form>.button-row button{width:100%;min-width:0;min-height:43px;border-radius:5px}
.layout-editorial .age-calculator-form>.button-row .tk-secondary{display:none}
.layout-editorial .age-calculator-form>.field-hint-row{display:none}
.layout-editorial .age-calculator-form>.tk-tool-status{grid-column:1/4;grid-row:2;margin:0}
.layout-editorial .age-result-placeholder{grid-column:4;grid-row:1/3;align-self:stretch;padding-left:24px;border-left:1px solid #e5e7eb}
.layout-editorial .age-result-placeholder>strong{display:block;margin-bottom:7px;font-family:Georgia,"Times New Roman",serif;font-size:16px}
.layout-editorial .age-result-placeholder>div{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.layout-editorial .age-result-placeholder span{display:grid;gap:2px;text-align:center}
.layout-editorial .age-result-placeholder b{font-size:18px}
.layout-editorial .age-result-placeholder small,.layout-editorial .age-result-placeholder p{color:#64748b;font-size:11px}
.layout-editorial .age-result-placeholder p{margin:7px 0 0;text-align:center}
.layout-editorial .age-calculator-form:has(.age-result:not([hidden])) .age-result-placeholder{display:none}
.layout-editorial .age-calculator-form>.age-result{grid-column:4;grid-row:1/3;align-self:stretch;margin:0!important;padding:10px!important;border-left:1px solid #e5e7eb!important;border-radius:0!important;box-shadow:none!important}
.layout-editorial .age-result-primary{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:6px}
.layout-editorial .age-result-primary span{font-family:Georgia,"Times New Roman",serif;font-weight:700}
.layout-editorial .age-result-primary .big-result{margin:0;font-size:21px}
.layout-editorial .age-result-grid{grid-template-columns:repeat(4,1fr)!important;padding:4px}
.layout-editorial .age-result-grid>div{padding:6px!important;border:0;background:transparent}
.layout-editorial .age-result-details{display:none}

.layout-editorial .generated-tool-article{padding:0 0 28px;background:#fff}
.layout-editorial .generated-tool-article .compact-content-layout{max-width:1280px}
.layout-editorial .editorial-content-grid{display:grid;grid-template-columns:210px minmax(0,1fr) 270px;gap:28px;align-items:start}
.layout-editorial .editorial-content-nav,.layout-editorial .editorial-related-tools{display:grid;position:sticky;top:18px;border:1px solid #dfe4ec;border-radius:7px;background:#fff;overflow:hidden;box-shadow:0 5px 18px rgba(15,23,42,.035)}
.layout-editorial .editorial-content-nav strong,.layout-editorial .editorial-related-tools>strong{padding:15px;border-bottom:1px solid #e8ebf0;font-family:Georgia,"Times New Roman",serif;font-size:17px}
.layout-editorial .editorial-content-nav a{padding:12px 15px;border-left:2px solid transparent;border-bottom:0;color:#334155;font-size:12px}
.layout-editorial .editorial-content-nav a:before{display:inline-block;width:18px;color:#94a3b8;font-weight:800;content:counter(item) ".";counter-increment:item}
.layout-editorial .editorial-content-nav{counter-reset:item}
.layout-editorial .editorial-content-nav a:hover{border-left-color:var(--primary);background:#f7f9ff;color:var(--primary)}
.layout-editorial .generated-article-card{padding:18px 24px!important;border:1px solid #dfe4ec!important;border-radius:7px!important;background:#fff;box-shadow:0 5px 18px rgba(15,23,42,.035)!important}
.layout-editorial .generated-article-header,.layout-editorial .generated-article-nav{display:none}
.layout-editorial .generated-article-intro{margin:0 0 4px;font-family:inherit;font-size:13px;line-height:1.65}
.layout-editorial .generated-article-section{padding:13px 0;border-bottom:1px solid #e8ebf0}
.layout-editorial .generated-article-section:last-of-type{border-bottom:0}
.layout-editorial .generated-article-section h2{margin:0 0 7px;font-family:Georgia,"Times New Roman",serif;font-size:23px!important;letter-spacing:-.015em}
.layout-editorial .generated-article-section p,.layout-editorial .generated-article-section li{font-size:12px;line-height:1.55}
.layout-editorial .generated-article-steps,.layout-editorial .generated-article-list{margin-block:7px;padding-left:19px}
.layout-editorial .generated-article-faq details{margin:5px 0;border:1px solid #dfe4ec;border-radius:5px}
.layout-editorial .generated-article-faq summary{min-height:36px;padding:8px 12px;font-size:12px}
.layout-editorial .editorial-related-tools a{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:10px 12px;border-bottom:1px solid #e8ebf0;color:#24324a;font-size:12px}
.layout-editorial .editorial-related-tools a i{display:grid;width:31px;height:31px;place-items:center;border-radius:7px;background:#eef3ff;font-style:normal}
.layout-editorial .editorial-related-tools a:nth-of-type(3n+2) i{background:#fff5dc}
.layout-editorial .editorial-related-tools a:nth-of-type(3n+3) i{background:#fff0eb}
.layout-editorial .editorial-related-tools a:hover{background:#f8fafc;color:var(--primary)}
.layout-editorial .editorial-related-tools a b{grid-column:3}
.layout-editorial .site-footer{padding:24px 0 14px;border-top:1px solid #e2e6ec;background:#fff;color:#334155}
.layout-editorial .footer-grid{gap:32px}
.layout-editorial .footer-grid h4,.layout-editorial .footer-brand{color:#0b3fb5}
.layout-editorial .footer-grid a,.layout-editorial .footer-grid p{color:#475569;font-size:12px}
.layout-editorial .copyright{margin-top:20px;padding-top:12px;text-align:center}

@media(max-width:1100px){
 .layout-editorial .age-calculator-form{grid-template-columns:1fr 1fr 150px}
 .layout-editorial .age-result-placeholder,.layout-editorial .age-calculator-form>.age-result{grid-column:1/4;grid-row:3;padding:14px 0 0;border-top:1px solid #e5e7eb;border-left:0!important}
 .layout-editorial .editorial-content-grid{grid-template-columns:190px minmax(0,1fr)}
 .layout-editorial .editorial-related-tools{display:none}
}
@media(max-width:768px){
 body.layout-editorial{background:#fff}
 .layout-editorial .site-header{height:60px}
 .layout-editorial .brand img{height:29px;max-width:175px}
 .layout-editorial .header-search-icon{display:none}
 .layout-editorial .tool-breadcrumb{padding-block:11px;font-size:10px}
 .layout-editorial .tool-head-v6,.layout-editorial .tool-page-age-calculator .tool-head-v6{padding:3px 0 14px}
 .layout-editorial .tool-title-copy h1,.layout-editorial .tool-page-age-calculator .tool-title-copy h1{font-size:clamp(2.1rem,10vw,2.8rem)!important}
 .layout-editorial .tool-hero-subtitle{font-size:16px}
 .layout-editorial .tool-title-copy>p,.layout-editorial .tool-page-age-calculator .tool-title-copy>p{font-size:12px!important;-webkit-line-clamp:4}
 .layout-editorial .tool-head-meta{flex-wrap:wrap;gap:5px 9px}
 .layout-editorial .tool-head-meta span{font-size:11px}
 .layout-editorial .tool-stage{padding-inline:0}
 .layout-editorial .tool-workspace{padding:13px!important}
 .layout-editorial .age-calculator-form{display:block!important}
 .layout-editorial .age-calculator-form>.form-grid{display:grid;grid-template-columns:1fr!important;gap:10px}
 .layout-editorial .age-calculator-form>.button-row{margin-top:10px}
 .layout-editorial .age-result-placeholder,.layout-editorial .age-calculator-form>.age-result{margin-top:14px!important;padding:14px 0 0!important;border-top:1px solid #e5e7eb!important;border-left:0!important}
 .layout-editorial .age-result-placeholder>div{grid-template-columns:repeat(4,1fr)}
 .layout-editorial .editorial-content-grid{display:flex;flex-direction:column;gap:14px}
 .layout-editorial .editorial-content-nav{position:static;order:0;width:100%}
 .layout-editorial .editorial-content-nav strong:before{margin-right:9px;content:"☷"}
 .layout-editorial .editorial-content-nav strong:after{float:right;content:"›"}
 .layout-editorial .editorial-content-nav a{display:none}
 .layout-editorial .generated-article-card{order:1;width:100%;padding:0!important;border:0!important;box-shadow:none!important}
 .layout-editorial .generated-article-intro{font-size:12px}
 .layout-editorial .generated-article-section{padding:12px 0}
 .layout-editorial .generated-article-section h2{font-size:21px!important}
 .layout-editorial .generated-article-section p,.layout-editorial .generated-article-section li{font-size:12px}
 .layout-editorial .editorial-related-tools{display:none}
 .layout-editorial .generated-tool-article{padding-bottom:18px}
}

/* v15.1.0 — Sprint 11 complete three-layout suite */
/* Modern Conversion: split hero and workspace */
body.layout-modern{background:#f4f7fb;color:#0f1e3d}
.layout-modern .site-header{height:72px;border-bottom:1px solid #e3eaf4;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);box-shadow:0 10px 35px rgba(25,55,105,.055)}
.layout-modern .nav-wrap{max-width:1320px}
.layout-modern .main-navigation a{font-size:13px;font-weight:700}
.layout-modern .header-search-icon{display:grid;width:42px;height:42px;place-items:center;border:1px solid #e3eaf4;border-radius:12px;background:#fff;color:#17356f}
.layout-modern .header-search-icon:hover{border-color:#b8cdf2;background:#f4f8ff;color:var(--primary)}
.layout-modern .tool-breadcrumb{max-width:1320px;padding-block:13px;color:#64748b;font-size:12px}
.layout-modern .tool-above-fold-modern{max-width:1320px;grid-template-columns:minmax(0,.88fr) minmax(560px,1.12fr);gap:22px;padding-top:10px}
.layout-modern .tool-above-fold-modern .tool-head-card{min-height:520px;padding:48px!important;border:1px solid #dce8f8;border-radius:28px;background:radial-gradient(circle at 95% 5%,rgba(37,99,235,.16),transparent 28%),linear-gradient(145deg,#f7faff,#eaf3ff);box-shadow:0 24px 70px rgba(30,64,175,.09)}
.layout-modern .tool-title-icon{display:grid!important;width:68px!important;height:68px!important;margin:0 0 20px!important;border-radius:20px;background:#fff;box-shadow:0 14px 35px rgba(37,99,235,.14)}
.layout-modern .tool-title-copy .eyebrow{display:inline-flex;padding:5px 9px;border-radius:999px;background:#fff;color:var(--primary);font-size:10px}
.layout-modern .tool-title-copy h1{margin:8px 0 5px!important;font-size:clamp(2.4rem,4vw,3.45rem)!important;line-height:1.02}
.layout-modern .tool-hero-subtitle{margin:0 0 10px;font-size:18px}
.layout-modern .tool-title-copy>p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:4;font-size:14px!important;line-height:1.65}
.layout-modern .tool-head-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.layout-modern .tool-head-meta i{display:none}
.layout-modern .tool-head-meta span{padding:7px 10px;border:1px solid #d7e5f8;border-radius:999px;background:rgba(255,255,255,.75);color:#53657d;font-size:11px}
.layout-modern .tool-hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:10px;margin-top:18px}
.layout-modern .tool-hero-actions .btn{display:flex;justify-content:center;text-align:center}
.layout-modern .tool-above-fold-modern .tool-workspace{min-height:520px;padding:0!important;border:1px solid #dfe7f2;border-radius:28px!important;background:#fff;box-shadow:0 24px 70px rgba(15,42,90,.1)!important}
.layout-modern .tool-workspace-header{padding:26px 28px!important}
.layout-modern .premium-tool-runtime{padding:28px!important}
.layout-modern .premium-tool-runtime input,.layout-modern .premium-tool-runtime select,.layout-modern .premium-tool-runtime textarea{background:#f8fbff!important}
.layout-modern .age-result-placeholder{margin-top:18px;padding:18px;border:1px solid #e1e9f3;border-radius:16px;background:#f8fbff}
.layout-modern .age-result-placeholder>strong{display:block;margin-bottom:12px}
.layout-modern .age-result-placeholder>div{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.layout-modern .age-result-placeholder span{display:grid;padding:10px 6px;border-radius:10px;background:#fff;text-align:center}
.layout-modern .age-result-placeholder small,.layout-modern .age-result-placeholder p{color:#64748b;font-size:11px}
.layout-modern .age-result-placeholder p{text-align:center}
.layout-modern .age-calculator-form:has(.age-result:not([hidden])) .age-result-placeholder{display:none}
.layout-modern .editorial-content-grid{grid-template-columns:minmax(0,1fr) 280px;gap:26px}
.layout-modern .generated-article-card{padding:34px!important;border:1px solid #e1e8f1!important;border-radius:22px!important;background:#fff;box-shadow:0 16px 50px rgba(15,42,90,.06)!important}
.layout-modern .generated-article-header{border-bottom:0}
.layout-modern .generated-article-header h2{font-size:clamp(1.8rem,3vw,2.45rem)!important}
.layout-modern .generated-article-nav{position:static;display:flex;flex-wrap:wrap;gap:7px;margin:15px 0 22px}
.layout-modern .generated-article-nav a{padding:8px 11px;border:1px solid #e1e8f1;border-radius:999px;background:#f8fafc;color:#53657d;font-size:11px}
.layout-modern .editorial-related-tools{display:grid;border-radius:18px;box-shadow:0 14px 40px rgba(15,42,90,.06)}
.layout-modern .editorial-related-tools a{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:8px}
.layout-modern .editorial-related-tools a i{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;background:#edf4ff;font-style:normal}
.layout-modern .site-footer{background:#0b1730}

/* Compact Workspace: dense productivity layout */
body.layout-compact{background:#f2f5f9;color:#14213d}
.layout-compact .site-header{height:60px;border-bottom:1px solid #dfe5ed;background:#fff}
.layout-compact .nav-wrap{max-width:1500px}
.layout-compact .brand img{height:30px}
.layout-compact .compact-header-search{max-width:430px;border-radius:9px;background:#f7f9fc}
.layout-compact .header-search-icon{display:none}
.layout-compact .tool-breadcrumb{max-width:1500px;padding-block:10px;font-size:11px}
.layout-compact .tool-head-v6{padding:8px 0 10px;background:#f2f5f9}
.layout-compact .tool-head-card{display:grid;grid-template-columns:54px minmax(0,1fr) auto;max-width:1500px!important;gap:14px;padding:16px 18px!important;border:1px solid #dfe5ed;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.045)}
.layout-compact .tool-title-icon{display:grid!important;width:50px!important;height:50px!important;margin:0!important;border-radius:11px}
.layout-compact .tool-title-copy .eyebrow{font-size:9px}
.layout-compact .tool-title-copy h1{margin:1px 0 2px!important;font-size:clamp(1.6rem,2.4vw,2.05rem)!important}
.layout-compact .tool-hero-subtitle{display:inline;margin:0 8px 0 0;font-size:13px}
.layout-compact .tool-title-copy>p{display:inline;color:#64748b;font-size:12px!important}
.layout-compact .tool-hero-highlights,.layout-compact .tool-head-meta{display:none}
.layout-compact .tool-hero-actions{grid-column:3;grid-row:1;align-self:center;display:flex;margin:0}
.layout-compact .tool-hero-actions .btn{padding:9px 12px;font-size:11px}
.layout-compact .tool-hero-actions [data-favorite-tool]{display:none}
.layout-compact .tool-stage{padding:6px 0 24px}
.layout-compact .tool-stage-grid{max-width:1500px;grid-template-columns:210px minmax(0,1fr) 230px;gap:12px}
.layout-compact .tool-workspace{padding:0!important;border:1px solid #dfe5ed!important;border-radius:12px!important;box-shadow:0 8px 24px rgba(15,23,42,.045)!important}
.layout-compact .tool-workspace-header{padding:17px 19px!important}
.layout-compact .tool-workspace-header h2{font-size:18px}
.layout-compact .premium-tool-runtime{padding:19px!important;border-top:0}
.layout-compact .premium-tool-runtime input,.layout-compact .premium-tool-runtime select,.layout-compact .premium-tool-runtime textarea{min-height:44px!important;border-radius:8px!important;padding:10px 12px!important}
.layout-compact .tool-side-card,.layout-compact .compact-utility-panel section{border-color:#dfe5ed;box-shadow:0 6px 18px rgba(15,23,42,.035)}
.layout-compact .age-result-placeholder{margin-top:12px;padding:12px;border:1px solid #e2e7ee;border-radius:9px;background:#f8fafc}
.layout-compact .age-result-placeholder>strong{font-size:13px}
.layout-compact .age-result-placeholder>div{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:8px}
.layout-compact .age-result-placeholder span{display:grid;text-align:center}
.layout-compact .age-result-placeholder small,.layout-compact .age-result-placeholder p{color:#64748b;font-size:10px}
.layout-compact .age-result-placeholder p{margin-bottom:0;text-align:center}
.layout-compact .age-calculator-form:has(.age-result:not([hidden])) .age-result-placeholder{display:none}
.layout-compact .generated-tool-article{padding:20px 0 28px}
.layout-compact .editorial-content-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:14px}
.layout-compact .editorial-content-nav{display:grid;position:sticky;top:72px;border:1px solid #dfe5ed;border-radius:10px;background:#fff;overflow:hidden}
.layout-compact .editorial-content-nav strong{padding:13px;border-bottom:1px solid #e7ebf1;font-size:14px}
.layout-compact .editorial-content-nav a{padding:9px 12px;border-bottom:1px solid #eef1f5;color:#536173;font-size:11px}
.layout-compact .generated-article-card{max-width:none;padding:24px!important;border:1px solid #dfe5ed!important;border-radius:10px!important;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04)!important}
.layout-compact .generated-article-header h2{font-size:1.8rem!important}
.layout-compact .generated-article-nav,.layout-compact .editorial-related-tools{display:none}
.layout-compact .generated-article-section h2{font-size:20px}
.layout-compact .generated-article-section p,.layout-compact .generated-article-section li{font-size:13px;line-height:1.6}
.layout-compact .site-footer{padding-top:30px}

@media(max-width:1180px){
 .layout-modern .tool-above-fold-modern{grid-template-columns:1fr;max-width:900px}
 .layout-modern .tool-above-fold-modern .tool-head-card,.layout-modern .tool-above-fold-modern .tool-workspace{min-height:auto}
 .layout-compact .tool-stage-grid{grid-template-columns:190px minmax(0,1fr);grid-template-areas:"side workspace" "utility utility"}
 .layout-compact .compact-utility-panel{position:static;grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
 .layout-modern .header-search-icon,.layout-compact .header-search-icon{display:none}
 .layout-modern .tool-above-fold-modern{margin-inline:12px;padding-top:5px}
 .layout-modern .tool-above-fold-modern .tool-head-card{padding:24px!important;border-radius:20px}
 .layout-modern .tool-title-icon{width:54px!important;height:54px!important;margin-bottom:13px!important}
 .layout-modern .tool-title-copy h1{font-size:clamp(2rem,10vw,2.65rem)!important}
 .layout-modern .tool-hero-subtitle{font-size:16px}
 .layout-modern .tool-head-meta{gap:6px}
 .layout-modern .tool-hero-actions{grid-template-columns:1fr}
 .layout-modern .tool-above-fold-modern .tool-workspace{border-radius:20px!important}
 .layout-modern .premium-tool-runtime{padding:18px!important}
 .layout-modern .editorial-content-grid{display:block}
 .layout-modern .editorial-related-tools{display:none}
 .layout-compact .tool-head-card{grid-template-columns:1fr;padding:14px!important}
 .layout-compact .tool-title-icon{display:none!important}
 .layout-compact .tool-title-copy>p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
 .layout-compact .tool-hero-actions{display:none}
 .layout-compact .tool-stage-grid{display:block}
 .layout-compact .tool-side-panel{display:none}
 .layout-compact .compact-utility-panel{display:none}
 .layout-compact .premium-tool-runtime{padding:15px!important}
 .layout-compact .editorial-content-grid{display:block}
 .layout-compact .editorial-content-nav{position:static;margin-bottom:12px}
 .layout-compact .generated-article-card{padding:18px!important}
}

/* v15.2.0 — Editorial clean rebuild */
body.layout-editorial{background:#f5f6f8}
.layout-editorial main{background:#fff}
.layout-editorial .site-header{position:relative;height:62px;background:#fff;box-shadow:none}
.layout-editorial .nav-wrap{max-width:1240px}
.layout-editorial .brand img{height:32px;max-width:195px}
.layout-editorial .main-navigation>.nav-item>a,.layout-editorial .main-navigation>a{padding-inline:16px;font-size:12px}
.layout-editorial .tool-page{overflow:hidden;background:#fff}
.layout-editorial .tool-breadcrumb{max-width:1240px;padding-block:12px;border-bottom:1px solid #edf0f4}
.layout-editorial .tool-head-v6,.layout-editorial .tool-page-age-calculator .tool-head-v6{padding:24px 0 17px!important;background:
 radial-gradient(circle at 5% 12%,rgba(37,99,235,.07),transparent 22%),
 radial-gradient(circle at 96% 80%,rgba(14,165,233,.07),transparent 20%),
 #fff}
.layout-editorial .tool-head-card,.layout-editorial .tool-page-age-calculator .tool-head-card{max-width:900px!important;padding:0!important}
.layout-editorial .tool-title-copy .eyebrow{padding:4px 9px;border-radius:4px;background:#f1f5ff;color:#1748ba}
.layout-editorial .tool-title-copy h1,.layout-editorial .tool-page-age-calculator .tool-title-copy h1{margin:8px 0 3px!important;font-size:clamp(2.6rem,4vw,3.35rem)!important;line-height:1}
.layout-editorial .tool-hero-subtitle{margin-bottom:9px;font-size:17px}
.layout-editorial .tool-title-copy>p,.layout-editorial .tool-page-age-calculator .tool-title-copy>p{max-width:720px!important;-webkit-line-clamp:2;font-size:12px!important;line-height:1.6}
.layout-editorial .tool-head-meta{gap:8px!important;margin-top:11px!important}
.layout-editorial .tool-head-meta span{font-size:11px}
.layout-editorial .tool-stage,.layout-editorial .tool-page-age-calculator .tool-stage{padding:0 0 28px!important;background:#fff}
.layout-editorial .tool-stage-grid{max-width:1240px}
.layout-editorial .tool-workspace{padding:18px!important;border-color:#dfe4ec!important;border-radius:9px!important;box-shadow:0 9px 28px rgba(15,23,42,.065)!important}
.layout-editorial .age-calculator-form{grid-template-columns:minmax(190px,1fr) minmax(190px,1fr) 150px minmax(310px,1.25fr)!important;gap:10px 20px!important}
.layout-editorial .age-calculator-form>.form-grid label{gap:7px;color:#182238;font-size:12px}
.layout-editorial .age-calculator-form>.form-grid input{height:44px!important;border-color:#d7dde7!important;border-radius:6px!important;font-size:14px!important}
.layout-editorial .age-calculator-form>.button-row button{height:44px!important;border-radius:6px!important;font-size:13px}
.layout-editorial .age-result-placeholder{min-height:70px;padding-left:20px;border-left-color:#e2e7ee}
.layout-editorial .age-result-placeholder>strong{margin-bottom:8px;font-size:14px}
.layout-editorial .age-result-placeholder b{font-size:16px}
.layout-editorial .age-result-placeholder small,.layout-editorial .age-result-placeholder p{font-size:10px}
.layout-editorial .generated-tool-article{padding:28px 0 36px!important;border-top:1px solid #edf0f4;background:#fafbfc}
.layout-editorial .generated-tool-article .compact-content-layout{max-width:1120px}
.layout-editorial .editorial-content-grid{grid-template-columns:180px minmax(0,1fr) 245px;gap:22px}
.layout-editorial .editorial-content-nav,.layout-editorial .editorial-related-tools{top:18px;border-color:#dfe4ec;border-radius:8px;box-shadow:0 5px 16px rgba(15,23,42,.035)}
.layout-editorial .editorial-content-nav strong,.layout-editorial .editorial-related-tools>strong{padding:14px;font-size:16px}
.layout-editorial .editorial-content-nav a{padding:10px 13px;font-size:11px;line-height:1.45}
.layout-editorial .generated-article-card{padding:20px!important;border:1px solid #dfe4ec!important;border-radius:8px!important;background:#fff;box-shadow:0 5px 16px rgba(15,23,42,.035)!important}
.layout-editorial .generated-article-intro{margin:0 0 7px;font-family:inherit;font-size:13px;line-height:1.7}
.layout-editorial .generated-article-section{padding:15px 0}
.layout-editorial .generated-article-section h2{margin-bottom:8px;font-size:21px!important;line-height:1.25}
.layout-editorial .generated-article-section p,.layout-editorial .generated-article-section li{font-size:12px;line-height:1.65}
.layout-editorial .generated-article-steps,.layout-editorial .generated-article-list{margin-block:7px}
.layout-editorial .generated-article-faq summary{min-height:40px;padding:9px 12px;font-size:11px}
.layout-editorial .editorial-related-tools a{padding:10px 12px;font-size:11px}

@media(min-width:769px) and (max-width:1080px){
 .layout-editorial .tool-stage-grid{max-width:920px}
 .layout-editorial .age-calculator-form{grid-template-columns:1fr 1fr 145px!important}
 .layout-editorial .age-result-placeholder,.layout-editorial .age-calculator-form>.age-result{grid-column:1/4!important;grid-row:3!important;margin-top:4px!important;padding:14px 0 0!important;border-top:1px solid #e2e7ee!important;border-left:0!important}
 .layout-editorial .editorial-content-grid{grid-template-columns:170px minmax(0,1fr)}
 .layout-editorial .editorial-related-tools{display:none}
}

@media(max-width:768px){
 body.layout-editorial{background:#fff}
 .layout-editorial .site-header{position:sticky;height:58px}
 .layout-editorial .nav-wrap{width:calc(100% - 28px)}
 .layout-editorial .brand img{height:28px;max-width:168px}
 .layout-editorial .tool-breadcrumb{width:calc(100% - 28px);padding-block:10px;font-size:10px}
 .layout-editorial .tool-head-v6,.layout-editorial .tool-page-age-calculator .tool-head-v6{padding:18px 0 14px!important}
 .layout-editorial .tool-head-card,.layout-editorial .tool-page-age-calculator .tool-head-card{width:calc(100% - 28px)!important;padding:0!important}
 .layout-editorial .tool-title-copy h1,.layout-editorial .tool-page-age-calculator .tool-title-copy h1{font-size:clamp(2rem,10vw,2.65rem)!important}
 .layout-editorial .tool-hero-subtitle{font-size:15px}
 .layout-editorial .tool-title-copy>p,.layout-editorial .tool-page-age-calculator .tool-title-copy>p{max-width:36ch!important;-webkit-line-clamp:3;font-size:11px!important;line-height:1.55}
 .layout-editorial .tool-head-meta{display:flex!important;flex-wrap:wrap;gap:4px 8px!important}
 .layout-editorial .tool-head-meta span{font-size:10px}
 .layout-editorial .tool-stage,.layout-editorial .tool-page-age-calculator .tool-stage{padding:0 0 22px!important}
 .layout-editorial .tool-stage-grid{width:calc(100% - 24px)}
 .layout-editorial .tool-workspace{padding:14px!important;border-radius:8px!important}
 .layout-editorial .age-calculator-form{display:block!important}
 .layout-editorial .age-calculator-form>.form-grid{display:grid!important;grid-template-columns:1fr!important;gap:11px}
 .layout-editorial .age-calculator-form>.button-row{display:grid!important;grid-template-columns:1fr!important;margin-top:11px}
 .layout-editorial .age-calculator-form>.button-row button{width:100%}
 .layout-editorial .age-result-placeholder,.layout-editorial .age-calculator-form>.age-result{margin-top:15px!important;padding:14px 0 0!important;border-top:1px solid #e2e7ee!important;border-left:0!important}
 .layout-editorial .age-result-placeholder>div{grid-template-columns:repeat(4,minmax(0,1fr))}
 .layout-editorial .generated-tool-article{padding:18px 0 26px!important}
 .layout-editorial .generated-tool-article .compact-content-layout{width:calc(100% - 28px)}
 .layout-editorial .editorial-content-grid{display:flex!important;flex-direction:column;gap:13px}
 .layout-editorial .editorial-content-nav{position:static;width:100%;margin:0;order:0}
 .layout-editorial .editorial-content-nav a{display:none}
 .layout-editorial .generated-article-card{order:1;padding:17px!important}
 .layout-editorial .generated-article-intro{font-size:12px;line-height:1.65}
 .layout-editorial .generated-article-section{padding:13px 0}
 .layout-editorial .generated-article-section h2{font-size:19px!important}
 .layout-editorial .generated-article-section p,.layout-editorial .generated-article-section li{font-size:12px;line-height:1.6}
 .layout-editorial .editorial-related-tools{display:none}
}

@media(max-width:390px){
 .layout-editorial .tool-head-meta i{display:none}
 .layout-editorial .tool-head-meta{max-width:280px;margin-inline:auto}
 .layout-editorial .age-result-placeholder>div{gap:3px}
 .layout-editorial .age-result-placeholder b{font-size:14px}
 .layout-editorial .age-result-placeholder small{font-size:9px}
}

/* v15.2.1 — physical mobile device safeguard
   Some Android browsers expose a desktop-like CSS viewport. */
@media (hover:none) and (pointer:coarse) and (max-width:1200px){
 body.layout-editorial{background:#fff;font-size:16px}
 .layout-editorial .site-header{position:sticky!important;top:0;height:60px!important}
 .layout-editorial .nav-wrap{width:calc(100% - 28px)!important;max-width:none}
 .layout-editorial .brand img{width:auto!important;height:29px!important;max-width:170px!important}
 .layout-editorial .main-navigation,.layout-editorial .header-search-icon{display:none!important}
 .layout-editorial .mobile-menu-toggle{display:flex!important}
 .layout-editorial .mobile-navigation:not([hidden]){display:block!important}
 .layout-editorial .editorial-category-strip{display:none!important}
 .layout-editorial .tool-breadcrumb{width:calc(100% - 28px)!important;max-width:none;padding-block:10px!important;font-size:11px!important}
 .layout-editorial .tool-head-v6,.layout-editorial .tool-page-age-calculator .tool-head-v6{padding:18px 0 14px!important}
 .layout-editorial .tool-head-card,.layout-editorial .tool-page-age-calculator .tool-head-card{width:calc(100% - 28px)!important;max-width:none!important;padding:0!important}
 .layout-editorial .tool-title-copy h1,.layout-editorial .tool-page-age-calculator .tool-title-copy h1{font-size:clamp(2rem,8.5vw,2.7rem)!important;line-height:1.05!important}
 .layout-editorial .tool-hero-subtitle{font-size:16px!important}
 .layout-editorial .tool-title-copy>p,.layout-editorial .tool-page-age-calculator .tool-title-copy>p{max-width:38ch!important;-webkit-line-clamp:3;font-size:12px!important;line-height:1.6!important}
 .layout-editorial .tool-head-meta{display:flex!important;flex-wrap:wrap;gap:5px 8px!important}
 .layout-editorial .tool-head-meta span{font-size:10px!important}
 .layout-editorial .tool-stage,.layout-editorial .tool-page-age-calculator .tool-stage{padding:0 0 22px!important}
 .layout-editorial .tool-stage-grid{display:block!important;width:calc(100% - 24px)!important;max-width:none!important}
 .layout-editorial .tool-side-panel,.layout-editorial .compact-utility-panel{display:none!important}
 .layout-editorial .tool-workspace{width:100%!important;padding:14px!important;border-radius:9px!important}
 .layout-editorial .premium-tool-runtime{width:100%!important;padding:0!important}
 .layout-editorial .premium-tool-runtime form,.layout-editorial .premium-tool-runtime>div{max-width:100%!important}
 .layout-editorial .premium-tool-runtime .form-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
 .layout-editorial .premium-tool-runtime label{width:100%!important;font-size:13px!important}
 .layout-editorial .premium-tool-runtime input,.layout-editorial .premium-tool-runtime select,.layout-editorial .premium-tool-runtime textarea{width:100%!important;min-width:0!important;min-height:48px!important;font-size:16px!important}
 .layout-editorial .premium-tool-runtime .button-row,.layout-editorial .age-calculator-form>.button-row{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin-top:12px!important}
 .layout-editorial .premium-tool-runtime .button-row button{width:100%!important}
 .layout-editorial .age-calculator-form{display:block!important}
 .layout-editorial .age-calculator-form>.form-grid{display:grid!important;grid-template-columns:1fr!important}
 .layout-editorial .age-result-placeholder,.layout-editorial .age-calculator-form>.age-result{width:100%!important;margin-top:15px!important;padding:15px 0 0!important;border-top:1px solid #e2e7ee!important;border-left:0!important}
 .layout-editorial .age-result-placeholder>div{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .layout-editorial .result-box{width:100%!important;min-height:74px!important;margin-top:14px!important}
 .layout-editorial .generated-tool-article{padding:18px 0 26px!important}
 .layout-editorial .generated-tool-article .compact-content-layout{width:calc(100% - 28px)!important;max-width:none!important}
 .layout-editorial .editorial-content-grid{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:13px!important}
 .layout-editorial .editorial-content-nav{position:static!important;width:100%!important;margin:0!important;order:0}
 .layout-editorial .editorial-content-nav a{display:none!important}
 .layout-editorial .editorial-related-tools{display:none!important}
 .layout-editorial .generated-article-card{order:1;width:100%!important;padding:17px!important}
 .layout-editorial .generated-article-intro{font-size:14px!important;line-height:1.7!important}
 .layout-editorial .generated-article-section{padding:14px 0!important}
 .layout-editorial .generated-article-section h2{font-size:21px!important;line-height:1.25!important}
 .layout-editorial .generated-article-section p,.layout-editorial .generated-article-section li{font-size:14px!important;line-height:1.7!important}
 .layout-editorial .generated-article-faq summary{font-size:13px!important}
 .layout-editorial .footer-grid{grid-template-columns:1fr!important}
}

/* v16.0.0 — Universal responsive tool template */
.tool-page,.tool-page *{box-sizing:border-box}
.tool-page{--tool-page-max:1240px;--tool-content-max:1160px;--tool-line:#dfe5ed;--tool-soft:#f7f9fc;--tool-ink:#101a33;--tool-muted:#62708a}
.tool-page .tool-breadcrumb{width:min(calc(100% - 40px),var(--tool-page-max));max-width:none;margin-inline:auto}
.tool-page .tool-head-card{width:min(calc(100% - 40px),920px);max-width:none!important;margin-inline:auto}
.tool-page .tool-title-copy>p{max-width:72ch!important}
.tool-page .tool-stage-grid{width:min(calc(100% - 40px),var(--tool-page-max));max-width:none;margin-inline:auto}
.tool-page .tool-workspace{width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:20px!important;overflow:visible;background:#fff}
.tool-page .premium-tool-runtime{width:100%;padding:0!important}
.tool-page .tk-hd-form.tk-tool-form-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:22px;align-items:stretch}
.tool-page .tk-tool-form-controls{display:grid;align-content:start;gap:16px;min-width:0}
.tool-page .tk-tool-form-controls>.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}
.tool-page .tk-tool-form-controls>.form-grid:has(>label:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}
.tool-page .tk-tool-form-controls label{display:grid;align-content:start;gap:7px;min-width:0;margin:0;color:#27344c;font-size:13px;font-weight:700}
.tool-page .tk-tool-form-controls input,.tool-page .tk-tool-form-controls select,.tool-page .tk-tool-form-controls textarea{width:100%;min-width:0;min-height:46px!important;padding:11px 13px!important;border:1px solid #d5dde8!important;border-radius:8px!important;background:#fff!important;font-size:15px!important}
.tool-page .tk-tool-form-controls textarea{min-height:128px!important;resize:vertical}
.tool-page .tk-tool-form-controls .button-row{display:flex;flex-wrap:wrap;gap:9px;margin:2px 0 0}
.tool-page .tk-tool-form-controls .button-row button{min-width:120px;min-height:44px!important;border-radius:8px!important}
.tool-page .tk-tool-form-controls .tk-tool-status:empty{display:none}
.tool-page .tk-tool-form-controls .tk-tool-status:not(:empty){margin:0}
.tool-page .tk-tool-form-layout>:is(.tk-hd-result,.tk-result){display:grid!important;align-content:center;min-width:0;min-height:132px!important;margin:0!important;padding:18px!important;border:1px solid #dfe6ef!important;border-radius:9px!important;background:linear-gradient(145deg,#f8fbff,#f4f7fb)!important;box-shadow:none!important}
.tool-page .tk-tool-form-layout>:is(.tk-hd-result,.tk-result):before{display:none!important}
.tool-page .tk-result-empty{display:grid;place-items:center;gap:6px;min-height:72px;color:#7a879b;text-align:center}
.tool-page .tk-result-empty span{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:#e9f1ff;color:var(--primary);font-size:15px}
.tool-page .tk-result-empty p{margin:0;font-size:12px}
.tool-page .tk-tool-form-layout>:is(.tk-hd-result,.tk-result):not(.is-empty){align-content:start;border-color:color-mix(in srgb,var(--primary) 25%,#dfe6ef)!important;background:#fff!important}
.tool-page .tk-tool-form-layout>:is(.tk-hd-result,.tk-result) .big-result{margin:0 0 5px;font-size:clamp(1.8rem,3vw,2.5rem)}
.tool-page .tk-tool-form-layout>:is(.tk-hd-result,.tk-result) .result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tool-page .tk-upload-zone{min-height:190px!important}
.tool-page .generated-tool-article{padding:32px 0 40px!important}
.tool-page .generated-tool-article .compact-content-layout{width:min(calc(100% - 40px),var(--tool-content-max))!important;max-width:none!important}
.tool-page .editorial-content-grid{display:grid!important;grid-template-columns:190px minmax(0,1fr) 250px!important;gap:22px!important;align-items:start}
.tool-page .editorial-content-nav,.tool-page .editorial-related-tools{position:sticky;top:18px;border:1px solid var(--tool-line);border-radius:9px;background:#fff;overflow:hidden}
.tool-page .editorial-content-nav strong,.tool-page .editorial-related-tools>strong{padding:14px 15px;font-size:16px}
.tool-page .editorial-content-nav a{padding:10px 13px;font-size:11px;line-height:1.45}
.tool-page .editorial-related-tools a{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 12px;font-size:11px}
.tool-page .editorial-related-tools a i{display:grid;width:30px;height:30px;place-items:center;border-radius:7px;background:#edf3ff;font-style:normal}
.tool-page .generated-article-card{min-width:0;padding:22px!important;border:1px solid var(--tool-line)!important;border-radius:9px!important;background:#fff!important;box-shadow:0 6px 20px rgba(15,23,42,.04)!important}
.tool-page .generated-article-intro{max-width:70ch!important;margin:0 0 4px!important;padding:0!important;font-family:inherit!important;font-size:14px!important;line-height:1.72!important}
.tool-page .generated-article-section{padding:16px 0!important}
.tool-page .generated-article-section h2{margin:0 0 9px!important;padding-left:11px!important;border-left:3px solid var(--primary);font-size:21px!important;line-height:1.28!important}
.tool-page .generated-article-section h2:before{display:none!important}
.tool-page .generated-article-section p,.tool-page .generated-article-section li{font-size:13px!important;line-height:1.72!important}
.tool-page .generated-article-examples p{padding:12px 14px!important}
.tool-page .generated-article-faq summary{min-height:42px;padding:10px 13px!important;font-size:12px!important}
.tool-page .generated-article-faq details p{padding:0 13px 13px!important;font-size:12px!important}

/* Age Calculator retains its dedicated horizontal result composition. */
.tool-page-age-calculator .age-calculator-form{min-height:0!important}
.tool-page-age-calculator .age-result-placeholder{min-height:86px}

@media(max-width:1100px){
 .tool-page .tool-head-card{width:min(calc(100% - 36px),880px)}
 .tool-page .tool-stage-grid{width:min(calc(100% - 36px),920px)}
 .tool-page .tk-hd-form.tk-tool-form-layout{grid-template-columns:1fr}
 .tool-page .tk-tool-form-layout>:is(.tk-hd-result,.tk-result){min-height:96px!important}
 .tool-page .editorial-content-grid{grid-template-columns:1fr!important}
 .tool-page .editorial-content-nav{position:static;display:flex!important;flex-wrap:wrap;margin:0!important}
 .tool-page .editorial-content-nav strong{width:100%}
 .tool-page .editorial-content-nav a{display:block!important;flex:1 1 180px;border-right:1px solid var(--tool-line)}
 .tool-page .editorial-related-tools{position:static;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}
 .tool-page .editorial-related-tools>strong{grid-column:1/-1}
}

@media(max-width:760px){
 .site-header{box-sizing:border-box}
 .tool-page{--tool-page-max:100%;--tool-content-max:100%}
 .tool-page .tool-breadcrumb{width:calc(100% - 28px);padding-block:10px!important;font-size:10px!important}
 .tool-page .tool-head-v6{padding:17px 0 13px!important}
 .tool-page .tool-head-card{width:calc(100% - 28px)!important;padding:0!important}
 .tool-page .tool-title-copy h1{font-size:clamp(2rem,9.5vw,2.65rem)!important}
 .tool-page .tool-hero-subtitle{font-size:15px!important}
 .tool-page .tool-title-copy>p{max-width:39ch!important;font-size:12px!important;line-height:1.58!important;-webkit-line-clamp:3!important}
 .tool-page .tool-head-meta{gap:4px 8px!important}
 .tool-page .tool-head-meta span{font-size:10px!important}
 .tool-page .tool-stage{padding:0 0 22px!important}
 .tool-page .tool-stage-grid{width:calc(100% - 24px)!important}
 .tool-page .tool-workspace{padding:14px!important;border-radius:9px!important}
 .tool-page .tk-hd-form.tk-tool-form-layout{display:grid!important;grid-template-columns:1fr!important;gap:13px}
 .tool-page .tk-tool-form-controls{gap:12px}
 .tool-page .tk-tool-form-controls>.form-grid,.tool-page .tk-tool-form-controls>.form-grid:has(>label:nth-child(3)){grid-template-columns:1fr!important;gap:11px}
 .tool-page .tk-tool-form-controls label{font-size:13px}
 .tool-page .tk-tool-form-controls input,.tool-page .tk-tool-form-controls select,.tool-page .tk-tool-form-controls textarea{min-height:48px!important;font-size:16px!important}
 .tool-page .tk-tool-form-controls .button-row{display:grid;grid-template-columns:1fr;gap:8px}
 .tool-page .tk-tool-form-controls .button-row button{width:100%;min-width:0}
 .tool-page .tk-tool-form-layout>:is(.tk-hd-result,.tk-result){min-height:82px!important;padding:14px!important}
 .tool-page .tk-upload-zone{min-height:165px!important}
 .tool-page .generated-tool-article{padding:18px 0 26px!important}
 .tool-page .generated-tool-article .compact-content-layout{width:calc(100% - 28px)!important}
 .tool-page .editorial-content-grid{display:flex!important;flex-direction:column!important;gap:13px!important}
 .tool-page .editorial-content-nav{display:grid!important;position:static;width:100%;order:0}
 .tool-page .editorial-content-nav strong{width:auto}
 .tool-page .editorial-content-nav a{display:none!important}
 .tool-page .generated-article-card{order:1;width:100%;padding:17px!important}
 .tool-page .editorial-related-tools{display:grid!important;position:static;order:2;width:100%;grid-template-columns:1fr}
 .tool-page .editorial-related-tools>strong{grid-column:auto}
 .tool-page .generated-article-intro{font-size:14px!important;line-height:1.72!important}
 .tool-page .generated-article-section{padding:14px 0!important}
 .tool-page .generated-article-section h2{font-size:20px!important}
 .tool-page .generated-article-section p,.tool-page .generated-article-section li{font-size:14px!important;line-height:1.7!important}
 .tool-page .generated-article-faq summary,.tool-page .generated-article-faq details p{font-size:13px!important}
}

@media(max-width:420px){
 .tool-page .tool-head-meta i{display:none}
 .tool-page .tool-workspace{padding:12px!important}
 .tool-page .generated-article-card{padding:15px!important}
 .tool-page .editorial-related-tools a:nth-of-type(n+5){display:none}
}

/* v16.0.1 — responsive table-of-contents accordion */
.tool-page .tool-toc-toggle{
 display:flex;width:100%;min-height:48px;align-items:center;gap:12px;padding:13px 15px;
 border:0;border-bottom:1px solid var(--tool-line);background:#fff;color:var(--tool-ink);
 font:inherit;font-size:16px;font-weight:800;text-align:left;cursor:default
}
.tool-page .tool-toc-toggle span{min-width:0;flex:1}
.tool-page .tool-toc-toggle b{margin-left:auto;color:var(--primary);font-size:19px;line-height:1;transition:transform .2s ease}
.tool-page .tool-toc-links{display:grid}
.tool-page .tool-toc-links a{
 display:block!important;padding:10px 13px;border-bottom:1px solid #edf0f4;
 color:#46536a;font-size:11px;line-height:1.45;text-align:left
}
.tool-page .tool-toc-links a:last-child{border-bottom:0}
.tool-page .tool-toc-links a:hover,.tool-page .tool-toc-links a:focus-visible{background:#f5f8ff;color:var(--primary)}

@media(min-width:761px) and (max-width:1100px){
 .tool-page .tool-toc-links{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .tool-page .tool-toc-links a{min-height:44px;border-right:1px solid var(--tool-line)}
}

@media(max-width:760px), (hover:none) and (pointer:coarse) and (max-width:1200px){
 .tool-page .editorial-content-nav{display:grid!important;position:static!important;width:100%!important}
 .tool-page .tool-toc-toggle{min-height:52px;cursor:pointer}
 .tool-page .tool-toc-links{display:none!important;grid-template-columns:1fr!important;width:100%}
 .tool-page .editorial-content-nav.is-open .tool-toc-links{display:grid!important}
 .tool-page .editorial-content-nav.is-open .tool-toc-toggle b{transform:rotate(180deg)}
 .tool-page .tool-toc-links a{
  display:block!important;min-height:48px;padding:13px 15px!important;border-right:0!important;
  font-size:13px!important;line-height:1.5!important;text-align:left!important
 }
}

@media(prefers-reduced-motion:reduce){
 .tool-page .tool-toc-toggle b{transition:none}
}

/* v16.1.0 — reference-matched editorial tool page */
.layout-editorial .tool-page{
 --tool-page-max:1280px;
 --tool-content-max:1280px;
 --tool-line:#dfe4ec;
 --tool-ink:#101c3a;
 background:#fff;
}
.layout-editorial .tool-page .tool-title-icon,
.layout-editorial .tool-page .tool-hero-actions,
.layout-editorial .tool-page .tool-workspace-header,
.layout-editorial .tool-page .tool-help-panel,
.layout-editorial .tool-page .tool-form-guidance{display:none!important}
.layout-editorial .tool-page .tool-head-card{display:flex!important;flex-direction:column;align-items:center;text-align:center}
.layout-editorial .tool-page .tool-title-copy{display:flex;flex-direction:column;align-items:center;width:100%}
.layout-editorial .tool-page .tool-title-copy .eyebrow{order:0}
.layout-editorial .tool-page .tool-title-copy h1{order:1;max-width:920px;margin:8px auto 4px;text-align:center}
.layout-editorial .tool-page .tool-hero-subtitle{order:2;margin:0 auto 7px;text-align:center}
.layout-editorial .tool-page .tool-title-copy>p{order:3;max-width:780px;margin:0 auto;text-align:center}
.layout-editorial .tool-page .tool-head-meta{width:100%;justify-content:center;text-align:center}
.layout-editorial .tool-page .tool-stage-grid{display:block!important}
.layout-editorial .tool-page .tool-workspace{width:100%;max-width:1280px;margin-inline:auto}
.layout-editorial .tool-page .premium-tool-runtime{width:100%;min-width:0}
.layout-editorial .tool-page .tk-hd-form:not(.age-calculator-form){display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:20px;align-items:start}
.layout-editorial .tool-page .tk-hd-form:not(.age-calculator-form)>.form-grid,
.layout-editorial .tool-page .tk-hd-form:not(.age-calculator-form)>.button-row,
.layout-editorial .tool-page .tk-hd-form:not(.age-calculator-form)>.field-hint-row,
.layout-editorial .tool-page .tk-hd-form:not(.age-calculator-form)>.tk-tool-status{grid-column:1}
.layout-editorial .tool-page .tk-hd-form:not(.age-calculator-form)>:is(.tk-hd-result,.tk-result,.result-box){grid-column:2;grid-row:1/8;min-height:100%;margin:0!important}
.layout-editorial .tool-page .editorial-content-nav{z-index:2}
.layout-editorial .tool-page .generated-article-card{min-width:0}
.layout-editorial .tool-page .generated-article-section p,
.layout-editorial .tool-page .generated-article-section li{overflow-wrap:anywhere}

@media(max-width:1100px){
 .layout-editorial .tool-page .tk-hd-form:not(.age-calculator-form){grid-template-columns:1fr}
 .layout-editorial .tool-page .tk-hd-form:not(.age-calculator-form)>:is(.tk-hd-result,.tk-result,.result-box){grid-column:1;grid-row:auto;min-height:120px}
}
@media(max-width:768px){
 .layout-editorial .tool-page .tool-head-card{width:calc(100% - 28px)!important}
 .layout-editorial .tool-page .tool-title-copy h1{max-width:12ch;margin-top:6px;font-size:clamp(2rem,10vw,2.65rem)!important;line-height:.98!important}
 .layout-editorial .tool-page .tool-title-copy>p{max-width:36ch;-webkit-line-clamp:4!important}
 .layout-editorial .tool-page .tool-head-meta{max-width:330px}
 .layout-editorial .tool-page .tool-workspace{border-radius:8px!important}
 .layout-editorial .tool-page .generated-article-card{padding:0!important}
 .layout-editorial .tool-page .editorial-content-nav{border-radius:7px}
}

/* v16.2.0 — Premium content flow and mobile readability */
.layout-editorial .tool-page .generated-tool-article{
 padding-top:clamp(26px,4vw,48px)!important;
 padding-bottom:clamp(42px,6vw,72px)!important;
}
.layout-editorial .tool-page .editorial-content-grid{
 grid-template-columns:190px minmax(0,1fr)!important;
 gap:22px!important;
 align-items:start!important;
}
.layout-editorial .tool-page .generated-article-card{
 grid-column:2!important;
 width:100%!important;
 padding:clamp(28px,4vw,48px)!important;
 border:1px solid var(--tool-line)!important;
 border-radius:14px!important;
 background:#fff!important;
}
.layout-editorial .tool-page .generated-article-header{
 display:block!important;
 margin:0 0 18px!important;
 padding:0 0 18px!important;
 border-bottom:1px solid var(--tool-line)!important;
 scroll-margin-top:90px;
}
.layout-editorial .tool-page .generated-article-header h2,
.layout-editorial .tool-page .generated-article-section h2{
 position:relative!important;
 display:block!important;
 padding-left:14px!important;
 border-left:4px solid var(--primary)!important;
 color:var(--tool-ink)!important;
 text-align:left!important;
}
.layout-editorial .tool-page .generated-article-header h2:before,
.layout-editorial .tool-page .generated-article-section h2:before{display:none!important}
.layout-editorial .tool-page .generated-article-intro{
 max-width:78ch!important;
 padding:0 0 8px!important;
 font-size:16px!important;
 line-height:1.85!important;
 color:#445066!important;
}
.layout-editorial .tool-page .generated-article-section{
 padding-top:30px!important;
 margin-top:8px!important;
 border-top:1px solid #edf1f6;
}
.layout-editorial .tool-page .generated-article-nav{display:none!important}
.layout-editorial .tool-page .editorial-related-tools{
 position:static!important;
 grid-column:2!important;
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 margin-top:0!important;
 border-radius:12px!important;
}
.layout-editorial .tool-page .editorial-related-tools>strong{grid-column:1/-1!important}
.layout-editorial .tool-page .editorial-related-tools a:nth-of-type(n){display:grid!important}
.layout-editorial .tool-page :is(.tk-hd-result,.tk-result,.result-box){
 border:1px solid #dfe6f0!important;
 border-radius:14px!important;
 background:linear-gradient(180deg,#fbfdff,#f6f9fd)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
}
@media(max-width:900px){
 .layout-editorial .tool-page .editorial-content-grid{display:flex!important;flex-direction:column!important;gap:16px!important}
 .layout-editorial .tool-page .editorial-content-nav{order:0!important;width:100%!important}
 .layout-editorial .tool-page .generated-article-card{order:1!important;width:100%!important;padding:26px 22px!important}
 .layout-editorial .tool-page .editorial-related-tools{order:2!important;width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:640px){
 .layout-editorial .tool-page .generated-tool-article{padding-top:24px!important}
 .layout-editorial .tool-page .generated-tool-article .compact-content-layout{width:calc(100% - 28px)!important}
 .layout-editorial .tool-page .generated-article-card{padding:24px 16px!important;border-radius:10px!important}
 .layout-editorial .tool-page .generated-article-header h2{font-size:clamp(1.45rem,7vw,1.75rem)!important;line-height:1.22!important}
 .layout-editorial .tool-page .generated-article-section h2{font-size:clamp(1.3rem,6vw,1.55rem)!important;line-height:1.28!important}
 .layout-editorial .tool-page .generated-article-intro{font-size:14px!important;line-height:1.82!important}
 .layout-editorial .tool-page .generated-article-section p,
 .layout-editorial .tool-page .generated-article-section li{font-size:13px!important;line-height:1.72!important}
 .layout-editorial .tool-page .editorial-related-tools{grid-template-columns:1fr!important}
 .layout-editorial .tool-page .editorial-related-tools>strong{grid-column:1!important}
}

/* v16.2.5 — Clean Tool Content Flow */
.tool-page .tool-stage-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"workspace"!important;max-width:980px;margin-inline:auto}
.tool-page .tool-workspace{grid-area:workspace!important}
.tool-page .tool-side-panel,.tool-page .compact-utility-panel{display:none!important}
.tool-page .tool-head-card{max-width:980px;margin-inline:auto}
.tool-page .tool-hero-highlights{display:none!important}
.tool-page .tool-experience-notes-compact{grid-template-columns:1fr!important}
.tool-page .generated-tool-article{padding-top:clamp(28px,4vw,48px)!important}
.tool-page .editorial-content-grid{grid-template-columns:190px minmax(0,1fr)!important;max-width:1120px;margin-inline:auto}
.tool-page .editorial-related-tools{display:none!important}
.tool-page .generated-article-nav{display:none!important}
.tool-page .generated-article-header{scroll-margin-top:96px}
.tool-page .related-tools{margin-top:0}
@media(max-width:900px){
 .tool-page .editorial-content-grid{display:flex!important;flex-direction:column!important;gap:14px!important}
 .tool-page .editorial-content-nav{order:0!important;width:100%!important;position:static!important}
 .tool-page .generated-article-card{order:1!important;width:100%!important}
}
@media(max-width:640px){
 .tool-page .tool-stage{padding-top:28px!important}
 .tool-page .tool-value-pills{gap:6px!important}
 .tool-page .tool-value-pills i{display:none!important}
 .tool-page .tool-value-pills span{font-size:11px!important;padding:6px 9px!important}
 .tool-page .tool-result-guidance{margin-inline:16px!important}
 .tool-page .tool-experience-notes-compact{margin-inline:16px!important}
}

/* v16.2.6 — Related Tools Restore */
.tool-page .related-tools{
 display:block!important;
 padding:clamp(36px,5vw,64px) 0!important;
 margin-top:0!important;
 border-top:1px solid #e8edf4;
 background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);
}
.tool-page .related-tools .section-head{align-items:end;gap:18px;margin-bottom:22px}
.tool-page .related-tools .tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
.tool-page .related-tools .tool-card{min-width:0;height:100%;border:1px solid #e0e7f0;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(25,45,75,.06)}
.tool-page .related-tools .tool-card h3{overflow-wrap:anywhere}
@media(max-width:900px){.tool-page .related-tools .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){
 .tool-page .related-tools{padding:32px 0!important}
 .tool-page .related-tools .section-head{align-items:flex-start;flex-direction:column;margin-bottom:16px}
 .tool-page .related-tools .tool-grid{grid-template-columns:1fr!important}
 .tool-page .related-tools .tool-card{border-radius:12px}
}

/* v17.0.0 RC2 — Premium Editorial Sidebar (RC1 stability included) */
.tool-page .editorial-content-grid{grid-template-columns:minmax(0,1fr) 280px!important;gap:24px!important;align-items:start!important}
.tool-page .editorial-sidebar{min-width:0;align-self:start;grid-column:2;grid-row:1}
.tool-page .generated-article-card{grid-column:1;grid-row:1}
.tool-page .editorial-sidebar-sticky{display:grid;gap:14px;position:sticky;top:18px}
.tool-page .editorial-content-nav{position:static!important;width:100%;border:1px solid var(--tool-line);border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.045)}
.tool-page .editorial-sidebar-card{overflow:hidden;border:1px solid var(--tool-line);border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.045)}
.tool-page .editorial-sidebar-card h3{margin:0;padding:13px 14px;border-bottom:1px solid #edf0f4;color:var(--tool-ink);font-size:14px;line-height:1.35}
.tool-page .editorial-sidebar-links{display:grid}
.tool-page .editorial-sidebar-links a{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;padding:9px 11px;border-bottom:1px solid #f0f2f6;color:#46536a;font-size:11px;line-height:1.35}
.tool-page .editorial-sidebar-links a:last-child{border-bottom:0}
.tool-page .editorial-sidebar-links a:hover{background:#f6f9ff;color:var(--primary)}
.tool-page .editorial-sidebar-links i{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;background:#edf3ff;font-style:normal;font-size:14px}
.tool-page .editorial-sidebar-links span{min-width:0;overflow-wrap:anywhere}
.tool-page .editorial-sidebar-links b{color:#9aa6b7;font-size:17px}
.tool-page .tool-toc-links a.is-active{background:#eef4ff;color:var(--primary);font-weight:800;box-shadow:inset 3px 0 0 var(--primary)}
@media(max-width:1100px){
 .tool-page .editorial-content-grid{grid-template-columns:minmax(0,1fr) 250px!important;gap:18px!important}
}
@media(max-width:900px){
 .tool-page .editorial-content-grid{display:flex!important;flex-direction:column!important;gap:14px!important}
 .tool-page .editorial-sidebar{order:0;width:100%;grid-column:auto;grid-row:auto}
 .tool-page .editorial-sidebar-sticky{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .tool-page .editorial-content-nav{grid-column:1/-1}
 .tool-page .generated-article-card{order:1!important;width:100%;grid-column:auto;grid-row:auto}
}
@media(max-width:640px){
 .tool-page .editorial-sidebar-sticky{grid-template-columns:1fr}
 .tool-page .editorial-content-nav{grid-column:auto}
 .tool-page .editorial-sidebar-card{display:none}
}


/* v17.0.0 RC3 — UX polish, reading progress, and responsive QA */
.tool-page .tool-reading-progress{position:fixed;inset:0 0 auto 0;z-index:80;height:3px;pointer-events:none;background:transparent}
.tool-page .tool-reading-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--primary),#60a5fa);box-shadow:0 1px 5px rgba(37,99,235,.28);transition:width .08s linear}
.tool-page .generated-article-card :is(h2,h3){scroll-margin-top:92px}
.tool-page .editorial-sidebar-card,.tool-page .editorial-content-nav{contain:layout paint}
.tool-page .editorial-sidebar-links a:focus-visible,.tool-page .tool-toc-links a:focus-visible{outline:3px solid rgba(37,99,235,.22);outline-offset:-3px}
.tool-page .generated-article-faq details{border:1px solid #e6ebf2;border-radius:10px;background:#fff;overflow:hidden}
.tool-page .generated-article-faq details+details{margin-top:10px}
.tool-page .generated-article-faq summary{min-height:48px;padding:13px 15px;cursor:pointer}
.tool-page .generated-article-faq details[open]{border-color:#cddcf5;box-shadow:0 8px 22px rgba(37,99,235,.06)}
.tool-page .generated-article-faq details[open] summary{background:#f6f9ff;color:var(--primary)}
.tool-page .generated-article-faq details[open] summary span{transform:rotate(45deg)}
.tool-page .generated-article-faq summary span{display:inline-block;transition:transform .18s ease}
.tool-page .tool-utility-actions:not([hidden]){display:flex!important;flex-wrap:wrap;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid #edf1f6}
.tool-page .tool-utility-actions button{min-height:42px}
@media(min-width:901px){
 .tool-page .editorial-sidebar-sticky{max-height:calc(100vh - 36px);overflow:auto;overscroll-behavior:contain;padding-right:2px;scrollbar-width:thin}
}

/* v17.0.11 — Compact Pro responsive contract
   One authoritative layer after legacy layout rules prevents removed sidebars
   from reserving empty columns at any viewport width. */
body.layout-compact{min-width:0;overflow-x:hidden}
body.layout-compact :is(main,.tool-page,.tool-above-fold,.tool-stage,.generated-tool-article){min-width:0}
body.layout-compact .container{width:min(calc(100% - 32px),1440px);max-width:none}
body.layout-compact .nav-wrap{width:min(calc(100% - 32px),1500px);min-width:0}
body.layout-compact .brand{flex:0 0 auto;min-width:0}
body.layout-compact .brand img{max-width:190px;width:auto;object-fit:contain}
body.layout-compact .compact-header-search{min-width:180px}
body.layout-compact .main-navigation{min-width:0}
body.layout-compact .header-actions{flex:0 0 auto}

body.layout-compact .tool-page{--tool-page-max:1180px;--tool-content-max:1180px}
body.layout-compact .tool-page .tool-head-card{width:min(calc(100% - 32px),1040px)!important}
body.layout-compact .tool-page .tool-stage-grid{
 display:grid!important;
 grid-template-columns:minmax(0,1fr)!important;
 grid-template-areas:"workspace"!important;
 width:min(calc(100% - 32px),1040px)!important;
 gap:0!important;
}
body.layout-compact .tool-page .tool-workspace{grid-area:workspace!important;min-width:0!important}
body.layout-compact .tool-page .tool-side-panel,
body.layout-compact .tool-page .compact-utility-panel{display:none!important}
body.layout-compact .tool-page .premium-tool-runtime{min-width:0}
body.layout-compact .tool-page .tk-hd-form.tk-tool-form-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px)}
body.layout-compact .tool-page .generated-tool-article .compact-content-layout{width:min(calc(100% - 32px),1180px)!important}
body.layout-compact .tool-page .editorial-content-grid{
 display:grid!important;
 grid-template-columns:210px minmax(0,1fr)!important;
 gap:18px!important;
}
body.layout-compact .tool-page .editorial-sidebar{grid-column:1!important;grid-row:1!important;min-width:0;width:auto!important}
body.layout-compact .tool-page .generated-article-card{grid-column:2!important;grid-row:1!important;min-width:0;width:100%!important}
body.layout-compact .tool-page .editorial-sidebar-sticky{position:sticky;top:76px}
body.layout-compact .tool-page .editorial-sidebar-card{display:none!important}
body.layout-compact .footer-grid{grid-template-columns:minmax(240px,1.35fr) repeat(3,minmax(140px,.75fr));gap:clamp(24px,3vw,52px)}
body.layout-compact .footer-grid>div{min-width:0}
body.layout-compact .footer-grid a,
body.layout-compact .footer-grid p{overflow-wrap:anywhere}

@media(min-width:1440px){
 body.layout-compact .container{width:min(calc(100% - 64px),1500px)}
 body.layout-compact .nav-wrap{width:min(calc(100% - 64px),1540px)}
 body.layout-compact .tool-page{--tool-page-max:1320px;--tool-content-max:1260px}
 body.layout-compact .tool-page .tool-head-card,
 body.layout-compact .tool-page .tool-stage-grid{width:min(calc(100% - 64px),1160px)!important}
 body.layout-compact .tool-page .generated-tool-article .compact-content-layout{width:min(calc(100% - 64px),1260px)!important}
 body.layout-compact .tool-page .editorial-content-grid{grid-template-columns:220px minmax(0,1fr)!important;gap:24px!important}
 body.layout-compact .tool-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.layout-compact .category-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
}

@media(min-width:2200px){
 body.layout-compact .container,
 body.layout-compact .nav-wrap{width:min(calc(100% - 96px),1720px)}
 body.layout-compact .tool-page{--tool-page-max:1440px;--tool-content-max:1360px}
 body.layout-compact .tool-page .tool-head-card,
 body.layout-compact .tool-page .tool-stage-grid{width:min(calc(100% - 96px),1240px)!important}
 body.layout-compact .tool-page .generated-tool-article .compact-content-layout{width:min(calc(100% - 96px),1360px)!important}
 body.layout-compact .tool-page .generated-article-card{padding:clamp(30px,2vw,42px)!important}
}

@media(min-width:901px) and (max-width:1180px){
 body.layout-compact .main-navigation{display:none!important}
 body.layout-compact .mobile-menu-toggle{display:flex!important}
 body.layout-compact .compact-header-search{display:flex;max-width:360px}
 body.layout-compact .tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.layout-compact .category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.layout-compact .tool-page .tool-head-card,
 body.layout-compact .tool-page .tool-stage-grid{width:min(calc(100% - 40px),920px)!important}
 body.layout-compact .tool-page .tk-hd-form.tk-tool-form-layout{grid-template-columns:minmax(0,1fr) minmax(260px,320px)}
 body.layout-compact .tool-page .generated-tool-article .compact-content-layout{width:min(calc(100% - 40px),960px)!important}
 body.layout-compact .tool-page .editorial-content-grid{grid-template-columns:190px minmax(0,1fr)!important;gap:16px!important}
 body.layout-compact .footer-grid{grid-template-columns:1.25fr repeat(3,minmax(120px,.75fr));gap:24px}
}

@media(min-width:769px) and (max-width:900px){
 body.layout-compact .container,
 body.layout-compact .nav-wrap{width:min(calc(100% - 40px),860px)}
 body.layout-compact .compact-header-search,
 body.layout-compact .main-navigation{display:none!important}
 body.layout-compact .mobile-menu-toggle{display:flex!important}
 body.layout-compact .tool-grid,
 body.layout-compact .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.layout-compact .hero-inner{grid-template-columns:1fr}
 body.layout-compact .hero-showcase{display:none}
 body.layout-compact .tool-page .tool-head-card,
 body.layout-compact .tool-page .tool-stage-grid{width:min(calc(100% - 40px),820px)!important}
 body.layout-compact .tool-page .tk-hd-form.tk-tool-form-layout{grid-template-columns:1fr}
 body.layout-compact .tool-page .generated-tool-article .compact-content-layout{width:min(calc(100% - 40px),840px)!important}
 body.layout-compact .tool-page .editorial-content-grid{grid-template-columns:1fr!important}
 body.layout-compact .tool-page .editorial-sidebar,
 body.layout-compact .tool-page .generated-article-card{grid-column:1!important;grid-row:auto!important}
 body.layout-compact .tool-page .editorial-sidebar-sticky{position:static}
 body.layout-compact .tool-page .editorial-content-nav{position:static}
 body.layout-compact .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 40px}
 body.layout-compact .footer-grid>div:first-child{grid-column:1/-1}
}

@media(max-width:768px){
 body.layout-compact .container,
 body.layout-compact .nav-wrap{width:calc(100% - 24px)}
 body.layout-compact .site-header{height:60px}
 body.layout-compact .brand img{max-width:155px;height:30px}
 body.layout-compact .compact-header-search,
 body.layout-compact .main-navigation,
 body.layout-compact .header-cta{display:none!important}
 body.layout-compact .mobile-menu-toggle{display:flex!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
 body.layout-compact .mobile-navigation{top:60px}
 body.layout-compact .mobile-navigation .container{width:calc(100% - 28px);padding-block:10px 16px}
 body.layout-compact .hero{padding:36px 0}
 body.layout-compact .section{padding:34px 0}
 body.layout-compact .tool-grid,
 body.layout-compact .category-grid{grid-template-columns:1fr}
 body.layout-compact .tool-page .tool-head-card,
 body.layout-compact .tool-page .tool-stage-grid{width:calc(100% - 24px)!important}
 body.layout-compact .tool-page .tool-head-card{display:block!important;padding:15px!important}
 body.layout-compact .tool-page .tool-title-icon{display:none!important}
 body.layout-compact .tool-page .tool-title-copy h1{font-size:clamp(1.75rem,8.5vw,2.35rem)!important}
 body.layout-compact .tool-page .tool-title-copy>p{display:-webkit-box;font-size:13px!important;line-height:1.6!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
 body.layout-compact .tool-page .tool-hero-actions{display:none!important}
 body.layout-compact .tool-page .tool-workspace{padding:0!important;overflow:hidden}
 body.layout-compact .tool-page .tool-workspace-header{align-items:flex-start;padding:15px!important}
 body.layout-compact .tool-page .tool-workspace-header h2{font-size:17px}
 body.layout-compact .tool-page .tool-form-guidance{margin:0 15px 12px}
 body.layout-compact .tool-page .premium-tool-runtime{padding:15px!important}
 body.layout-compact .tool-page .tk-hd-form.tk-tool-form-layout,
 body.layout-compact .tool-page .tk-tool-form-controls>.form-grid,
 body.layout-compact .tool-page .tk-tool-form-controls>.form-grid:has(>label:nth-child(3)){grid-template-columns:1fr!important}
 body.layout-compact .tool-page .tk-tool-form-controls input,
 body.layout-compact .tool-page .tk-tool-form-controls select,
 body.layout-compact .tool-page .tk-tool-form-controls textarea{font-size:16px!important}
 body.layout-compact .tool-page .age-result-placeholder>div,
 body.layout-compact .tool-page .age-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.layout-compact .tool-page .tool-utility-actions{grid-template-columns:1fr!important}
 body.layout-compact .tool-page .generated-tool-article .compact-content-layout{width:calc(100% - 24px)!important}
 body.layout-compact .tool-page .editorial-content-grid{display:flex!important;flex-direction:column!important;gap:12px!important}
 body.layout-compact .tool-page .editorial-sidebar,
 body.layout-compact .tool-page .generated-article-card{grid-column:auto!important;grid-row:auto!important;width:100%!important}
 body.layout-compact .tool-page .editorial-sidebar-sticky{position:static}
 body.layout-compact .tool-page .editorial-content-nav{position:static;margin:0!important}
 body.layout-compact .tool-page .generated-article-card{padding:16px!important}
 body.layout-compact .tool-page .generated-article-section h2{font-size:19px!important}
 body.layout-compact .footer-grid{grid-template-columns:1fr;gap:24px}
 body.layout-compact .footer-grid>div:first-child{grid-column:auto}
 body.layout-compact .footer-grid h4{margin-bottom:10px}
 body.layout-compact .copyright{text-align:center}
}

@media(max-width:420px){
 body.layout-compact .container,
 body.layout-compact .nav-wrap{width:calc(100% - 18px)}
 body.layout-compact .brand img{max-width:138px}
 body.layout-compact .tool-page .tool-breadcrumb{width:calc(100% - 18px)}
 body.layout-compact .tool-page .tool-head-card,
 body.layout-compact .tool-page .tool-stage-grid,
 body.layout-compact .tool-page .generated-tool-article .compact-content-layout{width:calc(100% - 18px)!important}
 body.layout-compact .tool-page .tool-workspace-header,
 body.layout-compact .tool-page .premium-tool-runtime{padding:12px!important}
 body.layout-compact .tool-page .tool-form-guidance{margin-inline:12px}
 body.layout-compact .tool-page .tk-tool-form-controls .button-row{grid-template-columns:1fr}
 body.layout-compact .tool-page .age-result-placeholder>div,
 body.layout-compact .tool-page .age-result-grid{grid-template-columns:1fr!important}
}

@media(orientation:landscape) and (max-height:600px) and (max-width:1000px){
 body.layout-compact .site-header{height:54px}
 body.layout-compact .mobile-navigation{top:54px;max-height:calc(100vh - 54px);overflow:auto}
 body.layout-compact .hero{padding:24px 0}
}
@media(min-width:641px) and (max-width:900px){
 .tool-page .editorial-sidebar-card.sidebar-related{display:none}
 .tool-page .editorial-sidebar-sticky{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
 .tool-page .editorial-content-nav{grid-column:1/-1}
 .tool-page .sidebar-popular{display:block}
}
@media(max-width:640px){
 .tool-page .tool-reading-progress{height:2px}
 .tool-page .generated-article-card :is(h2,h3){scroll-margin-top:72px}
 .tool-page .generated-article-faq summary{font-size:13px;line-height:1.45}
 .tool-page .tool-utility-actions:not([hidden]){display:grid!important;grid-template-columns:1fr 1fr}
 .tool-page .tool-utility-actions button:last-child:nth-child(odd){grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){
 .tool-page .tool-reading-progress span,.tool-page .generated-article-faq summary span{transition:none}
}
@media print{
 .tool-page .tool-reading-progress,.tool-page .editorial-sidebar,.tool-page .tool-utility-actions,.tool-page .related-tools{display:none!important}
 .tool-page .editorial-content-grid{display:block!important}
 .tool-page .generated-article-card{border:0!important;box-shadow:none!important;padding:0!important}
}

/* v17.0.0 Final — global tool typography and result presentation */
.tool-page{
 --tool-text-xs:.8125rem;
 --tool-text-sm:.875rem;
 --tool-text-base:1rem;
 --tool-text-lg:1.125rem;
 color:var(--tool-ink);
 font-size:var(--tool-text-base);
}
.tool-page .tool-title-copy h1{
 font-size:clamp(2.45rem,4vw,3.35rem)!important;
 line-height:1.06!important;
 text-wrap:balance;
}
.tool-page .tool-title-copy>p,
.layout-modern .tool-page .tool-title-copy>p,
.layout-compact .tool-page .tool-title-copy>p,
.layout-editorial .tool-page .tool-title-copy>p,
.layout-editorial .tool-page-age-calculator .tool-title-copy>p{
 display:block!important;
 max-width:72ch!important;
 overflow:visible!important;
 -webkit-line-clamp:unset!important;
 font-size:var(--tool-text-base)!important;
 line-height:1.68!important;
}
.tool-page .tool-head-meta span,
.layout-modern .tool-page .tool-head-meta span,
.layout-compact .tool-page .tool-head-meta span,
.layout-editorial .tool-page .tool-head-meta span,
.tool-page .workspace-kicker,
.tool-page .tool-title-copy .eyebrow{font-size:var(--tool-text-xs)!important}
.tool-page .tool-breadcrumb,
.layout-modern .tool-page .tool-breadcrumb,
.layout-compact .tool-page .tool-breadcrumb,
.layout-editorial .tool-page .tool-breadcrumb{font-size:var(--tool-text-xs)!important}
.tool-page .tool-workspace{
 min-height:0!important;
 height:auto!important;
 padding:clamp(18px,2.4vw,28px)!important;
}
.tool-page .tool-workspace-header h2{font-size:clamp(1.35rem,2vw,1.7rem)!important}
.tool-page .workspace-description,
.tool-page .tool-form-guidance p,
.tool-page .tool-result-guidance p,
.tool-page .tool-note-card p{font-size:var(--tool-text-sm)!important;line-height:1.65!important}
.tool-page .premium-tool-runtime label,
.tool-page .tk-tool-form-controls label,
.layout-editorial .tool-page .premium-tool-runtime label{font-size:var(--tool-text-sm)!important}
.tool-page .premium-tool-runtime input,
.tool-page .premium-tool-runtime select,
.tool-page .premium-tool-runtime textarea{
 min-height:48px!important;
 font-size:var(--tool-text-base)!important;
}
.tool-page .premium-tool-runtime input::placeholder,
.tool-page .premium-tool-runtime textarea::placeholder{
 overflow:hidden;
 color:#7a879a!important;
 font-size:var(--tool-text-sm)!important;
 text-overflow:ellipsis;
 opacity:1;
}
.tool-page .premium-tool-runtime button,
.tool-page .tool-utility-actions button{font-size:var(--tool-text-sm)!important;font-weight:750}
.tool-page :is(.tk-hd-result,.tk-result,.result-box){
 min-height:132px!important;
 font-size:var(--tool-text-base)!important;
 line-height:1.6!important;
}
.tool-page :is(.tk-hd-result,.tk-result,.result-box) .big-result,
.tool-page .bmi-result-enhanced>strong:first-child{
 font-size:clamp(2.25rem,5vw,3.25rem)!important;
 line-height:1.05!important;
}
.tool-page .generated-article-intro,
.layout-editorial .tool-page .generated-article-intro{
 font-size:var(--tool-text-base)!important;
 line-height:1.8!important;
}
.tool-page .generated-article-section p,
.tool-page .generated-article-section li,
.layout-editorial .tool-page .generated-article-section p,
.layout-editorial .tool-page .generated-article-section li{
 font-size:var(--tool-text-base)!important;
 line-height:1.78!important;
}
.tool-page .generated-article-faq summary,
.tool-page .generated-article-faq details p{
 font-size:var(--tool-text-base)!important;
 line-height:1.65!important;
}
.tool-page .tool-toc-links a,
.tool-page .editorial-sidebar-links a{font-size:var(--tool-text-sm)!important;line-height:1.45!important}
.tool-page .related-tools .section-head h2{font-size:clamp(1.75rem,3vw,2.25rem)!important}
.tool-page .related-tools .tool-card h3{font-size:var(--tool-text-base)!important}
.tool-page .related-tools .tool-card p{font-size:var(--tool-text-sm)!important;line-height:1.55!important}
.tool-page .related-tools .section-head h2:empty,
.tool-page section:has(>h2:empty){display:none!important}

.tool-page-bmi-calculator .bmi-result-enhanced{gap:12px!important}
.tool-page-bmi-calculator .bmi-scale{
 position:relative;
 display:grid;
 grid-template-columns:1.2fr 1.5fr 1fr 1.4fr;
 margin-top:14px;
 padding-top:13px;
 border-top:9px solid transparent;
 border-image:linear-gradient(90deg,#60a5fa 0 25%,#34d399 25% 55%,#fbbf24 55% 75%,#f87171 75%) 1;
 color:#526078;
 font-size:.75rem;
 text-align:center;
}
.tool-page-bmi-calculator .bmi-scale i{
 position:absolute;
 top:-16px;
 left:var(--bmi-position,50%);
 width:3px;
 height:16px;
 border-radius:3px;
 background:#0f172a;
 transform:translateX(-50%);
}
.tool-page-bmi-calculator .bmi-result-note{
 margin:0;
 color:#64748b;
 font-size:var(--tool-text-sm)!important;
 line-height:1.55;
}

@media(max-width:760px){
 .tool-page{--tool-text-xs:.8125rem;--tool-text-sm:.9375rem;--tool-text-base:1rem}
 .tool-page .tool-title-copy h1{font-size:clamp(2rem,9vw,2.65rem)!important}
 .tool-page .tool-title-copy>p,
 .layout-modern .tool-page .tool-title-copy>p,
 .layout-compact .tool-page .tool-title-copy>p,
 .layout-editorial .tool-page .tool-title-copy>p,
 .layout-editorial .tool-page-age-calculator .tool-title-copy>p{font-size:var(--tool-text-base)!important;line-height:1.65!important}
 .tool-page .tool-head-meta span,
 .layout-modern .tool-page .tool-head-meta span,
 .layout-compact .tool-page .tool-head-meta span,
 .layout-editorial .tool-page .tool-head-meta span{font-size:var(--tool-text-xs)!important}
 .tool-page .generated-article-section h2{font-size:clamp(1.4rem,6vw,1.7rem)!important}
 .tool-page .editorial-sidebar-card{display:none!important}
}

@media(min-width:1800px){
 .tool-page{--tool-page-max:1440px;--tool-content-max:1280px}
 .tool-page .tool-stage-grid{max-width:1120px}
 .tool-page .generated-article-card{padding:clamp(38px,3vw,56px)!important}
}

.site-header.header-is-sticky{position:sticky!important;top:0;z-index:70}
.footer-brand img{display:block;max-width:180px;max-height:44px;object-fit:contain}
.footer-brand.footer-logo-light img{filter:brightness(0) invert(1);opacity:1}
.footer-brand.footer-logo-light:not(:has(img)){color:#fff}
.footer-brand.footer-logo-badge{display:inline-flex;width:auto;max-width:100%;padding:9px 13px;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.footer-brand.footer-logo-badge img{filter:none}
.footer-brand.footer-logo-original img{filter:none}
.footer-site-name{display:block;margin-bottom:12px;color:inherit;font-size:1.1rem}

/* v17.0.8 — final theme-specific sidebar collision recovery */
@media(min-width:901px){
 body.layout-modern .tool-page .editorial-content-grid,
 body.layout-compact .tool-page .editorial-content-grid,
 body.layout-editorial .tool-page .editorial-content-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 280px!important;
  gap:24px!important;
  align-items:start!important;
 }
 body.layout-modern .tool-page .generated-article-card,
 body.layout-compact .tool-page .generated-article-card,
 body.layout-editorial .tool-page .generated-article-card{
  grid-column:1!important;
  grid-row:1!important;
  min-width:0!important;
  width:100%!important;
 }
 body.layout-modern .tool-page .editorial-sidebar,
 body.layout-compact .tool-page .editorial-sidebar,
 body.layout-editorial .tool-page .editorial-sidebar{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  width:280px!important;
 }
}

/* v17.0.11 final Compact Pro article-column precedence */
@media(min-width:901px){
 body.layout-compact .tool-page .editorial-content-grid{
  display:grid!important;
  grid-template-columns:210px minmax(0,1fr)!important;
  gap:18px!important;
 }
 body.layout-compact .tool-page .editorial-sidebar{
  grid-column:1!important;
  grid-row:1!important;
  min-width:0!important;
  width:auto!important;
 }
 body.layout-compact .tool-page .generated-article-card{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  width:100%!important;
 }
}
@media(min-width:901px) and (max-width:1180px){
 body.layout-compact .tool-page .editorial-content-grid{grid-template-columns:190px minmax(0,1fr)!important;gap:16px!important}
}
@media(min-width:1440px){
 body.layout-compact .tool-page .editorial-content-grid{grid-template-columns:220px minmax(0,1fr)!important;gap:24px!important}
}
