.eee-obe {
  --eee-obe-accent: #ac1f24;
  --eee-obe-accent-dark: #7f171b;
  --eee-obe-ink: #1d2733;
  --eee-obe-muted: #5c6875;
  --eee-obe-border: #e5e8ec;
  --eee-obe-soft: #f7f4f2;
  --eee-obe-card: #ffffff;
  --eee-obe-deep: #2b1113;
  --eee-obe-gold: #b78b3b;
  --eee-obe-shadow: 0 14px 34px rgba(29, 39, 51, 0.09);
  color: var(--eee-obe-ink);
}


.eee-obe-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eee-obe-hero {
  background:
    linear-gradient(135deg, rgba(43, 17, 19, 0.95), rgba(99, 19, 24, 0.92)),
    radial-gradient(circle at 85% 18%, rgba(183, 139, 59, 0.22), transparent 34%),
    linear-gradient(90deg, #2b1113, #ac1f24);
  color: #fff;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  position: relative;
}

.eee-obe-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0.08));
  pointer-events: none;
}

.eee-obe-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) 1.25rem;
  position: relative;
  z-index: 1;
}

.eee-obe-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eee-obe-accent);
}

.eee-obe-hero .eee-obe-kicker {
  color: #f4d7d8;
}

.eee-obe-hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #fff;
}

.eee-obe-hero__subtitle {
  margin: 1.25rem 0 0;
  max-width: 820px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
}

.eee-obe-hero__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.eee-obe-highlight {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-top: 3px solid rgba(255,255,255,0.48);
  border-radius: 18px;
  padding: 1.15rem;
  backdrop-filter: blur(8px);
}

.eee-obe-highlight__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.eee-obe-highlight h2 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  line-height: 1.3;
  color: #fff;
}

.eee-obe-highlight p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}

.eee-obe-section {
  padding: clamp(2.5rem, 5vw, 4.25rem) 0;
}

.eee-obe-section--soft {
  background: var(--eee-obe-soft);
}

.eee-obe-section--chain {
  background:
    linear-gradient(180deg, #fff, #fff7f7);
  border-top: 1px solid var(--eee-obe-border);
  border-bottom: 1px solid var(--eee-obe-border);
}

.eee-obe-section-head {
  max-width: 880px;
  margin-bottom: 1.6rem;
}

.eee-obe-section-head--compact {
  margin-bottom: 1rem;
}

.eee-obe-section-head h2 {
  margin: 0;
  color: var(--eee-obe-ink);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.eee-obe-section-head p:not(.eee-obe-kicker) {
  margin: 0.85rem 0 0;
  color: var(--eee-obe-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.eee-obe-prose p {
  color: var(--eee-obe-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.eee-obe-prose p:last-child {
  margin-bottom: 0;
}

.eee-obe-lead-box {
  background: #fff;
  border: 1px solid var(--eee-obe-border);
  border-left: 6px solid var(--eee-obe-accent);
  border-radius: 18px;
  box-shadow: var(--eee-obe-shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.eee-obe-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--eee-obe-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--eee-obe-shadow);
}

.eee-obe-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.eee-obe-table th,
.eee-obe-table td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--eee-obe-border);
  line-height: 1.55;
}

.eee-obe-table thead th {
  background: var(--eee-obe-deep);
  color: #fff;
  font-weight: 800;
}

.eee-obe-table tbody tr:last-child th,
.eee-obe-table tbody tr:last-child td {
  border-bottom: 0;
}

.eee-obe-table tbody tr:nth-child(even) {
  background: #fbfbfc;
}

.eee-obe-table--glossary th[scope="row"] {
  width: 240px;
  color: var(--eee-obe-accent-dark);
  font-weight: 800;
}

.eee-obe-process-grid,
.eee-obe-chain-grid,
.eee-obe-resource-grid {
  display: grid;
  gap: 1rem;
}

.eee-obe-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eee-obe-chain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.eee-obe-resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eee-obe-process-card,
.eee-obe-chain-card,
.eee-obe-resource-card,
.eee-obe-checklist-box,
.eee-obe-explorer {
  background: var(--eee-obe-card);
  border: 1px solid var(--eee-obe-border);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(29, 39, 51, 0.06);
}

.eee-obe-process-card,
.eee-obe-chain-card {
  padding: 1.15rem;
}

.eee-obe-process-card {
  position: relative;
  overflow: hidden;
}

.eee-obe-process-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--eee-obe-accent), var(--eee-obe-gold));
}

.eee-obe-process-card span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff0f0;
  color: var(--eee-obe-accent);
  font-weight: 900;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.eee-obe-process-card h3,
.eee-obe-chain-card h3,
.eee-obe-checklist-box h3,
.eee-obe-resource-card h3,
.eee-obe-explorer__panel h3 {
  margin: 0 0 0.5rem;
  color: var(--eee-obe-ink);
  font-size: 1.04rem;
  line-height: 1.35;
}

.eee-obe-process-card p,
.eee-obe-chain-card p,
.eee-obe-resource-card p,
.eee-obe-explorer__panel p {
  margin: 0;
  color: var(--eee-obe-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.eee-obe-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--eee-obe-border);
  border-radius: 18px;
  box-shadow: var(--eee-obe-shadow);
}

.eee-obe-flow__item {
  padding: 0.7rem 0.9rem;
  background: #fff7f7;
  color: var(--eee-obe-accent-dark);
  border: 1px solid #f0cdcf;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

.eee-obe-flow__arrow {
  color: var(--eee-obe-accent);
  font-weight: 900;
}

.eee-obe-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
  gap: 1.5rem;
  align-items: start;
}

.eee-obe-checklist-box {
  padding: 1.25rem;
  border-top: 4px solid var(--eee-obe-accent);
}

.eee-obe-checklist-box--faculty {
  border-top-color: var(--eee-obe-gold);
}

.eee-obe-checklist {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.eee-obe-checklist li {
  position: relative;
  padding-left: 1.65rem;
  margin: 0 0 0.7rem;
  color: var(--eee-obe-muted);
  line-height: 1.55;
}

.eee-obe-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--eee-obe-accent);
  font-weight: 900;
}

.eee-obe-resource-card {
  display: block;
  padding: 1.2rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  border-top: 4px solid transparent;
}

.eee-obe-resource-card:hover,
.eee-obe-resource-card:focus {
  transform: translateY(-3px);
  box-shadow: var(--eee-obe-shadow);
  border-color: #efc7c9;
  border-top-color: var(--eee-obe-accent);
  text-decoration: none;
}

.eee-obe-resource-card h3 {
  color: var(--eee-obe-accent-dark);
}

.eee-obe-explorer {
  padding: 1.25rem;
}

.eee-obe-explorer__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.eee-obe-explorer__button {
  appearance: none;
  border: 1px solid #e3c3c5;
  background: #fff7f7;
  color: var(--eee-obe-accent-dark);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.eee-obe-explorer__button:hover,
.eee-obe-explorer__button:focus {
  border-color: var(--eee-obe-accent);
}

.eee-obe-explorer__button.is-active {
  background: var(--eee-obe-accent);
  border-color: var(--eee-obe-accent);
  color: #fff;
}

.eee-obe-explorer__panel {
  border: 1px solid var(--eee-obe-border);
  border-left: 5px solid var(--eee-obe-accent);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}

.eee-obe-noscript {
  margin-top: 1rem;
  background: #fafafa;
  border: 1px solid var(--eee-obe-border);
  border-radius: 14px;
  padding: 1rem;
}

.eee-obe-noscript p {
  margin: 0 0 0.65rem;
  color: var(--eee-obe-muted);
  line-height: 1.6;
}

.eee-obe-noscript p:last-child {
  margin-bottom: 0;
}

.eee-obe-section--references {
  background: #251113;
  color: #fff;
}

.eee-obe-section--references .eee-obe-section-head h2,
.eee-obe-section--references .eee-obe-kicker {
  color: #fff;
}

.eee-obe-reference-list {
  display: grid;
  gap: 0.85rem;
}

.eee-obe-reference-list p {
  margin: 0;
  padding: 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  color: rgba(255,255,255,0.86);
  line-height: 1.65;
}

.eee-obe-reference-list a {
  color: #ffd7d9;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .eee-obe-hero__cards,
  .eee-obe-process-grid,
  .eee-obe-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eee-obe-chain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eee-obe-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .eee-obe-container,
  .eee-obe-hero__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .eee-obe-hero {
    border-radius: 0 0 20px 20px;
  }

  .eee-obe-hero__cards,
  .eee-obe-process-grid,
  .eee-obe-chain-grid,
  .eee-obe-resource-grid {
    grid-template-columns: 1fr;
  }

  .eee-obe-flow {
    align-items: stretch;
  }

  .eee-obe-flow__item {
    border-radius: 14px;
  }

  .eee-obe-flow__arrow {
    display: none;
  }

  .eee-obe-table {
    min-width: 620px;
  }
}

@media print {
  .eee-obe {
    --eee-obe-ink: #000;
    --eee-obe-muted: #222;
    --eee-obe-shadow: none;
  }

  .eee-obe-hero,
  .eee-obe-section--references {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc;
  }

  .eee-obe-hero h1,
  .eee-obe-hero .eee-obe-kicker,
  .eee-obe-highlight h2,
  .eee-obe-highlight p,
  .eee-obe-hero__subtitle,
  .eee-obe-section--references .eee-obe-section-head h2,
  .eee-obe-section--references .eee-obe-kicker,
  .eee-obe-reference-list p {
    color: #000 !important;
  }

  .eee-obe-highlight,
  .eee-obe-reference-list p,
  .eee-obe-process-card,
  .eee-obe-chain-card,
  .eee-obe-resource-card,
  .eee-obe-checklist-box,
  .eee-obe-explorer,
  .eee-obe-table-wrap {
    box-shadow: none !important;
    border: 1px solid #ccc;
  }

  .eee-obe-resource-card {
    break-inside: avoid;
  }

  .eee-obe-explorer__buttons {
    display: none;
  }
}

.eee-obe-toc-section {
  padding: 0 0 clamp(2.25rem, 4vw, 3.25rem);
}

.eee-obe-toc {
  background: #fff;
  border: 1px solid var(--eee-obe-border);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(29, 39, 51, 0.075);
  padding: clamp(1.2rem, 3vw, 1.75rem);
}

.eee-obe-toc__head {
  max-width: 820px;
  margin-bottom: 1.1rem;
}

.eee-obe-toc__head h2 {
  margin: 0;
  color: var(--eee-obe-ink);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.eee-obe-toc__head p:not(.eee-obe-kicker) {
  margin: 0.65rem 0 0;
  color: var(--eee-obe-muted);
  line-height: 1.65;
}

.eee-obe-toc__grid {
  counter-reset: obe-toc;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.eee-obe-toc__grid li {
  counter-increment: obe-toc;
}

.eee-obe-toc__grid a {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 0.85rem 0.9rem 0.85rem 3.1rem;
  background: #fff7f7;
  border: 1px solid #f0cdcf;
  border-radius: 14px;
  color: var(--eee-obe-accent-dark);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.eee-obe-toc__grid a::before {
  content: counter(obe-toc, decimal-leading-zero);
  position: absolute;
  left: 0.85rem;
  top: 0.78rem;
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--eee-obe-accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.eee-obe-toc__grid a:hover,
.eee-obe-toc__grid a:focus {
  transform: translateY(-2px);
  background: #fff;
  border-color: var(--eee-obe-accent);
  box-shadow: 0 10px 20px rgba(172, 31, 36, 0.12);
  text-decoration: none;
}

@media (max-width: 760px) {
  .eee-obe-toc__grid {
    grid-template-columns: 1fr;
  }
}
