/* Site header + SEO content for /tool/ (scoped; the tool keeps its own styles) */
#cd-site-head,.cd-seo{--ink:#18202f;--muted:#5b6475;--line:#e6e9f0;--stamp:#4338ca;--stamp-deep:#3730a3;--stamp-soft:#eef0ff;--r:14px;--shadow:0 1px 2px rgba(16,24,40,.05),0 6px 20px rgba(16,24,40,.06);font-family:"Source Sans 3","Noto Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink)}
#cd-site-head{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.95);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
#cd-site-head .wrap{max-width:1180px;margin:0 auto;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;position:relative}
#cd-site-head a{text-decoration:none}
#cd-site-head .brand{display:flex;align-items:center;gap:10px;color:var(--ink)}
#cd-site-head .brand-logo{width:38px;height:38px;border-radius:10px;flex:none;display:block}
#cd-site-head .brand-name{font-weight:800;font-size:1.3rem;line-height:1;letter-spacing:-.02em}
#cd-site-head .brand-name b{color:var(--stamp)}
#cd-site-head .brand-tag{display:block;font-size:.74rem;color:var(--muted)}
#cd-site-head .nav{display:flex;gap:2px 4px;flex-wrap:wrap;align-items:center;font-weight:600;font-size:.95rem}
#cd-site-head .nav a{padding:8px 10px;border-radius:9px;color:#273046}
#cd-site-head .nav a:hover,#cd-site-head .nav a[aria-current=page]{color:var(--stamp);background:var(--stamp-soft)}
#cd-site-head .nav .btn{margin-left:6px;padding:9px 16px;border-radius:10px;background:var(--stamp);color:#fff;font-weight:700}
#cd-site-head .nav-toggle{display:none}
#cd-site-head .hdr-ft{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border:2px solid var(--stamp);border-radius:99px;background:var(--stamp-soft);color:var(--stamp-deep);font-weight:700;font-size:1.02rem;line-height:1;white-space:nowrap}
#cd-site-head .hdr-ft-ic{font-size:1.45rem;line-height:1}
#cd-site-head .hdr-ft-new{background:#f59e0b;color:#1c1914;font-size:.68rem;padding:3px 6px;border-radius:99px}
@media (max-width:860px){#cd-site-head .wrap{min-height:58px}
 #cd-site-head .nav-toggle{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;padding:0}
 #cd-site-head .nav-toggle span,#cd-site-head .nav-toggle span::before,#cd-site-head .nav-toggle span::after{display:block;width:18px;height:2px;background:var(--ink);border-radius:2px;position:relative;content:""}
 #cd-site-head .nav-toggle span::before{position:absolute;top:-6px}#cd-site-head .nav-toggle span::after{position:absolute;top:6px}
 #cd-site-head .nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);box-shadow:var(--shadow);flex-direction:column;align-items:stretch;padding:8px 14px 14px}
 #cd-site-head .nav.open{display:flex}#cd-site-head .nav a{padding:11px 10px}#cd-site-head .nav .btn{margin:6px 0 0;text-align:center}
 #cd-site-head .brand-tag{display:none}}
@media (max-width:640px){#cd-site-head .hdr-ft{padding:6px 10px;font-size:.92rem}#cd-site-head .hdr-ft-ic{font-size:1.2rem}}
@media (max-width:380px){#cd-site-head .hdr-ft-new{display:none}#cd-site-head .brand-name{font-size:1.1rem}}
.cd-seo{background:#fff;border-top:1px solid var(--line);margin-top:24px;font-size:17px;line-height:1.65}
.cd-seo-in{max-width:820px;margin:0 auto;padding:18px 18px 40px}
.cd-seo h2{font-size:1.4rem;line-height:1.25;margin:1.4em 0 .5em;font-weight:700}
.cd-seo ol,.cd-seo ul{padding-left:1.3em}.cd-seo li{margin:.3em 0}
.cd-seo a{color:var(--stamp)}
.cd-seo .cd-tbl{overflow-x:auto}.cd-seo table{border-collapse:collapse;width:100%;font-size:.95rem}.cd-seo th,.cd-seo td{border:1px solid var(--line);padding:8px;text-align:left;vertical-align:top}.cd-seo th{background:var(--stamp-soft)}
.cd-seo details{border:1px solid var(--line);border-radius:10px;padding:10px 14px;margin:8px 0}.cd-seo summary{font-weight:700;cursor:pointer}
.cd-seo .cd-note,.cd-seo .cd-legal{color:var(--muted);font-size:.92rem}
/* nav icon tiles – match /css/site.css (homepage) */
#cd-site-head .nav a .ni{width:22px;height:22px;padding:4px;box-sizing:border-box;border-radius:7px;vertical-align:-6px;margin-right:7px;flex:none;color:#fff;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4;background:linear-gradient(135deg,var(--n1,#14b8a6),var(--n2,#0f766e));box-shadow:0 2px 6px -2px var(--n2,#0f766e);display:inline-block}
#cd-site-head .nav .btn .ni{background:rgba(255,255,255,.22);box-shadow:none}
#cd-site-head .nav a[href="/"]{--n1:#10b981;--n2:#0f766e}
#cd-site-head .nav a[href="/photo-crop/"]{--n1:#f97316;--n2:#e11d48}
#cd-site-head .nav a[href="/all-tools/"]{--n1:#38bdf8;--n2:#1d4ed8}
#cd-site-head .nav a[href="/us-passport-photo/"]{--n1:#3b82f6;--n2:#7c3aed}
#cd-site-head .nav a[href="/typing-test/"]{--n1:#a78bfa;--n2:#4f46e5}
#cd-site-head .nav a[href="/downloads/"]{--n1:#22c55e;--n2:#0d9488}
#cd-site-head .nav a[href="/blog/"]{--n1:#fbbf24;--n2:#ea580c}
#cd-site-head .nav a[href="/about/"]{--n1:#06b6d4;--n2:#2563eb}
#cd-site-head .nav a[href="/contact/"]{--n1:#f472b6;--n2:#c026d3}
#cd-site-head .nav a{display:inline-flex;align-items:center}
@media (min-width:861px){#cd-site-head .nav a .ni{margin-right:5px}}
#cd-site-head .nav .btn,#cd-site-head .nav .btn[aria-current=page]{background:var(--stamp);color:#fff}#cd-site-head .nav .btn:hover{background:var(--stamp-deep);color:#fff}
