/* ORION Guides encyclopedia — scoped under .op-shell.op-inner .orion-guides-ency */
body.orion-portal .op-shell.op-inner .orion-guides-ency {
  --ge-gold: #efbd62;
  --ge-ivory: #f8f2e5;
  --ge-muted: #b9c5b9;
  --ge-line: rgba(98, 112, 90, .55);
  --ge-panel: rgba(15, 34, 26, .78);
  --ge-serif: Georgia, "Times New Roman", serif;
  --ge-sans: "Segoe UI", Arial, sans-serif;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  margin: 0 0 1rem; padding: .75rem 0; border-bottom: 1px solid var(--ge-line);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-search {
  position: relative; flex: 1 1 240px; max-width: 420px;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-search input {
  width: 100%; min-height: 40px; padding: .45rem 4.5rem .45rem .75rem;
  border: 1px solid var(--ge-line); border-radius: 3px; background: #0c1c15; color: var(--ge-ivory);
  font: 15px/1.3 var(--ge-sans);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .search-clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--ge-gold); cursor: pointer; font-size: 13px;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .search-status {
  margin: .35rem 0 0; color: var(--ge-muted); font-size: 13px;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-search-results {
  margin: .55rem 0 0; display: grid; gap: .45rem;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-search-results a {
  display: grid; gap: .2rem; padding: .55rem .7rem; border: 1px solid var(--ge-line); border-radius: 3px;
  color: var(--ge-ivory); text-decoration: none; background: var(--ge-panel);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-search-results a:hover,
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-search-results a:focus {
  border-color: var(--ge-gold); color: var(--ge-gold);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-drawer-toggle {
  display: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--ge-line);
  background: transparent; color: var(--ge-ivory); font: 600 14px/1 var(--ge-serif); cursor: pointer;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-layout {
  display: grid; grid-template-columns: minmax(220px, 270px) minmax(0, 1fr); gap: 1.25rem; align-items: start;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .side-index {
  position: sticky; top: 10px; max-height: calc(100vh - 24px); overflow: auto;
  padding: .7rem .85rem; border: 1px solid var(--ge-line); border-radius: 4px; background: rgba(9, 26, 19, .92);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .reset-library {
  margin-top: .75rem; padding-top: .65rem; border-top: 1px solid var(--ge-line);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .reset-library-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  text-align: left; border: 1px solid var(--ge-line); border-radius: 3px; background: rgba(15, 34, 26, .55);
  color: var(--ge-ivory); padding: .55rem .7rem; font: 600 14px/1.3 var(--ge-serif); cursor: pointer;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .reset-library-toggle:hover,
body.orion-portal .op-shell.op-inner .orion-guides-ency .reset-library-toggle:focus-visible {
  border-color: var(--ge-gold); color: var(--ge-gold);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .reset-library-toggle .caret::before {
  content: "+"; font-family: var(--ge-sans); font-weight: 700;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .reset-library.is-open .reset-library-toggle .caret::before {
  content: "–";
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .reset-library-note {
  margin: .45rem 0 .15rem; color: var(--ge-muted); font: italic 12.5px/1.35 var(--ge-sans);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .reset-library-body {
  margin-top: .35rem;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .reset-library-body[hidden] {
  display: none !important;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guides-category-toggle {
  width: 100%; text-align: left; border: 0; background: transparent; color: var(--ge-ivory);
  padding: .45rem 0; font: 600 14px/1.3 var(--ge-serif); cursor: pointer;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guides-category-items {
  display: none; list-style: none; margin: 0; padding: 0 0 .35rem;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guides-category.is-open > .guides-category-items {
  display: block;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guides-category-items a {
  display: block; padding: .28rem .4rem; margin: 0 0 1px; border-left: 2px solid transparent;
  color: var(--ge-muted); text-decoration: none; font-size: 13.5px; border-radius: 0 3px 3px 0;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guides-category-items a:hover,
body.orion-portal .op-shell.op-inner .orion-guides-ency .guides-category-items a:focus-visible {
  color: var(--ge-gold); background: rgba(239, 189, 98, .08);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guides-category-items a.is-active {
  color: var(--ge-gold); border-left-color: var(--ge-gold); background: rgba(239, 189, 98, .12); font-weight: 600;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-search-results .search-realm {
  color: var(--ge-gold); font: 600 11px/1.2 var(--ge-sans); letter-spacing: .05em; text-transform: uppercase;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-search-results a.is-reset-hit .search-realm {
  color: #d7c39a;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .context-link .peek .peek-realm {
  color: var(--ge-gold); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-content.panel-default {
  display: none; animation: orionGuideIn .22s cubic-bezier(.2,.8,.2,1);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-content.panel-default.is-active { display: block; }
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-content .panel-heading {
  font: 600 22px/1.25 var(--ge-serif); color: var(--ge-gold); border-bottom: 1px solid var(--ge-line);
  padding-bottom: .45rem; margin-bottom: .8rem;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-content .panel-body,
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-content .panel-body p,
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-content .panel-body li {
  color: var(--ge-muted);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-content .table {
  width: 100%; color: var(--ge-ivory); background: transparent; font-size: 13.5px;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-content .table > thead > tr > th,
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-content .table > tbody > tr > td {
  border-color: rgba(98, 112, 90, .35) !important; background: transparent !important;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-content a,
body.orion-portal .op-shell.op-inner .orion-guides-ency .context-link {
  color: var(--ge-gold); text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color .28s ease, color .2s ease;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-content a:hover,
body.orion-portal .op-shell.op-inner .orion-guides-ency .context-link:hover,
body.orion-portal .op-shell.op-inner .orion-guides-ency .context-link:focus-visible {
  border-bottom-color: var(--ge-gold);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .context-link {
  position: relative;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .context-link .peek {
  display: none; position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 5;
  width: min(280px, 70vw); padding: .65rem .75rem; border: 1px solid var(--ge-line);
  border-radius: 4px; background: #0f221a; color: var(--ge-muted); font-size: 13px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35); pointer-events: none;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .context-link:hover .peek,
body.orion-portal .op-shell.op-inner .orion-guides-ency .context-link:focus-visible .peek {
  display: block;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .context-link.peek-dismissed .peek { display: none !important; }
body.orion-portal .op-shell.op-inner .orion-guides-ency .op-badge-reset,
body.orion-portal .op-shell.op-inner .orion-guides-ency .op-badge-wiggle,
body.orion-portal .op-shell.op-inner .orion-guides-ency .op-badge-review {
  display: inline-block; margin: 0 .4rem .75rem 0; padding: .18rem .5rem;
  border: 1px solid rgba(239, 189, 98, .45); color: var(--ge-gold);
  font: 600 11px/1.2 var(--ge-sans); letter-spacing: .05em; text-transform: uppercase;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .op-badge-wiggle {
  border-color: rgba(120, 180, 140, .55); color: #b7d7bf;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .op-badge-review {
  border-color: rgba(185, 197, 185, .45); color: var(--ge-muted);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-related {
  margin-top: 1.1rem; padding-top: .85rem; border-top: 1px solid var(--ge-line);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-related h3 {
  margin: 0 0 .45rem; color: var(--ge-gold); font: 600 16px/1.3 var(--ge-serif);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-related-links {
  display: flex; flex-wrap: wrap; gap: .45rem;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-related-links a {
  display: inline-flex; padding: .35rem .65rem; border: 1px solid var(--ge-line); border-radius: 3px;
  color: var(--ge-ivory); text-decoration: none; font-size: 13px;
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-related-links a:hover {
  border-color: var(--ge-gold); color: var(--ge-gold);
}
body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-status {
  color: var(--ge-muted); font-style: italic;
}
@keyframes orionGuideIn {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-content.panel-default { animation: none; }
}
@media (max-width: 900px) {
  body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-drawer-toggle { display: inline-flex; align-items: center; }
  body.orion-portal .op-shell.op-inner .orion-guides-ency .guide-layout { grid-template-columns: 1fr; }
  body.orion-portal .op-shell.op-inner .orion-guides-ency .side-index {
    position: static; max-height: none; display: none;
  }
  body.orion-portal .op-shell.op-inner .orion-guides-ency .side-index.is-open { display: block; }
  body.orion-portal .op-shell.op-inner .orion-guides-ency .reset-library:not(.is-open) .reset-library-body {
    display: none !important;
  }
  body.orion-portal .op-shell.op-inner .orion-guides-ency .context-link .peek { display: none !important; }
}
@media (hover: none) {
  body.orion-portal .op-shell.op-inner .orion-guides-ency .context-link .peek { display: none !important; }
}
