:root {
  --green: #006837;
  --gold: #FFD700;
  --dark: #0f1a12;
  --light: #f5f5f5;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  background: var(--dark);
  color: var(--light);
}
header {
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(0,104,55,0.9), rgba(0,0,0,0.2));
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
header h1 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--gold);
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(255, 215, 0, 0.5);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
}
.nav a:hover {
  background: rgba(0, 0, 0, 0.35);
}
.nav a.active {
  background: rgba(255, 215, 0, 0.15);
  border-color: #FFD700;
}

.menu-toggle {
  display: none;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: 1px solid rgba(255, 215, 0, 0.5);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}
.menu-toggle .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 3px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle.open .bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 720px) {
  header {
    align-items: flex-start;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav {
    width: 100%;
    display: none;
  }
  .nav.open {
    display: flex;
  }
}
.btn {
  background: var(--green);
  color: #fff;
  border: 0;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn.secondary {
  background: #1f2b22;
  border: 1px solid #2f3f33;
}
.count {
  font-size: 0.9rem;
  opacity: 0.9;
}
.pdf-frame {
  width: 100%;
  height: calc(100vh - 72px);
  border: none;
  background: #fff;
}


.doc-body {
  display: block;
}

.doc-content {
  display: none;
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  line-height: 1.6;
  background: #0e1712;
}

.doc-content p {
  margin: 0 0 14px;
  font-size: 1rem;
  color: #f4f2e9;
}

.doc-note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 16px;
}

@media (max-width: 720px) {
  .pdf-frame {
    display: none;
  }
  .doc-content {
    display: block;
  }
}




body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 980px);
  max-height: 90vh;
  background: #0e1712;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.modal-content img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 20px;
  line-height: 32px;
}
