/* Eigen opmaak van deze site. De gedeelde regels staan in css/base.css, css/les.css, css/kaarten.css,
   css/intel-drone.css (bron: shared/files/, verspreid met node shared/sync.mjs); die laden vóór dit bestand. */
/* ============================================================
   Drone Academy — "drone ops" thema
   Donker antraciet met drone-oranje/amber accenten
   Gebaseerd op het designsysteem van de VKS/EW/Intel-academies
   ============================================================ */

:root {
  --bg:          #0a0d12;
  --bg-panel:    #11161e;
  --bg-raised:   #171f2a;
  --bg-hover:    #1d2735;
  --border:      #283546;
  --border-soft: #1c2632;
  --text:        #dbe3ec;
  --text-dim:    #93a1b3;
  --text-faint:  #61708a;
  --accent:      #f0883e;   /* drone-oranje */
  --accent-dim:  #c96b28;
  --accent-bg:   rgba(240, 136, 62, 0.09);
  --amber:       #e8b04a;
  --amber-bg:    rgba(232, 176, 74, 0.09);
  --steel:       #46c188;   /* groen voor kernpunten */
  --danger:      #f85149;
  --ok:          #4ac98a;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --topbar-h: 56px;
  --sidebar-w: 320px;
}

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 75% -10%, rgba(240, 136, 62, 0.06), transparent),
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(70, 193, 136, 0.04), transparent);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

/* Notitie / waarschuwing / voorbeeld / kernpunt */
.note { background: var(--accent-bg); border: 1px solid rgba(240,136,62,0.25); }

/* ============================================================
   REFERENTIEKAARTEN (galerij + modal)
   ============================================================ */

.t-frame .thr-badge { background: rgba(240,136,62,0.16); color: var(--accent); border-color: rgba(240,136,62,0.3); }

/* kaart-modal */

.t-frame .ts-badge { background: rgba(240,136,62,0.18); color: var(--accent); border: 1px solid var(--accent-dim); }

/* Geanalyseerde ontwikkelingen uit de RU Mil Tracker (crosscheck.json) */
.ts-feed { border-top: 2px solid var(--accent-dim); }
.tf-item { display: block; padding: 7px 12px; border-bottom: 1px solid var(--border-soft); text-decoration: none; }
.tf-item:hover { background: var(--bg-hover); }
.tf-title { display: block; color: var(--text); font-size: 13px; line-height: 1.45; }
.tf-item:hover .tf-title { color: #fff; }
.tf-meta { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--text-faint); margin-top: 2px; letter-spacing: 0.03em; }
.tf-disclaimer { padding: 7px 12px; font-size: 10.5px; line-height: 1.5; color: var(--text-faint); background: var(--bg-panel); }

/* ============================================================
   OSINT-CASUSMODULE (stapsgewijze incidentanalyse)
   ============================================================ */
.case-box { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; max-width: 760px; }
.case-badge {
  display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent-dim); border-radius: 20px; padding: 3px 12px; margin-bottom: 12px;
}
.case-progress { font-family: var(--mono); font-size: 11.5px; color: var(--text-faint); letter-spacing: 0.06em; margin-bottom: 10px; }
.case-box h3 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.case-intro { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; margin-bottom: 18px; font-style: italic; }
.case-prompt { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.5; margin-bottom: 16px; }
.case-options { display: flex; flex-direction: column; gap: 9px; }
.case-opt {
  display: block; width: 100%; text-align: left; background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 15px; color: var(--text); cursor: pointer; font-family: inherit; font-size: 13.5px; line-height: 1.5;
}
.case-opt:hover:not(:disabled) { border-color: var(--accent-dim); }
.case-opt.good { border-color: var(--steel); background: rgba(70,193,136,0.1); color: var(--steel); }
.case-opt.bad { border-color: var(--danger); background: rgba(248,81,73,0.08); color: var(--danger); }
.case-opt.dim { opacity: 0.45; }
.case-opt:disabled { cursor: default; }
.case-feedback { margin-top: 14px; font-size: 13px; color: var(--text-dim); line-height: 1.6; padding-top: 12px; border-top: 1px solid var(--border-soft); }
.case-next { margin-top: 18px; }
.case-done .case-conclusion { background: var(--accent-bg); border: 1px solid var(--accent-dim); border-radius: 9px; padding: 14px 18px; margin: 10px 0 18px; }
.case-done .case-conclusion .lbl { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.case-done .case-conclusion p { font-size: 13.5px; color: var(--text); line-height: 1.6; }

/* ============================================================
   KAART (productie- en lanceerlocaties)
   ============================================================ */
.map-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0 14px; }
.mf-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: 1px; }
.map-stage { position: relative; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; padding: 10px; max-width: 980px; }
.map-stage svg { display: block; width: 100%; height: auto; }
.map-sea { fill: #0c121c; }
.map-land { fill: #1b2735; stroke: #3a4d63; stroke-width: 1; }
.map-land-rus { fill: #232f24; stroke: #4a6b4c; }
.map-relief { mix-blend-mode: soft-light; pointer-events: none; }
.dmk { cursor: pointer; }
.dmk-halo { opacity: 0.28; transition: opacity 0.12s, r 0.12s; }
.dmk:hover .dmk-halo { opacity: 0.5; r: 11; }
.dmk-dot { transition: r 0.12s; }
.dmk:hover .dmk-dot { r: 5.5; }
.map-tooltip {
  position: absolute; z-index: 5; pointer-events: none; max-width: 240px;
  background: rgba(13,17,23,0.97); border: 1px solid var(--accent-dim); border-radius: 9px;
  padding: 10px 12px; box-shadow: 0 8px 28px rgba(0,0,0,0.6);
}
.map-tooltip .tt-name { font-weight: 700; font-size: 13.5px; color: var(--text); }
.map-tooltip .tt-type { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.map-tooltip .tt-detail { font-size: 12px; color: var(--text-dim); margin-top: 5px; line-height: 1.5; }
.map-hint { margin-top: 8px; font-family: var(--mono); font-size: 11px; color: rgba(150,165,185,0.6); padding: 0 4px 4px; }
.map-count { margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--text-faint); }

/* ============================================================
   PRECEDENTEN-TIJDLIJN (klikbare horizontale tijdlijn)
   ============================================================ */
.tl-wrap { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 12px; padding: 20px; max-width: 980px; margin: 20px 0; }
.tl-strip { display: flex; justify-content: space-between; position: relative; margin: 8px 4px 22px 4px; }
.tl-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--border); }
.tl-ev { background: none; border: none; cursor: pointer; position: relative; text-align: center; flex: 1; padding: 0 4px; font-family: inherit; }
.tl-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--tl-c, var(--accent)); margin: 2px auto 8px auto; position: relative; z-index: 2; transition: transform 0.15s; }
.tl-ev:hover .tl-dot { transform: scale(1.25); }
.tl-ev.active .tl-dot { background: var(--tl-c, var(--accent)); }
.tl-date { font-family: var(--mono); font-size: 10.5px; color: var(--text-faint); font-weight: 700; display: block; }
.tl-name { font-size: 11.5px; color: var(--text); display: block; margin-top: 2px; line-height: 1.25; }
.tl-ev.active .tl-name { color: var(--accent); font-weight: 700; }
.tl-detail { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; }
.tl-detail h3 { font-size: 15.5px; color: var(--text); margin: 0 0 8px; }
.tl-detail .tl-facts { font-size: 13px; line-height: 1.6; color: var(--text-dim); margin-bottom: 10px; }
.tl-detail .tl-why { font-size: 13px; color: var(--amber); line-height: 1.5; border-top: 1px solid var(--border-soft); padding-top: 10px; }
@media (max-width: 760px) {
  .tl-strip { overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }
  .tl-ev { min-width: 96px; }
}
