/* Braintech Risorse Lab V78 — single warm palette audit.
   Overrides blue/ice rules inherited from V67–V76 without altering editorial layout. */
:root{
  --bt-ivory:#f2efe7;
  --bt-ivory-soft:#d8d1c4;
  --bt-ivory-muted:#aaa497;
  --bt-orange:#ff6a1f;
  --bt-orange-soft:#e99a6f;
  --bt-orange-hover:#f8b18a;
  --ink:#f2efe7;
  --body:#d8d1c4;
  --muted:#aaa497;
  --rule:rgba(242,239,231,.17);
  --orange:#ff6a1f;
  --orange-dark:#e99a6f;
  --panel:#101319;
  --paper:#080c12;
  --dark:#080c12;
  color-scheme:dark;
}
body.resources-landing,body.resource-subpage,body.xray-page{
  color:var(--bt-ivory);background:#080c12;
}
/* Fix cropped masthead: earlier experimental stylesheet accidentally reset position to relative. */
body.resources-landing .topbar,body.resource-subpage .topbar,body.xray-page .topbar{
  position:fixed !important;
  z-index:75 !important;
  top:21px;
  left:50%;
  transform:translateX(-50%);
  width:min(calc(100% - 72px),1320px);
  height:75px;
  padding:0 25px 0 29px;
  display:flex;
  align-items:center;
  overflow:visible;
  background:rgba(11,13,17,.92);
  border:1px solid rgba(242,239,231,.17);
  box-shadow:0 14px 38px rgba(0,0,0,.20);
  backdrop-filter:blur(16px);
}
body.resources-landing .brand,body.resource-subpage .brand,body.xray-page .brand{
  display:flex;align-items:center;flex-shrink:0;min-width:0;
}
body.resources-landing .brand img,body.resource-subpage .brand img,body.xray-page .brand img{
  height:45px;width:auto;max-width:198px;object-fit:contain;display:block;
}
/* Desktop and mobile navigation: ivory/offwhite, orange active/hover, no icy blue. */
.desktop-nav>a,.nav-resources>a,.submenu-toggle,.nav-dropdown a,
.mobile-panel>a,.mobile-parent>a,.mobile-expand,.mobile-subnav a,
.menu-btn{
  color:var(--bt-ivory-soft);
}
.desktop-nav>a:hover,.desktop-nav>a.active,.nav-resources>a:hover,.nav-resources>a.active,
.submenu-toggle:hover,.nav-dropdown a:hover,.nav-dropdown a.active,
.mobile-panel>a:hover,.mobile-parent>a:hover,.mobile-subnav a:hover,.mobile-panel .active{
  color:var(--bt-orange);
}
.nav-dropdown,.mobile-panel{background:#141518;border:1px solid rgba(242,239,231,.18);color:var(--bt-ivory-soft)}
.nav-dropdown a:hover,.nav-dropdown a.active{background:rgba(255,106,31,.09)}
.menu-btn{background:#17191d;border-color:rgba(242,239,231,.25)}
.mobile-panel>a,.mobile-parent>a{border-bottom-color:rgba(242,239,231,.16)}
.mobile-expand{border-left-color:rgba(242,239,231,.16)}
.mobile-subnav{border-left-color:rgba(255,106,31,.48)}
.desktop-nav>a::after,.nav-resources>a::after{background:var(--bt-orange)}
/* Text palette: no inherited blue/ice anywhere in the resource family. */
.hero h1,.resources-landing .hero h1,.resource-subpage .hero h1,
.destination h2,.tool-title,.edition h3,.future-topic h3,
.section-heading,.footer-title,.xray-copy h3,.xray-process h3,.xray-audience-card h3,
.xray-feature-card strong,.xray-step h3,.xray-panel .section-heading,
.xray-page .xray-hero-copy h1,
.resource-subpage .edition .edition-subtitle{
  color:var(--bt-ivory);
}
.hero h1 .accent,.accent,.tool-meta,.xray-kicker,.resource-hero-accent{
  color:var(--bt-orange);
}
.hero .lead,.lead,.hero .lead strong,.xray-hero-copy .lead strong,
.destination p,.tool-desc,.edition p,.future-topic p,
.section-subtitle,.xray-page .section-subtitle,
.xray-copy p,.xray-copy ul,.xray-copy li,.xray-feature-card p,
.xray-step p,.xray-audience-card p,.xray-cta>p,
.xray-page .xray-cta p,.xray-page .xray-inline-note,
.xray-page .screenshot-card .caption,.xray-note,.xray-page .xray-note{
  color:var(--bt-ivory-soft);
}
.status,.future-topic .status,.edition .status,
.resource-subpage .status,.resource-subpage .future-topic .status,
.tool-extra,.source-note,.note,.footer-base,.footer-base span,
.xray-page .xray-kicker + p{
  color:var(--bt-ivory-muted);
}
/* Calm calls to action, still legible on the dark background. */
.destination-bottom,.resources-landing .destination-bottom,.tool-action,
.resource-subpage .tool-action,.footer-links a,.xray-inline-note a,
body.xray-page .xray-inline-note a,.resource-subpage .actions .btn,
.resource-subpage .actions .btn.quiet,.xray-page .btn,.xray-page .btn.primary{
  color:var(--bt-orange-soft);
  border-color:rgba(233,154,111,.52);
}
.resources-landing .destination:hover h2,.resources-landing .destination:hover .destination-bottom,
.resources-landing .destination:hover .destination-bottom span,
.resource-subpage .tool-row:hover .tool-title,.resource-subpage .tool-row:hover .tool-action,
.resource-subpage .edition:hover h3,.resource-subpage .future-topic:hover h3,
.resource-subpage .actions .btn:hover,.resource-subpage .actions .btn.quiet:hover,
.xray-page .xray-inline-note a:hover,.xray-page .xray-anchor-list a:hover{
  color:var(--bt-orange-hover);
  border-color:var(--bt-orange-hover);
}
.resources-landing .destination:hover,.resource-subpage .tool-row:hover,
.resource-subpage .edition:hover,.resource-subpage .future-topic:hover{
  background:rgba(255,106,31,.033);
}
/* Compact active controls stay understated; don't resurrect blue pills. */
body.xray-page .xray-anchor-list a{color:var(--bt-ivory-soft);border-bottom-color:transparent}
body.xray-page .xray-anchor-list a.active{color:var(--bt-orange)}
body.xray-page .xray-anchor-list a:hover{background:none;border-bottom-color:var(--bt-orange-hover)}
body.xray-page .btn,body.xray-page .btn.primary{
  background:transparent !important;
  color:var(--bt-orange-soft) !important;
  border:0 !important;
  border-bottom:1px solid rgba(233,154,111,.60) !important;
  border-radius:0 !important;
  padding:8px 0 6px;
  min-height:auto;
  font-size:13px;
  box-shadow:none;
  transform:none;
}
body.xray-page .btn:hover,body.xray-page .btn.primary:hover{
  background:transparent !important;
  color:var(--bt-orange-hover) !important;
  border-bottom-color:var(--bt-orange-hover) !important;
  transform:none;
}
/* Editorial dividers, photo borders and footer neutralised. */
.footer,.xray-page .xray-anchor-nav{background:rgba(8,12,18,.95);border-color:rgba(242,239,231,.17)}
.xray-page .xray-anchor-nav{background:rgba(8,12,18,.85)}
.footer-base{border-color:rgba(242,239,231,.17)}
.xray-feature-grid,.xray-steps,.xray-audience-grid,.destinations,
.tool-list,.edition-list,.future-grid{border-color:rgba(242,239,231,.16)}
.xray-feature-card,.xray-step,.xray-audience-card,.destination,
.tool-row,.edition,.future-topic{border-color:rgba(242,239,231,.16)}
.xray-visual img,.screenshot-card img{border-color:rgba(242,239,231,.13)}
.xray-kicker::before{background:var(--bt-orange)}
/* V77 removed footer hyperlinks; keep the semantic footer information only. */
.footer-links{display:none !important}
.footer-base a{display:none !important}
/* Floating background DNA not clipped by the header or a single hero box. */
body.resources-landing #resource-dna,body.resource-subpage #resource-dna,body.xray-page #resource-dna{
  position:fixed;
  z-index:0;
  pointer-events:none;
}
@media(max-width:790px){
  body.resources-landing .topbar,body.resource-subpage .topbar,body.xray-page .topbar{
    top:12px;width:calc(100% - 30px);height:62px;
    padding:0 16px;
    border-radius:17px;
  }
  body.resources-landing .brand img,body.resource-subpage .brand img,body.xray-page .brand img{
    height:39px;max-width:168px;
  }
}

/* Specificity catch-up for the older V70/V71 and X-Ray selectors (verified computed values). */
body.resources-landing .destination p,
body.resource-subpage .destination p,
body.resource-subpage .tool-desc,
body.resource-subpage .edition p,
body.resource-subpage .future-topic p,
body.xray-page .xray-copy p,
body.xray-page .xray-copy ul,
body.xray-page .xray-copy li,
body.xray-page .xray-feature-card p,
body.xray-page .xray-step p,
body.xray-page .xray-audience-card p,
body.xray-page .xray-inline-note,
body.xray-page .screenshot-card .caption,
body.xray-page .xray-note,
body.xray-page .xray-panel .section-subtitle,
body.xray-page .xray-cta p{
  color:var(--bt-ivory-soft);
}
body.xray-page .xray-hero-copy .lead strong,
body.xray-page .xray-feature-card strong,
body.xray-page .xray-process h3,
body.xray-page .xray-audience-card h3,
body.xray-page .xray-copy h3{
  color:var(--bt-ivory);
}
body.resource-subpage .edition .status,
body.resource-subpage .future-topic .status,
body.resource-subpage .status,
body.resource-subpage .source-note,
body.resource-subpage .tool-extra{
  color:var(--bt-ivory-muted);
}
body.resource-subpage .edition .edition-subtitle{color:var(--bt-ivory-soft)}
