/* Calculaza 2.28.3 — Premium minimal design system
 * Scoped to Calculaza components; preserves tool engines, URLs, search and theme settings.
 */
:root {
  --cz-premium-blue: #2563eb;
  --cz-premium-blue-dark: #1d4ed8;
  --cz-premium-violet: #7357ef;
  --cz-premium-ink: #14213a;
  --cz-premium-muted: #58677f;
  --cz-premium-soft-muted: #74839a;
  --cz-premium-line: #e3eaf5;
  --cz-premium-surface: #ffffff;
  --cz-premium-canvas: #f7f9fd;
  --cz-premium-shadow: 0 14px 38px rgba(27, 48, 87, .075);
}

/* Shared header tone, without overriding a site owner's chosen accent colour. */
.cz-site-header {
  border-bottom-color: rgba(35, 55, 90, .10);
  box-shadow: 0 4px 18px rgba(25, 43, 77, .035);
}
.cz-header__inner { min-height: 76px; }
.cz-header__brand-name { letter-spacing: -.045em; }
.cz-header__nav-list > li > a,
.cz-header__category-toggle { font-weight: 620; }
.cz-header__nav-list > li > a { border-radius: 9px; }
.cz-header__search { border-radius: 11px; }
.cz-header__theme-toggle,
.cz-header__language-toggle { border-radius: 999px; }

/* Homepage order and container. Categories are brought above popular tools visually. */
.cz-home-lab {
  --lab-ink: var(--cz-premium-ink);
  --lab-muted: var(--cz-premium-muted);
  --lab-line: var(--cz-premium-line);
  --lab-purple: var(--cz-premium-blue);
  display: flex !important;
  flex-direction: column;
  gap: 0;
  width: min(1320px, calc(100% - 48px)) !important;
  max-width: 1320px !important;
  padding: 22px 0 68px !important;
  color: var(--cz-premium-ink);
}
.cz-home-lab > .cz-lab-hero { order: 1; }
.cz-home-lab > .cz-personal-tools { order: 2; }
.cz-home-lab > .cz-lab-category-section { order: 3; }
.cz-home-lab > .cz-lab-popular-section { order: 4; }
.cz-home-lab > .cz-premium-trust-strip { order: 5; }
.cz-home-lab > .cz-lab-mini { order: 6; }
.cz-home-lab > section:not(.cz-lab-hero):not(.cz-personal-tools):not(.cz-lab-category-section):not(.cz-lab-popular-section):not(.cz-premium-trust-strip):not(.cz-lab-mini) { order: 7; }
.cz-home-lab > .cz-lab-related { order: 8; }
.cz-home-lab > .cz-lab-privacy-note { order: 9; }

.cz-home-lab .cz-lab-hero {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr);
  grid-template-rows: auto auto auto;
  align-items: center;
  column-gap: clamp(22px, 4vw, 60px);
  row-gap: 0;
  min-height: 420px;
  padding: clamp(34px, 4.6vw, 62px) clamp(28px, 4vw, 54px) !important;
  overflow: hidden;
  border: 1px solid #e5ebff;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 84% 48%, rgba(203, 218, 255, .64), transparent 38%),
    radial-gradient(ellipse at 5% 0%, rgba(233, 239, 255, .96), transparent 44%),
    linear-gradient(115deg, #fbfcff 0%, #f7f9ff 58%, #eff4ff 100%);
  box-shadow: 0 16px 42px rgba(50, 76, 137, .055);
  text-align: left;
}
.cz-home-lab .cz-lab-hero::before {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -190px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(91, 130, 226, .12);
  border-radius: 50%;
  pointer-events: none;
}
.cz-home-lab .cz-lab-hero-copy { grid-column: 1; grid-row: 1; width: 100%; max-width: 700px; margin: 0; text-align: left; }
.cz-home-lab .cz-lab-eyebrow {
  justify-content: flex-start;
  margin-bottom: 17px;
  color: var(--cz-premium-blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
}
.cz-home-lab .cz-lab-hero h1 {
  max-width: 690px;
  margin: 0;
  color: #14213a !important;
  font-size: clamp(42px, 5vw, 66px) !important;
  font-weight: 850;
  line-height: 1.015 !important;
  letter-spacing: -.06em;
}
.cz-home-lab .cz-lab-hero h1 span {
  display: block;
  color: var(--cz-premium-blue) !important;
  background: linear-gradient(95deg, #2563eb 0%, #5b55eb 65%, #7657e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cz-home-lab .cz-lab-intro {
  max-width: 620px;
  margin: 17px 0 0;
  color: #52617a !important;
  font-size: clamp(16px, 1.35vw, 19px) !important;
  font-weight: 450;
  line-height: 1.6 !important;
}
.cz-home-lab .cz-lab-search {
  z-index: 5;
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  max-width: 690px;
  min-height: 62px;
  margin: 27px 0 0;
  padding: 7px 8px 7px 17px;
  gap: 11px;
  border: 1px solid #d7e1f5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(39, 70, 132, .09);
}
.cz-home-lab .cz-lab-search:focus-within {
  border-color: #7ea2f7;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .10), 0 14px 32px rgba(39, 70, 132, .11);
}
.cz-home-lab .cz-lab-search-icon { display: inline-flex; color: #536886; }
.cz-home-lab .cz-lab-search input[type="search"] {
  min-height: 46px;
  color: #182944 !important;
  font-size: 16px !important;
}
.cz-home-lab .cz-lab-search input[type="search"]::placeholder { color: #8492a8 !important; opacity: 1; }
.cz-home-lab .cz-lab-search button {
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 11px;
  background: var(--cz-premium-blue);
  font-size: 13px;
  font-weight: 800;
}
.cz-home-lab .cz-lab-search button:hover { background: var(--cz-premium-blue-dark); }
.cz-home-lab .cz-lab-search-prompts {
  grid-column: 1;
  grid-row: 3;
  justify-content: flex-start;
  max-width: 690px;
  margin: 12px 0 0;
  color: #58677f;
  font-size: 12px;
}
.cz-home-lab .cz-lab-search-prompts button {
  min-height: 30px;
  border-color: #e3e9f4;
  background: rgba(255,255,255,.78);
  color: #40516d;
  font-size: 11px;
}
.cz-home-lab .cz-lab-search-prompts button:hover { border-color: #b6cbfa; background: #f2f6ff; color: #1d4ed8; }
.cz-home-lab .cz-lab-search-shortcut { display: none; }

/* Decorative percentage preview communicates what users can do without pretending to run a real calculation. */
.cz-premium-hero-visual {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  min-width: 0;
  min-height: 310px;
  place-items: center;
  isolation: isolate;
}
.cz-premium-orbit { position: absolute; z-index: -1; border: 1px dashed rgba(81, 122, 220, .22); border-radius: 50%; pointer-events: none; }
.cz-premium-orbit--one { width: min(94%, 390px); aspect-ratio: 1; transform: rotate(-17deg); }
.cz-premium-orbit--two { width: min(73%, 300px); aspect-ratio: 1; border-style: solid; border-color: rgba(113, 144, 223, .14); }
.cz-premium-calculator-preview {
  position: relative;
  width: min(100%, 390px);
  padding: 23px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 23px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 62px rgba(42, 70, 137, .18), 0 4px 14px rgba(42,70,137,.07);
  transform: rotate(2.5deg);
}
.cz-premium-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 19px; color: #172744; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.cz-premium-preview-head b { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; color: #087b58; background: #e8fbf3; font-size: 10px; font-weight: 800; white-space: nowrap; }
.cz-premium-preview-head i { width: 7px; height: 7px; border-radius: 50%; background: #15b981; }
.cz-premium-preview-field { display: grid; gap: 6px; margin-top: 12px; }
.cz-premium-preview-field small { color: #64748b; font-size: 11px; font-weight: 650; }
.cz-premium-preview-field strong { display: block; min-height: 43px; padding: 10px 12px; border: 1px solid #dce5f4; border-radius: 10px; color: #23344f; background: #fbfcff; font-size: 15px; font-weight: 700; }
.cz-premium-preview-result { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 13px; color: #fff; background: linear-gradient(105deg, #3482f6, #245ce3); box-shadow: 0 8px 18px rgba(37,99,235,.22); }
.cz-premium-preview-result small { grid-column: 1; color: rgba(255,255,255,.82); font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.cz-premium-preview-result strong { grid-column: 1; grid-row: 2; font-size: 30px; line-height: 1.05; letter-spacing: -.04em; }
.cz-premium-preview-result span { grid-column: 2; grid-row: 1 / span 2; color: rgba(255,255,255,.88); font-size: 11px; }
.cz-premium-float { position: absolute; z-index: 2; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.9); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 10px 26px rgba(38,67,130,.13); font-size: 23px; font-weight: 850; }
.cz-premium-float--percent { top: 11%; left: 0; color: #7750e8; transform: rotate(-12deg); }
.cz-premium-float--calendar { top: 15%; right: 1%; color: #eb9825; transform: rotate(9deg); }
.cz-premium-float--trend { bottom: 8%; right: 4%; color: #2563eb; transform: rotate(8deg); }

/* Section headings and shared rhythm. */
.cz-home-lab .cz-lab-section { margin-top: clamp(34px, 4vw, 52px); }
.cz-home-lab .cz-lab-section-heading { margin-bottom: 17px !important; }
.cz-home-lab .cz-lab-section-heading .cz-lab-kicker {
  margin-bottom: 7px !important;
  color: var(--cz-premium-blue);
  font-size: 10px !important;
  letter-spacing: .12em;
}
.cz-home-lab .cz-lab-section-heading h2 {
  color: var(--cz-premium-ink) !important;
  font-size: clamp(23px, 2.4vw, 30px) !important;
  font-weight: 800 !important;
  letter-spacing: -.045em !important;
}
.cz-home-lab .cz-lab-section-heading p { color: #687891 !important; font-size: 14px !important; }
.cz-home-lab .cz-lab-heading-row > a { color: var(--cz-premium-blue) !important; font-size: 13px !important; }

/* Browse categories — quiet tiles with one shared icon treatment. */
.cz-home-lab .cz-lab-category-section { margin-top: 34px; }
.cz-home-lab .cz-lab-category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 11px !important; }
.cz-home-lab .cz-lab-category {
  display: flex;
  min-height: 122px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 9px;
  border: 1px solid #e7edf7;
  border-radius: 15px;
  color: #23334d !important;
  background: #fff;
  box-shadow: 0 3px 12px rgba(30,54,95,.025);
  text-align: center;
}
.cz-home-lab .cz-lab-category:hover { border-color: #c5d5f7; background: #fbfcff; box-shadow: 0 9px 22px rgba(37,99,235,.075); transform: translateY(-2px); }
.cz-home-lab .cz-lab-category-icon {
  width: 47px !important;
  height: 47px !important;
  border-radius: 14px !important;
  color: #2563eb;
  background: #eaf1ff;
  font-size: 19px;
}
.cz-home-lab .cz-lab-category-copy { align-items: center; gap: 3px; }
.cz-home-lab .cz-lab-category-copy strong { color: #1c2d48 !important; font-size: 13px !important; font-weight: 760; line-height: 1.3; }
.cz-home-lab .cz-lab-category-copy small { color: #697990 !important; font-size: 11px !important; }
.cz-home-lab .cz-lab-category-arrow { display: none; }
.cz-home-lab .cz-icon-finance .cz-lab-category-icon { color: #d38a13; background: #fff4dc; }
.cz-home-lab .cz-icon-health .cz-lab-category-icon { color: #e24f72; background: #ffedf1; }
.cz-home-lab .cz-icon-date-time .cz-lab-category-icon { color: #2563eb; background: #eaf1ff; }
.cz-home-lab .cz-icon-converters .cz-lab-category-icon { color: #0b9c80; background: #e3f8f2; }
.cz-home-lab .cz-icon-technology .cz-lab-category-icon,
.cz-home-lab .cz-icon-developer-tools .cz-lab-category-icon { color: #2563eb; background: #eaf1ff; }

/* Popular tools — compact, balanced cards. */
.cz-home-lab .cz-lab-popular-section { margin-top: clamp(36px, 4vw, 52px); }
.cz-home-lab .cz-lab-popular-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.cz-home-lab .cz-lab-popular-card {
  position: relative;
  min-width: 0;
  min-height: 148px;
  padding: 15px 14px 10px;
  border: 1px solid #e4eaf5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 13px rgba(25,45,80,.035);
}
.cz-home-lab .cz-lab-popular-card:hover { border-color: #bfd0f5; box-shadow: 0 12px 25px rgba(37,69,129,.085); transform: translateY(-2px); }
.cz-home-lab .cz-lab-popular-main { min-height: 82px; align-items: flex-start; gap: 11px; padding: 0 38px 0 0; }
.cz-home-lab .cz-lab-popular-icon { flex: 0 0 43px; width: 43px; height: 43px; border-radius: 13px; color: #2563eb; background: #eaf1ff; }
.cz-home-lab .cz-lab-popular-copy { gap: 5px; }
.cz-home-lab .cz-lab-popular-copy strong { color: #1a2a45 !important; font-size: 15px !important; font-weight: 780 !important; line-height: 1.35; }
.cz-home-lab .cz-lab-popular-copy > span { color: #687891 !important; font-size: 12px !important; line-height: 1.45; }
.cz-home-lab .cz-lab-popular-open { display: none; }
.cz-home-lab .cz-lab-popular-footer { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 7px; padding-top: 0; border: 0; }
.cz-home-lab .cz-lab-popular-footer > a { min-height: 34px !important; color: #2563eb !important; font-size: 11px !important; }
.cz-home-lab .cz-lab-popular-footer small { max-width: 42%; overflow: hidden; color: #7b899d !important; font-size: 10px !important; text-overflow: ellipsis; white-space: nowrap; }
.cz-home-lab .cz-lab-popular-card > .cz-card-favorite-button {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  display: inline-grid !important;
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center !important;
  border: 1px solid #e2e9f5 !important;
  border-radius: 10px !important;
  color: #526680 !important;
  background: #f9fbff !important;
  box-shadow: none !important;
  font-size: 19px !important;
  line-height: 1 !important;
}
.cz-home-lab .cz-lab-popular-card > .cz-card-favorite-button[aria-pressed="true"] { color: #8a5b00 !important; border-color: #f0d48c !important; background: #fff5d9 !important; }

/* Confidence strip — four simple, factual value propositions. */
.cz-premium-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 17px 20px;
  border: 1px solid #e6ecf7;
  border-radius: 17px;
  background: linear-gradient(105deg, #f5f8ff, #fbfcff 55%, #f4f8ff);
}
.cz-premium-trust-strip > div { display: flex; align-items: center; justify-content: center; gap: 11px; min-width: 0; }
.cz-premium-trust-strip > div + div { border-left: 1px solid #dfe7f3; }
.cz-premium-trust-strip > div > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cz-premium-trust-strip strong { color: #1d2d48; font-size: 12px; font-weight: 800; }
.cz-premium-trust-strip small { color: #6e7d94; font-size: 10px; line-height: 1.4; }
.cz-premium-trust-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 11px; font-size: 18px; font-weight: 850; }
.cz-trust-blue { color: #2563eb; background: #e7efff; }
.cz-trust-violet { color: #7652df; background: #f0eaff; }
.cz-trust-teal { color: #078d75; background: #e3f8f1; }
.cz-trust-amber { color: #c27a0a; background: #fff3d9; }

/* Quick calculation panel and recently-added tools. */
.cz-home-lab .cz-lab-mini-shell { border: 1px solid #e4eaf5; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(28,48,85,.045); }
.cz-home-lab .cz-lab-mini-tabs { border-bottom-color: #e9eef6; background: #f8faff; }
.cz-home-lab .cz-lab-mini-tabs button[aria-selected="true"] { border-color: #d8e4ff; color: #1d4ed8; }
.cz-home-lab .cz-lab-mini-controls > button { background: var(--cz-premium-blue); }
.cz-home-lab .cz-lab-mini-controls > button:hover { background: var(--cz-premium-blue-dark); }
.cz-home-lab .cz-lab-mini-result { border-color: #dce6fb; background: #f5f8ff; }
.cz-home-lab .cz-lab-mini-result strong { color: #1d4ed8; }
.cz-home-lab .cz-lab-recent-list { gap: 9px; border: 0; }
.cz-home-lab .cz-lab-recent-item { min-height: 68px; padding: 12px 14px; border: 1px solid #e6ecf6; border-radius: 13px; background: #fff; }
.cz-home-lab .cz-lab-recent-item strong { color: #20314d; font-size: 14px; }
.cz-home-lab .cz-lab-recent-item small { color: #687891; font-size: 12px; }
.cz-home-lab .cz-lab-related { margin-top: 34px; }
.cz-home-lab .cz-lab-privacy-note { color: #718098; font-size: 11px; }

/* All tools and category pages. Search results remain inside the hero section. */
.cz-tools-directory {
  width: min(1320px, calc(100% - 48px)) !important;
  max-width: 1320px !important;
  padding-top: 22px !important;
}
.cz-tools-directory .cz-breadcrumb { margin-bottom: 15px; color: #73829a; }
.cz-tools-directory .cz-breadcrumb a { color: #526987; }
.cz-tools-directory .cz-directory-hero {
  border: 1px solid #e4ebfb;
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 89% 28%, rgba(206,220,255,.7), transparent 34%),
    linear-gradient(115deg, #f7f9ff, #f4f7ff 61%, #eef3ff);
  box-shadow: 0 14px 38px rgba(37,70,135,.055);
}
.cz-tools-directory .cz-directory-eyebrow,
.cz-tools-directory .cz-directory-kicker { color: #2563eb; }
.cz-tools-directory .cz-directory-eyebrow__dot { background: #3b82f6; box-shadow: 0 0 0 4px rgba(59,130,246,.12); }
.cz-tools-directory .cz-directory-hero h1 { color: #14213a; font-weight: 830; letter-spacing: -.055em; }
.cz-tools-directory .cz-directory-intro { color: #586982; }
.cz-tools-directory .cz-directory-search { border-color: #d7e2f5; border-radius: 14px; box-shadow: 0 9px 26px rgba(37,70,135,.075); }
.cz-tools-directory .cz-directory-search button { background: #2563eb; border-radius: 10px; }
.cz-tools-directory .cz-directory-search button:hover { background: #1d4ed8; }
.cz-tools-directory .cz-directory-trustline i { color: #2563eb; background: #e8efff; }
.cz-tools-directory .cz-directory-hero__symbol { color: #2563eb; border-color: #dce6fa; }
.cz-tools-directory .cz-directory-orbit { border-color: rgba(74,116,209,.18); }
.cz-tools-directory .cz-directory-stats { border-top-color: #e0e8f6; }
.cz-tools-directory .cz-directory-stats strong { color: #1c2d49; }
.cz-tools-directory .cz-directory-section { margin-top: 42px; }
.cz-tools-directory .cz-directory-section__heading h2 { color: #172743; font-weight: 820; letter-spacing: -.04em; }
.cz-tools-directory .cz-directory-section__heading p { color: #697a93; font-size: 14px; }
.cz-tools-directory .cz-directory-category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cz-tools-directory .cz-directory-category {
  min-height: 138px;
  border-color: #e5ebf5;
  border-radius: 15px;
  box-shadow: 0 3px 13px rgba(28,48,84,.03);
}
.cz-tools-directory .cz-directory-category:hover { border-color: #c5d5f7; box-shadow: 0 10px 24px rgba(37,99,235,.07); }
.cz-tools-directory .cz-directory-category__icon { color: #2563eb; background: #eaf1ff; }
.cz-tools-directory .cz-directory-category__body > strong { color: #1d2d48; font-size: 14px; }
.cz-tools-directory .cz-directory-category__body small { color: #697a92; font-size: 11px; }
.cz-tools-directory .cz-directory-category__count { color: #2563eb; font-size: 11px; }
.cz-tools-directory .cz-directory-tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cz-tools-directory .cz-directory-tool-card {
  position: relative;
  border-color: #e4eaf5;
  border-radius: 15px;
  box-shadow: 0 3px 13px rgba(28,48,84,.035);
}
.cz-tools-directory .cz-directory-tool-card:hover { border-color: #bfd1f5; box-shadow: 0 12px 27px rgba(37,99,235,.08); }
.cz-tools-directory .cz-directory-tool-card__link { min-height: 176px; padding: 15px; }
.cz-tools-directory .cz-directory-tool-card__icon { color: #2563eb; background: #eaf1ff; }
.cz-tools-directory .cz-directory-tool-card__category { color: #526782; background: #f1f5fb; font-size: 10px; }
.cz-tools-directory .cz-directory-tool-card__link > strong { color: #1b2c47; font-size: 15px; }
.cz-tools-directory .cz-directory-tool-card__description { color: #63738b; font-size: 12px; }
.cz-tools-directory .cz-directory-tool-card__action { color: #2563eb; font-size: 12px; }
.cz-tools-directory .cz-directory-empty { border-color: #d9e3f3; background: #fbfcff; }
.cz-tools-directory .cz-directory-empty > span { color: #2563eb; background: #eaf1ff; }
.cz-tools-directory .cz-directory-empty h3 { color: #1c2d48; }
.cz-tools-directory .cz-directory-empty p { color: #687991; }
.cz-tools-directory .cz-directory-empty a { color: #2563eb; }
.cz-tools-directory .cz-directory-hero--search { padding: clamp(19px, 2.7vw, 34px); }
.cz-tools-directory .cz-directory-hero--search .cz-directory-results { border-top-color: #e1e9f6; }
.cz-tools-directory .cz-directory-hero--search .cz-directory-tool-card__link { min-height: 132px; }

/* Individual calculator pages: clearer hierarchy, comfortable controls and result emphasis. */
.cz-page-wrap {
  width: min(1240px, calc(100% - 48px)) !important;
  max-width: 1240px !important;
  padding-top: 20px !important;
  color: var(--cz-premium-ink);
}
.cz-page-wrap .cz-breadcrumb { color: #718098; }
.cz-page-wrap .cz-breadcrumb a { color: #536b8a; }
.cz-page-wrap .cz-tool-page-header { max-width: 920px !important; margin-bottom: 24px !important; text-align: center; }
.cz-page-wrap .cz-tool-page-header .cz-eyebrow { color: #2563eb; font-size: 11px; letter-spacing: .13em; }
.cz-page-wrap .cz-tool-page-header h1 { color: #14213a !important; font-size: clamp(31px, 4vw, 46px) !important; font-weight: 850 !important; letter-spacing: -.05em !important; }
.cz-page-wrap .cz-tool-page-header p { max-width: 760px; color: #5f6f87 !important; font-size: 16px !important; line-height: 1.65 !important; }
.cz-page-wrap .cz-tool-main-card,
.cz-page-wrap .cz-tool-main-card.cz-tool-main-card-individual {
  max-width: 1000px !important;
  padding: clamp(19px, 3vw, 34px) !important;
  border: 1px solid #e4eaf5 !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(25,45,83,.06) !important;
}
.cz-page-wrap .cz-tool-main-card:hover { transform: none !important; }
.cz-page-wrap .cz-tool-app-individual .cz-ux-input-panel { border-color: #e4eaf5; border-radius: 16px; background: #fbfcff; }
.cz-page-wrap .cz-tool-app-individual .cz-field { color: #283a55 !important; font-size: 14px !important; font-weight: 700 !important; }
.cz-page-wrap .cz-tool-app-individual .cz-field input,
.cz-page-wrap .cz-tool-app-individual .cz-field select,
.cz-page-wrap .cz-tool-app-individual .cz-field textarea {
  border-color: #d8e2f1 !important;
  border-radius: 11px !important;
  color: #1b2b45 !important;
  background: #fff !important;
  box-shadow: none;
}
.cz-page-wrap .cz-tool-app-individual .cz-field input:focus,
.cz-page-wrap .cz-tool-app-individual .cz-field select:focus,
.cz-page-wrap .cz-tool-app-individual .cz-field textarea:focus { border-color: #7da2f5 !important; box-shadow: 0 0 0 4px rgba(37,99,235,.10) !important; }
.cz-page-wrap .cz-tool-app-individual .cz-tool-actions button[type="submit"] { background: #2563eb !important; border-radius: 11px !important; }
.cz-page-wrap .cz-tool-app-individual .cz-tool-actions button[type="submit"]:hover { background: #1d4ed8 !important; }
.cz-page-wrap .cz-tool-app-individual .cz-tool-actions .cz-example { color: #2459bd !important; background: #edf3ff !important; border-color: #d9e5ff !important; }
.cz-page-wrap .cz-tool-app-individual .cz-tool-actions .cz-reset { color: #475a75 !important; background: #f5f7fb !important; border-color: #e1e8f2 !important; }
.cz-page-wrap .cz-tool-app-individual .cz-result { border-color: #dce6fb !important; border-radius: 15px !important; background: #f5f8ff !important; }
.cz-page-wrap .cz-tool-app-individual .cz-result-output { border-color: #e1e9f7 !important; border-radius: 11px !important; color: #172b4a !important; background: #fff !important; }
.cz-page-wrap .cz-tool-app-individual .cz-result .cz-copy { background: #2563eb !important; border-radius: 10px !important; }
.cz-page-wrap .cz-tool-guide { border-color: #e4eaf5; border-radius: 15px; background: #fff; }
.cz-page-wrap .cz-tool-guide > summary { color: #245fcf; }
.cz-page-wrap .cz-info-section { color: #40516b; }
.cz-page-wrap .cz-info-section h2,
.cz-page-wrap .cz-info-section h3,
.cz-page-wrap .cz-info-section h4 { color: #1a2b47 !important; }
.cz-page-wrap .cz-related { margin-top: 38px; }
.cz-page-wrap .cz-tool-link-grid a { border-color: #e3eaf5; border-radius: 12px; color: #263956; background: #fff; }
.cz-page-wrap .cz-tool-link-grid a:hover { border-color: #bfd1f5; color: #245fcf; }

/* Dark mode mirrors the same hierarchy and contrast, not simply inverted colours. */
html[data-cz-theme="dark"] .cz-home-lab {
  --cz-premium-ink: #f0f5ff;
  --cz-premium-muted: #c0ccdd;
  color: #edf3fc;
}
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-hero {
  border-color: #30435f;
  background:
    radial-gradient(ellipse at 84% 48%, rgba(44,75,133,.38), transparent 38%),
    linear-gradient(115deg, #142239 0%, #17263f 58%, #192d4d 100%);
  box-shadow: 0 16px 42px rgba(0,0,0,.18);
}
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-hero h1 { color: #f3f7ff !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-intro { color: #c6d2e3 !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search { border-color: #435875; background: #101c30; box-shadow: 0 10px 28px rgba(0,0,0,.2); }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search input[type="search"] { color: #f0f5ff !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search input[type="search"]::placeholder { color: #9fb0c7 !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search-prompts { color: #b8c6d9; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search-prompts button { border-color: #344963; color: #d3def0; background: #1a2b45; }
html[data-cz-theme="dark"] .cz-premium-calculator-preview { border-color: #506585; background: rgba(22,37,60,.96); }
html[data-cz-theme="dark"] .cz-premium-preview-head { color: #edf4ff; }
html[data-cz-theme="dark"] .cz-premium-preview-field small { color: #b6c5d9; }
html[data-cz-theme="dark"] .cz-premium-preview-field strong { border-color: #405775; color: #edf4ff; background: #192b46; }
html[data-cz-theme="dark"] .cz-premium-float { border-color: #405775; background: #1b2d49; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-section-heading h2 { color: #f1f5fb !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-section-heading p { color: #bac7d9 !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-category,
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-popular-card,
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-recent-item,
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-mini-shell {
  border-color: #344a66 !important;
  color: #edf3fc !important;
  background: #162740 !important;
  box-shadow: none;
}
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-category-copy strong,
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-popular-copy strong,
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-recent-item strong { color: #f0f5ff !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-category-copy small,
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-popular-copy > span,
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-popular-footer small,
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-recent-item small { color: #bdcadd !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-category:hover,
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-popular-card:hover,
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-recent-item:hover { border-color: #5875a4 !important; background: #1a304e !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-mini-tabs { border-color: #344a66; background: #122139; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-mini-tabs button { color: #c2cee0; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-mini-tabs button[aria-selected="true"] { border-color: #47649a; color: #dbe8ff; background: #203a60; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-mini-panel,
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-mini-controls input,
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-word-controls textarea { color: #edf3fc; background: #162740; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-mini-copy h3 { color: #f0f5ff; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-mini-copy p,
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-mini-controls label { color: #bdcadd; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-mini-controls input { border-color: #435a77; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-mini-result { border-color: #3d5880; background: #1a3355; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-mini-result strong { color: #c5d8ff; }
html[data-cz-theme="dark"] .cz-premium-trust-strip { border-color: #344a66; background: #162740; }
html[data-cz-theme="dark"] .cz-premium-trust-strip > div + div { border-color: #344a66; }
html[data-cz-theme="dark"] .cz-premium-trust-strip strong { color: #f0f5ff; }
html[data-cz-theme="dark"] .cz-premium-trust-strip small { color: #bdcadd; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-privacy-note { color: #aebdd1; }
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-hero {
  border-color: #344b69;
  background: radial-gradient(ellipse at 89% 28%, rgba(52,82,143,.38), transparent 34%), linear-gradient(115deg, #142239, #172740 61%, #1b2d4b);
  box-shadow: none;
}
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-hero h1,
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-section__heading h2 { color: #f0f5ff; }
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-intro,
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-section__heading p { color: #c0ccdd; }
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-search { border-color: #435a77; background: #101d31; }
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-search input[type="search"] { color: #f0f5ff; }
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-search input::placeholder { color: #9fb0c7; }
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-category,
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-tool-card,
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-subcategory,
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-section__meta { border-color: #344a66; color: #edf3fc; background: #162740; box-shadow: none; }
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-category__body > strong,
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-tool-card__link > strong { color: #f0f5ff; }
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-category__body small,
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-tool-card__description { color: #bdcadd; }
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-tool-card__category { color: #c8d5e7; background: #233a59; }
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-hero--search .cz-directory-results { border-color: #344a66; }
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-stats { border-color: #344a66; }
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-stats strong { color: #f0f5ff; }
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-stats span { color: #bdcadd; }
html[data-cz-theme="dark"] .cz-page-wrap .cz-tool-page-header h1,
html[data-cz-theme="dark"] .cz-page-wrap .cz-info-section h2,
html[data-cz-theme="dark"] .cz-page-wrap .cz-info-section h3,
html[data-cz-theme="dark"] .cz-page-wrap .cz-info-section h4 { color: #f0f5ff !important; }
html[data-cz-theme="dark"] .cz-page-wrap .cz-tool-page-header p,
html[data-cz-theme="dark"] .cz-page-wrap .cz-info-section { color: #c0ccdd !important; }
html[data-cz-theme="dark"] .cz-page-wrap .cz-tool-main-card,
html[data-cz-theme="dark"] .cz-page-wrap .cz-tool-guide,
html[data-cz-theme="dark"] .cz-page-wrap .cz-tool-link-grid a { border-color: #344a66 !important; color: #edf3fc; background: #162740 !important; box-shadow: none !important; }
html[data-cz-theme="dark"] .cz-page-wrap .cz-tool-app-individual .cz-ux-input-panel { border-color: #344a66; background: #192d48; }
html[data-cz-theme="dark"] .cz-page-wrap .cz-tool-app-individual .cz-field { color: #d7e2f1 !important; }
html[data-cz-theme="dark"] .cz-page-wrap .cz-tool-app-individual .cz-field input,
html[data-cz-theme="dark"] .cz-page-wrap .cz-tool-app-individual .cz-field select,
html[data-cz-theme="dark"] .cz-page-wrap .cz-tool-app-individual .cz-field textarea { border-color: #435a77 !important; color: #f0f5ff !important; background: #102037 !important; }
html[data-cz-theme="dark"] .cz-page-wrap .cz-tool-app-individual .cz-result { border-color: #3b557c !important; background: #1b3354 !important; }
html[data-cz-theme="dark"] .cz-page-wrap .cz-tool-app-individual .cz-result-output { border-color: #405779 !important; color: #eef4ff !important; background: #102037 !important; }
html[data-cz-theme="dark"] .cz-page-wrap .cz-tool-guide > summary { color: #a9c7ff; }

/* Responsive layouts. The preview drops below the search on tablets and is hidden on narrow phones. */
@media (max-width: 1080px) {
  .cz-home-lab .cz-lab-hero { grid-template-columns: minmax(0, 1fr) minmax(270px, .78fr); column-gap: 24px; }
  .cz-home-lab .cz-lab-hero h1 { font-size: clamp(38px, 4.8vw, 55px) !important; }
  .cz-home-lab .cz-lab-category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .cz-home-lab .cz-lab-popular-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cz-tools-directory .cz-directory-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .cz-home-lab { width: min(100% - 36px, 760px) !important; padding-top: 16px !important; }
  .cz-home-lab .cz-lab-hero { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr); padding: 30px 25px !important; border-radius: 22px; }
  .cz-home-lab .cz-lab-hero h1 { font-size: clamp(35px, 5.4vw, 46px) !important; }
  .cz-home-lab .cz-lab-intro { font-size: 15px !important; }
  .cz-premium-calculator-preview { padding: 17px; }
  .cz-premium-preview-head { font-size: 12px; }
  .cz-premium-preview-field strong { min-height: 38px; }
  .cz-premium-float { width: 36px; height: 36px; font-size: 18px; }
  .cz-home-lab .cz-lab-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .cz-home-lab .cz-lab-popular-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cz-premium-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cz-premium-trust-strip > div { justify-content: flex-start; padding: 5px 8px; }
  .cz-premium-trust-strip > div + div { border-left: 0; }
  .cz-tools-directory { width: min(100% - 36px, 900px) !important; }
  .cz-tools-directory .cz-directory-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cz-tools-directory .cz-directory-tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cz-page-wrap { width: min(100% - 36px, 900px) !important; }
}
@media (max-width: 620px) {
  .cz-home-lab { width: 100% !important; padding: 12px 14px 42px !important; }
  .cz-home-lab .cz-lab-hero {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 27px 17px 18px !important;
    border-radius: 19px;
  }
  .cz-home-lab .cz-lab-hero-copy { width: 100%; }
  .cz-home-lab .cz-lab-eyebrow { margin-bottom: 12px; font-size: 9px; }
  .cz-home-lab .cz-lab-hero h1 { font-size: clamp(34px, 9.3vw, 43px) !important; line-height: 1.06 !important; }
  .cz-home-lab .cz-lab-intro { margin-top: 11px; font-size: 15px !important; }
  .cz-home-lab .cz-lab-search { margin-top: 19px; min-height: 56px; display: flex; padding: 6px 7px 6px 11px; }
  .cz-home-lab .cz-lab-search-icon { font-size: 20px; }
  .cz-home-lab .cz-lab-search input[type="search"] { min-height: 42px; font-size: 15px !important; }
  .cz-home-lab .cz-lab-search button { flex: 0 0 auto; min-height: 40px; padding: 8px 11px; font-size: 11px; }
  .cz-home-lab .cz-lab-search-prompts { margin-top: 10px; gap: 6px; }
  .cz-home-lab .cz-lab-search-prompts button { min-height: 29px; padding: 4px 8px; font-size: 10px; }
  .cz-premium-hero-visual { min-height: 0; margin: 23px auto 0; width: min(100%, 340px); }
  .cz-premium-calculator-preview { width: 88%; padding: 15px; transform: rotate(1deg); }
  .cz-premium-preview-head { margin-bottom: 12px; }
  .cz-premium-preview-result { margin-top: 13px; padding: 11px 13px; }
  .cz-premium-preview-result strong { font-size: 25px; }
  .cz-premium-orbit--one { width: 92%; }
  .cz-premium-orbit--two { width: 72%; }
  .cz-premium-float--percent { left: -1%; top: 7%; }
  .cz-premium-float--calendar { right: -1%; top: 10%; }
  .cz-premium-float--trend { right: 0; bottom: 0; }
  .cz-home-lab .cz-lab-section { margin-top: 31px; }
  .cz-home-lab .cz-lab-section-heading { align-items: flex-start; gap: 9px; }
  .cz-home-lab .cz-lab-section-heading h2 { font-size: 23px !important; }
  .cz-home-lab .cz-lab-section-heading p { font-size: 13px !important; }
  .cz-home-lab .cz-lab-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .cz-home-lab .cz-lab-category { min-height: 106px; padding: 11px 7px; }
  .cz-home-lab .cz-lab-category-icon { width: 40px !important; height: 40px !important; }
  .cz-home-lab .cz-lab-category-copy strong { font-size: 12px !important; }
  .cz-home-lab .cz-lab-category-copy small { font-size: 10px !important; }
  .cz-home-lab .cz-lab-popular-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .cz-home-lab .cz-lab-popular-card { min-height: 0; padding: 13px 13px 9px; }
  .cz-home-lab .cz-lab-popular-main { min-height: 66px; padding-right: 42px; }
  .cz-home-lab .cz-lab-popular-copy strong { font-size: 15px !important; }
  .cz-home-lab .cz-lab-popular-copy > span { font-size: 12px !important; }
  .cz-home-lab .cz-lab-popular-card > .cz-card-favorite-button { top: 11px !important; right: 11px !important; width: 33px !important; min-width: 33px !important; max-width: 33px !important; height: 33px !important; min-height: 33px !important; max-height: 33px !important; }
  .cz-premium-trust-strip { grid-template-columns: minmax(0,1fr); gap: 8px; padding: 12px; }
  .cz-premium-trust-strip > div { padding: 5px; }
  .cz-premium-trust-strip > div + div { border-top: 1px solid #e3eaf5; padding-top: 12px; }
  .cz-premium-trust-strip strong { font-size: 12px; }
  .cz-premium-trust-strip small { font-size: 11px; }
  .cz-home-lab .cz-lab-mini-panel { padding: 14px; }
  .cz-home-lab .cz-lab-mini-controls { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 9px; }
  .cz-home-lab .cz-lab-mini-of { display: none; }
  .cz-home-lab .cz-lab-mini-controls > button { grid-column: 1 / -1; width: 100%; }
  .cz-tools-directory { width: 100% !important; padding: 12px 14px 42px !important; }
  .cz-tools-directory .cz-directory-hero { padding: 22px 16px 19px; border-radius: 19px; }
  .cz-tools-directory .cz-directory-hero h1 { font-size: clamp(29px, 8vw, 38px); }
  .cz-tools-directory .cz-directory-search { min-height: 52px; padding-left: 10px; gap: 6px; }
  .cz-tools-directory .cz-directory-search input[type="search"] { font-size: 16px; }
  .cz-tools-directory .cz-directory-search button { min-height: 40px; padding: 0 11px; font-size: 11px; }
  .cz-tools-directory .cz-directory-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cz-tools-directory .cz-directory-category { min-height: 112px; padding: 12px; }
  .cz-tools-directory .cz-directory-category__body > strong { font-size: 12px; }
  .cz-tools-directory .cz-directory-category__body small { font-size: 10px; }
  .cz-tools-directory .cz-directory-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cz-tools-directory .cz-directory-tool-card__link { min-height: 147px; padding: 11px; }
  .cz-tools-directory .cz-directory-tool-card__link > strong { font-size: 13px; }
  .cz-tools-directory .cz-directory-tool-card__description { font-size: 11px; }
  .cz-tools-directory .cz-directory-hero--search { padding: 14px 11px; }
  .cz-tools-directory .cz-directory-hero--search .cz-directory-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cz-tools-directory .cz-directory-hero--search .cz-directory-tool-card__link { min-height: 125px; padding: 9px; }
  .cz-page-wrap { width: 100% !important; padding: 14px 14px 44px !important; }
  .cz-page-wrap .cz-tool-page-header { margin-bottom: 17px !important; }
  .cz-page-wrap .cz-tool-page-header h1 { font-size: clamp(27px, 7.5vw, 34px) !important; }
  .cz-page-wrap .cz-tool-page-header p { font-size: 14px !important; }
  .cz-page-wrap .cz-tool-main-card,
  .cz-page-wrap .cz-tool-main-card.cz-tool-main-card-individual { padding: 12px !important; border-radius: 15px !important; }
}
@media (max-width: 390px) {
  .cz-home-lab .cz-lab-search button { padding-inline: 9px; }
  .cz-home-lab .cz-lab-search button span { display: none; }
  .cz-tools-directory .cz-directory-hero--search .cz-directory-tool-grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .cz-home-lab .cz-lab-category,
  .cz-home-lab .cz-lab-popular-card,
  .cz-tools-directory .cz-directory-category,
  .cz-tools-directory .cz-directory-tool-card { transition: none !important; transform: none !important; }
}

/* Saved tools: a calm workspace panel with clearer hierarchy. */
.cz-home-lab .cz-personal-tools {
  margin-top: 24px !important;
  padding: 22px !important;
  border: 1px solid #dfe7f4 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(27,48,87,.045);
}
.cz-home-lab .cz-personal-tools .cz-lab-kicker { color: #2563eb !important; }
.cz-home-lab .cz-personal-tools h2,
.cz-home-lab .cz-personal-tools h3 { color: #172943 !important; }
.cz-home-lab .cz-personal-tools .cz-personal-tool-card {
  border-color: #e1e8f3 !important;
  border-radius: 12px !important;
  background: #fbfcff !important;
}
.cz-home-lab .cz-personal-tools .cz-personal-tool-link { color: #1e3557 !important; font-size: 15px !important; }
.cz-home-lab .cz-personal-tools .cz-personal-tool-meta,
.cz-home-lab .cz-personal-tools .cz-personal-tool-remove,
.cz-home-lab .cz-personal-tools .cz-personal-empty { color: #596b83 !important; font-size: 13px !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-personal-tools {
  border-color: #344a66 !important;
  background: #162740 !important;
  box-shadow: none;
}
html[data-cz-theme="dark"] .cz-home-lab .cz-personal-tools h2,
html[data-cz-theme="dark"] .cz-home-lab .cz-personal-tools h3,
html[data-cz-theme="dark"] .cz-home-lab .cz-personal-tools .cz-personal-tool-link { color: #f0f5ff !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-personal-tools .cz-personal-tool-card { border-color: #405775 !important; background: #1a304e !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-personal-tools .cz-personal-tool-meta,
html[data-cz-theme="dark"] .cz-home-lab .cz-personal-tools .cz-personal-tool-remove,
html[data-cz-theme="dark"] .cz-home-lab .cz-personal-tools .cz-personal-empty { color: #c0ccdd !important; }

/* Readability finishing pass: metadata stays secondary, never faint or microscopic. */
.cz-home-lab .cz-lab-category-copy small,
.cz-home-lab .cz-lab-popular-copy > span,
.cz-home-lab .cz-lab-popular-footer small,
.cz-tools-directory .cz-directory-category__body small,
.cz-tools-directory .cz-directory-tool-card__description { font-size: 13px !important; line-height: 1.5 !important; }
.cz-premium-trust-strip small { font-size: 12px !important; line-height: 1.45 !important; }
.cz-home-lab .cz-lab-category-copy strong,
.cz-home-lab .cz-lab-popular-copy strong { line-height: 1.35 !important; }
@media (max-width: 620px) {
  .cz-home-lab .cz-lab-category-copy small,
  .cz-home-lab .cz-lab-popular-copy > span,
  .cz-home-lab .cz-lab-popular-footer small,
  .cz-tools-directory .cz-directory-category__body small,
  .cz-tools-directory .cz-directory-tool-card__description { font-size: 12px !important; }
  .cz-premium-trust-strip small { font-size: 12px !important; }
  .cz-home-lab .cz-personal-tools { padding: 15px !important; }
}

/* One clear keyboard-focus language across all refreshed public components. */
.cz-home-lab a:focus-visible,
.cz-home-lab button:focus-visible,
.cz-tools-directory a:focus-visible,
.cz-tools-directory button:focus-visible,
.cz-tools-directory input:focus-visible,
.cz-page-wrap a:focus-visible,
.cz-page-wrap button:focus-visible,
.cz-page-wrap input:focus-visible,
.cz-page-wrap select:focus-visible,
.cz-page-wrap textarea:focus-visible {
  outline: 3px solid #2563eb !important;
  outline-offset: 3px !important;
}
html[data-cz-theme="dark"] .cz-home-lab a:focus-visible,
html[data-cz-theme="dark"] .cz-home-lab button:focus-visible,
html[data-cz-theme="dark"] .cz-tools-directory a:focus-visible,
html[data-cz-theme="dark"] .cz-tools-directory button:focus-visible,
html[data-cz-theme="dark"] .cz-page-wrap a:focus-visible,
html[data-cz-theme="dark"] .cz-page-wrap button:focus-visible { outline-color: #91b6ff !important; }

/* Shared site shell: keep header and footer aligned with the refreshed content. */
.cz-site-header { border-bottom-color: rgba(35,55,90,.10); box-shadow: 0 4px 18px rgba(25,43,77,.035); }
.cz-header__inner { min-height: 76px; }
.cz-header__brand-name { letter-spacing: -.045em; }
.cz-header__nav-list > li > a,
.cz-header__category-toggle { font-weight: 650; }
.cz-header__nav-list > li > a { border-radius: 9px; }
.cz-header__search,
.cz-header__theme-toggle,
.cz-header__language-toggle { border-radius: 11px; }
.cz-header__theme-toggle,
.cz-header__language-toggle { border-radius: 999px; }
.cz-site-footer { border-top: 1px solid rgba(210,224,242,.10); box-shadow: 0 -8px 28px rgba(27,48,87,.035); }
.cz-footer__inner { width: min(1240px, calc(100% - 48px)); }
.cz-footer__links a { line-height: 1.6; }
.cz-footer__social a { min-height: 36px; }
@media (max-width: 600px) {
  .cz-footer__inner { width: min(100% - 32px, 520px); }
}

/* v2.28.6 — interactive search-first hero and real quick-calculation workspace. */
.cz-home-lab .cz-lab-hero.cz-lab-hero--interactive {
  display: grid !important;
  grid-template-columns: minmax(0, 1.07fr) minmax(350px, .93fr) !important;
  grid-template-rows: auto !important;
  align-items: center;
  gap: clamp(25px, 4vw, 54px);
  min-height: 0;
  padding: clamp(30px, 4vw, 54px) !important;
  border: 1px solid #dce6f7;
  border-radius: 27px;
  background: radial-gradient(ellipse at 5% 0%, rgba(219,232,255,.82), transparent 39%), radial-gradient(ellipse at 100% 100%, rgba(224,226,255,.64), transparent 42%), linear-gradient(120deg,#f9fbff 0%,#f3f7ff 57%,#f6f5ff 100%);
  box-shadow: 0 18px 52px rgba(34,65,122,.075);
  overflow: visible;
}
.cz-home-lab .cz-lab-hero.cz-lab-hero--interactive::before { content: none; }
.cz-home-lab .cz-lab-hero-main { grid-column: 1; grid-row: 1; min-width: 0; width: 100%; position: relative; z-index: 5; }
.cz-home-lab .cz-lab-hero-copy { max-width: 700px; }
.cz-home-lab .cz-lab-eyebrow { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; color: #2563eb; font-size: 10px; letter-spacing: .14em; }
.cz-home-lab .cz-lab-eyebrow-mark { display: inline-grid; width: 23px; height: 23px; place-items: center; border: 1px solid #cbdcff; border-radius: 8px; background: #edf3ff; color: #2563eb; font-size: 12px; }
.cz-home-lab .cz-lab-hero h1 { max-width: 690px; margin: 0; color: #14213a !important; font-size: clamp(39px,4.7vw,61px) !important; font-weight: 850; line-height: 1.04 !important; letter-spacing: -.058em; }
.cz-home-lab .cz-lab-hero h1 span { display: block; margin-top: 5px; background: linear-gradient(95deg,#2563eb 0%,#4f62e8 54%,#7657df 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cz-home-lab .cz-lab-intro { max-width: 610px; margin: 16px 0 0; color: #586982 !important; font-size: clamp(15px,1.3vw,18px) !important; line-height: 1.65 !important; }
.cz-home-lab .cz-lab-search { position: relative; z-index: 12; display: flex; width: 100%; max-width: 720px; min-height: 64px; margin: 25px 0 0 !important; padding: 7px 8px 7px 16px !important; gap: 10px; border: 1px solid #d3def0; border-radius: 15px !important; background: #fff; box-shadow: 0 12px 32px rgba(36,67,128,.10); }
.cz-home-lab .cz-lab-search:focus-within { border-color: #7ca3f7; box-shadow: 0 0 0 4px rgba(37,99,235,.10),0 16px 36px rgba(36,67,128,.13); }
.cz-home-lab .cz-lab-search-icon { flex: 0 0 28px; width: 28px; color: #526985 !important; }
.cz-home-lab .cz-lab-search input[type="search"] { min-width: 0; min-height: 48px; padding: 9px 3px; color: #172b49 !important; font-size: 16px !important; }
.cz-home-lab .cz-lab-search input[type="search"]::placeholder { color: #8492a8 !important; opacity: 1; }
.cz-home-lab .cz-lab-search button { min-height: 48px; padding: 10px 18px; border-radius: 11px; background: #2563eb; box-shadow: 0 6px 15px rgba(37,99,235,.18); font-size: 13px; font-weight: 780; white-space: nowrap; }
.cz-home-lab .cz-lab-search button:hover { background: #1d4ed8; transform: translateY(-1px); }
.cz-home-lab .cz-lab-search-prompts { justify-content: flex-start; gap: 7px; margin: 12px 0 0; color: #718099; font-size: 11px; }
.cz-home-lab .cz-lab-search-prompts-label { padding-right: 2px; font-weight: 750; color: #52647e; }
.cz-home-lab .cz-lab-search-prompts button { min-height: 31px; padding: 5px 10px; border: 1px solid #dce5f2; border-radius: 999px; background: rgba(255,255,255,.82); color: #405572; font-size: 11px; font-weight: 680; transition: border-color .16s,background .16s,color .16s,transform .16s; }
.cz-home-lab .cz-lab-search-prompts button:hover { border-color: #a9c3f7; background: #edf4ff; color: #1d4ed8; transform: translateY(-1px); }
.cz-home-lab .cz-lab-hero-proof { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 17px; margin-top: 23px; color: #718099; font-size: 11px; }
.cz-home-lab .cz-lab-hero-proof span { display: inline-flex; align-items: center; gap: 5px; }
.cz-home-lab .cz-lab-hero-proof span i { display: inline-grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: #e5f7ef; color: #0b9365; font-size: 10px; font-style: normal; font-weight: 900; }
.cz-home-lab .cz-lab-hero-proof b { padding-left: 12px; border-left: 1px solid #d3deed; color: #315b9d; font-size: 11px; font-weight: 800; }

.cz-home-lab .cz-hero-calculator { grid-column: 2; grid-row: 1; position: relative; z-index: 2; width: 100%; min-width: 0; max-width: 480px; justify-self: end; padding: 22px; border: 1px solid #e1e9f5; border-radius: 21px; background: rgba(255,255,255,.96); box-shadow: 0 22px 56px rgba(35,60,111,.13),0 3px 12px rgba(35,60,111,.04); transition: transform .22s ease,box-shadow .22s ease; }
.cz-home-lab .cz-hero-calculator:hover { transform: translateY(-3px); box-shadow: 0 27px 63px rgba(35,60,111,.16),0 4px 14px rgba(35,60,111,.05); }
.cz-home-lab .cz-hero-calculator-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.cz-home-lab .cz-hero-calculator-kicker { display: block; margin-bottom: 5px; color: #2563eb; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.cz-home-lab .cz-hero-calculator-head h2 { margin: 0; color: #172944; font-size: 19px; font-weight: 820; line-height: 1.2; letter-spacing: -.035em; }
.cz-home-lab .cz-hero-live-badge { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 7px 9px; border: 1px solid #d8f1e6; border-radius: 999px; background: #effaf5; color: #137b59; font-size: 10px; font-weight: 750; white-space: nowrap; }
.cz-home-lab .cz-hero-live-badge i { width: 6px; height: 6px; border-radius: 50%; background: #16a873; box-shadow: 0 0 0 3px rgba(22,168,115,.12); }
.cz-home-lab .cz-hero-calc-tabs { display: flex; gap: 5px; margin-bottom: 17px; padding: 5px; border: 1px solid #e7edf6; border-radius: 12px; background: #f5f7fb; }
.cz-home-lab .cz-hero-calc-tabs button { flex: 1 1 auto; min-width: 0; min-height: 37px; padding: 7px 9px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #62728a; font-size: 11px; font-weight: 720; cursor: pointer; transition: color .16s,background .16s,border-color .16s,box-shadow .16s; }
.cz-home-lab .cz-hero-calc-tabs button[aria-selected="true"] { border-color: #d6e3fa; background: #fff; color: #245cc4; box-shadow: 0 2px 7px rgba(30,57,101,.07); }
.cz-home-lab .cz-hero-calc-tabs button:focus-visible,.cz-home-lab .cz-hero-open-tool:focus-visible { outline: 3px solid rgba(37,99,235,.28); outline-offset: 2px; }
.cz-home-lab .cz-hero-calc-panel[hidden] { display: none !important; }
.cz-home-lab .cz-hero-calc-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.cz-home-lab .cz-hero-calc-fields--three { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.cz-home-lab .cz-hero-calc-fields label { display: grid; min-width: 0; gap: 6px; color: #5a6a82; font-size: 11px; font-weight: 720; }
.cz-home-lab .cz-hero-calc-fields input { width: 100%; min-width: 0; min-height: 45px; padding: 9px 11px; border: 1px solid #dbe4f0; border-radius: 10px; background: #fbfcff; color: #1c304e; font: inherit; font-size: 15px; font-weight: 750; box-shadow: inset 0 1px 2px rgba(25,45,80,.025); transition: border-color .15s,box-shadow .15s,background .15s; }
.cz-home-lab .cz-hero-calc-fields input:hover { border-color: #b9ccef; }
.cz-home-lab .cz-hero-calc-fields input:focus { outline: none; border-color: #6b96ed; background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.11); }
.cz-home-lab .cz-hero-calc-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 16px; border: 1px solid #dce8fb; border-radius: 13px; background: linear-gradient(110deg,#f1f6ff,#f7f8ff 72%,#f2f7ff); }
.cz-home-lab .cz-hero-calc-result small { display: block; margin-bottom: 4px; color: #667b9a; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.cz-home-lab .cz-hero-calc-result output { display: block; color: #1d4ed8; font-size: clamp(25px,3vw,33px); font-weight: 850; line-height: 1.05; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.cz-home-lab .cz-hero-calc-result p { margin: 5px 0 0; color: #64758f; font-size: 10px; line-height: 1.45; }
.cz-home-lab .cz-hero-calc-result.is-invalid output { color: #b45309; }
.cz-home-lab .cz-hero-result-symbol { display: grid; width: 42px; height: 42px; flex: none; place-items: center; border: 1px solid #d8e5fc; border-radius: 12px; background: #fff; color: #3972db; font-size: 20px; font-weight: 850; }
.cz-home-lab .cz-hero-calc-validation { margin: 7px 0 0; color: #b45309; font-size: 11px; line-height: 1.45; }
.cz-home-lab .cz-hero-calc-note { margin: 8px 0 0; color: #7b8799; font-size: 10px; line-height: 1.45; }
.cz-home-lab .cz-hero-open-tool { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; color: #245fc9; font-size: 11px; font-weight: 780; text-decoration: none; }
.cz-home-lab .cz-hero-open-tool[hidden] { display: none !important; }
.cz-home-lab .cz-hero-open-tool:hover { color: #1746a4; text-decoration: underline; text-underline-offset: 3px; }
.cz-home-lab .cz-hero-calculator-footnote { display: flex; align-items: center; gap: 7px; margin: 15px 0 0; padding-top: 12px; border-top: 1px solid #edf1f7; color: #8290a5; font-size: 10px; line-height: 1.4; }
.cz-home-lab .cz-hero-calculator-footnote span { color: #3972db; font-size: 14px; }

/* Theme-matched interactive workspace. */
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-hero.cz-lab-hero--interactive { border-color: #344a68; background: radial-gradient(ellipse at 0% 0%,rgba(42,75,133,.35),transparent 39%),radial-gradient(ellipse at 100% 100%,rgba(72,59,138,.22),transparent 42%),linear-gradient(120deg,#142239,#172842 58%,#1b2947); box-shadow: 0 18px 52px rgba(0,0,0,.22); }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-eyebrow-mark { border-color: #385784; background: #1d3558; color: #9bbcff; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-hero h1 { color: #f3f7ff !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-intro { color: #c1cee0 !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search { border-color: #435a78; background: #0f1d31; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search input[type="search"] { color: #f2f6ff !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search input[type="search"]::placeholder { color: #9bacc4 !important; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search-prompts { color: #b7c5d9; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search-prompts-label { color: #d0dbeb; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search-prompts button { border-color: #3b506d; background: #1a2d48; color: #d3def0; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search-prompts button:hover { border-color: #5b7eb7; background: #213b60; color: #edf4ff; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-hero-proof { color: #b6c5d9; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-hero-proof b { border-color: #405675; color: #a9c6ff; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calculator { border-color: #3c5271; background: #14243b; box-shadow: 0 22px 56px rgba(0,0,0,.28); }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calculator-head h2 { color: #f0f5ff; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-live-badge { border-color: #285b4a; background: #173b32; color: #9be4c6; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calc-tabs { border-color: #344b68; background: #101e32; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calc-tabs button { color: #bbc9dc; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calc-tabs button[aria-selected="true"] { border-color: #47648f; background: #233c5e; color: #e1ebff; box-shadow: none; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calc-fields label { color: #c1cee0; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calc-fields input { border-color: #405775; background: #102039; color: #f0f5ff; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calc-fields input:focus { border-color: #7198e2; background: #172b48; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calc-result { border-color: #385781; background: linear-gradient(110deg,#1a3153,#1b2e4c 72%,#1a3450); }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calc-result small { color: #afc3e2; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calc-result output { color: #a9c8ff; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calc-result p { color: #bdcbe0; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-result-symbol { border-color: #415e86; background: #213a5b; color: #b7d0ff; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calc-note { color: #b7c5d9; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-open-tool { color: #a9c7ff; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calculator-footnote { border-color: #344b68; color: #aebed3; }
html[data-cz-theme="dark"] .cz-home-lab .cz-hero-calculator-footnote span { color: #9bbcff; }

@media (max-width: 1040px) {
  .cz-home-lab .cz-lab-hero.cz-lab-hero--interactive { grid-template-columns: minmax(0,1fr) minmax(320px,.9fr) !important; gap: 25px; padding: 30px !important; }
  .cz-home-lab .cz-lab-hero h1 { font-size: clamp(36px,4.5vw,50px) !important; }
}
@media (max-width: 860px) {
  .cz-home-lab .cz-lab-hero.cz-lab-hero--interactive { grid-template-columns: minmax(0,1fr) !important; gap: 24px; padding: clamp(23px,4vw,36px) !important; }
  .cz-home-lab .cz-lab-hero-main,.cz-home-lab .cz-hero-calculator { grid-column: 1; grid-row: auto; }
  .cz-home-lab .cz-hero-calculator { width: 100%; max-width: 560px; justify-self: start; }
  .cz-home-lab .cz-lab-hero h1 { max-width: 760px; font-size: clamp(38px,6vw,56px) !important; }
}
@media (max-width: 620px) {
  .cz-home-lab .cz-lab-hero.cz-lab-hero--interactive { gap: 22px; padding: 23px 16px 17px !important; border-radius: 20px; }
  .cz-home-lab .cz-lab-eyebrow { margin-bottom: 11px; font-size: 9px; }
  .cz-home-lab .cz-lab-hero h1 { font-size: clamp(33px,8.5vw,43px) !important; line-height: 1.08 !important; }
  .cz-home-lab .cz-lab-intro { margin-top: 10px; font-size: 14px !important; }
  .cz-home-lab .cz-lab-search { display: flex; min-height: 55px; margin-top: 17px !important; padding: 5px 6px 5px 10px !important; gap: 6px; }
  .cz-home-lab .cz-lab-search-icon { flex-basis: 23px; width: 23px; }
  .cz-home-lab .cz-lab-search input[type="search"] { min-height: 42px; font-size: 14px !important; }
  .cz-home-lab .cz-lab-search button { min-height: 41px; padding: 8px 10px; font-size: 10px; }
  .cz-home-lab .cz-lab-search-prompts { gap: 6px; margin-top: 10px; }
  .cz-home-lab .cz-lab-search-prompts button { min-height: 30px; padding: 5px 8px; font-size: 10px; }
  .cz-home-lab .cz-lab-hero-proof { gap: 7px 12px; margin-top: 15px; font-size: 10px; }
  .cz-home-lab .cz-lab-hero-proof b { padding-left: 8px; }
  .cz-home-lab .cz-hero-calculator { padding: 16px; border-radius: 17px; }
  .cz-home-lab .cz-hero-calculator-head { margin-bottom: 13px; }
  .cz-home-lab .cz-hero-calculator-head h2 { font-size: 17px; }
  .cz-home-lab .cz-hero-calc-tabs { gap: 3px; margin-bottom: 13px; padding: 4px; }
  .cz-home-lab .cz-hero-calc-tabs button { min-height: 35px; padding: 6px 5px; font-size: 10px; }
  .cz-home-lab .cz-hero-calc-fields { gap: 8px; }
  .cz-home-lab .cz-hero-calc-fields--three { gap: 6px; }
  .cz-home-lab .cz-hero-calc-fields label { font-size: 10px; }
  .cz-home-lab .cz-hero-calc-fields input { min-height: 43px; padding: 8px; font-size: 14px; }
  .cz-home-lab .cz-hero-calc-result { margin-top: 12px; padding: 12px; }
  .cz-home-lab .cz-hero-calc-result output { font-size: 27px; }
}
@media (max-width: 390px) {
  .cz-home-lab .cz-lab-search button { padding-inline: 8px; }
  .cz-home-lab .cz-lab-search button span { display: none; }
  .cz-home-lab .cz-hero-calc-tabs button { font-size: 9px; }
  .cz-home-lab .cz-hero-live-badge { padding: 6px 7px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .cz-home-lab .cz-hero-calculator,.cz-home-lab .cz-hero-calc-tabs button,.cz-home-lab .cz-hero-calc-fields input,.cz-home-lab .cz-lab-search-prompts button { transition: none !important; transform: none !important; }
}


/* v2.28.7 — popular shortcuts are real tool links, not search-field commands. */
.cz-home-lab .cz-lab-search-prompts a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 31px; padding: 5px 10px; border: 1px solid #dce5f2;
  border-radius: 999px; background: rgba(255,255,255,.82); color: #405572;
  font-size: 11px; font-weight: 680; line-height: 1.3; text-decoration: none;
  transition: border-color .16s,background .16s,color .16s,transform .16s;
}
.cz-home-lab .cz-lab-search-prompts a:hover { border-color: #a9c3f7; background: #edf4ff; color: #1d4ed8; transform: translateY(-1px); }
.cz-home-lab .cz-lab-search-prompts a:focus-visible { outline: 3px solid rgba(37,99,235,.28); outline-offset: 2px; }
.cz-tools-directory .cz-directory-search-prompts a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 31px; padding: 5px 10px; border: 1px solid #d9e0e8;
  border-radius: 999px; background: #f8fafc; color: #344154;
  font-size: 11px; font-weight: 650; line-height: 1.3; text-decoration: none;
}
.cz-tools-directory .cz-directory-search-prompts a:hover { border-color: #a5b4fc; background: #f5f6ff; color: #3730a3; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search-prompts a,
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-search-prompts a { border-color: #3b506d; background: #1a2d48; color: #d3def0; }
html[data-cz-theme="dark"] .cz-home-lab .cz-lab-search-prompts a:hover,
html[data-cz-theme="dark"] .cz-tools-directory .cz-directory-search-prompts a:hover { border-color: #5b7eb7; background: #213b60; color: #edf4ff; }
@media (prefers-reduced-motion: reduce) {
  .cz-home-lab .cz-lab-search-prompts a { transition: none !important; transform: none !important; }
}


/* v2.28.10 — mobile hero/search recovery: prevent input squeeze, clipped controls and dropdown overflow. */
.cz-home-lab,
.cz-home-lab .cz-lab-hero,
.cz-home-lab .cz-lab-hero-main,
.cz-home-lab .cz-lab-hero-copy,
.cz-home-lab .cz-hero-calculator { min-width: 0; box-sizing: border-box; }
.cz-home-lab .cz-lab-search,
.cz-home-lab .cz-lab-search > * { box-sizing: border-box; }
.cz-home-lab .cz-lab-search { min-width: 0; }
.cz-home-lab .cz-lab-search input[type="search"] { flex: 1 1 auto; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
.cz-home-lab .cz-lab-search-prompts { display: flex; flex-wrap: wrap; align-items: center; max-width: 100%; min-width: 0; }
.cz-home-lab .cz-lab-search-prompts a { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.cz-home-lab .cz-lab-suggestions { left: 0; right: 0; width: auto; max-width: 100%; box-sizing: border-box; max-height: min(440px, 52vh); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.cz-home-lab .cz-lab-suggestion { min-width: 0; min-height: 54px; }
.cz-home-lab .cz-lab-suggestion-copy { flex: 1 1 auto; min-width: 0; }
.cz-home-lab .cz-lab-suggestion-meta { flex: 0 1 auto; max-width: 34%; overflow-wrap: anywhere; }
.cz-home-lab .cz-lab-search button { flex: 0 0 auto; min-width: 0; }

@media (max-width: 620px) {
  .cz-home-lab { overflow-x: clip; }
  .cz-home-lab .cz-lab-hero.cz-lab-hero--interactive {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%; max-width: 100%; min-width: 0;
    align-items: stretch; justify-items: stretch;
    gap: 18px; padding: 22px 14px 16px !important;
  }
  .cz-home-lab .cz-lab-hero-main,
  .cz-home-lab .cz-hero-calculator { grid-column: 1 / -1; grid-row: auto; width: 100%; max-width: 100%; min-width: 0; justify-self: stretch; }
  .cz-home-lab .cz-lab-hero-copy { width: 100%; max-width: 100%; min-width: 0; }
  .cz-home-lab .cz-lab-eyebrow { gap: 6px; flex-wrap: wrap; font-size: 9px; letter-spacing: .1em; }
  .cz-home-lab .cz-lab-hero h1 { max-width: 100%; font-size: clamp(30px, 8.2vw, 39px) !important; line-height: 1.08 !important; letter-spacing: -.045em; overflow-wrap: anywhere; }
  .cz-home-lab .cz-lab-intro { max-width: 100%; font-size: 14px !important; line-height: 1.55 !important; }
  .cz-home-lab .cz-lab-search {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr);
    grid-template-rows: minmax(46px, auto) 46px;
    align-items: center; gap: 8px 9px;
    width: 100%; max-width: 100%; min-width: 0; min-height: 0;
    margin: 16px 0 0 !important; padding: 9px !important;
    border-radius: 14px !important; overflow: visible !important;
  }
  .cz-home-lab .cz-lab-search-icon { grid-column: 1; grid-row: 1; display: inline-flex; align-items: center; justify-content: center; width: 24px; min-width: 24px; }
  .cz-home-lab .cz-lab-search input[type="search"] {
    grid-column: 2; grid-row: 1; display: block; width: 100%; max-width: 100%; min-width: 0;
    min-height: 46px; margin: 0; padding: 8px 2px; font-size: 16px !important; line-height: 1.35;
  }
  .cz-home-lab .cz-lab-search input[type="search"]::placeholder { font-size: 14px; text-overflow: ellipsis; }
  .cz-home-lab .cz-lab-search button {
    grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; justify-content: center;
    width: 100%; max-width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: 10px 14px;
    border-radius: 10px; font-size: 13px; line-height: 1.2; white-space: nowrap;
  }
  .cz-home-lab .cz-lab-search button .cz-lab-search-button-label { display: inline !important; }
  .cz-home-lab .cz-lab-search button .cz-lab-search-button-arrow { display: inline !important; margin-left: 7px; }
  .cz-home-lab .cz-lab-search-prompts { justify-content: flex-start; gap: 7px; margin-top: 10px; line-height: 1.3; }
  .cz-home-lab .cz-lab-search-prompts-label { flex: 0 0 100%; margin-bottom: 1px; }
  .cz-home-lab .cz-lab-search-prompts a { min-height: 36px; padding: 7px 10px; font-size: 11px; }
  .cz-home-lab .cz-lab-hero-proof { align-items: flex-start; gap: 8px 12px; margin-top: 14px; line-height: 1.35; }
  .cz-home-lab .cz-lab-hero-proof b { padding-left: 0; border-left: 0; }
  .cz-home-lab .cz-hero-calculator { padding: 15px; border-radius: 16px; }
  .cz-home-lab .cz-hero-calculator-head { flex-wrap: wrap; align-items: flex-start; gap: 8px; }
  .cz-home-lab .cz-hero-live-badge { margin-left: auto; }
  .cz-home-lab .cz-hero-calc-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .cz-home-lab .cz-hero-calc-tabs button { min-width: 0; min-height: 44px; padding: 7px 4px; font-size: 10px; line-height: 1.2; white-space: normal; overflow-wrap: anywhere; }
  .cz-home-lab .cz-hero-calc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .cz-home-lab .cz-hero-calc-fields--three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .cz-home-lab .cz-hero-calc-fields label { min-width: 0; font-size: 11px; line-height: 1.3; }
  .cz-home-lab .cz-hero-calc-fields label span { min-width: 0; overflow-wrap: anywhere; }
  .cz-home-lab .cz-hero-calc-fields input { width: 100%; max-width: 100%; min-width: 0; min-height: 46px; padding: 9px; font-size: 16px !important; }
  .cz-home-lab .cz-hero-calc-result { min-width: 0; padding: 12px; gap: 8px; }
  .cz-home-lab .cz-hero-calc-result > div { min-width: 0; }
  .cz-home-lab .cz-hero-calc-result output { font-size: clamp(24px, 7vw, 30px); overflow-wrap: anywhere; }
  .cz-home-lab .cz-hero-calculator-footnote { align-items: flex-start; font-size: 11px; }
  .cz-home-lab .cz-lab-suggestions { top: calc(100% + 7px); max-height: min(46vh, 340px); padding: 6px; border-radius: 12px; }
  .cz-home-lab .cz-lab-suggestion { gap: 8px; padding: 10px 9px; }
  .cz-home-lab .cz-lab-suggestion-copy strong { font-size: 13px; line-height: 1.35; }
  .cz-home-lab .cz-lab-suggestion-copy small { font-size: 11px; }
}
@media (max-width: 390px) {
  .cz-home-lab .cz-lab-hero.cz-lab-hero--interactive { gap: 15px; padding: 18px 11px 14px !important; border-radius: 17px; }
  .cz-home-lab .cz-lab-hero h1 { font-size: clamp(29px, 8vw, 33px) !important; }
  .cz-home-lab .cz-lab-search { grid-template-columns: 22px minmax(0, 1fr); gap: 7px; padding: 8px !important; }
  .cz-home-lab .cz-lab-search-icon { width: 22px; min-width: 22px; }
  .cz-home-lab .cz-lab-search input[type="search"]::placeholder { font-size: 13px; }
  .cz-home-lab .cz-hero-calculator { padding: 13px; }
  .cz-home-lab .cz-hero-calculator-head h2 { font-size: 16px; }
  .cz-home-lab .cz-hero-live-badge { font-size: 9px; }
}
@media (max-width: 340px) {
  .cz-home-lab { padding-left: 10px !important; padding-right: 10px !important; }
  .cz-home-lab .cz-lab-hero.cz-lab-hero--interactive { padding-left: 9px !important; padding-right: 9px !important; }
  .cz-home-lab .cz-hero-calc-tabs button { font-size: 9px; }
  .cz-home-lab .cz-hero-calc-fields--three { grid-template-columns: minmax(0, 1fr); }
}


/* v2.28.11 — compact header-to-hero rhythm and above-the-fold search visibility. */
html body main#cz-main-content.cz-home-lab {
  width: min(1320px, calc(100% - 48px)) !important;
  max-width: 1320px !important;
  margin-block: 0 !important;
  margin-inline: auto !important;
  padding-block: 18px 56px !important;
  gap: 0 !important;
}
body .entry-content > main#cz-main-content.cz-home-lab,
body .wp-block-post-content > main#cz-main-content.cz-home-lab,
body .site-main .entry-content > main#cz-main-content.cz-home-lab {
  margin-block-start: 0 !important;
}
html body main#cz-main-content.cz-home-lab > .cz-lab-hero.cz-lab-hero--interactive {
  min-height: 0 !important;
  margin-block: 0 !important;
  padding: clamp(24px, 2.2vw, 30px) clamp(24px, 3.5vw, 44px) 22px !important;
  gap: clamp(20px, 3vw, 36px) !important;
  align-items: center !important;
}
html body main#cz-main-content.cz-home-lab .cz-lab-eyebrow {
  margin-block: 0 9px !important;
}
html body main#cz-main-content.cz-home-lab .cz-lab-hero h1 {
  margin-block: 0 8px !important;
}
html body main#cz-main-content.cz-home-lab .cz-lab-intro {
  margin-block: 9px 0 !important;
  line-height: 1.5 !important;
}
html body main#cz-main-content.cz-home-lab .cz-lab-search {
  margin-block: 15px 0 !important;
}
html body main#cz-main-content.cz-home-lab .cz-lab-hero-proof {
  margin-block: 13px 0 !important;
}

@media (max-width: 860px) {
  html body main#cz-main-content.cz-home-lab {
    padding-block-start: 12px !important;
  }
  html body main#cz-main-content.cz-home-lab > .cz-lab-hero.cz-lab-hero--interactive {
    padding: 22px 22px 18px !important;
    gap: 15px !important;
  }
}
@media (max-width: 620px) {
  html body main#cz-main-content.cz-home-lab {
    width: calc(100% - 28px) !important;
    padding-block: 10px 40px !important;
  }
  html body main#cz-main-content.cz-home-lab > .cz-lab-hero.cz-lab-hero--interactive {
    min-height: 0 !important;
    padding: 18px 14px 15px !important;
    gap: 13px !important;
    border-radius: 17px !important;
  }
  html body main#cz-main-content.cz-home-lab .cz-lab-eyebrow {
    margin-block-end: 7px !important;
  }
  html body main#cz-main-content.cz-home-lab .cz-lab-hero h1 {
    margin-block: 0 6px !important;
    font-size: clamp(29px, 7.5vw, 36px) !important;
    line-height: 1.08 !important;
  }
  html body main#cz-main-content.cz-home-lab .cz-lab-intro {
    margin-block-start: 7px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
  html body main#cz-main-content.cz-home-lab .cz-lab-search {
    margin-block-start: 12px !important;
  }
  html body main#cz-main-content.cz-home-lab .cz-lab-search-prompts {
    margin-block-start: 8px !important;
  }
  html body main#cz-main-content.cz-home-lab .cz-lab-hero-proof {
    margin-block-start: 10px !important;
  }
}
@media (max-width: 390px) {
  html body main#cz-main-content.cz-home-lab {
    width: calc(100% - 24px) !important;
    padding-block-start: 9px !important;
  }
  html body main#cz-main-content.cz-home-lab > .cz-lab-hero.cz-lab-hero--interactive {
    padding: 16px 12px 13px !important;
    gap: 11px !important;
  }
  html body main#cz-main-content.cz-home-lab .cz-lab-hero h1 {
    font-size: clamp(28px, 7.7vw, 32px) !important;
  }
  html body main#cz-main-content.cz-home-lab .cz-lab-search {
    margin-block-start: 10px !important;
  }
}
