/* TacOps Full Styles Recovery */
:root {
  --bg: #060a0f;
  --panel: rgba(13, 22, 31, 0.86);
  --panel-2: rgba(18, 30, 42, 0.78);
  --line: rgba(122, 146, 166, 0.24);
  --line-strong: rgba(213, 189, 113, 0.35);
  --text: #e8eef5;
  --muted: #93a6b8;
  --accent: #d5bd71;
  --accent-2: #9d7b37;
  --good: #6ee76c;
  --warn: #d5bd71;
  --danger: #ff6666;
  --blue: #69b7ff;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(105, 183, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(213, 189, 113, 0.12), transparent 24%),
    linear-gradient(135deg, #081018 0%, #05080c 50%, #0b1118 100%);
  background-attachment: fixed;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 12px;
  color: var(--text);
  background: rgba(9, 16, 23, 0.78);
  cursor: pointer;
  transition: 0.16s ease;
}

button:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

button.primary,
.primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #111;
  border-color: rgba(213, 189, 113, 0.55);
  font-weight: 900;
}

button.danger-text,
.danger-text {
  color: #ff9a9a;
  border-color: rgba(255, 102, 102, 0.28);
  background: rgba(127, 29, 29, 0.16);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 11px;
  color: var(--text);
  background: rgba(5, 10, 15, 0.72);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 86px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

label span {
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 4px;
  font-size: 20px;
}

p {
  color: #cfdae4;
  line-height: 1.45;
}

small,
.muted {
  color: var(--muted);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(10, 17, 24, 0.98), rgba(5, 9, 13, 0.98)),
    radial-gradient(circle at top, rgba(213, 189, 113, 0.12), transparent 32%);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  overflow: visible;
  padding: 8px 0;
}

.brand.logo-only img {
  width: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform: scale(.80);
}

.collapse-btn {
  font-size: 12px;
  padding: 7px 8px;
  color: var(--muted);
}

.grouped-nav,
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-group {
  display: grid;
  gap: 5px;
}

.nav-group-title {
  color: rgba(214, 226, 238, 0.46);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 8px 2px;
}

.sidebar nav button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.sidebar nav button.active {
  border-color: var(--line-strong);
  background:
    linear-gradient(135deg, rgba(213, 189, 113, 0.16), rgba(105, 183, 255, 0.06));
  box-shadow: inset 0 0 0 1px rgba(213, 189, 113, 0.16);
}

.nav-icon {
  width: 22px;
  display: inline-flex;
  justify-content: center;
  color: var(--accent);
}

.nav-label {
  white-space: nowrap;
}

.sidebar-status {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.sidebar-status div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
}

.sidebar-status b {
  color: var(--text);
}

.sidebar-collapsed {
  grid-template-columns: 86px minmax(0, 1fr);
}

.sidebar-collapsed .sidebar {
  padding-inline: 12px;
}

.sidebar-collapsed .brand {
  min-height: 70px;
}

.sidebar-collapsed .brand.logo-only img {
  width: 56px;
  transform: none;
}

.sidebar-collapsed .nav-label,
.sidebar-collapsed .sidebar-status div,
.sidebar-collapsed .nav-group-title {
  display: none;
}

.sidebar-collapsed .collapse-btn {
  display: block !important;
}

.sidebar-collapsed .sidebar nav button {
  justify-content: center;
  padding-inline: 8px;
}

.main-panel {
  min-width: 0;
  padding: 22px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(13, 22, 31, 0.86), rgba(8, 14, 20, 0.74));
  box-shadow: var(--shadow);
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.status-ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.status-ribbon span,
.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 800;
}

.status-good,
.badge.good {
  color: var(--good) !important;
  border-color: rgba(110, 231, 108, 0.28);
}

.badge.warn {
  color: var(--warn);
  border-color: rgba(213, 189, 113, 0.3);
}

.badge.danger {
  color: var(--danger);
  border-color: rgba(255, 102, 102, 0.32);
}

.badge.neutral {
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel,
.card,
.mission-card,
.equipment-row {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(18, 30, 42, 0.82), rgba(8, 14, 20, 0.76));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.grid {
  display: grid;
  gap: 14px;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card-title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  background: rgba(8, 14, 20, 0.68);
}

.stat-card small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.stat-card b {
  display: block;
  font-size: 32px;
  margin-top: 6px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.full {
  grid-column: 1 / -1;
}

.mission-list {
  display: grid;
  gap: 12px;
}

.mission-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.mission-card.priority-critical {
  border-color: rgba(255, 102, 102, 0.42);
}

.mission-card.priority-high {
  border-color: rgba(213, 189, 113, 0.42);
}

.mission-title {
  font-size: 18px;
  font-weight: 950;
}

.mission-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.mission-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.empty {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(6px);
}

.modal {
  width: min(1050px, 96vw);
  max-height: 92vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(18, 30, 42, 0.98), rgba(7, 12, 18, 0.98));
  box-shadow: var(--shadow);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.equipment-list {
  display: grid;
  gap: 10px;
}

.equipment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 260px) 160px;
  gap: 12px;
  align-items: center;
}

.equipment-row small {
  display: block;
  margin-top: 4px;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
}

.progress {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.timeline-feed {
  display: grid;
  gap: 10px;
}

.timeline-entry {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 14, 20, 0.52);
}

.timeline-entry .dot {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(213, 189, 113, 0.45);
}

.timeline-entry small {
  display: block;
  margin-top: 3px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Warrant / Operations Planning */
.warrant-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(520px, 1.25fr);
  gap: 16px;
  align-items: start;
}

.warrant-form {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.warrant-form textarea {
  min-height: 76px;
}

/* Tactical Map / Staging Board */
.map-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1.35fr) minmax(360px, 0.75fr);
  gap: 16px;
  align-items: start;
}

.tactical-map {
  position: relative;
  height: 560px;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(120, 145, 165, 0.25);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 45%, rgba(93, 135, 152, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(135deg, rgba(14, 24, 32, 0.96), rgba(7, 12, 17, 0.98));
  background-size: auto, 40px 40px, 40px 40px, auto;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.35);
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(105,183,255,0.16) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(105,183,255,0.16) 50%, transparent 50.2%);
  pointer-events: none;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.35);
  background: rgba(20, 30, 42, 0.95);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px currentColor;
}

.map-pin.command-post { color: #69b7ff; }
.map-pin.staging { color: #d5bd71; }
.map-pin.ems { color: #6ee76c; }
.map-pin.target-location { color: #ff6666; }
.map-pin.perimeter,
.map-pin.containment { color: #b58cff; }
.map-pin.route-in,
.map-pin.route-out { color: #8ee7ff; }
.map-pin.overwatch { color: #ffb86b; }

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  margin-top: 12px;
  font-size: 13px;
}

.legend-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  margin-right: 6px;
}

.legend-dot.command { background: #69b7ff; }
.legend-dot.staging { background: #d5bd71; }
.legend-dot.ems { background: #6ee76c; }
.legend-dot.target { background: #ff6666; }
.legend-dot.perimeter { background: #b58cff; }

.selected-zone {
  margin-bottom: 16px;
}

.soft-rule {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.09);
  margin: 18px 0;
}

/* Attachments */
.attachment-panel {
  grid-column: 1 / -1;
  margin-top: 12px;
  border: 1px dashed rgba(120, 145, 165, 0.35);
  border-radius: 16px;
  padding: 14px;
  background: rgba(8, 13, 18, 0.45);
}

.attachment-help {
  color: var(--muted);
  font-size: 12px;
  margin-top: -6px;
  margin-bottom: 12px;
}

.attachment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.attachment-card {
  border: 1px solid rgba(120, 145, 165, 0.22);
  border-radius: 14px;
  padding: 10px;
  background: rgba(15, 23, 33, 0.72);
}

.attachment-preview {
  width: 100%;
  height: 112px;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
}

.attachment-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attachment-name {
  margin-top: 8px;
  font-weight: 800;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-meta {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.attachment-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.attachment-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.attachment-viewer-inner {
  width: min(980px, 96vw);
  max-height: 92vh;
  overflow: auto;
  background: #0f1721;
  border: 1px solid rgba(120, 145, 165, 0.35);
  border-radius: 18px;
  padding: 16px;
}

.attachment-large {
  max-width: 100%;
  max-height: 72vh;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

.attachment-pdf {
  width: 100%;
  height: 72vh;
  border: 0;
  border-radius: 12px;
  background: white;
}

/* Live Operations */
.live-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(420px, 1.05fr);
  gap: 16px;
  margin-bottom: 16px;
}

.live-clock {
  border: 1px solid rgba(120,145,165,0.28);
  background: rgba(8,13,18,0.72);
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 170px;
  text-align: center;
}

.live-clock span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.live-clock b {
  display: block;
  font-size: 24px;
  margin-top: 3px;
  color: #6ee76c;
  font-variant-numeric: tabular-nums;
}

.live-clock.running b { color: #6ee76c; }
.live-clock.paused b { color: #d5bd71; }
.live-clock.stopped b,
.live-clock.ended b { color: #ff6666; }

.live-op-card {
  border: 1px solid rgba(120,145,165,0.22);
  border-radius: 16px;
  padding: 14px;
  background: rgba(7,12,18,0.42);
}

.live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.quick-event-grid button {
  text-align: left;
  min-height: 44px;
  background: rgba(8,13,18,0.55);
}

.unit-status-list {
  display: grid;
  gap: 8px;
}

.unit-status-row {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(120,145,165,0.18);
  border-radius: 14px;
  padding: 10px;
  background: rgba(7,12,18,0.38);
}

.unit-status-row small {
  display: block;
  margin-top: 3px;
}

.live-log {
  display: grid;
  gap: 8px;
}

.live-log-entry {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  border: 1px solid rgba(120,145,165,0.18);
  border-radius: 14px;
  padding: 10px;
  background: rgba(7,12,18,0.38);
}

.live-log-time {
  color: #6ee76c;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.live-log-entry small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.live-log-entry p {
  margin: 6px 0 0;
  color: #d7e1ea;
  line-height: 1.4;
}

.live-log-actions,
.live-log-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.live-log-actions button {
  padding: 6px 9px;
  font-size: 12px;
}

.live-edit-form {
  border: 1px solid rgba(120,145,165,0.24);
  border-radius: 14px;
  background: rgba(7,12,18,0.45);
  padding: 12px;
  margin-bottom: 14px;
}

/* Roster Manager */
.roster-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1.1fr) minmax(340px, 0.7fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.roster-add-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 10px;
}

.roster-team-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.roster-card {
  border: 1px solid rgba(120,145,165,0.22);
  border-radius: 16px;
  padding: 14px;
  background: rgba(7,12,18,0.42);
}

.roster-card p {
  margin: 8px 0;
  color: #d7e1ea;
}

@media (max-width: 1200px) {
  .warrant-layout,
  .map-layout,
  .live-layout,
  .roster-layout {
    grid-template-columns: 1fr;
  }

  .warrant-form {
    position: static;
    max-height: none;
  }
}

@media (max-width: 900px) {
  .app-shell,
  .sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
  }

  .main-panel {
    padding: 14px;
  }

  .topbar,
  .section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .mission-card,
  .equipment-row,
  .two-col,
  .unit-status-row,
  .live-log-entry {
    grid-template-columns: 1fr;
  }

  .mission-actions {
    justify-content: flex-start;
  }

  .status-ribbon {
    justify-content: flex-start;
  }

  .roster-add-row {
    grid-template-columns: 1fr;
  }
}


/* Dashboard colored command circles restore v14 */
.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(213, 189, 113, .13), transparent 30%),
    linear-gradient(145deg, rgba(18, 30, 42, .82), rgba(8, 14, 20, .76));
  box-shadow: var(--shadow);
}

.dashboard-hero h2 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.04em;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-rings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.dashboard-ring-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  text-align: center;
  border-radius: 24px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,.06), transparent 44%),
    linear-gradient(145deg, rgba(18, 30, 42, .88), rgba(7, 12, 18, .86));
  box-shadow: 0 16px 45px rgba(0,0,0,.24);
}

.dashboard-ring-card:hover {
  transform: translateY(-2px);
}

.ring-glow {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  display: block;
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  opacity: .95;
  border: 8px solid currentColor;
  box-shadow:
    0 0 28px currentColor,
    inset 0 0 24px rgba(255,255,255,.08);
}

.ring-value {
  position: relative;
  z-index: 1;
  min-height: 92px;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 950;
  letter-spacing: -0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.ring-label {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-weight: 950;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .1em;
  margin-top: 2px;
}

.ring-sub {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.tone-blue {
  color: #69b7ff;
  border-color: rgba(105,183,255,.36);
}

.tone-red {
  color: #ff6666;
  border-color: rgba(255,102,102,.36);
}

.tone-green {
  color: #6ee76c;
  border-color: rgba(110,231,108,.36);
}

.tone-gold {
  color: #d5bd71;
  border-color: rgba(213,189,113,.4);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(460px, 1.2fr) minmax(340px, .8fr);
  gap: 16px;
  align-items: start;
}

.mission-list.compact .mission-card {
  grid-template-columns: minmax(0, 1fr) auto;
}

.readiness-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.readiness-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 240px);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(120,145,165,.18);
  border-radius: 14px;
  padding: 10px;
  background: rgba(7,12,18,.38);
}

.readiness-row small {
  display: block;
  margin-top: 3px;
}

@media (max-width: 1100px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .readiness-row {
    grid-template-columns: 1fr;
  }
}


/* Timeline management controls */
.timeline-management-head {
  align-items: center;
}

.timeline-management-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.timeline-management-actions select {
  min-width: 240px;
  max-width: 360px;
}

.timeline-entry-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.timeline-delete-btn {
  padding: 5px 9px;
  font-size: 12px;
  border-radius: 10px;
  flex: 0 0 auto;
}

button:disabled,
button:disabled:hover {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* Roster dashboard-style command circles */
.roster-command-rings {
  margin-bottom: 18px;
}

.roster-command-rings .dashboard-ring-card {
  min-height: 168px;
}

.roster-command-rings .ring-value {
  font-size: 32px;
}

/* Personnel Assignment Board */
.assignment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.assignment-command-strip {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) repeat(3, minmax(120px, 160px));
  gap: 12px;
  margin-bottom: 16px;
}

.assignment-stat-card {
  border: 1px solid currentColor;
  border-radius: 18px;
  padding: 12px;
  text-align: center;
  background: rgba(8, 14, 20, 0.62);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.assignment-stat-card b {
  display: block;
  color: var(--text);
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.assignment-stat-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.assignment-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1.35fr) minmax(320px, .65fr);
  gap: 16px;
  align-items: start;
}

.assignment-board-panel {
  min-width: 0;
}

.assignment-board-head,
.assignment-team-title,
.assignment-slot-top,
.assignment-operator-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.assignment-board-head {
  margin-bottom: 14px;
}

.assignment-team-stack,
.assignment-side-stack,
.assignment-available-list,
.assignment-custom-form {
  display: grid;
  gap: 12px;
}

.assignment-team {
  border: 1px solid rgba(120,145,165,.22);
  border-radius: 18px;
  padding: 12px;
  background: rgba(7,12,18,.34);
}

.assignment-team-title {
  align-items: center;
  margin-bottom: 10px;
}

.assignment-team-title span {
  font-weight: 950;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.assignment-team-title small {
  color: var(--muted);
  font-weight: 800;
}

.assignment-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.assignment-slot {
  border: 1px solid rgba(120,145,165,.20);
  border-radius: 16px;
  padding: 12px;
  background: rgba(8,14,20,.58);
}

.assignment-slot.filled {
  border-color: rgba(110,231,108,.24);
}

.assignment-slot.vacant {
  border-color: rgba(255,102,102,.22);
}

.assignment-slot small,
.assignment-operator-row small,
.assigned-operator-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.assigned-operator-card,
.assignment-vacant-note {
  margin: 10px 0;
  border: 1px solid rgba(120,145,165,.16);
  border-radius: 14px;
  padding: 10px;
  background: rgba(0,0,0,.18);
  min-height: 76px;
}

.assigned-operator-card strong {
  display: block;
  font-size: 16px;
}

.assignment-vacant-note {
  color: var(--muted);
  display: grid;
  place-items: center;
  text-align: center;
  border-style: dashed;
}

.assignment-slot-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.assignment-operator-row {
  align-items: center;
  border: 1px solid rgba(120,145,165,.18);
  border-radius: 14px;
  padding: 10px;
  background: rgba(7,12,18,.38);
}

@media (max-width: 1150px) {
  .assignment-layout,
  .assignment-command-strip {
    grid-template-columns: 1fr;
  }

  .assignment-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .assignment-slot-controls,
  .assignment-board-head,
  .assignment-slot-top,
  .assignment-operator-row {
    grid-template-columns: 1fr;
    display: grid;
  }
}


/* Tactical Map Upgrade - draggable operation overlays */
.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.upgraded-map-layout {
  grid-template-columns: minmax(620px, 1.35fr) minmax(360px, 0.7fr);
}

.map-workspace-panel,
.map-side-panel {
  overflow: visible;
}

.map-control-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 1.3fr);
  gap: 12px;
  margin-bottom: 12px;
}

.upgraded-tactical-map {
  height: 680px;
  cursor: crosshair;
  user-select: none;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.map-crosshair {
  position: absolute;
  pointer-events: none;
  opacity: 0.28;
}

.map-crosshair.horizontal {
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed rgba(105,183,255,0.34);
}

.map-crosshair.vertical {
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px dashed rgba(105,183,255,0.34);
}

.map-direction-legend {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 96px;
  min-height: 96px;
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 8px;
  border: 1px solid rgba(213, 189, 113, 0.38);
  border-radius: 16px;
  background: rgba(5, 10, 15, 0.72);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28), inset 0 0 0 1px rgba(255,255,255,0.04);
  color: var(--text);
  pointer-events: none;
  backdrop-filter: blur(4px);
  font-weight: 950;
  letter-spacing: 0.08em;
}

.compass-n,
.compass-s {
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
}

.compass-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 9px;
  width: 100%;
  color: var(--muted);
  font-size: 12px;
}

.compass-row span:first-child { text-align: right; }
.compass-row span:last-child { text-align: left; }

.compass-core {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--accent);
  border: 1px solid rgba(213, 189, 113, 0.42);
  background: rgba(213, 189, 113, 0.08);
  box-shadow: 0 0 14px rgba(213, 189, 113, 0.2);
}

.compass-arrow {
  margin-top: -2px;
  margin-bottom: -2px;
  color: var(--accent);
  font-size: 20px;
  line-height: 0.9;
}

.map-pin {
  touch-action: none;
  cursor: grab;
  z-index: 2;
}

.map-pin:active {
  cursor: grabbing;
}

.map-pin.selected {
  border-color: #fff;
  transform: translate(-50%, -50%) scale(1.18);
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.18),
    0 0 26px currentColor;
  z-index: 5;
}

.map-pin.breach-point { color: #ffb000; }
.map-pin.ccp-medical { color: #6ee76c; }
.map-pin.evidence { color: #f5f7ff; }
.map-pin.vehicle { color: #69b7ff; }
.map-pin.hazard { color: #ff4d4d; }

.upgraded-map-legend {
  gap: 8px 12px;
}

.upgraded-map-legend span {
  border: 1px solid rgba(120,145,165,0.2);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(7,12,18,0.34);
}

.legend-dot.command-post { background: #69b7ff; }
.legend-dot.breach-point { background: #ffb000; }
.legend-dot.ccp-medical { background: #6ee76c; }
.legend-dot.route-in,
.legend-dot.route-out { background: #8ee7ff; }
.legend-dot.overwatch { background: #ffb86b; }
.legend-dot.containment { background: #b58cff; }
.legend-dot.evidence { background: #f5f7ff; }
.legend-dot.vehicle { background: #69b7ff; }
.legend-dot.hazard { background: #ff4d4d; }

.marker-editor {
  display: grid;
  gap: 12px;
}

.map-add-form {
  display: grid;
  gap: 12px;
}

@media (max-width: 1200px) {
  .upgraded-map-layout,
  .map-control-strip {
    grid-template-columns: 1fr;
  }

  .upgraded-tactical-map {
    height: 560px;
  }
}

/* Real geographic tactical map tiles */
.real-map-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
  padding: 12px;
  border: 1px solid rgba(120,145,165,.22);
  border-radius: 16px;
  background: rgba(7,12,18,.42);
}

.real-map-enabled {
  background: #121820 !important;
}

.osm-tile-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  filter: saturate(.85) contrast(.92) brightness(.72);
}

.osm-tile-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(5,10,15,.10), rgba(5,10,15,.30));
  pointer-events: none;
}

.osm-tile-layer img {
  position: absolute;
  width: 33.3334%;
  height: 33.3334%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.osm-attribution {
  position: absolute;
  right: 8px;
  bottom: 6px;
  z-index: 2;
  padding: 3px 6px;
  border-radius: 999px;
  color: rgba(232,238,245,.78);
  background: rgba(0,0,0,.48);
  font-size: 10px;
  font-weight: 800;
}

.real-map-enabled .map-grid-lines {
  opacity: .28;
  z-index: 1;
}

.real-map-enabled .map-crosshair,
.real-map-enabled .map-direction-legend,
.real-map-enabled .map-pin {
  z-index: 4;
}


/* True Leaflet geographic map */
.leaflet-map-shell {
  position: relative;
  height: 680px;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(120, 145, 165, 0.25);
  border-radius: 18px;
  background: #101820;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.35);
}

.leaflet-real-map {
  height: 100%;
  width: 100%;
  z-index: 1;
  background: #101820;
}

.leaflet-real-map .leaflet-control-container {
  font-family: inherit;
}

.leaflet-real-map .leaflet-control-zoom a {
  background: rgba(5, 10, 15, 0.9);
  color: var(--text);
  border-color: rgba(120, 145, 165, 0.35);
}

.leaflet-real-map .leaflet-control-zoom a:hover {
  background: rgba(18, 30, 42, 0.95);
  color: var(--accent);
}

.leaflet-real-map .leaflet-popup-content-wrapper,
.leaflet-real-map .leaflet-popup-tip {
  background: rgba(10, 17, 24, 0.96);
  color: var(--text);
  border: 1px solid rgba(120, 145, 165, 0.35);
}

.leaflet-real-map .leaflet-popup-content {
  margin: 10px 12px;
  color: var(--text);
}

.leaflet-tac-pin {
  width: 46px !important;
  height: 46px !important;
  margin-left: -23px !important;
  margin-top: -23px !important;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.52);
  background: rgba(20, 30, 42, 0.95);
  color: #fff;
  font-weight: 950;
  font-size: 11px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px currentColor;
}

.leaflet-tac-pin span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.leaflet-tac-pin.command-post { color: #69b7ff; }
.leaflet-tac-pin.staging { color: #d5bd71; }
.leaflet-tac-pin.ems { color: #6ee76c; }
.leaflet-tac-pin.target-location { color: #ff6666; }
.leaflet-tac-pin.perimeter,
.leaflet-tac-pin.containment { color: #b58cff; }
.leaflet-tac-pin.route-in,
.leaflet-tac-pin.route-out { color: #8ee7ff; }
.leaflet-tac-pin.overwatch { color: #ffb86b; }
.leaflet-tac-pin.breach-point { color: #ffb000; }
.leaflet-tac-pin.ccp-medical { color: #6ee76c; }
.leaflet-tac-pin.evidence { color: #f5f7ff; }
.leaflet-tac-pin.vehicle { color: #69b7ff; }
.leaflet-tac-pin.hazard { color: #ff4d4d; }

.leaflet-compass {
  z-index: 500;
}

@media (max-width: 1200px) {
  .leaflet-map-shell {
    height: 560px;
  }
}
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}
