/* ToolsFire public theme 1.0.25.
 * Update palette here. Standalone /tools assets keep their scoped styling.
 * This replaces earlier stacked theme overrides; no outer site frame.
 */
:root {
  --tf-brand: #6d55a5;
  --tf-hover: #4d377c;
  --tf-ink: #17151c;
  --tf-muted: #57525f;
  --tf-paper: #f5f5f7;
  --tf-wash: #eeebf5;
  --tf-line: #d5d0dc;
  --tf-navy: #262130;
}
body { margin:0; background:var(--tf-paper); color:var(--tf-ink); font-family:system-ui,-apple-system,"Segoe UI",sans-serif; line-height:1.65; }
a { color:var(--tf-hover); }
.wrap { width:min(100% - 48px,1240px); }
.main-content { padding:32px 0 48px; min-height:65vh; }
.public-layout { grid-template-columns:minmax(0,1fr) 270px; gap:36px; align-items:start; }
.public-layout-full { grid-template-columns:minmax(0,1fr); }
.public-main-column { min-width:0; }
.tf-open-site { padding:0; background:var(--tf-paper); }
.tf-open-site h1,.tf-open-site h2,.tf-open-site h3 { color:var(--tf-ink); }
.tf-open-site :focus-visible { outline:3px solid var(--tf-brand); outline-offset:4px; }
.breadcrumbs,.tf-page-breadcrumbs { color:var(--tf-muted); font-size:13px; flex-wrap:wrap; }
.lead,.tool-page-summary { color:var(--tf-muted); line-height:1.8; }
.button,.search-form button,.directory-filters button,.tf-error-search button { background:var(--tf-brand); color:#fff; border-radius:999px; min-height:44px; }
.button:hover,.search-form button:hover,.directory-filters button:hover,.tf-error-search button:hover { background:var(--tf-hover); color:#fff; }
.button-light { background:var(--tf-wash); border:1px solid var(--tf-line); color:var(--tf-hover); }
/* White, compact shared header. Existing menu behavior and saved links are retained. */
.tf-shell-header { background:#fff; border-bottom:1px solid var(--tf-line); box-shadow:none; }
.tf-shell-header .header-top-inner { min-height:80px; padding:10px 0; gap:24px; max-width:1240px; }
.tf-shell-header .brand-name { color:var(--tf-ink); font-size:26px; }
.tf-shell-header .brand-tagline { color:var(--tf-muted); }
.tf-shell-header .nav-list>li>a { font-size:14px; font-weight:500; color:var(--tf-ink); }
.tf-shell-header .nav-list a:hover { color:var(--tf-hover); background:#eee7f7; }
.tf-shell-header .submenu,.tf-shell-header .mobile-nav:not([hidden]) { background:#fff; }
.tf-shell-header .header-search { flex-basis:290px; width:290px; }
.tf-shell-header .search-form input { border-radius:999px; background:var(--tf-wash); border-color:var(--tf-line); height:44px; }
.tf-shell-header .search-form button { border-radius:999px; background:#fff; border:1px solid var(--tf-ink); color:var(--tf-ink); min-height:44px; padding:10px 16px; }
.tf-shell-header .search-form button:hover { background:var(--tf-ink); color:#fff; }
.tf-shell-header .menu-toggle { background:var(--tf-wash); color:var(--tf-ink); }
.search-suggestions { background:#fff; color:var(--tf-ink); border-color:var(--tf-line); }
/* Reference-inspired lavender hero and pastel directory tiles.
   Keep tool links name-only; no arrows or duplicate action labels. */
.tf-home { color:var(--tf-ink); }
.tf-home-hero {
  position:relative; isolation:isolate; text-align:left; border:0; border-radius:24px;
  background:#eae1f4; padding:64px 48px; margin:0; min-height:430px;
}
/* CSS ornament is decorative, never a screenshot or another tool container. */
.tf-home-hero::before {
  content:""; position:absolute; z-index:-1; pointer-events:none;
  width:240px; height:240px; right:30px; top:36px;
  border:36px solid #c9b9e0; border-radius:50%; opacity:.55;
}
.tf-home-hero::after {
  content:""; position:absolute; z-index:-1; pointer-events:none;
  width:100px; height:100px; right:190px; bottom:36px;
  border:22px solid #b8c8e5; border-radius:28px; transform:rotate(-18deg); opacity:.55;
}
.tf-home .tf-home-hero h1 { color:var(--tf-ink); font-size:clamp(34px,4.8vw,62px); line-height:1.08; letter-spacing:-2px; font-weight:500; margin:0 0 20px; max-width:760px; }
.tf-home .tf-home-hero h1 span { color:var(--tf-ink); }
.tf-home-hero .tf-kicker { color:var(--tf-hover); font-size:11px; letter-spacing:1.5px; }
.tf-home-intro { margin:0 0 26px; max-width:600px; color:var(--tf-muted); font-size:17px; line-height:1.75; }
.tf-home-search { max-width:650px; margin:0; }
.tf-home-search .search-form { background:#fff; padding:6px; border:1px solid #bcb4c8; border-radius:999px; box-shadow:none; }
.tf-home-search input { background:transparent; color:var(--tf-ink); padding:12px 18px; border-radius:999px; }
.tf-home-search button { background:var(--tf-ink); color:#fff; border-radius:999px; white-space:nowrap; }
.tf-home-search button:hover { background:var(--tf-hover); }
.tf-home-quick { justify-content:flex-start; margin-top:20px; gap:12px; }
.tf-home .tf-home-quick a { color:var(--tf-ink); padding:8px 16px; border:1px solid #9c91ab; border-radius:999px; background:#ffffff70; }
.tf-home .tf-home-quick a:hover { background:#fff; text-decoration:none; }
.tf-kicker { color:var(--tf-hover); font-size:11px; letter-spacing:1.3px; }
.tf-category-shortcuts { display:flex; flex-wrap:wrap; gap:8px; padding:24px 0; }
.tf-category-shortcuts a { display:block; padding:8px 15px; background:#fff; border:1px solid var(--tf-line); border-radius:999px; font-size:13px; color:var(--tf-ink); }
.tf-category-shortcuts a:hover { background:#eee7f7; color:var(--tf-hover); }
.tf-home-section { margin:40px 0; padding:0; border:0; background:transparent; }
.tf-home h2 { font-size:30px; font-weight:550; letter-spacing:-.8px; }
.tf-section-title { margin-bottom:22px; }
.tf-home a { color:var(--tf-hover); }
.tf-feature-grid,.tf-recent-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.tf-home .tf-feature-card,.tf-home .tf-recent-grid>a {
  display:flex; align-items:flex-start; justify-content:center; flex-direction:column;
  padding:24px; min-height:112px; border:1px solid var(--tf-line); border-radius:18px;
  background:#f3f5e9; box-shadow:none; transition:background .15s,border-color .15s;
}
.tf-home .tf-feature-card:nth-child(3n+2),.tf-home .tf-recent-grid>a:nth-child(3n+2) { background:#eee6f6; }
.tf-home .tf-feature-card:nth-child(3n),.tf-home .tf-recent-grid>a:nth-child(3n) { background:#eaf0fc; }
.tf-home .tf-feature-card h3,.tf-home .tf-recent-grid strong { font-size:17px; line-height:1.5; font-weight:500; color:var(--tf-ink); margin:0; }
.tf-home .tf-feature-card:hover,.tf-home .tf-recent-grid>a:hover { background:#fff; box-shadow:none; border-color:var(--tf-brand); text-decoration:none; }
.tf-category-grid { display:block; }
.tf-category-block { padding:24px 0; background:transparent; border:0; border-radius:0; scroll-margin-top:24px; }
.tf-category-block h3 { margin:0 0 18px; font-size:22px; font-weight:550; }
.tf-category-block h3 a { color:var(--tf-ink); }
.tf-category-block ul { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:0 0 18px; }
.tf-category-block li a { display:flex; align-items:center; height:100%; min-height:82px; color:var(--tf-ink); padding:20px; border:1px solid var(--tf-line); border-radius:16px; font-size:15px; line-height:1.6; background:#eee6f6; }
.tf-category-block li:nth-child(3n+2) a { background:#eaf0fc; }
.tf-category-block li:nth-child(3n) a { background:#f3f5e9; }
.tf-category-block li a:hover { background:#fff; border-color:var(--tf-brand); text-decoration:none; }
.tf-card-action { font-size:13px; margin:0; text-underline-offset:4px; }
.tf-home-guide { border-radius:0; padding:44px 0; border-block:1px solid var(--tf-line); background:transparent; gap:48px; }
.tf-home-guide h2 { font-size:clamp(28px,3vw,40px); }
.tf-home-guide p:not(.tf-kicker),.tf-home-faq details p { color:var(--tf-muted); font-size:15px; }
.tf-home-faq details { border-color:var(--tf-line); padding:20px 0; }
.tf-home-faq summary { font-size:16px; font-weight:500; }
/* Editorial content, category pages and directories are open sections. */
.tf-page-article,.tf-category-heading,.tf-category-content,.directory-page,.search-page { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.tf-page-heading { padding:0 0 22px; background:transparent; border:0; }
.tf-page-content { padding:0; font-size:16px; line-height:1.9; color:var(--tf-ink); }
.tf-page-content a { color:var(--tf-hover); }
.tf-page-content h2 { margin-top:30px; }
.tf-page-content blockquote { background:var(--tf-wash); border-color:var(--tf-brand); }
.tf-category-heading { padding-bottom:24px; border-bottom:1px solid var(--tf-line); }
.tf-category-heading>p:last-child:not(.tf-kicker) { color:var(--tf-muted); }
.tf-category-content { margin-top:30px; padding-top:24px; border-top:1px solid var(--tf-line); }
.tf-category-tool-list a { background:#eee6f6; border:1px solid var(--tf-line); border-radius:14px; color:var(--tf-ink); padding:18px; }
.tf-category-tool-list li:nth-child(3n+2) a { background:#eaf0fc; }
.tf-category-tool-list li:nth-child(3n) a { background:#f3f5e9; }
.tf-category-tool-list a:hover { background:var(--tf-wash); }
.directory-page h1,.search-page h1,.tool-page h1 { font-size:clamp(28px,3.3vw,38px); letter-spacing:-.8px; line-height:1.25; }
.directory-filters { background:var(--tf-wash); border-color:var(--tf-line); border-radius:6px; }
.directory-grid .tool-card,.search-result { background:#eee6f6; border:1px solid var(--tf-line); border-radius:16px; padding:24px; box-shadow:none; }
.directory-grid .tool-card:nth-child(3n+2),.search-result:nth-child(3n+2) { background:#eaf0fc; }
.directory-grid .tool-card:nth-child(3n),.search-result:nth-child(3n) { background:#f3f5e9; }
.directory-grid .tool-card:hover { background:var(--tf-wash); transform:none; box-shadow:none; }
.directory-grid .tool-card h2,.search-result h2 { font-size:18px; }
.directory-grid .tool-card p,.search-result p { color:var(--tf-muted); }
.pagination,.tf-category-pagination { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:24px; }
.pagination a { padding:8px 14px; border:1px solid var(--tf-line); border-radius:5px; }
/* A divider separates the sidebar; individual widgets are not cards. */
.public-sidebar { border-left:1px solid var(--tf-line); padding-left:24px; }
.sidebar-widget,.sidebar-request-widget { padding:0 0 24px; margin-bottom:24px; border:0; border-bottom:1px solid var(--tf-line); border-radius:0; background:transparent; box-shadow:none; }
.sidebar-widget h2,.sidebar-request-widget h2 { font-size:16px; color:var(--tf-ink); }
.sidebar-widget a,.sidebar-request-widget a { color:var(--tf-hover); }
.sidebar-widget p,.sidebar-request-widget p { color:var(--tf-muted); font-size:14px; }
/* Never style the contents of standalone tools or add another visual container. */
.tool-page,.tool-page-grid,.tool-main-column,.tool-workspace-unboxed,.tool-workspace-unboxed>.tool-component { border:0; border-radius:0; box-shadow:none; background:transparent; padding:0; min-width:0; }
.tool-page-heading { background:transparent; border:0; border-radius:0; padding:0 0 24px; box-shadow:none; }
.tool-page-heading h1 { margin-top:8px; }
.tool-seo-content,.related-tools-section { background:transparent; border:0; border-top:1px solid var(--tf-line); border-radius:0; padding:28px 0 0; margin-top:28px; box-shadow:none; }
.tf-error-card { background:transparent; border:0; border-radius:0; box-shadow:none; }
.tf-error-code { color:var(--tf-brand); }
.tf-error-actions .button { background:var(--tf-brand); color:#fff; }
.notice,.alert { color:var(--tf-ink); background:var(--tf-wash); border:1px solid var(--tf-line); border-left:4px solid var(--tf-brand); }
/* Shared three-column footer; Popular Calculators remains controlled by CMS. */
.tf-shell-footer { margin-top:24px; background:#fff; border-top:1px solid var(--tf-line); color:var(--tf-muted); }
.tf-footer-grid { gap:56px; padding-block:44px 32px; }
.tf-shell-footer h2 { color:var(--tf-ink); font-size:16px; font-weight:650; }
.tf-footer-brand h2 { font-size:20px; }
.tf-footer-brand p,.tf-footer-bottom,.tf-footer-bottom>span:last-child { color:var(--tf-muted); }
.tf-shell-footer .footer-menu a { color:var(--tf-hover); font-size:14px; }
.tf-footer-bottom { border-color:var(--tf-line); font-size:12px; }
/* Keep administrative controls compatible with the shared palette. */
.admin-body { background:var(--tf-wash); }
.admin-topbar,.admin-panel,.stat-card { background:#fff; border-color:var(--tf-line); box-shadow:none; }
.admin-sidebar { background:var(--tf-navy); }
.admin-sidebar nav a,.admin-sidebar .sidebar-logout { color:#fff; }
.admin-sidebar nav a:hover,.admin-sidebar nav a.active { background:var(--tf-hover); color:#fff; }
.admin-brand-mark,.admin-avatar,.admin-content .button { background:var(--tf-brand); color:#fff; }
.admin-content .button-light { background:var(--tf-wash); color:var(--tf-hover); }
@media(max-width:1000px) {
  .tf-home-hero { padding:44px 30px; }
  .tf-home-hero::before,.tf-home-hero::after { display:none; }
  .tf-feature-grid,.tf-recent-grid,.tf-category-block ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:900px) {
  .public-layout { grid-template-columns:minmax(0,1fr); }
  .public-sidebar { border-left:0; border-top:1px solid var(--tf-line); padding:28px 0 0; }
  .tf-footer-grid { gap:28px; }
}
@media(max-width:650px) {
  .wrap { width:calc(100% - 32px); }
  .main-content { padding-top:24px; }
  .tf-shell-header .header-top-inner { padding:12px 0; gap:12px; }
  .tf-shell-header .header-search { flex-basis:100%; width:100%; }
  .tf-home-hero { margin:0; padding:32px 22px; min-height:0; border-radius:20px; }
  .tf-home-hero::before,.tf-home-hero::after { display:none; }
  .tf-home .tf-home-hero h1 { letter-spacing:-1px; }
  .tf-home-intro { font-size:15px; }
  .tf-home-search .search-form { flex-direction:column; border-radius:18px; }
  .tf-home-search button { width:100%; }
  .tf-home-quick { gap:8px; }
  .tf-home-guide { grid-template-columns:1fr; gap:20px; }
  .tf-category-shortcuts { gap:6px; }
  .tf-category-shortcuts a { font-size:12px; }
  .tf-feature-grid,.tf-recent-grid,.tf-category-block ul { grid-template-columns:1fr; }
  .tf-footer-grid { gap:24px; }
}
@media(prefers-reduced-motion:reduce) { .tf-home .tf-feature-card,.tf-home .tf-recent-grid>a { transition:none; } }

/* ToolsFire reference refresh 1.0.26: airy calculator directory UI */
:root{--tf-brand:#3659d9;--tf-hover:#2644b5;--tf-ink:#17223b;--tf-muted:#69758b;--tf-paper:#f7f8fc;--tf-wash:#eef2fb;--tf-line:#dfe4ef;--tf-navy:#17223b}
body{background:#f7f8fc;color:var(--tf-ink)}
.main-content{padding-top:34px;padding-bottom:64px}
.tf-shell-header{background:rgba(255,255,255,.96);backdrop-filter:blur(14px);position:sticky;top:0;box-shadow:0 1px 0 var(--tf-line)}
.tf-shell-header .header-top-inner{min-height:72px}
.tf-shell-header .brand-name{font-weight:800;letter-spacing:-1.3px}
.tf-shell-header .nav-list>li>a{font-weight:600;border-radius:8px;padding:9px 12px}
.tf-shell-header .nav-list>li>a:hover{background:#eff2ff;color:var(--tf-brand)}
.tf-shell-header .search-form input{background:#f7f8fc;border-color:#e3e7ef}
.tf-shell-header .search-form button,.button,.directory-filters button{background:#17223b;color:#fff;border-radius:9px}
.tf-shell-header .search-form button:hover,.button:hover{background:var(--tf-brand);color:#fff}
.tf-home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.88fr);align-items:center;gap:clamp(32px,6vw,82px);padding:clamp(36px,6vw,76px);margin:0;border:1px solid #e8eaf2;border-radius:28px;background:linear-gradient(140deg,#f0efff 0%,#f3f6ff 58%,#edf5ff 100%);min-height:0}
.tf-home-hero::before{width:210px;height:210px;right:6%;top:14%;border:30px solid #dcd9fb;opacity:.42}
.tf-home-hero::after{right:18%;bottom:10%;opacity:.35}
.tf-home .tf-home-hero h1{font-size:clamp(38px,5vw,66px);font-weight:800;line-height:1.04;letter-spacing:-2.8px;margin-bottom:22px}
.tf-home .tf-home-hero h1 span{color:#3659d9}
.tf-home-intro{font-size:17px;max-width:540px;line-height:1.75;margin-bottom:24px}
.tf-home-hero .tf-kicker,.tf-kicker{color:#3659d9;letter-spacing:1.25px;font-weight:750}
.tf-home-quick a{border-radius:9px!important;padding:10px 16px!important;background:#fff!important;border:1px solid #dce1ed!important;font-weight:650}
.tf-home-quick a:first-child{background:#17223b!important;color:#fff!important;border-color:#17223b!important}
.tf-home-search-panel{position:relative;z-index:1;padding:30px;background:#fff;border:1px solid rgba(219,224,236,.9);border-radius:22px;box-shadow:0 18px 50px rgba(38,52,91,.09)}
.tf-home-search-panel h2{font-size:22px;margin:0 0 18px;letter-spacing:-.5px}
.tf-home-search-panel .tf-kicker{font-size:10px;margin-bottom:8px}
.tf-home-search .search-form{border-radius:12px;background:#fff;padding:5px;border-color:#d8deea;box-shadow:none}
.tf-home-search input{padding:13px 14px}
.tf-home-search button{border-radius:9px;background:#3659d9;color:#fff;padding:12px 18px}
.tf-search-note{font-size:12px;color:#7a8496;margin:12px 0 0}
.tf-category-shortcuts{padding:22px 0}
.tf-category-shortcuts a{background:#fff;border-radius:9px;font-weight:600;padding:8px 14px}
.tf-home-section{margin:42px 0}
.tf-home h2{font-weight:750;color:#17223b}
.tf-section-title{align-items:center}
.tf-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tf-home .tf-feature-card{position:relative;min-height:188px;padding:22px 22px 20px;border-radius:16px;background:#fff;border-color:#e3e7ef;box-shadow:0 5px 18px rgba(23,34,59,.035);justify-content:flex-start;gap:7px}
.tf-home .tf-feature-card:nth-child(n){background:#fff}
.tf-home .tf-feature-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(23,34,59,.08);border-color:#c9d2f5}
.tf-tool-card-category{color:#3659d9;font-size:11px;letter-spacing:.6px;text-transform:uppercase;font-weight:750}
.tf-home .tf-feature-card h3{font-size:17px;font-weight:750;color:#17223b}
.tf-home .tf-feature-card p{font-size:13px;color:#69758b;line-height:1.65;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tf-category-block{padding:28px 0;border-bottom:1px solid #e1e5ed}
.tf-category-block ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tf-category-block li a,.tf-category-block li:nth-child(n) a{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;min-height:118px;padding:17px;background:#fff;border:1px solid #e4e7ef;border-radius:13px;color:#17223b}
.tf-category-block li strong{font-size:14px;line-height:1.45}
.tf-category-block li span{font-size:12px;line-height:1.55;color:#707b8e;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tf-category-block li a:hover,.tf-category-block li:nth-child(n) a:hover{border-color:#c6d0f4;background:#fff;box-shadow:0 8px 22px #17223b0d}
.tf-home-guide{background:#fff;border:1px solid var(--tf-line);border-radius:18px;padding:32px;margin:42px 0}
.tf-page-breadcrumbs,.breadcrumbs{font-size:13px;color:#707b8e;margin-bottom:18px}
.tf-page-article,.tf-category-heading,.tf-category-content,.directory-page,.search-page{background:transparent}
.tf-page-heading,.tf-category-heading{padding:28px 32px;border:1px solid #e5e7f0;border-radius:18px;background:linear-gradient(135deg,#f0efff,#eef4ff);margin-bottom:26px}
.tf-page-heading h1,.tf-category-heading h1{font-weight:800;letter-spacing:-1.2px;font-size:clamp(30px,4vw,44px)}
.tf-page-content{padding:4px 32px 30px;max-width:850px;margin-inline:auto;color:#3f4c62}
.tf-page-content h2{font-size:26px;font-weight:750;letter-spacing:-.5px;border:0;margin-top:36px}
.tf-page-content h3{font-weight:700}
.tf-page-content blockquote{border-radius:0 12px 12px 0;background:#eef2ff;padding:18px 22px}
.tf-category-heading{margin-bottom:30px}
.tf-category-tool-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tf-category-tool-list a,.tf-category-tool-list li:nth-child(n+1) a{min-height:100px;border-radius:13px;background:#fff;padding:19px;border:1px solid var(--tf-line);font-weight:700}
.tf-category-tool-list a:hover,.tf-category-tool-list li:nth-child(n+1) a:hover{background:#fff;border-color:#c6d0f4}
.directory-page h1,.search-page h1{font-weight:800}
.directory-grid .tool-card,.search-result{background:#fff;border-color:#e3e7ef;border-radius:15px;box-shadow:0 5px 18px #17223b08}
.public-sidebar{border-left-color:#dfe4ee}
.sidebar-widget,.sidebar-request-widget{padding:0 0 24px;background:transparent}
.sidebar-widget h2,.sidebar-request-widget h2{font-weight:750}
.tf-reference-tool-page .tf-tool-hero{display:grid;grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);gap:clamp(24px,4vw,56px);align-items:start;padding:32px;background:linear-gradient(140deg,#f0efff,#eff5ff);border:1px solid #e5e7f0;border-radius:22px}
.tf-reference-tool-page .tool-page-heading{padding:12px 0 0}
.tf-reference-tool-page .tool-page-heading h1{font-weight:800;letter-spacing:-1.4px;font-size:clamp(30px,3.8vw,46px);line-height:1.08;margin:10px 0 16px}
.tf-reference-tool-page .tool-page-summary{font-size:15px;line-height:1.75}
.tf-reference-tool-page .tool-page-grid{min-width:0}
.tf-reference-tool-page .tool-workspace-unboxed{min-width:0}
.tf-reference-tool-page .tool-component{min-width:0}
.tf-reference-tool-page .tool-seo-content{margin-top:34px}
.tf-shell-footer{background:#fff;margin-top:48px}
.tf-footer-grid{padding-top:46px;padding-bottom:40px}
.tf-footer-bottom{padding-block:22px}
@media(max-width:900px){.tf-home-hero{grid-template-columns:1fr;gap:30px;padding:42px}.tf-home-search-panel{max-width:680px}.tf-reference-tool-page .tf-tool-hero{grid-template-columns:1fr}.tf-reference-tool-page .tool-page-heading{padding:0}.tf-category-block ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.tf-home-hero{padding:28px 22px;border-radius:20px}.tf-home .tf-home-hero h1{letter-spacing:-1.8px}.tf-home-search-panel{padding:22px}.tf-feature-grid,.tf-category-block ul,.tf-category-tool-list{grid-template-columns:1fr}.tf-home .tf-feature-card{min-height:140px}.tf-page-heading,.tf-category-heading{padding:22px}.tf-page-content{padding:0 6px 22px}.tf-reference-tool-page .tf-tool-hero{padding:20px;border-radius:17px}}

/* ToolsFire professional directory refresh: clear editorial hierarchy and measured spacing. */
:root{--tf-brand:#2563c9;--tf-hover:#174a9c;--tf-ink:#172536;--tf-muted:#536477;--tf-paper:#fff;--tf-wash:#f5f7fa;--tf-line:#dce2e8;--tf-navy:#152538}
body:not(.admin-body){background:#fff;color:var(--tf-ink);font-family:Arial,Helvetica,sans-serif;line-height:1.65}
.wrap{width:min(100% - 40px,1200px)}
.main-content{max-width:1200px;min-height:62vh;padding-top:34px;padding-bottom:64px}
.tf-shell-header{position:relative;background:#fff;border-bottom:1px solid var(--tf-line);box-shadow:none}
.tf-shell-header .header-top-inner{max-width:1200px;min-height:72px;padding:10px 0;gap:24px}
.tf-shell-header .brand{flex:0 0 auto;text-decoration:none}
.tf-shell-header .brand-name{color:var(--tf-ink);font:700 25px/1.15 Arial,Helvetica,sans-serif;letter-spacing:-.7px}
.tf-shell-header .brand-tagline{color:var(--tf-muted);font-size:11px}
.tf-shell-header .brand-logo{max-width:200px;max-height:48px}
.tf-shell-header .desktop-nav{flex:1;min-width:0;background:transparent}
.tf-shell-header .header-nav-inner{justify-content:flex-start;min-height:0;padding:0}
.tf-shell-header .nav-list{gap:3px}
.tf-shell-header .nav-list>li>a,.tf-shell-header .nav-dropdown>a{padding:9px 10px;color:#34465b;font-size:14px;font-weight:500;border-radius:5px}
.tf-shell-header .nav-list a:hover{background:#f3f6fa;color:var(--tf-hover)}
.tf-shell-header .submenu{background:#fff;border:1px solid var(--tf-line);border-radius:6px;box-shadow:0 8px 20px #17253614}
.tf-shell-header .submenu a{color:var(--tf-ink)}
.tf-shell-header .header-search{width:300px;flex:0 0 300px;margin:0}
.tf-shell-header .search-form{gap:7px;background:transparent;border:0;box-shadow:none}
.tf-shell-header .search-form input{height:40px;padding:9px 13px;border:1px solid #cfd7e0;border-radius:5px;background:#fff;color:var(--tf-ink);font-size:13px}
.tf-shell-header .search-form button{min-height:40px;padding:8px 15px;border:1px solid var(--tf-brand);border-radius:5px;background:var(--tf-brand);color:#fff;font-size:13px;font-weight:600}
.tf-shell-header .search-form button:hover{background:var(--tf-hover)}
.tf-shell-header .menu-toggle{border:1px solid var(--tf-line);border-radius:5px;background:#fff;color:var(--tf-ink)}
.tf-shell-header .mobile-nav:not([hidden]){background:#fff;border-top:1px solid var(--tf-line)}
.search-suggestions{z-index:70;background:#fff;border:1px solid var(--tf-line);box-shadow:0 8px 24px #17253616}

/* Home: concise introduction, useful search, and plain directory lists. */
.tf-home{max-width:none;color:var(--tf-ink)}
.tf-home-intro-section{padding:0 0 28px;border-bottom:1px solid var(--tf-line)}
.tf-home-intro-section h1{max-width:850px;margin:0 0 10px;color:var(--tf-ink);font-size:clamp(30px,3vw,40px);line-height:1.2;letter-spacing:-.8px;font-weight:700}
.tf-home-intro-section>p:not(.tf-home-browse){max-width:800px;margin:0 0 20px;color:var(--tf-muted);font-size:16px;line-height:1.7}
.tf-home-search{position:relative;max-width:680px;margin:0}
.tf-home-search .search-form{display:flex;gap:8px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.tf-home-search .search-form input{min-height:46px;padding:10px 14px;border:1px solid #cbd5df;border-radius:5px;background:#fff;color:var(--tf-ink);font:inherit}
.tf-home-search .search-form input:focus,.tf-shell-header .search-form input:focus{border-color:var(--tf-brand);outline:2px solid #2563c926;outline-offset:1px}
.tf-home-search .search-form button{min-height:46px;padding:10px 20px;border:1px solid var(--tf-brand);border-radius:5px;background:var(--tf-brand);color:#fff;font-size:14px;font-weight:600}
.tf-home-search .search-form button:hover{background:var(--tf-hover)}
.tf-home-browse{margin:12px 0 0;font-size:14px}
.tf-home a,.tf-page-content a,.tf-category-page a{color:var(--tf-brand)}
.tf-home a:hover,.tf-page-content a:hover,.tf-category-page a:hover{color:var(--tf-hover);text-decoration:underline;text-underline-offset:2px}
.tf-home-section{margin:34px 0 40px;padding:0;border:0;background:transparent}
.tf-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin:0 0 14px;padding:0 0 9px;border-bottom:1px solid var(--tf-line)}
.tf-home .tf-section-title h2{margin:0;color:var(--tf-ink);font-size:22px;line-height:1.35;font-weight:700;letter-spacing:-.2px}
.tf-section-title>a{font-size:13px;white-space:nowrap}
.tf-popular-links,.tf-recent-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px;list-style:none;margin:0;padding:0}
.tf-popular-links li,.tf-recent-links li{min-width:0;border-bottom:1px solid #e9edf1}
.tf-popular-links a,.tf-recent-links a{display:block;padding:9px 2px;color:#2459a6;font-size:15px;line-height:1.45;text-decoration:none;overflow-wrap:anywhere}
.tf-popular-links a:hover,.tf-recent-links a:hover{text-decoration:underline}
.tf-home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 30px}
.tf-home .tf-category-block{min-width:0;padding:0 0 18px;border:0;border-bottom:1px solid var(--tf-line);border-radius:0;background:transparent;scroll-margin-top:24px}
.tf-home .tf-category-block h3{margin:0 0 8px;font-size:17px;line-height:1.4;font-weight:700}
.tf-home .tf-category-block h3 a{color:var(--tf-ink);text-decoration:none}
.tf-home .tf-category-block h3 a:hover{color:var(--tf-brand);text-decoration:underline}
.tf-home .tf-category-block ul{display:block;list-style:none;margin:0 0 8px;padding:0}
.tf-home .tf-category-block li{margin:0;padding:0;border:0}
.tf-home .tf-category-block li a{display:block;padding:4px 0;color:#2459a6;font-size:14px;line-height:1.45;text-decoration:none}
.tf-home .tf-category-block li a:hover{text-decoration:underline}
.tf-home .tf-category-more{font-size:12px;color:var(--tf-muted);text-decoration:underline;text-underline-offset:2px}
.tf-home-about{max-width:900px;margin:42px 0 0;padding:24px 0 0;border-top:1px solid var(--tf-line)}
.tf-home-about h2{margin:0 0 10px;color:var(--tf-ink);font-size:21px;line-height:1.4;font-weight:700}
.tf-home-about p{margin:0 0 12px;color:var(--tf-muted);font-size:15px;line-height:1.8}
.tf-empty{padding:12px 0;color:var(--tf-muted);background:transparent}

/* Interior pages share a predictable content/sidebar grid. */
.public-layout{grid-template-columns:minmax(0,1fr) 270px;gap:42px;align-items:start}
.public-main-column{min-width:0}
.public-sidebar{min-width:0;padding:3px 0 0 26px;border-left:1px solid var(--tf-line)}
.sidebar-widget,.sidebar-request-widget{padding:0 0 20px;margin:0 0 22px;border:0;border-bottom:1px solid var(--tf-line);border-radius:0;background:transparent;box-shadow:none}
.sidebar-widget h2,.sidebar-request-widget h2{margin:0 0 9px;color:var(--tf-ink);font-size:16px;line-height:1.4;font-weight:700}
.sidebar-widget p,.sidebar-request-widget p{margin:0 0 10px;color:var(--tf-muted);font-size:13px;line-height:1.65}
.sidebar-widget a,.sidebar-request-widget a{color:var(--tf-brand);font-size:13px}
.sidebar-link-list{display:grid;gap:1px;margin:0;padding:0;list-style:none}
.sidebar-link-list a{display:block;padding:5px 0;line-height:1.5;text-decoration:none}
.sidebar-link-list a:hover{text-decoration:underline}

/* Tool page: heading, then the existing standalone calculator, then editorial content. */
.tf-page-breadcrumbs,.breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;color:#738094;font-size:12px}
.tf-page-breadcrumbs a,.breadcrumbs a{color:#536f95;text-decoration:none}
.tf-page-breadcrumbs a:hover,.breadcrumbs a:hover{color:var(--tf-hover);text-decoration:underline}
.tf-reference-tool-page{max-width:none;min-width:0}
.tf-reference-tool-page .tool-page-heading{margin:0 0 18px;padding:0 0 16px;border:0;border-bottom:1px solid var(--tf-line);border-radius:0;background:transparent;box-shadow:none}
.tf-tool-category{margin:0 0 5px;color:var(--tf-muted);font-size:13px;font-weight:600}
.tf-reference-tool-page .tool-page-heading h1{margin:0;color:var(--tf-ink);font-size:clamp(29px,3.2vw,38px);line-height:1.2;letter-spacing:-.55px;font-weight:700}
.tf-reference-tool-page .tool-page-summary{max-width:850px;margin:9px 0 0;color:var(--tf-muted);font-size:15px;line-height:1.7}
.tf-reference-tool-page .tool-page-grid,.tf-reference-tool-page .tool-main-column,.tf-reference-tool-page .tool-workspace-unboxed,.tf-reference-tool-page .tool-component{min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.tf-reference-tool-page .tool-seo-content,.tf-reference-tool-page .related-tools-section{max-width:none;margin:28px 0 0;padding:22px 0 0;border:0;border-top:1px solid var(--tf-line);border-radius:0;background:transparent;box-shadow:none;color:#34465b;font-size:15px;line-height:1.8}
.tf-reference-tool-page .tool-seo-content h2,.tf-reference-tool-page .related-tools-section h2{color:var(--tf-ink);font-size:23px;line-height:1.35;letter-spacing:-.2px}
.tf-reference-tool-page .related-tools-section ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 24px}
.tf-reference-tool-page .related-tools-section a{color:var(--tf-brand)}

/* Custom and category content use editorial widths and consistent rhythm. */
.tf-custom-page,.tf-category-page{min-width:0}
.tf-page-article{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.tf-page-heading{margin:0 0 20px;padding:0 0 15px;border:0;border-bottom:1px solid var(--tf-line);border-radius:0;background:transparent}
.tf-page-heading .tf-kicker{margin:0 0 5px;color:var(--tf-muted);font-size:12px;letter-spacing:.04em}
.tf-page-heading h1,.tf-category-heading h1{margin:0;color:var(--tf-ink);font-size:clamp(29px,3.2vw,38px);line-height:1.22;letter-spacing:-.5px;font-weight:700}
.tf-page-content{max-width:900px;margin:0;padding:0;color:#34465b;font-size:15px;line-height:1.85;overflow-wrap:anywhere}
.tf-page-content h2{margin:30px 0 10px;color:var(--tf-ink);font-size:23px;line-height:1.38;font-weight:700}
.tf-page-content h3{margin:24px 0 9px;color:var(--tf-ink);font-size:18px;line-height:1.4}
.tf-page-content p{margin:0 0 16px}
.tf-page-content ul,.tf-page-content ol{padding-left:24px;margin:0 0 18px}
.tf-page-content li{padding:2px 0}
.tf-page-content table{width:100%;border-collapse:collapse}
.tf-page-content th,.tf-page-content td{padding:10px 12px;border:1px solid var(--tf-line);text-align:left}
.tf-page-content th{background:#f5f7fa;color:var(--tf-ink)}
.tf-page-content blockquote{margin:22px 0;padding:12px 18px;border-left:3px solid var(--tf-brand);background:#f5f7fa;color:#45566b}
.tf-category-heading{margin:0 0 24px;padding:0 0 18px;border:0;border-bottom:1px solid var(--tf-line);border-radius:0;background:transparent}
.tf-category-heading .tf-kicker{margin-bottom:5px;color:var(--tf-muted);font-size:12px;letter-spacing:.04em}
.tf-category-heading>p:last-child:not(.tf-kicker){max-width:850px;margin:9px 0 0;color:var(--tf-muted);font-size:15px;line-height:1.7}
.tf-category-directory h2{margin:0 0 12px;color:var(--tf-ink);font-size:20px;line-height:1.4}
.tf-category-tool-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
.tf-category-tool-list li{border-bottom:1px solid #e9edf1}
.tf-category-tool-list a,.tf-category-tool-list li:nth-child(n) a{min-height:0;padding:11px 2px;border:0;border-radius:0;background:transparent;color:var(--tf-brand);font-size:15px;font-weight:500;text-decoration:none}
.tf-category-tool-list a:hover,.tf-category-tool-list li:nth-child(n) a:hover{background:transparent;color:var(--tf-hover);text-decoration:underline}
.tf-category-content{max-width:900px;margin:32px 0 0;padding:22px 0 0;border:0;border-top:1px solid var(--tf-line);border-radius:0;background:transparent}
.directory-page h1,.search-page h1{color:var(--tf-ink);font-size:clamp(29px,3.2vw,38px);letter-spacing:-.5px}
.directory-filters{padding:16px;border:1px solid var(--tf-line);border-radius:5px;background:#f7f9fb}
.directory-grid .tool-card,.search-result{border:0;border-bottom:1px solid var(--tf-line);border-radius:0;background:transparent;box-shadow:none}
.directory-grid .tool-card:hover{transform:none;border-color:var(--tf-line);background:#f8fafc;box-shadow:none}
.directory-grid .tool-card h2,.search-result h2{color:var(--tf-ink);font-size:18px}
.directory-grid .tool-card p,.search-result p{color:var(--tf-muted)}
.pagination a{border-color:var(--tf-line);border-radius:4px;color:var(--tf-brand)}

/* Shared footer, with CMS navigation and database-driven popular calculator links. */
.tf-shell-footer{margin-top:52px;border:0;border-top:1px solid var(--tf-line);background:#f6f8fa;color:var(--tf-muted)}
.tf-footer-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,.8fr);gap:48px;padding-block:38px 32px}
.tf-shell-footer h2{margin:0 0 11px;color:var(--tf-ink);font-size:16px;font-weight:700;line-height:1.45}
.tf-footer-brand h2{font-size:18px}
.tf-footer-brand p{max-width:620px;margin:0 0 12px;color:#536477;font-size:13px;line-height:1.75}
.tf-shell-footer .footer-menu{gap:2px}
.tf-shell-footer .footer-menu a{padding:3px 0;color:#315f9e;font-size:13px;line-height:1.6;text-decoration:none}
.tf-shell-footer .footer-menu a:hover{text-decoration:underline}
.tf-footer-bottom{padding:17px 0;border-color:#dce2e8;color:#637286;font-size:12px}
.tf-footer-bottom>span:last-child{color:#637286}
.tf-footer-heart{color:var(--tf-brand)}

@media(max-width:1050px){
  .tf-shell-header .header-top-inner{gap:15px}
  .tf-shell-header .header-search{width:250px;flex-basis:250px}
  .tf-shell-header .nav-list>li>a,.tf-shell-header .nav-dropdown>a{padding-inline:7px;font-size:13px}
  .public-layout{grid-template-columns:minmax(0,1fr) 240px;gap:30px}
}
@media(max-width:900px){
  .tf-shell-header .desktop-nav{display:none}
  .tf-shell-header .menu-toggle{display:block;order:3}
  .tf-shell-header .header-search{margin-left:auto}
  .public-layout{grid-template-columns:minmax(0,1fr)}
  .public-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px;padding:26px 0 0;border-left:0;border-top:1px solid var(--tf-line)}
  .sidebar-widget,.sidebar-request-widget{margin:0}
  .tf-footer-grid{gap:30px}
}
@media(max-width:650px){
  .wrap{width:calc(100% - 32px)}
  .main-content{padding-top:24px;padding-bottom:42px}
  .tf-shell-header .header-top-inner{flex-wrap:wrap;gap:10px;padding:10px 0}
  .tf-shell-header .brand{flex:1 1 auto}
  .tf-shell-header .brand-name{font-size:22px}
  .tf-shell-header .brand-logo{max-width:170px;max-height:42px}
  .tf-shell-header .menu-toggle{order:2}
  .tf-shell-header .header-search{order:4;display:block;flex:1 1 100%;width:100%;margin:0}
  .tf-home-intro-section h1{font-size:30px}
  .tf-home-intro-section>p:not(.tf-home-browse){font-size:15px}
  .tf-home-search .search-form{flex-direction:row}
  .tf-home-search .search-form input{min-width:0}
  .tf-home-search .search-form button{flex:0 0 auto}
  .tf-home-section{margin:28px 0 32px}
  .tf-section-title{align-items:baseline}
  .tf-home .tf-section-title h2{font-size:20px}
  .tf-popular-links,.tf-recent-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
  .tf-home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .tf-home .tf-category-block h3{font-size:16px}
  .public-sidebar{grid-template-columns:1fr 1fr;gap:20px}
  .tf-reference-tool-page .tool-page-heading h1,.tf-page-heading h1,.tf-category-heading h1{font-size:29px}
  .tf-category-tool-list{grid-template-columns:1fr}
  .tf-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .tf-footer-brand{grid-column:1/-1}
}
@media(max-width:430px){
  .tf-home-search .search-form{flex-direction:column}
  .tf-home-search .search-form button{width:100%}
  .tf-home-category-grid,.public-sidebar,.tf-footer-grid{grid-template-columns:1fr}
  .tf-footer-brand{grid-column:auto}
  .tf-footer-bottom{flex-direction:column;gap:6px}
}

/* Homepage refresh 1.0.28: strong search hero, compact tool cards, no stretched rows. */
.tf-home{--tf-home-link:#2268D3;--tf-home-orange:#EF8A2F;color:#172536}
.tf-home a{color:var(--tf-home-link)}
.tf-home-hero-card{position:relative;isolation:isolate;overflow:hidden;margin:0 0 38px;padding:clamp(30px,5.2vw,62px);border:1px solid #dce7f4;border-radius:16px;background:linear-gradient(115deg,#f1f6fd 0%,#f7f9fc 68%,#fffaf4 100%)}
.tf-home-hero-card::after{position:absolute;z-index:-1;top:-75px;right:-65px;width:230px;height:230px;border:28px solid #f7dfc7;border-radius:50%;content:"";opacity:.72}
.tf-home-hero-copy{max-width:850px}
.tf-home-eyebrow,.tf-home-section-label{margin:0 0 10px;color:#536477;font-size:11px;font-weight:700;letter-spacing:1.15px;line-height:1.4}
.tf-home-eyebrow::before{display:inline-block;width:22px;height:3px;margin:0 9px 3px 0;border-radius:2px;background:var(--tf-home-orange);content:""}
.tf-home-hero-card h1{max-width:760px;margin:0 0 12px;color:#172536;font-size:clamp(32px,4.3vw,49px);font-weight:750;line-height:1.12;letter-spacing:-1.35px}
.tf-home-hero-text{max-width:740px;margin:0 0 23px;color:#536477;font-size:16px;line-height:1.75}
.tf-home-hero-card .tf-home-search{max-width:690px}
.tf-home-hero-card .tf-home-search .search-form{gap:8px;padding:5px;border:1px solid #d6dee8;border-radius:8px;background:#fff;box-shadow:0 4px 14px #1c3d6810}
.tf-home-hero-card .tf-home-search .search-form input{height:48px;min-height:48px;border:0;border-radius:5px;background:transparent;padding:10px 13px;font-size:14px;outline-offset:-2px}
.tf-home-hero-card .tf-home-search .search-form button{min-height:44px;padding:9px 19px;border:1px solid var(--tf-home-orange);border-radius:6px;background:var(--tf-home-orange);color:#fff;font-size:14px;font-weight:700;white-space:nowrap}
.tf-home-hero-card .tf-home-search .search-form button:hover{border-color:#d87017;background:#d87017}
.tf-home-hero-footnote{margin:12px 0 0;color:#637286;font-size:13px}
.tf-home-hero-footnote a{color:var(--tf-home-link);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.tf-home-section{margin:0 0 42px}
.tf-home .tf-section-title{align-items:end;margin:0 0 17px;padding:0 0 11px;border-bottom:1px solid #dce2e8}
.tf-home-section-label{margin:0 0 5px;color:#6c7786;font-size:10px;letter-spacing:1px}
.tf-home-section-label::after{display:inline-block;width:16px;height:2px;margin:0 0 3px 7px;border-radius:2px;background:var(--tf-home-orange);content:""}
.tf-home .tf-section-title h2{margin:0;color:#172536;font-size:25px;line-height:1.3;letter-spacing:-.35px;font-weight:700}
.tf-home .tf-section-title>a{color:var(--tf-home-link);font-size:13px;font-weight:600;text-decoration:none}
.tf-home .tf-section-title>a:hover{text-decoration:underline;text-underline-offset:3px}
.tf-popular-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tf-home .tf-popular-card{display:flex;align-items:center;gap:12px;min-width:0;min-height:66px;padding:13px 15px;border:1px solid #dce2e8;border-radius:8px;background:#fff;color:#2268D3;font-size:14px;font-weight:600;line-height:1.45;text-decoration:none;transition:border-color .15s,background-color .15s,transform .15s}
.tf-popular-card-mark{position:relative;display:block;flex:0 0 30px;width:30px;height:30px;border-radius:8px;background:#edf4ff}
.tf-popular-card-mark::before{position:absolute;top:9px;left:9px;width:12px;height:12px;border:2px solid #2268D3;border-radius:4px;content:""}
.tf-home .tf-popular-card:hover{border-color:#9bb9e8;background:#f8fbff;color:#174a9c;transform:translateY(-1px);text-decoration:none}
.tf-home-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 22px}
.tf-home-category-grid .tf-category-block{min-width:0;margin:0;padding:0 0 17px;border:0;border-bottom:1px solid #e5e9ee;border-radius:0;background:transparent;scroll-margin-top:24px}
.tf-home-category-grid .tf-category-block h3{margin:0 0 10px;font-size:17px;line-height:1.4;font-weight:700}
.tf-home-category-grid .tf-category-block h3 a{color:#172536;text-decoration:none}
.tf-home-category-grid .tf-category-block h3 a:hover{color:#2268D3;text-decoration:underline;text-underline-offset:3px}
.tf-home-category-grid .tf-category-block ul{display:grid;grid-template-columns:1fr;gap:7px;list-style:none;margin:0 0 9px;padding:0}
.tf-home-category-grid .tf-category-block li{min-width:0;margin:0;padding:0;border:0}
.tf-home-category-grid .tf-category-block li a,.tf-home-category-grid .tf-category-block li:nth-child(n) a{display:flex;align-items:center;min-width:0;min-height:48px;height:auto;padding:10px 12px;border:1px solid #e0e6ed;border-radius:7px;background:#fff;box-shadow:none;color:#2268D3;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
.tf-home-category-grid .tf-category-block li a:hover,.tf-home-category-grid .tf-category-block li:nth-child(n) a:hover{min-height:48px;border-color:#aac3e9;background:#f8fbff;color:#174a9c;box-shadow:0 3px 10px #1b3d6810;text-decoration:none}
.tf-home-category-grid .tf-category-more{display:inline-block;margin-top:2px;color:#5d6c7d;font-size:12px;font-weight:500;text-decoration:underline;text-underline-offset:2px}
.tf-home-about{max-width:900px;margin:4px 0 0;padding:25px 0 0;border-top:1px solid #dce2e8}
.tf-home-about h2{margin:0 0 11px;color:#172536;font-size:23px;line-height:1.35;letter-spacing:-.2px}
.tf-home-about p{margin:0 0 13px;color:#536477;font-size:15px;line-height:1.8}
.tf-home-about .tf-home-section-label{margin-bottom:6px}
@media(max-width:1000px){.tf-popular-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tf-home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
  .tf-home-hero-card{margin-bottom:30px;padding:30px 23px;border-radius:13px}
  .tf-home-hero-card::after{top:-90px;right:-105px;width:180px;height:180px;border-width:22px}
  .tf-home-hero-card h1{font-size:32px;letter-spacing:-.8px}
  .tf-home-hero-text{font-size:15px}
  .tf-home-hero-card .tf-home-search .search-form{flex-direction:column;padding:7px}
  .tf-home-hero-card .tf-home-search .search-form input{width:100%;height:44px;min-height:44px}
  .tf-home-hero-card .tf-home-search .search-form button{width:100%}
  .tf-home .tf-section-title h2{font-size:21px}
  .tf-popular-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .tf-home .tf-popular-card{min-height:60px;padding:10px;font-size:13px}
  .tf-popular-card-mark{flex-basis:26px;width:26px;height:26px}
  .tf-popular-card-mark::before{top:7px;left:7px}
  .tf-home-category-grid{grid-template-columns:1fr;gap:17px}
  .tf-home-category-grid .tf-category-block{padding-bottom:14px}
  .tf-home-about{padding-top:20px}
}

/* Directory and custom-page polish 1.0.32. */
.directory-page{--directory-link:#2268D3;--directory-orange:#EF8A2F;color:#172536}
.directory-page .breadcrumbs{margin-bottom:20px;color:#637286}
.directory-page .breadcrumbs a{color:#2268D3;text-decoration:none}
.directory-heading{margin:0 0 24px;padding:0 0 18px;border-bottom:1px solid #dce2e8}
.directory-heading .eyebrow{margin:0 0 7px;color:#637286;font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.directory-page h1{margin:0;color:#172536;font-size:clamp(30px,3.6vw,42px);font-weight:750;letter-spacing:-1px;line-height:1.16}
.directory-page .lead{max-width:760px;margin:10px 0 0;color:#536477;font-size:15px;line-height:1.7}
.directory-filters{display:flex;align-items:end;gap:12px;margin:0 0 18px;padding:16px;border:1px solid #dce4ee;border-radius:10px;background:#f1f6fd}
.directory-filters label{color:#35465c;font-size:13px;font-weight:650}
.directory-filters input,.directory-filters select{min-height:44px;border:1px solid #d7e0eb;border-radius:7px;background:#fff;color:#172536}
.directory-filters input:focus,.directory-filters select:focus{border-color:#2268D3;outline:3px solid #2268D326;outline-offset:1px}
.directory-filters button{min-height:44px;border:1px solid #d97822;border-radius:7px;background:#EF8A2F;color:#fff;font-weight:700}
.directory-filters button:hover{background:#d97822}
.directory-filters>a{color:#2268D3;font-weight:600;text-decoration:none}
.directory-page>p[role="status"]{margin:14px 0 12px;color:#637286;font-size:13px}
.directory-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.directory-card-grid>.directory-tool-card{display:flex;min-width:0;min-height:170px;flex-direction:column;padding:19px;border:1px solid #dce4ee;border-top:3px solid #2268D3;border-radius:10px;background:#fff;color:#172536;text-decoration:none;box-shadow:0 3px 12px #17304d08;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.directory-card-grid>.directory-tool-card:nth-child(4n+2){border-top-color:#EF8A2F;background:#fffaf5}
.directory-card-grid>.directory-tool-card:nth-child(4n+3){border-top-color:#5397e8;background:#f7faff}
.directory-card-grid>.directory-tool-card:nth-child(4n){border-top-color:#d97822;background:#fffdf9}
.directory-tool-card .directory-category{align-self:flex-start;margin:0 0 8px;padding:3px 8px;border-radius:999px;background:#eaf2ff;color:#2268D3;font-size:10px;font-weight:750;letter-spacing:.04em;line-height:1.5;text-transform:uppercase}
.directory-tool-card h2{margin:0 0 7px;color:#172536;font-size:16px;font-weight:700;line-height:1.4}
.directory-tool-card p{display:-webkit-box;overflow:hidden;margin:0 0 14px;color:#536477;font-size:13px;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.directory-tool-card .card-link{display:flex;justify-content:space-between;align-items:center;margin-top:auto;color:#2268D3;font-size:12px;font-weight:700}
.directory-tool-card:hover{transform:translateY(-2px);border-color:#9bb9e8;box-shadow:0 9px 22px #17304d12}
.directory-tool-card:hover .card-link{color:#174a9c}
.tf-page-article{max-width:900px;margin:0 auto}
.tf-page-heading{margin:0 0 22px;padding:0 0 16px;border-bottom:1px solid #dce2e8}
.tf-page-heading h1{margin:0;color:#172536;font-size:clamp(30px,3.6vw,42px);font-weight:750;letter-spacing:-.9px;line-height:1.2}
.tf-page-content{max-width:none;margin:0;padding:0;color:#3d4e62}
.tf-back-to-top{position:fixed;right:22px;bottom:22px;z-index:70;display:grid;width:48px;height:48px;place-items:center;padding:0;border:1px solid #1b5aba;border-radius:50%;background:#2268D3;color:#fff;box-shadow:0 5px 18px #102d5033;cursor:pointer;transition:transform .16s ease,background-color .16s ease,box-shadow .16s ease}
.tf-back-to-top svg{width:22px;height:22px}
.tf-back-to-top:hover{transform:translateY(-2px);background:#174a9c;box-shadow:0 8px 22px #102d5040}
.tf-back-to-top:focus-visible{outline:3px solid #EF8A2F;outline-offset:3px}
.tf-back-to-top[hidden]{display:none}
@media(max-width:850px){.directory-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.directory-filters{align-items:stretch;flex-direction:column}.directory-filters button{width:100%}.directory-card-grid{grid-template-columns:1fr}.directory-card-grid>.directory-tool-card{min-height:145px}.tf-back-to-top{right:16px;bottom:16px;width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.directory-card-grid>.directory-tool-card,.tf-back-to-top{transition:none}}
