:root {
  --ink: #1d2733;
  --mut: #5f6b7a;
  --soft: #f3f5f8;
  --ok: #0f9d7a;
  --dense: #d97706;
  --risk: #dc2626;
  --base: #2f5fb3;
  --pcm: #0f9d7a;
  --plan: #c0267a;
  --up: #c2410c;
  --bg: #fff;
  --line: #dde2e8;
  --ph: 0px; /* height of the mobile bottom sheet, set from JS */
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8edf3;
    --mut: #9aa6b4;
    --up: #fb923c;
    --bg: #1b222b;
    --soft: #242d38;
    --line: #323c48;
    --risk: #f87171;
  }
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html,
body {
  height: 100%;
  height: 100dvh;
  margin: 0;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font:
    14px/1.45 system-ui,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
}
#map {
  position: absolute;
  inset: 0;
  -webkit-tap-highlight-color: transparent;
}

/* ---- panel (top-left card on desktop, bottom sheet on phones) ---- */
#p {
  position: absolute;
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: 340px;
  max-height: calc(100% - 24px);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  border-radius: 12px;
  padding: 14px 16px 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}
h1 {
  font-size: 15px;
  margin: 0 0 10px;
  line-height: 1.25;
}
p {
  margin: 4px 0;
}
.mut {
  color: var(--mut);
  font-size: 12.5px;
}

/* call to action: next step for the user */
.cta {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--base), var(--pcm));
  color: #fff;
  font-weight: 650;
}
.cta .tap {
  display: inline-block;
  animation: tap 1.2s ease-in-out infinite;
}
@keyframes tap {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.12);
  }
}
#st {
  margin: 8px 0 0;
}
#st.warn {
  color: var(--up);
  font-weight: 600;
}

/* results */
.row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.row b {
  margin-left: auto;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.sw {
  width: 22px;
  height: 6px;
  border-radius: 3px;
  flex: none;
}
.sw.base {
  background: var(--base);
}
.sw.pcm {
  background: var(--pcm);
}
.sw.plan {
  background: var(--plan);
}
.sw.area {
  height: 0;
  border-top: 2px dashed var(--ink);
  border-radius: 0;
}
.sw.loc {
  height: 0;
  border-top: 4px dotted #e07b00;
  border-radius: 0;
}
.sw.v70 {
  background: #7b3fb3;
  opacity: 0.6;
}
.sw.z30 {
  height: 12px;
  background: rgba(47, 95, 179, 0.15);
  border: 1px solid rgba(47, 95, 179, 0.6);
}
#delta {
  font-weight: 600;
  margin: 8px 0 0;
}
#delta.up {
  color: var(--up);
}
#delta.down {
  color: var(--pcm);
}

/* actions */
.actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
button {
  flex: 1;
  font: inherit;
  font-weight: 600;
  color: inherit;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  touch-action: manipulation;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--base);
  outline-offset: 2px;
}

/* about / legend */
details {
  margin-top: 10px;
}
summary {
  cursor: pointer;
  color: var(--mut);
  font-size: 12.5px;
}
.lg {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 3px 0;
}
.disc {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--mut);
}

/* ---- map markers ---- */
.pin {
  width: 100%;
  height: 100%;
  font-size: 14px;
  border-radius: 50%;
  background: #1d2733;
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.arw {
  color: var(--plan);
  font-size: 13px;
  text-align: center;
  line-height: 14px;
  text-shadow: 0 0 2px #fff;
}

/* ---- touch devices: comfortable hit targets, pinch to zoom ---- */
@media (pointer: coarse) {
  button {
    min-height: 44px;
  }
  .pin {
    font-size: 17px;
  }
  .leaflet-control-zoom {
    display: none;
  }
}

/* ---- phones: compact bottom sheet ---- */
@media (max-width: 600px) {
  #p {
    top: auto;
    bottom: max(8px, env(safe-area-inset-bottom, 0px));
    left: max(8px, env(safe-area-inset-left, 0px));
    right: max(8px, env(safe-area-inset-right, 0px));
    width: auto;
    max-height: 45%;
    max-height: 45dvh;
    padding: 12px 14px 10px;
    border-radius: 16px;
  }
  h1 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  /* keep the OSM attribution just above the sheet */
  .leaflet-bottom {
    bottom: var(--ph);
  }
}

/* ---- phones (landscape) / short screens ---- */
@media (max-height: 480px) and (min-width: 601px) {
  #p {
    width: 300px;
    padding: 10px 12px;
  }
}

/* ---- loading overlay ---- */
#ld {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: rgba(40, 47, 57, 0.5);
  -webkit-backdrop-filter: grayscale(1) blur(2px);
  backdrop-filter: grayscale(1) blur(2px);
  transition: opacity 0.3s;
}
#ld.done {
  opacity: 0;
  pointer-events: none;
}
#ld .spin {
  position: relative;
  width: 136px;
  height: 136px;
}
#ld .track,
#ld .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 8px),
    #000 calc(100% - 7px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 8px),
    #000 calc(100% - 7px)
  );
}
#ld .track {
  background: rgba(255, 255, 255, 0.22);
}
#ld .ring {
  background: conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0) 0%,
    #2f5fb3 35%,
    #0f9d7a 70%,
    #fff 100%
  );
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.55));
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#ld .badge {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
}
#ld .badge svg {
  width: 62%;
  height: 62%;
  animation: pop 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(0.55) rotate(-12deg);
  }
  35%,
  85% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
}
#ld .msg {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 0 16px;
}
@media (prefers-reduced-motion: reduce) {
  #ld .ring {
    animation-duration: 3s;
  }
  .cta .tap,
  #ld .badge svg {
    animation: none;
  }
}

/* ---- conditions de circulation : fluide / pointe du matin ---- */
.mode {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: var(--soft);
}
.mode button {
  border: 0;
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--mut);
}
.mode button[aria-checked="true"] {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
#mode-note {
  margin: 4px 0 10px;
}
#rnote {
  margin: 6px 0 0;
}
button.wide {
  display: block;
  width: 100%;
  margin-top: 8px;
}

/* ---- fenêtre « méthode » ---- */
#meth,
dialog.dlg {
  width: min(760px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
#meth::backdrop,
dialog.dlg::backdrop {
  background: rgba(20, 26, 33, 0.55);
}
.dlg-head {
  position: sticky;
  top: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.dlg-head h2 {
  font-size: 15px;
  margin: 0;
}
.dlg-head button {
  flex: none;
  margin-left: auto;
  width: 36px;
  height: 36px;
  padding: 0;
}
.dlg-body {
  padding: 4px 16px 16px;
  font-size: 13.5px;
  line-height: 1.5;
}
.dlg-body h3 {
  font-size: 14px;
  margin: 18px 0 6px;
}
.dlg-body h4 {
  font-size: 13px;
  margin: 14px 0 4px;
}
.dlg-body ul,
.dlg-body ol {
  padding-left: 20px;
  margin: 4px 0;
}
.dlg-body li + li {
  margin-top: 4px;
}
.dlg-body details {
  margin: 8px 0;
}
.dlg-body summary {
  color: var(--ink);
}
.dlg-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.dlg-body th,
.dlg-body td {
  text-align: left;
  padding: 4px 6px 4px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.dlg-body small {
  color: var(--mut);
}
.b-ok { color: var(--ok); }
.b-dense { color: var(--dense); }
.b-risk {
  color: var(--risk);
  font-weight: 700;
}
@media (max-width: 600px) {
  #meth,
dialog.dlg {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
}

/* ---- onglets ---- */
.tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  margin: 0 0 10px;
  border-radius: 10px;
  background: var(--soft);
}
.tabs button {
  border: 0;
  border-radius: 8px;
  padding: 7px 4px;
  font-size: 13px;
  line-height: 1.2;
  color: var(--mut);
}
.tabs button[aria-selected="true"] {
  background: var(--base);
  color: #fff;
}

/* ---- écrans « Moins de trafic » et « Points d'attention » ---- */
.out h3 {
  font-size: 12px;
  margin: 14px 0 4px;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.lead {
  margin: 0 0 10px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.kpi {
  background: var(--soft);
  border-radius: 8px;
  padding: 8px;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--mut);
}
.kpi b {
  display: block;
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 2px;
  font-variant-numeric: tabular-nums;
}
b.dn {
  color: var(--pcm);
}
b.up {
  color: var(--up);
}
ul.st {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.st li + li {
  margin-top: 4px;
}
ul.st button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 8px;
  width: 100%;
  text-align: left;
  font-weight: 600;
  padding: 6px 9px;
}
ul.st button small {
  grid-column: 1 / -1;
  font-weight: 400;
  color: var(--mut);
}
ul.st button span small {
  grid-column: auto;
}
ul.st button b {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
ul.st button.on {
  border-color: var(--base);
  box-shadow: inset 3px 0 0 var(--base);
}
table.goals {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
table.goals td {
  padding: 6px 4px 6px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.goals td small {
  color: var(--mut);
}
table.goals td:last-child {
  text-align: right;
  width: 1%;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
}
.badge.ok {
  background: var(--ok);
}
.badge.mid {
  background: var(--dense);
}
.badge.no {
  background: #b91c1c;
}
.b-sat {
  color: #7f1d1d;
  font-weight: 700;
}
/* étiquettes de variation sur la carte */
.imp-lbl {
  display: inline-block;
  transform: translate(-50%, -50%);
  padding: 1px 6px;
  border-radius: 9px;
  font: 700 12px/1.4 system-ui, sans-serif;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.imp-lbl.dn {
  background: #0b7a5f;
}
.imp-lbl.up {
  background: #c2410c;
}
@media (max-width: 600px) {
  .kpi b {
    font-size: 15px;
  }
  .tabs button {
    font-size: 12.5px;
  }
}
.jkey span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  white-space: nowrap;
}
.jkey i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* badge neutre : ni progrès ni recul */
.badge.na {
  background: #8a94a3;
}

/* ---- légende sur la carte ---- */
.map-lgd {
  max-width: 230px;
  max-height: 55vh;
  overflow: auto;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.map-lgd summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink);
}
.map-lgd h4 {
  margin: 8px 0 2px;
  font-size: 11px;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.map-lgd .lg {
  padding: 2px 0;
}
.map-lgd .sw {
  width: 22px;
  height: 5px;
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px rgba(0, 0, 0, 0.12);
}
.map-lgd .sw.area,
.map-lgd .sw.loc,
.map-lgd .sw.z30 {
  box-shadow: none;
}
.map-lgd .dot {
  width: 11px;
  height: 11px;
  margin: 0 6px 0 5px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, 0.15);
}
.imp-lbl.static {
  transform: none;
  margin-right: 2px;
  font-size: 11px;
}
/* en bonne voie : vert clair, texte vert foncé pour rester lisible */
.badge.good {
  background: #c9eedf;
  color: #065f46;
}

/* projet à venir (pointillé sur la carte) */
.map-lgd .sw.site {
  height: 10px;
  border: 2px dashed #7f1d1d;
  background: rgba(185, 28, 28, 0.12);
  border-radius: 2px;
  box-shadow: none;
}
.proj {
  padding: 8px 10px;
  border: 2px dashed #7f1d1d;
  border-radius: 10px;
  background: rgba(185, 28, 28, 0.05);
  font-size: 13px;
}
.proj > button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
}
.proj > button .badge {
  margin-left: auto;
}
.proj ul {
  margin: 6px 0;
  padding-left: 18px;
}
.proj li + li {
  margin-top: 4px;
}

/* ---- onglet « Pistes » : travail hypothétique, visuellement séparé ---- */
.tabs button.hypo {
  border: 1.5px dashed #6d28d9;
  color: #6d28d9;
}
.tabs button.hypo[aria-selected="true"] {
  background: #6d28d9;
  border-style: solid;
  color: #fff;
}
.hypo-banner {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1.5px dashed #6d28d9;
  background: repeating-linear-gradient(135deg, rgba(109, 40, 217, 0.06) 0 8px, rgba(109, 40, 217, 0.12) 8px 16px);
  font-size: 12.5px;
}
.seg4 {
  display: flex;
  gap: 4px;
}
.seg4 button {
  padding: 6px 4px;
}
.seg4 button[aria-checked="true"] {
  border-color: #6d28d9;
  background: #6d28d9;
  color: #fff;
}
.pk-intent {
  margin: 8px 0;
  font-size: 13px;
}
table.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
table.cmp th,
table.cmp td {
  padding: 4px 3px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}
table.cmp th:first-child,
table.cmp td:first-child {
  text-align: left;
  white-space: normal;
}
table.cmp .on {
  background: rgba(109, 40, 217, 0.08);
  font-weight: 700;
}
table.cmp td.better {
  color: var(--ok);
}
table.cmp td.worse {
  color: var(--risk);
}
table.cmp.small td:first-child {
  font-size: 11.5px;
}
ol.meas {
  margin: 4px 0;
  padding-left: 20px;
  font-size: 12.5px;
}
ol.meas li + li {
  margin-top: 6px;
}
ol.meas small {
  color: var(--mut);
}
details.rej {
  margin-top: 10px;
}
.map-lgd .sw.prop {
  height: 0;
  border-top: 5px dotted #6d28d9;
  border-radius: 0;
  box-shadow: none;
}
.map-lgd .dot.ring {
  background: #fff;
  box-shadow: 0 0 0 3px #6d28d9;
}
@media (max-width: 600px) {
  .tabs button {
    font-size: 11.5px;
    padding: 6px 2px;
  }
}

/* « Pistes » : choix de la démarche */
.mode2 {
  display: flex;
  gap: 4px;
  margin: 0 0 10px;
}
.mode2 button {
  padding: 6px 4px;
}
.mode2 button[aria-checked="true"] {
  border-color: #6d28d9;
  color: #6d28d9;
  box-shadow: inset 0 -3px 0 #6d28d9;
}
.tag {
  display: inline-block;
  padding: 0 6px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--mut);
  font-size: 11px;
  font-weight: 600;
}
ul.meas {
  margin: 4px 0;
  padding-left: 20px;
  font-size: 12.5px;
}
.map-lgd .sw.ramp {
  height: 0;
  border-top: 4px dashed #6d28d9;
  border-radius: 0;
  box-shadow: none;
}

/* points de comptage sur la carte */
.cnt {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  flex: none;
}
.cnt svg {
  width: 13px;
  height: 13px;
}
.map-lgd .cnt {
  width: 18px;
  height: 18px;
  margin-right: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.map-lgd .cnt svg {
  width: 11px;
  height: 11px;
}

/* ---- partager / signaler ---- */
/* boutons ronds « partager » et « signaler » en bas à droite de la carte */
.fab-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fab {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.fab svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fab:hover,
.fab:focus-visible {
  color: #fff;
  background: var(--base);
}
#btn-report:hover,
#btn-report:focus-visible {
  background: var(--up);
}
dialog.dlg.small {
  width: min(460px, calc(100% - 24px));
}
.nets {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 12px 0 16px;
}
.net {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mut);
  text-decoration: none;
}
.net-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}
.net-ico svg {
  width: 26px;
  height: 26px;
}
.net:hover .net-ico,
.net:focus-visible .net-ico {
  transform: translateY(-2px) scale(1.06);
}
.net:hover,
.net:focus-visible {
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .net-ico {
    transition: none;
  }
}
.copy span {
  display: block;
  font-size: 13px;
  color: var(--mut);
  margin-bottom: 4px;
}
.copy-row {
  display: flex !important;
  gap: 6px;
}
.copy-row input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 13px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
}
.copy-row button {
  flex: none;
}
#report-form label {
  display: block;
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
}
#report-form select,
#report-form textarea,
#report-form input[type="email"] {
  display: block;
  width: 100%;
  margin-top: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
}
#report-form label.inline {
  display: flex;
  gap: 6px;
  align-items: center;
  font-weight: 400;
}
pre.ctx {
  max-height: 90px;
  overflow: auto;
  margin: 6px 0 0;
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--mut);
  font-size: 11px;
  white-space: pre-wrap;
}
.hp {
  position: absolute;
  left: -9999px;
}
.dlg-body .warn,
#report-msg.warn {
  color: var(--up);
  font-weight: 600;
}
@media (max-width: 600px) {
  /* petites fenêtres (partager, signaler) : hauteur ajustée au contenu, pas plein écran */
  dialog.dlg.small {
    width: calc(100% - 16px);
    height: fit-content;
    max-height: calc(100% - 16px);
    border-radius: 12px;
  }
}
@media (max-width: 600px) {
  .nets {
    gap: 2px;
  }
  .net {
    font-size: 11px;
    letter-spacing: -0.01em;
  }
  .net-ico {
    width: 44px;
    height: 44px;
  }
}
