/* Guide « Numéros importants » (numeros-neuf.html, numeros.js). Repris : apparitions (pourcontre.css), conseil (installer.css), notes (cout.css),
   fiches et carte (annuaire.css), pastille .ip-res-sur et lien .ip-carte-lien (impots.css, redéfinis ici pour ne pas charger impots.css). */

.ip-res-sur { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #0f2a3d; background: #fde68a; }
.ip-res-sur svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.ip-carte-lien { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14.5px; font-weight: 800; text-decoration: none; color: var(--b1); }
.ip-carte-lien svg { width: 16px; height: 16px; transition: transform .3s var(--courbe); }
.ip-carte-lien:hover svg { transform: translateX(4px); }

/* ---------- urgences en très grand ---------- */
.nm-urg { padding: 70px 0 60px; }
.nm-gros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 34px 0 0; padding: 0; list-style: none; }
.nm-g { position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%; box-sizing: border-box; padding: 22px 22px 18px; border-radius: 26px; overflow: hidden;
  text-decoration: none; color: #fff; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14);
  transition: transform .35s var(--rebond), background .35s, border-color .35s, box-shadow .35s; }
.nm-g::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 90% 0%, var(--t2), transparent 60%); opacity: .55; transition: opacity .35s; }
.nm-g:hover, .nm-g:focus-visible { transform: translateY(-5px); border-color: var(--t1); box-shadow: 0 26px 40px -24px var(--t1); }
.nm-g:hover::before { opacity: .9; }
.nm-g > * { position: relative; }
.ton-rouge { --t1: #ef4444; --t2: rgb(239 68 68 / .45); }
.ton-vert { --t1: #22c55e; --t2: rgb(34 197 94 / .4); }
.ton-orange { --t1: #f59e0b; --t2: rgb(245 158 11 / .45); }
.ton-bleu { --t1: #28a3e6; --t2: rgb(40 163 230 / .5); }
.nm-g-ic { position: relative; display: grid; place-items: center; width: 50px; height: 50px; }
.nm-g-ic i { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; padding: 12px; box-sizing: border-box; border-radius: 16px; background: var(--t1); }
.nm-g-ic svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2; }
.nm-g-ic em { position: absolute; inset: 0; border-radius: 16px; background: var(--t1); animation: nmOnde 2.6s ease-out infinite; }
.nm-gros li:nth-child(2) em { animation-delay: .65s; } .nm-gros li:nth-child(3) em { animation-delay: 1.3s; } .nm-gros li:nth-child(4) em { animation-delay: 1.95s; }
@keyframes nmOnde { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
.nm-g-n { margin-top: 18px; font-size: clamp(54px, 6vw, 82px); font-weight: 800; line-height: .95; letter-spacing: -.04em; color: #fff; }
.nm-g-t { display: grid; gap: 4px; margin-top: 10px; }
.nm-g-t strong { font-size: 19px; font-weight: 800; }
.nm-g-t small { font-size: 14px; line-height: 1.45; color: rgb(255 255 255 / .72); }
.nm-g-app { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 800; color: #0f2a3d; background: #fff;
  transform: translateY(14px); transition: background .3s, color .3s; }
.nm-g-t + .nm-g-app { margin-top: 18px; transform: none; }
.nm-g-app svg { width: 16px; height: 16px; }
.nm-g:hover .nm-g-app { color: #fff; background: var(--t1); }

.nm-urg-bas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.nm-urg-bas p { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 14px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; color: rgb(255 255 255 / .82);
  background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.nm-urg-bas i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 9px; box-sizing: border-box; border-radius: 12px; color: #0f2a3d; background: #fde68a; }
.nm-urg-bas svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.nm-urg-bas b { color: #fff; }
.nm-urg-bas a { color: #fde68a; font-weight: 800; }

/* bouton « enregistrer dans mon téléphone » (vCard) */
.nm-vc-l { margin: 24px 0 0; text-align: center; }
.nm-vc { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 800;
  color: var(--b1); background: #fff; box-shadow: inset 0 0 0 1.5px var(--b1), 0 14px 26px -18px rgb(28 125 179 / .8); transition: transform .35s var(--rebond), background .3s, color .3s; }
.nm-vc svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.nm-vc:hover { transform: translateY(-2px); color: #fff; background: var(--b1); }
.nm-vc:focus-visible { outline: 2px solid var(--b2); outline-offset: 3px; }
.nm-vc.sombre { color: #0f2a3d; background: #fde68a; box-shadow: 0 14px 26px -16px rgb(253 230 138 / .6); }
.nm-vc.sombre:hover { background: #fff; }
.nm-vc.fait { color: #fff; background: var(--g); box-shadow: none; }

/* ---------- qu'est-ce qui se passe ? ---------- */
.nm-sit-g { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 0; max-width: 1080px; margin: 30px auto 0; border-radius: 30px; overflow: hidden; background: #fff;
  box-shadow: 0 2px 4px rgb(15 42 61 / .05), 0 30px 50px -36px rgb(15 42 61 / .6); }
.nm-cas { display: grid; align-content: start; gap: 8px; padding: 22px; }
.nm-cas button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; cursor: pointer; font-size: 15px; font-weight: 700;
  color: var(--ink); border: 1px solid rgb(15 42 61 / .08); transition: transform .3s var(--courbe), background .3s, border-color .3s, box-shadow .3s; }
.nm-cas button:hover { transform: translateX(4px); border-color: var(--b2); }
.nm-cas button:focus-visible { outline: 2px solid var(--b2); outline-offset: 2px; }
.nm-cas i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 9px; box-sizing: border-box; border-radius: 12px; color: var(--b1); background: var(--lb); transition: background .3s, color .3s; }
.nm-cas svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.nm-cas button.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--b2), var(--b1)); box-shadow: 0 16px 30px -16px rgb(28 125 179 / .9); }
.nm-cas button.on i { color: var(--b1); background: #fff; }
.nm-reps { position: relative; padding: 30px 32px; color: #fff;
  background: radial-gradient(circle at 85% 0%, rgb(40 163 230 / .55), transparent 55%), radial-gradient(circle at 0% 100%, rgb(21 151 83 / .35), transparent 50%), #0f2a3d; }
.nm-rep[hidden] { display: none; }
.nm-rep { animation: pcEntre .45s var(--courbe); }
.nm-rep-p { margin: 16px 0 0; font-size: 18px; line-height: 1.55; }
.nm-rep-p b { color: #7ee2a8; }
.nm-rep-appels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.nm-rep-a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 18px; text-decoration: none; color: #fff; background: rgb(255 255 255 / .08);
  border: 1px solid rgb(255 255 255 / .16); transition: transform .3s var(--rebond), background .3s; }
.nm-rep-a:hover { transform: translateY(-2px); background: rgb(255 255 255 / .16); }
.nm-rep-a b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.nm-rep-a span { font-size: 13.5px; line-height: 1.3; color: rgb(255 255 255 / .8); max-width: 160px; }
.nm-rep-a svg { width: 18px; height: 18px; color: #7ee2a8; }
.nm-rep-a.fort { color: #0f2a3d; background: #fde68a; border-color: transparent; }
.nm-rep-a.fort span { color: #3d4f5c; }
.nm-rep-a.fort svg { color: #0f2a3d; }
.nm-rep-et { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: et; }
.nm-rep-et li { position: relative; padding-left: 38px; font-size: 15px; line-height: 1.5; color: rgb(255 255 255 / .85); counter-increment: et; animation: pcEntre .5s var(--courbe) both; animation-delay: calc(var(--i) * 90ms + .1s); }
.nm-rep-et li::before { content: counter(et); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 800;
  color: #0f2a3d; background: #7ee2a8; }
.nm-rep-et b { color: #fff; }
.nm-rep .ip-carte-lien { color: #fde68a; }

/* ---------- hôpital public ou clinique ---------- */
.nm-sante-g { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 26px; }
.nm-sante-photo { position: relative; margin: 0; min-height: 340px; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 50px -30px rgb(15 42 61 / .7); }
.nm-sante-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: inKen 18s ease-in-out infinite alternate; }
.nm-sante-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: 14px; font-weight: 700;
  color: var(--ink); background: rgb(255 255 255 / .92); backdrop-filter: blur(6px); }
.nm-sante-photo figcaption svg { flex: none; width: 18px; height: 18px; color: #e11d48; fill: none; stroke: currentColor; stroke-width: 2; }
.nm-sante-c { display: flex; flex-direction: column; margin-left: 26px; padding: 22px 22px 20px 44px; }   /* fiche validée .cpA-fiche (base.css), couleurs .ton-* (sections.css) */
.nm-sante-c .cpA-chiffre { font-size: 26px; }
.nm-sante-g .pqA-fiche:last-child { grid-column: auto; }
.nm-sante-c h3 { margin: 2px 0 0; font-size: 21px; font-weight: 800; color: var(--ink); }
.nm-sante-c ul { display: grid; gap: 9px; margin: 14px 0 0; padding: 0; list-style: none; }
.nm-sante-c li { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.5; color: var(--txt); }
.nm-sante-c li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ct); fill: none; stroke: currentColor; stroke-width: 2.4; }
.nm-sante-c .ip-carte-lien { margin-top: auto; padding-top: 14px; color: var(--ct); }

/* ---------- annuaire + carte ---------- */
.nm-an { padding: 64px 0 56px; }
.nm-outils { display: grid; gap: 14px; margin: 28px 0 22px; }
.nm-cherche { margin: 0; max-width: none; }
.nm-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.nm-cats button { all: unset; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink); background: #fff;
  box-shadow: 0 1px 2px rgb(15 42 61 / .06), 0 8px 18px -12px rgb(15 42 61 / .45); transition: background .3s, color .3s, transform .3s var(--rebond); }
.nm-cats button:hover { transform: translateY(-2px); }
.nm-cats button i { display: grid; width: 16px; height: 16px; color: var(--cc, var(--b1)); }
.nm-cats button svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.nm-cats button small { font-size: 12px; font-weight: 700; color: var(--mute); }
.nm-cats button.on { color: #fff; background: var(--cc, linear-gradient(135deg, var(--b2), var(--b1))); }
.nm-cats button.on i, .nm-cats button.on small { color: rgb(255 255 255 / .9); }
.nm-cats button:focus-visible { outline: 2px solid var(--b1); outline-offset: 2px; }
/* couleur par catégorie */
.c-urgence { --cc: #dc2626; } .c-hopital { --cc: #e11d48; } .c-clinique { --cc: #159753; } .c-ambassade { --cc: #0d4a72; }
.c-admin { --cc: #1c7db3; } .c-travail { --cc: #0891b2; } .c-service { --cc: #d97706; }

.nm-an-g { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 26px; align-items: start; }
.nm-carte-col { position: sticky; top: 100px; }
.nm-carte-cadre { position: relative; padding: 16px; border-radius: 28px; background: linear-gradient(160deg, #e8f4fd, #cfeaf8);
  box-shadow: 0 2px 4px rgb(15 42 61 / .05), 0 30px 60px -34px rgb(15 42 61 / .6); }
.nm-carte { display: block; width: 100%; height: auto; }
.nm-pt { cursor: pointer; outline: none; }
.nm-pt-c { fill: var(--cc); stroke: #fff; stroke-width: 2.5; transition: r .3s var(--rebond); }
.nm-pt-halo { fill: var(--cc); opacity: 0; transform-box: fill-box; transform-origin: center; }
.nm-pt.c-hopital .nm-pt-halo, .nm-pt.c-clinique .nm-pt-halo { animation: nmHalo 3s ease-out infinite; }
.nm-pt:nth-of-type(2n) .nm-pt-halo { animation-delay: 1s; } .nm-pt:nth-of-type(3n) .nm-pt-halo { animation-delay: 2s; }
@keyframes nmHalo { 0% { opacity: .45; transform: scale(.5); } 80%, 100% { opacity: 0; transform: scale(1.6); } }
.js .nm-carte .nm-pt-c { animation: nmTombe .6s var(--rebond) both; animation-delay: calc(var(--k, 0) * 30ms); }
@keyframes nmTombe { from { opacity: 0; transform: translateY(-14px); } }
.nm-pt:hover .nm-pt-c, .nm-pt:focus .nm-pt-c, .nm-pt.actif .nm-pt-c { r: 11; }
.nm-pt.actif .nm-pt-halo { opacity: .35; transform: scale(1.5); animation: none; }
.nm-pt.off { pointer-events: none; }
.nm-pt.off .nm-pt-c { fill: #9fb3c2; opacity: .3; }
.nm-pt.off .nm-pt-halo { display: none; }
.nm-bulle { position: absolute; z-index: 3; display: grid; gap: 2px; width: 220px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 18px 34px -16px rgb(15 42 61 / .6);
  transform: translate(-50%, calc(-100% - 14px)); animation: pcEntre .3s var(--courbe); }
.nm-bulle[hidden] { display: none; }
.nm-bulle b { font-size: 14px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.nm-bulle small { font-size: 12.5px; color: var(--mute); }
.nm-bulle-tel { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 6px; padding: 5px 10px; border-radius: 9px; font-size: 13px; font-weight: 800; text-decoration: none; color: #fff; background: var(--g); }
.nm-bulle-tel svg { width: 14px; height: 14px; }
.nm-legende { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 10px 4px 0; padding: 0; list-style: none; font-size: 12.5px; font-weight: 700; color: var(--txt); }
.nm-legende li { display: inline-flex; align-items: center; gap: 6px; }
.nm-legende i { width: 10px; height: 10px; border-radius: 50%; background: var(--cc); box-shadow: 0 0 0 2px #fff; }
.nm-compte { margin: 14px 0 0; text-align: center; font-size: 14px; font-weight: 600; color: var(--mute); }
.nm-compte b { font-size: 22px; font-weight: 800; color: var(--b1); }
.nm-carte-col .nm-vc-l { margin-top: 12px; }

.nm-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.nm-f { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: 18px; background: #fff;
  box-shadow: 0 2px 4px rgb(15 42 61 / .05), 0 16px 30px -24px rgb(15 42 61 / .55); transition: transform .35s var(--courbe), box-shadow .35s; scroll-margin-top: 110px; }
.nm-f[hidden] { display: none; }
.nm-f:hover, .nm-f.actif { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(15 42 61 / .05), 0 22px 36px -20px var(--cc); }
.nm-f.eclat { animation: nmEclat 1.4s var(--courbe); }
@keyframes nmEclat { 0%, 40% { box-shadow: 0 0 0 4px var(--cc), 0 22px 36px -20px var(--cc); } }
.nm-f-tete { display: flex; align-items: flex-start; gap: 12px; }
.nm-f-tete > div { flex: 1; min-width: 0; }
.nm-f-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 9px; box-sizing: border-box; border-radius: 12px; color: #fff; background: var(--cc); }
.nm-f-ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.nm-f h3 { margin: 0; font-size: 15.5px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.nm-f-tete p { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--mute); }
.nm-24 { flex: none; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #fff; background: #dc2626; white-space: nowrap; }
.nm-f-info { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--txt); }
.nm-f .an-tel small { font-size: 11.5px; font-weight: 700; opacity: .85; }

.nm-annuaires { margin-top: 40px; }
.nm-annuaires-t { display: grid; gap: 4px; margin: 0 0 16px; text-align: center; }
.nm-annuaires-t b { font-size: 22px; font-weight: 800; color: var(--ink); }
.nm-annuaires-t span { font-size: 15px; color: var(--mute); }
.nm-annuaires .an-autres { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nm-gros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nm-liste { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .nm-sit-g { grid-template-columns: minmax(0, 1fr); }
  .nm-cas { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
  .nm-sante-g { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nm-sante-photo { grid-column: 1 / -1; min-height: 240px; }
  .nm-an-g { grid-template-columns: minmax(0, 1fr); }
  .nm-carte-col { position: static; max-width: 420px; margin: 0 auto; width: 100%; }
  .nm-urg-bas { grid-template-columns: minmax(0, 1fr); }
  .nm-annuaires .an-autres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .nm-urg { padding: 48px 0 44px; }
  .nm-gros { gap: 10px; margin-top: 24px; }
  .nm-g { padding: 16px 14px 14px; border-radius: 20px; }
  .nm-g-ic, .nm-g-ic i { width: 40px; height: 40px; }
  .nm-g-ic i { padding: 9px; border-radius: 12px; }
  .nm-g-n { margin-top: 12px; font-size: 46px; }
  .nm-g-t strong { font-size: 16px; }
  .nm-g-t small { font-size: 12.5px; }
  .nm-g-t + .nm-g-app { margin-top: 12px; padding: 7px 12px; font-size: 13px; }
  .nm-cas { grid-template-columns: minmax(0, 1fr); }
  .nm-cas button { font-size: 14.5px; }
  .nm-reps { padding: 22px 18px; }
  .nm-rep-p { font-size: 16px; }
  .nm-sante-g { grid-template-columns: minmax(0, 1fr); }
  .nm-annuaires .an-autres { grid-template-columns: minmax(0, 1fr); }
  .nm-bulle { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .nm-g-ic em, .nm-pt-halo, .nm-sante-photo img { animation: none; }
}

/* ---------- resserrage (04/11) : liste en panneau qui défile sur ordinateur, repliée à 6 fiches sur mobile ---------- */
.nm-cas { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; }
.nm-cas button { font-size: 14.5px; }
.nm-liste { position: relative; align-items: start; max-height: 860px; overflow-y: auto; padding: 4px 10px 24px 4px; margin: -4px -10px 0 -4px; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: #9fcbe6 transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); }
.nm-carte-col { position: static; }
.nm-tl { display: grid; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.nm-tl a { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 12px; border-radius: 10px; text-decoration: none; background: #f0f8ee; transition: background .3s, transform .3s var(--courbe); }
.nm-tl a:hover { background: #dcf3e2; transform: translateX(3px); }
.nm-tl span { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--txt); }
.nm-tl b { font-size: 14px; font-weight: 800; color: #12804a; white-space: nowrap; }
.nm-tl svg { flex: none; width: 15px; height: 15px; color: #12804a; }
.nm-src { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; align-self: center; font-size: 12.5px; font-weight: 700; text-decoration: none; color: var(--mute); }
.nm-src svg { width: 13px; height: 13px; transition: transform .3s var(--courbe); }
.nm-src:hover { color: var(--b1); }
.nm-src:hover svg { transform: translateX(3px); }
.nm-plus-l { margin: 16px 0 0; text-align: center; }
.nm-plus-l[hidden] { display: none; }
@media (max-width: 960px) {
  .nm-liste { max-height: none; overflow: visible; padding: 0; margin: 0; -webkit-mask-image: none; mask-image: none; }
  .nm-an.replie .nm-f:nth-child(n+7) { display: none; }
}
@media (max-width: 600px) {
  .nm-cas { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .nm-cas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 12px; }
  .nm-cas button { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; font-size: 13.5px; line-height: 1.3; }
  .nm-cas button:hover { transform: none; }
  .nm-cas i { width: 32px; height: 32px; padding: 7px; }
  .nm-cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .nm-cats::-webkit-scrollbar { display: none; }
  .nm-cats button { flex: none; }
}
