/* Wit: shared jargon explanations, searchable glossary and guided assistant. */
.wit-jargon-word {
  display: inline; padding: 0 1px; margin: 0; border: 0; border-bottom: 1px dotted var(--green-text);
  border-radius: 0; background: transparent; color: inherit; font: inherit; line-height: inherit;
  cursor: help; text-underline-offset: 3px;
}
.wit-jargon-word:hover, .wit-jargon-word[aria-expanded="true"] { color: var(--green-text); border-bottom-style: solid; }
.wit-jargon-word:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.wit-jargon-popover {
  position: fixed; z-index: 260; width: min(340px, calc(100vw - 20px)); max-height: min(420px, calc(100dvh - 30px)); overflow-y: auto;
  padding: 15px; background: #0b160e; color: #eff7f0; border: 1px solid #587f61; border-radius: 12px; box-shadow: 0 12px 36px #000b;
}
.wit-jargon-popover[hidden] { display: none !important; }
.wit-jargon-popover-heading { display: flex; align-items: center; gap: 9px; color: #a7f4b5; font: 800 .78rem/1.4 system-ui, sans-serif; }
.wit-jargon-popover-heading img { flex: 0 0 30px; width: 30px; height: 30px; }
.wit-jargon-popover strong { display: block; margin-top: 8px; font-size: 1rem; }
.wit-jargon-popover p { margin: 7px 0 0; font-size: .87rem; line-height: 1.55; color: #d1dfd3; }
.wit-jargon-popover a { display: inline-block; margin-top: 10px; color: #a3f6b1; font-size: .83rem; }
.wit-jargon-popover a:focus-visible { outline: 2px solid #8ef6a0; outline-offset: 4px; }
.wit-owl-panel .wit-owl-search-label { display: block; color: #ecf9ee; font-size: .85rem; font-weight: 700; margin: 13px 0 6px; }
.wit-owl-panel .wit-owl-search { width: 100%; min-height: 43px; margin: 0 0 8px; background: #16271b; color: white; border: 1px solid #6d9975; }
.wit-owl-panel .wit-owl-results { display: grid; gap: 5px; margin-bottom: 9px; }
.wit-owl-panel .wit-owl-results button { display: block; text-align: left; padding: 8px 11px; min-height: 40px; border-radius: 7px; background: #19301f; color: #f3fff4; border: 1px solid #3f5d46; font-size: .84rem; cursor: pointer; }
.wit-owl-panel .wit-owl-results button:hover { border-color: #7cce8a; }
.wit-owl-panel .wit-owl-results-note { color: #bed0c1; font-size: .78rem; margin: 5px 0 10px; }
.wit-owl-panel .wit-owl-browse-link { display: inline-block; color: #a3f6b1; font-size: .82rem; margin: 0 0 10px; }
.wit-owl-panel .wit-owl-title-main { color: #f3fff4; }
.wit-owl-tip-label { color: #9bf4aa; }
.jargon-hero { display: grid; grid-template-columns: minmax(0, 1fr) 170px; align-items: center; gap: 35px; }
.jargon-hero > img { width: 160px; height: 160px; object-fit: contain; }
.jargon-hero p { max-width: 690px; }
.jargon-hero .button { margin-top: 25px; }
.jargon-directory { padding-top: 58px; }
.jargon-directory > .shell > h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 22px; }
.jargon-directory label { font-size: .95rem; }
.jargon-directory #jargon-search { max-width: 690px; background: #111e14; border-color: #4a7254; }
.jargon-count { font-size: .84rem; margin: -7px 0 20px; }
.jargon-category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.jargon-category-tabs a { padding: 9px 11px; border-radius: 999px; border: 1px solid #466a4d; background: #142019; color: #e9f4eb; font-size: .8rem; text-decoration: none; }
.jargon-category-tabs a:hover, .jargon-category-tabs a:focus-visible { border-color: #81e48f; color: white; }
.jargon-category { padding: 35px 0; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.jargon-category[hidden], .jargon-card[hidden], [data-jargon-empty][hidden] { display: none !important; }
.jargon-category-header { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: 22px; }
.jargon-category-header > h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
.jargon-category-header span { color: var(--green-text); font-size: .84rem; white-space: nowrap; }
.jargon-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.jargon-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; scroll-margin-top: 120px; }
.jargon-card:target { border-color: var(--green); box-shadow: 0 0 0 1px #358b42; }
.jargon-card h3 { font-size: 1.2rem; }
.jargon-card p { font-size: .9rem; line-height: 1.58; margin-top: 9px; }
.jargon-card .jargon-plain { color: #b6f2bc; font-size: .96rem; font-weight: 650; }
.jargon-card .jargon-related { font-size: .81rem; margin-top: 17px; }
.jargon-related a { color: var(--green-text); }
.jargon-cta { margin-top: 44px; padding: 30px; border: 1px solid #507e59; border-radius: 12px; background: #112016; }
.jargon-cta h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.jargon-cta p { margin: 13px 0 20px; }
.jargon-cta .button { margin-top: 0; }
.site-footer .footer-bottom a[href="/jargon-buster.html"] { color: var(--green-text); }
@media (max-width: 760px) {
  .jargon-hero { grid-template-columns: 1fr 90px; gap: 8px; }
  .jargon-hero > img { width: 86px; height: 86px; align-self: start; }
  .jargon-directory { padding-top: 42px; }
  .jargon-cards { grid-template-columns: 1fr; }
  .jargon-card { scroll-margin-top: 90px; }
  .jargon-category { scroll-margin-top: 90px; }
}
@media (max-width: 410px) { .jargon-hero { grid-template-columns: 1fr; } .jargon-hero > img { display: none; } }
