/* GematriaRTM V64 — findings UI, readability first. Intentionally ignores the legacy data-theme flag. */

/* ===== shared palette ===== */
body.rtm-findings-page,
body.v15-home{
  --rtmf-bg:#f4f7fb;
  --rtmf-surface:#ffffff;
  --rtmf-surface-2:#f8fafc;
  --rtmf-ink:#152238;
  --rtmf-muted:#5c6c81;
  --rtmf-line:#dce5ef;
  --rtmf-blue:#3457d5;
  --rtmf-gold:#9a6c18;
  --rtmf-gold-soft:#fff8e8;
  --rtmf-green:#176846;
  --rtmf-shadow:0 14px 34px rgba(18,36,60,.08);
}

body.rtm-findings-page main{background:var(--rtmf-bg)!important;color:var(--rtmf-ink)!important}
body.rtm-findings-page main *,
body.v15-home .findings-mini-card *{text-shadow:none!important}

/* ===== findings hero ===== */
body.rtm-findings-page .findings-hero{
  min-height:0!important;
  padding:42px 0 34px!important;
  background:linear-gradient(135deg,#0b1726 0%,#101d2f 62%,#142239 100%)!important;
  border-bottom:1px solid #22334a!important;
  color:#fff!important;
}
body.rtm-findings-page .findings-hero .container{max-width:1040px!important}
body.rtm-findings-page .findings-breadcrumb,
body.rtm-findings-page .findings-breadcrumb a{
  color:#aebdd0!important;-webkit-text-fill-color:#aebdd0!important;
  font-size:.88rem!important;
}
body.rtm-findings-page .findings-kicker,
body.rtm-findings-page .section-eyebrow{
  color:#f0c56c!important;-webkit-text-fill-color:#f0c56c!important;
  font-size:.76rem!important;font-weight:900!important;letter-spacing:.16em!important;
}
body.rtm-findings-page .findings-hero h1{
  max-width:880px!important;margin:10px auto 13px!important;
  color:#f7f9fc!important;-webkit-text-fill-color:#f7f9fc!important;
  font-size:clamp(2.15rem,4vw,3.25rem)!important;line-height:1.12!important;
  letter-spacing:-.035em!important;text-align:center!important;
}
body.rtm-findings-page .findings-hero .lead{
  max-width:820px!important;margin:0 auto!important;
  color:#ced8e5!important;-webkit-text-fill-color:#ced8e5!important;
  font-size:1.05rem!important;line-height:1.8!important;text-align:center!important;
}
body.rtm-findings-page .findings-hero .case-byline,
body.rtm-findings-page .findings-hero .case-byline a{
  color:#aebdd0!important;-webkit-text-fill-color:#aebdd0!important;
}

/* ===== main page width and scope ===== */
body.rtm-findings-page .findings-wrap{max-width:1180px!important;margin:0 auto!important;padding:34px 22px 72px!important;color:var(--rtmf-ink)!important}
body.rtm-findings-page .scope-band{
  margin:0 0 26px!important;padding:18px 20px!important;
  border:1px solid #ead39a!important;border-radius:16px!important;
  background:#fffaf0!important;box-shadow:none!important;
}
body.rtm-findings-page .scope-band strong{display:block!important;color:#7b5612!important;-webkit-text-fill-color:#7b5612!important;font-size:1rem!important}
body.rtm-findings-page .scope-band p{margin:.35rem 0 0!important;color:#5b6878!important;-webkit-text-fill-color:#5b6878!important;font-size:.96rem!important;line-height:1.72!important}

/* ===== case cards ===== */
body.rtm-findings-page .findings-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
body.rtm-findings-page .finding-card{
  min-height:350px!important;padding:25px!important;display:flex!important;flex-direction:column!important;
  border:1px solid var(--rtmf-line)!important;border-radius:20px!important;
  background:var(--rtmf-surface)!important;box-shadow:var(--rtmf-shadow)!important;
  color:var(--rtmf-ink)!important;overflow:hidden!important;
}
body.rtm-findings-page .finding-card:before{height:4px!important;background:linear-gradient(90deg,#365ee7,#ddb25b)!important}
body.rtm-findings-page .finding-card h2,
body.rtm-findings-page .finding-card h3{
  margin:.55rem 0 .7rem!important;color:var(--rtmf-ink)!important;-webkit-text-fill-color:var(--rtmf-ink)!important;
  font-size:1.52rem!important;line-height:1.22!important;letter-spacing:-.025em!important;
}
body.rtm-findings-page .finding-card p{
  margin:0 0 14px!important;color:var(--rtmf-muted)!important;-webkit-text-fill-color:var(--rtmf-muted)!important;
  font-size:.98rem!important;line-height:1.78!important;
}
body.rtm-findings-page .case-badge{
  align-self:flex-start!important;padding:6px 10px!important;border:1px solid #dfc688!important;border-radius:999px!important;
  background:var(--rtmf-gold-soft)!important;color:#76500f!important;-webkit-text-fill-color:#76500f!important;
  font-size:.69rem!important;font-weight:900!important;letter-spacing:.045em!important;
}
body.rtm-findings-page .finding-card .equation{margin-top:auto!important}
body.rtm-findings-page .finding-card .case-link{
  margin-top:16px!important;color:#2d51c8!important;-webkit-text-fill-color:#2d51c8!important;
  font-weight:900!important;text-decoration:none!important;
}
body.rtm-findings-page .finding-card .case-link:hover{text-decoration:underline!important;text-underline-offset:3px!important}

/* ===== equations / results ===== */
body.rtm-findings-page .equation{
  padding:14px 15px!important;border:1px solid #d6e0ec!important;border-radius:14px!important;
  background:#f3f6fa!important;color:#16243a!important;-webkit-text-fill-color:#16243a!important;
  box-shadow:none!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
  font-size:clamp(.98rem,1.65vw,1.25rem)!important;font-weight:850!important;line-height:1.5!important;
  white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;direction:ltr!important;
}
body.rtm-findings-page .equation.primary{
  border-color:#dfbd69!important;background:#fff8e6!important;color:#6d4c0c!important;-webkit-text-fill-color:#6d4c0c!important;
}
body.rtm-findings-page .result-node{
  background:linear-gradient(180deg,#fffaf0,#f7f9fc)!important;border:1px solid #e5c878!important;box-shadow:none!important;
}
body.rtm-findings-page .result-node .big{color:#815914!important;-webkit-text-fill-color:#815914!important}
body.rtm-findings-page .result-node small{color:#647286!important;-webkit-text-fill-color:#647286!important}

/* ===== sections ===== */
body.rtm-findings-page .case-section,
body.rtm-findings-page .pattern-section{
  margin-top:28px!important;padding:28px!important;border:1px solid var(--rtmf-line)!important;border-radius:20px!important;
  background:var(--rtmf-surface)!important;color:var(--rtmf-ink)!important;box-shadow:0 10px 28px rgba(18,36,60,.045)!important;
}
body.rtm-findings-page .case-section h2,
body.rtm-findings-page .case-section h3,
body.rtm-findings-page .pattern-section h2,
body.rtm-findings-page .pattern-section h3{
  color:var(--rtmf-ink)!important;-webkit-text-fill-color:var(--rtmf-ink)!important;
}
body.rtm-findings-page .case-section>p,
body.rtm-findings-page .case-section li,
body.rtm-findings-page .pattern-section>.section-intro{
  color:var(--rtmf-muted)!important;-webkit-text-fill-color:var(--rtmf-muted)!important;line-height:1.8!important;
}
body.rtm-findings-page .pattern-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body.rtm-findings-page .pattern-card{
  min-height:165px!important;padding:18px!important;border:1px solid var(--rtmf-line)!important;border-radius:15px!important;
  background:var(--rtmf-surface-2)!important;color:var(--rtmf-ink)!important;
}
body.rtm-findings-page .pattern-card h3{margin:0 0 .55rem!important;font-size:1.02rem!important;line-height:1.35!important;color:var(--rtmf-ink)!important;-webkit-text-fill-color:var(--rtmf-ink)!important}
body.rtm-findings-page .pattern-card h3 small{display:block!important;margin-top:5px!important;color:#936719!important;-webkit-text-fill-color:#936719!important;font-size:.67rem!important;letter-spacing:.045em!important}
body.rtm-findings-page .pattern-card p{margin:0!important;color:var(--rtmf-muted)!important;-webkit-text-fill-color:var(--rtmf-muted)!important;font-size:.91rem!important;line-height:1.68!important}
body.rtm-findings-page .pattern-examples{margin-top:10px!important;color:#728197!important;-webkit-text-fill-color:#728197!important;font-size:.78rem!important;font-weight:800!important}

body.rtm-findings-page .qa-feature{
  grid-template-columns:1.4fr auto!important;margin-top:18px!important;padding:20px!important;
  border:1px solid #cbd8ff!important;border-radius:16px!important;background:linear-gradient(135deg,#f4f7ff,#fffaf0)!important;
}
body.rtm-findings-page .qa-feature h3{color:var(--rtmf-ink)!important;-webkit-text-fill-color:var(--rtmf-ink)!important}
body.rtm-findings-page .qa-feature p{color:var(--rtmf-muted)!important;-webkit-text-fill-color:var(--rtmf-muted)!important}
body.rtm-findings-page .validation-band{
  border:1px solid #cae4d7!important;border-radius:15px!important;background:#f4fbf7!important;
}
body.rtm-findings-page .validation-band b{color:#176846!important;-webkit-text-fill-color:#176846!important}
body.rtm-findings-page .validation-band p{color:#5c7065!important;-webkit-text-fill-color:#5c7065!important}

/* ===== Q&A: one readable case per row; no dense 3-column wall ===== */
body.rtm-findings-page .qa-grid{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;max-width:1040px!important;margin:22px auto 0!important}
body.rtm-findings-page .qa-card{
  padding:26px 28px!important;border:1px solid var(--rtmf-line)!important;border-radius:19px!important;
  background:var(--rtmf-surface)!important;color:var(--rtmf-ink)!important;box-shadow:var(--rtmf-shadow)!important;
}
body.rtm-findings-page .qa-card h2,
body.rtm-findings-page .qa-card h3{color:var(--rtmf-ink)!important;-webkit-text-fill-color:var(--rtmf-ink)!important;font-size:1.5rem!important;line-height:1.3!important}
body.rtm-findings-page .qa-card p{color:var(--rtmf-muted)!important;-webkit-text-fill-color:var(--rtmf-muted)!important;line-height:1.78!important}
body.rtm-findings-page .qa-label{
  border:1px solid #dfc68a!important;background:#fff9e9!important;color:#76530f!important;-webkit-text-fill-color:#76530f!important;
}
body.rtm-findings-page .qa-question{
  padding:15px 18px!important;border:1px solid #dbe4ee!important;border-radius:14px!important;
  background:#f5f7fa!important;color:#17253a!important;-webkit-text-fill-color:#17253a!important;
  font-size:1.05rem!important;line-height:1.65!important;
}
body.rtm-findings-page .qa-arrow{color:#9b6e1a!important;-webkit-text-fill-color:#9b6e1a!important}
body.rtm-findings-page .qa-result{
  border:1px solid #dfbd69!important;background:#fff8e6!important;color:#6b4a0b!important;-webkit-text-fill-color:#6b4a0b!important;
}
body.rtm-findings-page .qa-note{
  border-right:3px solid #c89d3c!important;background:#fffaf0!important;color:#637286!important;-webkit-text-fill-color:#637286!important;
}

/* ===== source and method blocks ===== */
body.rtm-findings-page .source-chip,
body.rtm-findings-page .timeline-row,
body.rtm-findings-page .case-path .path-box,
body.rtm-findings-page .method-step{
  background:var(--rtmf-surface-2)!important;border:1px solid var(--rtmf-line)!important;color:var(--rtmf-ink)!important;
}
body.rtm-findings-page .source-chip b,
body.rtm-findings-page .timeline-row b,
body.rtm-findings-page .method-step b{color:var(--rtmf-ink)!important;-webkit-text-fill-color:var(--rtmf-ink)!important}
body.rtm-findings-page .source-chip span,
body.rtm-findings-page .timeline-row p,
body.rtm-findings-page .method-step span{color:var(--rtmf-muted)!important;-webkit-text-fill-color:var(--rtmf-muted)!important}
body.rtm-findings-page .timeline-row time,
body.rtm-findings-page .timeline-row .time-label{color:#906419!important;-webkit-text-fill-color:#906419!important}
body.rtm-findings-page .case-note{background:#fffaf0!important;color:#5c6c80!important;-webkit-text-fill-color:#5c6c80!important;border-right-color:#c99f42!important}
body.rtm-findings-page .case-path .arrow{color:#a4731e!important;-webkit-text-fill-color:#a4731e!important}

/* ===== actions ===== */
body.rtm-findings-page .case-actions a{
  border:1px solid #cbd6ff!important;background:#f1f5ff!important;color:#2f51c8!important;-webkit-text-fill-color:#2f51c8!important;
  text-decoration:none!important;font-weight:900!important;
}
body.rtm-findings-page .case-actions a:hover{background:#e8efff!important}
body.rtm-findings-page .case-actions a.secondary{border-color:var(--rtmf-line)!important;background:#f8fafc!important;color:#324156!important;-webkit-text-fill-color:#324156!important}

/* ===== home selected cases ===== */
body.v15-home .findings-mini-card{
  min-height:245px!important;border:1px solid #dce5ef!important;background:#fff!important;color:#152238!important;box-shadow:0 12px 30px rgba(18,36,60,.07)!important;
}
body.v15-home .findings-mini-card h3{color:#152238!important;-webkit-text-fill-color:#152238!important}
body.v15-home .findings-mini-card p{color:#5c6c81!important;-webkit-text-fill-color:#5c6c81!important}
body.v15-home .findings-mini-card .mini-label{color:#8b6117!important;-webkit-text-fill-color:#8b6117!important}
body.v15-home .findings-mini-card .mini-equation{color:#3154c8!important;-webkit-text-fill-color:#3154c8!important}

/* ===== tables ===== */
body.rtm-findings-page .audit-table th{color:#7d5814!important;-webkit-text-fill-color:#7d5814!important}
body.rtm-findings-page .audit-table td{color:#5f6e80!important;-webkit-text-fill-color:#5f6e80!important}
body.rtm-findings-page .audit-table th,
body.rtm-findings-page .audit-table td{border-bottom-color:var(--rtmf-line)!important}

@media(max-width:980px){
  body.rtm-findings-page .findings-grid{grid-template-columns:1fr 1fr!important}
  body.rtm-findings-page .pattern-grid{grid-template-columns:1fr 1fr!important}
  body.rtm-findings-page .qa-feature{grid-template-columns:1fr!important}
}
@media(max-width:700px){
  body.rtm-findings-page .findings-hero{padding:34px 0 28px!important}
  body.rtm-findings-page .findings-hero h1{font-size:clamp(1.9rem,9vw,2.55rem)!important}
  body.rtm-findings-page .findings-hero .lead{font-size:.98rem!important;line-height:1.72!important}
  body.rtm-findings-page .findings-wrap{padding:24px 14px 56px!important}
  body.rtm-findings-page .findings-grid,
  body.rtm-findings-page .pattern-grid{grid-template-columns:1fr!important}
  body.rtm-findings-page .finding-card{min-height:0!important;padding:21px!important}
  body.rtm-findings-page .case-section,
  body.rtm-findings-page .pattern-section,
  body.rtm-findings-page .qa-card{padding:20px!important}
  body.rtm-findings-page .equation{font-size:.92rem!important;padding:12px 9px!important}
}


/* ===== V66 editorial information architecture ===== */
body.rtm-findings-page .findings-local-nav{
  display:flex!important;flex-wrap:wrap!important;gap:9px!important;align-items:center!important;justify-content:center!important;
  max-width:1180px!important;margin:22px auto 0!important;padding:0 22px!important;
}
body.rtm-findings-page .findings-local-nav a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:8px 14px!important;
  border:1px solid #d8e1ec!important;border-radius:999px!important;background:#fff!important;color:#43536a!important;-webkit-text-fill-color:#43536a!important;
  text-decoration:none!important;font-size:.88rem!important;font-weight:850!important;box-shadow:0 5px 16px rgba(18,36,60,.04)!important;
}
body.rtm-findings-page .findings-local-nav a:hover{border-color:#aebff3!important;color:#294ec6!important;-webkit-text-fill-color:#294ec6!important}
body.rtm-findings-page .findings-local-nav a.current,
body.rtm-findings-page .findings-local-nav a.qa-current{
  border-color:#aebff3!important;background:#eef3ff!important;color:#294ec6!important;-webkit-text-fill-color:#294ec6!important;
}
body.rtm-findings-page .findings-local-nav a.qa-link{
  border-color:#dfc27e!important;background:#fff8e7!important;color:#76500f!important;-webkit-text-fill-color:#76500f!important;
}
body.rtm-findings-page .findings-local-nav a.qa-link.qa-current{box-shadow:0 0 0 2px rgba(215,177,86,.16)!important}

/* Four primary gateways: 2x2 is easier to scan than 3+1. */
body.rtm-findings-page .findings-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}
body.rtm-findings-page .finding-card{min-height:330px!important}
body.rtm-findings-page .finding-card.qa-primary-card{border-color:#e0c27b!important;background:linear-gradient(180deg,#fffdf8,#fff)!important}
body.rtm-findings-page .finding-card.qa-primary-card:before{background:linear-gradient(90deg,#d3a94a,#516ee8)!important}
body.rtm-findings-page .finding-card.qa-primary-card .case-badge{background:#fff5d8!important;border-color:#e1c174!important}
body.rtm-findings-page .finding-card .equation.multi-line{direction:rtl!important;font-family:inherit!important;text-align:right!important;font-weight:800!important;line-height:1.7!important}
body.rtm-findings-page .finding-card .equation.multi-line b{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;direction:ltr!important;unicode-bidi:isolate!important}

/* Q&A page: distinguish input-question cases from question+answer emergence. */
body.rtm-findings-page .qa-type-note{
  margin:0 0 18px!important;padding:16px 18px!important;border-radius:14px!important;border:1px solid #dbe4ee!important;background:#f8fafc!important;
  color:#53647a!important;-webkit-text-fill-color:#53647a!important;line-height:1.75!important;
}
body.rtm-findings-page .qa-type-note b{color:#17253a!important;-webkit-text-fill-color:#17253a!important}
body.rtm-findings-page .qa-pair-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;margin-top:14px!important}
body.rtm-findings-page .qa-subcase{padding:18px!important;border:1px solid #e0e7f0!important;border-radius:15px!important;background:#fbfcfe!important}
body.rtm-findings-page .qa-subcase h3{margin:0 0 10px!important;font-size:1.04rem!important;color:#27364c!important;-webkit-text-fill-color:#27364c!important}
body.rtm-findings-page .qa-subcase p{margin:.55rem 0 0!important;font-size:.93rem!important}
body.rtm-findings-page .qa-card.qa-emergence{border-color:#cdd9ff!important;background:linear-gradient(180deg,#f9fbff,#fff)!important}
body.rtm-findings-page .qa-card .formula-stack{display:grid!important;gap:9px!important;margin-top:14px!important}
body.rtm-findings-page .qa-card .formula-row{
  padding:11px 13px!important;border:1px solid #dde5ef!important;border-radius:12px!important;background:#f6f8fb!important;
  color:#203049!important;-webkit-text-fill-color:#203049!important;line-height:1.55!important;font-weight:780!important;text-align:center!important;
}
body.rtm-findings-page .qa-card .formula-row strong{color:#7a5511!important;-webkit-text-fill-color:#7a5511!important}
body.rtm-findings-page .qa-card .qa-distinction{
  margin-top:14px!important;padding:13px 15px!important;border-right:3px solid #4c69d9!important;border-radius:10px!important;background:#f3f6ff!important;
  color:#55667c!important;-webkit-text-fill-color:#55667c!important;line-height:1.7!important;
}
body.rtm-findings-page .qa-card .qa-distinction b{color:#2947aa!important;-webkit-text-fill-color:#2947aa!important}

/* Home: four selected gateways in a clean 2x2 grid. */
body.portal-home .findings-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
body.portal-home .findings-mini-card.qa-mini-card{border-color:#e0c27b!important;background:linear-gradient(180deg,#fffdf8,#fff)!important}
body.portal-home .findings-mini-card.qa-mini-card .mini-label{color:#76500f!important;-webkit-text-fill-color:#76500f!important}
body.portal-home .findings-mini-card.qa-mini-card .mini-equation{direction:rtl!important;font-family:inherit!important;line-height:1.55!important}

@media(max-width:820px){
  body.rtm-findings-page .findings-grid,body.portal-home .findings-mini-grid{grid-template-columns:1fr!important}
  body.rtm-findings-page .qa-pair-grid{grid-template-columns:1fr!important}
  body.rtm-findings-page .findings-local-nav{justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:4px!important}
  body.rtm-findings-page .findings-local-nav a{white-space:nowrap!important;flex:0 0 auto!important}
}

/* ===== V66 home findings readability ===== */
body.portal-home .findings-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
body.portal-home .findings-mini-card{
  min-height:255px!important;padding:22px!important;border:1px solid #dce5ef!important;border-radius:18px!important;
  background:#fff!important;color:#152238!important;box-shadow:0 12px 30px rgba(18,36,60,.07)!important;text-decoration:none!important;
}
body.portal-home .findings-mini-card:hover{transform:translateY(-2px)!important;border-color:#b9c9f5!important;box-shadow:0 16px 34px rgba(18,36,60,.1)!important}
body.portal-home .findings-mini-card h3{color:#152238!important;-webkit-text-fill-color:#152238!important;margin:.55rem 0!important;font-size:1.35rem!important}
body.portal-home .findings-mini-card p{color:#5c6c81!important;-webkit-text-fill-color:#5c6c81!important;line-height:1.72!important}
body.portal-home .findings-mini-card .mini-label{color:#8b6117!important;-webkit-text-fill-color:#8b6117!important;font-weight:850!important}
body.portal-home .findings-mini-card .mini-equation{direction:ltr!important;color:#3154c8!important;-webkit-text-fill-color:#3154c8!important;font-weight:850!important;overflow-wrap:anywhere!important}
body.portal-home .findings-mini-card.qa-mini-card{border-color:#e0c27b!important;background:linear-gradient(180deg,#fffdf8,#fff)!important}
body.portal-home .findings-mini-card.qa-mini-card .mini-equation{direction:rtl!important;font-family:inherit!important;color:#6e531d!important;-webkit-text-fill-color:#6e531d!important;line-height:1.55!important}

body.portal-home #recurring-patterns .pattern-section{
  margin-top:22px!important;padding:26px!important;border:1px solid #dce5ef!important;border-radius:20px!important;background:#fff!important;color:#152238!important;box-shadow:0 10px 28px rgba(18,36,60,.045)!important;
}
body.portal-home #recurring-patterns .pattern-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body.portal-home #recurring-patterns .pattern-card{
  min-height:160px!important;padding:18px!important;border:1px solid #dce5ef!important;border-radius:15px!important;background:#f8fafc!important;color:#152238!important;
}
body.portal-home #recurring-patterns .pattern-card h3{color:#152238!important;-webkit-text-fill-color:#152238!important;font-size:1.02rem!important;line-height:1.35!important}
body.portal-home #recurring-patterns .pattern-card h3 small{display:block!important;margin-top:5px!important;color:#936719!important;-webkit-text-fill-color:#936719!important;font-size:.67rem!important}
body.portal-home #recurring-patterns .pattern-card p{color:#5c6c81!important;-webkit-text-fill-color:#5c6c81!important;line-height:1.68!important}
body.portal-home #recurring-patterns .pattern-examples{color:#728197!important;-webkit-text-fill-color:#728197!important;font-weight:800!important}
body.portal-home #recurring-patterns .validation-band{border:1px solid #cae4d7!important;background:#f4fbf7!important}
body.portal-home #recurring-patterns .validation-band b{color:#176846!important;-webkit-text-fill-color:#176846!important}
body.portal-home #recurring-patterns .validation-band p{color:#5c7065!important;-webkit-text-fill-color:#5c7065!important}

@media(max-width:980px){body.portal-home #recurring-patterns .pattern-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:820px){body.portal-home .findings-mini-grid,body.portal-home #recurring-patterns .pattern-grid{grid-template-columns:1fr!important}}

/* ===== V67 source/anchor clarity ===== */
body.rtm-findings-page .data-ledger{
  margin:20px 0 22px!important;padding:18px!important;border:1px solid #d9e3ef!important;border-radius:16px!important;background:#fbfcfe!important;
}
body.rtm-findings-page .data-ledger h3{margin:0 0 6px!important;font-size:1.05rem!important;color:#17253a!important;-webkit-text-fill-color:#17253a!important}
body.rtm-findings-page .data-ledger .ledger-intro{margin:0 0 14px!important;color:#5b6b80!important;-webkit-text-fill-color:#5b6b80!important;line-height:1.72!important}
body.rtm-findings-page .ledger-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.rtm-findings-page .ledger-item{padding:12px 13px!important;border:1px solid #e1e8f0!important;border-radius:12px!important;background:#fff!important;line-height:1.55!important;color:#43536a!important;-webkit-text-fill-color:#43536a!important}
body.rtm-findings-page .ledger-item b{display:block!important;margin-bottom:3px!important;color:#16243a!important;-webkit-text-fill-color:#16243a!important}
body.rtm-findings-page .ledger-item .tag{display:inline-block!important;margin-inline-end:7px!important;padding:2px 7px!important;border-radius:999px!important;font-size:.72rem!important;font-weight:900!important;letter-spacing:.02em!important;vertical-align:1px!important}
body.rtm-findings-page .tag.fixed{background:#e8f7f3!important;color:#116b5f!important;-webkit-text-fill-color:#116b5f!important}
body.rtm-findings-page .tag.derived{background:#eef2ff!important;color:#3c57b5!important;-webkit-text-fill-color:#3c57b5!important}
body.rtm-findings-page .tag.check{background:#fff3d7!important;color:#80570b!important;-webkit-text-fill-color:#80570b!important}
body.rtm-findings-page .formula-guide{display:flex!important;gap:9px!important;flex-wrap:wrap!important;margin:10px 0 18px!important}
body.rtm-findings-page .formula-guide span{padding:5px 9px!important;border:1px solid #dde5ef!important;border-radius:999px!important;background:#fff!important;font-size:.78rem!important;font-weight:800!important}
body.rtm-findings-page .math{direction:ltr!important;unicode-bidi:isolate!important;display:inline-block!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-weight:850!important;white-space:nowrap!important}
body.rtm-findings-page .formula-row .math, body.rtm-findings-page .equation .math{color:#17253a!important;-webkit-text-fill-color:#17253a!important}
body.rtm-findings-page .formula-row .explain{display:block!important;margin-top:5px!important;font-family:inherit!important;font-weight:650!important;color:#596a80!important;-webkit-text-fill-color:#596a80!important;direction:rtl!important;unicode-bidi:plaintext!important}
body.rtm-findings-page .qa-card .case-source-note{margin-top:12px!important;padding:11px 13px!important;border-right:3px solid #d1a44b!important;background:#fffaf0!important;border-radius:9px!important;line-height:1.65!important;color:#5e6470!important;-webkit-text-fill-color:#5e6470!important}
body.rtm-findings-page .qa-card .case-source-note b{color:#6d4b0e!important;-webkit-text-fill-color:#6d4b0e!important}
body.rtm-findings-page .network-legend{margin:18px 0!important;padding:14px 16px!important;border:1px solid #dbe4ee!important;border-radius:14px!important;background:#f8fafc!important;color:#53647a!important;-webkit-text-fill-color:#53647a!important;line-height:1.7!important}
body.rtm-findings-page .network-legend strong{color:#18263a!important;-webkit-text-fill-color:#18263a!important}
body.rtm-findings-page .case-section .source-chip span{line-height:1.65!important}
@media(max-width:820px){body.rtm-findings-page .ledger-grid{grid-template-columns:1fr!important}.math{white-space:normal!important}}


/* V68 editorial clarity */
.case-context{margin:18px 0 20px;padding:18px 20px;border:1px solid #d5e1ef;border-radius:16px;background:#f7fbff;color:#23344d;line-height:1.75}
.case-context strong{color:#10223e}
.plate-number{display:inline-block;direction:ltr;unicode-bidi:isolate;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:800;font-size:1.2em;letter-spacing:.04em;padding:.1em .45em;border-radius:8px;background:#0f2138;color:#fff;margin-inline:.2em}
.source-line{margin-top:16px;padding-top:14px;border-top:1px solid #dfe7f1;color:#5d6b7d;font-size:.95rem;line-height:1.7}
.findings-wrap .scope-band.editorial-removed{display:none!important}
@media(max-width:700px){.case-context{padding:15px 16px}.plate-number{font-size:1.08em}}

/* V77 — concise corpus context before selected cases */
body.rtm-findings-page .findings-corpus-intro{
  max-width:980px!important;
  margin:0 auto 28px!important;
  padding:0 12px!important;
  text-align:center!important;
  color:#53647a!important;
  -webkit-text-fill-color:#53647a!important;
  font-size:1.04rem!important;
  line-height:1.8!important;
  font-weight:500!important;
}
@media(max-width:620px){
  body.rtm-findings-page .findings-corpus-intro{
    margin-bottom:22px!important;
    padding:0 2px!important;
    font-size:.96rem!important;
    line-height:1.72!important;
  }
}


/* V101 — emphasis only: same sentence, no callout redesign */
body.rtm-findings-page .findings-corpus-intro{
  max-width:1120px!important;
  margin:8px auto 30px!important;
  padding:12px 18px 14px!important;
  text-align:center!important;
  color:#2d425f!important;
  -webkit-text-fill-color:#2d425f!important;
  font-size:1.08rem!important;
  line-height:1.8!important;
  font-weight:700!important;
  background:#f6f8fc!important;
  border-top:1px solid #dbe4f0!important;
  border-bottom:1px solid #dbe4f0!important;
  border-radius:8px!important;
}
body.rtm-findings-page .findings-corpus-intro strong{
  color:#18345d!important;
  -webkit-text-fill-color:#18345d!important;
  font-weight:950!important;
}
html[data-theme="dark"] body.rtm-findings-page .findings-corpus-intro,
body[data-theme="dark"].rtm-findings-page .findings-corpus-intro{
  color:#d5dfed!important;
  -webkit-text-fill-color:#d5dfed!important;
  background:#111d2e!important;
  border-color:#2a3b53!important;
}
html[data-theme="dark"] body.rtm-findings-page .findings-corpus-intro strong,
body[data-theme="dark"].rtm-findings-page .findings-corpus-intro strong{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
@media(max-width:620px){
  body.rtm-findings-page .findings-corpus-intro{
    margin:6px 0 24px!important;
    padding:11px 12px 13px!important;
    font-size:1rem!important;
    line-height:1.75!important;
  }
}


/* V118 — findings landing-page introduction and hero hierarchy */
body.rtm-findings-page .findings-hero{
  padding:34px 0 30px!important;
}
body.rtm-findings-page .findings-hero .container{max-width:1100px!important}
body.rtm-findings-page .findings-hero h1{
  margin-top:8px!important;
  margin-bottom:12px!important;
  font-size:clamp(2.1rem,3.7vw,3.05rem)!important;
}
body.rtm-findings-page .findings-hero .lead{
  max-width:900px!important;
  font-size:1.03rem!important;
  line-height:1.75!important;
}
body.rtm-findings-page .findings-hero .hero-sublead{
  max-width:900px!important;
  margin:10px auto 0!important;
  color:#aebdd0!important;
  -webkit-text-fill-color:#aebdd0!important;
  font-size:.95rem!important;
  line-height:1.72!important;
  text-align:center!important;
}
body.rtm-findings-page .findings-hero .hero-sublead strong{
  color:#f4f7fb!important;
  -webkit-text-fill-color:#f4f7fb!important;
}
body.rtm-findings-page .findings-hero-principles{
  max-width:900px!important;
  margin:18px auto 4px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
body.rtm-findings-page .findings-hero-principles>div{
  padding:12px 14px!important;
  border:1px solid rgba(190,210,235,.22)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.045)!important;
  text-align:center!important;
}
body.rtm-findings-page .findings-hero-principles b{
  display:block!important;
  margin-bottom:4px!important;
  color:#f3c96f!important;
  -webkit-text-fill-color:#f3c96f!important;
  font-size:.88rem!important;
}
body.rtm-findings-page .findings-hero-principles span{
  display:block!important;
  color:#c7d2e0!important;
  -webkit-text-fill-color:#c7d2e0!important;
  font-size:.82rem!important;
  line-height:1.5!important;
}
body.rtm-findings-page .network-legend{
  margin:18px auto!important;
}
body.rtm-findings-page .findings-corpus-intro{
  max-width:1040px!important;
  margin:10px auto 30px!important;
  padding:17px 20px!important;
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  gap:14px!important;
  align-items:start!important;
  text-align:start!important;
  background:#ffffff!important;
  border:1px solid #dbe4f0!important;
  border-radius:16px!important;
  box-shadow:0 8px 24px rgba(18,36,60,.05)!important;
  font-size:.98rem!important;
  line-height:1.75!important;
  font-weight:500!important;
}
body.rtm-findings-page .findings-corpus-intro strong{
  white-space:nowrap!important;
  color:#18345d!important;
  -webkit-text-fill-color:#18345d!important;
  font-size:1.02rem!important;
  font-weight:900!important;
}
body.rtm-findings-page .findings-corpus-intro span{
  display:block!important;
  color:#53647a!important;
  -webkit-text-fill-color:#53647a!important;
}
@media(max-width:760px){
  body.rtm-findings-page .findings-hero{padding:28px 0 24px!important}
  body.rtm-findings-page .findings-hero-principles{grid-template-columns:1fr!important;gap:8px!important;margin-top:14px!important}
  body.rtm-findings-page .findings-hero-principles>div{padding:10px 12px!important}
  body.rtm-findings-page .findings-corpus-intro{grid-template-columns:1fr!important;gap:6px!important;padding:15px 16px!important;text-align:start!important}
  body.rtm-findings-page .findings-corpus-intro strong{white-space:normal!important}
}
