/* Bản đồ độ phủ xanh (NDVI) — dùng biến màu trong app.css */

/* Thang màu dữ liệu NDVI (--ndvi-c0…c5, nước, mây: khai báo ở :root trong app.css): cát → vàng → xanh lá đậm, độ sáng giảm đều.
   Dùng chung cho trang khám phá (.ndvi-scope) và bản đồ nhỏ của lô (.ndvi-mini); JS đọc lại các biến này để tô lưới. */
:is(.ndvi-scope, .ndvi-mini) {
  --ndvi-ramp: linear-gradient(90deg, var(--ndvi-c0) 0%, var(--ndvi-c1) 25%, var(--ndvi-c2) 41.667%, var(--ndvi-c3) 58.333%, var(--ndvi-c4) 75%, var(--ndvi-c5) 91.667%, var(--ndvi-c5) 100%);
  --nx-halo: var(--text); --nx-line: var(--paper);
  --nx-muted: var(--muted); --nx-text-2: var(--text-2); --nx-line-ui: var(--line); --nx-chip: var(--panel-2);
}

/* ---------- Chú giải (dùng chung) ---------- */
:is(.ndvi-scope, .ndvi-mini) .nx-legend { margin-top: 12px; }
:is(.ndvi-scope, .ndvi-mini) .nx-ramp-wrap { padding: 0 16px; }
:is(.ndvi-scope, .ndvi-mini) .nx-ramp { height: 12px; border-radius: 6px; background: var(--ndvi-ramp); }
:is(.ndvi-scope, .ndvi-mini) .nx-ticks { position: relative; height: 20px; }
:is(.ndvi-scope, .ndvi-mini) .nx-ticks span { position: absolute; top: 5px; transform: translateX(-50%); font-size: var(--fs-xs); line-height: 1.2; color: var(--nx-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
:is(.ndvi-scope, .ndvi-mini) .nx-ticks span::before { content: ''; position: absolute; top: -5px; left: 50%; width: 1px; height: 4px; background: currentColor; }
:is(.ndvi-scope, .ndvi-mini) .nx-keys { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp4) var(--sp16); font-size: var(--fs-xs); color: var(--nx-text-2); }
:is(.ndvi-scope, .ndvi-mini) .nx-keys li { display: inline-flex; align-items: center; gap: 6px; }
:is(.ndvi-scope, .ndvi-mini) .nx-keys .muted { color: var(--nx-muted); }
:is(.ndvi-scope, .ndvi-mini) .nx-sw { width: 14px; height: 14px; border-radius: 4px; flex: none; display: inline-block; }
:is(.ndvi-scope, .ndvi-mini) .nx-c0 { background: var(--ndvi-c1); }
:is(.ndvi-scope, .ndvi-mini) .nx-c1 { background: var(--ndvi-c2); }
:is(.ndvi-scope, .ndvi-mini) .nx-c2 { background: var(--ndvi-c3); }
:is(.ndvi-scope, .ndvi-mini) .nx-c3 { background: var(--ndvi-c4); }
:is(.ndvi-scope, .ndvi-mini) .nx-sw-cloud { background: repeating-linear-gradient(135deg, var(--ndvi-cloud-line) 0 2px, var(--ndvi-cloud) 2px 5px); }
:is(.ndvi-scope, .ndvi-mini) .nx-sw-water { background: var(--ndvi-water); }
:is(.ndvi-scope, .ndvi-mini) .nx-sw-none { border: 1px dashed var(--nx-muted); }
/* Thanh tỉ lệ các mức phủ xanh: các đoạn cách nhau 2px */
:is(.ndvi-scope, .ndvi-mini) .nx-bar { display: flex; gap: 2px; height: 12px; margin: 10px 0 8px; }
:is(.ndvi-scope, .ndvi-mini) .nx-bar i { display: block; height: 100%; min-width: 0; }
:is(.ndvi-scope, .ndvi-mini) .nx-bar i:first-child { border-radius: 6px 0 0 6px; }
:is(.ndvi-scope, .ndvi-mini) .nx-bar i:last-child { border-radius: 0 6px 6px 0; }
/* Chú thích các mức phủ xanh: hai cột CHỈ khi mỗi ô còn ≥ 190px. Ở 390/414px lưới cũ chuyển hai cột nên ô còn
   71–99px và nhãn bị cắt (“Đang phát triển” cần 100px, “Đất trống / nước” cần 106px) — nay giữ một cột tới 414px. */
:is(.ndvi-scope, .ndvi-mini) .nx-classes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(max(190px, 46%), 1fr)); gap: var(--sp6) var(--sp16); font-size: var(--fs-sm); }
:is(.ndvi-scope, .ndvi-mini) .nx-classes li { display: flex; align-items: center; gap: 6px; min-width: 0; }
:is(.ndvi-scope, .ndvi-mini) .nx-classes li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(.ndvi-scope, .ndvi-mini) .nx-classes b { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- Trang khám phá (kích thước theo thang chung trong app.css) ---------- */
.ndvi-page .nx-layout { display: grid; gap: var(--gap-card); grid-template-columns: minmax(0, 1fr); }
.ndvi-page .nx-mapcol, .ndvi-page .nx-panel { min-width: 0; }
.ndvi-page .nx-panel { display: flex; flex-direction: column; gap: var(--gap-card); }
.ndvi-page .nx-card { padding: var(--card-pad); }
.ndvi-page .nx-card .card-title h2 { display: flex; align-items: center; gap: var(--sp8); }
/* cỡ chữ của bảng chú giải trên trang khám phá (bản đồ nhỏ trong trang lô / trang QR giữ nguyên cỡ của nó) */
.ndvi-page .nx-keys, .ndvi-page .nx-classes { font-size: var(--fs-sm); }
.ndvi-page .nx-ticks span { font-size: var(--fs-xs); }
.ndvi-page .nx-mapcard { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--panel-solid); isolation: isolate; }
.ndvi-page .nx-map { height: 55vh; min-height: 280px; max-height: 560px; width: 100%; }
.ndvi-page .nx-noscript { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--text-2); }
@media (min-width: 640px) and (max-width: 1023px) {
  .ndvi-page .nx-map { height: 60vh; max-height: 640px; }
  .ndvi-page .nx-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .ndvi-page .nx-panel > .nx-help { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .ndvi-page .nx-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); align-items: start; }
  .ndvi-page .nx-mapcol { position: sticky; top: 16px; }
  .ndvi-page .nx-map { height: calc(100vh - 290px); min-height: 400px; max-height: none; }
}

/* Leaflet theo giao diện sáng: nút trắng bo tròn, biểu tượng xanh lá (màu nhấn) */
.ndvi-page .nx-map.leaflet-container { background: var(--panel-2); font: inherit; }
.ndvi-page .nx-map .leaflet-bar { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-soft); }
.ndvi-page .nx-map .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font-size: 20px; background: var(--panel-solid); color: var(--accent-text); border-bottom: 1px solid var(--line); }
.ndvi-page .nx-map .leaflet-bar a:hover { background: var(--accent-soft); }
.ndvi-page .nx-map .leaflet-bar a.leaflet-disabled { color: var(--muted); opacity: .6; }
/* dòng nguồn bản đồ: giữ MỘT dòng, dư thì cắt bằng “…” — xuống dòng thứ hai sẽ bị mép dưới của thẻ bản đồ cắt ngang */
/* Dòng ghi công của thư viện bản đồ. `max-width: 100%` không có tác dụng vì hộp chứa của Leaflet
   (.leaflet-bottom.leaflet-right) tự co theo nội dung: ở màn 320px dòng này rộng 347px trong khung
   bản đồ 278px, hộp chữ trải từ L=−48 tới R=299 nên “Leaflet | © Op” nằm NGOÀI khung và bị
   overflow:hidden nuốt mất, còn “(ESA)” bị dấu … cắt — mất chữ ở CẢ HAI ĐẦU.
   Nay: hộp chứa trải trọn bề ngang bản đồ, dòng ghi công thành một dải ở đáy, ĐƯỢC XUỐNG DÒNG,
   và cỡ chữ về đúng bậc 1 (13px) thay vì 10px — ghi công phải đọc được. */
.ndvi-page .nx-map .leaflet-bottom.leaflet-right { left: 0; right: 0; max-width: 100%; display: flex; justify-content: flex-end; }
.ndvi-page .nx-map .leaflet-control-attribution { background: color-mix(in srgb, var(--panel-solid) 82%, transparent); color: var(--muted); font-size: var(--fs-xs); line-height: 1.45;
  max-width: 100%; min-width: 0; white-space: normal; overflow: hidden; overflow-wrap: anywhere; text-align: right; padding: 3px 8px; }
.ndvi-page .nx-map .leaflet-control-attribution a { color: var(--text-2); }
.ndvi-page .nx-map .leaflet-tooltip { background: var(--panel-solid); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); font-size: var(--fs-sm); }
.ndvi-page .nx-map .leaflet-tooltip-top::before { border-top-color: var(--panel-solid); }
.ndvi-page .nx-map .leaflet-tile-pane { filter: saturate(.75); }
.ndvi-page .nx-overlay { image-rendering: pixelated; }

.ndvi-page .nx-readout { position: absolute; z-index: 700; top: 10px; left: 10px; max-width: calc(100% - 20px); display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap;
  padding: 8px 12px; border-radius: 14px; background: color-mix(in srgb, var(--panel-solid) 90%, transparent); border: 1px solid var(--line-2); color: var(--text);
  font-size: var(--fs-sm); line-height: 1.35; box-shadow: var(--shadow); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.ndvi-page .nx-readout b { font-variant-numeric: tabular-nums; }
.ndvi-page .nx-readout-btn { pointer-events: auto; min-height: var(--h-chip); padding: 0 var(--sp16); border-radius: 99px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); font: 600 var(--fs-sm) var(--font); cursor: pointer; }
.ndvi-page .nx-busy { position: absolute; z-index: 700; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
  padding: 10px 16px; border-radius: 99px; background: color-mix(in srgb, var(--panel-solid) 92%, transparent); border: 1px solid var(--line-2); color: var(--text); font-size: var(--fs-sm); box-shadow: var(--shadow); }
.ndvi-page .nx-busy[hidden], .ndvi-page [hidden] { display: none !important; }
.ndvi-scope .nx-spin { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: nx-spin .8s linear infinite; }
@keyframes nx-spin { to { transform: rotate(360deg); } }

.ndvi-page .nx-mapfoot { display: flex; align-items: center; gap: var(--sp8) var(--sp16); flex-wrap: wrap; margin-top: var(--sp12); }
.ndvi-scope .nx-layer { display: inline-flex; padding: 3px; gap: 2px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); flex: none; }
.ndvi-scope .nx-seg { min-height: var(--h-chip); padding: 0 var(--sp16); border: 0; border-radius: 99px; background: transparent; color: var(--text-2); font: 600 var(--fs-sm) var(--font); cursor: pointer; white-space: nowrap; }
.ndvi-scope .nx-seg.on { background: var(--accent-grad); color: var(--on-accent); }
.ndvi-page .nx-opacity { flex: 1 1 170px; display: flex; align-items: center; gap: var(--sp12); min-height: var(--h-chip); font-size: var(--fs-sm); color: var(--text-2); }
.ndvi-page .nx-opacity input { flex: 1; min-width: 0; height: var(--h-chip); margin: 0; accent-color: var(--accent); background: transparent; }
.ndvi-page .nx-legend.is-off .nx-ramp-wrap, .ndvi-page .nx-legend.is-off .nx-keys li:not(:last-child) { opacity: .35; }

/* ô chọn khu + nút “Vị trí của tôi”: hai ô bằng nhau, cao bằng ô nhập — không còn hai bề rộng lệch nhau */
.ndvi-page .nx-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap-grid); }
.ndvi-page .nx-row > * { width: 100%; min-width: 0; }
.ndvi-page .nx-row select { height: var(--h-field); }
.ndvi-page .nx-gps { min-height: var(--h-field); }
.ndvi-page .nx-more > summary { min-height: var(--h-chip); display: flex; align-items: center; cursor: pointer; color: var(--accent); font-size: var(--fs-sm); font-weight: 500; list-style: none; }
.ndvi-page .nx-more > summary::-webkit-details-marker { display: none; }
.ndvi-page .nx-more > summary::after { content: '▾'; margin-left: 6px; transition: transform .15s; }
.ndvi-page .nx-more[open] > summary::after { transform: rotate(180deg); }
.ndvi-page .nx-coords, .ndvi-page .nx-range { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 var(--sp16); align-items: end; }
/* Ô ngày: chữ trong <input type=date> luôn 16px (dưới 16px iOS tự phóng to trang) nên cần rộng hơn ô số —
   ở 150px trình duyệt CẮT mất chữ số cuối của năm (“26/05/202”). 170px: 320–414px về một cột, màn rộng vẫn hai cột. */
.ndvi-page .nx-range { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.ndvi-page .nx-coords .btn, .ndvi-page .nx-range .btn { grid-column: 1 / -1; margin-bottom: var(--gap-card); }
.ndvi-page .nx-range input[type=date] { min-width: 0; }
.ndvi-page .nx-filter { min-height: var(--h-chip); align-items: center; margin: calc(var(--sp4) * -1) 0 var(--sp4); }

.ndvi-page .nx-scenes { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; max-height: 312px; overflow-y: auto; overscroll-behavior: contain; padding: 2px 2px 4px; margin: 0 -2px; }
.ndvi-page .nx-scenes > p, .ndvi-page .nx-scenes > .alert { grid-column: 1 / -1; }
.ndvi-page .nx-month { grid-column: 1 / -1; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: var(--sp6) 0 -2px; }
.ndvi-page .nx-scene { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: var(--sp4); min-height: 60px; padding: var(--sp8) var(--sp12); border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, opacity .15s; }
.ndvi-page .nx-scene:hover { border-color: var(--line-2); }
.ndvi-page .nx-scene b { font-size: var(--fs-body); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ndvi-page .nx-scene small { font-size: var(--fs-xs); color: var(--text-2); line-height: 1.2; font-variant-numeric: tabular-nums; }
.ndvi-page .nx-cbar { display: block; height: 4px; border-radius: 2px; background: var(--panel-3); overflow: hidden; }
.ndvi-page .nx-cbar i { display: block; height: 100%; width: var(--c, 0%); background: var(--muted); border-radius: 2px; }
/* ảnh nhiều mây: vẫn phải đọc rõ ngày và % mây (viền nét đứt đã đủ nói là “ảnh xấu”), không mờ đến mức như bị khóa */
.ndvi-page .nx-scene.cloudy { opacity: .78; background: transparent; border-style: dashed; }
.ndvi-page .nx-scene.cloudy b { font-weight: 500; }
.ndvi-page .nx-scene .nx-ok { position: absolute; top: 7px; right: 9px; font-size: var(--fs-xs); font-weight: 700; color: var(--accent); }
.ndvi-page .nx-scene.on { opacity: 1; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: 0 0 0 1px var(--accent) inset; }
.ndvi-page .nx-skel { min-height: 60px; border-radius: 14px; background: var(--panel-2); animation: nx-pulse 1.1s ease-in-out infinite alternate; }
@keyframes nx-pulse { from { opacity: .45; } to { opacity: 1; } }

.ndvi-page .nx-hero { display: flex; align-items: center; gap: var(--sp8) var(--sp12); flex-wrap: wrap; }
.ndvi-scope .nx-big { font-size: var(--fs-stat); font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.ndvi-page .nx-hero-l { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp4); font-size: var(--fs-sm); color: var(--text-2); min-width: 0; }
.ndvi-page .nx-sitebox { margin-top: var(--sp12); padding: var(--sp12); border-radius: var(--r-sm); background: var(--panel-2); border: 1px solid var(--line); font-size: var(--fs-sm); }
.ndvi-page .nx-sitebox b { font-size: var(--fs-h2); font-variant-numeric: tabular-nums; }
/* Cột NHÃN co lại (xuống dòng được), cột SỐ LIỆU giữ trọn một dòng: trước đây nhãn dài “Mây, mờ tại vùng này”
   ép cột số liệu còn 73px nên “21/09/2026 · 10:33” vỡ hai dòng — số liệu mới là thứ phải đọc liền. */
.ndvi-page .nx-kv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: var(--sp4) var(--sp12); font-size: var(--fs-sm); margin: var(--sp12) 0 0; }
.ndvi-page .nx-kv dt { color: var(--muted); }
.ndvi-page .nx-kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ndvi-page [data-stats] .alert { margin-bottom: 12px; }

.ndvi-page .nx-cmp-toggle[aria-pressed=true] { background: var(--accent-grad); color: var(--on-accent); border-color: transparent; }
.ndvi-page .nx-cmp-toggle { min-height: var(--h-chip); }
.ndvi-page .nx-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-grid); }
.ndvi-page .nx-slot { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: var(--sp6); }
.ndvi-page .nx-slot select { min-height: var(--h-chip); padding: var(--sp8) 30px var(--sp8) var(--sp12); font-size: var(--fs-sm); background-position: right 8px center; }
.ndvi-page .nx-slot-tag { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.ndvi-page .nx-slot-box { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.ndvi-page .nx-slot-box canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; cursor: crosshair; touch-action: manipulation; }
.ndvi-page .nx-slot-box .nx-spin { position: absolute; top: 50%; left: 50%; margin: -8px 0 0 -8px; }
.ndvi-page .nx-slot-msg { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--sp8); text-align: center; font-size: var(--fs-xs); color: var(--text-2); }
.ndvi-page .nx-slot figcaption { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.35; }
.ndvi-page .nx-slot figcaption b { color: var(--text); font-variant-numeric: tabular-nums; }
.ndvi-page .nx-cmp-read { margin-top: var(--sp12); padding: var(--sp12); border-radius: var(--r-sm); background: var(--panel-2); border: 1px solid var(--line); font-size: var(--fs-sm); min-height: var(--h-chip); }
.ndvi-page .nx-help > summary { min-height: var(--h-btn); }

/* ---------- Bản đồ nhỏ của lô (trang lô và trang QR công khai) ---------- */
.ndvi-mini { container-type: inline-size; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--nx-line-ui); }
.ndvi-mini .nm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.ndvi-mini .nm-head h3 { font-size: var(--fs-body); margin: 0; }
.ndvi-mini .nm-sub { font-size: var(--fs-xs); color: var(--nx-muted); }
.ndvi-mini .nm-body { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-top: 10px; }
@container (min-width: 520px) { .ndvi-mini .nm-body { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: start; } }
.ndvi-mini .nm-fig { margin: 0; min-width: 0; max-width: 340px; width: 100%; justify-self: center; }
.ndvi-mini .nm-canvas { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--nx-line-ui); background: var(--nx-chip); }
.ndvi-mini .nm-canvas canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; cursor: crosshair; touch-action: manipulation; }
.ndvi-mini .nm-north { position: absolute; top: 6px; right: 6px; padding: 2px 7px; border-radius: 99px; font-size: var(--fs-xs); font-weight: 700; color: var(--nx-line); background: color-mix(in srgb, var(--nx-halo) 70%, transparent); pointer-events: none; }
.ndvi-mini .nm-scale { display: flex; align-items: center; gap: var(--sp8); margin-top: var(--sp8); font-size: var(--fs-xs); color: var(--nx-muted); }
.ndvi-mini .nm-scale i { display: block; height: 6px; border: 1.5px solid currentColor; border-top: 0; flex: none; }
.ndvi-mini .nm-read { margin-top: var(--sp6); font-size: var(--fs-sm); color: var(--nx-text-2); min-height: 1.4em; }
.ndvi-mini .nm-side { min-width: 0; }
.ndvi-mini .nm-date { font-size: var(--fs-sm); color: var(--nx-text-2); }
.ndvi-mini .nm-hero { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.ndvi-mini .nm-big { font-size: var(--fs-stat); font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.ndvi-mini .nm-hero span:last-child { font-size: var(--fs-sm); color: var(--nx-text-2); line-height: 1.35; }
.ndvi-mini .nm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ndvi-mini .nm-chip { min-height: 44px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--nx-line-ui); background: var(--nx-chip); color: inherit; font: 500 var(--fs-sm)/1.2 var(--font); cursor: pointer; font-variant-numeric: tabular-nums; }
.ndvi-mini .nm-chip.on { background: var(--accent-grad); color: var(--on-accent); border-color: transparent; font-weight: 600; }
/* nút tầm nhìn (sát khu / rộng hơn / toàn vùng) phía trên bản đồ nhỏ: ba nút chia đều bề ngang */
.ndvi-mini .nm-views { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px; }
.ndvi-mini .nm-views[hidden] { display: none; }
.ndvi-mini .nm-views .nm-chip { padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ndvi-mini .nm-note { font-size: var(--fs-xs); color: var(--nx-muted); margin: var(--sp8) 0 0; }
.ndvi-mini .nm-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .ndvi-scope .nx-spin { animation-duration: 2.4s; } .ndvi-page .nx-skel { animation: none; } }
