@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#17243a;--muted:#718096;--blue:#2864e8;--line:#e7ecf3;--bg:#f7f9fc;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',Arial,sans-serif}a{color:inherit;text-decoration:none}.top{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 max(5vw,22px);gap:42px;position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:10px;font:800 19px Manrope;letter-spacing:-.7px}.brand-mark{width:32px;height:32px;border-radius:10px;background:linear-gradient(135deg,#3977f6,#164bc4);color:white;display:grid;place-items:center;font:800 19px Manrope}.top nav{display:flex;gap:28px;margin-left:auto;color:#65748b;font-size:13px}.top nav a:hover,.text-link:hover{color:var(--blue)}.top-cta{border:1px solid #dce6fa;color:var(--blue);padding:10px 14px;border-radius:9px;font-size:12px;font-weight:700}.hero{padding:88px 20px 76px;text-align:center;background:radial-gradient(ellipse at 50% 0%,#e9f0ff 0%,#f7f9fc 60%)}.eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--blue);font-weight:800}.pulse,.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#35bd84;margin-right:6px}.hero h1{font:800 clamp(39px,6vw,66px)/1.08 Manrope;letter-spacing:-3px;margin:20px 0 16px}.hero h1 em{font-style:normal;color:var(--blue)}.hero>p{max-width:610px;margin:0 auto;color:var(--muted);font-size:16px;line-height:1.7}.search-wrap{max-width:650px;margin:30px auto 16px;display:flex;align-items:center;gap:12px;background:white;border:1px solid #dfe6f1;box-shadow:0 12px 35px #274d8c12;padding:0 17px;height:60px;border-radius:13px;position:relative}.search-wrap>span{font-size:27px;color:#8b99ad}.search-wrap input{border:0;outline:0;flex:1;font:14px 'DM Sans';min-width:0}.search-wrap kbd{background:#f1f4f9;color:#8592a6;padding:5px 8px;border-radius:5px;font-size:10px}.search-results{display:none;position:absolute;top:66px;left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 40px #203b681c;text-align:left;max-height:340px;overflow:auto;z-index:9}.search-results.show{display:block}.search-results a{display:block;padding:12px 16px;border-bottom:1px solid #f1f3f7;font-size:13px}.search-results a:hover{background:#f5f8ff}.search-results small{display:block;color:var(--muted);margin-top:3px}.hero-notes{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;color:#7b899d;font-size:11px}.section{max-width:1180px;margin:0 auto;padding:58px 24px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:23px}.section-head h2{font:800 26px Manrope;letter-spacing:-.8px;margin:7px 0 0}.muted{color:#8794a8;font-size:12px}.text-link{font-size:12px;color:var(--blue);font-weight:700}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.category-card{display:flex;align-items:center;gap:14px;padding:17px;background:#fff;border:1px solid var(--line);border-radius:12px;transition:.2s}.category-card:hover,.tool-card:hover{border-color:#b9cdf8;transform:translateY(-2px);box-shadow:0 10px 25px #223d6810}.cat-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#eef3ff;font-size:20px;flex:none}.category-card b{display:block;font:700 13px Manrope}.category-card small{display:block;color:#8491a5;font-size:11px;line-height:1.4;margin-top:4px}.category-card i{margin-left:auto;color:#9aabc4;font-style:normal}.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.tool-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px;display:flex;flex-direction:column;min-height:174px;transition:.2s}.tool-symbol{width:31px;height:31px;background:#eef3ff;color:var(--blue);border-radius:9px;display:grid;place-items:center;font:800 15px Manrope;margin-bottom:13px}.tool-card b{font:700 13px Manrope}.tool-card small{color:#7d8a9e;font-size:11px;line-height:1.5;margin-top:6px}.card-link{font-size:11px;color:var(--blue);font-weight:700;margin-top:auto;padding-top:13px}.all-tools{padding-top:25px}.filter-row{display:flex;gap:10px;margin-bottom:17px}.filter-row input,.filter-row select{border:1px solid var(--line);background:white;border-radius:9px;padding:12px;font:13px 'DM Sans'}.filter-row input{flex:1}.inner{max-width:1120px;margin:auto;padding:30px 24px 70px}.narrow{max-width:820px}.breadcrumbs{font-size:11px;color:#91a0b4;margin-bottom:30px}.breadcrumbs a{color:var(--blue)}.category-hero{display:flex;gap:20px;align-items:center;margin-bottom:35px}.cat-icon.big{width:65px;height:65px;font-size:30px}.category-hero h1,.tool-heading h1,.narrow h1{font:800 clamp(30px,4vw,42px) Manrope;letter-spacing:-1.5px;margin:7px 0}.category-hero p,.tool-heading p{color:var(--muted);font-size:14px;line-height:1.6;margin:0}.inner .section-head{margin-top:35px}.tool-heading{max-width:760px;margin-bottom:28px}.tool-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}.tool-panel,.side-panel{background:white;border:1px solid var(--line);border-radius:14px;padding:22px}.tool-panel-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:16px;border-bottom:1px solid #edf0f5;font-size:10px;font-weight:800;letter-spacing:.6px;color:#62728a}.privacy-tag{color:#8794a8;font-weight:500;letter-spacing:0}.side-panel h3{font:700 15px Manrope;margin:0 0 9px}.side-panel p,.side-note li{font-size:12px;color:#7c899d;line-height:1.6}.side-note{border-top:1px solid #edf0f5;margin-top:16px;padding-top:14px}.side-note b{font-size:12px}.side-note ol{padding-left:18px}.seo-copy{max-width:780px;margin:48px 0;color:#738198}.seo-copy h2{font:800 20px Manrope;color:var(--ink);margin:26px 0 9px}.seo-copy p{font-size:13px;line-height:1.8}.seo-copy details{border-bottom:1px solid var(--line);padding:12px 0;font-size:13px}.seo-copy summary{font-weight:700;cursor:pointer;color:var(--ink)}.related{margin-top:35px}.related h2{font:800 20px Manrope}.related-grid{display:flex;gap:10px;flex-wrap:wrap}.related-grid a{padding:11px 14px;border:1px solid var(--line);background:#fff;border-radius:9px;font-size:12px;color:var(--blue)}footer{background:#fff;border-top:1px solid var(--line);padding:35px max(5vw,22px) 18px}.footer-main{display:flex;justify-content:space-between;align-items:center;max-width:1120px;margin:auto}.footer-main p{font-size:11px;color:#8794a8}.footer-links{display:flex;gap:20px;color:#738198;font-size:11px}.copyright{max-width:1120px;margin:26px auto 0;border-top:1px solid #edf0f5;padding-top:15px;color:#a0aabb;font-size:10px}
@media(max-width:850px){.category-grid{grid-template-columns:repeat(2,1fr)}.tool-grid{grid-template-columns:repeat(3,1fr)}.tool-layout{grid-template-columns:1fr}.side-panel{display:grid;grid-template-columns:1fr 1fr;gap:15px}.side-note{margin:0}.top{gap:12px}.top nav{gap:14px}}@media(max-width:600px){.top{height:64px}.top nav{display:none}.top-cta{margin-left:auto}.hero{padding:65px 17px 55px}.hero h1{letter-spacing:-2px}.hero>p{font-size:14px}.hero-notes{gap:10px}.section{padding:40px 17px}.category-grid{grid-template-columns:1fr}.tool-grid{grid-template-columns:repeat(2,1fr);gap:9px}.tool-card{padding:13px;min-height:185px}.category-card{padding:14px}.filter-row{flex-direction:column}.filter-row input,.filter-row select{width:100%}.inner{padding:22px 16px 50px}.category-hero{align-items:flex-start}.tool-panel{padding:15px}.tool-panel-head{align-items:flex-start;gap:8px;flex-direction:column}.side-panel{display:block}.side-note{margin-top:14px;padding-top:12px}.footer-main{align-items:flex-start;gap:20px;flex-direction:column}.footer-links{flex-wrap:wrap;gap:13px}}

.tool-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.field{display:flex;flex-direction:column;gap:7px;color:#52627a;font-size:12px;font-weight:700}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:#17243a;font:13px 'DM Sans',sans-serif;outline-color:#8daef8}.field textarea{resize:vertical;min-height:120px}.field small,.hint{font-weight:400;color:#8a97aa;font-size:10px}.action,.secondary{border:0;border-radius:8px;padding:12px 17px;background:#2864e8;color:#fff;font:700 12px 'DM Sans';cursor:pointer;margin:3px 6px 3px 0}.secondary{background:#edf3ff;color:#2459c8}.tool-result{margin-top:17px;background:#f3f6fc;border:1px solid #e6ecf6;border-radius:10px;padding:15px;color:#33445f;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.tool-result pre,.output-area{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:1px solid #e6ebf2;border-radius:7px;padding:12px;font:12px ui-monospace,monospace;color:#24334b}.table-wrap{overflow:auto;margin-top:15px}.table-wrap table{width:100%;border-collapse:collapse;font-size:12px}.table-wrap td,.table-wrap th{padding:9px;border-bottom:1px solid #edf0f5;text-align:left}.game-buttons{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:600px){.tool-form{grid-template-columns:1fr}.field.full{grid-column:auto}}
/* Toolsyantra UI refinement */
.brand-logo{width:36px;height:36px;display:block}.header-controls{display:flex;align-items:center;gap:8px}.header-controls select,.theme-toggle{height:36px;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:9px;padding:0 10px;font:600 11px 'DM Sans',sans-serif}.theme-toggle{width:38px;padding:0;font-size:17px;cursor:pointer}.category-tools-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:26px}.category-tools-head .section-head{margin:0}.category-search{display:flex;align-items:center;gap:10px;width:min(390px,100%);height:44px;padding:0 13px;border:1px solid var(--line);background:#fff;border-radius:10px;color:#8a97aa}.category-search span{font-size:22px}.category-search input{border:0;outline:0;min-width:0;flex:1;font:13px 'DM Sans',sans-serif;color:var(--ink)}.category-search-count{font-size:11px;color:var(--muted);margin:12px 0}.tool-card[hidden]{display:none!important}.result-card{background:#fff;border:1px solid #dce6f7;border-radius:13px;padding:0;overflow:hidden;box-shadow:0 8px 24px #1d3e7510}.result-card-label{padding:10px 15px;background:#eef4ff;color:#2459c8;font-size:10px;font-weight:800;letter-spacing:1.2px;border-bottom:1px solid #dce6f7}.result-card-content{padding:16px;font-size:14px;font-weight:500;color:#233650;line-height:1.8}.result-card-content b{font:800 22px Manrope;color:#174fbd}.result-card-content p{margin:0}.result-hint{font-size:12px;color:#8794a8}.related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.related-grid a{min-height:76px;display:flex;align-items:center;padding:15px;background:#fff;border:1px solid var(--line);border-radius:11px;color:#2459c8;font:700 12px Manrope;line-height:1.5}.related-grid a:hover{border-color:#b9cdf8;box-shadow:0 8px 20px #223d6810}
:root[data-theme="dark"]{--ink:#e7edf8;--muted:#9aa9bf;--line:#29374d;--bg:#101827;--white:#172235}html[data-theme="dark"] body,html[data-theme="dark"] .top,html[data-theme="dark"] footer,html[data-theme="dark"] .tool-panel,html[data-theme="dark"] .side-panel,html[data-theme="dark"] .tool-card,html[data-theme="dark"] .category-card,html[data-theme="dark"] .related-grid a,html[data-theme="dark"] .category-search,html[data-theme="dark"] .search-wrap,html[data-theme="dark"] .search-results,html[data-theme="dark"] .filter-row input,html[data-theme="dark"] .filter-row select{background:#172235;color:var(--ink);border-color:var(--line)}html[data-theme="dark"] .hero{background:radial-gradient(ellipse at 50% 0%,#1b3155 0%,#101827 65%)}html[data-theme="dark"] .tool-result{background:#1c2a40;border-color:#30415c;color:#e7edf8}html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .field textarea,html[data-theme="dark"] .header-controls select,html[data-theme="dark"] .theme-toggle{background:#101827;color:#e7edf8;border-color:#35445b}html[data-theme="dark"] .result-card{background:#172235;border-color:#354967}html[data-theme="dark"] .result-card-label{background:#203656;color:#a9c8ff;border-color:#354967}html[data-theme="dark"] .result-card-content{color:#e7edf8}html[data-theme="dark"] .brand-logo{filter:brightness(1.15)}
@media(max-width:850px){.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-controls select{max-width:92px}.top{padding-left:16px;padding-right:16px}}
@media(max-width:600px){.category-tools-head{align-items:stretch;flex-direction:column}.category-search{width:100%}.related-grid{grid-template-columns:1fr 1fr}.header-controls{margin-left:auto}.header-controls select{height:32px}.theme-toggle{height:32px;width:34px}.top-cta{display:none}.brand{font-size:16px}.brand-logo{width:32px;height:32px}}
.planned-tool{padding:28px 24px;border:1px dashed var(--line,#dbe3ef);border-radius:16px;background:var(--surface-soft,#f8faff)}.planned-tool h2{margin:14px 0 8px;font-size:1.35rem}.planned-tool p{max-width:62ch;color:var(--muted,#65738a);line-height:1.7}.planned-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#fff3d8;color:#8a5700;font-size:.72rem;font-weight:800;letter-spacing:.06em}
.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:12px;margin:12px 0}.metric{padding:16px;border:1px solid var(--line,#e3e9f2);border-radius:14px;background:var(--surface,#fff);display:flex;flex-direction:column;gap:6px}.metric small{color:var(--muted,#65738a);font-size:.78rem}.metric strong{font-size:1.55rem;line-height:1.15;font-weight:800;letter-spacing:-.03em;color:var(--text,#152238)}

/* Unified Tool Page v2 */
.tool-page{max-width:1040px}.tool-heading{max-width:850px;margin:10px 0 26px}.tool-heading h1{font-size:clamp(30px,4vw,44px);line-height:1.12;letter-spacing:-1.6px}.tool-heading p{font-size:15px;max-width:760px}.tool-layout{grid-template-columns:minmax(0,1fr) 245px;gap:20px}.tool-panel{box-shadow:0 12px 34px rgba(30,55,90,.06);border-radius:17px}.content-section{max-width:820px;margin:38px 0 0;padding:26px 28px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 24px rgba(30,55,90,.035);color:#53637b}.content-section h2,.related h2{font:800 clamp(20px,2.4vw,25px) Manrope;color:var(--ink);letter-spacing:-.6px;margin:5px 0 16px}.content-section h3{font:700 17px Manrope;color:var(--ink);margin:22px 0 8px}.content-section p,.content-section li{font-size:14px;line-height:1.85;color:#64748b}.content-section ul,.content-section ol{padding-left:22px}.section-kicker{font-size:10px;font-weight:800;letter-spacing:1.4px;color:#2864e8;margin-bottom:8px}.howto-section{border-left:4px solid #2864e8}.howto-list{padding-left:23px}.howto-list li{padding:4px 0 7px 4px}.faq-item{border-top:1px solid var(--line);padding:14px 0}.faq-item summary{cursor:pointer;font-weight:700;color:var(--ink);font-size:14px;list-style:none;display:flex;justify-content:space-between;gap:14px}.faq-item summary:after{content:'+';color:#2864e8;font-size:20px;line-height:1}.faq-item[open] summary:after{content:'−'}.faq-item p{margin:10px 0 0}.related{max-width:1000px;margin:42px 0 0}.related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.related-grid a.related-card{min-height:100px;display:grid;grid-template-columns:38px 1fr 16px;align-items:center;gap:12px;padding:15px 16px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);box-shadow:0 6px 20px rgba(30,55,90,.035)}.related-card b{display:block;font:700 13px Manrope;color:var(--ink)}.related-card small{display:block;margin-top:5px;font-size:11px;line-height:1.45;color:var(--muted)}.related-icon{width:36px;height:36px;border-radius:10px;background:#eef3ff;color:#2864e8;display:grid;place-items:center;font-weight:800}.related-card i{font-style:normal;color:#2864e8}.related-grid a.related-card:hover{border-color:#b9cdf8;transform:translateY(-2px)}
html[data-theme="dark"] .content-section,html[data-theme="dark"] .related-grid a.related-card{background:#172235;border-color:var(--line)}html[data-theme="dark"] .content-section p,html[data-theme="dark"] .content-section li,html[data-theme="dark"] .related-card small{color:#a9b6ca}html[data-theme="dark"] .related-card b{color:var(--ink)}
@media(max-width:850px){.tool-layout{grid-template-columns:1fr}.side-panel{display:block}.content-section{margin-top:24px;padding:22px}.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.content-section{padding:19px 17px}.related-grid{grid-template-columns:1fr}.tool-heading h1{font-size:31px}}

.translate-hidden{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}.goog-te-banner-frame{display:none!important}body{top:0!important}.tool-result,.tool-result *,pre,code,input,textarea,select,[translate="no"]{translate:no}

/* Brand logo fix: logo.svg already includes both the icon and Toolsyantra wordmark. */
.brand {
  gap: 0;
  flex: 0 0 auto;
}
.brand-logo {
  display: block;
  width: 187px;
  height: auto;
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
}
.brand > span {
  display: none !important;
}
@media (max-width: 600px) {
  .brand-logo {
    width: 165px;
    max-height: 38px;
  }
}


/* Toolsyantra readability refinement - light theme */
:root { --muted: #52627a; }

.top nav, .footer-links { color: #475569; }

.hero > p, .hero-notes, .muted, .category-card small, .tool-card small,
.breadcrumbs, .privacy-tag, .side-panel p, .side-note li, .seo-copy,
.footer-main p, .copyright, .field small, .hint, .result-hint,
.planned-tool p, .search-wrap > span, .search-wrap kbd,
.category-search, .category-search-count {
  color: #52627a;
}

.content-section { color: #334155; }

.content-section p, .content-section li, .seo-copy p, .narrow p, .narrow li {
  color: #475569;
}

.footer-links a { color: #475569; }
.footer-links a:hover, .top nav a:hover, .text-link:hover { color: #1d4ed8; }
.copyright { color: #64748b; }

/* Preserve readable contrast in the existing dark theme. */
html[data-theme="dark"] .hero > p,
html[data-theme="dark"] .hero-notes,
html[data-theme="dark"] .muted,
html[data-theme="dark"] .category-card small,
html[data-theme="dark"] .tool-card small,
html[data-theme="dark"] .breadcrumbs,
html[data-theme="dark"] .privacy-tag,
html[data-theme="dark"] .side-panel p,
html[data-theme="dark"] .side-note li,
html[data-theme="dark"] .seo-copy,
html[data-theme="dark"] .footer-main p,
html[data-theme="dark"] .footer-links,
html[data-theme="dark"] .copyright,
html[data-theme="dark"] .field small,
html[data-theme="dark"] .hint,
html[data-theme="dark"] .result-hint,
html[data-theme="dark"] .content-section p,
html[data-theme="dark"] .content-section li,
html[data-theme="dark"] .seo-copy p,
html[data-theme="dark"] .narrow p,
html[data-theme="dark"] .narrow li {
  color: #a9b6ca;
}

.blog-list{display:grid;gap:22px;margin-top:28px}.blog-card{display:grid;grid-template-columns:220px 1fr;gap:20px;padding:18px;border:1px solid #e5e9f1;border-radius:16px}.blog-card img{width:100%;height:150px;object-fit:cover;border-radius:10px}.blog-meta{font-size:13px;color:#78849a}.blog-featured{width:100%;max-height:420px;object-fit:cover;border-radius:16px;margin:20px 0}.blog-excerpt{font-size:18px;color:#66758d}.blog-tags span{display:inline-block;padding:5px 9px;background:#eef0ff;border-radius:20px;font-size:12px}.site-ad{max-width:1100px;margin:22px auto;padding:8px 20px;text-align:center;overflow:hidden}.site-ad ins{min-width:250px}@media(max-width:650px){.blog-card{grid-template-columns:1fr}.blog-card img{height:190px}}
