/* COMPND.SYSTEMS adaptation of the LCARS-26 Picard visual supplied by the owner.
   Reference: Jim Robertus, www.TheLCARS.com. See THIRD_PARTY_NOTICES.md.
   Original integration rules; no template scripts, insignia, audio or demo controls. */
@font-face {
  font-family: "Compnd Picard Antonio";
  src: url("/fonts/picard-antonio-regular-v1.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Compnd Picard Antonio";
  src: url("/fonts/picard-antonio-bold-v1.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

body:has(#main-content) {
  --font-family-heading: "Compnd Picard Antonio", "Arial Narrow", sans-serif;
  --background: #000;
  --foreground: #f3f4f7;
  --primary: #41c4f7;
  --primary-foreground: #000;
  --secondary: #ff977b;
  --secondary-foreground: #000;
  --accent: #9ea5ba;
  --accent-foreground: #000;
  --muted: #9ea5ba;
  --muted-foreground: #000;
  --info: #8fd8f5;
  --card: #080d13;
  --card-foreground: #f3f4f7;
  --surface: #101925;
  --popup: #101925;
  --popup-foreground: #f3f4f7;
  --border: #2f3749;
  --picard-frame: #6d748c;
  --picard-ghost: #d2d5df;
  --picard-rail: clamp(150px, 15vw, 210px);
  background: #000;
  color: var(--foreground);
  color-scheme: dark;
}
body:has(#main-content) #root > div { padding: 14px 18px 0; }
body:has(#main-content) header[role="banner"] {
  position: relative;
  display: block;
  height: auto;
  min-height: 360px;
  padding: 0 0 58px;
  margin-bottom: 9px;
  isolation: isolate;
}
body:has(#main-content) header[role="banner"]::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: var(--picard-rail); height: 100px;
  border-bottom-left-radius: 85px;
  background: var(--picard-frame);
  z-index: -1;
}
body:has(#main-content) header[role="banner"]::after {
  content: "";
  position: absolute;
  left: calc(var(--picard-rail) - 12px); right: 0; bottom: 0;
  height: 34px;
  background:
    linear-gradient(90deg, transparent 0 15%, #000 15% 15.8%, transparent 15.8% 37%, #000 37% 37.8%, transparent 37.8% 78%, #000 78% 81%, transparent 81% 95%, #000 95% 97%, transparent 97%),
    linear-gradient(0deg, var(--picard-frame) 0 12px, #000 12px 20px, var(--picard-ghost) 20px 34px);
  z-index: -1;
}
body:has(#main-content) header [class*="_headerBar_"] {
  display: grid;
  grid-template-columns: var(--picard-rail) minmax(0, 1fr);
  grid-template-rows: 1fr auto 1fr;
  min-height: 320px;
  gap: 12px 30px;
  padding: 0;
}
body:has(#main-content) header [class*="_headerTitle_"] {
  display: block;
  grid-column: 2; grid-row: 1 / 4;
  height: auto;
  align-self: center; justify-self: center;
  width: min(100%, 1000px);
  padding: 36px 12px 28px;
  margin: 0;
  background: transparent;
  color: #41c4f7;
  text-align: center;
  font-size: clamp(2.5rem, 5.4vw, 5.75rem);
  letter-spacing: .075em;
  line-height: 1.15;
  border-radius: 0 0 0 38px;
  border-left: 2px solid #2f3749;
  border-bottom: 2px solid #2f3749;
  overflow-wrap: normal;
}
body:has(#main-content) header [class*="_headerTitle_"]::after {
  content: "LCARS / PICARD — 26";
  display: block;
  padding-top: 18px;
  font-size: clamp(.85rem, 1.5vw, 1.25rem);
  font-weight: 400;
  letter-spacing: .2em;
  color: #9ea5ba;
}
body:has(#main-content) header [class*="_headerTitle_"]::before {
  content: "";
  display: block;
  width: 88px; height: 88px;
  margin: 0 auto 22px;
  border: 1px solid #2a7193;
  border-radius: 50%;
  background: url("/images/compnd-picard-mark-v1.svg") center / 70% no-repeat;
}
body:has(#main-content) header [class*="_headerDecor_"] { display: none; }
body:has(#main-content) nav[aria-label="Main navigation"] {
  grid-column: 1; grid-row: 1 / 4;
  display: flex; flex-direction: column;
  align-items: stretch;
  height: auto; width: 100%;
  gap: 7px;
  margin: 0; padding: 0 0 38px;
}
body:has(#main-content) nav[aria-label="Main navigation"] > div {
  flex: none; height: auto; min-width: 0; border-radius: 0;
}
body:has(#main-content) nav[aria-label="Main navigation"] a {
  display: flex; align-items: center; justify-content: flex-end;
  min-height: 44px; height: auto; width: 100%;
  border: 2px solid #ff6753;
  border-radius: 0;
  padding: 8px 12px;
  background: #000;
  color: #ff977b;
  font-size: clamp(.85rem, 1.1vw, 1.05rem);
  letter-spacing: .04em;
  white-space: normal;
  text-align: right;
}
body:has(#main-content) nav[aria-label="Main navigation"] a:hover,
body:has(#main-content) nav[aria-label="Main navigation"] a[class*="_active_"] {
  background: #2f3749;
  border-color: #9ea5ba;
  color: #f3f4f7;
}
body:has(#main-content) [class*="_bodyFrame_"] { gap: 28px; }
body:has(#main-content) aside[aria-label="Date display"] {
  width: var(--picard-rail);
  gap: 7px;
  padding: 0 0 22px;
  background: #000;
  border-top-left-radius: 78px;
  overflow: hidden;
}
body:has(#main-content) [class*="_sidebarMiddleBlock_"] {
  background: linear-gradient(#6d748c 0 112px, #000 112px 120px, #2f3749 120px 100%);
  padding: 138px 18px 20px;
  border-left: 8px solid #d2d5df;
  gap: 12px;
  align-items: flex-end;
}
body:has(#main-content) [class*="_sidebarNumber_"] { color: #d2d5df; font-size: 1.2rem; }
body:has(#main-content) [class*="_sidebarBottomBlock_"] {
  height: 154px;
  background: #6d748c;
  border-radius: 0 0 0 72px;
  margin: 0;
  padding: 20px;
}
body:has(#main-content) #main-content {
  min-width: 0;
  padding: 32px clamp(14px, 2.5vw, 42px) 30px;
  border-left: 2px solid #2f3749;
  border-top: 2px solid #2f3749;
  border-top-left-radius: 42px;
  overflow: visible;
}
body:has(#main-content) [class*="_contentInner_"] { max-width: 1400px; }
body:has(#main-content) #main-content [class*="_pageTitle_"],
body:has(#main-content) #main-content [class*="_sectionTitle_"] { color: #ff977b; }
body:has(#main-content) #main-content [class*="_headerDecor_"] { background: #6d748c; border-radius: 0; height: 12px; }
body:has(#main-content) #main-content [class*="_panel_"] > [class*="_header_"] { align-items: center; gap: 14px; }
body:has(#main-content) #main-content [class*="_panel_"] > [class*="_header_"] h3 {
  background: #000; color: var(--panel-color, #ff977b);
  padding: 4px 0; border-radius: 0; font-size: 1.35rem;
}
body:has(#main-content) #main-content [class*="_panel_"] [class*="_bar_"] {
  background: #6d748c; min-height: 8px; height: 8px; border-radius: 0; opacity: 1;
}
body:has(#main-content) #main-content [class*="_panel_"] > [class*="_content_"] {
  border-left: 2px solid #2a7193;
  margin-left: 0; padding-left: 18px;
}
body:has(#main-content) #main-content [class*="_memberCard_"] { border-radius: 4px; border-color: #52596e; }
body:has(#main-content) #main-content [class*="_cardHeader_"] { background: #9ea5ba; }
body:has(#main-content) #main-content img[src*="/images/senior-officers/"] { filter: none; }
body:has(#main-content) #main-content :is(input, textarea, select) {
  background-color: #080d13; color: #f3f4f7; border-color: #52596e;
}
body:has(#main-content) :is(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #f3f4f7; outline-offset: 3px;
}
body:has(#main-content) #main-content :is(input, textarea, select):focus { border-color: #41c4f7; }
body:has(#main-content) #main-content th { background: #1c3c55; color: #f3f4f7; }
body:has(#main-content) #main-content :is(td, th) { border-color: #52596e; }
.lcars26-credit {
  background: #000; color: #9ea5ba;
  border-top: 10px solid #6d748c;
  margin: 20px 18px 0;
  padding: 20px 16px 90px;
  font: .8rem/1.6 system-ui, sans-serif;
  text-align: center;
}
.lcars26-credit a { color: #8fd8f5; text-underline-offset: .2em; }
@media (max-width: 900px) {
  body:has(#main-content) { --picard-rail: 140px; }
  body:has(#main-content) header [class*="_headerBar_"] { gap: 12px 18px; }
  body:has(#main-content) [class*="_bodyFrame_"] { gap: 16px; }
}
@media (max-width: 700px) {
  body:has(#main-content) #root > div { padding: 8px 8px 0; }
  body:has(#main-content) header[role="banner"] { min-height: 0; padding-bottom: 40px; }
  body:has(#main-content) header[role="banner"]::before { width: 44px; height: 48px; border-bottom-left-radius: 34px; }
  body:has(#main-content) header[role="banner"]::after { left: 32px; height: 24px; }
  body:has(#main-content) header [class*="_headerBar_"] { display: flex; flex-direction: column; min-height: 0; gap: 18px; }
  body:has(#main-content) header [class*="_headerTitle_"] { width: 100%; font-size: clamp(1.8rem, 7vw, 3rem); padding: 20px 8px; }
  body:has(#main-content) header [class*="_headerTitle_"]::after { font-size: .75rem; padding-top: 12px; }
  body:has(#main-content) header [class*="_headerTitle_"]::before { width: 56px; height: 56px; margin-bottom: 12px; }
  body:has(#main-content) nav[aria-label="Main navigation"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 0 12px; gap: 6px; }
  body:has(#main-content) nav[aria-label="Main navigation"] a { font-size: .85rem; justify-content: center; padding: 8px 5px; text-align: center; }
  body:has(#main-content) aside[aria-label="Date display"] { display: none; }
  body:has(#main-content) #main-content { padding: 24px 12px; border-top-left-radius: 26px; }
  body:has(#main-content) [class*="_bodyFrame_"] { gap: 0; }
  .lcars26-credit { margin: 18px 8px 0; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body:has(#main-content) { scroll-behavior: auto; }
}
