:root {
  --bg: #07070b;
  --panel: rgba(17, 18, 27, 0.78);
  --panel-strong: rgba(24, 25, 36, 0.96);
  --text: #f8f8fb;
  --muted: rgba(248, 248, 251, 0.64);
  --soft: rgba(248, 248, 251, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --red: #e20d1f;
  --red-2: #ff3345;
  --red-dark: #7d0711;
  --green: #28d17c;
  --gold: #f0ba5d;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  --radius: 26px;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg); }

body {
  min-height: 100vh;
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(226, 13, 31, 0.26), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(255, 51, 69, 0.18), transparent 28%),
    linear-gradient(135deg, #050508 0%, #10111a 46%, #07070b 100%);
  overflow-x: hidden;
}

a { color: inherit; }

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
  opacity: .28;
}

.nm-page-shell {
  position: relative;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 22px;
}

.nm-topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 8, 12, .72);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 70px rgba(0,0,0,.26);
}

.nm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.nm-brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(226, 13, 31, .32);
}

.nm-brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.nm-brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.nm-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nm-nav a,
.nm-ghost,
.nm-red,
.nm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.nm-nav a { color: rgba(248,248,251,.74); background: rgba(255,255,255,.035); }
.nm-nav a.active,
.nm-nav a:hover,
.nm-ghost:hover { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); transform: translateY(-1px); }

.nm-red,
.nm-button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  box-shadow: 0 18px 42px rgba(226,13,31,.24);
}

.nm-button.secondary { background: rgba(255,255,255,.07); }
.nm-button:hover, .nm-red:hover { transform: translateY(-2px); box-shadow: 0 20px 52px rgba(226,13,31,.28); }

.nm-top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.nm-user-pill { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13px; font-weight: 800; }

.nm-flash {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}
.nm-flash.success { border-color: rgba(40,209,124,.34); background: rgba(40,209,124,.1); }
.nm-flash.error { border-color: rgba(255,51,69,.42); background: rgba(226,13,31,.12); }

.nm-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  padding: 34px 0 24px;
}

.nm-hero-card,
.nm-auth-card,
.nm-panel,
.nm-stat,
.nm-car-card,
.nm-payment-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.045)), var(--panel);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.nm-hero-card { padding: clamp(24px, 5vw, 58px); overflow: hidden; position: relative; isolation: isolate; }
.nm-hero-card::before {
  content: "";
  position: absolute;
  inset: auto -18% -38% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,13,31,.36), transparent 64%);
  z-index: -1;
}

.nm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nm-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(42px, 6vw, 82px); line-height: .92; letter-spacing: -.07em; }
h2 { font-size: clamp(24px, 3vw, 38px); letter-spacing: -.04em; }
h3 { margin-bottom: 10px; font-size: 18px; letter-spacing: -.02em; }

.nm-lead { max-width: 720px; color: var(--muted); font-size: clamp(16px, 1.7vw, 21px); line-height: 1.62; font-weight: 600; }
.nm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.nm-auth-card { padding: clamp(22px, 4vw, 36px); align-self: start; }
.nm-auth-card form,
.nm-panel form { display: grid; gap: 14px; }

.nm-field { display: grid; gap: 8px; color: rgba(248,248,251,.76); font-size: 13px; font-weight: 850; }
.nm-field span { display: flex; justify-content: space-between; gap: 8px; }
.nm-field small { color: rgba(248,248,251,.46); font-weight: 700; }

.nm-field input,
.nm-field select,
.nm-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(0,0,0,.26);
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.nm-field textarea { min-height: 118px; padding: 14px 15px; resize: vertical; }
.nm-field input:focus,
.nm-field select:focus,
.nm-field textarea:focus { border-color: rgba(255,51,69,.72); box-shadow: 0 0 0 4px rgba(226,13,31,.12); background: rgba(0,0,0,.36); }

.nm-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nm-form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nm-span-2 { grid-column: span 2; }
.nm-span-3 { grid-column: span 3; }

.nm-mini-note { color: rgba(248,248,251,.54); font-size: 12px; line-height: 1.55; font-weight: 650; }
.nm-mini-note a { color: #fff; font-weight: 850; text-decoration-color: rgba(255,255,255,.28); }

.nm-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 10px 0 22px;
}
.nm-stat { min-height: 148px; padding: 22px; }
.nm-stat span { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.nm-stat strong { display: block; margin-top: 14px; font-size: 38px; line-height: 1; letter-spacing: -.05em; }
.nm-stat small { display: block; margin-top: 8px; color: rgba(248,248,251,.54); font-weight: 700; }

.nm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}
.nm-layout.reverse { grid-template-columns: minmax(390px, .85fr) minmax(0, 1.15fr); }
.nm-panel { padding: clamp(20px, 3vw, 30px); }

.nm-checklist { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.nm-checklist li { display: flex; align-items: flex-start; gap: 12px; color: rgba(248,248,251,.72); line-height: 1.55; font-weight: 650; }
.nm-checklist li::before { content: ""; flex: 0 0 10px; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-2)); box-shadow: 0 0 0 7px rgba(226,13,31,.1); }

.nm-cars-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nm-public-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.nm-car-card { overflow: hidden; }
.nm-car-media { position: relative; aspect-ratio: 16/10; background: #111; overflow: hidden; }
.nm-car-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.08) contrast(1.05); transition: transform .38s ease; }
.nm-car-card:hover .nm-car-media img { transform: scale(1.04); }
.nm-photo-strip { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.nm-photo-strip button { height: 38px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(0,0,0,.34); overflow: hidden; padding: 0; cursor: pointer; opacity: .82; }
.nm-photo-strip button.active { border-color: rgba(255,51,69,.92); opacity: 1; }
.nm-photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.nm-car-body { padding: 18px; }
.nm-car-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.nm-car-title { margin: 0; font-size: 20px; line-height: 1.18; letter-spacing: -.035em; }
.nm-price { color: #fff; font-size: 18px; font-weight: 950; white-space: nowrap; }
.nm-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.nm-meta span, .nm-status, .nm-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: rgba(248,248,251,.72);
  font-size: 12px;
  font-weight: 800;
}
.nm-status { color: #fff; background: rgba(226,13,31,.16); border-color: rgba(226,13,31,.34); }
.nm-car-desc { margin: 0; color: rgba(248,248,251,.62); font-size: 13px; line-height: 1.55; font-weight: 650; }

.nm-filters-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 22px; }
.nm-chip { text-decoration: none; color: rgba(248,248,251,.76); }
.nm-chip.active, .nm-chip:hover { color: #fff; border-color: rgba(255,51,69,.48); background: rgba(226,13,31,.14); }

.nm-payment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.nm-payment-card { position: relative; padding: 24px; overflow: hidden; }
.nm-payment-card.featured { border-color: rgba(255,51,69,.42); background: linear-gradient(135deg, rgba(226,13,31,.22), rgba(255,255,255,.05)), var(--panel); }
.nm-payment-card h3 { font-size: 22px; }
.nm-payment-card .sum { display: block; margin: 14px 0; font-size: 32px; font-weight: 950; letter-spacing: -.05em; }
.nm-payment-card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: rgba(248,248,251,.68); font-size: 13px; line-height: 1.45; font-weight: 650; }
.nm-payment-card li::before { content: "•"; color: var(--red-2); margin-right: 8px; }

.nm-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.04); }
.nm-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.nm-table th, .nm-table td { padding: 15px 16px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; font-size: 13px; }
.nm-table th { color: rgba(248,248,251,.52); font-size: 11px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.nm-table td { color: rgba(248,248,251,.78); font-weight: 700; }
.nm-table tr:last-child td { border-bottom: 0; }

.nm-empty {
  padding: 26px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 22px;
  color: rgba(248,248,251,.62);
  text-align: center;
  font-weight: 700;
}

.nm-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 36px 0 0;
  padding: 20px 4px;
  color: rgba(248,248,251,.42);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .nm-topbar { grid-template-columns: 1fr; }
  .nm-nav { justify-content: flex-start; overflow-x: auto; padding-bottom: 3px; }
  .nm-top-actions { justify-content: flex-start; }
  .nm-hero,
  .nm-layout,
  .nm-layout.reverse { grid-template-columns: 1fr; }
  .nm-dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nm-payment-grid, .nm-public-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .nm-page-shell { padding: 14px; }
  .nm-topbar { top: 8px; border-radius: 20px; }
  h1 { font-size: clamp(38px, 14vw, 58px); }
  .nm-form-grid,
  .nm-form-grid.three,
  .nm-dashboard,
  .nm-cars-grid,
  .nm-payment-grid,
  .nm-public-grid { grid-template-columns: 1fr; }
  .nm-span-2, .nm-span-3 { grid-column: auto; }
  .nm-car-head { flex-direction: column; }
  .nm-price { white-space: normal; }
  .nm-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Final cabinet photo upload + theme polish */
.nm-upload-field input[type="file"]{padding:14px;border-style:dashed;cursor:pointer}.nm-upload-preview{display:none;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-top:-4px}.nm-upload-preview.is-visible{display:grid}.nm-upload-preview-card{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.055)}.nm-upload-preview-card img{width:72px;height:72px;border-radius:14px;object-fit:cover;background:#111}.nm-upload-preview-card strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.nm-upload-preview-card span{display:block;margin-top:5px;color:rgba(248,248,251,.58);font-size:11px;font-weight:800}.nm-theme-btn{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.06);color:#fff;cursor:pointer}.nm-theme-btn svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}html[data-theme="light"] body{background:#f4f6fb;color:#101522}html[data-theme="light"] .nm-topbar,html[data-theme="light"] .nm-panel,html[data-theme="light"] .nm-hero-card,html[data-theme="light"] .nm-stat,html[data-theme="light"] .nm-car-card,html[data-theme="light"] .nm-payment-card{background:rgba(255,255,255,.92);border-color:rgba(17,24,39,.1);color:#101522;box-shadow:0 20px 60px rgba(17,24,39,.08)}html[data-theme="light"] .nm-nav a,html[data-theme="light"] .nm-brand,html[data-theme="light"] .nm-field span,html[data-theme="light"] .nm-table td{color:#101522}html[data-theme="light"] .nm-field input,html[data-theme="light"] .nm-field textarea,html[data-theme="light"] .nm-field select{background:#fff;color:#101522;border-color:rgba(17,24,39,.12)}html[data-theme="light"] .nm-car-desc,html[data-theme="light"] .nm-lead,html[data-theme="light"] .nm-empty,html[data-theme="light"] .nm-table th{color:#667085}html[data-theme="light"] .nm-theme-btn,html[data-theme="light"] .nm-upload-preview-card{background:#fff;color:#101522;border-color:rgba(17,24,39,.1)}

/* Quality upgrade: filters, analytics, 4-column/vertical cards and favorites */
.nm-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.nm-section-head h2{margin-bottom:0}.nm-view-switch{display:inline-flex;gap:6px;padding:6px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.055)}.nm-view-switch a{min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;border-radius:999px;color:rgba(248,248,251,.68);font-size:12px;font-weight:900;text-decoration:none;white-space:nowrap}.nm-view-switch a.is-active,.nm-view-switch a:hover{background:linear-gradient(135deg,var(--red),var(--red-2));color:#fff}.nm-catalog-filter-panel{position:relative;overflow:hidden}.nm-catalog-filter-panel::before{content:"";position:absolute;inset:-120px -120px auto auto;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(255,51,69,.22),transparent 66%);pointer-events:none}.nm-catalog-filter-panel form{position:relative}.nm-public-grid.grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}.nm-public-grid.vertical-list{grid-template-columns:1fr}.nm-public-grid.vertical-list .nm-car-card{display:grid;grid-template-columns:minmax(320px,.42fr) minmax(0,1fr);align-items:stretch}.nm-public-grid.vertical-list .nm-car-media{height:100%;min-height:260px;aspect-ratio:auto}.nm-public-grid.vertical-list .nm-car-body{display:flex;flex-direction:column;justify-content:center}.nm-card-view-pill{position:absolute;top:12px;left:12px;z-index:3;display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(0,0,0,.46);backdrop-filter:blur(12px);color:#fff;font-size:12px;font-weight:900}.nm-card-tools{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.nm-card-tools .nm-button{min-height:42px;padding:0 14px;font-size:12px}.nm-car-card.is-favorite{border-color:rgba(255,51,69,.52);box-shadow:0 22px 70px rgba(226,13,31,.16)}.nm-car-card.is-hidden-by-favorites{display:none!important}.nm-stat-views{background:linear-gradient(135deg,rgba(226,13,31,.20),rgba(255,255,255,.045)),var(--panel)}.nm-analytics-preview{margin-top:18px}.nm-analytics-bars{display:grid;gap:12px;margin-top:14px}.nm-analytics-row{display:grid;grid-template-columns:minmax(170px,.45fr) minmax(180px,1fr) 76px;gap:12px;align-items:center;padding:12px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(255,255,255,.045)}.nm-analytics-title{min-width:0;color:#fff;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nm-analytics-track{height:10px;border-radius:999px;background:rgba(255,255,255,.09);overflow:hidden}.nm-analytics-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--red),var(--red-2));min-width:4px}.nm-analytics-value{text-align:right;color:rgba(248,248,251,.74);font-size:13px;font-weight:900}.nm-table .nm-row-main{color:#fff;font-weight:950}.nm-filter-price-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.nm-public-grid .nm-car-title{font-size:18px}.nm-public-grid.grid-four .nm-car-body{padding:15px}.nm-public-grid.grid-four .nm-meta span,.nm-public-grid.grid-four .nm-status{font-size:11px;padding:0 8px}.nm-public-grid.grid-four .nm-photo-strip{left:8px;right:8px;bottom:8px;gap:4px}.nm-public-grid.grid-four .nm-photo-strip button{height:32px;border-radius:8px}
html[data-theme="light"] .nm-view-switch{background:#fff;border-color:rgba(17,24,39,.1)}html[data-theme="light"] .nm-view-switch a{color:#667085}html[data-theme="light"] .nm-analytics-title{color:#101522}html[data-theme="light"] .nm-analytics-row{background:#fff;border-color:rgba(17,24,39,.08)}html[data-theme="light"] .nm-card-view-pill{background:rgba(16,21,34,.72)}html[data-theme="light"] .nm-car-card.is-favorite{border-color:rgba(226,13,31,.34);box-shadow:0 22px 60px rgba(226,13,31,.10)}
@media (max-width:1280px){.nm-public-grid.grid-four{grid-template-columns:repeat(3,minmax(0,1fr))}.nm-dashboard{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1080px){.nm-public-grid.grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}.nm-public-grid.vertical-list .nm-car-card{grid-template-columns:1fr}.nm-section-head{flex-direction:column}.nm-analytics-row{grid-template-columns:1fr}}@media (max-width:720px){.nm-public-grid.grid-four,.nm-public-grid.vertical-list{grid-template-columns:1fr}.nm-view-switch{width:100%;display:grid;grid-template-columns:1fr 1fr}.nm-filter-price-pair{grid-template-columns:1fr}.nm-card-tools .nm-button{width:100%}.nm-public-grid.vertical-list .nm-car-media{min-height:220px}}


/* === NM Cars premium auth pages + custom CAPTCHA + security UI === */
.nm-auth-experience{position:relative;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(420px,.84fr);gap:24px;align-items:start;padding:34px 0 28px}.nm-auth-experience::before{content:"";position:absolute;inset:16px -8vw auto auto;width:420px;height:420px;border-radius:999px;background:radial-gradient(circle,rgba(226,13,31,.24),transparent 68%);filter:blur(4px);pointer-events:none;z-index:-1}.nm-auth-hero,.nm-auth-card-pro{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:32px;background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.048)),rgba(14,15,23,.82);backdrop-filter:blur(24px);box-shadow:0 36px 110px rgba(0,0,0,.42)}.nm-auth-hero{min-height:650px;padding:clamp(26px,5.2vw,66px);isolation:isolate}.nm-auth-hero::before{content:"";position:absolute;inset:auto -20% -28% auto;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(255,51,69,.28),transparent 66%);z-index:-1}.nm-auth-hero::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:46px 46px;mask-image:radial-gradient(circle at 45% 35%,black,transparent 72%);opacity:.32;z-index:-2}.nm-auth-kicker{display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:0 14px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.07);color:#fff;font-size:12px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.nm-auth-kicker svg,.nm-auth-main-icon svg,.nm-auth-submit svg,.nm-icon-field i svg,.nm-auth-orbit span svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.nm-auth-hero h1{max-width:780px;margin:26px 0 20px;font-size:clamp(46px,6.3vw,96px);line-height:.9;letter-spacing:-.08em}.nm-auth-trust-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.nm-auth-trust-row span,.nm-auth-benefits li{display:inline-flex;align-items:center;gap:9px;min-height:38px;padding:0 13px;border:1px solid rgba(255,255,255,.11);border-radius:999px;background:rgba(255,255,255,.06);color:rgba(248,248,251,.74);font-size:12px;font-weight:850}.nm-auth-benefits{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 0;padding:0;list-style:none}.nm-auth-benefits li::before{content:"";width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,var(--red),var(--red-2));box-shadow:0 0 0 6px rgba(226,13,31,.12)}.nm-auth-orbit{position:absolute;right:clamp(18px,4vw,58px);bottom:clamp(18px,4vw,58px);width:250px;height:250px;border:1px solid rgba(255,255,255,.1);border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.08),transparent 70%);animation:nmAuthFloat 7s ease-in-out infinite alternate}.nm-auth-orbit span{position:absolute;display:grid;place-items:center;width:68px;height:68px;border:1px solid rgba(255,255,255,.14);border-radius:24px;background:linear-gradient(135deg,rgba(226,13,31,.86),rgba(255,51,69,.72));color:#fff;box-shadow:0 22px 60px rgba(226,13,31,.26)}.nm-auth-orbit span:nth-child(1){left:91px;top:-34px}.nm-auth-orbit span:nth-child(2){right:-18px;bottom:34px;background:rgba(255,255,255,.09)}.nm-auth-orbit span:nth-child(3){left:-18px;bottom:42px;background:rgba(255,255,255,.09)}@keyframes nmAuthFloat{from{transform:translate3d(0,0,0) rotate(-2deg)}to{transform:translate3d(12px,-16px,0) rotate(4deg)}}.nm-auth-card-pro{padding:clamp(22px,3.6vw,38px)}.nm-auth-card-pro::before{content:"";position:absolute;inset:-120px -120px auto auto;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(226,13,31,.24),transparent 68%);pointer-events:none}.nm-auth-card-head{position:relative;display:flex;align-items:center;gap:16px;margin-bottom:22px}.nm-auth-main-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(135deg,var(--red),var(--red-2));color:#fff;box-shadow:0 20px 48px rgba(226,13,31,.28);flex:0 0 auto}.nm-auth-card-head p{margin:0 0 4px;color:rgba(248,248,251,.52);font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.16em}.nm-auth-card-head h2{margin:0}.nm-auth-form{position:relative}.nm-icon-field{position:relative}.nm-icon-field i{position:absolute;left:15px;bottom:14px;width:22px;height:22px;display:grid;place-items:center;color:rgba(248,248,251,.52);pointer-events:none}.nm-icon-field input{padding-left:48px!important}.nm-icon-field input:focus+i{color:#fff}.nm-auth-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.nm-auth-submit{width:100%;gap:10px;min-height:54px;font-weight:950}.nm-auth-submit svg{width:20px;height:20px}.nm-hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}.nm-captcha-card{display:grid;gap:14px;padding:16px;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:linear-gradient(135deg,rgba(226,13,31,.14),rgba(255,255,255,.055));box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.nm-captcha-head{display:flex;align-items:center;gap:12px}.nm-captcha-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:15px;background:#fff;color:#0e1018;font-weight:950;letter-spacing:-.06em}.nm-captcha-head b{display:block;color:#fff;font-size:13px;letter-spacing:.02em}.nm-captcha-head small{display:block;margin-top:3px;color:rgba(248,248,251,.54);font-size:11px;font-weight:750}.nm-captcha-code{min-height:62px;display:grid;place-items:center;border-radius:18px;border:1px dashed rgba(255,255,255,.24);background:radial-gradient(circle at 20% 10%,rgba(255,255,255,.18),transparent 35%),linear-gradient(135deg,#171923,#0b0c12);color:#fff;font-size:clamp(24px,4vw,36px);font-weight:950;letter-spacing:.18em;text-shadow:0 8px 24px rgba(226,13,31,.34);user-select:none}.nm-captcha-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.nm-captcha-field input{min-height:46px}.nm-auth-card-pro .nm-flash{margin:0 0 16px}html[data-theme="light"] .nm-auth-hero,html[data-theme="light"] .nm-auth-card-pro{background:rgba(255,255,255,.94);border-color:rgba(17,24,39,.1);color:#101522;box-shadow:0 28px 80px rgba(17,24,39,.12)}html[data-theme="light"] .nm-auth-kicker,html[data-theme="light"] .nm-auth-trust-row span,html[data-theme="light"] .nm-auth-benefits li{background:#fff;border-color:rgba(17,24,39,.09);color:#101522}html[data-theme="light"] .nm-auth-card-head p,html[data-theme="light"] .nm-captcha-head small{color:#667085}html[data-theme="light"] .nm-captcha-card{background:#fff;border-color:rgba(17,24,39,.1)}html[data-theme="light"] .nm-captcha-head b{color:#101522}html[data-theme="light"] .nm-captcha-code{border-color:rgba(226,13,31,.22);background:linear-gradient(135deg,#101522,#2a0b10);color:#fff}html[data-theme="light"] .nm-icon-field i{color:#667085}
@media(max-width:1120px){.nm-auth-experience{grid-template-columns:1fr}.nm-auth-hero{min-height:auto}.nm-auth-orbit{position:relative;right:auto;bottom:auto;margin-top:34px}}@media(max-width:720px){.nm-auth-experience{padding:20px 0;gap:16px}.nm-auth-hero,.nm-auth-card-pro{border-radius:24px}.nm-auth-hero{padding:24px}.nm-auth-hero h1{font-size:clamp(42px,14vw,64px);letter-spacing:-.065em}.nm-auth-orbit{width:190px;height:190px}.nm-auth-orbit span{width:56px;height:56px;border-radius:19px}.nm-auth-two,.nm-captcha-grid{grid-template-columns:1fr}.nm-auth-card-head{align-items:flex-start}.nm-auth-trust-row span,.nm-auth-benefits li{width:100%;justify-content:center}.nm-auth-submit{min-height:52px}}
@media(prefers-reduced-motion:reduce){.nm-auth-orbit{animation:none!important}}


/* === NM Cars auth header and icon polish === */
.nm-topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;flex-wrap:nowrap!important}
.nm-brand.nm-text-brand{min-width:max-content!important;text-decoration:none!important}
.nm-brand.nm-text-brand strong{font-size:18px!important;letter-spacing:-.03em!important}
.nm-brand.nm-text-brand small{font-size:10px!important;letter-spacing:.16em!important}
.nm-nav{flex:1 1 auto!important;justify-content:center!important;min-width:0!important;overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:none!important}
.nm-nav::-webkit-scrollbar{display:none!important}
.nm-top-actions{flex:0 0 auto!important}
.nm-icon-field i{left:14px!important;bottom:12px!important;width:30px!important;height:30px!important;border-radius:12px!important;background:rgba(255,255,255,.07)!important;color:rgba(248,248,251,.7)!important}
.nm-icon-field i svg{width:18px!important;height:18px!important}
.nm-icon-field input{padding-left:58px!important}
.nm-icon-field:focus-within i{color:#fff!important;background:linear-gradient(135deg,var(--red),var(--red-2))!important;box-shadow:0 12px 26px rgba(226,13,31,.24)!important}
.nm-auth-main-icon{border-radius:18px!important}
.nm-captcha-mark{background:linear-gradient(135deg,var(--red),var(--red-2))!important;color:#fff!important}
@media(max-width:980px){.nm-topbar{display:grid!important;grid-template-columns:1fr!important}.nm-nav{justify-content:flex-start!important}.nm-top-actions{justify-content:flex-start!important}}
@media(max-width:640px){.nm-nav{display:grid!important;grid-template-columns:1fr 1fr!important}.nm-top-actions{display:grid!important;grid-template-columns:auto 1fr 1fr!important}.nm-brand.nm-text-brand small{display:none!important}}

/* === NM Cars suite clean theme button === */
html[data-theme="light"] .nm-topbar{
  background:#fff!important;
  background-image:none!important;
  border-color:rgba(17,24,39,.10)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.075)!important;
}
.nm-theme-btn{
  background:#fff!important;
  background-image:none!important;
  border:1px solid rgba(17,24,39,.11)!important;
  color:#101522!important;
  box-shadow:0 8px 18px rgba(15,23,42,.06)!important;
}
.nm-theme-btn::before{display:none!important;content:none!important;background:none!important;}
.nm-theme-btn:hover{
  background:#fff!important;
  border-color:rgba(17,24,39,.24)!important;
  color:#090b10!important;
  box-shadow:0 11px 24px rgba(15,23,42,.09)!important;
}
.nm-theme-btn svg{fill:none!important;stroke:currentColor!important;stroke-width:1.95!important;stroke-linecap:round!important;stroke-linejoin:round!important;filter:none!important;}
