/* =========================================================================
   TKT Blog Archive — MOBILE (≤768px) · ported from approved news-mobile.css
   Content-only: hero · popular rail · editor's pick · all-articles (chip + bottom
   sheet filter) · newsletter. NO device frame / app header / drawer / footer /
   bottom-bar — the theme provides header, footer and floating widgets.
   Scope: .nm-root. Tokens only. Loads after components.css + tkt-blog-archive.css.
   ========================================================================= */

/* ── desktop ↔ mobile toggle (≤768 = mobile design, ≥769 = desktop) ──────── */
.nm-root { display: none; }
@media (max-width: 768px) {
  .tkt-news-root { display: none !important; }
  .nm-root { display: block; }
}

.nm-root {
  position: relative;
  overflow-x: clip; /* contain the -20px bleed of snap-rails/chip-scroll so the
                       PAGE never scrolls horizontally (rails scroll internally) */
  --grp-solution: var(--tkt-blue-600);
  --grp-pump:     var(--tkt-blue-400);
  --grp-company:  var(--semantic-success);
}
.nm-root * { box-sizing: border-box; }

/* INTEGRATION FIX — escape Elementor's boxed shortcode container to full viewport
   width (same as the desktop .tkt-news-root) so the 20px section gutter + the
   rail/chip -20px edge-bleed line up with the real screen edges. Without this the
   bleed overflowed and broke the layout (user 2026-06-03). */
.elementor .elementor-widget-shortcode .nm-root,
.elementor .nm-root {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}

/* Pink-button guard — plugin reset.css forces #CC3366 border/background (incl.
   :hover) on every bare <button>; kill it at (0,2,x). Component buttons below are
   scoped .nm-root (0,2,0) and re-assert their own look (source-order after this). */
.nm-root button { -webkit-appearance: none; appearance: none; border: 0; background: none; color: inherit; border-radius: 0; outline: none; cursor: pointer; }
.nm-root button:hover, .nm-root button:focus { background: none; color: inherit; border-color: transparent; box-shadow: none; }

/* real post images fill the media box (mockup used <image-slot>; live uses <img>) */
.nm-root .media { position: relative; }
.nm-root .media .ns-img {
  position: absolute; inset: 0; z-index: 1;
  width: 100% !important; height: 100% !important; object-fit: cover; display: block;
}
.nm-root .media .ns-ph { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; color: var(--fg-4); font-family: var(--font-mono); font-size: var(--t-caption); }
.nm-root .nm-media-cat, .nm-root .nm-ribbon { z-index: 2; }

/* ── Breadcrumb ──────────────────────────────────────────────────────── */
.nm-crumb {
  display: flex; align-items: center; gap: var(--s-2);
  padding: 14px 20px 0;
  font-size: var(--t-caption); color: var(--fg-3);
}
.nm-crumb a { color: var(--fg-3); }
.nm-crumb .sep { color: var(--fg-4); }
.nm-crumb .here { color: var(--fg-1); font-weight: var(--w-demi); }

/* ── Section shell ───────────────────────────────────────────────────── */
.nm-sec { padding: 0 20px; margin-top: var(--s-7); }
.nm-eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-mono); font-size: var(--t-eyebrow); font-weight: var(--w-bold);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--tkt-blue-700);
}
.nm-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tkt-orange-500); box-shadow: 0 0 8px var(--tkt-orange-400); }
.nm-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.nm-sec-head h2 { font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--t-heading-1); line-height: 1.1; letter-spacing: -0.02em; color: var(--fg-1); margin-top: var(--s-2); }
.nm-sec-head h2 .t-em { color: var(--tkt-blue-600); font-style: normal; }
.nm-seemore { font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--t-body-sm); color: var(--tkt-blue-700); white-space: nowrap; flex-shrink: 0; }

/* ── HERO (compact) ──────────────────────────────────────────────────── */
.nm-hero { position: relative; padding: 18px 20px 4px; overflow: hidden; }
.nm-hero .bg-aurora, .nm-hero .bg-grid { z-index: 0; }
.nm-hero > * { position: relative; z-index: 1; }
.nm-hero h1 { font-family: var(--font-display); font-weight: var(--w-bold); font-size: 34px; line-height: 1.06; letter-spacing: -0.025em; color: var(--fg-1); margin-top: var(--s-3); text-wrap: balance; }
.nm-hero h1 .t-em { color: var(--tkt-blue-600); font-style: normal; }
.nm-hero .lede { margin-top: var(--s-3); font-size: var(--t-body); line-height: 1.5; color: var(--fg-2); }

.nm-stats { display: flex; gap: var(--s-2); margin-top: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 2px; -ms-overflow-style: none; scrollbar-width: none; }
.nm-stats::-webkit-scrollbar { display: none; }
.nm-stat {
  flex: 0 0 auto; scroll-snap-align: start; min-width: 96px;
  padding: var(--s-3) var(--s-4); border-radius: var(--r-16);
  background: var(--bg-pure); border: 1px solid rgba(0,40,80,0.1); box-shadow: var(--elev-1);
}
.nm-stat .num { font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--t-heading-1); line-height: 1; color: var(--tkt-blue-800); }
.nm-stat .num sup { font-size: 0.5em; }
.nm-stat .label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin-top: 4px; }

.nm-topics-lbl { display: block; margin: var(--s-5) 0 var(--s-3); font-family: var(--font-mono); font-size: var(--t-micro); font-weight: var(--w-bold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.nm-topic-scroll { display: flex; gap: var(--s-2); overflow-x: auto; padding-bottom: var(--s-2); -ms-overflow-style: none; scrollbar-width: none; }
.nm-topic-scroll::-webkit-scrollbar { display: none; }
.nm-root .nm-topic {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-3) var(--s-4); border-radius: var(--r-pill);
  background: var(--bg-pure); border: 1px solid rgba(0,40,80,0.1);
  font-family: var(--font-display); font-weight: var(--w-demi); font-size: var(--t-body-sm);
  color: var(--fg-1); box-shadow: var(--elev-1); white-space: nowrap; cursor: pointer;
}
.nm-topic .d { width: 8px; height: 8px; border-radius: 2px; background: var(--tkt-blue-500); }
.nm-topic .d[data-grp="solution"] { background: var(--grp-solution); }
.nm-topic .d[data-grp="pump"]     { background: var(--grp-pump); }
.nm-topic .d[data-grp="company"]  { background: var(--grp-company); }

/* ── Popular rail ────────────────────────────────────────────────────── */
.nm-rail {
  display: flex; gap: var(--s-3); overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 0 20px var(--s-2);
  margin: 0 -20px; -ms-overflow-style: none; scrollbar-width: none;
}
.nm-rail::-webkit-scrollbar { display: none; }
.nm-pop-card {
  flex: 0 0 auto; scroll-snap-align: start; width: 230px;
  position: relative; display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-4); padding-left: 46px;
  border-radius: var(--r-16); background: var(--bg-pure);
  border: 1px solid rgba(0,40,80,0.08); box-shadow: var(--elev-1);
}
.nm-pop-card .rk { position: absolute; top: var(--s-3); left: var(--s-4); font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--t-heading-1); line-height: 1; color: var(--tkt-blue-200, #A8D2F7); }
.nm-pop-card .rt { font-family: var(--font-display); font-weight: var(--w-demi); font-size: var(--t-body-sm); line-height: 1.32; color: var(--fg-1); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nm-pop-card .rv { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: var(--fg-3); margin-top: auto; }

/* ── Shared card chrome ──────────────────────────────────────────────── */
.nm-cat { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--font-mono); font-size: var(--t-micro); font-weight: var(--w-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); width: fit-content; }
.nm-cat::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--cat-accent, var(--tkt-blue-500)); }
.nm-cat[data-grp="solution"] { --cat-accent: var(--grp-solution); color: var(--tkt-blue-700); }
.nm-cat[data-grp="pump"]     { --cat-accent: var(--grp-pump);     color: var(--tkt-blue-600); }
.nm-cat[data-grp="company"]  { --cat-accent: var(--grp-company);  color: var(--semantic-success); }

.nm-meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2) var(--s-3); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em; color: var(--fg-3); margin-top: auto; }
.nm-meta .mdot { width: 3px; height: 3px; border-radius: 50%; background: var(--fg-4); }
.nm-meta .m-i { display: inline-flex; align-items: center; gap: 5px; }
.nm-meta svg { width: 13px; height: 13px; color: var(--fg-4); }

.nm-media-cat {
  position: absolute; z-index: 2; top: var(--s-3); left: var(--s-3);
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-1) var(--s-3); border-radius: var(--r-pill);
  background: rgba(255,255,255,0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9);
  font-family: var(--font-mono); font-size: 9.5px; font-weight: var(--w-bold);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-1);
}
.nm-media-cat::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--cat-accent, var(--tkt-blue-500)); }
.nm-media-cat[data-grp="solution"] { --cat-accent: var(--grp-solution); }
.nm-media-cat[data-grp="pump"]     { --cat-accent: var(--grp-pump); }
.nm-media-cat[data-grp="company"]  { --cat-accent: var(--grp-company); }

.nm-root .media-grid::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.5), rgba(221,235,250,0.5)),
    linear-gradient(rgba(0,80,144,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,80,144,0.05) 1px, transparent 1px);
  background-size: cover, 24px 24px, 24px 24px;
}
.nm-card-link { position: absolute; inset: 0; z-index: 3; }

/* ── Featured lead + rail cards ──────────────────────────────────────── */
.nm-feat-lead {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-pure); border: 1px solid rgba(0,80,144,0.14);
  border-radius: var(--r-24); overflow: hidden; box-shadow: var(--elev-2);
}
.nm-feat-lead .media { position: relative; aspect-ratio: 16 / 9; background: var(--bg-tint); }
.nm-feat-lead .body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.nm-feat-lead .ttl { font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--t-heading-2); line-height: 1.16; letter-spacing: -0.015em; color: var(--fg-1); text-wrap: balance; }
.nm-feat-lead .exc { font-size: var(--t-body-sm); line-height: 1.5; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nm-read { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--t-body-sm); color: var(--tkt-blue-700); }

.nm-ribbon {
  position: absolute; top: var(--s-4); left: var(--s-4); z-index: 2;
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-2) var(--s-3); border-radius: var(--r-pill);
  background: rgba(255,255,255,0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9);
  font-family: var(--font-mono); font-size: 10px; font-weight: var(--w-bold);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--tkt-orange-700);
}
.nm-ribbon .star { width: 6px; height: 6px; border-radius: 50%; background: var(--tkt-orange-500); }
.nm-feat-lead .nm-media-cat { left: auto; right: var(--s-4); }

.nm-feat-rail { margin-top: var(--s-4); }
.nm-feat-card {
  flex: 0 0 auto; scroll-snap-align: start; width: 248px;
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-pure); border: 1px solid rgba(0,40,80,0.08);
  border-radius: var(--r-20); overflow: hidden; box-shadow: var(--elev-1);
}
.nm-feat-card .media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-tint); }
.nm-feat-card .body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.nm-feat-card .ttl { font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--t-body); line-height: 1.28; letter-spacing: -0.01em; color: var(--fg-1); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Listing: filter bar ─────────────────────────────────────────────── */
.nm-listing { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid rgba(0,40,80,0.07); }
.nm-filterbar { margin: var(--s-4) 0 var(--s-2); padding: 0; background: var(--bg-pure); }
.nm-search-field {
  display: flex; align-items: center; gap: var(--s-2);
  height: 46px; padding: 0 var(--s-4); margin: 0 0 var(--s-3);
  border-radius: var(--r-pill); background: var(--bg-pure);
  border: 1px solid rgba(0,40,80,0.14);
}
.nm-search-field:focus-within { border-color: var(--tkt-blue-400); box-shadow: 0 0 0 4px rgba(45,141,224,0.14); }
.nm-search-field svg { color: var(--fg-3); flex-shrink: 0; }
.nm-search-field input { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; background: transparent; border: none; outline: none; font-family: var(--font-body); font-size: var(--t-body-sm); color: var(--fg-1); }
.nm-root .nm-search-field input { border: none; border-radius: 0; padding: 0; width: auto; box-shadow: none; }
.nm-search-field input::placeholder { color: var(--fg-4); }
.nm-search-field input::-webkit-search-decoration, .nm-search-field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.nm-chip-scroll { display: flex; align-items: center; gap: var(--s-2); overflow-x: auto; padding-bottom: var(--s-1); margin: 0 -20px; padding-left: 20px; padding-right: 20px; -ms-overflow-style: none; scrollbar-width: none; }
.nm-chip-scroll::-webkit-scrollbar { display: none; }
.nm-root .nm-filter-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: var(--s-2);
  height: 38px; padding: 0 var(--s-4); border-radius: var(--r-pill);
  background: var(--tkt-blue-050, #EAF3FC); border: 1px solid rgba(0,80,144,0.16);
  font-family: var(--font-display); font-weight: var(--w-demi); font-size: var(--t-body-sm); color: var(--tkt-blue-800);
  cursor: pointer; white-space: nowrap;
}
.nm-root .nm-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: var(--s-2);
  height: 38px; padding: 0 var(--s-4); border-radius: var(--r-pill);
  background: var(--bg-pure); border: 1px solid rgba(0,40,80,0.1);
  font-family: var(--font-display); font-weight: var(--w-demi); font-size: var(--t-body-sm);
  color: var(--fg-1); white-space: nowrap; cursor: pointer;
}
.nm-chip .n { font-family: var(--font-mono); font-size: var(--t-micro); font-weight: var(--w-bold); color: var(--fg-3); }
.nm-chip[aria-pressed="true"] { background: var(--tkt-blue-800); border-color: var(--tkt-blue-800); color: #fff; box-shadow: var(--elev-1); }
.nm-chip[aria-pressed="true"] .n { color: rgba(255,255,255,0.72); }

.nm-result { display: inline-flex; align-items: baseline; gap: var(--s-2); margin: var(--s-2) 0 var(--s-4); font-size: var(--t-body-sm); color: var(--fg-2); }
.nm-result b { font-family: var(--font-display); font-size: var(--t-heading-3); font-weight: var(--w-bold); color: var(--tkt-blue-800); }
.nm-result .ctx { color: var(--fg-3); }

/* ── Article list (single column) ───────────────────────────────────── */
.nm-list { display: flex; flex-direction: column; gap: var(--s-5); }
.nm-acard {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-pure); border: 1px solid rgba(0,40,80,0.08);
  border-radius: var(--r-20); overflow: hidden; box-shadow: var(--elev-1);
}
.nm-acard .media { position: relative; aspect-ratio: 16 / 9; background: var(--bg-tint); }
.nm-acard .body { padding: var(--s-4) var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.nm-acard .ttl { font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--t-heading-3); line-height: 1.26; letter-spacing: -0.01em; color: var(--fg-1); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nm-acard .exc { font-size: var(--t-body-sm); line-height: 1.5; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nm-acard .exc:empty { display: none; }

/* heading anti-clip override (kit LAYER 4 forces overflow:visible on h1-h6) */
.nm-root .nm-acard .ttl, .nm-root .nm-feat-card .ttl, .nm-root .nm-feat-lead .ttl, .nm-root .nm-pop-card .rt {
  display: -webkit-box !important; -webkit-box-orient: vertical !important; overflow: hidden !important;
}

.nm-list-foot { margin-top: var(--s-6); display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
.nm-count-line { font-family: var(--font-mono); font-size: var(--t-mono); color: var(--fg-3); letter-spacing: 0.04em; }
.nm-count-line b { color: var(--tkt-blue-700); }
.nm-progress { width: 160px; height: 4px; border-radius: var(--r-pill); background: rgba(0,40,80,0.1); overflow: hidden; }
.nm-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tkt-blue-500), var(--tkt-blue-700)); transition: width var(--dur-4) var(--ease-out); }
.nm-root .nm-loadmore {
  width: 100%; margin-top: var(--s-2);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: var(--s-4); border-radius: var(--r-pill);
  background: var(--bg-pure); border: 1px solid rgba(0,40,80,0.12);
  font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--t-body-sm); color: var(--tkt-blue-700);
  box-shadow: var(--elev-1); cursor: pointer; white-space: nowrap;
}
.nm-loadmore[hidden] { display: none; }

.nm-empty { text-align: center; padding: var(--s-9) var(--s-5); border: 1px dashed rgba(0,40,80,0.18); border-radius: var(--r-24); background: rgba(255,255,255,0.5); }
.nm-empty .ico { width: 52px; height: 52px; margin: 0 auto var(--s-4); border-radius: 50%; background: var(--semantic-info-bg); display: flex; align-items: center; justify-content: center; color: var(--tkt-blue-600); }
.nm-empty h3 { font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--t-heading-2); color: var(--fg-1); margin-bottom: var(--s-2); }
.nm-empty p { color: var(--fg-3); font-size: var(--t-body-sm); margin: 0 auto var(--s-4); max-width: 30ch; }

/* ── Newsletter strip ────────────────────────────────────────────────── */
.nm-news-wrap { margin: var(--s-9) 20px var(--s-7); }
.nm-news {
  position: relative; overflow: hidden; border-radius: var(--r-28);
  padding: var(--s-7) var(--s-6); background: var(--bg-dark); color: var(--fg-on-dark-2);
}
.nm-news .bg-aurora-dark, .nm-news .bg-grid-dark { z-index: 0; }
.nm-news > * { position: relative; z-index: 1; }
.nm-news .eye { font-family: var(--font-mono); font-size: var(--t-eyebrow); font-weight: var(--w-bold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--tkt-blue-300, #7FB8F0); }
.nm-news h3 { font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--t-heading-1); line-height: 1.12; color: #fff; margin-top: var(--s-3); text-wrap: balance; }
.nm-news h3 .t-em { color: var(--tkt-blue-300, #7FB8F0); font-style: normal; }
.nm-news .sub { color: rgba(255,255,255,0.72); font-size: var(--t-body-sm); margin-top: var(--s-3); }
.nm-news .field { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-5); padding: 5px 5px 5px var(--s-4); height: 52px; border-radius: var(--r-pill); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); }
.nm-news .field input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: #fff; font-family: var(--font-body); font-size: var(--t-body-sm); }
.nm-news .field input::placeholder { color: rgba(255,255,255,0.45); }
.nm-news .note { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: rgba(255,255,255,0.5); margin-top: var(--s-3); display: block; }

/* ── Bottom sheet (filter & sort) — fixed to viewport (no device frame) ── */
.nm-sheet { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.nm-sheet[data-open="true"] { pointer-events: auto; }
.nm-sheet-backdrop { position: absolute; inset: 0; background: rgba(0,26,61,0.4); opacity: 0; transition: opacity var(--dur-3) var(--ease-out); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.nm-sheet[data-open="true"] .nm-sheet-backdrop { opacity: 1; }
.nm-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 82vh; display: flex; flex-direction: column;
  background: var(--bg-pure); border-radius: var(--r-28) var(--r-28) 0 0;
  transform: translateY(100%); transition: transform var(--dur-4) var(--ease-out);
  box-shadow: 0 -20px 60px rgba(0,40,80,0.3);
}
.nm-sheet[data-open="true"] .nm-sheet-panel { transform: translateY(0); }
.nm-sheet-grab { width: 40px; height: 4px; border-radius: var(--r-pill); background: rgba(0,40,80,0.18); margin: var(--s-3) auto var(--s-2); }
.nm-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-2) var(--s-5) var(--s-4); border-bottom: 1px solid rgba(0,40,80,0.08); }
.nm-sheet-head h3 { font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--t-heading-2); color: var(--fg-1); }
.nm-root .nm-sheet-close { width: 36px; height: 36px; border-radius: 50%; background: rgba(0,40,80,0.06); border: none; display: inline-flex; align-items: center; justify-content: center; color: var(--fg-1); font-size: 18px; cursor: pointer; }
.nm-sheet-body { overflow-y: auto; padding: var(--s-5); flex: 1; }
.nm-sheet-sublabel { font-family: var(--font-mono); font-size: var(--t-eyebrow); font-weight: var(--w-bold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: var(--s-3); }
.nm-sort-seg { display: flex; gap: var(--s-2); margin-bottom: var(--s-5); }
.nm-root .nm-sort-seg button { flex: 1; height: 42px; border-radius: var(--r-12); background: rgba(0,40,80,0.05); border: 1px solid rgba(0,40,80,0.08); font-family: var(--font-display); font-weight: var(--w-demi); font-size: var(--t-body-sm); color: var(--fg-2); cursor: pointer; }
.nm-sort-seg button[aria-pressed="true"] { background: var(--tkt-blue-800); border-color: var(--tkt-blue-800); color: #fff; }
.nm-sheet-group { margin-bottom: var(--s-5); }
.nm-sheet-group .gl { display: flex; align-items: center; gap: var(--s-2); font-family: var(--font-mono); font-size: var(--t-eyebrow); font-weight: var(--w-bold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); margin-bottom: var(--s-2); }
.nm-sheet-group .gd { width: 8px; height: 8px; border-radius: 2px; background: var(--g-accent, var(--tkt-blue-500)); }
.nm-sheet-group[data-grp="solution"] { --g-accent: var(--grp-solution); }
.nm-sheet-group[data-grp="pump"]     { --g-accent: var(--grp-pump); }
.nm-sheet-group[data-grp="company"]  { --g-accent: var(--grp-company); }
.nm-root .nm-sheet-link { width: 100%; display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-12); background: transparent; border: none; font-family: var(--font-body); font-size: var(--t-body); font-weight: var(--w-medium); color: var(--fg-1); cursor: pointer; text-align: left; }
.nm-sheet-link .n { margin-left: auto; font-family: var(--font-mono); font-size: var(--t-micro); font-weight: var(--w-bold); color: var(--fg-3); }
.nm-sheet-link[aria-pressed="true"] { background: var(--semantic-info-bg); color: var(--tkt-blue-800); font-weight: var(--w-demi); }
.nm-sheet-link.is-all { background: var(--tkt-blue-050, #EAF3FC); margin-bottom: var(--s-4); }

/* pink-button guard (plugin reset.css forces #CC3366 on bare <button>) */
.nm-root button { -webkit-appearance: none; appearance: none; }
