:root {
  --grass: #061A12;
  --stand: #0C2B1F;
  --mid: #1E7A4F;
  --lime: #C9FF3D;
  --orange: #FF7A2E;
  --white: #F3F8F2;
  --ice: #72E4FF;
  --muted: #9DB8A8;
  --line: #2A4A39;
  --ink: #0A1710;
  --panel: rgba(12, 43, 31, 0.92);
  --rail-width: 278px;
  --page-gutter: clamp(16px, 2.2vw, 32px);
  --content-max: 1280px;
  --cut: 14px;
  --ease: 220ms cubic-bezier(.2, .8, .2, 1);
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 8%, rgba(30, 122, 79, 0.28), transparent 34rem),
    linear-gradient(120deg, var(--grass) 0%, #071d15 55%, #04110c 100%);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

strong {
  font-weight: 800;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}

@media (min-width: 1024px) {
  body {
    padding-inline-start: calc(var(--rail-width) + 40px);
    padding-inline-end: var(--page-gutter);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 100;
  width: var(--rail-width);
  color: var(--white);
}

.site-header__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 22px 18px 14px;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(12, 43, 31, 0.98), rgba(6, 26, 18, 0.98)),
    var(--grass);
  border: 1px solid var(--line);
  border-radius: var(--cut) 0 var(--cut) var(--cut);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(201, 255, 61, 0.16);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.site-header__frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 0;
  border: 1px solid rgba(157, 184, 168, 0.12);
  border-radius: 8px 0 8px 8px;
  pointer-events: none;
}

.site-header__frame::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 4px;
  bottom: 80px;
  width: 8px;
  background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 12px);
  opacity: 0.7;
  pointer-events: none;
}

.brand-zone {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand-lockup {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.brand-type {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-type strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.brand-type span {
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.rail-batch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.batch-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.45rem;
  color: var(--lime);
  background: rgba(201, 255, 61, 0.08);
  border: 1px solid rgba(201, 255, 61, 0.36);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.rail-note {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0.55rem 0.65rem;
  color: var(--white);
  background: rgba(6, 26, 18, 0.45);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  transition:
    color var(--ease),
    border-color var(--ease),
    background var(--ease),
    transform var(--ease);
}

.quick-link::after {
  content: "↗";
  color: var(--muted);
}

.quick-link:hover {
  color: var(--ice);
  border-color: var(--ice);
  transform: translateX(2px);
}

.quick-link--accent {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  font-weight: 800;
}

.quick-link--accent::after {
  color: var(--ink);
}

.quick-link--accent:hover {
  color: var(--ink);
  background: #dcff82;
  border-color: #dcff82;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(12, 43, 31, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.nav-toggle__label {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-toggle__icon {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-island {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 10px;
  background: rgba(6, 26, 18, 0.72);
  border: 1px solid var(--line);
  border-radius: 24px 8px 24px 8px;
  box-shadow: inset 0 1px 0 rgba(157, 184, 168, 0.08);
}

.nav-island__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-island__index {
  color: var(--lime);
}

.nav-island__status {
  color: var(--muted);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-link {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 0.62rem 0.6rem;
  color: var(--white);
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    color var(--ease),
    background var(--ease),
    border-color var(--ease);
}

.nav-link__index {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.nav-link__text {
  min-width: 0;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-link__signal {
  width: 6px;
  height: 6px;
  background: var(--line);
  border-radius: 50%;
  transition:
    background var(--ease),
    box-shadow var(--ease);
}

.nav-link:hover {
  color: var(--lime);
  background: rgba(30, 122, 79, 0.35);
  border-color: var(--line);
}

.nav-link:hover .nav-link__signal {
  background: var(--lime);
  box-shadow: 0 0 12px rgba(201, 255, 61, 0.8);
}

.nav-link[aria-current="page"] {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.nav-link[aria-current="page"] .nav-link__index {
  color: var(--ink);
}

.nav-link[aria-current="page"] .nav-link__signal {
  background: var(--ink);
  box-shadow: none;
}

.nav-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px 2px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.nav-foot__dot {
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(201, 255, 61, 0.68);
}

.scroll-meter {
  position: relative;
  z-index: 1;
  height: 3px;
  margin-top: auto;
  overflow: hidden;
  background: rgba(157, 184, 168, 0.16);
  border-radius: 99px;
}

.scroll-meter__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--mid), var(--lime));
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  transition: transform 120ms linear;
}

@media (max-width: 1023px) {
  .site-header {
    position: sticky;
    top: 0;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    padding: 10px var(--page-gutter) 0;
    background: linear-gradient(180deg, rgba(6, 26, 18, 0.98), rgba(6, 26, 18, 0.86));
  }

  .site-header__frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 0;
    padding: 10px 12px;
    overflow: visible;
    border-radius: 16px 0 16px 16px;
    backdrop-filter: blur(14px);
  }

  .site-header__frame::after {
    display: none;
  }

  .brand-zone {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    min-width: 0;
  }

  .brand-lockup {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 0.78rem;
  }

  .brand-type strong {
    overflow: hidden;
    font-size: 0.9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-type span {
    font-size: 0.58rem;
  }

  .rail-batch,
  .quick-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .nav-island {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    z-index: 120;
    max-height: min(72vh, 560px);
    overflow: auto;
    background: rgba(6, 26, 18, 0.99);
    border-radius: 18px 6px 18px 6px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity var(--ease),
      visibility var(--ease),
      transform var(--ease);
  }

  .nav-island[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    gap: 4px;
  }

  .nav-link {
    padding: 0.72rem 0.7rem;
  }

  .scroll-meter {
    grid-column: 1 / -1;
    margin-top: 2px;
  }
}

@media (max-width: 560px) {
  .brand-type span {
    display: none;
  }

  .nav-toggle__label {
    display: none;
  }

  .nav-toggle {
    padding: 10px 12px;
  }
}

.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 100px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, #071e15 0%, var(--grass) 68%, #04110c 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 32px, rgba(201, 255, 61, 0.035) 32px 33px);
  pointer-events: none;
}

.footer-scan {
  height: 6px;
  background: linear-gradient(90deg, var(--mid) 0 22%, var(--lime) 22% 36%, transparent 36% 100%);
  opacity: 0.9;
}

.footer-inner {
  position: relative;
  width: min(calc(100% - 2 * var(--page-gutter)), var(--content-max));
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) 0 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
}

.brand-mark--footer {
  width: 46px;
  height: 46px;
  font-size: 0.92rem;
}

.footer-brand__name {
  display: block;
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.footer-brand__claim {
  display: block;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.footer-summary {
  max-width: 38em;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-batch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer-batch__note {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 42px);
  padding: clamp(24px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin-bottom: 16px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: max-content;
  max-width: 100%;
  color: var(--white);
  border-bottom: 1px solid transparent;
  font-size: 0.9rem;
  transition:
    color var(--ease),
    border-color var(--ease);
}

.footer-links a::before {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--line);
  transition: width var(--ease), background var(--ease);
}

.footer-links a:hover {
  color: var(--lime);
  border-color: rgba(201, 255, 61, 0.3);
}

.footer-links a:hover::before {
  width: 18px;
  background: var(--lime);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact__row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 8px;
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-contact__label {
  padding-top: 0.1em;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.footer-contact__value {
  overflow-wrap: anywhere;
  color: var(--white);
}

.footer-note {
  padding-left: 10px;
  color: var(--muted);
  border-left: 2px solid var(--orange);
  font-size: 0.74rem;
  line-height: 1.65;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.footer-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal__links a {
  color: var(--white);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 2px;
}

.footer-legal__links a:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.footer-legal__copy {
  line-height: 1.6;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    flex-direction: column;
  }
}

.site-container {
  width: min(calc(100% - 2 * var(--page-gutter)), var(--content-max));
  margin-inline: auto;
}

#main-content {
  display: block;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--page-gutter);
}

.col-3 {
  grid-column: span 3;
}

.col-4 {
  grid-column: span 4;
}

.col-5 {
  grid-column: span 5;
}

.col-6 {
  grid-column: span 6;
}

.col-7 {
  grid-column: span 7;
}

.col-8 {
  grid-column: span 8;
}

.col-9 {
  grid-column: span 9;
}

.col-12 {
  grid-column: span 12;
}

@media (max-width: 900px) {
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9 {
    grid-column: span 12;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--lime);
}

.section-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading__index {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.section-heading__title {
  color: var(--white);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading__note {
  grid-column: 2;
  max-width: 46em;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  color: var(--white);
  background: var(--mid);
  border: 1px solid transparent;
  border-radius: 3px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  font-size: 0.87rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition:
    color var(--ease),
    background var(--ease),
    border-color var(--ease),
    transform var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: var(--ink);
  background: var(--lime);
}

.button--primary:hover {
  background: #dcff82;
}

.button--ghost {
  color: var(--white);
  background: transparent;
  border-color: var(--line);
}

.button--ghost:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.button--small {
  min-height: 36px;
  padding: 0.45rem 0.8rem;
  font-size: 0.76rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.breadcrumbs__link {
  color: var(--white);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs__sep {
  color: var(--line);
}

.cut-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(12, 43, 31, 0.96), rgba(6, 26, 18, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--cut) 0 var(--cut) var(--cut);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(157, 184, 168, 0.08);
}

.cut-panel::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 0;
  border: 1px solid rgba(157, 184, 168, 0.1);
  border-radius: 6px 0 6px 6px;
  pointer-events: none;
}

.cut-panel__header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(6, 26, 18, 0.4);
  border-bottom: 1px solid var(--line);
}

.cut-panel__body {
  position: relative;
  z-index: 1;
  padding: 16px;
}

.tag {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.22rem 0.45rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.tag--lime {
  color: var(--lime);
  background: rgba(201, 255, 61, 0.08);
  border-color: rgba(201, 255, 61, 0.4);
}

.tag--orange {
  color: var(--orange);
  background: rgba(255, 122, 46, 0.08);
  border-color: rgba(255, 122, 46, 0.45);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric__value {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.08em;
}

.metric__label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.index-list {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
}

.index-item {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--ease);
}

.index-item:hover {
  background: linear-gradient(90deg, rgba(30, 122, 79, 0.24), transparent);
}

.index-item__meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.index-item__title {
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.4;
}

.index-item__text {
  grid-column: 2;
  max-width: 56em;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.timeline {
  position: relative;
  display: grid;
  gap: 12px;
  padding-left: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 4px;
  width: 1px;
  background: linear-gradient(var(--lime), var(--line));
}

.timeline__item {
  position: relative;
  padding-bottom: 12px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: -18px;
  width: 8px;
  height: 8px;
  background: var(--grass);
  border: 1px solid var(--lime);
  border-radius: 50%;
}

.timeline__time {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.status-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: var(--muted);
  background: rgba(12, 43, 31, 0.7);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.data-table th {
  padding: 10px 8px;
  color: var(--lime);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
}

.data-table td {
  padding: 10px 8px;
  color: var(--white);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table tbody tr:hover {
  background: rgba(30, 122, 79, 0.2);
}

.expander {
  overflow: hidden;
  background: rgba(6, 26, 18, 0.35);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.expander + .expander {
  margin-top: 8px;
}

.expander__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.expander__summary::-webkit-details-marker {
  display: none;
}

.expander__summary::after {
  content: "+";
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 1rem;
}

.expander[open] .expander__summary {
  background: rgba(30, 122, 79, 0.2);
}

.expander[open] .expander__summary::after {
  content: "−";
}

.expander__body {
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 8px;
  background: rgba(6, 26, 18, 0.56);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.filter-chip {
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  transition:
    color var(--ease),
    background var(--ease),
    border-color var(--ease);
}

.filter-chip:hover {
  color: var(--white);
  background: rgba(30, 122, 79, 0.4);
}

.filter-chip[aria-pressed="true"] {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  font-weight: 800;
}

.media-frame {
  position: relative;
  min-height: 180px;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(145deg, var(--stand), var(--grass));
  border: 1px solid var(--line);
  border-radius: var(--cut) 0 var(--cut) var(--cut);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;
  border: 1px solid rgba(157, 184, 168, 0.18);
  pointer-events: none;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(201, 255, 61, 0.035) 18px 19px);
  pointer-events: none;
}

.media-frame__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.media-frame__caption {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
  background: linear-gradient(0deg, rgba(6, 26, 18, 0.9), transparent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.media-frame--wide {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.media-frame--portrait {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.media-frame--square {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.prose {
  max-width: 72ch;
  color: var(--white);
}

.prose h2,
.prose h3 {
  margin: 1.4em 0 0.55em;
  color: var(--white);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.prose p {
  margin: 0 0 1.1em;
  color: var(--muted);
  line-height: 1.8;
}

.prose strong {
  color: var(--white);
}

.prose a {
  color: var(--lime);
  border-bottom: 1px solid rgba(201, 255, 61, 0.4);
}

.prose ul,
.prose ol {
  margin: 0 0 1.1em 1.2em;
  padding: 0;
  color: var(--muted);
}

.prose li {
  margin: 0.4em 0;
}

.prose blockquote {
  margin: 1.2em 0;
  padding: 12px 16px;
  color: var(--white);
  border-left: 3px solid var(--orange);
  background: rgba(255, 122, 46, 0.08);
}

.paper-panel {
  padding: clamp(18px, 3vw, 32px);
  color: var(--ink);
  background: var(--white);
  border-radius: var(--cut) 0 var(--cut) var(--cut);
}

.paper-panel a {
  color: var(--mid);
}

.section-rule {
  height: 1px;
  margin: 24px 0;
  background: linear-gradient(90deg, var(--lime), var(--line) 35%, transparent 100%);
  border: 0;
}
