/*
  Report UAV — application styles.
  Звіт БПЛА — стилі додатку.

  Dark theme, CSS variables for colors/shadows, mobile-friendly layout,
  empty-field highlight (.is-empty), safe-area insets support.
*/

:root {
  --bg: #050607;
  --panel1: rgba(10, 15, 16, 0.92);
  --panel2: rgba(10, 15, 16, 0.7);
  --label: #55f3ff;
  --value: #00ff66;
  --muted: #7aa7a9;
  --danger: #ff4d6d;
  --stroke: rgba(85, 243, 255, 0.18);
  --stroke2: rgba(0, 255, 102, 0.28);

  --shadow-card:
    0 0 0 1px rgba(85, 243, 255, 0.18),
    0 12px 32px rgba(0, 0, 0, 0.65);

  --shadow-field:
    inset 0 0 0 1px rgba(0, 255, 102, 0.12),
    inset 0 6px 12px rgba(0, 0, 0, 0.55),
    0 6px 14px rgba(0, 0, 0, 0.55);

  --shadow-focus:
    0 0 0 2px rgba(85, 243, 255, 0.35),
    0 0 22px rgba(85, 243, 255, 0.25);

  --shadow-btn:
    inset 0 0 0 1px rgba(85, 243, 255, 0.15),
    0 8px 22px rgba(0, 0, 0, 0.6);

  --radius: 16px;
}

/* ========================================================= */
/* Base / База                                               */
/* ========================================================= */

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  height: 100%;
  overscroll-behavior-y: contain;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 50% 0%, rgba(0, 255, 102, 0.07), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(85, 243, 255, 0.05), transparent 55%),
    var(--bg);
  color: var(--value);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.25;
  user-select: none;
}

/* ========================================================= */
/* Layout / Макет                                            */
/* ========================================================= */

.wrap {
  min-height: 100%;
  padding: calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));
  max-width: 520px;
  margin: 0 auto;
}

.title {
  color: var(--label);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  margin: 8px 0 14px;
  text-shadow: 0 0 18px rgba(85, 243, 255, 0.18);
  text-align: center;
}

.card {
  background: linear-gradient(180deg, var(--panel1), var(--panel2));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-card);
}

/* ========================================================= */
/* Form elements / Елементи форми                            */
/* ========================================================= */

label {
  display: block;
  margin-top: 12px;
  color: var(--label);
  font-size: 15px;
  letter-spacing: 0.2px;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke2);
  background: rgba(0, 0, 0, 0.45);
  color: var(--value);
  font-size: 18px;
  outline: none;
  box-shadow: var(--shadow-field);
  user-select: text;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(85, 243, 255, 0.55);
  box-shadow: var(--shadow-focus);
}

textarea {
  font-size: 14px;
  font-family: ui-monospace, monospace;
  resize: none;
  min-height: 140px;
  overflow: hidden;
}

/* ========================================================= */
/* Rows, buttons, states / Рядки, кнопки, стани              */
/* ========================================================= */

.row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.small {
  flex: 0 0 140px;
}

button {
  border-radius: 12px;
  border: 1px solid rgba(85, 243, 255, 0.28);
  background: linear-gradient(180deg, rgba(18, 32, 34, 0.95), rgba(10, 15, 16, 0.7));
  color: var(--label);
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform 0.1s;
}

button:active {
  transform: translateY(2px) scale(0.98);
}

.btnSmall {
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 10px;
}

/* ========================================================= */
/* Special button: Journal Apply                             */
/* ========================================================= */

.btn-apply {
  margin-top: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(0, 255, 102, 0.55);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 255, 102, 0.18), rgba(0, 0, 0, 0.5));
  color: var(--value);
  font-weight: 800;
  font-size: 15px;
  box-shadow:
    0 0 18px rgba(0, 255, 102, 0.18),
    var(--shadow-btn);
  transition: all 0.15s ease;
}

.btn-apply:hover {
  box-shadow:
    0 0 24px rgba(0, 255, 102, 0.35),
    0 0 6px rgba(85, 243, 255, 0.35);
}

.btn-apply:active {
  transform: translateY(2px) scale(0.97);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.25);
}

/* ========================================================= */
/* Main submit button                                        */
/* ========================================================= */

#btnGenerate {
  display: block;
  width: 100%;
  margin: 20px auto 10px;
  padding: 16px;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(0, 255, 102, 0.15), rgba(0, 0, 0, 0.3));
  border-color: rgba(0, 255, 102, 0.4);
  color: var(--value);
}

.is-empty {
  border-color: var(--danger) !important;
  box-shadow: 0 0 10px rgba(255, 77, 109, 0.2) !important;
}

.status {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

/* ========================================================= */
/* Screens & summaries                                       */
/* ========================================================= */

.screen {
  margin-top: 0;
}

.screenHidden {
  display: none;
}

.journal-summary {
  margin-top: 12px;
  white-space: pre-line;
  font-size: 14px;
  color: var(--muted);
}

.journal-list {
  min-height: 80px;
  max-height: 260px;
  overflow-y: auto;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--stroke2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--value);
  font-size: 13px;
  font-family: ui-monospace, monospace;
  white-space: pre-line;
  box-shadow: var(--shadow-field);
}

.settings-note {
  margin-top: 4px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ========================================================= */
/* Journal period block                                      */
/* ========================================================= */

.journal-period-block {
  margin-top: 8px;
}

.journal-period-block .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.journal-period-block input[type="date"],
.journal-period-block input[type="time"] {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* ========================================================= */
/* Navigation menu                                           */
/* ========================================================= */

.screen-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.screen-menu.is-open {
  display: block;
}

.screen-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.screen-menu-panel {
  position: absolute;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  padding: 10px 10px 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel1), var(--panel2));
  box-shadow: var(--shadow-card);
}

.screen-menu-title {
  margin-bottom: 6px;
  text-align: center;
  font-size: 16px;
  color: var(--label);
}

.screen-menu-item {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  text-align: left;
  font-size: 16px;
}

.screen-menu-close {
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-color: rgba(255, 77, 109, 0.5);
  color: var(--danger);
  font-size: 16px;
}

.screen-menu-item.is-active {
  border-color: rgba(0, 255, 102, 0.9);
  background: linear-gradient(180deg, rgba(0, 255, 102, 0.18), rgba(0, 0, 0, 0.5));
  color: var(--value);
}

/* Map screen: toolbar (заголовок екрана — лише в #title; тут лише керування мапою) */
.map-screen-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 4px;
}

.map-fullscreen-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
  border-radius: 14px;
  border: 2px solid rgba(0, 255, 102, 0.55);
  background: linear-gradient(180deg, rgba(0, 255, 102, 0.16), rgba(0, 0, 0, 0.45));
  color: var(--value);
  cursor: pointer;
  box-shadow:
    0 0 14px rgba(0, 255, 102, 0.12),
    var(--shadow-btn);
  transition: transform 0.1s, border-color 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.map-fullscreen-toggle:hover {
  border-color: rgba(0, 255, 102, 0.8);
  box-shadow:
    0 0 20px rgba(0, 255, 102, 0.2),
    var(--shadow-btn);
}

.map-fullscreen-toggle:active {
  transform: translateY(1px) scale(0.97);
}

.map-fs-ico {
  display: block;
  pointer-events: none;
}

.map-fs-ico-collapse {
  display: none;
}

.map-fullscreen-toggle[aria-expanded="true"] .map-fs-ico-expand {
  display: none;
}

.map-fullscreen-toggle[aria-expanded="true"] .map-fs-ico-collapse {
  display: block;
}

#screen-map .map-leaflet-host {
  width: 100%;
  height: 52vh;
  min-height: 420px;
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
}

/* Leaflet — перемикач базових шарів (супутник, рельєф тощо) */
.leaflet-control-layers {
  border-radius: 14px !important;
  border: 1px solid rgba(85, 243, 255, 0.28) !important;
  background-color: rgba(10, 15, 16, 0.94) !important;
  color: var(--label) !important;
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.35) !important;
}

/* Тільки колір фону: шаблонна іконка шарів лишається з leaflet.css (background-image) */
.leaflet-control-layers-toggle {
  width: 40px !important;
  height: 40px !important;
  background-color: rgba(18, 26, 28, 0.96) !important;
  border-radius: 11px !important;
  border: 1px solid rgba(85, 243, 255, 0.4) !important;
}

.leaflet-control-layers-expanded {
  padding: 12px 14px 14px !important;
  min-width: 228px;
}

/* Leaflet: label > span > input + span(назва) — вирівнюємо рядком, не стовпчиком */
.leaflet-control-layers-base label {
  display: block !important;
  margin: 0 0 10px !important;
  padding: 10px 12px !important;
  border-radius: 11px !important;
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(85, 243, 255, 0.12) !important;
  cursor: pointer;
}

.leaflet-control-layers-base label:last-child {
  margin-bottom: 0 !important;
}

.leaflet-control-layers-base label > span {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100%;
}

.leaflet-control-layers-base .leaflet-control-layers-selector {
  flex-shrink: 0 !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  accent-color: rgba(85, 243, 255, 0.95);
}

.leaflet-control-layers-base label > span > span:last-child {
  flex: 1 1 auto !important;
  min-width: 0;
  font-size: 14px !important;
  font-weight: 650;
  line-height: 1.3 !important;
  color: rgba(85, 243, 255, 0.95) !important;
}

.leaflet-control-layers-separator {
  border-top-color: rgba(85, 243, 255, 0.15) !important;
  margin: 8px 0 !important;
}

/* Повноекранний режим мапи (в межах вікна застосунку; верх — під шапкою з заголовком) */
#screen-map.map-screen--expanded {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--map-fs-top, 0);
  z-index: 600;
  margin: 0;
  padding: 0;
  background: var(--bg);
  overflow: hidden;
}

#screen-map.map-screen--expanded .map-screen-card {
  position: relative;
  height: 100%;
  max-height: 100dvh;
  border-radius: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: block;
  background: var(--bg);
}

/* Кнопка розгортання — звичайний режим лишається в рядку над мапою */

#screen-map.map-screen--expanded .map-screen-top {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top));
  right: calc(10px + env(safe-area-inset-right));
  z-index: 1100;
  margin: 0;
  justify-content: flex-end;
  pointer-events: none;
}

#screen-map.map-screen--expanded .map-fullscreen-toggle {
  pointer-events: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(85, 243, 255, 0.5);
  background: rgba(10, 16, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--label);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 12px 28px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(85, 243, 255, 0.12),
    0 0 28px rgba(85, 243, 255, 0.18);
  transition: transform 0.12s, box-shadow 0.15s, border-color 0.15s;
}

#screen-map.map-screen--expanded .map-fullscreen-toggle:hover {
  border-color: rgba(85, 243, 255, 0.85);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.4),
    0 16px 36px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(0, 255, 102, 0.15),
    0 0 32px rgba(85, 243, 255, 0.28);
}

#screen-map.map-screen--expanded .map-fullscreen-toggle:active {
  transform: translateY(1px) scale(0.96);
}

#screen-map.map-screen--expanded .status {
  position: absolute;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: max-content;
  max-width: min(560px, calc(100vw - 28px));
  margin: 0;
  padding: 8px 14px;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  border-radius: 14px;
  border: 1px solid rgba(85, 243, 255, 0.22);
  background: rgba(5, 8, 10, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}

#screen-map.map-screen--expanded .map-leaflet-host {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0;
  border-radius: 0;
  width: 100%;
  height: 100% !important;
  min-height: 0;
  max-height: none;
}

/* Make native calendar/time icons visible on dark background */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(0.85);
}

/* ========================================================= */
/* KPI tiles + tabs                                          */
/* ========================================================= */

.dashboard-kpi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.kpi-box {
  padding: 10px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 15, 16, 0.92), rgba(10, 15, 16, 0.65));
  text-align: center;
  box-shadow: var(--shadow-btn);
}

.kpi-label {
  color: var(--label);
  font-size: 13px;
  opacity: 0.9;
}

.kpi-value {
  margin-top: 4px;
  color: var(--value);
  font-size: 22px;
  font-weight: 900;
}

.kpi-value.success {
  color: var(--value);
}

.kpi-value.danger {
  color: var(--danger);
}

.dashboard-tabs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.tab {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(85, 243, 255, 0.28);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(18, 32, 34, 0.95), rgba(10, 15, 16, 0.7));
  color: var(--label);
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
}

.tab.active {
  border-color: rgba(0, 255, 102, 0.65);
  background: linear-gradient(180deg, rgba(0, 255, 102, 0.18), rgba(0, 0, 0, 0.5));
  color: var(--value);
}

/* ========================================================= */
/* Journal Cards                                             */
/* ========================================================= */

.journal-archive-info {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--label);
  opacity: 0.92;
}

.journal-filter-count {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid rgba(0, 255, 102, 0.45);
  background: linear-gradient(180deg, rgba(0, 255, 102, 0.14), rgba(0, 0, 0, 0.35));
  color: var(--value);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  box-shadow:
    0 0 16px rgba(0, 255, 102, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.journal-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.journal-toolbar > .btn {
  flex: 1 1 100%;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 14px;
  border-width: 2px;
  border-color: rgba(85, 243, 255, 0.5);
  background: linear-gradient(180deg, rgba(30, 52, 56, 0.98), rgba(8, 14, 16, 0.92));
  color: var(--label);
  box-shadow:
    inset 0 0 0 1px rgba(85, 243, 255, 0.12),
    0 6px 18px rgba(0, 0, 0, 0.55);
  -webkit-tap-highlight-color: rgba(85, 243, 255, 0.15);
}

.journal-toolbar > .btn:active {
  transform: translateY(1px) scale(0.99);
}

.journal-btn-danger {
  border-color: var(--danger);
  color: var(--danger);
}

.journal-toolbar .journal-btn-danger {
  border-color: rgba(255, 77, 109, 0.9);
  border-width: 2px;
  color: #fff;
  background: linear-gradient(180deg, rgba(140, 40, 65, 0.9), rgba(45, 14, 22, 0.95));
  box-shadow:
    0 0 18px rgba(255, 77, 109, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.journal-toolbar .journal-btn-danger:active {
  box-shadow: 0 0 12px rgba(255, 77, 109, 0.22);
}

.journal-toolbar > .btn:not(.journal-btn-danger):hover {
  border-color: rgba(0, 255, 102, 0.45);
  box-shadow:
    0 0 20px rgba(0, 255, 102, 0.15),
    inset 0 0 0 1px rgba(85, 243, 255, 0.15);
}

.journal-edit-dialog {
  max-width: calc(100vw - 32px);
  width: min(520px, 100%);
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 15, 16, 0.98), rgba(10, 15, 16, 0.9));
  color: var(--value);
  box-shadow: var(--shadow-btn);
}

.journal-edit-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.journal-edit-inner {
  padding: 16px;
}

.journal-edit-title {
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--label);
}

.journal-edit-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 200px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--stroke2);
  background: rgba(0, 0, 0, 0.35);
  color: var(--value);
  resize: vertical;
}

.journal-edit-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.journal-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 60vh;
  overflow-y: auto;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--stroke2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: var(--shadow-field);
}

.journal-card {
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 15, 16, 0.92), rgba(10, 15, 16, 0.65));
  box-shadow: var(--shadow-btn);
}

.journal-card-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.journal-card-summary {
  margin: 0;
  color: var(--label);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.journal-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.journal-card-actions button,
.journal-card-actions .btn,
.journal-card-actions .btnSmall {
  min-width: 0;
  min-height: 44px;
  padding: 10px 8px;
  font-size: 14px;
  font-weight: 800;
  border-width: 2px;
  border-color: rgba(85, 243, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-tap-highlight-color: rgba(85, 243, 255, 0.15);
}

.journal-card-body {
  color: var(--value);
  font-size: 13px;
  font-family: ui-monospace, monospace;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ========================================================= */
/* New Lists Editor                                          */
/* ========================================================= */

.listsEditorHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.listsEditorHeader h2 {
  margin: 0;
  font-size: 18px;
  color: var(--label);
}

#listsQuickSaveBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

#listsQuickSaveBtn:hover {
  background: rgba(255, 255, 255, 0.14);
}

#listsQuickSaveBtn.is-saved {
  background: rgba(60, 180, 90, 0.22);
}

#listsTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

#listsTabs .tab {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

#listsTabs .tab.active {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.lists-hint {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.8;
  color: var(--muted);
}

#listsItems {
  margin: 10px 0;
  padding-left: 0;
  list-style: none;
}

#listsItems .lists-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
}

.lists-item-text {
  flex: 1;
  overflow: hidden;
  color: var(--value);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lists-item-actions {
  display: flex;
  gap: 8px;
}

/* Add area */
#listsControls {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

#listsControls input {
  margin-top: 0;
  flex: 1;
}

#listsControls button {
  flex: 0 0 auto;
  padding: 10px 14px;
}

/* Drag handle */
.dragHandle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  cursor: grab;
}

.dragHandle:active {
  cursor: grabbing;
}

.dragHandle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

/* Delete icon button */
.listDeleteBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.listDeleteBtn:hover {
  background: rgba(255, 60, 60, 0.18);
  color: rgba(255, 120, 120, 0.95);
}

/* ========================================================= */
/* Mobile tweaks                                             */
/* ========================================================= */

@media (max-width: 480px) {
  .row {
    flex-wrap: wrap;
  }

  .small {
    flex: 1 1 100%;
  }

  /* Главний екран — як у зразку: рядки без переносу, .small фіксовано */
  #screen-main .row {
    flex-wrap: nowrap;
  }

  #screen-main .small {
    flex: 0 0 140px;
  }

  #listsControls {
    flex-direction: column;
    align-items: stretch;
  }

  #listsControls button {
    width: 100%;
  }

  .dashboard-kpi {
    grid-template-columns: 1fr 1fr;
  }

  /* Карта на всю ширину та вища на смартфонах (звичайний режим) */
  #screen-map:not(.map-screen--expanded) .map-screen-card {
    margin-left: calc(-14px - env(safe-area-inset-left));
    margin-right: calc(-14px - env(safe-area-inset-right));
    width: calc(100% + 28px + env(safe-area-inset-left) + env(safe-area-inset-right));
    max-width: none;
    border-radius: 0;
  }

  #screen-map:not(.map-screen--expanded) .map-leaflet-host {
    height: 65vh;
    min-height: 320px;
    margin-top: 10px;
    border-radius: 0;
  }

  .journal-card-summary {
    font-size: 15px;
  }

  .journal-card-actions button,
  .journal-card-actions .btn,
  .journal-card-actions .btnSmall {
    min-height: 46px;
    padding: 10px 4px;
    font-size: 12px;
  }
}

/* --- Map overlays / Поверх карти: список місій та перегляд звіту --- */
.map-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.map-overlay.screenHidden {
  display: none;
}

.map-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
}

.map-overlay-panel {
  position: absolute;
  inset: calc(10px + env(safe-area-inset-top)) 10px calc(10px + env(safe-area-inset-bottom)) 10px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--panel1), var(--panel2));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.map-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 8px;
  border-bottom: 1px solid rgba(85, 243, 255, 0.12);
}

.map-overlay-title {
  padding: 12px 12px 4px;
  color: var(--label);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.map-overlay-subtitle {
  padding: 0 12px 10px;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid rgba(85, 243, 255, 0.08);
}

.map-overlay-close,
.map-overlay-back {
  flex: 0 0 auto;
  width: auto;
  min-width: 44px;
  margin: 0;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1;
}

.map-overlay-close {
  color: var(--danger);
  border-color: rgba(255, 77, 109, 0.45);
}

.map-overlay-back {
  color: var(--label);
}

.map-mission-list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 10px 12px 14px;
}

.map-mission-item {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  text-align: left;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: rgba(0, 0, 0, 0.32);
  color: var(--value);
  box-shadow: var(--shadow-field);
}

.map-mission-item:first-child {
  margin-top: 0;
}

.map-mission-item-title {
  display: block;
  color: var(--label);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.map-mission-item-meta {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

/* ===========================
   MAP MARKERS
   1 / 2-3 / 4-5 / 6+
   =========================== */

.map-marker-wrapper {
  background: transparent;
  border: 0;
}

/* --- Single mission: no number --- */
.map-marker-dot {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 999px;

  background:
    radial-gradient(circle at 30% 28%,
      #f2ffff 0%,
      #9ffcff 24%,
      #47efff 48%,
      #00a8b5 70%,
      #005e66 100%);

  border: 2px solid rgba(220, 255, 255, 0.96);

  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.48),
    0 0 0 5px rgba(85, 243, 255, 0.10),
    0 0 22px rgba(85, 243, 255, 0.38),
    0 12px 24px rgba(0, 0, 0, 0.62),
    inset 0 2px 3px rgba(255, 255, 255, 0.52),
    inset 0 -3px 6px rgba(0, 0, 0, 0.26);
}

.map-marker-dot::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.map-marker-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  border: 1px solid rgba(85, 243, 255, 0.20);
  pointer-events: none;
}

/* --- Shared badge base for 2+ missions --- */
.map-marker-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  user-select: none;
  box-sizing: border-box;

  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 10px rgba(0, 0, 0, 0.4);

  background:
    radial-gradient(circle at 30% 28%,
      rgba(40, 58, 60, 0.98),
      rgba(8, 12, 14, 0.98));

  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.46),
    0 14px 26px rgba(0, 0, 0, 0.64),
    inset 0 2px 3px rgba(255, 255, 255, 0.12),
    inset 0 -3px 6px rgba(0, 0, 0, 0.20);
}

.map-marker-badge::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 7px;
  width: 18%;
  height: 18%;
  min-width: 5px;
  min-height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.map-marker-badge::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  pointer-events: none;
}

/* --- 2-3 missions: low activity --- */
.map-marker-badge.is-low {
  border: 2px solid rgba(0, 255, 102, 0.96);
  color: #79ffb0;
  font-size: 14px;

  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.46),
    0 0 0 4px rgba(0, 255, 102, 0.14),
    0 0 18px rgba(0, 255, 102, 0.20),
    0 14px 26px rgba(0, 0, 0, 0.64),
    inset 0 2px 3px rgba(255, 255, 255, 0.12),
    inset 0 -3px 6px rgba(0, 0, 0, 0.20);
}

.map-marker-badge.is-low::after {
  border: 1px solid rgba(0, 255, 102, 0.16);
}

/* --- 4-5 missions: medium activity --- */
.map-marker-badge.is-medium {
  border: 2px solid rgba(187, 255, 0, 0.98);
  color: #eaff9a;
  font-size: 15px;

  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.46),
    0 0 0 5px rgba(187, 255, 0, 0.16),
    0 0 22px rgba(187, 255, 0, 0.24),
    0 16px 28px rgba(0, 0, 0, 0.66),
    inset 0 2px 3px rgba(255, 255, 255, 0.12),
    inset 0 -3px 6px rgba(0, 0, 0, 0.20);
}

.map-marker-badge.is-medium::after {
  border: 1px solid rgba(187, 255, 0, 0.18);
}

/* --- 6+ missions: high activity --- */
.map-marker-badge.is-high {
  border: 2px solid rgba(255, 174, 0, 1);
  color: #fff4cf;
  font-size: 16px;

  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.48),
    0 0 0 6px rgba(255, 174, 0, 0.18),
    0 0 26px rgba(255, 174, 0, 0.32),
    0 18px 30px rgba(0, 0, 0, 0.68),
    inset 0 2px 3px rgba(255, 255, 255, 0.14),
    inset 0 -3px 6px rgba(0, 0, 0, 0.22);
}

.map-marker-badge.is-high::after {
  border: 1px solid rgba(255, 174, 0, 0.20);
}

/* --- Report overlay: hard-centered layout --- */
#mapReportOverlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    calc(8px + env(safe-area-inset-top))
    max(8px, env(safe-area-inset-right))
    calc(8px + env(safe-area-inset-bottom))
    max(8px, env(safe-area-inset-left));
}

#mapReportOverlay.screenHidden {
  display: none;
}

.map-report-panel {
  position: relative;
  inset: auto;
  transform: none;
  width: min(92vw, 760px);
  max-width: 760px;
  max-height: min(88vh, 900px);
  margin: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 15, 16, 0.88), rgba(10, 15, 16, 0.74));
  backdrop-filter: blur(8px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(85, 243, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.map-report-title {
  text-align: center;
  font-size: 20px;
  padding-top: 14px;
}

.map-report-subtitle {
  text-align: center;
  font-size: 14px;
}

.map-report-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  padding: 10px 14px 0;
}

.map-report-actions-primary {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 10px;
}

.map-report-actions-primary .btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 46px;
  font-weight: 800;
  font-size: 15px;
}

.map-report-delete-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0;
  margin: 0;
  border-radius: 12px;
  border: 2px solid rgba(255, 77, 109, 0.65);
  background: rgba(255, 77, 109, 0.12);
  color: rgba(255, 120, 140, 0.98);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform 0.1s, border-color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.map-report-delete-icon:hover {
  border-color: rgba(255, 77, 109, 0.95);
  background: rgba(255, 77, 109, 0.2);
  color: #fff;
}

.map-report-delete-icon:active {
  transform: translateY(1px) scale(0.97);
}

.map-report-delete-icon svg {
  display: block;
  pointer-events: none;
}

.map-report-content-wrap {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px 14px 18px;
}

.map-report-content {
  margin: 0 auto;
  width: 100%;
  max-width: 680px;
  min-height: 180px;
  padding: 18px 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(85, 243, 255, 0.18);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.24));
  box-shadow:
    inset 0 0 0 1px rgba(0, 255, 102, 0.08),
    inset 0 8px 18px rgba(255, 255, 255, 0.015),
    0 14px 30px rgba(0, 0, 0, 0.34);
  white-space: pre-wrap;
  color: var(--value);
  font-size: 16px;
  line-height: 1.6;
  font-family: ui-monospace, monospace;
}

@media (max-width: 640px) {
  #mapReportOverlay {
    padding:
      calc(6px + env(safe-area-inset-top))
      max(6px, env(safe-area-inset-right))
      calc(6px + env(safe-area-inset-bottom))
      max(6px, env(safe-area-inset-left));
  }

  .map-report-panel {
    width: min(96vw, 760px);
    max-width: none;
    max-height: 90vh;
    border-radius: 14px;
  }

  .map-report-title {
    font-size: 18px;
    padding-top: 10px;
  }

  .map-report-subtitle {
    font-size: 13px;
  }

  .map-report-actions {
    padding: 8px 10px 0;
    gap: 8px;
  }

  .map-report-actions-primary {
    gap: 8px;
  }

  .map-report-actions-primary .btn {
    min-height: 46px;
    font-size: 15px;
    padding: 12px 10px;
  }

  .map-report-delete-icon {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .map-report-delete-icon svg {
    width: 20px;
    height: 20px;
  }

  .map-report-content-wrap {
    padding: 10px 10px 14px;
  }

  .map-report-content {
    max-width: none;
    padding: 14px 14px 16px;
    font-size: 15px;
    line-height: 1.55;
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  #mapReportOverlay {
    padding:
      calc(4px + env(safe-area-inset-top))
      max(4px, env(safe-area-inset-right))
      calc(4px + env(safe-area-inset-bottom))
      max(4px, env(safe-area-inset-left));
  }

  .map-report-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 12px;
  }

  .map-report-content {
    font-size: 14px;
    line-height: 1.5;
    padding: 12px 12px 14px;
  }
}

/* ========================================================= */
/* Journal: data transfer section                            */
/* ========================================================= */

.journal-transfer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(85, 243, 255, 0.12);
}

.journal-transfer-header {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(85, 243, 255, 0.45);
  margin-bottom: 12px;
}

.journal-transfer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.journal-transfer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(85, 243, 255, 0.18);
  background: linear-gradient(180deg, rgba(18, 32, 34, 0.85), rgba(8, 14, 16, 0.65));
  color: var(--label);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(85, 243, 255, 0.06);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}

.journal-transfer-btn:hover {
  border-color: rgba(85, 243, 255, 0.35);
  box-shadow:
    0 2px 12px rgba(85, 243, 255, 0.12),
    inset 0 1px 0 rgba(85, 243, 255, 0.08);
}

.journal-transfer-btn:active {
  transform: translateY(1px) scale(0.98);
}

.journal-transfer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(85, 243, 255, 0.1);
  color: rgba(85, 243, 255, 0.7);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.journal-transfer-label {
  white-space: nowrap;
}

.journal-transfer-status {
  margin-top: 10px;
  font-size: 13px;
  min-height: 18px;
  color: rgba(85, 243, 255, 0.6);
}

@media (max-width: 360px) {
  .journal-transfer-row {
    grid-template-columns: 1fr;
  }
}

/* ========================================================= */
/* Help screen                                               */
/* ========================================================= */

.help-card {
  user-select: text;
  -webkit-user-select: text;
  padding-bottom: 8px;
}

.help-card p {
  margin: 8px 0;
  line-height: 1.58;
}

.help-card code {
  background: rgba(85, 243, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.9em;
}

.help-card a {
  color: var(--label);
  text-decoration: underline;
  text-decoration-color: rgba(85, 243, 255, 0.45);
  text-underline-offset: 3px;
}

.help-divider {
  margin: 16px 0;
  border: 0;
  border-top: 1px solid rgba(85, 243, 255, 0.1);
}

/* Розділи довідки: сітка «карток», ліва смуга-акцент */
.help-section {
  margin: 0 0 18px;
  padding: 14px 14px 14px 16px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(85, 243, 255, 0.06), transparent 42%),
    rgba(10, 15, 16, 0.55);
  border: 1px solid rgba(85, 243, 255, 0.12);
  box-shadow: inset 3px 0 0 rgba(0, 255, 102, 0.45);
}

.help-section:last-child {
  margin-bottom: 0;
}

.help-section--crypto {
  box-shadow: inset 3px 0 0 rgba(85, 243, 255, 0.55);
  background:
    linear-gradient(135deg, rgba(85, 243, 255, 0.09), transparent 50%),
    rgba(10, 15, 16, 0.6);
}

.help-section--contacts {
  box-shadow: inset 3px 0 0 rgba(0, 255, 102, 0.5);
  background:
    linear-gradient(145deg, rgba(0, 255, 102, 0.06), transparent 40%),
    rgba(10, 15, 16, 0.55);
}

.help-section-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 12px;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--label);
  line-height: 1.25;
}

.help-section-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--bg);
  background: linear-gradient(145deg, rgba(85, 243, 255, 0.95), rgba(0, 255, 102, 0.85));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.help-section-heading-text {
  padding-top: 2px;
}

/* Підзаголовок розділу (коротка мітка над абзацом) */
.help-kicker {
  margin: 14px 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(85, 243, 255, 0.72);
}

.help-kicker:first-child {
  margin-top: 0;
}

.help-kicker em {
  font-style: normal;
}

/* Списки з маркерами «•» у тексті */
.help-bullets {
  margin: 8px 0 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(85, 243, 255, 0.1);
  font-size: 0.95rem;
  line-height: 1.6;
}

.help-bullets--compact {
  padding: 10px 12px;
  font-size: 0.92rem;
}

.help-bullets--dense {
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Нумеровані кроки (експорт / імпорт) */
.help-steps {
  margin: 8px 0 12px;
  padding: 12px 14px 12px 18px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 255, 102, 0.28);
  background: rgba(0, 255, 102, 0.04);
  font-size: 0.94rem;
  line-height: 1.62;
}

/* Внутрішні підблоки з міткою */
.help-subblock {
  margin: 12px 0;
  padding: 11px 13px;
  border-radius: 11px;
  border-left: 3px solid rgba(85, 243, 255, 0.35);
  background: rgba(85, 243, 255, 0.05);
  line-height: 1.55;
  font-size: 0.96rem;
}

.help-subblock-label {
  color: var(--label);
  font-weight: 800;
}

/* Другорядний абзац */
.help-muted-block {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(85, 243, 255, 0.08);
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(122, 167, 169, 0.92);
}

/* Callout-и */
.help-callout {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.94rem;
  line-height: 1.52;
  border: 1px solid transparent;
}

.help-callout--action {
  border-color: rgba(0, 255, 102, 0.28);
  background: rgba(0, 255, 102, 0.08);
}

.help-callout--tip {
  border-color: rgba(85, 243, 255, 0.32);
  background: rgba(85, 243, 255, 0.07);
}

.help-callout--warn {
  border-color: rgba(255, 180, 72, 0.35);
  background: rgba(255, 180, 72, 0.08);
  color: rgba(255, 220, 170, 0.98);
}

.help-callout--security {
  border-color: rgba(255, 77, 109, 0.35);
  background: rgba(255, 77, 109, 0.07);
  color: rgba(255, 200, 210, 0.96);
  font-size: 0.9rem;
}

/* Контакти — картки-рядки */
.help-contact-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.help-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(85, 243, 255, 0.16);
  box-shadow: var(--shadow-btn);
  transition:
    border-color 0.15s ease,
    transform 0.12s ease,
    background 0.15s ease;
}

.help-contact-card:hover,
.help-contact-card:focus-visible {
  border-color: rgba(85, 243, 255, 0.45);
  background: rgba(85, 243, 255, 0.08);
  outline: none;
}

.help-contact-card:active {
  transform: scale(0.99);
}

.help-contact-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--bg);
  background: linear-gradient(160deg, rgba(85, 243, 255, 0.95), rgba(0, 255, 102, 0.75));
}

.help-contact-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.help-contact-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(85, 243, 255, 0.65);
}

.help-contact-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--value);
  word-break: break-word;
}