:root {
  --bg-page: #F4F4F6;
  --panel-white: #FFFFFF;
  --border-dark: #1A1A1A;
  --border-light: #E5E7EB;
  --accent-maroon: #4A0000;
  --text-dark: #1A1A1A;
  --text-muted: #4B5563;
  --green-pass: #15803D;
}

* { box-sizing: border-box; }

body {
  background-color: var(--bg-page);
  color: var(--text-dark);
  font-family: 'Courier New', Courier, monospace;
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* --- SVG Intro Overlay & Animated Logo[cite: 2] --- */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
  overflow: hidden;
}

.animated-logo {
  width: 80%;
  max-width: 800px;
  padding: 0 5%;
  overflow: visible;
}

.main-ui-wrapper {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out;
}

.black-box-1 { opacity: 0; animation: revealBox1 5.0s linear forwards; }
.black-box-2 { opacity: 0; animation: revealBox2 5.0s linear forwards; }
.black-box-3 { opacity: 0; animation: revealBox3 5.0s linear forwards; }
.black-box-4 { opacity: 0; animation: revealBox4 5.0s linear forwards; }

@keyframes revealBox1 { 0%, 13% { opacity: 0; } 14%, 100% { opacity: 1; } }
@keyframes revealBox2 { 0%, 33% { opacity: 0; } 34%, 100% { opacity: 1; } }
@keyframes revealBox3 { 0%, 53% { opacity: 0; } 54%, 100% { opacity: 1; } }
@keyframes revealBox4 { 0%, 73% { opacity: 0; } 74%, 100% { opacity: 1; } }

.anim-x { animation: moveX 5.0s forwards; }

@keyframes moveX {
  0%, 14% { transform: translateX(850px); }
  34% { transform: translateX(650px); }
  54% { transform: translateX(450px); }
  74% { transform: translateX(250px); }
  92%, 100% { transform: translateX(0px); }
}

.anim-y { animation: moveY 5.0s forwards; }

@keyframes moveY {
  0% { transform: translateY(-700px); animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  14% { transform: translateY(-45px); animation-timing-function: cubic-bezier(0, 0, 0.4, 1); }
  24% { transform: translateY(-400px); animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  34% { transform: translateY(-45px); animation-timing-function: cubic-bezier(0, 0, 0.4, 1); }
  44% { transform: translateY(-260px); animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  54% { transform: translateY(-45px); animation-timing-function: cubic-bezier(0, 0, 0.4, 1); }
  64% { transform: translateY(-160px); animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  74% { transform: translateY(-45px); animation-timing-function: cubic-bezier(0, 0, 0.4, 1); }
  84% { transform: translateY(-185px); animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  92% { transform: translateY(0px); animation-timing-function: ease-out; }
  96% { transform: translateY(6px); animation-timing-function: ease-in; }
  100% { transform: translateY(0px); }
}

.anim-rotate {
  transform-box: fill-box;
  transform-origin: center;
  animation: spinSquare 5.0s forwards;
}

@keyframes spinSquare {
  0%, 14% { transform: rotate(0deg); }
  34% { transform: rotate(-2880deg); }
  54% { transform: rotate(-5760deg); }
  74% { transform: rotate(-8640deg); }
  92%, 100% { transform: rotate(-11152deg); }
}

/* Left Ribbon Seal Anchor [JEF-DIST-01.04.000] */
.left-ribbon-seal {
  position: fixed;
  top: 0;
  left: 5%;
  width: 1cm;
  height: 100vh;
  background-color: var(--accent-maroon);
  z-index: 999;
}

.layout-wrapper {
  margin-left: calc(5% + 1cm + 30px);
  padding: 40px 20px;
  max-width: 1200px;
}

.brand-header {
  background: var(--panel-white);
  border: 2px solid var(--border-dark);
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.brand-header h1 {
  font-size: 32px;
  letter-spacing: 3px;
  margin: 0 0 10px 0;
  color: var(--accent-maroon);
}

.slogan {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: bold;
}

.nav-container {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.nav-link {
  background: var(--panel-white);
  border: 1px solid var(--border-dark);
  color: var(--text-dark);
  padding: 10px 18px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}

.nav-link:hover, .nav-link.active {
  background: var(--accent-maroon);
  color: #FFFFFF;
  border-color: var(--accent-maroon);
}

.card {
  background: var(--panel-white);
  border: 2px solid var(--border-dark);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.card h2 {
  color: var(--accent-maroon);
  margin-top: 0;
  border-bottom: 2px solid var(--border-dark);
  padding-bottom: 10px;
  font-size: 20px;
}

p, li { font-size: 14px; color: var(--text-dark); }

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--panel-white);
}

th, td {
  border: 1px solid var(--border-dark);
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
}

th { background: #F3F4F6; color: var(--text-dark); font-weight: bold; }

.btn-primary {
  display: inline-block;
  background: var(--accent-maroon);
  color: #FFFFFF;
  border: 2px solid var(--border-dark);
  padding: 14px 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
}

.btn-primary:hover { background: #1A1A1A; }