/* Braintech Risorse Lab V82 — transparent editorial rows, warm tech glint, ivory/orange mobile navigation. */
:root { --resources-ivory:#f2efe7; --resources-orange:#ff6a1f; --resources-orange-soft:#e99a6f; }
/* Keep DNA visible beneath every non-interactive resource row, not trapped behind opaque surfaces. */
body.resource-subpage:not(.xray-page) .tool-list,
body.resource-subpage:not(.xray-page) .edition-list,
body.resource-subpage:not(.xray-page) .future-grid,
body.resource-subpage:not(.xray-page) .section,
body.resource-subpage:not(.xray-page) .section > .wide,
body.resource-subpage:not(.xray-page) main,
body.resources-landing .destinations,
body.resources-landing .section {background:transparent !important;}
body.resource-subpage:not(.xray-page) .tool-row,
body.resource-subpage:not(.xray-page) .edition,
body.resource-subpage:not(.xray-page) .future-topic {
 position:relative;
 isolation:isolate;
 overflow:hidden;
 background:transparent !important;
 border-color:rgba(242,239,231,.17);
 transition:background-color .32s ease,border-color .32s ease;
}
body.resource-subpage:not(.xray-page) .tool-row:hover,
body.resource-subpage:not(.xray-page) .tool-row:focus-within,
body.resource-subpage:not(.xray-page) .edition:hover,
body.resource-subpage:not(.xray-page) .future-topic:hover {
 background:rgba(20,22,24,.68) !important;
 border-color:rgba(255,146,83,.38);
}
/* Restrained metallic sweep on hover, not a blue neon/solid highlight. */
body.resource-subpage:not(.xray-page) .tool-row::before,
body.resource-subpage:not(.xray-page) .edition::before,
body.resource-subpage:not(.xray-page) .future-topic::before {
 content:"";
 position:absolute;
 inset:0;
 z-index:0;
 pointer-events:none;
 opacity:0;
 background:linear-gradient(107deg,
   transparent 4%,transparent 24%,
   rgba(255,173,115,.025) 38%,
   rgba(255,222,177,.135) 49%,
   rgba(255,173,115,.035) 57%,
   transparent 73%);
 background-size:230% 100%;
 background-position:100% 0;
 transition:opacity .22s ease,background-position .82s cubic-bezier(.18,.64,.17,1);
}
body.resource-subpage:not(.xray-page) .tool-row:hover::before,
body.resource-subpage:not(.xray-page) .tool-row:focus-within::before,
body.resource-subpage:not(.xray-page) .edition:hover::before,
body.resource-subpage:not(.xray-page) .future-topic:hover::before {
 opacity:1;
 background-position:0 0;
}
body.resource-subpage:not(.xray-page) .tool-row > *,
body.resource-subpage:not(.xray-page) .edition > *,
body.resource-subpage:not(.xray-page) .future-topic > * {position:relative;z-index:1;}
/* Resources landing uses the same soft sheen on the three editorial paths. */
body.resources-landing .destination{background:transparent !important;overflow:hidden;isolation:isolate}
body.resources-landing .destination:hover{background:rgba(20,22,24,.54) !important}
body.resources-landing .destination::before{
 content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
 background:linear-gradient(105deg,transparent 30%,rgba(255,211,159,.11) 49%,transparent 67%);
 background-size:230% 100%;background-position:100% 0;opacity:0;
 transition:opacity .22s ease,background-position .8s ease;
}
body.resources-landing .destination:hover::before,body.resources-landing .destination:focus-visible::before{opacity:1;background-position:0 0}
body.resources-landing .destination > *{position:relative;z-index:1}
/* Mobile menu — remove all inherited v70 blue backgrounds, active states and focus colours. */
body.resources-landing .mobile-panel,
body.resource-subpage .mobile-panel,
body.xray-page .mobile-panel,
body.resources-landing .mobile-panel.open,
body.resource-subpage .mobile-panel.open,
body.xray-page .mobile-panel.open{
 background:#151619 !important;
 border:1px solid rgba(242,239,231,.22) !important;
 color:var(--resources-ivory) !important;
 box-shadow:0 18px 44px rgba(0,0,0,.42);
}
body.resources-landing .menu-btn,
body.resource-subpage .menu-btn,
body.xray-page .menu-btn,
body.resources-landing .mobile-expand,
body.resource-subpage .mobile-expand,
body.xray-page .mobile-expand{
 background:#1a1b1d !important;
 color:var(--resources-ivory) !important;
 border-color:rgba(242,239,231,.20) !important;
}
body.resources-landing .mobile-panel :is(a,button),
body.resource-subpage .mobile-panel :is(a,button),
body.xray-page .mobile-panel :is(a,button){
 color:#ded7ca !important;
 background:transparent !important;
 -webkit-tap-highlight-color:rgba(255,106,31,.15);
 border-bottom-color:rgba(242,239,231,.13);
}
body.resources-landing .mobile-panel :is(a,button).active,
body.resource-subpage .mobile-panel :is(a,button).active,
body.xray-page .mobile-panel :is(a,button).active,
body.resources-landing .mobile-panel :is(a,button)[aria-expanded="true"],
body.resource-subpage .mobile-panel :is(a,button)[aria-expanded="true"],
body.xray-page .mobile-panel :is(a,button)[aria-expanded="true"],
body.resources-landing .mobile-panel :is(a,button):hover,
body.resource-subpage .mobile-panel :is(a,button):hover,
body.xray-page .mobile-panel :is(a,button):hover,
body.resources-landing .mobile-panel :is(a,button):focus-visible,
body.resource-subpage .mobile-panel :is(a,button):focus-visible,
body.xray-page .mobile-panel :is(a,button):focus-visible{
 color:#f5a472 !important;
 background:rgba(255,106,31,.055) !important;
}
body.resources-landing .menu-btn:is(:hover,:focus-visible,:active),
body.resource-subpage .menu-btn:is(:hover,:focus-visible,:active),
body.xray-page .menu-btn:is(:hover,:focus-visible,:active){color:#f5a472 !important;border-color:rgba(255,106,31,.43) !important}
body.resources-landing .mobile-subnav,
body.resource-subpage .mobile-subnav,
body.xray-page .mobile-subnav{border-left-color:rgba(255,106,31,.50) !important}
body.resources-landing :is(a,button):focus-visible,
body.resource-subpage :is(a,button):focus-visible,
body.xray-page :is(a,button):focus-visible{outline:2px solid var(--resources-orange) !important;outline-offset:3px}
@media(hover:none){
 body.resource-subpage:not(.xray-page) .tool-row::before,
 body.resource-subpage:not(.xray-page) .edition::before,
 body.resource-subpage:not(.xray-page) .future-topic::before,
 body.resources-landing .destination::before{display:none}
}
@media(prefers-reduced-motion:reduce){
 body.resource-subpage:not(.xray-page) :is(.tool-row,.edition,.future-topic)::before,
 body.resources-landing .destination::before{transition:none}
}


/* V83 hover refinement */
:root{--resources-orange-bright:#ff6a1f;--resources-orange-soft:#eba06e;--resources-ivory:#f2efe7}
body.resource-subpage:not(.xray-page) .tool-meta,
body.resource-subpage:not(.xray-page) .tool-action,
body.resource-subpage:not(.xray-page) .status{
  color:var(--resources-orange-soft) !important;
}
body.resource-subpage:not(.xray-page) .tool-title{
  color:var(--resources-ivory) !important;
}
body.resource-subpage:not(.xray-page) .edition h3,
body.resource-subpage:not(.xray-page) .future-topic h3{
  color:var(--resources-orange-soft) !important;
}
body.resource-subpage:not(.xray-page) .tool-row,
body.resource-subpage:not(.xray-page) .edition,
body.resource-subpage:not(.xray-page) .future-topic{
  box-shadow:inset 0 1px 0 rgba(255,255,255,0), inset 0 -1px 0 rgba(242,239,231,.14);
}
body.resource-subpage:not(.xray-page) .tool-row:hover,
body.resource-subpage:not(.xray-page) .tool-row:focus-within,
body.resource-subpage:not(.xray-page) .edition:hover,
body.resource-subpage:not(.xray-page) .future-topic:hover{
  background:rgba(20,22,24,.68) !important;
  border-color:rgba(255,106,31,.78);
  box-shadow:inset 0 1px 0 rgba(255,106,31,.76), inset 0 -1px 0 rgba(255,106,31,.88), 0 0 22px rgba(255,106,31,.12);
}
body.resource-subpage:not(.xray-page) .tool-row:hover::before,
body.resource-subpage:not(.xray-page) .tool-row:focus-within::before,
body.resource-subpage:not(.xray-page) .edition:hover::before,
body.resource-subpage:not(.xray-page) .future-topic:hover::before{
  opacity:1;
  background-position:0 0;
}
body.resource-subpage:not(.xray-page) .tool-row:hover .tool-title,
body.resource-subpage:not(.xray-page) .tool-row:focus-within .tool-title,
body.resource-subpage:not(.xray-page) .edition:hover h3,
body.resource-subpage:not(.xray-page) .future-topic:hover h3{
  color:var(--resources-orange-bright) !important;
}
body.resource-subpage:not(.xray-page) .tool-row:hover .tool-action,
body.resource-subpage:not(.xray-page) .tool-row:hover .tool-meta,
body.resource-subpage:not(.xray-page) .tool-row:focus-within .tool-action,
body.resource-subpage:not(.xray-page) .tool-row:focus-within .tool-meta,
body.resource-subpage:not(.xray-page) .edition:hover .status,
body.resource-subpage:not(.xray-page) .future-topic:hover .status{
  color:var(--resources-orange-soft) !important;
}
body.resource-subpage:not(.xray-page) .tool-action,
body.resource-subpage:not(.xray-page) .status{
  text-decoration-color:rgba(235,160,110,.55);
  text-underline-offset:4px;
}
