/* create-html / doc-base.css
   Semantic stylesheet for polished technical documents and architecture reviews.
   Light mode is deterministic; dark mode is opt-in with .theme-dark.
*/

*, *::before, *::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
figcaption,
pre,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding-left: 1.25rem;
}

:root,
.theme-light {
  color-scheme: light;

  --page-bg: #fafaf9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-warm: #fafaf9;
  --surface-muted: #f1f5f9;

  --text: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;

  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-dark: #334155;

  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --emerald-950: #022c22;

  --red-50: #fef2f2;
  --red-200: #fecaca;
  --red-300: #fca5a5;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-900: #7f1d1d;

  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-800: #92400e;
  --amber-900: #78350f;

  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-pill: 9999px;

  --shadow-card: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow-deep: 0 18px 32px rgb(15 23 42 / 0.18);
  --shadow-emphasis: 0 20px 40px rgb(6 78 59 / 0.18);
}

.theme-dark {
  color-scheme: dark;
  --page-bg: #0b1120;
  --surface: #111827;
  --surface-soft: #172033;
  --surface-warm: #111827;
  --surface-muted: #1f2937;
  --text: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #cbd5e1;
  --text-faint: #94a3b8;
  --border: #334155;
  --border-strong: #475569;
  --shadow-card: 0 1px 2px rgb(0 0 0 / 0.35);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  min-width: 320px;
  min-height: 100vh;
  background-color: var(--page-bg);
  background-image: radial-gradient(circle at 15% 0%, rgb(16 185 129 / 0.08), transparent 28rem);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
canvas,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

code,
pre,
kbd,
samp {
  font-family: var(--font-mono);
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell,
.page {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.page-flow,
.section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.document-flow {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.review-header,
.doc-header {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-strong);
}

.review-header__row,
.doc-header__row,
.doc-header .meta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.review-header__intro,
.doc-header__intro {
  min-width: 0;
}

.eyebrow,
.label {
  color: var(--emerald-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1rem;
  text-transform: uppercase;
}

.page-title,
.heading-xl {
  max-width: 48rem;
  margin-top: 0.75rem;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.page-meta,
.doc-header .meta-info {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.5rem;
  overflow-wrap: anywhere;
}

.legend {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1rem;
}

.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.legend__swatch {
  display: inline-block;
  width: 1.25rem;
  height: 0.75rem;
  flex: 0 0 auto;
  border: 1px solid var(--text-muted);
  border-radius: 0.125rem;
  background: var(--surface);
}

.legend__swatch--seam {
  border-style: dashed;
}

.legend__swatch--leak {
  height: 0.125rem;
  border: 0;
  border-radius: 0;
  background: var(--red-600);
}

.legend__swatch--deep {
  border-color: var(--slate-800);
  background: var(--slate-800);
}

.candidate-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.candidate-card,
.card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.candidate-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
}

.tag--strong,
.tag-accent {
  background: var(--emerald-100);
  color: var(--emerald-800);
}

.tag--explore,
.tag-warn {
  background: var(--amber-100);
  color: var(--amber-800);
}

.tag--speculative {
  background: #e2e8f0;
  color: #334155;
}

.tag--muted,
.tag-muted {
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-weight: 600;
}

.candidate-title,
.heading-lg {
  margin-top: 1rem;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3.2vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.2;
}

.candidate-refs,
.font-mono {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5rem;
  overflow-wrap: anywhere;
}

.candidate-visuals,
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
}

.visual-pane,
.compare-pane {
  min-width: 0;
  min-height: 20rem;
  padding: 1.5rem;
}

.visual-pane--before,
.compare-pane:first-child {
  background: var(--surface-warm);
}

.visual-pane--after,
.compare-pane:last-child {
  background: var(--surface);
}

.visual-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1rem;
  text-transform: uppercase;
}

.visual-label--before {
  color: var(--red-700);
}

.visual-label--after {
  color: var(--emerald-700);
}

.diagram-frame {
  margin-top: 1.25rem;
  padding: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.diagram-frame--soft {
  background: var(--surface-soft);
}

.diagram-frame .mermaid {
  display: flex;
  min-height: 13rem;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.mermaid svg {
  max-width: 100% !important;
  height: auto !important;
}

.deep-module,
.box-deep,
.card-deep {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 4px solid var(--slate-800);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgb(148 163 184 / 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgb(148 163 184 / 0.12) 1px, transparent 1px),
    linear-gradient(145deg, var(--slate-900), var(--slate-800));
  background-size: 22px 22px, 22px 22px, auto;
  color: #ffffff;
  box-shadow: var(--shadow-deep);
}

.deep-module__title {
  color: var(--emerald-300);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1rem;
  text-transform: uppercase;
}

.deep-module__summary {
  margin-top: 0.75rem;
  color: #cbd5e1;
  font-size: 0.8125rem;
  line-height: 1.25rem;
}

.deep-steps {
  display: grid;
  grid-template-columns: repeat(var(--step-columns, 4), minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.deep-step {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  border: 1px solid #475569;
  border-radius: var(--radius-sm);
  background: rgb(2 6 23 / 0.55);
  color: #e2e8f0;
  font-size: 0.6875rem;
  line-height: 1rem;
  text-align: center;
}

.deep-step--accent {
  border-color: var(--emerald-400);
  background: rgb(6 78 59 / 0.7);
  color: var(--emerald-50);
}

.deep-seam {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border: 1px dashed #64748b;
  border-radius: var(--radius-md);
  background: rgb(2 6 23 / 0.4);
  color: #cbd5e1;
  font-size: 0.75rem;
  line-height: 1.25rem;
  text-align: center;
}

.source-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.source-chip {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1rem;
}

.seam-box,
.box-dashed {
  padding: 0.75rem 1rem;
  border: 1px dashed var(--text-faint);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.25rem;
  text-align: center;
}

.band-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.band {
  min-height: 2.375rem;
  padding: 0.625rem 1rem;
  border-left: 4px solid var(--red-500);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.125rem;
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.flow-node {
  padding: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.25rem;
  text-align: center;
}

.flow-node--deep {
  flex: 1 1 auto;
  border: 4px solid var(--slate-800);
  background: linear-gradient(145deg, var(--slate-900), var(--slate-800));
  color: #ffffff;
}

.flow-arrow {
  flex: 0 0 auto;
  color: var(--text-faint);
  font-size: 1.5rem;
}

.mass-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  height: 15rem;
  margin-top: 1.25rem;
}

.mass-card {
  display: grid;
  overflow: hidden;
  grid-template-rows: 42% 58%;
  border: 2px solid var(--red-300);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.mass-card__interface,
.mass-card__implementation {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
  text-align: center;
}

.mass-card__interface {
  border-bottom: 1px solid var(--red-300);
  background: var(--red-50);
  color: var(--red-900);
}

.mass-card__implementation {
  color: var(--text-muted);
}

.deep-mass-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(10rem, 1fr);
  gap: 1.25rem;
  height: 15rem;
  margin-top: 1.25rem;
}

.deep-mass {
  display: grid;
  overflow: hidden;
  grid-template-rows: 17% 83%;
  border: 4px solid var(--slate-800);
  border-radius: var(--radius-lg);
  background: var(--slate-900);
  color: #ffffff;
  box-shadow: var(--shadow-deep);
}

.deep-mass__interface,
.deep-mass__implementation {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  text-align: center;
}

.deep-mass__interface {
  border-bottom: 1px solid #475569;
  background: var(--emerald-950);
  color: var(--emerald-200);
  font-size: 0.75rem;
}

.deep-mass__implementation {
  flex-direction: column;
  color: #cbd5e1;
  font-size: 0.75rem;
  line-height: 1.25rem;
}

.deep-mass__implementation strong {
  color: #e2e8f0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.adapter-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.candidate-analysis {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(12rem, auto);
  gap: 1.5rem;
  padding: 1.75rem 1.5rem;
}

.analysis-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1rem;
  text-transform: uppercase;
}

.analysis-copy,
.text-secondary {
  margin-top: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.wins-list {
  margin-top: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.45rem;
}

.wins-list li + li {
  margin-top: 0.125rem;
}

.note-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 1.5rem 1.75rem;
}

.note,
.callout {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.note--warning,
.callout--warning {
  border-color: var(--amber-200);
  background: var(--amber-50);
  color: var(--amber-900);
}

.note--success,
.callout--success {
  border-color: var(--emerald-200);
  background: var(--emerald-50);
  color: var(--emerald-900);
}

.note--danger,
.callout--danger,
.box-leak {
  border-color: var(--red-200);
  background: var(--red-50);
  color: var(--red-900);
}

.top-recommendation {
  padding: 2rem 1.75rem;
  border: 1px solid var(--emerald-300);
  border-radius: var(--radius-xl);
  background: var(--emerald-950);
  color: #ffffff;
  box-shadow: var(--shadow-emphasis);
}

.top-recommendation__label {
  color: var(--emerald-300);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1rem;
  text-transform: uppercase;
}

.top-recommendation__title {
  display: block;
  margin-top: 0.75rem;
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.2vw, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
  text-decoration-color: rgb(52 211 153 / 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.5rem;
}

.top-recommendation__copy {
  max-width: 56rem;
  margin-top: 1.25rem;
  color: var(--emerald-50);
  font-size: 1rem;
  line-height: 1.75rem;
}

.content-card,
.card-subtle {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.content-card > * + *,
.card > * + * {
  margin-top: 1rem;
}

.section-title,
.heading {
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
}

.section-kicker {
  color: var(--emerald-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.prose {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75rem;
}

.prose > * + * {
  margin-top: 0.875rem;
}

.prose h3 {
  color: var(--text);
  font-size: 1rem;
}

.prose a {
  color: var(--emerald-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2rem;
}

.fact-grid,
.metric-grid,
.grid {
  display: grid;
  gap: 1rem;
}

.fact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact,
.metric,
.box {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.fact__label,
.metric__label {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact__value,
.metric__value {
  margin-top: 0.5rem;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.4;
}

.code-block,
pre:not(.mermaid) {
  padding: 1rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.35rem;
  white-space: pre;
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

th,
td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-soft);
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.text-sm { font-size: 0.875rem; line-height: 1.5rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-muted { color: var(--text-muted); }
.text-subtle { color: var(--text-faint); }
.text-center { text-align: center; }
.text-right { text-align: right; }

.flex {
  display: flex;
  gap: 0.75rem;
}

.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mr-auto { margin-right: auto; }

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }

.stack-sm > * + * { margin-top: 0.75rem; }
.stack-md > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.25rem; }
.stack-xl > * + * { margin-top: 1.5rem; }
.stack-2xl > * + * { margin-top: 2rem; }
.stack-3xl > * + * { margin-top: 3rem; }

@media (min-width: 640px) {
  .page-shell,
  .page {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .candidate-header,
  .visual-pane,
  .compare-pane {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .candidate-analysis {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .note-stack {
    margin-right: 2rem;
    margin-left: 2rem;
  }

  .top-recommendation {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }
}

@media (max-width: 900px) {
  .candidate-analysis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analysis-block--wins {
    grid-column: 1 / -1;
  }

  .fact-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-shell,
  .page {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .review-header__row,
  .doc-header__row,
  .doc-header .meta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .legend {
    width: 100%;
  }

  .candidate-visuals,
  .compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .visual-pane,
  .compare-pane {
    min-height: 0;
  }

  .candidate-analysis {
    grid-template-columns: minmax(0, 1fr);
  }

  .analysis-block--wins {
    grid-column: auto;
  }

  .deep-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mass-compare,
  .deep-mass-layout {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .mass-card,
  .deep-mass {
    min-height: 13rem;
  }

  .flow-row {
    align-items: stretch;
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .fact-grid,
  .metric-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .col-span-2 {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .page-shell,
  .page {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .legend {
    grid-template-columns: minmax(0, 1fr);
  }

  .deep-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media print {
  @page {
    margin: 14mm;
  }

  body {
    background: #ffffff !important;
    color: #000000;
  }

  .page-shell,
  .page {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .candidate-card,
  .content-card,
  .card,
  .top-recommendation {
    break-inside: avoid;
    box-shadow: none;
  }

  .deep-module,
  .box-deep,
  .card-deep,
  .deep-mass,
  .flow-node--deep,
  .top-recommendation {
    border: 1px solid #64748b !important;
    background: #f8fafc !important;
    color: #0f172a !important;
  }

  .deep-module *,
  .box-deep *,
  .card-deep *,
  .deep-mass *,
  .flow-node--deep *,
  .top-recommendation * {
    color: #0f172a !important;
  }

  a {
    text-decoration: none;
  }
}
