/* ==========================================================================
   River Progress Tracker · 样式
   ========================================================================== */
:root {
  --ink: #10241f;
  --ink-soft: #516b62;
  --ink-faint: #7d948c;
  --line: rgba(16, 36, 31, 0.1);
  --paper: #ffffff;
  --bg: #eaf1ee;
  --accent: #0e766e;
  --accent-deep: #075049;
  --accent-soft: #d8ece8;
  --gold: #d9902a;
  --gold-soft: #fff2d6;
  --danger: #b42318;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 26px rgba(12, 46, 38, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.muted { color: var(--ink-faint); }

.app { display: flex; height: 100vh; }

/* ==========================================================================
   地图面板
   ========================================================================== */
.map-panel {
  position: relative;
  flex: 1 1 72%;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 15%, #f3fbf6 0%, #dcece4 45%, #c9dfd6 100%);
}

.map-container {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  user-select: none;
  background: #dcece4;
}
.map-container::-webkit-scrollbar { width: 10px; }
.map-container::-webkit-scrollbar-track { background: transparent; }
.map-container::-webkit-scrollbar-thumb {
  background: rgba(16, 36, 31, 0.22);
  border-radius: 99px;
  border: 3px solid transparent;
  background-clip: content-box;
}

/* 地图按容器 100% 宽度铺开，高度由 JS 按 SVG 原始比例设置 */
.map-container svg.river-svg {
  width: 100%;
  display: block;
}

/* 河流路径：柔和的导航虚线（原 SVG 中的红色辅助线） */
.river-svg.hide-route .river-route { stroke: none !important; }
.river-route {
  stroke: rgba(255, 255, 255, 0.7) !important;
  stroke-width: 0.9 !important;
  stroke-dasharray: 2.5 2.5 !important;
  stroke-linecap: round !important;
  fill: none !important;
}

.node { cursor: pointer; }
.node-img,
.ship-img {
  pointer-events: none;
}
.node-hit {
  fill: transparent;
  pointer-events: all;
}
.node:hover .node-img,
.node:hover .node-fallback {
  filter: brightness(1.05) drop-shadow(0 0.6px 0.9px rgba(6, 40, 30, 0.4));
}
.node-img { filter: drop-shadow(0 0.4px 0.6px rgba(6, 40, 30, 0.28)); }

@keyframes nodeFlash {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 209, 102, 0)); }
  35% { filter: drop-shadow(0 0 2.4px rgba(255, 209, 102, 1)); }
}
.node.is-flash .node-img,
.node.is-flash .node-fallback {
  animation: nodeFlash 0.7s ease-in-out 2;
}

/* 当前阻塞任务的脉冲光环 */
.pulse-halo {
  fill: rgba(255, 209, 102, 0.16);
  animation: haloPulse 2.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
  pointer-events: none;
}
.pulse-ring {
  fill: none;
  stroke: #ffd166;
  stroke-width: 0.6;
  animation: ringPulse 2s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
  pointer-events: none;
}

@keyframes ringPulse {
  0% { transform: scale(0.9); opacity: 0.95; }
  70% { transform: scale(1.18); opacity: 0.3; }
  100% { transform: scale(1.25); opacity: 0; }
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

.ship-group {
  filter: drop-shadow(0 1px 1.4px rgba(4, 26, 20, 0.4));
  pointer-events: none;
}

/* 地图上的浮层控件 */
.map-toolbar {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 4;
}
.map-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(12, 46, 38, 0.16);
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.map-btn:hover { background: #fff; transform: translateY(-1px); }
.map-btn:active { transform: translateY(0) scale(0.97); }
.map-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.map-legend {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 9px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 22px rgba(12, 46, 38, 0.14);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  color: var(--ink-soft);
}
.legend-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.legend-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.map-tip {
  position: absolute;
  right: 16px;
  bottom: 18px;
  z-index: 4;
  font-size: 11px;
  color: rgba(16, 36, 31, 0.45);
  letter-spacing: 0.02em;
}

.map-loading {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(226, 240, 233, 0.86);
  backdrop-filter: blur(2px);
}
.map-loading[hidden] { display: none; }

.loading-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  color: var(--ink-soft);
}
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid var(--accent-soft);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.map-error {
  max-width: 520px;
  padding: 22px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  line-height: 1.6;
}
.map-error h2 { margin: 0 0 8px; font-size: 17px; color: var(--danger); }
.map-error p { margin: 6px 0; font-size: 13px; }
.map-error pre {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f7f5;
  font-size: 12px;
  overflow-x: auto;
}

/* ==========================================================================
   侧栏
   ========================================================================== */
.sidebar {
  flex: 0 0 28%;
  min-width: 352px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9f7 100%);
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 40px rgba(12, 46, 38, 0.08);
  z-index: 2;
}

.sidebar-header {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.eyebrow {
  margin: 0 0 4px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.sidebar-header h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.sidebar-header .muted { margin: 4px 0 0; font-size: 12px; }

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.btn {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn.ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-soft);
}
.btn.ghost:hover { border-color: rgba(14, 118, 110, 0.4); color: var(--accent-deep); }
.btn.ghost.danger:hover { border-color: rgba(180, 35, 24, 0.35); color: var(--danger); }
.btn.soft {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.btn.soft:hover { background: #cbe6e0; }
.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(14, 118, 110, 0.28);
}
.btn.primary:hover { background: var(--accent-deep); }

.progress-card {
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, #f1f9f6, #e7f3ef);
  border: 1px solid rgba(14, 118, 110, 0.1);
}
.progress-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
}
.progress-label {
  font-weight: 600;
  color: var(--accent-deep);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.progress-count { color: var(--ink-faint); white-space: nowrap; }
.progress-track {
  margin: 9px 0 8px;
  height: 7px;
  border-radius: 99px;
  background: rgba(14, 118, 110, 0.12);
  overflow: hidden;
}
.progress-fill {
  width: 0;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #17a294, #f0b64b);
  transition: width 0.5s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.stat-row { display: flex; flex-wrap: wrap; gap: 6px; }
.stat-pill {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(14, 118, 110, 0.14);
  color: var(--ink-soft);
}

.sidebar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.sidebar-actions .hint {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--ink-faint);
}

.sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
}
.sidebar-body > * { flex: 0 0 auto; }
.sidebar-body::-webkit-scrollbar { width: 9px; }
.sidebar-body::-webkit-scrollbar-thumb {
  background: rgba(16, 36, 31, 0.16);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: content-box;
}

/* ---------------------------- 分组卡片 ---------------------------- */
.group {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(12, 46, 38, 0.05);
  overflow: hidden;
}
.group.is-complete { border-color: rgba(14, 118, 110, 0.28); }

.group-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 12px 11px;
  background: linear-gradient(120deg, #fbfdfc, #f2f8f5);
  border-bottom: 1px solid transparent;
}
.group:not(.is-collapsed) .group-head { border-bottom-color: var(--line); }
.group-head[data-active="true"] {
  background: linear-gradient(120deg, #fff8e8, #fff3d8);
}

.group-toggle {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: none;
  background: transparent;
  color: var(--ink-faint);
  display: grid;
  place-items: center;
  border-radius: 6px;
}
.group-toggle:hover { background: rgba(16, 36, 31, 0.06); color: var(--ink); }
.group-toggle .caret {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease, margin 0.18s ease;
}
.group.is-collapsed .group-toggle .caret {
  transform: rotate(-45deg);
  margin-top: 0;
}

.m-badge {
  flex: none;
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.group-title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.group-name {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}
.group-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10.5px;
  color: var(--ink-faint);
}
.progress-text { white-space: nowrap; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1.5px 7px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.chip-done { background: rgba(14, 118, 110, 0.12); color: var(--accent-deep); }
.chip-pending { background: rgba(217, 144, 42, 0.14); color: #8a5a12; }
.chip-active {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 2px 6px rgba(217, 144, 42, 0.35);
  align-self: center;
}

.task-list {
  list-style: none;
  margin: 0;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.group.is-collapsed .task-list { display: none; }

.task-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 8px;
  border-radius: 10px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.task-row:hover { background: #f4f8f6; }
.task-row.is-active {
  background: var(--gold-soft);
  box-shadow: inset 3px 0 0 var(--gold);
}
.task-row.is-flash { animation: rowFlash 1.4s ease-out; }
@keyframes rowFlash {
  0% { background: #fff0c4; }
  100% { background: transparent; }
}

.task-row input[type="checkbox"] {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.seq-badge {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 20px;
  padding: 0 6px;
  border-radius: 6px;
  background: #f0f4f2;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.task-row.is-complete .seq-badge {
  background: rgba(14, 118, 110, 0.1);
  color: var(--accent-deep);
}

.task-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.task-summary {
  font-size: 12.5px;
  line-height: 1.4;
  word-break: break-word;
}
.task-row.is-complete .task-summary { color: var(--ink-faint); }
.task-meta {
  font-size: 10px;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.group-empty {
  padding: 10px 12px;
  font-size: 11.5px;
  color: var(--ink-faint);
}

/* 行内操作按钮 */
.row-actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 2px;
  opacity: 0.32;
  transition: opacity 0.15s ease;
}
.group-head .row-actions {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 1px 2px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(12, 46, 38, 0.1);
  opacity: 0;
  pointer-events: none;
}
.task-row:hover .row-actions,
.task-row:focus-within .row-actions,
.group-head:hover .row-actions,
.group-head:focus-within .row-actions { opacity: 1; pointer-events: auto; }

.icon-btn {
  position: relative;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.icon-btn:hover { background: rgba(14, 118, 110, 0.12); color: var(--accent-deep); }
.icon-btn.danger:hover { background: rgba(180, 35, 24, 0.1); color: var(--danger); }
.icon-btn .sub-icon {
  position: absolute;
  right: 1px;
  bottom: 0;
  font-size: 7px;
  font-weight: 700;
  color: var(--accent);
}

.group--orphan { border-style: dashed; }

.empty-state {
  padding: 30px 18px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}
.empty-state .muted { font-size: 11.5px; }

/* ==========================================================================
   悬浮提示
   ========================================================================== */
.tooltip {
  position: fixed;
  z-index: 60;
  width: max-content;
  max-width: 340px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(15, 46, 39, 0.97), rgba(11, 58, 49, 0.97));
  color: #eaf6f1;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 20px 44px rgba(4, 22, 18, 0.45);
  pointer-events: none;
  animation: tipIn 0.12s ease-out;
}
.tooltip[hidden] { display: none; }
@keyframes tipIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.tt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.tt-kicker {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fd8c8;
  font-weight: 700;
}
.tt-chip {
  padding: 1px 7px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.tt-chip.ok { background: rgba(64, 211, 178, 0.22); color: #8ff0d8; }
.tt-chip.pending { background: rgba(255, 209, 102, 0.2); color: #ffd68f; }

.tt-title { font-size: 13.5px; font-weight: 650; line-height: 1.4; }

.tt-meta {
  display: grid;
  gap: 2px;
  margin: 8px 0 0;
}
.tt-meta > div { display: flex; gap: 8px; }
.tt-meta dt {
  flex: none;
  min-width: 56px;
  color: #8bb3a8;
  font-size: 10.5px;
  margin: 0;
}
.tt-meta dd { margin: 0; font-size: 11.5px; word-break: break-word; }

.tt-progress {
  margin-top: 6px;
  font-size: 11px;
  color: #a9ccc2;
}
.tt-progress strong { color: #ffd68f; }

.tt-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
  max-height: 190px;
  overflow: hidden;
}
.tt-list li {
  display: flex;
  gap: 6px;
  font-size: 11px;
  color: #cfe6de;
  line-height: 1.4;
}
.tt-list li.done { color: #8fe3cc; }
.tt-dot { flex: none; width: 10px; color: inherit; }

.tt-details {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  color: #bcd8cf;
  line-height: 1.55;
  max-height: 120px;
  overflow: hidden;
}

/* ==========================================================================
   弹窗
   ========================================================================== */
.dialog {
  border: none;
  padding: 0;
  border-radius: 18px;
  width: min(560px, 92vw);
  background: #fff;
  box-shadow: 0 32px 90px rgba(8, 32, 26, 0.4);
}
.dialog::backdrop {
  background: rgba(9, 32, 27, 0.42);
  backdrop-filter: blur(3px);
}
.dialog-form { padding: 22px 24px 20px; }
.dialog-form h2 {
  margin: 0 0 16px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.field > span { font-size: 11px; font-weight: 650; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(16, 36, 31, 0.16);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 13px;
  background: #fbfdfc;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(14, 118, 110, 0.6);
  box-shadow: 0 0 0 3px rgba(14, 118, 110, 0.12);
  background: #fff;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.dialog-error {
  margin: -2px 0 10px;
  font-size: 12px;
  color: var(--danger);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 80;
  transform: translate(-50%, 14px);
  padding: 9px 16px;
  border-radius: 99px;
  background: rgba(9, 36, 30, 0.92);
  color: #f2fbf7;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(4, 22, 18, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .map-tip { display: none; }
}

/* 触屏设备：分组操作按钮常显（无 hover） */
@media (hover: none) {
  .group-head .row-actions { opacity: 1; pointer-events: auto; }
  .group-title { padding-right: 104px; }
  .task-row .row-actions { opacity: 0.8; }
}

@media (max-width: 920px) {
  .app { flex-direction: column-reverse; height: auto; min-height: 100vh; }
  body { overflow: auto; }
  .map-panel { flex: none; height: 62vh; }
  .sidebar {
    flex: none;
    max-width: none;
    min-width: 0;
    border-left: none;
    border-bottom: 1px solid var(--line);
  }
  .sidebar-body { max-height: 52vh; }
}

/* ===== 数据加载失败提示（后端 / 数据库不可用） ===== */
.data-error {
  margin: 18px 4px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.32);
}
.data-error h2 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #b91c1c;
}
.data-error p {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.data-error p:last-child { margin-bottom: 0; }
