:root {
  --purple: #6f4be8;
  --purple-deep: #5d35cc;
  --purple-soft: #815ff0;
  --purple-050: #faf8ff;
  --purple-100: #f3efff;
  --ink: #17151f;
  --muted: #666272;
  --surface: #ffffff;
  --shadow: 0 12px 32px rgba(64, 43, 116, .08);
  --shell: 1200px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin: 0 auto; }

#site-header-slot { min-height: 74px; }
#site-header-slot[data-chrome-state="live"] #site-header,
#site-footer-slot[data-chrome-state="live"] #footer { position: relative; z-index: 20; }

.motricialy-fallback-header { border-bottom: 1px solid #eeeaf4; background: rgba(255,255,255,.98); }
.motricialy-fallback-header-inner { width: 1200px; max-width: 90%; min-height: 74px; margin: 0 auto; display: flex; align-items: center; gap: 26px; }
.motricialy-fallback-logo { display: inline-flex; align-items: center; flex: none; }
.motricialy-fallback-logo img { display: block; width: 120px; height: auto; }
.motricialy-fallback-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 650; }
.motricialy-fallback-nav a { color: #4d4957; text-decoration: none; }
.motricialy-fallback-nav a:hover { color: var(--purple-deep); }
.motricialy-fallback-menu { display: none; margin-left: auto; color: #4d4957; text-decoration: none; font-size: 14px; font-weight: 750; }

.hero { padding: 38px 0 42px; background: radial-gradient(circle at 76% 6%, rgba(129,95,240,.12), transparent 30%), linear-gradient(180deg, #fff 0%, #fbf9ff 100%); border-bottom: 1px solid #f0edf5; }
.hero-shell { display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow, .section-kicker { color: var(--purple); font-size: 12px; line-height: 1; letter-spacing: .13em; font-weight: 800; }
.tool-section .section-kicker { color: #8b78d6; font-size: 11px; letter-spacing: .11em; font-weight: 750; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.04; letter-spacing: -.045em; margin: 13px 0 16px; max-width: 850px; }
.hero h1 span { position: relative; color: var(--purple-deep); }
.hero h1 span::after { content: ""; position: absolute; height: 7px; left: 2px; right: -4px; bottom: -4px; border-radius: 999px; background: linear-gradient(90deg, var(--purple), var(--purple-soft)); opacity: .22; }
.hero-copy { max-width: 760px; margin: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.72; }

.finder { width: 100%; background: rgba(255,255,255,.94); border: 1px solid #e8e0fb; border-radius: 22px; padding: 20px; box-shadow: var(--shadow); }
.finder-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 10px; }
.finder-top label { font-size: 14px; font-weight: 800; }
.finder-top span { color: #7b7486; font-size: 13px; }
.search-wrap { position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 17px; width: 14px; height: 14px; border: 2px solid #766b8f; border-radius: 50%; pointer-events: none; box-sizing: border-box; }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; right: -6px; bottom: -3px; border-radius: 999px; background: #766b8f; transform: rotate(45deg); transform-origin: left center; }
.search-wrap input { width: 100%; height: 54px; border: 1px solid #ded8e7; border-radius: 14px; padding: 0 84px 0 48px; color: #211d28; background: #fff; outline: none; transition: .18s ease; }
.search-wrap input:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(111,75,232,.12); }
.search-wrap button { position: absolute; right: 8px; border: 0; background: var(--purple-100); color: var(--purple-deep); padding: 8px 11px; border-radius: 9px; cursor: pointer; font-size: 12px; font-weight: 800; }
.task-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.task-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 10px; border-radius: 10px; border: 1px solid #e7e1f2; background: #fff; color: #4e4859; font-size: 12px; font-weight: 700; text-decoration: none; transition: .18s ease; }
.task-chip b { color: #8a8098; font-size: 11px; background: var(--purple-050); padding: 2px 6px; border-radius: 999px; }
.task-chip:hover { transform: translateY(-1px); color: var(--purple-deep); border-color: #cfc1f3; background: var(--purple-050); }

.content-shell { padding: 18px 0 84px; }
.tool-section, .guide-section, .workflow-section, .faq-section { padding: 56px 0 8px; scroll-margin-top: 36px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.section-heading > div:first-child { max-width: 760px; }
.section-heading h2 { margin: 9px 0 8px; font-size: clamp(27px, 3vw, 35px); line-height: 1.14; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.hub-link-slot { flex: none; min-height: 38px; display: flex; align-items: flex-end; }
.hub-link { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 11px; border: 1px solid #ddd3f8; border-radius: 10px; color: var(--purple-deep); background: var(--purple-050); text-decoration: none; font-size: 12px; font-weight: 800; transition: .18s ease; }
.hub-link:hover { transform: translateY(-2px); border-color: #beaaf4; background: var(--purple-100); }
.hub-link:hover span { transform: translateX(2px); }
.hub-link[hidden], .hub-link-slot:empty { display: none; }

.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tool-card { min-width: 0; }
.tool-card[hidden] { display: none; }
.tool-link { position: relative; display: flex; min-height: 164px; height: 100%; flex-direction: column; padding: 24px 56px 20px 20px; border: 1px solid #e8e4ed; border-left: 4px solid #d9cff7; border-radius: 15px; background: #fff; box-shadow: 0 4px 16px color-mix(in srgb, var(--category-accent, var(--purple)) 8%, transparent); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.tool-arrow { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--purple-deep); background: var(--purple-050); transition: .18s ease; }
.tool-link h3 { margin: 5px 0 8px; font-size: 17px; line-height: 1.34; letter-spacing: -.01em; }
.tool-link p { margin: 0; color: #696473; font-size: 15px; line-height: 1.58; }
.tool-link:hover { transform: translateY(-3px); border-color: #cfbef9; border-left-color: var(--purple); background: linear-gradient(180deg, #fff 0%, #fdfbff 100%); box-shadow: 0 12px 28px rgba(80,55,133,.10); }
.tool-link:hover .tool-arrow { transform: translate(2px,-2px); background: var(--purple); color: #fff; }
.tool-link:focus-visible, .task-chip:focus-visible, .browse-more a:focus-visible, .hub-link:focus-visible { outline: 3px solid rgba(111,75,232,.28); outline-offset: 3px; }
.no-results { margin: 54px 0 8px; padding: 36px; border-radius: 18px; border: 1px dashed #cdbff3; background: var(--purple-050); text-align: center; }
.no-results span { color: var(--purple); font-weight: 800; font-size: 11px; letter-spacing: .13em; }
.no-results h2 { margin: 8px 0; font-size: 25px; }
.no-results p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.no-results button { border: 0; border-radius: 10px; background: var(--purple); color: #fff; padding: 10px 15px; font-weight: 800; cursor: pointer; }

.prose-heading { margin-bottom: 24px; }
.guide-section { margin-top: 46px; padding: 48px; border-radius: 24px; background: linear-gradient(145deg, #faf8ff, #f3efff); border: 1px solid #e3dbfb; }
.comparison-wrap { overflow-x: auto; border: 1px solid #e2ddeb; border-radius: 15px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 15px 17px; text-align: left; border-bottom: 1px solid #eeeaf2; font-size: 15px; line-height: 1.5; }
th { color: #514b5c; background: #fbfaff; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
tbody tr:last-child td { border-bottom: 0; }
td a { color: var(--purple-deep); font-weight: 750; text-underline-offset: 3px; }
.guide-note { margin: 16px 0 0; color: #5d5768; font-size: 15px; line-height: 1.65; }

.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.workflow-card { border: 1px solid #e6e1ed; border-radius: 17px; padding: 23px; background: #fff; }
.workflow-card > span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--purple-deep); background: var(--purple-100); font-weight: 850; font-size: 12px; }
.workflow-card h3 { font-size: 18px; margin: 16px 0 12px; }
.workflow-card ol { margin: 0; padding-left: 20px; color: #67616f; font-size: 15px; line-height: 1.72; }
.workflow-card p { margin: 0; color: #67616f; font-size: 15px; line-height: 1.72; }
.workflow-card li + li { margin-top: 6px; }
.workflow-card a { color: var(--purple-deep); font-weight: 720; text-underline-offset: 3px; }

.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid #e7e2ed; border-left: 4px solid #ded5f7; border-radius: 13px; background: #fff; overflow: hidden; }
.faq-list details[open] { border-left-color: var(--purple); background: var(--purple-050); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; padding: 17px 18px; font-size: 15px; font-weight: 780; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--purple); font-size: 20px; transition: transform .18s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details div { padding: 0 18px 17px; }
.faq-list details p { margin: 0; color: #686271; font-size: 15px; line-height: 1.7; }
.faq-list a { color: var(--purple-deep); font-weight: 720; }

.browse-more { margin-top: 66px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; border: 1px solid #dfd8f0; border-left: 5px solid var(--purple); border-radius: 16px; padding: 24px 26px; background: linear-gradient(90deg, #fbf9ff 0%, #fff 70%); }
.browse-more h2 { margin: 0 0 4px; font-size: 21px; }
.browse-more p { margin: 0; color: var(--muted); font-size: 15px; }
.browse-more > a { display: inline-flex; gap: 8px; align-items: center; background: var(--purple); color: #fff; border-radius: 11px; padding: 11px 14px; text-decoration: none; font-weight: 800; font-size: 13px; }
.browse-more > a:hover span { transform: translateX(2px); }

.motricialy-fallback-footer { margin-top: 0; background: #222; color: #ccc; }
.motricialy-fallback-footer-grid { width: 1200px; max-width: 90%; margin: 0 auto; padding: 42px 0 34px; display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.15fr; gap: 34px; }
.motricialy-fallback-footer-brand img { display: block; width: min(300px, 100%); height: auto; margin-bottom: 10px; }
.motricialy-fallback-footer p { margin: 0 0 16px; color: #ccc; font-size: 14px; line-height: 1.65; }
.fallback-social-links { display: flex; align-items: center; gap: 10px; }
.fallback-social-links span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #333; color: #fff; font-weight: 800; }
.motricialy-fallback-footer-column, .motricialy-fallback-footer-newsletter { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.motricialy-fallback-footer strong { color: #fff; font-size: 15px; margin-bottom: 5px; }
.motricialy-fallback-footer-column a { color: #fff; text-decoration: none; font-size: 14px; }
.motricialy-fallback-footer-column a:hover { color: #d8caff; }
.motricialy-fallback-newsletter-ui { width: 100%; height: 46px; border: 1px solid #555; border-radius: 4px; display: flex; align-items: center; justify-content: space-between; color: #999; padding-left: 12px; font-size: 13px; overflow: hidden; }
.motricialy-fallback-newsletter-ui b { align-self: stretch; display: grid; place-items: center; padding: 0 14px; background: #6f4be8; color: #fff; }
.motricialy-fallback-copyright { background: #1b1b1b; color: #929292; text-align: center; padding: 16px 20px; font-size: 12px; }

@media (max-width: 900px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .workflow-grid { grid-template-columns: 1fr; }
  .guide-section { padding: 32px; }
  .browse-more { grid-template-columns: 1fr; align-items: start; }
  .browse-more > .section-kicker { margin-bottom: -10px; }
  .browse-more > a { justify-self: start; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .motricialy-fallback-nav { display: none; }
  .motricialy-fallback-menu { display: inline-flex; }
  .hero { padding: 26px 0 30px; }
  .breadcrumbs { margin-bottom: 20px; }
  .hero h1 { font-size: 38px; }
  .hero-copy { font-size: 15px; }
  .finder { padding: 15px; border-radius: 17px; }
  .finder-top { align-items: flex-start; }
  .finder-top span { text-align: right; }
  .search-wrap input { height: 50px; padding-right: 72px; }
  .task-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
  .task-chip { flex: none; }
  .content-shell { padding-bottom: 58px; }
  .tool-section, .guide-section, .workflow-section, .faq-section { padding-top: 44px; }
  .section-heading { display: block; }
  .hub-link-slot { margin-top: 14px; min-height: 0; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-link { min-height: 166px; }
  .guide-section { margin-top: 32px; padding: 24px 18px; border-radius: 18px; }
  .workflow-card { padding: 20px; }
  .browse-more { margin-top: 48px; padding: 22px 18px; }
  .motricialy-fallback-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}


@media (max-width: 620px) {
  .motricialy-fallback-footer-grid { grid-template-columns: 1fr; }
  #site-header-slot[data-chrome-state="live"] #mobile-dropdown { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ===== Online Tools directory v2.2 additions ===== */
[data-motricialy-site-header] { min-height: 74px; }
[data-motricialy-site-footer] { min-height: 150px; }

/* Phosphor-style inline SVG baseline. */
.search-icon { position: absolute; left: 16px; width: 20px; height: 20px; border: 0; border-radius: 0; color: #766b8f; pointer-events: none; }
.search-icon::after { content: none; }
.search-icon svg,
.category-tile-icon svg,
.category-heading-icon svg,
.tool-arrow svg,
.inline-icon svg,
.expand-icon svg,
.faq-plus svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.inline-icon { display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; }

/* Category palette. Kept subtle so the original purple visual language remains dominant. */
.tone-blue { --category-accent: #3f6fe8; --category-soft: #edf3ff; --category-border: #c8d6ff; }
.tone-green { --category-accent: #079a63; --category-soft: #e9faf2; --category-border: #bfead8; }
.tone-red { --category-accent: #ee4662; --category-soft: #fff0f3; --category-border: #f6c7d1; }
.tone-indigo { --category-accent: #4f5bd5; --category-soft: #eef0ff; --category-border: #cfd4fb; }
.tone-amber { --category-accent: #d98208; --category-soft: #fff6e6; --category-border: #f3d79c; }
.tone-pink { --category-accent: #e13d8f; --category-soft: #fff0f8; --category-border: #f4c7df; }
.tone-violet { --category-accent: #8a3fe0; --category-soft: #f6edff; --category-border: #dfc9f7; }
.tone-purple { --category-accent: #6f4be8; --category-soft: #f3efff; --category-border: #d8ccf7; }
.tone-teal { --category-accent: #0d9aa6; --category-soft: #eafafb; --category-border: #bfe8eb; }

.task-chip { gap: 8px; }
.task-chip b { display: none; }
.chip-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--category-accent, var(--purple)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--category-accent, var(--purple)) 10%, transparent); }
.task-chip:hover { color: var(--category-accent, var(--purple-deep)); border-color: var(--category-border, #cfc1f3); background: var(--category-soft, var(--purple-050)); }

/* Browse by category is a distinct icon navigation, not another tool-card grid. */
.browse-categories { padding: 42px 0 28px; border-bottom: 1px solid #efebf4; }
.browse-heading { margin-bottom: 24px; }
.browse-heading h2 { margin: 9px 0 0; font-size: clamp(27px, 3vw, 35px); line-height: 1.14; letter-spacing: -.025em; }
.category-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.category-tile {
  min-width: 0;
  min-height: 138px;
  display: grid;
  grid-template-rows: 70px minmax(38px, auto);
  justify-items: center;
  align-content: start;
  gap: 13px;
  padding: 16px 9px 15px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  color: #302a38;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.category-tile-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  flex: none;
  border: 1px solid var(--category-border, #dfd5f4);
  border-radius: 22px;
  color: var(--category-accent, var(--purple));
  background: var(--category-soft, var(--purple-050));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--category-accent, var(--purple)) 12%, transparent);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.category-tile-icon svg { width: 32px; height: 32px; }
.category-tile-label {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 132px;
  color: #302a38;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: color .2s ease;
}
.category-tile:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--category-accent, var(--purple)) 20%, #fff);
  background: color-mix(in srgb, var(--category-soft, var(--purple-050)) 72%, #fff);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--category-accent, var(--purple)) 10%, transparent);
}
.category-tile:hover .category-tile-icon {
  transform: translateY(-2px) scale(1.07);
  border-color: var(--category-accent, var(--purple));
  background: var(--category-accent, var(--purple));
  color: #fff;
  box-shadow: 0 13px 25px color-mix(in srgb, var(--category-accent, var(--purple)) 24%, transparent);
}
.category-tile:hover .category-tile-label { color: var(--category-accent, var(--purple-deep)); }
.category-tile:focus-visible, .section-expand:focus-visible { outline: 3px solid rgba(111,75,232,.28); outline-offset: 3px; }

/* Keep the original section/card shape, but add a restrained category accent. */
.category-section-title { display: flex; align-items: center; gap: 13px; max-width: 760px; }
.category-heading-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; color: var(--category-accent, var(--purple)); background: var(--category-soft, var(--purple-050)); border: 1px solid var(--category-border, #e3d8fb); }
.category-heading-icon svg { width: 22px; height: 22px; }
.tool-section .section-kicker { color: var(--category-accent, #8b78d6); }
.tool-section .section-heading h2 { margin-bottom: 0; }
.tool-section .hub-link { color: var(--category-accent, var(--purple-deep)); border-color: var(--category-border, #ddd3f8); background: var(--category-soft, var(--purple-050)); }
.tool-section .hub-link:hover { border-color: var(--category-accent, #beaaf4); background: var(--category-soft, var(--purple-100)); }
.tool-section .tool-link { min-height: 146px; border-left-color: var(--category-border, #d9cff7); }
.tool-section .tool-link:hover { border-color: var(--category-border, #cfbef9); border-left-color: var(--category-accent, var(--purple)); }
.tool-section .tool-arrow { color: var(--category-accent, var(--purple-deep)); background: var(--category-soft, var(--purple-050)); }
.tool-arrow svg { width: 16px; height: 16px; }
.tool-section .tool-link:hover .tool-arrow { color: #fff; background: var(--category-accent, var(--purple)); }
.tool-link p { font-size: 15px; line-height: 1.55; }

/* Progressive enhancement: server HTML contains every tool. Only JS-capable browsers collapse after six. */
html.js .tool-section:not(.is-expanded) .tool-card[data-preview-hidden="true"] { display: none; }
html.js #dynamic-sections.is-searching .tool-card[data-preview-hidden="true"] { display: block; }
.section-expand-wrap { display: flex; justify-content: center; padding-top: 18px; }
.section-expand { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 9px 14px; border: 1px solid var(--category-border, #ddd3f8); border-radius: 11px; background: var(--category-soft, var(--purple-050)); color: var(--category-accent, var(--purple-deep)); font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.section-expand:hover { transform: translateY(-1px); border-color: var(--category-accent, var(--purple)); box-shadow: 0 7px 18px rgba(75,53,116,.07); }
.expand-icon { width: 16px; height: 16px; transition: transform .18s ease; }
.tool-section.is-expanded .expand-icon { transform: rotate(180deg); }
#dynamic-sections.is-searching .section-expand-wrap { display: none; }

/* FAQ indicator now uses the same Phosphor line language as the rest of the page. */
.faq-list summary .faq-plus { display: grid; place-items: center; width: 20px; height: 20px; flex: none; color: var(--purple); font-size: 0; }
.faq-list summary .faq-plus svg { width: 18px; height: 18px; }
.faq-list details[open] summary .faq-plus { transform: rotate(45deg); }
.browse-more > a .inline-icon { width: 15px; height: 15px; }

@media (max-width: 1080px) {
  .category-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
}

@media (max-width: 680px) {
  .browse-categories { padding-top: 30px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .category-tile { min-height: 126px; padding: 14px 8px; }
  .category-tile-icon { width: 64px; height: 64px; border-radius: 20px; }
  .category-tile-icon svg { width: 29px; height: 29px; }
  .category-tile-label { max-width: 150px; font-size: 14px; }
  .category-section-title { align-items: flex-start; }
  .tool-section .tool-link { min-height: 142px; }
  .section-expand { width: 100%; }
}

/* ===== v2.2.2 mobile / WordPress SVG hardening =====
   OceanWP and plugin styles can include broad SVG rules. Keep page icons fully
   scoped so live Site Chrome CSS cannot resize or fill the inline Phosphor icons. */
#online-tools .phosphor-icon,
#online-tools .phosphor-icon * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
#online-tools .phosphor-icon {
  display: block !important;
  width: 1em !important;
  height: 1em !important;
  min-width: 1em !important;
  min-height: 1em !important;
  max-width: 1em !important;
  max-height: 1em !important;
  overflow: visible !important;
  flex: none !important;
}
#online-tools .search-icon { font-size: 20px; overflow: visible; }
#online-tools .category-tile-icon { font-size: 32px; overflow: hidden; }
#online-tools .category-heading-icon { font-size: 22px; overflow: hidden; }
#online-tools .tool-arrow { font-size: 16px; overflow: hidden; }
#online-tools .inline-icon { font-size: 16px; overflow: hidden; }
#online-tools .expand-icon { font-size: 16px; overflow: hidden; }
#online-tools .faq-plus { font-size: 18px; overflow: hidden; }
#online-tools .category-tile-icon .phosphor-icon,
#online-tools .category-heading-icon .phosphor-icon,
#online-tools .tool-arrow .phosphor-icon,
#online-tools .inline-icon .phosphor-icon,
#online-tools .expand-icon .phosphor-icon,
#online-tools .faq-plus .phosphor-icon,
#online-tools .search-icon .phosphor-icon {
  width: 1em !important;
  height: 1em !important;
}
#online-tools .category-section-title > div { min-width: 0; }

@media (max-width: 680px) {
  #online-tools .browse-categories { padding-top: 30px; }
  #online-tools .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  #online-tools .category-tile {
    width: 100%;
    min-height: 126px;
    padding: 14px 8px;
  }
  #online-tools .category-tile-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    max-width: 64px;
    max-height: 64px;
  }
  #online-tools .category-tile-label { max-width: 150px; font-size: 14px; }
  #online-tools .category-section-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }
  #online-tools .category-heading-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    max-width: 42px;
    max-height: 42px;
  }
  #online-tools .section-heading h2 { overflow-wrap: anywhere; }
}


/* ===== v2.2.5 mobile category-navigation hardening =====
   The page's production shell appends WordPress/OceanWP styles after host CSS,
   so mobile category navigation uses scoped rules to preserve its intended grid. */
#online-tools .browse-categories .category-grid {
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
#online-tools .browse-categories .category-tile {
  display: grid !important;
  grid-template-rows: 70px minmax(38px, auto) !important;
  justify-items: center !important;
  align-content: start !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 138px !important;
  gap: 13px !important;
  padding: 16px 9px 15px !important;
  margin: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 18px !important;
  background: transparent !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
#online-tools .browse-categories .category-tile-icon {
  display: grid !important;
  place-items: center !important;
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  min-height: 70px !important;
  max-width: 70px !important;
  max-height: 70px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid var(--category-border, #dfd5f4) !important;
  border-radius: 22px !important;
  color: var(--category-accent, var(--purple)) !important;
  background: var(--category-soft, var(--purple-050)) !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--category-accent, var(--purple)) 12%, transparent) !important;
}
#online-tools .browse-categories .category-tile-label {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 132px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #302a38 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  text-align: center !important;
}
@media (max-width: 1080px) {
  #online-tools .browse-categories .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}
@media (max-width: 680px) {
  #online-tools .browse-categories {
    padding-top: 30px !important;
  }
  #online-tools .browse-categories .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  #online-tools .browse-categories .category-tile {
    grid-template-rows: 64px minmax(38px, auto) !important;
    min-height: 122px !important;
    gap: 10px !important;
    padding: 12px 6px 14px !important;
  }
  #online-tools .browse-categories .category-tile-icon {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    border-radius: 20px !important;
  }
  #online-tools .browse-categories .category-tile-label {
    max-width: 148px !important;
    font-size: 14px !important;
    line-height: 1.32 !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  #online-tools .browse-categories .category-tile:hover {
    transform: translateY(-4px) !important;
    border-color: color-mix(in srgb, var(--category-accent, var(--purple)) 20%, #fff) !important;
    background: color-mix(in srgb, var(--category-soft, var(--purple-050)) 72%, #fff) !important;
    box-shadow: 0 14px 28px color-mix(in srgb, var(--category-accent, var(--purple)) 10%, transparent) !important;
  }
  #online-tools .browse-categories .category-tile:hover .category-tile-icon {
    transform: translateY(-2px) scale(1.07) !important;
    border-color: var(--category-accent, var(--purple)) !important;
    background: var(--category-accent, var(--purple)) !important;
    color: #fff !important;
  }
}
