/* Native Resources disclosures share the existing header navigation. */
.resources-menu { color: #c5c7c9; min-width: 0; }
.resources-trigger, .resources-topic > summary { list-style: none; cursor: pointer; }
.resources-trigger::-webkit-details-marker, .resources-topic > summary::-webkit-details-marker { display: none; }
.resources-trigger::marker, .resources-topic > summary::marker { content: ''; }
.resources-trigger {
  display: flex; align-items: center; gap: 9px; min-height: 44px;
  font-size: 14px; line-height: 1.4; white-space: nowrap; transition: color 160ms ease;
}
.resources-trigger:hover, .resources-menu[open] > .resources-trigger,
.resources-menu[data-current='true'] > .resources-trigger { color: var(--orange, #f7921d); }
.resources-chevron {
  display: block; flex: 0 0 auto; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 160ms ease;
}
.resources-menu[open] > .resources-trigger > .resources-chevron,
.resources-topic[open] > summary > .resources-chevron { transform: translateY(2px) rotate(225deg); }
.resources-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 1;
  width: min(1040px, calc(100vw - 48px));
  max-height: min(720px, calc(100vh - 116px));
  max-height: min(720px, calc(100dvh - 116px));
  padding: 27px 30px 20px; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: #50565b #121619;
  background: #101417; background-image: radial-gradient(ellipse at 100% 0%, #f7921d09, transparent 45%);
  border: 1px solid #343a3e; border-top-color: #83603b; border-radius: 18px;
  box-shadow: 0 25px 70px #0008, 0 3px 12px #0005; transform: translateX(-50%);
}
.resources-panel-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 23px; border-bottom: 1px solid #ffffff16;
}
.resources-eyebrow {
  display: block; color: var(--orange, #f7921d); font-size: 10px;
  font-weight: 650; letter-spacing: 1.5px; line-height: 1.5;
}
.resources-title {
  margin: 6px 0 0; color: #f5f6f6; font-size: 24px;
  font-weight: 550; line-height: 1.25; letter-spacing: -.7px;
}
.resources-panel .resources-all {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 44px; padding: 10px 15px; border: 1px solid #5c4934; border-radius: 9px;
  color: #ffb35c; font-size: 13px; font-weight: 550; line-height: 1.4; white-space: nowrap;
}
.resources-panel .resources-all:hover { color: #ffd7a5; border-color: #b7844d; background: #f7921d09; }
.resources-topics {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start; gap: 0 26px; padding-top: 6px;
}
.resources-topic { min-width: 0; border-bottom: 1px solid #ffffff12; }
.resources-topic > summary {
  display: grid; grid-template-columns: 25px minmax(0, 1fr) 8px;
  align-items: center; gap: 12px; min-height: 61px; padding: 15px 6px;
  color: #e2e6e8; border-radius: 6px;
}
.resources-topic > summary:hover { color: #fff; background: #ffffff05; }
.resources-topic-number { color: #929ba3; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.resources-topic-name { font-size: 14px; font-weight: 550; line-height: 1.4; }
.resources-topic > summary > .resources-chevron { color: #a7afb5; }
.resources-topic[open] > summary, .resources-topic[data-current='true'] > summary { color: #ffb35c; }
.resources-topic[open] > summary > .resources-topic-number { color: #f4a347; }
.resources-links { display: grid; gap: 3px; list-style: none; padding: 0 0 15px 37px; margin: 0; }
.resources-links > li { padding: 0; margin: 0; min-width: 0; }
.resources-links a, .resources-planned {
  display: flex; align-items: start; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 10px 11px; border-radius: 7px; font-size: 13px; line-height: 1.5;
}
.resources-links a { color: #d6dde1; }
.resources-links a:hover { color: #ffbd70; background: #ffffff06; }
.resources-links a[aria-current='page'] { color: #ffc27b; background: #f7921d12; box-shadow: inset 2px 0 #f7921d; }
.resources-pillar-link > a, .resources-pillar-link > .resources-planned {
  font-weight: 600; margin-bottom: 3px; border: 1px solid #ffffff15; background: #ffffff03;
}
.resources-link-arrow { flex: 0 0 auto; color: #c48c50; font-size: 15px; line-height: 1.3; }
.resources-planned { color: #9da7ae; }
.resources-coming {
  flex: 0 0 auto; padding: 2px 5px; margin-top: 1px; border: 1px solid #ffffff16;
  border-radius: 4px; color: #afb4b7; font-size: 10px; font-weight: 450; line-height: 1.5; white-space: nowrap;
}
.resources-menu-note { margin: 16px 0 0; color: #929ba3; font-size: 12px; line-height: 1.6; }
.resources-menu :is(a, summary):focus-visible { outline: 2px solid var(--orange, #f7921d); outline-offset: 3px; }
@media (min-width: 801px) and (max-width: 1100px) {
  .resources-panel { padding: 24px; }
  .resources-topics { gap: 0 20px; }
  .resources-links { padding-left: 18px; }
}
@media (max-width: 800px) {
  .header .nav nav {
    max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px);
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  }
  .resources-trigger { justify-content: space-between; min-height: 52px; padding: 13px 0; font-size: 16px; }
  .resources-trigger > .resources-chevron { margin-right: 4px; }
  .resources-panel {
    position: static; width: 100%; max-height: none; margin: 3px 0 13px;
    padding: 19px 15px 15px; overflow: visible; border-radius: 12px; box-shadow: none; transform: none;
  }
  .resources-panel-heading { display: block; padding-bottom: 17px; }
  .resources-title { font-size: 23px; }
  .resources-panel .resources-all { margin-top: 15px; min-height: 44px; padding: 9px 12px; font-size: 13px; }
  .resources-topics { grid-template-columns: minmax(0, 1fr); }
  .resources-topic > summary { grid-template-columns: 20px minmax(0, 1fr) 8px; gap: 9px; min-height: 60px; padding: 14px 2px; }
  .resources-links { padding-left: 0; }
  .resources-links a, .resources-planned { padding: 11px 8px; }
  .resources-planned { flex-wrap: wrap; gap: 5px 12px; }
  .resources-planned > span:first-child { flex: 1 1 155px; }
  .resources-coming { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .resources-trigger, .resources-chevron { transition: none; }
}
