/* Sustainable Catalyst Research / Editorial Refresh 01
 * Scope: existing #sc-research-v2 WordPress public Research interface.
 * Never styles the WordPress header/footer, private Workspace, or public API data source.
 */
#sc-research-v2{
  --rhe-ink:#171717;--rhe-muted:#625d56;--rhe-red:#d8101c;--rhe-edge:#ded9d1;
  --rhe-cream:#f7f4ee;--rhe-pale:#fdfbf8;
  position:static!important;left:auto!important;right:auto!important;
  transform:none!important;max-width:1080px!important;width:100%!important;
  margin:0 auto!important;overflow:visible!important;
  color:var(--rhe-ink);font-family:Montserrat,Arial,sans-serif;
  font-size:15px;line-height:1.6;
}
#sc-research-v2 *,#sc-research-v2 *::before,#sc-research-v2 *::after{box-sizing:border-box}
#sc-research-v2 :where(h1,h2,h3,h4){font-family:Spartan,Montserrat,Arial,sans-serif;letter-spacing:-.028em;line-height:1.22;color:var(--rhe-ink)}
#sc-research-v2 :where(p,li){line-height:1.6}
#sc-research-v2 :where(button,input,select,textarea){font:inherit}
#sc-research-v2 :where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--rhe-red)!important;outline-offset:3px}
#sc-research-v2 :where(a){text-underline-offset:3px}
#sc-research-v2 :where([hidden]){display:none!important}
/* Institutional hero. Existing author copy and all original links remain in the DOM. */
#sc-research-v2 .scrh-r1-hero{background:#fff!important;border:1px solid var(--rhe-edge)!important;border-top:4px solid #111!important;
  padding:clamp(25px,4vw,48px)!important;min-width:0}
#sc-research-v2 .scrh-r1-hero h1{font-size:clamp(2.7rem,5.5vw,4.25rem)!important;line-height:1.02!important;
  letter-spacing:-.055em!important;font-weight:850!important;color:#141414!important;margin-bottom:17px!important}
#sc-research-v2 .scrh-r1-hero :where(.scrh-kicker,[class*="eyebrow"],[class*="kicker"]){
  font-weight:850!important;font-size:.67rem!important;letter-spacing:.13em!important;text-transform:uppercase!important;color:#b51220!important}
#sc-research-v2 .scrh-r1-hero :where(p){max-width:84ch}
#sc-research-v2 .scrh-r1-hero :where([class*="hero-side"],[class*="hero-card"],[class*="hero-aside"]){background:var(--rhe-cream)!important;
  border:1px solid #dbd3c8!important;border-left:3px solid #111!important}
/* Single public Research navigation; all five native tab behaviors are preserved. */
#sc-research-v2 .scrh-toolbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  justify-content:space-between!important;gap:8px 16px!important;padding:10px 13px!important;
  background:#fff!important;border:1px solid var(--rhe-edge)!important;border-top:0!important;
  box-shadow:none!important}
#sc-research-v2 .scrh-toolbar [data-tab]{min-height:42px!important;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;padding:10px 13px!important;
  border:1px solid transparent!important;border-radius:0!important;background:transparent!important;
  color:#42403d!important;letter-spacing:.005em!important;font-size:.75rem!important;
  font-weight:800!important;box-shadow:none!important;white-space:normal!important}
#sc-research-v2 .scrh-toolbar [data-tab]:hover{background:var(--rhe-cream)!important;color:#111!important}
#sc-research-v2 .scrh-toolbar [data-tab][aria-selected="true"]{background:#111!important;
  color:#fff!important;border-color:#111!important;box-shadow:inset 0 -3px var(--rhe-red)!important}
/* A thin guide, derived only from the public editorial DOM, never backend counts. */
#sc-research-v2 .scrh-r1-pathways{margin:clamp(16px,2.4vw,28px) 0!important;
  border:1px solid var(--rhe-edge);border-top:3px solid #111;padding:clamp(20px,2.8vw,28px);
  background:#fff;color:#111}
#sc-research-v2 .scrh-r1-pathways__head{display:flex;justify-content:space-between;align-items:end;
  gap:20px;flex-wrap:wrap;margin-bottom:18px}
#sc-research-v2 .scrh-r1-pathways__head>div{min-width:0}
#sc-research-v2 .scrh-r1-pathways__label{font-size:.64rem;font-weight:850;
  color:#b51220;letter-spacing:.12em;text-transform:uppercase;margin:0 0 7px}
#sc-research-v2 .scrh-r1-pathways h2{font-size:clamp(1.4rem,2.5vw,2rem)!important;
  line-height:1.18!important;margin:0!important;font-weight:850!important}
#sc-research-v2 .scrh-r1-pathways__description{max-width:42ch;margin:0!important;
  color:#665e57;font-size:.75rem;line-height:1.6}
#sc-research-v2 .scrh-r1-pathways__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;
  border:1px solid #d8d2c9;background:#d8d2c9}
#sc-research-v2 .scrh-r1-pathway{display:flex;flex-direction:column;align-items:flex-start;
  width:100%;min-width:0;min-height:164px;border:0!important;border-radius:0!important;
  background:var(--rhe-pale)!important;color:#111!important;box-shadow:none!important;
  padding:17px!important;text-align:left!important;cursor:pointer;transition:background .16s ease}
#sc-research-v2 .scrh-r1-pathway:nth-child(even){background:#fff!important}
#sc-research-v2 .scrh-r1-pathway:hover{background:#f5eee4!important}
#sc-research-v2 .scrh-r1-pathway__num{font-size:.62rem;letter-spacing:.12em;color:#b51220;font-weight:850;margin-bottom:14px}
#sc-research-v2 .scrh-r1-pathway__title{font:850 .86rem/1.36 Spartan,Montserrat,Arial,sans-serif!important;
  color:#171717;overflow-wrap:anywhere;letter-spacing:-.013em}
#sc-research-v2 .scrh-r1-pathway__count{margin-top:auto;font-size:.66rem;color:#726a61;
  line-height:1.4;padding-top:17px}
#sc-research-v2 .scrh-r1-pathways__note{margin:13px 0 0!important;font-size:.68rem!important;
  color:#676059;line-height:1.55!important}
#sc-research-v2[data-sc-active-view]:not([data-sc-active-view="overview"]) .scrh-r1-pathways{display:none!important}
/* Main content: neutral surfaces and sensible spacing around native views. */
#sc-research-v2 .scrh-view{background:transparent!important;color:#151515!important}
#sc-research-v2 .scrh-view h2{font-size:clamp(1.4rem,2.6vw,2.05rem)!important;
  line-height:1.18!important;font-weight:850!important;letter-spacing:-.035em!important}
#sc-research-v2 .scrh-view :where(h3){letter-spacing:-.015em}
#sc-research-v2 :where(.scrh-index-layout,.scrh-view-overview, .scrh-workspace-layout){min-width:0}
#sc-research-v2 :where(input[type="search"],input[type="text"],select){min-height:44px!important;
  max-width:100%;padding:10px 12px!important;border:1px solid #c6beb3!important;
  border-radius:0!important;background:#fff!important;color:#171717!important;
  box-shadow:none!important}
#sc-research-v2 :where(button):not([data-tab]):not(.scrh-r1-pathway):not(.scrh-r1-reveal){border-radius:0!important}
/* Native table remains a real table: no replacement DOM or duplicate search. */
#sc-research-v2 #scrh-home-articles{border-collapse:separate!important;border-spacing:0!important;
  width:100%!important;max-width:100%;background:#fff;color:#151515}
#sc-research-v2 #scrh-home-articles th{padding:12px 13px!important;background:#191919!important;
  border-color:#242424!important;color:#fff!important;font-size:.62rem!important;letter-spacing:.09em!important;
  text-transform:uppercase!important;text-align:left}
#sc-research-v2 #scrh-home-articles td{padding:16px 13px!important;border-bottom:1px solid #e3ded7!important;
  color:#48443e;font-size:.75rem!important;line-height:1.58!important;vertical-align:top!important}
#sc-research-v2 #scrh-home-articles tr:nth-child(even) td{background:#fcfaf7!important}
#sc-research-v2 #scrh-home-articles tr:hover td,
#sc-research-v2 #scrh-home-articles tr.scrh-nav-selected td{background:#f8f2e8!important}
#sc-research-v2 #scrh-home-articles tr.scrh-nav-selected td:first-child{box-shadow:inset 3px 0 var(--rhe-red)}
#sc-research-v2 #scrh-home-articles .scrh-record-title{font-size:.85rem!important;line-height:1.42!important;
  font-weight:850!important;color:#171717!important;letter-spacing:-.01em}
#sc-research-v2 #scrh-home-articles .scrh-record-desc{display:block;margin-top:8px;
  font-size:.73rem!important;line-height:1.6!important;color:#676057!important}
/* Search, inspector, research areas, and graph keep their existing JS selectors. */
#sc-research-v2 :where([class*="inspect"],[class*="inspector"]){overflow-wrap:anywhere}
#sc-research-v2 :where(.scrh-inspector,.scrh-index-inspector){background:var(--rhe-cream)!important;
  border:1px solid #d7d1c8!important;padding:clamp(15px,2vw,24px)!important}
#sc-research-v2 #scrh-inspect-title{font-size:1.05rem!important;line-height:1.33!important;color:#171717!important}
#sc-research-v2 #scrh-inspect-summary{font-size:.76rem!important;line-height:1.7!important;color:#625d57!important}
#sc-research-v2 #scrh-area-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#sc-research-v2 #scrh-area-list>*{min-width:0;padding:17px!important;background:#fff!important;
  border:1px solid var(--rhe-edge)!important;border-top:2px solid #111!important}
#sc-research-v2 #scrh-graph-svg-wrap{background:#0b1519!important;border:1px solid #243239!important;
  min-height:360px;max-width:100%;overflow:hidden}
#sc-research-v2 #scrh-graph-list{max-height:460px;overflow:auto}
#sc-research-v2 :where(.scrh-graph-detail,.scrh-runtime-notice){border-left:3px solid #d8101c!important;
  background:#faf8f4!important;padding:13px 15px!important;color:#4a443e!important}
#sc-research-v2 .scrh-api-panel{border:1px solid var(--rhe-edge)!important;
  border-top:3px solid #111!important;background:#fff!important;margin-top:28px!important;
  padding:clamp(19px,2.7vw,30px)!important;color:#171717!important}
#sc-research-v2 .scrh-api-panel h2{font-family:Spartan,Montserrat,Arial,sans-serif!important;
  font-weight:850!important;letter-spacing:-.032em!important;font-size:clamp(1.4rem,2.6vw,2rem)!important}
#sc-research-v2 .scrh-api-panel .scrh-api-status{font-size:.75rem;line-height:1.65;
  background:var(--rhe-pale)!important}
#sc-research-v2 .scrh-api-controls{gap:13px!important}
#sc-research-v2 .scrh-api-list{gap:10px!important}
#sc-research-v2 .scrh-api-item{border:1px solid #e2dcd2!important;
  background:#fff!important;padding:18px!important}
#sc-research-v2 .scrh-api-item h3{font-family:Spartan,Montserrat,Arial,sans-serif!important;font-size:1rem!important}
#sc-research-v2 .scrh-api-item a{text-decoration-color:#d8101c!important}
#sc-research-v2 .scrh-api-graph{background:#faf8f4!important}
/* Consistent accent and touch targets; state green remains conditional on real connection. */
#sc-research-v2 [data-tab-target],#sc-research-v2 [data-section]{min-height:40px}
#sc-research-v2 :where(.scrh-backend-connected-value){color:#146c35!important}
#sc-research-v2 a:hover{color:#b80b19}
@media(max-width:950px){
  #sc-research-v2 .scrh-r1-pathways__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #sc-research-v2 .scrh-r1-pathway{min-height:142px}
}
@media(max-width:650px){
  #sc-research-v2{font-size:14px}
  #sc-research-v2 .scrh-r1-hero{padding:23px 18px!important}
  #sc-research-v2 .scrh-toolbar{padding:8px!important;justify-content:flex-start!important}
  #sc-research-v2 .scrh-toolbar [data-tab]{flex:1 1 auto;font-size:.67rem!important;min-height:40px!important}
  #sc-research-v2 .scrh-r1-pathways{padding:17px 14px}
  #sc-research-v2 .scrh-r1-pathways__grid{grid-template-columns:1fr}
  #sc-research-v2 .scrh-r1-pathway{min-height:100px;padding:14px!important}
  #sc-research-v2 .scrh-r1-pathway__num{margin-bottom:6px}
  #sc-research-v2 .scrh-r1-pathway__count{padding-top:8px}
  #sc-research-v2 #scrh-area-list{grid-template-columns:1fr}
  /* Mobile records become readable cards; original table roles and rows remain in place. */
  #sc-research-v2 #scrh-home-articles{display:block!important;background:transparent!important}
  #sc-research-v2 #scrh-home-articles thead{position:absolute!important;overflow:hidden!important;
    width:1px!important;height:1px!important;clip-path:inset(50%)!important;white-space:nowrap!important}
  #sc-research-v2 #scrh-home-articles tbody{display:grid!important;gap:11px!important}
  #sc-research-v2 #scrh-home-articles tr{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));
    border:1px solid var(--rhe-edge)!important;background:#fff!important;min-width:0}
  #sc-research-v2 #scrh-home-articles td{display:block!important;min-width:0!important;
    padding:10px 11px!important;border:0!important;font-size:.64rem!important;overflow-wrap:anywhere}
  #sc-research-v2 #scrh-home-articles td:first-child{grid-column:1/-1;
    border-bottom:1px solid #e1dcd5!important;padding:15px 14px!important}
  #sc-research-v2 #scrh-home-articles td:nth-child(2)::before{content:"AREA"}
  #sc-research-v2 #scrh-home-articles td:nth-child(3)::before{content:"STATE"}
  #sc-research-v2 #scrh-home-articles td:nth-child(4)::before{content:"TYPE"}
  #sc-research-v2 #scrh-home-articles td:not(:first-child)::before{display:block;
    color:#ab1520;font-weight:850;letter-spacing:.09em;font-size:.52rem;margin-bottom:5px}
  #sc-research-v2 #scrh-home-articles .scrh-record-title{display:block;font-size:.85rem!important}
  #sc-research-v2 #scrh-home-articles .scrh-record-desc{font-size:.7rem!important}
}
@media(prefers-reduced-motion:reduce){#sc-research-v2 .scrh-r1-pathway{transition:none!important}}
@media print{
  #sc-research-v2 .scrh-r1-pathways__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #sc-research-v2 .scrh-r1-pathway{min-height:0}
  #sc-research-v2 .scrh-api-panel{break-inside:avoid}
}
