:root {
  --tactical-green: #9fca84;
  --tactical-green-strong: #c3e8a7;
  --tactical-green-dark: #5f8050;
  --tactical-panel: rgba(13, 18, 14, 0.88);
  --tactical-panel-soft: rgba(18, 25, 19, 0.72);
  --tactical-border: rgba(159, 202, 132, 0.18);
  --tactical-border-strong: rgba(159, 202, 132, 0.42);
  --tactical-muted: rgba(223, 231, 221, 0.56);
  --tactical-text: #e7ece5;
}

html {
  scroll-behavior: smooth;
}

.tactical-page {
  overflow: hidden;
}

.tactical-page section[id] {
  scroll-margin-top: 110px;
}

/* =========================
   HERO
========================= */

.tactical-hero {
  position: relative;
  min-height: 760px;
  padding-top: 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--tactical-border);
  background:
    radial-gradient(circle at 72% 36%, rgba(113, 161, 91, 0.15), transparent 30%),
    linear-gradient(180deg, rgba(7, 12, 8, 0.44), rgba(5, 8, 6, 0.96));
}

.tactical-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 58%, rgba(0, 0, 0, 0.72) 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 89px,
      rgba(159, 202, 132, 0.025) 90px
    );
}

.tactical-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.56;
  background-image:
    linear-gradient(rgba(159, 202, 132, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 202, 132, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.tactical-hero-scan {
  position: absolute;
  width: 620px;
  height: 620px;
  top: 95px;
  right: -90px;
  border: 1px solid rgba(159, 202, 132, 0.12);
  border-radius: 50%;
}

.tactical-hero-scan::before,
.tactical-hero-scan::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(159, 202, 132, 0.1);
  border-radius: inherit;
}

.tactical-hero-scan::after {
  inset: 28%;
}

.tactical-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 672px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 46px;
  padding-bottom: 42px;
}

.tactical-hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--tactical-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.tactical-hero-content {
  max-width: 880px;
  padding: 70px 0 56px;
}

.tactical-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.tactical-kicker i {
  width: 38px;
  height: 1px;
  background: currentColor;
  box-shadow: 14px 0 20px currentColor;
}

.tactical-hero h1 {
  margin: 0;
  color: var(--tactical-text);
  font-family: "Inter", sans-serif;
  font-size: clamp(70px, 10vw, 154px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.tactical-hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(195, 232, 167, 0.74);
  text-shadow: 0 0 45px rgba(159, 202, 132, 0.09);
}

.tactical-hero-ja {
  margin: 30px 0 0;
  color: var(--tactical-green-strong);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tactical-hero-description {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(231, 236, 229, 0.67);
  font-size: 15px;
  line-height: 2;
}

.tactical-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.tactical-hero-status {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--tactical-border);
  border-bottom: 1px solid var(--tactical-border);
  background: rgba(5, 9, 6, 0.48);
  backdrop-filter: blur(12px);
}

.tactical-hero-status div {
  min-height: 90px;
  padding: 22px 24px;
  border-right: 1px solid var(--tactical-border);
}

.tactical-hero-status div:last-child {
  border-right: 0;
}

.tactical-hero-status small {
  display: block;
  margin-bottom: 8px;
  color: var(--tactical-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.tactical-hero-status strong {
  color: var(--tactical-text);
  font-size: 14px;
  font-weight: 600;
}

/* =========================
   NOTICE
========================= */

.tactical-notice {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 70px;
  padding: 28px 30px;
  border: 1px solid rgba(202, 180, 104, 0.26);
  background:
    linear-gradient(90deg, rgba(202, 180, 104, 0.08), transparent 60%),
    var(--tactical-panel-soft);
}

.notice-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(202, 180, 104, 0.5);
  color: #d9c476;
  font-family: "IBM Plex Mono", monospace;
  font-size: 26px;
}

.tactical-notice small {
  color: #d9c476;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.tactical-notice h2 {
  margin: 6px 0 8px;
  color: var(--tactical-text);
  font-size: 20px;
}

.tactical-notice p {
  margin: 0;
  max-width: 980px;
  color: rgba(231, 236, 229, 0.61);
  font-size: 13px;
  line-height: 1.9;
}

/* =========================
   INDEX
========================= */

.tactical-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tactical-index-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr 24px;
  gap: 20px;
  align-items: center;
  min-height: 134px;
  padding: 24px;
  border: 1px solid var(--tactical-border);
  background:
    linear-gradient(105deg, rgba(159, 202, 132, 0.05), transparent 50%),
    var(--tactical-panel-soft);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.tactical-index-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 36px;
  height: 1px;
  background: var(--tactical-green);
}

.tactical-index-card:hover {
  transform: translateY(-3px);
  border-color: var(--tactical-border-strong);
  background-color: rgba(24, 34, 25, 0.9);
}

.tactical-index-card .number {
  color: rgba(195, 232, 167, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
}

.tactical-index-card small {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.tactical-index-card strong {
  display: block;
  margin-top: 5px;
  color: var(--tactical-text);
  font-size: 18px;
}

.tactical-index-card p {
  margin: 8px 0 0;
  color: var(--tactical-muted);
  font-size: 12px;
}

.tactical-index-card .arrow {
  color: var(--tactical-green);
  font-size: 18px;
}

/* =========================
   CHAPTER COMMON
========================= */

.tactical-chapter {
  padding-top: 104px;
}

.chapter-heading {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--tactical-border);
}

.chapter-number {
  color: rgba(195, 232, 167, 0.18);
  font-family: "IBM Plex Mono", monospace;
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
}

.chapter-heading small {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.chapter-heading h2 {
  margin: 5px 0 8px;
  color: var(--tactical-text);
  font-size: clamp(27px, 4vw, 42px);
  letter-spacing: -0.03em;
}

.chapter-heading p {
  margin: 0;
  color: var(--tactical-muted);
  font-size: 13px;
  line-height: 1.8;
}

/* =========================
   PRINCIPLES
========================= */

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.principle-card,
.role-card,
.formation-card,
.radio-card,
.attack-card,
.defense-card {
  border: 1px solid var(--tactical-border);
  background: var(--tactical-panel-soft);
}

.principle-card {
  min-height: 210px;
  padding: 26px;
}

.principle-card > span {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.principle-card h3 {
  margin: 24px 0 12px;
  color: var(--tactical-text);
  font-size: 18px;
}

.principle-card p {
  margin: 0;
  color: var(--tactical-muted);
  font-size: 13px;
  line-height: 1.9;
}

.do-dont-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.do-dont-panel {
  padding: 28px;
  border: 1px solid var(--tactical-border);
  background: rgba(11, 16, 12, 0.68);
}

.do-dont-panel.do {
  border-top-color: rgba(159, 202, 132, 0.55);
}

.do-dont-panel.dont {
  border-top-color: rgba(197, 104, 94, 0.55);
}

.do-dont-panel small {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.do-dont-panel.do small {
  color: var(--tactical-green);
}

.do-dont-panel.dont small {
  color: #c9786d;
}

.do-dont-panel h3 {
  margin: 8px 0 18px;
  color: var(--tactical-text);
  font-size: 18px;
}

.do-dont-panel ul,
.role-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.do-dont-panel li,
.role-card li {
  position: relative;
  padding-left: 18px;
  color: var(--tactical-muted);
  font-size: 12px;
  line-height: 2;
}

.do-dont-panel li::before,
.role-card li::before {
  content: "";
  position: absolute;
  top: 0.92em;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--tactical-green);
}

/* =========================
   ROLES
========================= */

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.role-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  overflow: hidden;
}

.role-code {
  position: absolute;
  top: 16px;
  right: 20px;
  color: rgba(159, 202, 132, 0.08);
  font-family: "IBM Plex Mono", monospace;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.role-card > small {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
}

.role-card h3 {
  margin: 10px 0 14px;
  color: var(--tactical-text);
  font-size: 20px;
}

.role-card > p {
  min-height: 66px;
  margin: 0 0 20px;
  color: var(--tactical-muted);
  font-size: 12px;
  line-height: 1.8;
}

/* =========================
   FORMATIONS
========================= */

.formation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.formation-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 225px;
  padding: 24px;
}

.formation-visual {
  position: relative;
  width: 150px;
  height: 145px;
  border: 1px solid rgba(159, 202, 132, 0.12);
  background:
    linear-gradient(rgba(159, 202, 132, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 202, 132, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}

.formation-visual i {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--tactical-green);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(159, 202, 132, 0.16);
}

.formation-visual.wedge i:nth-child(1) { top: 20px; left: 70px; }
.formation-visual.wedge i:nth-child(2) { top: 62px; left: 38px; }
.formation-visual.wedge i:nth-child(3) { top: 62px; right: 38px; }
.formation-visual.wedge i:nth-child(4) { bottom: 24px; left: 70px; }

.formation-visual.file i:nth-child(1) { top: 18px; left: 70px; }
.formation-visual.file i:nth-child(2) { top: 51px; left: 70px; }
.formation-visual.file i:nth-child(3) { top: 84px; left: 70px; }
.formation-visual.file i:nth-child(4) { top: 117px; left: 70px; }

.formation-visual.line i:nth-child(1) { top: 68px; left: 18px; }
.formation-visual.line i:nth-child(2) { top: 68px; left: 53px; }
.formation-visual.line i:nth-child(3) { top: 68px; right: 53px; }
.formation-visual.line i:nth-child(4) { top: 68px; right: 18px; }

.formation-visual.column i:nth-child(1) { top: 28px; left: 43px; }
.formation-visual.column i:nth-child(2) { top: 54px; left: 92px; }
.formation-visual.column i:nth-child(3) { top: 83px; left: 43px; }
.formation-visual.column i:nth-child(4) { top: 110px; left: 92px; }

.formation-card small,
.attack-card small {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.formation-card h3,
.attack-card h3 {
  margin: 7px 0 10px;
  color: var(--tactical-text);
  font-size: 20px;
}

.formation-card p,
.attack-card p {
  margin: 0;
  color: var(--tactical-muted);
  font-size: 12px;
  line-height: 1.8;
}

.formation-card div:last-child > span {
  display: block;
  margin-top: 15px;
  color: rgba(195, 232, 167, 0.58);
  font-size: 10px;
}

.movement-techniques {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
  border: 1px solid var(--tactical-border);
}

.movement-technique {
  padding: 24px;
  border-right: 1px solid var(--tactical-border);
}

.movement-technique:last-child {
  border-right: 0;
}

.movement-technique small {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.movement-technique h3 {
  margin: 8px 0 10px;
  color: var(--tactical-text);
  font-size: 16px;
}

.movement-technique p {
  margin: 0;
  color: var(--tactical-muted);
  font-size: 11px;
  line-height: 1.7;
}

/* =========================
   CONTACT
========================= */

.contact-sequence {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--tactical-border);
}

.contact-step {
  position: relative;
  min-height: 230px;
  padding: 24px 18px;
  border-right: 1px solid var(--tactical-border);
}

.contact-step:last-child {
  border-right: 0;
}

.contact-step > span {
  color: rgba(159, 202, 132, 0.18);
  font-family: "IBM Plex Mono", monospace;
  font-size: 28px;
  font-weight: 700;
}

.contact-step small {
  display: block;
  margin-top: 24px;
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
}

.contact-step h3 {
  margin: 6px 0 10px;
  color: var(--tactical-text);
  font-size: 16px;
}

.contact-step p {
  margin: 0;
  color: var(--tactical-muted);
  font-size: 11px;
  line-height: 1.75;
}

.contact-example {
  margin-top: 12px;
  padding: 25px 28px;
  border-left: 2px solid var(--tactical-green);
  background: linear-gradient(90deg, rgba(159, 202, 132, 0.08), transparent);
}

.contact-example small {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.contact-example p {
  margin: 10px 0 0;
  color: var(--tactical-text);
  font-size: 14px;
  line-height: 1.8;
}

/* =========================
   RADIO
========================= */

.radio-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.45fr;
  gap: 12px;
}

.radio-format {
  padding: 28px;
  border: 1px solid var(--tactical-border);
  background:
    radial-gradient(circle at 25% 15%, rgba(159, 202, 132, 0.08), transparent 34%),
    var(--tactical-panel-soft);
}

.radio-format > small {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
}

.radio-format h3 {
  margin: 8px 0 24px;
  color: var(--tactical-text);
  font-size: 21px;
}

.radio-format ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.radio-format li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(159, 202, 132, 0.1);
  background: rgba(0, 0, 0, 0.16);
}

.radio-format li span {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
}

.radio-format li strong {
  color: var(--tactical-text);
  font-size: 12px;
  font-weight: 500;
}

.radio-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.radio-card {
  min-height: 190px;
  padding: 24px;
}

.radio-card small {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.radio-card h3 {
  margin: 8px 0 16px;
  color: var(--tactical-text);
  font-size: 17px;
}

.radio-card p {
  margin: 0;
  color: rgba(231, 236, 229, 0.72);
  font-family: "IBM Plex Mono", "Noto Sans JP", monospace;
  font-size: 11px;
  line-height: 1.9;
}

.radio-rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
  border: 1px solid var(--tactical-border);
}

.radio-rules div {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 16px 18px;
  border-right: 1px solid var(--tactical-border);
}

.radio-rules div:last-child {
  border-right: 0;
}

.radio-rules span {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.radio-rules p {
  margin: 0;
  color: var(--tactical-muted);
  font-size: 11px;
}

/* =========================
   ATTACK
========================= */

.operation-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--tactical-border);
  background: var(--tactical-panel-soft);
}

.operation-flow > div {
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.operation-flow > div span {
  display: block;
  color: rgba(159, 202, 132, 0.28);
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
}

.operation-flow > div small {
  display: block;
  margin-top: 8px;
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 7px;
  letter-spacing: 0.12em;
}

.operation-flow > div strong {
  display: block;
  margin-top: 4px;
  color: var(--tactical-text);
  font-size: 14px;
}

.operation-flow > i {
  color: rgba(159, 202, 132, 0.36);
  font-style: normal;
}

.attack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.attack-card {
  min-height: 190px;
  padding: 26px;
}

/* =========================
   DEFENSE
========================= */

.defense-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.defense-card {
  min-height: 205px;
  padding: 26px;
}

.defense-card > span {
  color: rgba(159, 202, 132, 0.24);
  font-family: "IBM Plex Mono", monospace;
  font-size: 24px;
  font-weight: 700;
}

.defense-card h3 {
  margin: 28px 0 10px;
  color: var(--tactical-text);
  font-size: 17px;
}

.defense-card p {
  margin: 0;
  color: var(--tactical-muted);
  font-size: 12px;
  line-height: 1.8;
}

/* =========================
   PATROL
========================= */

.patrol-timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 36px;
}

.patrol-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 16px;
  width: 1px;
  background: linear-gradient(var(--tactical-green), rgba(159, 202, 132, 0.08));
}

.patrol-step {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  min-height: 128px;
  padding: 20px 24px;
  border-top: 1px solid var(--tactical-border);
  border-right: 1px solid var(--tactical-border);
  border-left: 1px solid var(--tactical-border);
  background: var(--tactical-panel-soft);
}

.patrol-step:last-child {
  border-bottom: 1px solid var(--tactical-border);
}

.patrol-step::before {
  content: "";
  position: absolute;
  top: 33px;
  left: -27px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--tactical-green);
  background: #080d09;
  transform: rotate(45deg);
}

.patrol-step > span {
  color: rgba(159, 202, 132, 0.32);
  font-family: "IBM Plex Mono", monospace;
  font-size: 24px;
  font-weight: 700;
}

.patrol-step small {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.patrol-step h3 {
  margin: 6px 0 8px;
  color: var(--tactical-text);
  font-size: 17px;
}

.patrol-step p {
  margin: 0;
  color: var(--tactical-muted);
  font-size: 12px;
  line-height: 1.8;
}

/* =========================
   SUMMARY
========================= */

.tactical-summary {
  margin-top: 104px;
  margin-bottom: 90px;
  padding: 34px;
  border: 1px solid var(--tactical-border-strong);
  background:
    linear-gradient(120deg, rgba(159, 202, 132, 0.1), transparent 44%),
    var(--tactical-panel);
}

.tactical-summary > div:first-child small {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.tactical-summary h2 {
  margin: 8px 0 26px;
  color: var(--tactical-text);
  font-size: 28px;
}

.summary-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.summary-checks label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(159, 202, 132, 0.12);
  color: var(--tactical-muted);
  font-size: 12px;
  cursor: pointer;
}

.summary-checks input {
  width: 16px;
  height: 16px;
  accent-color: var(--tactical-green);
}

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}


/* =========================
   QUICK REFERENCE
========================= */

.quick-reference {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--tactical-border-strong);
  background:
    linear-gradient(110deg, rgba(159, 202, 132, 0.09), transparent 56%),
    var(--tactical-panel);
}

.quick-reference-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.quick-reference-heading small {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.quick-reference-heading h2 {
  margin: 5px 0 0;
  color: var(--tactical-text);
  font-size: 22px;
}

.quick-reference-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--tactical-border);
}

.quick-reference-grid > div {
  min-height: 105px;
  padding: 18px;
  border-right: 1px solid var(--tactical-border);
}

.quick-reference-grid > div:last-child {
  border-right: 0;
}

.quick-reference-grid span,
.emergency-card > span,
.safety-check-grid span {
  color: rgba(159, 202, 132, 0.36);
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  font-weight: 700;
}

.quick-reference-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--tactical-text);
  font-size: 14px;
}

.quick-reference-grid p {
  margin: 5px 0 0;
  color: var(--tactical-muted);
  font-size: 10px;
  line-height: 1.6;
}

/* =========================
   CONTACT SCENARIOS
========================= */

.contact-scenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.scenario-card {
  padding: 26px;
  border: 1px solid var(--tactical-border);
  background: var(--tactical-panel-soft);
}

.scenario-card.danger {
  border-top-color: rgba(201, 120, 109, 0.62);
}

.scenario-card small,
.emergency-card small,
.safety-checklist > small,
.safety-rules small {
  color: var(--tactical-green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.scenario-card.danger small {
  color: #d4867a;
}

.scenario-card h3,
.emergency-card h3,
.safety-checklist h3,
.safety-rules h3 {
  margin: 8px 0 16px;
  color: var(--tactical-text);
  font-size: 18px;
}

.scenario-card ol,
.emergency-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--tactical-muted);
  font-size: 12px;
  line-height: 1.9;
}

/* =========================
   EMERGENCY
========================= */

.emergency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.emergency-card {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--tactical-border);
  background:
    linear-gradient(125deg, rgba(159, 202, 132, 0.045), transparent 52%),
    var(--tactical-panel-soft);
}

.emergency-card small {
  display: block;
  margin-top: 18px;
}

/* =========================
   SAFETY
========================= */

.safety-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px;
}

.safety-checklist,
.safety-rules {
  padding: 28px;
  border: 1px solid var(--tactical-border);
  background: var(--tactical-panel-soft);
}

.safety-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.safety-check-grid > div {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(159, 202, 132, 0.12);
  background: rgba(0, 0, 0, 0.14);
}

.safety-check-grid strong {
  display: block;
  margin-top: 9px;
  color: var(--tactical-text);
  font-size: 13px;
}

.safety-check-grid p {
  margin: 5px 0 0;
  color: var(--tactical-muted);
  font-size: 10px;
  line-height: 1.6;
}

.safety-rules {
  display: grid;
  gap: 10px;
}

.safety-rules article {
  padding: 18px;
  border: 1px solid rgba(159, 202, 132, 0.12);
}

.safety-rules h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.safety-rules p {
  margin: 0;
  color: var(--tactical-muted);
  font-size: 11px;
  line-height: 1.75;
}

.callout-warning {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-top: 12px;
  padding: 24px 28px;
  border: 1px solid rgba(201, 120, 109, 0.38);
  background: linear-gradient(90deg, rgba(201, 120, 109, 0.1), transparent);
}

.callout-warning strong {
  color: #e3a49a;
  font-size: 15px;
}

.callout-warning p {
  margin: 0;
  color: var(--tactical-muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .quick-reference-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-reference-grid > div {
    border-bottom: 1px solid var(--tactical-border);
  }

  .quick-reference-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .quick-reference-grid > div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .contact-scenarios,
  .emergency-grid,
  .safety-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .quick-reference {
    padding: 20px;
  }

  .quick-reference-grid,
  .safety-check-grid {
    grid-template-columns: 1fr;
  }

  .quick-reference-grid > div,
  .quick-reference-grid > div:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--tactical-border);
  }

  .quick-reference-grid > div:last-child {
    grid-column: auto;
  }

  .callout-warning {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media print {
  .cursor-glow,
  .noise-layer,
  .scanline-layer,
  .site-header,
  .mobile-nav,
  .site-footer,
  .tactical-hero-actions,
  .summary-actions {
    display: none !important;
  }

  body,
  .tactical-page,
  .tactical-hero,
  .principle-card,
  .role-card,
  .formation-card,
  .radio-card,
  .attack-card,
  .defense-card,
  .emergency-card,
  .safety-checklist,
  .safety-rules {
    background: #fff !important;
    color: #111 !important;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .tactical-chapter {
    break-inside: avoid;
  }
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
  .role-grid,
  .defense-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-sequence {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-step:nth-child(3) {
    border-right: 0;
  }

  .contact-step:nth-child(-n + 3) {
    border-bottom: 1px solid var(--tactical-border);
  }

  .operation-flow {
    flex-wrap: wrap;
  }

  .operation-flow > div {
    flex: 0 0 calc(33.333% - 14px);
  }

  .operation-flow > i {
    display: none;
  }
}

@media (max-width: 900px) {
  .tactical-hero {
    min-height: auto;
  }

  .tactical-hero-inner {
    min-height: 690px;
  }

  .tactical-hero-status {
    grid-template-columns: repeat(2, 1fr);
  }

  .tactical-hero-status div:nth-child(2) {
    border-right: 0;
  }

  .tactical-hero-status div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--tactical-border);
  }

  .tactical-index-grid,
  .principle-grid,
  .formation-grid,
  .radio-layout,
  .do-dont-grid {
    grid-template-columns: 1fr;
  }

  .formation-card {
    grid-template-columns: 150px 1fr;
  }

  .movement-techniques,
  .radio-rules,
  .attack-grid {
    grid-template-columns: 1fr;
  }

  .movement-technique,
  .radio-rules div {
    border-right: 0;
    border-bottom: 1px solid var(--tactical-border);
  }

  .movement-technique:last-child,
  .radio-rules div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .tactical-page section[id] {
    scroll-margin-top: 82px;
  }

  .tactical-hero {
    padding-top: 70px;
  }

  .tactical-hero-inner {
    min-height: 650px;
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .tactical-hero-meta {
    font-size: 8px;
  }

  .tactical-hero-content {
    padding: 58px 0 40px;
  }

  .tactical-hero h1 {
    font-size: clamp(58px, 20vw, 94px);
  }

  .tactical-hero-ja {
    font-size: 22px;
  }

  .tactical-hero-description {
    font-size: 13px;
    line-height: 1.85;
  }

  .tactical-hero-status div {
    min-height: 76px;
    padding: 16px;
  }

  .tactical-notice {
    grid-template-columns: 1fr;
    margin-top: 38px;
    padding: 22px;
  }

  .notice-mark {
    width: 46px;
    height: 46px;
  }

  .chapter-heading {
    grid-template-columns: 58px 1fr;
    gap: 14px;
  }

  .chapter-number {
    font-size: 40px;
  }

  .tactical-chapter {
    padding-top: 76px;
  }

  .tactical-index-grid,
  .role-grid,
  .defense-grid,
  .radio-examples,
  .summary-checks {
    grid-template-columns: 1fr;
  }

  .tactical-index-card {
    grid-template-columns: 42px 1fr 20px;
    gap: 12px;
    min-height: 118px;
    padding: 20px;
  }

  .formation-card {
    grid-template-columns: 1fr;
  }

  .formation-visual {
    width: 100%;
  }

  .contact-sequence {
    grid-template-columns: 1fr;
  }

  .contact-step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--tactical-border);
  }

  .contact-step:last-child {
    border-bottom: 0;
  }

  .operation-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .operation-flow > div {
    min-width: 0;
  }

  .patrol-timeline {
    padding-left: 22px;
  }

  .patrol-timeline::before {
    left: 7px;
  }

  .patrol-step {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .patrol-step::before {
    left: -21px;
  }

  .tactical-summary {
    margin-top: 76px;
    margin-bottom: 56px;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .tactical-index-card {
    transition: none;
  }
}