.ssa-tool-hub-shell {
  --sth-bg: #020617;
  --sth-surface: rgba(8, 18, 34, 0.98);
  --sth-border: rgba(45, 212, 191, 0.34);
  --sth-text: #f4fdff;
  --sth-muted: #dbeafe;
  --sth-primary: #2dd4bf;
  --sth-primary-dark: #0891b2;
  --sth-radius: 16px;
  --sth-shadow: 0 18px 46px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.04);

  width: min(1120px, 95%);
  max-width: 100%;
  margin: 20px auto;
  padding: 18px;
  border: 1px solid var(--sth-border);
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(45, 212, 191, 0.14), transparent 34%), linear-gradient(160deg, rgba(8, 18, 34, 0.98) 0%, rgba(3, 8, 18, 0.98) 100%);
  box-shadow: var(--sth-shadow);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--sth-text) !important;
  position: relative;
  isolation: isolate;
  text-rendering: optimizeLegibility;
}

.ssa-tool-hub-shell,
.ssa-tool-hub-shell * {
  box-sizing: border-box !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Aggressive theme override guardrails */
.ssa-tool-hub-shell,
.ssa-tool-hub-shell .ssa-tool-hub-root,
.ssa-tool-hub-shell .ssa-directory,
.ssa-tool-hub-shell .ssa-directory-card,
.ssa-tool-hub-shell .ssa-tool-card {
  background-clip: padding-box !important;
  text-shadow: none !important;
  filter: none !important;
}

.ssa-tool-hub-shell h1,
.ssa-tool-hub-shell h2,
.ssa-tool-hub-shell h3,
.ssa-tool-hub-shell h4,
.ssa-tool-hub-shell h5,
.ssa-tool-hub-shell h6,
.ssa-tool-hub-shell p,
.ssa-tool-hub-shell li,
.ssa-tool-hub-shell span,
.ssa-tool-hub-shell div {
  color: var(--sth-text) !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.ssa-tool-hub-shell p,
.ssa-tool-hub-shell li,
.ssa-tool-hub-shell .ssa-tool-card-desc,
.ssa-tool-hub-shell .ssa-directory-card p,
.ssa-tool-hub-shell .ssa-tool-hub-note,
.ssa-tool-hub-shell .ssa-tool-hub-helper {
  color: var(--sth-muted) !important;
}

.ssa-tool-hub-shell .ssa-tool-hub-title,
.ssa-tool-hub-shell .ssa-directory h3,
.ssa-tool-hub-shell .ssa-directory-card h4,
.ssa-tool-hub-shell .ssa-tool-card-title {
  color: var(--sth-text) !important;
  font-weight: 800 !important;
}

.ssa-tool-hub-shell ul,
.ssa-tool-hub-shell ol {
  margin: 0 !important;
  padding-left: 1.1rem !important;
}

.ssa-tool-hub-shell a,
.ssa-tool-hub-shell a:visited,
.ssa-tool-hub-shell a:hover,
.ssa-tool-hub-shell a:active,
.ssa-tool-hub-shell a:focus {
  text-decoration-thickness: from-font;
  outline: none;
}

.ssa-tool-hub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ssa-tool-hub-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.88) !important;
  color: #eaf8ff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.ssa-tool-hub-nav a:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(6, 78, 87, 0.92), rgba(8, 47, 73, 0.92)) !important;
  border-color: rgba(45, 212, 191, 0.72) !important;
  box-shadow: 0 10px 18px rgba(45, 212, 191, 0.14);
}

.ssa-tool-hub-nav a[aria-current="page"] {
  border-color: rgba(45, 212, 191, 0.82) !important;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.24), rgba(56, 189, 248, 0.14)) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(45, 212, 191, 0.18);
}

.ssa-tool-hub-nav a:visited {
  color: #eaf8ff !important;
}

.ssa-tool-hub-static-list {
  border: 1px solid var(--sth-border);
  border-radius: 12px;
  padding: 16px !important;
  margin: 0 0 16px !important;
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.96), rgba(3, 8, 18, 0.96)) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.ssa-tool-hub-static-list h2 {
  margin: 0 0 8px !important;
  color: #ffffff !important;
  font-size: 1.35rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

.ssa-tool-hub-static-list p {
  margin: 0 0 12px !important;
  color: #dbeafe !important;
  line-height: 1.55 !important;
}

.ssa-tool-hub-static-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ssa-tool-hub-static-list li {
  min-width: 0;
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 10px;
  padding: 12px !important;
  background: rgba(2, 6, 23, 0.74) !important;
}

.ssa-tool-hub-static-list a {
  display: inline-block;
  color: #67e8f9 !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}

.ssa-tool-hub-static-list a:hover,
.ssa-tool-hub-static-list a:focus {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.ssa-tool-hub-static-list span {
  display: block;
  margin-top: 6px;
  color: #dbeafe !important;
  font-size: 0.94rem !important;
  line-height: 1.45 !important;
}

.ssa-tool-hub-root {
  border: 1px solid var(--sth-border);
  border-radius: var(--sth-radius);
  background: var(--sth-surface);
  padding: 20px;
  box-shadow: var(--sth-shadow);
}

.ssa-tool-hub-root > section + section,
.ssa-tool-hub-root > section + div,
.ssa-tool-hub-root > div + section {
  margin-top: 16px !important;
}

.ssa-tool-hub-title {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.ssa-hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #dffafe !important;
  font-size: 0.82rem;
  font-weight: 700 !important;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}

.ssa-tool-hub-note {
  margin: 0 0 14px;
  color: var(--sth-muted);
  line-height: 1.6;
}

.ssa-tool-hub-helper {
  margin: 0 0 14px;
  color: #dbeafe !important;
  font-size: 0.95rem;
  line-height: 1.55;
}

.ssa-directory {
  border: 1px solid var(--sth-border);
  border-radius: 12px;
  padding: 14px !important;
  margin: 14px 0 18px !important;
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98)) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.ssa-decision-engine {
  display: grid;
  gap: 16px !important;
  margin: 4px 0 18px !important;
}

.ssa-decision-section {
  border: 1px solid var(--sth-border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98)) !important;
  padding: 16px !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.ssa-decision-section h3 {
  margin: 0 0 8px;
  font-size: 1.03rem;
  color: #ffffff !important;
  font-weight: 800 !important;
}

.ssa-decision-section p {
  margin: 0 0 10px;
  color: #dbeafe !important;
  font-size: 0.95rem;
  line-height: 1.5;
}

.ssa-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 8px;
}

.ssa-choice-btn {
  display: block !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  border: 1px solid rgba(56, 189, 248, 0.42) !important;
  border-radius: 12px !important;
  background: rgba(2, 6, 23, 0.88) !important;
  color: #eaf8ff !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}

.ssa-choice-btn .ssa-choice-label {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.ssa-choice-btn:hover {
  background: linear-gradient(135deg, rgba(6, 78, 87, 0.92), rgba(8, 47, 73, 0.92)) !important;
  border-color: rgba(45, 212, 191, 0.72) !important;
}

.ssa-top-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ssa-top-pick-card {
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.88);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ssa-top-pick-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.58);
  background: rgba(45, 212, 191, 0.14);
  color: #dffef8 !important;
  font-size: 0.8rem;
  font-weight: 800 !important;
}

.ssa-top-pick-card h4 {
  margin: 0;
  font-size: 1rem;
  color: #ffffff !important;
  font-weight: 800 !important;
}

.ssa-top-pick-card p {
  margin: 0;
  color: #dbeafe !important;
  font-size: 0.92rem;
  line-height: 1.45;
}

.ssa-featured-article {
  border-color: rgba(56, 189, 248, 0.42);
  background: rgba(2, 6, 23, 0.88) !important;
}

.ssa-combo-strip {
  border-color: rgba(56, 189, 248, 0.42);
}

.ssa-combo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ssa-combo-card {
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.88);
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ssa-combo-card h4 {
  margin: 0;
  font-size: 0.98rem;
  color: #ffffff !important;
  font-weight: 800 !important;
}

.ssa-bridge-section {
  border-color: rgba(45, 212, 191, 0.34);
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98)) !important;
}

.ssa-bridge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ssa-bridge-card {
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.88);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ssa-bridge-card h4 {
  margin: 0;
  font-size: 1rem;
  color: #ffffff !important;
  font-weight: 800 !important;
}

.ssa-bridge-card p {
  margin: 0;
  color: #dbeafe !important;
  line-height: 1.45;
  font-size: 0.93rem;
}

.ssa-journey-bundles {
  border-color: rgba(45, 212, 191, 0.34);
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98)) !important;
}

.ssa-journey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ssa-journey-card {
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.88);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ssa-journey-card h4 {
  margin: 0;
  font-size: 1rem;
  color: #ffffff !important;
  font-weight: 800 !important;
}

.ssa-journey-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.ssa-journey-step {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 10px !important;
  text-decoration: none !important;
  text-align: left !important;
}

.ssa-journey-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.62);
  background: rgba(45, 212, 191, 0.18);
  color: #dffef8 !important;
  font-size: 0.82rem;
  font-weight: 800 !important;
}

.ssa-journey-step-title {
  display: block;
  min-width: 0;
  color: #eaf8ff !important;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.ssa-directory h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.ssa-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px !important;
  align-items: stretch !important;
}

.ssa-hub-grid,
.ssa-subhub-grid {
  row-gap: 18px !important;
}

.ssa-hub-item-wrap,
.ssa-subhub-item-wrap {
  border: 1px solid rgba(45, 212, 191, 0.28) !important;
  border-radius: 14px !important;
  background: rgba(2, 6, 23, 0.7) !important;
  padding: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.ssa-directory-card {
  border: 1px solid var(--sth-border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98)) !important;
  padding: 16px !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22) !important;
  display: flex;
  flex-direction: column;
  gap: 12px !important;
}

/* Extra specificity to resist theme/card resets */
.ssa-tool-hub-shell .ssa-directory-grid > .ssa-directory-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  min-height: 170px !important;
  margin: 0 !important;
}

.ssa-tool-hub-shell .ssa-hub-item-wrap .ssa-hub-card,
.ssa-tool-hub-shell .ssa-subhub-item-wrap .ssa-subhub-card {
  min-height: 100% !important;
}

.ssa-directory-card-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.ssa-directory-card-actions {
  margin-top: auto !important;
  padding-top: 4px !important;
}

.ssa-directory-card h4 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.ssa-directory-card p {
  margin: 0 0 8px;
  color: var(--sth-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.ssa-directory-sample {
  font-size: 0.88rem !important;
  color: #bfdbfe !important;
}

.ssa-directory-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--sth-primary) !important;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(6, 78, 87, 0.96), rgba(8, 47, 73, 0.96)) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 16px rgba(45, 212, 191, 0.18);
  text-transform: none !important;
  letter-spacing: 0 !important;
  width: fit-content;
  margin-top: 2px;
}

.ssa-directory-btn:hover {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.24), rgba(56, 189, 248, 0.16)) !important;
  text-decoration: none !important;
}

.ssa-directory-btn:visited,
.ssa-directory-btn:active,
.ssa-directory-btn:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}

.ssa-subcluster {
  border: 1px solid var(--sth-border);
  border-radius: 12px;
  padding: 12px;
  margin: 0 0 12px;
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98));
}

.ssa-subcluster h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.ssa-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px !important;
  margin-top: 12px !important;
  align-items: stretch !important;
}

.ssa-tool-card {
  border: 1px solid var(--sth-border);
  border-radius: 12px;
  padding: 16px !important;
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 10px !important;
}

.ssa-tool-hub-shell .ssa-tool-grid > .ssa-tool-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 240px !important;
  margin: 0 !important;
}

.ssa-tool-card-title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: #ffffff !important;
}

.ssa-tool-card-desc {
  margin: 0 0 8px;
  color: #dbeafe !important;
  line-height: 1.5;
}

.ssa-tool-meta {
  margin-top: 6px;
  color: var(--sth-muted) !important;
  font-size: 0.86rem;
  font-weight: 600;
}

.ssa-tool-meta span {
  display: inline-block;
  margin-right: 8px;
}

.ssa-tool-next {
  margin-top: 6px;
}

.ssa-tool-related,
.ssa-tool-article {
  margin-top: 8px;
}

.ssa-tool-related p,
.ssa-tool-article p {
  margin: 0 0 6px;
  color: #bfdbfe !important;
  font-size: 0.86rem;
  font-weight: 700 !important;
}

.ssa-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid var(--sth-primary) !important;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(6, 78, 87, 0.96), rgba(8, 47, 73, 0.96)) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 16px rgba(45, 212, 191, 0.18);
  text-transform: none !important;
  letter-spacing: 0 !important;
  width: fit-content;
}

.ssa-tool-btn:hover {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.24), rgba(56, 189, 248, 0.16)) !important;
  text-decoration: none !important;
}

.ssa-tool-btn:visited,
.ssa-tool-btn:active,
.ssa-tool-btn:focus {
  color: #ffffff !important;
  text-decoration: none !important;
}

.ssa-empty {
  color: var(--sth-muted);
}

.ssa-breadcrumbs {
  margin: 0 0 14px;
  color: var(--sth-muted);
  font-size: 0.93rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ssa-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 9px;
  background: rgba(2, 6, 23, 0.88) !important;
  color: #eaf8ff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

.ssa-breadcrumbs a:hover {
  background: linear-gradient(135deg, rgba(6, 78, 87, 0.92), rgba(8, 47, 73, 0.92)) !important;
  text-decoration: none !important;
}

.ssa-subhub-context,
.ssa-subhub-featured,
.ssa-subhub-next,
.ssa-subhub-format-bundle,
.ssa-subhub-articles,
.ssa-subhub-note,
.ssa-subhub-faq {
  border: 1px solid var(--sth-border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98)) !important;
  padding: 14px !important;
  margin: 0 0 16px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.ssa-tool-hub-shell .ssa-subhub-context + .ssa-subhub-featured,
.ssa-tool-hub-shell .ssa-subhub-featured + .ssa-subhub-next,
.ssa-tool-hub-shell .ssa-subhub-next + .ssa-subhub-format-bundle,
.ssa-tool-hub-shell .ssa-subhub-format-bundle + .ssa-subhub-articles,
.ssa-tool-hub-shell .ssa-subhub-articles + .ssa-subhub-note,
.ssa-tool-hub-shell .ssa-subhub-note + .ssa-tool-grid,
.ssa-tool-hub-shell .ssa-tool-grid + .ssa-subhub-faq {
  margin-top: 18px !important;
}

.ssa-tool-hub-shell .ssa-decision-engine > .ssa-decision-section + .ssa-decision-section {
  margin-top: 4px !important;
}

.ssa-tool-hub-shell .ssa-directory,
.ssa-tool-hub-shell .ssa-decision-engine,
.ssa-tool-hub-shell .ssa-bridge-section,
.ssa-tool-hub-shell .ssa-journey-bundles,
.ssa-tool-hub-shell .ssa-combo-strip,
.ssa-tool-hub-shell .ssa-subhub-context,
.ssa-tool-hub-shell .ssa-subhub-featured,
.ssa-tool-hub-shell .ssa-subhub-next,
.ssa-tool-hub-shell .ssa-subhub-format-bundle,
.ssa-tool-hub-shell .ssa-subhub-articles,
.ssa-tool-hub-shell .ssa-subhub-note,
.ssa-tool-hub-shell .ssa-subhub-faq {
  position: relative !important;
}

.ssa-tool-hub-shell .ssa-directory::before,
.ssa-tool-hub-shell .ssa-decision-engine::before,
.ssa-tool-hub-shell .ssa-subhub-context::before,
.ssa-tool-hub-shell .ssa-subhub-featured::before,
.ssa-tool-hub-shell .ssa-subhub-next::before,
.ssa-tool-hub-shell .ssa-subhub-format-bundle::before,
.ssa-tool-hub-shell .ssa-subhub-articles::before,
.ssa-tool-hub-shell .ssa-subhub-note::before,
.ssa-tool-hub-shell .ssa-subhub-faq::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, rgba(15, 98, 254, 0.42), rgba(15, 98, 254, 0.12));
  pointer-events: none;
}

.ssa-subhub-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ssa-subhub-context-card {
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.88);
  padding: 10px;
}

.ssa-subhub-context-card h3,
.ssa-subhub-featured h3,
.ssa-subhub-next h3,
.ssa-subhub-format-bundle h3,
.ssa-subhub-articles h3,
.ssa-subhub-faq h3 {
  margin: 0 0 8px;
  font-size: 1.01rem;
  color: #ffffff !important;
  font-weight: 800 !important;
}

.ssa-subhub-context-card p,
.ssa-subhub-note p {
  margin: 0;
  color: #dbeafe !important;
  line-height: 1.5;
}

.ssa-subhub-featured-card {
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.88);
  padding: 10px;
}

.ssa-subhub-featured-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #ffffff !important;
}

.ssa-subhub-featured-card p {
  margin: 0 0 8px;
  color: #dbeafe !important;
}

.ssa-subhub-faq details {
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.88);
  padding: 10px;
  margin: 0 0 8px;
}

.ssa-subhub-faq summary {
  cursor: pointer;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.ssa-subhub-faq details p {
  margin: 8px 0 0;
  color: #dbeafe !important;
}

/* Defensive override for common theme wrappers */
.entry-content .ssa-tool-hub-shell,
.site-main .ssa-tool-hub-shell,
.wp-block-group .ssa-tool-hub-shell {
  color: var(--sth-text) !important;
}

.ssa-mini-btn-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
}

.ssa-mini-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  max-width: 100% !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  border: 1px solid rgba(56, 189, 248, 0.42) !important;
  border-radius: 12px !important;
  background: rgba(2, 6, 23, 0.88) !important;
  color: #eaf8ff !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  vertical-align: middle !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.ssa-mini-btn:hover {
  background: linear-gradient(135deg, rgba(6, 78, 87, 0.92), rgba(8, 47, 73, 0.92)) !important;
  border-color: rgba(45, 212, 191, 0.72) !important;
  text-decoration: none !important;
}

.ssa-directory-card .ssa-mini-btn,
.ssa-tool-hub-shell .ssa-mini-btn,
#sth-page-shell .ssa-mini-btn {
  color: #eaf8ff !important;
}

/* Final hard override: force visible separation for hubs/subhubs under hostile theme CSS */
.ssa-tool-hub-shell .ssa-directory-grid,
.ssa-tool-hub-shell .ssa-tool-grid,
.ssa-tool-hub-shell .ssa-top-picks-grid,
.ssa-tool-hub-shell .ssa-journey-grid,
.ssa-tool-hub-shell .ssa-combo-grid,
.ssa-tool-hub-shell .ssa-bridge-grid {
  gap: 20px !important;
}

.ssa-tool-hub-shell .ssa-directory-card,
.ssa-tool-hub-shell .ssa-tool-card,
.ssa-tool-hub-shell .ssa-top-pick-card,
.ssa-tool-hub-shell .ssa-journey-card,
.ssa-tool-hub-shell .ssa-combo-card,
.ssa-tool-hub-shell .ssa-bridge-card,
.ssa-tool-hub-shell .ssa-subhub-context,
.ssa-tool-hub-shell .ssa-subhub-featured,
.ssa-tool-hub-shell .ssa-subhub-next,
.ssa-tool-hub-shell .ssa-subhub-format-bundle,
.ssa-tool-hub-shell .ssa-subhub-articles,
.ssa-tool-hub-shell .ssa-subhub-note,
.ssa-tool-hub-shell .ssa-subhub-faq,
.ssa-tool-hub-shell .ssa-decision-section {
  display: block !important;
  border: 1px solid rgba(45, 212, 191, 0.34) !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98)) !important;
  padding: 18px !important;
  margin: 0 !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.ssa-tool-hub-shell .ssa-directory,
.ssa-tool-hub-shell .ssa-decision-engine {
  border: 1px solid rgba(45, 212, 191, 0.34) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98)) !important;
  padding: 18px !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.ssa-tool-hub-shell .ssa-directory h3,
.ssa-tool-hub-shell .ssa-decision-section h3,
.ssa-tool-hub-shell .ssa-subhub-context h3,
.ssa-tool-hub-shell .ssa-subhub-featured h3,
.ssa-tool-hub-shell .ssa-subhub-next h3,
.ssa-tool-hub-shell .ssa-subhub-format-bundle h3,
.ssa-tool-hub-shell .ssa-subhub-articles h3,
.ssa-tool-hub-shell .ssa-subhub-faq h3 {
  margin: 0 0 10px !important;
}

.ssa-tool-hub-shell .ssa-decision-engine > .ssa-decision-section + .ssa-decision-section,
.ssa-tool-hub-shell .ssa-directory + .ssa-bridge-section,
.ssa-tool-hub-shell .ssa-bridge-section + .ssa-directory,
.ssa-tool-hub-shell .ssa-subhub-context + .ssa-subhub-featured,
.ssa-tool-hub-shell .ssa-subhub-featured + .ssa-subhub-next,
.ssa-tool-hub-shell .ssa-subhub-next + .ssa-subhub-format-bundle,
.ssa-tool-hub-shell .ssa-subhub-format-bundle + .ssa-subhub-articles,
.ssa-tool-hub-shell .ssa-subhub-articles + .ssa-subhub-note,
.ssa-tool-hub-shell .ssa-subhub-note + .ssa-tool-grid,
.ssa-tool-hub-shell .ssa-tool-grid + .ssa-subhub-faq {
  margin-top: 20px !important;
}

.ssa-tool-hub-recommendations {
  margin-top: 22px !important;
}

.ssa-tool-hub-shell .ssa-aie-block,
.ssa-tool-hub-shell .ssa-aie-products,
.ssa-tool-hub-shell .ssa-aie-recommendations {
  display: block !important;
  margin: 0 0 20px !important;
  padding: 18px !important;
  border: 1px solid rgba(45, 212, 191, 0.34) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98)) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.ssa-tool-hub-shell .ssa-aie-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 16px !important;
}

.ssa-tool-hub-shell .ssa-aie-card,
.ssa-tool-hub-shell .ssa-aie-product-card {
  border: 1px solid rgba(56, 189, 248, 0.42) !important;
  border-radius: 14px !important;
  background: rgba(2, 6, 23, 0.88) !important;
  color: #f4fdff !important;
  padding: 16px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.ssa-tool-hub-shell .ssa-aie-kicker,
.ssa-tool-hub-shell .ssa-aie-card span,
.ssa-tool-hub-shell .ssa-aie-product-card span {
  color: #67e8f9 !important;
  font-weight: 800 !important;
}

.ssa-tool-hub-shell .ssa-aie-block h3,
.ssa-tool-hub-shell .ssa-aie-card h4,
.ssa-tool-hub-shell .ssa-aie-product-card h4 {
  color: #ffffff !important;
}

.ssa-tool-hub-shell .ssa-aie-card p,
.ssa-tool-hub-shell .ssa-aie-product-card p,
.ssa-tool-hub-shell .ssa-subhub-faq details p {
  color: #dbeafe !important;
}

.ssa-tool-hub-shell .ssa-aie-card a,
.ssa-tool-hub-shell .ssa-aie-product-card a {
  color: #67e8f9 !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}

#sth-page-shell {
  background: radial-gradient(circle at top left, rgba(45, 212, 191, 0.14), transparent 34%), linear-gradient(160deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98)) !important;
  border-color: rgba(45, 212, 191, 0.34) !important;
  color: #f4fdff !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

#sth-page-shell .sth-nav-wrap,
#sth-page-shell .sth-intro,
#sth-page-shell .sth-card,
#sth-page-shell .sth-faq,
#sth-page-shell .sth-links,
#sth-page-shell .sth-mini-card,
#sth-page-shell .sth-mini-card h3,
#sth-page-shell .sth-links-list a,
#sth-page-shell .sth-faq details,
#sth-page-shell .sth-faq summary,
#sth-page-shell .sth-highlight,
#sth-page-shell .sth-note {
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98)) !important;
  border-color: rgba(45, 212, 191, 0.34) !important;
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
}

#sth-page-shell h1,
#sth-page-shell h2,
#sth-page-shell h3,
#sth-page-shell h4,
#sth-page-shell strong {
  color: #ffffff !important;
}

#sth-page-shell p,
#sth-page-shell li {
  color: #dbeafe !important;
}

#sth-page-shell a {
  color: #67e8f9 !important;
}

#sth-page-shell .sth-nav a,
#sth-page-shell .sth-nav a:visited {
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.96), rgba(8, 47, 73, 0.92)) !important;
  border-color: rgba(56, 189, 248, 0.58) !important;
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.38) !important;
}

#sth-page-shell .sth-nav a:hover,
#sth-page-shell .sth-nav a:focus-visible,
#sth-page-shell .sth-nav a.is-current,
#sth-page-shell .sth-nav a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(6, 78, 87, 0.98), rgba(8, 47, 73, 0.96)) !important;
  border-color: rgba(45, 212, 191, 0.84) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

#sth-page-shell .sth-nav a *,
#sth-page-shell .sth-nav a:visited *,
#sth-page-shell .sth-nav a:hover *,
#sth-page-shell .sth-nav a:focus-visible *,
#sth-page-shell .sth-nav a.is-current *,
#sth-page-shell .sth-nav a[aria-current="page"] * {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

/* Tool hub readability floor.
   These hubs often render inside global neon wrappers that also style buttons,
   cards, and link lists. Keep all hub text visible when those shared rules win. */
.ssa-tool-hub-shell,
.ssa-tool-hub-shell :where(h1, h2, h3, h4, h5, h6, p, li, span, strong, em, small, summary, label, dt, dd),
#sth-page-shell .sth-hub-render-wrap,
#sth-page-shell .sth-hub-render-wrap :where(h1, h2, h3, h4, h5, h6, p, li, span, strong, em, small, summary, label, dt, dd) {
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
}

.ssa-tool-hub-shell :where(p, li, small, dd),
#sth-page-shell .sth-hub-render-wrap :where(p, li, small, dd) {
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
}

.ssa-tool-hub-shell :where(a, a:visited, a:hover, a:active, a:focus),
#sth-page-shell .sth-hub-render-wrap :where(a, a:visited, a:hover, a:active, a:focus) {
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
}

.ssa-tool-hub-shell :where(
  .ssa-mini-btn,
  .ssa-mini-btn-row,
  .ssa-mini-btn-row *,
  .ssa-directory-btn,
  .ssa-tool-btn,
  .ssa-choice-btn,
  .ssa-choice-btn *,
  .ssa-directory-card,
  .ssa-directory-card *,
  .ssa-tool-card,
  .ssa-tool-card *,
  .ssa-top-pick-card,
  .ssa-top-pick-card *,
  .ssa-bridge-card,
  .ssa-bridge-card *,
  .ssa-journey-card,
  .ssa-journey-card *,
  .ssa-combo-card,
  .ssa-combo-card *,
  .ssa-hub-item-wrap,
  .ssa-hub-item-wrap *,
  .ssa-subhub-item-wrap,
  .ssa-subhub-item-wrap *,
  .ssa-featured-article,
  .ssa-featured-article *,
  .ssa-tool-related,
  .ssa-tool-related *,
  .ssa-tool-article,
  .ssa-tool-article *,
  .ssa-subhub-featured a,
  .ssa-subhub-next a,
  .ssa-subhub-format-bundle a,
  .ssa-subhub-articles a,
  .ssa-subhub-context-card,
  .ssa-subhub-featured-card,
  .ssa-subhub-faq summary,
  .ssa-aie-card a,
  .ssa-aie-product-card a
),
#sth-page-shell .sth-hub-render-wrap :where(
  .ssa-mini-btn,
  .ssa-mini-btn-row,
  .ssa-mini-btn-row *,
  .ssa-directory-btn,
  .ssa-tool-btn,
  .ssa-choice-btn,
  .ssa-choice-btn *,
  .ssa-directory-card,
  .ssa-directory-card *,
  .ssa-tool-card,
  .ssa-tool-card *,
  .ssa-top-pick-card,
  .ssa-top-pick-card *,
  .ssa-bridge-card,
  .ssa-bridge-card *,
  .ssa-journey-card,
  .ssa-journey-card *,
  .ssa-combo-card,
  .ssa-combo-card *,
  .ssa-hub-item-wrap,
  .ssa-hub-item-wrap *,
  .ssa-subhub-item-wrap,
  .ssa-subhub-item-wrap *,
  .ssa-featured-article,
  .ssa-featured-article *,
  .ssa-tool-related,
  .ssa-tool-related *,
  .ssa-tool-article,
  .ssa-tool-article *,
  .ssa-subhub-featured a,
  .ssa-subhub-next a,
  .ssa-subhub-format-bundle a,
  .ssa-subhub-articles a,
  .ssa-subhub-context-card,
  .ssa-subhub-featured-card,
  .ssa-subhub-faq summary,
  .ssa-aie-card a,
  .ssa-aie-product-card a
) {
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.34) !important;
}

.ssa-tool-hub-shell :where(
  .ssa-mini-btn,
  .ssa-directory-btn,
  .ssa-tool-btn,
  .ssa-choice-btn,
  .ssa-subhub-featured a,
  .ssa-subhub-next a,
  .ssa-subhub-format-bundle a,
  .ssa-subhub-articles a
),
#sth-page-shell .sth-hub-render-wrap :where(
  .ssa-mini-btn,
  .ssa-directory-btn,
  .ssa-tool-btn,
  .ssa-choice-btn,
  .ssa-subhub-featured a,
  .ssa-subhub-next a,
  .ssa-subhub-format-bundle a,
  .ssa-subhub-articles a
) {
  background: linear-gradient(135deg, rgba(6, 78, 87, 0.96), rgba(8, 47, 73, 0.96)) !important;
  border-color: rgba(45, 212, 191, 0.72) !important;
}

.ssa-tool-hub-shell :where(.ssa-subhub-context-card *, .ssa-subhub-featured-card *, .ssa-subhub-articles *, .ssa-subhub-next *, .ssa-subhub-format-bundle *),
#sth-page-shell .sth-hub-render-wrap :where(.ssa-subhub-context-card *, .ssa-subhub-featured-card *, .ssa-subhub-articles *, .ssa-subhub-next *, .ssa-subhub-format-bundle *) {
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
}

.ssa-tool-hub-shell :where(.ssa-top-pick-card *, .ssa-bridge-card *, .ssa-journey-card *, .ssa-combo-card *, .ssa-directory-card *, .ssa-tool-card *, .ssa-hub-item-wrap *, .ssa-subhub-item-wrap *, .ssa-choice-btn *, .ssa-featured-article *, .ssa-tool-related *, .ssa-tool-article *),
#sth-page-shell .sth-hub-render-wrap :where(.ssa-top-pick-card *, .ssa-bridge-card *, .ssa-journey-card *, .ssa-combo-card *, .ssa-directory-card *, .ssa-tool-card *, .ssa-hub-item-wrap *, .ssa-subhub-item-wrap *, .ssa-choice-btn *, .ssa-featured-article *, .ssa-tool-related *, .ssa-tool-article *) {
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
}

.ssa-tool-hub-shell :where(.ssa-mini-btn-row),
#sth-page-shell .sth-hub-render-wrap :where(.ssa-mini-btn-row) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
}

.ssa-tool-hub-shell :where(.ssa-top-pick-card a, .ssa-bridge-card a, .ssa-journey-card a, .ssa-combo-card a, .ssa-directory-card a, .ssa-tool-card a, .ssa-hub-item-wrap a, .ssa-subhub-item-wrap a, .ssa-featured-article a),
#sth-page-shell .sth-hub-render-wrap :where(.ssa-top-pick-card a, .ssa-bridge-card a, .ssa-journey-card a, .ssa-combo-card a, .ssa-directory-card a, .ssa-tool-card a, .ssa-hub-item-wrap a, .ssa-subhub-item-wrap a, .ssa-featured-article a) {
  background: rgba(2, 6, 23, 0.88) !important;
  border-color: rgba(56, 189, 248, 0.52) !important;
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
}

@media (max-width: 820px) {
  .ssa-directory-grid,
  .ssa-tool-grid,
  .ssa-top-picks-grid,
  .ssa-journey-grid,
  .ssa-combo-grid,
  .ssa-bridge-grid {
    grid-template-columns: 1fr;
  }

.ssa-subhub-context-grid {
    grid-template-columns: 1fr;
  }
}

/*
 * Final hub-specific guard.
 *
 * Shared SSA neon CSS has broad exported-content selectors for classes like
 * "-mini", "-related", and "-section". Those names are legitimate Tool Hub
 * components, so this late guard keeps the hub readable and prevents layout
 * rows from being painted as oversized buttons.
 */
body #sth-page-shell#sth-page-shell .sth-hub-render-wrap,
body .ssa-tool-hub-shell.ssa-tool-hub-shell {
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
}

body #sth-page-shell#sth-page-shell .sth-hub-render-wrap :is(
  .ssa-decision-section,
  .ssa-bridge-section,
  .ssa-combo-strip,
  .ssa-directory,
  .ssa-subhub-directory,
  .ssa-journey-bundles,
  .ssa-featured-article,
  .ssa-hub-related-articles,
  .ssa-tool-related,
  .ssa-tool-article,
  .ssa-subhub-context,
  .ssa-subhub-featured,
  .ssa-subhub-next,
  .ssa-subhub-articles,
  .ssa-subhub-format-bundle,
  .ssa-subhub-note,
  .ssa-subhub-faq
),
body .ssa-tool-hub-shell.ssa-tool-hub-shell :is(
  .ssa-decision-section,
  .ssa-bridge-section,
  .ssa-combo-strip,
  .ssa-directory,
  .ssa-subhub-directory,
  .ssa-journey-bundles,
  .ssa-featured-article,
  .ssa-hub-related-articles,
  .ssa-tool-related,
  .ssa-tool-article,
  .ssa-subhub-context,
  .ssa-subhub-featured,
  .ssa-subhub-next,
  .ssa-subhub-articles,
  .ssa-subhub-format-bundle,
  .ssa-subhub-note,
  .ssa-subhub-faq
) {
  border: 1px solid rgba(45, 212, 191, 0.34) !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(3, 8, 18, 0.98)) !important;
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body #sth-page-shell#sth-page-shell .sth-hub-render-wrap :is(
  .ssa-mini-btn-row,
  .ssa-choice-grid,
  .ssa-journey-steps
),
body .ssa-tool-hub-shell.ssa-tool-hub-shell :is(
  .ssa-mini-btn-row,
  .ssa-choice-grid,
  .ssa-journey-steps
) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body #sth-page-shell#sth-page-shell .sth-hub-render-wrap :is(.ssa-choice-grid),
body .ssa-tool-hub-shell.ssa-tool-hub-shell :is(.ssa-choice-grid) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
}

body #sth-page-shell#sth-page-shell .sth-hub-render-wrap :is(.ssa-journey-steps),
body .ssa-tool-hub-shell.ssa-tool-hub-shell :is(.ssa-journey-steps) {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

body #sth-page-shell#sth-page-shell .sth-hub-render-wrap :is(
  .ssa-mini-btn,
  .ssa-choice-btn,
  .ssa-journey-step,
  .ssa-directory-btn,
  .ssa-tool-btn,
  .ssa-top-pick-card a,
  .ssa-bridge-card a,
  .ssa-journey-card a,
  .ssa-combo-card a,
  .ssa-directory-card a,
  .ssa-tool-card a
),
body .ssa-tool-hub-shell.ssa-tool-hub-shell :is(
  .ssa-mini-btn,
  .ssa-choice-btn,
  .ssa-journey-step,
  .ssa-directory-btn,
  .ssa-tool-btn,
  .ssa-top-pick-card a,
  .ssa-bridge-card a,
  .ssa-journey-card a,
  .ssa-combo-card a,
  .ssa-directory-card a,
  .ssa-tool-card a
) {
  border: 1px solid rgba(56, 189, 248, 0.52) !important;
  border-radius: 12px !important;
  background: rgba(2, 6, 23, 0.88) !important;
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.34) !important;
}

body #sth-page-shell#sth-page-shell .sth-hub-render-wrap :is(
  h1, h2, h3, h4, h5, h6, p, li, span, strong, em, small, label, a, div
),
body .ssa-tool-hub-shell.ssa-tool-hub-shell :is(
  h1, h2, h3, h4, h5, h6, p, li, span, strong, em, small, label, a, div
) {
  color: #f4fdff !important;
  -webkit-text-fill-color: #f4fdff !important;
  opacity: 1 !important;
}

/*
 * Final mobile overflow hardening.
 *
 * The live shortcode shell uses .ssa-tool-hub-shell, while several published
 * hub pages paste the same experience into #sth-page-shell. Keep both shells
 * border-boxed and shrinkable so 100% width plus padding never spills off the
 * right side on portrait phones.
 */
body :is(#sth-page-shell#sth-page-shell, .ssa-tool-hub-shell.ssa-tool-hub-shell) {
  box-sizing: border-box !important;
  max-width: min(100%, 1120px) !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
}

body :is(#sth-page-shell#sth-page-shell, .ssa-tool-hub-shell.ssa-tool-hub-shell),
body :is(#sth-page-shell#sth-page-shell, .ssa-tool-hub-shell.ssa-tool-hub-shell) :where(*) {
  box-sizing: border-box !important;
}

body :is(#sth-page-shell#sth-page-shell, .ssa-tool-hub-shell.ssa-tool-hub-shell) :where(
  div,
  section,
  article,
  aside,
  nav,
  ul,
  ol,
  li,
  a,
  button,
  input,
  select,
  textarea,
  img,
  iframe,
  canvas,
  svg,
  video
) {
  max-width: 100% !important;
  min-width: 0 !important;
}

body :is(#sth-page-shell#sth-page-shell, .ssa-tool-hub-shell.ssa-tool-hub-shell) :where(
  h1, h2, h3, h4, h5, h6, p, li, span, strong, em, small, label, a, button
) {
  overflow-wrap: break-word !important;
  word-break: normal !important;
  white-space: normal !important;
}

@media (max-width: 780px) {
  body :is(#sth-page-shell#sth-page-shell, .ssa-tool-hub-shell.ssa-tool-hub-shell) {
    width: min(100%, calc(100dvw - 12px)) !important;
    max-width: min(100%, calc(100dvw - 12px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(10px, 3.5vw, 14px) !important;
    padding-right: clamp(10px, 3.5vw, 14px) !important;
  }

  body :is(#sth-page-shell#sth-page-shell, .ssa-tool-hub-shell.ssa-tool-hub-shell) :where(
    .sth-grid,
    .sth-links-list,
    .ssa-directory-grid,
    .ssa-tool-grid,
    .ssa-top-picks-grid,
    .ssa-journey-grid,
    .ssa-combo-grid,
    .ssa-bridge-grid,
    .ssa-subhub-context-grid,
    .ssa-aie-grid,
    [class*="-grid"],
    [class*="__grid"]
  ) {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }
}

/* Final hub de-pyramid guard: keep directories/cards readable without nested
   wrapper shadows stacking into a heavy box tower. */
body :is(#sth-page-shell#sth-page-shell, .ssa-tool-hub-shell.ssa-tool-hub-shell)
  :is(.sth-hub-render-wrap, .ssa-tool-hub-shell, .ssa-directory, .ssa-subhub-directory, .ssa-decision-section, .ssa-bridge-section, .ssa-combo-strip, .ssa-journey-bundles, .ssa-subhub-context, .ssa-subhub-featured, .ssa-subhub-next, .ssa-subhub-format-bundle, .ssa-subhub-articles, .ssa-subhub-note, .ssa-subhub-faq)
  :is(.ssa-directory, .ssa-subhub-directory, .ssa-decision-section, .ssa-bridge-section, .ssa-combo-strip, .ssa-journey-bundles, .ssa-subhub-context, .ssa-subhub-featured, .ssa-subhub-next, .ssa-subhub-format-bundle, .ssa-subhub-articles, .ssa-subhub-note, .ssa-subhub-faq, .ssa-directory-card, .ssa-tool-card, .ssa-journey-card, .ssa-combo-card, .ssa-bridge-card, .ssa-top-pick-card) {
  border-color: rgba(45, 212, 191, 0.22) !important;
  background: rgba(3, 10, 18, 0.48) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

body :is(#sth-page-shell#sth-page-shell, .ssa-tool-hub-shell.ssa-tool-hub-shell)
  :is(.sth-hub-render-wrap, .ssa-mini-btn-row, .ssa-choice-grid, .ssa-journey-steps, .ssa-directory-grid, .ssa-tool-grid, .ssa-top-picks-grid, .ssa-journey-grid, .ssa-combo-grid, .ssa-bridge-grid, .ssa-subhub-context-grid) {
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 780px) {
  body :is(#sth-page-shell#sth-page-shell, .ssa-tool-hub-shell.ssa-tool-hub-shell)
    :is(.ssa-directory, .ssa-subhub-directory, .ssa-decision-section, .ssa-bridge-section, .ssa-combo-strip, .ssa-journey-bundles, .ssa-subhub-context, .ssa-subhub-featured, .ssa-subhub-next, .ssa-subhub-format-bundle, .ssa-subhub-articles, .ssa-subhub-note, .ssa-subhub-faq, .ssa-directory-card, .ssa-tool-card, .ssa-journey-card, .ssa-combo-card, .ssa-bridge-card, .ssa-top-pick-card) {
    padding: clamp(10px, 3.5vw, 14px) !important;
  }
}
