* { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body { font-family: 'Montserrat', system-ui, sans-serif; background: #f0f4f8; color: #1f2a37; }

  header {
    background: #223a5e;
    color: #eaf1f8;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  header .title-group {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    flex: 1 1 50%;
    min-width: 0;
  }
  header h1 { font-size: 18px; font-weight: 800; letter-spacing: 0.01em; margin: 0; }
  header span.subtitle { font-size: 12.5px; color: #b9c7db; }
  header .back-btn {
    display: inline-flex; align-items: center; gap: 7px;
    font-weight: 700; font-size: 12.5px; color: #eaf1f8; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25); border-radius: 9px; padding: 8px 15px; text-decoration: none;
  }
  header .back-btn:hover { background: rgba(255,255,255,0.16); }

  .layout { display: flex; height: calc(100vh - 105px); }

  aside {
    width: 380px; min-width: 380px; height: 100%; background: #ffffff;
    border-right: 1px solid #dde3ea; padding: 22px 20px 28px; overflow-y: auto;
  }
  .field-group { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid #eef1f5; }
  .field-group:last-child { border-bottom: none; }
  .mini-label { display:block; font-size:10px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:#94a3b8; margin-bottom:3px; }
  .label {
    display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
    color: #64748b; margin-bottom: 8px;
  }
  input[type="text"], input[type="number"] {
    width: 100%; padding: 10px 12px; border: 1px solid #dde3ea; border-radius: 9px;
    font-family: 'Montserrat', sans-serif; font-size: 13.5px; color: #1f2a37; margin-bottom: 8px;
  }
  input:focus { outline: 2px solid #c9922a; border-color: #c9922a; }
  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

  button {
    font-family: 'Montserrat', sans-serif; cursor: pointer; border-radius: 10px; font-weight: 700; font-size: 13px;
  }
  .btn-primary {
    width: 100%; background: #223a5e; color: #fff; border: none; padding: 11px; margin-top: 4px;
  }
  .btn-primary:hover { background: #1a2f4d; }
  .btn-outline {
    width: 100%; background: #fff; color: #223a5e; border: 1.5px solid #dde3ea; padding: 10px;
  }
  .btn-outline:hover { background: #f5f7fa; }

  .toggle-row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 0; font-size: 13px; color: #334155;
  }
  .toggle-row .swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-right: 8px; flex-shrink: 0; }
  .toggle-row .name { display: flex; align-items: center; }

  #map { flex: 1; height: 100%; }

  .esito {
    border-radius: 12px; padding: 13px 14px; margin-bottom: 10px; font-size: 12.5px; line-height: 1.55;
  }
  .esito.ok { background: #e8f5ee; border: 1px solid #bfe3cd; color: #1f6b43; }
  .esito.warn { background: #fdf1ef; border: 1px solid #f3cfc6; color: #a13a24; }
  .esito.pending { background: #f5f7fa; border: 1px solid #dde3ea; color: #64748b; }
  .esito b { display: block; margin-bottom: 4px; font-size: 13px; }
  .esito .attrs { margin-top: 6px; font-size: 11.5px; color: inherit; opacity: .85; }
  .esito a { color: inherit; font-weight: 700; }

  .address-search-wrap { position: relative; }
  .address-results {
    display:none; margin-top:6px; border:1px solid #dde3ea; border-radius:10px; background:#fff;
    box-shadow:0 10px 24px rgba(34,58,94,.12); overflow:hidden; max-height:280px; overflow-y:auto;
  }
  .address-results.is-open { display:block; }
  .address-result {
    width:100%; border:0; border-bottom:1px solid #eef1f5; border-radius:0; background:#fff; color:#1f2a37;
    padding:10px 12px; text-align:left; font-weight:500; line-height:1.35;
  }
  .address-result:last-child { border-bottom:0; }
  .address-result:hover, .address-result:focus { background:#f5f7fa; outline:none; }
  .address-result__title { display:block; font-size:12.5px; font-weight:800; color:#223a5e; margin-bottom:2px; }
  .address-result__meta { display:block; font-size:10.8px; color:#64748b; }
  .address-recent { display:flex; flex-wrap:wrap; gap:5px; margin-top:7px; }
  .address-recent:empty { display:none; }
  .address-recent button {
    border:1px solid #dde3ea; background:#f8fafc; color:#475569; padding:5px 7px; border-radius:999px;
    font-size:10px; font-weight:600; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }
  .address-search-actions { display:grid; grid-template-columns:1fr auto; gap:7px; }
  .address-search-actions .btn-outline { width:auto; min-width:74px; }
  .address-copy-btn { width:100%; margin-top:6px; }

  .hint { font-size: 11.5px; color: #94a3b8; line-height: 1.5; margin-top: 4px; }
  #status.header-status {
    margin: 0 0 0 auto;
    min-height: 0;
    width: 50%;
    max-width: 50%;
    flex: 0 1 50%;
    color: #b9c7db;
    font-size: 12.5px;
    line-height: normal;
    font-weight: 400;
    font-family: inherit;
    text-align: right;
    align-self: center;
    overflow-wrap: anywhere;
  }
  #status.header-status:empty { display: none; }
  #status.header-status.err {
    color: #fff;
    background: rgba(179,69,44,.72);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 7px;
    padding: 5px 8px;
  }
  @media (max-width: 900px) {
    header { flex-wrap: wrap; align-items: flex-start; }
    header .title-group { flex: 1 1 100%; }
    #status.header-status {
      width: 100%;
      max-width: 100%;
      flex: 1 1 100%;
      margin-left: 0;
      text-align: left;
    }
  }

  .layer-cat { margin-bottom: 4px; }
  .layer-cat:not(:last-child) { border-bottom: 1px solid #eef1f5; padding-bottom: 6px; margin-bottom: 6px; }
  .layer-cat summary {
    cursor: pointer; list-style: none; padding: 8px 0;
    font-size: 12.5px; font-weight: 800; color: #223a5e;
    display: flex; align-items: center; gap: 6px;
  }
  .layer-cat summary::-webkit-details-marker { display: none; }
  .layer-cat summary::before {
    content: '▸'; display: inline-block; font-size: 10px; color: #94a3b8;
    transition: transform 0.15s ease;
  }
  .layer-cat[open] summary::before { transform: rotate(90deg); }
  .layer-cat summary .cat-hint { font-weight: 500; font-size: 11px; color: #94a3b8; text-transform: none; letter-spacing: 0; }
  .layer-cat > .toggle-row:first-of-type { margin-top: 0; }

  .unavail { color: #b3452c; font-weight: 700; }
  .toggle-row:has(input:disabled) .name { opacity: .5; }
  .point-results { margin-top: 10px; border: 1px solid #dfe5ec; border-radius: 10px; overflow: hidden; background: #fff; }
  .point-results__head { padding: 10px 12px; background: #f7f9fb; border-bottom: 1px solid #e5e9ef; font-size: 12px; font-weight: 700; color: #34495e; }
  .point-results__body { padding: 8px 12px; }
  .point-result { padding: 8px 0; border-bottom: 1px solid #eef1f4; font-size: 12px; line-height: 1.35; }
  .point-result:last-child { border-bottom: 0; }
  .point-result strong { display: block; color: #24364b; margin-bottom: 2px; }
  .point-result.ok span { color: #287a45; }
  .point-result.hit span { color: #a33a2a; font-weight: 600; }
  .point-result.na span { color: #6b7280; }
  .point-results__note { margin-top: 7px; font-size: 10.5px; color: #77808c; line-height: 1.35; }

  .treseizero-legend {
    background: rgba(255,255,255,.96);
    border: 1px solid #d9e0e7;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(15,23,42,.14);
    padding: 10px 12px;
    min-width: 205px;
    max-width: 270px;
    font-family: 'Montserrat', sans-serif;
    color: #334155;
  }
  .treseizero-legend:empty { display: none; }
  .treseizero-legend__section + .treseizero-legend__section {
    border-top: 1px solid #e8edf2;
    margin-top: 9px;
    padding-top: 9px;
  }
  .treseizero-legend__title {
    font-size: 11.5px;
    font-weight: 800;
    color: #223a5e;
    margin-bottom: 6px;
  }
  .treseizero-legend__row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    line-height: 1.25;
    margin: 4px 0;
  }
  .treseizero-legend__swatch {
    width: 15px;
    height: 11px;
    border: 1px solid rgba(0,0,0,.18);
    border-radius: 2px;
    flex: 0 0 15px;
  }
  .treseizero-legend__source {
    margin-top: 6px;
    font-size: 9.5px;
    color: #8491a1;
  }

  .layer-visibility-note {
    margin: 5px 0 10px;
    padding: 7px 8px;
    border-left: 3px solid #94a3b8;
    background: #f8fafc;
    border-radius: 4px;
    line-height: 1.35;
  }
  .treseizero-legend {
    max-height: 58vh;
    overflow-y: auto;
  }
  .treseizero-legend__row img {
    width: auto;
    max-width: 32px;
    height: auto;
    max-height: 26px;
    object-fit: contain;
    flex: 0 0 auto;
  }
  .treseizero-legend__limit {
    border-top: 1px solid #e8edf2;
    margin-top: 9px;
    padding-top: 7px;
    font-size: 9.5px;
    line-height: 1.3;
    color: #64748b;
  }
  .treseizero-legend__loading {
    font-size: 10px;
    color: #64748b;
    font-style: italic;
  }
  .treseizero-legend__empty {
    font-size: 10px;
    color: #94a3b8;
  }

  .catasto-bracket {
    position: relative;
    padding-left: 14px;
    margin-top: 2px;
  }
  .catasto-bracket::before {
    content: '';
    position: absolute;
    left: 0; top: 6px; bottom: 6px; width: 7px;
    border-left: 2px solid #c9922a;
    border-top: 2px solid #c9922a;
    border-bottom: 2px solid #c9922a;
    border-radius: 4px 0 0 4px;
  }

  .leaflet-control-layers {
    border-radius: 10px !important; border: 1px solid #dde3ea !important; box-shadow: 0 2px 8px rgba(0,0,0,.12) !important;
    font-family: 'Montserrat', sans-serif !important; padding: 6px 10px !important;
  }
  .leaflet-control-layers label { font-size: 12.5px !important; font-weight: 700 !important; color: #223a5e !important; }

  @media (max-width: 900px) {
    .layout { flex-direction: column; height: auto; }
    aside { width: 100%; min-width: 0; height: auto; max-height: 50vh; border-right: none; border-bottom: 1px solid #dde3ea; order: 2; }
    #map { min-height: 360px; height: 400px; flex: none; order: -1; }
  }

  .sidebar-sticky-tools {
    position: static;
    width: 100%;
    margin: 18px 0 4px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .report-btn {
    width: 100%;
    border: 0;
    border-radius: 9px;
    background: #17824f;
    color: #fff;
    padding: 11px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(23,130,79,.18);
  }
  .report-btn:hover { filter: brightness(1.06); }
  .report-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    background: #17824f;
  }

  .point-report-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15,23,42,.48);
  }
  .point-report-modal.open { display: flex; }
  .point-report-card {
    width: min(720px, 96vw);
    max-height: 84vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(15,23,42,.24);
    overflow: hidden;
  }
  .point-report-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #223a5e;
    color: #fff;
  }
  .point-report-head strong { font-size: 13px; }
  .point-report-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  .point-report-body {
    padding: 16px;
    overflow: auto;
  }
  .point-report-text {
    white-space: pre-wrap;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: #334155;
  }
  .point-report-actions {
    display: flex;
    gap: 8px;
    padding: 12px 16px 15px;
    border-top: 1px solid #e5e9ef;
  }
  .point-report-actions button {
    flex: 1;
    border-radius: 8px;
    padding: 9px 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
  }
  .report-copy { border: 0; background: #223a5e; color: #fff; }
  .report-print { border: 1px solid #cfd8e3; background: #fff; color: #223a5e; }

  .wms-info-popup {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15,23,42,.52);
  }
  .wms-info-popup.open { display: flex; }
  .wms-info-card {
    width: min(460px, 94vw);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 22px 70px rgba(15,23,42,.28);
    overflow: hidden;
  }
  .wms-info-head {
    padding: 15px 18px;
    background: #223a5e;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
  }
  .wms-info-body {
    padding: 17px 18px 8px;
    color: #475569;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
  }
  .wms-info-body p { margin: 0 0 10px; }
  .wms-info-body strong { color: #223a5e; }
  .wms-info-actions { padding: 7px 18px 18px; }
  .wms-info-ok {
    width: 100%;
    border: 0;
    border-radius: 9px;
    background: #17824f;
    color: #fff;
    padding: 10px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
  }

  .treseizero-footer {
    height: 43px;
    min-height: 43px;
    background: #223a5e;
    color: #eaf1f8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    line-height: 1;
    white-space: nowrap;
  }
  .treseizero-footer strong {
    color: #ffffff;
    font-weight: 800;
  }
  @media (max-width: 700px) {
    .treseizero-footer {
      height: auto;
      min-height: 43px;
      flex-wrap: wrap;
      gap: 5px 12px;
      padding: 9px 12px;
      line-height: 1.25;
    }
  }

  .catastal-results {
    margin-top: 10px;
    border: 1px solid #dfe6ee;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 8px rgba(34,58,94,.05);
  }
  .catastal-results__head {
    padding: 9px 11px;
    background: #f4f7fa;
    border-bottom: 1px solid #e2e8f0;
    color: #223a5e;
    font-size: 10.5px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: .01em;
  }
  .catastal-results__body {
    padding: 10px 11px 11px;
  }
  .catastal-type {
    display: inline-flex;
    align-items: center;
    margin: 0 0 8px;
    padding: 4px 7px;
    border-radius: 999px;
    background: #eaf1f8;
    color: #223a5e;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .025em;
  }
  .catastal-type.tavolare {
    background: #fff4df;
    color: #875b09;
  }
  .catastal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .catastal-item {
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid #e7ecf2;
    border-radius: 7px;
    background: #fbfcfd;
  }
  .catastal-item.full {
    grid-column: 1 / -1;
  }
  .catastal-item b {
    display: block;
    margin: 0 0 3px;
    color: #7b8ca2;
    font-family: 'Montserrat', sans-serif;
    font-size: 8.5px;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .045em;
  }
  .catastal-item span {
    display: block;
    min-width: 0;
    color: #14253a;
    font-family: 'Montserrat', sans-serif;
    font-size: 11.5px;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
  }
  .catastal-note {
    margin-top: 8px;
    padding: 7px 8px;
    border-left: 3px solid #c9922a;
    border-radius: 4px;
    background: #fffaf0;
    color: #68788c;
    font-size: 9.5px;
    line-height: 1.4;
  }
  @media (max-width: 460px) {
    .catastal-grid { grid-template-columns: 1fr; }
    .catastal-item.full { grid-column: auto; }
  }

  .treseizero-footer .footer-rights {
    opacity: .72;
    font-size: 9.5px;
    font-weight: 500;
  }

  .treseizero-legend {
    min-width: 235px;
    max-width: 420px;
  }
  .treseizero-legend__title {
    font-size: 12px;
    line-height: 1.3;
  }
  .treseizero-legend__row {
    font-size: 11px;
    line-height: 1.35;
  }
  .treseizero-legend__source {
    font-size: 10px;
    line-height: 1.35;
  }
  .treseizero-legend__wms {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 3px 0 6px;
  }
  .treseizero-legend__wms img {
    display: block;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
    margin: 4px 0 6px;
  }
  
  .treseizero-legend__section[data-legend-family="ras-pai"] .treseizero-legend__wms img,
  .treseizero-legend__section[data-legend-family="ras-tutela"] .treseizero-legend__wms img {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    transform: none !important;
  }

  .treseizero-legend {
    overflow-x: hidden;
  }
  .treseizero-legend__section {
    overflow: visible;
  }
  .treseizero-legend__row img,
  .treseizero-legend__wms img {
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
  }
  
  .treseizero-legend__row img {
    width: auto !important;
    max-width: 32px !important;
    max-height: 26px !important;
  }
  
  .treseizero-legend__wms {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
  }
  .treseizero-legend__wms img {
    display: block;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: none !important;
    transform: none !important;
    margin: 4px 0 6px;
  }

  .treseizero-legend__section {
    max-width: 100%;
  }
  .treseizero-legend__section .treseizero-legend__row {
    align-items: flex-start;
  }
  .treseizero-legend__section .treseizero-legend__row span:last-child {
    overflow-wrap: anywhere;
  }

  header .header-right {
    flex: 0 1 50%;
    width: 50%;
    max-width: 50%;
    min-width: 0;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
  }
  #status.header-status {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
  .performance-notice {
    display: none;
    width: auto;
    max-width: 100%;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #b9c7db;
    font-family: inherit;
    font-size: 12.5px;
    line-height: normal;
    font-weight: 400;
    text-align: right;
  }
  .performance-notice.show {
    display: flex;
  }
  .performance-notice button {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 4px 7px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 6px;
    background: rgba(255,255,255,.10);
    color: #ffffff;
    font-family: inherit;
    font-size: 10.5px;
    line-height: 1.2;
    font-weight: 700;
    cursor: pointer;
  }
  .performance-notice button:hover {
    background: rgba(255,255,255,.18);
  }
  @media (max-width: 900px) {
    header .header-right {
      flex: 1 1 100%;
      width: 100%;
      max-width: 100%;
      align-items: flex-start;
      margin-left: 0;
    }
    .performance-notice {
      text-align: left;
      justify-content: flex-start;
      flex-wrap: wrap;
    }
  }

  header .atlasmap-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 68px !important;
    overflow: hidden !important;
  }

  header .atlasmap-brand-logo {
    display: block !important;
    width: auto !important;
    height: 64px !important;
    max-height: 64px !important;
    max-width: 430px !important;
    object-fit: contain !important;
    object-position: left center !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
  }

  body > .atlasmap-brand-logo,
  main .atlasmap-brand-logo,
  #map .atlasmap-brand-logo,
  .sidebar .atlasmap-brand-logo {
    display: none !important;
  }

  @media (max-width: 900px) {
    header .atlasmap-brand { height: 58px !important; }
    header .atlasmap-brand-logo {
      height: 54px !important;
      max-height: 54px !important;
      max-width: 350px !important;
    }
  }

  @media (max-width: 520px) {
    header { padding: 10px 14px !important; }
    header .atlasmap-brand { height: 48px !important; }
    header .atlasmap-brand-logo {
      height: 44px !important;
      max-height: 44px !important;
      max-width: 265px !important;
    }
  }

  .wms-info-card { border: 1px solid #e2e8f0; }
  .wms-info-head { border-bottom: 3px solid #f59e0b; }
  .wms-info-ok {
    background: #47c27a !important;
    color: #ffffff !important;
    transition: .18s ease;
  }
  .wms-info-ok:hover {
    background: #3db66f !important;
    transform: translateY(-1px);
  }

  header {
    gap: 22px !important;
  }

  .atlasmap-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .atlasmap-header-descriptor {
    max-width: 360px;
    padding-left: 20px;
    border-left: 1px solid rgba(255,255,255,.22);
    color: rgba(255,255,255,.88);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: .01em;
  }

  .header-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
  }

  .atlasmap-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
  }

  .atlasmap-header-btn,
  .atlasmap-header-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    transition: .18s ease;
    white-space: nowrap;
  }

  .atlasmap-header-btn:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.38);
    color: #ffffff !important;
    transform: translateY(-1px);
  }

  .atlasmap-header-btn--logout {
    border-color: rgba(245,158,11,.55);
  }

  .atlasmap-header-btn--logout:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #223a5e !important;
  }

  .atlasmap-header-btn__icon {
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
  }

  @media (max-width: 1100px) {
    .atlasmap-header-descriptor {
      max-width: 280px;
      font-size: 11px;
    }

    .atlasmap-header-btn span:last-child {
      display: none;
    }

    .atlasmap-header-btn {
      width: 38px;
      padding: 8px !important;
    }
  }

  @media (max-width: 820px) {
    .atlasmap-header-descriptor {
      display: none;
    }

    .atlasmap-header-left {
      gap: 0;
    }
  }

  @media (max-width: 520px) {
    header {
      gap: 8px !important;
    }

    .atlasmap-header-actions {
      gap: 5px;
    }

    .atlasmap-header-btn {
      min-height: 34px;
      width: 34px;
      border-radius: 8px;
    }
  }

  header {
    padding: 8px 16px !important;
    gap: 12px !important;
    min-height: 0 !important;
  }

  header .atlasmap-brand {
    height: 50px !important;
    flex: 0 0 auto !important;
  }

  header .atlasmap-brand-logo {
    height: 48px !important;
    max-height: 48px !important;
    max-width: 325px !important;
  }

  .atlasmap-header-left {
    gap: 10px !important;
  }

  .atlasmap-header-descriptor {
    max-width: 500px !important;
    padding-left: 12px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  .atlasmap-header-btn,
  .atlasmap-header-btn:visited {
    min-height: 34px !important;
    padding: 7px 11px !important;
  }

  @media (max-width: 900px) {
    header {
      padding: 7px 12px !important;
    }
    header .atlasmap-brand {
      height: 44px !important;
    }
    header .atlasmap-brand-logo {
      height: 42px !important;
      max-height: 42px !important;
      max-width: 285px !important;
    }
  }

  @media (max-width: 520px) {
    header {
      padding: 6px 10px !important;
    }
    header .atlasmap-brand {
      height: 40px !important;
    }
    header .atlasmap-brand-logo {
      height: 38px !important;
      max-height: 38px !important;
      max-width: 230px !important;
    }
  }

  header {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .atlasmap-header-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .atlasmap-header-descriptor {
    text-align: left !important;
    white-space: normal !important;
  }

  .header-right {
    margin-left: auto !important;
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
  }

  .atlasmap-header-actions {
    margin-left: auto !important;
    margin-right: 0 !important;
    justify-content: flex-end !important;
  }

.atlas-mobile-toolbar,
.atlas-mobile-sheet,
.atlas-mobile-backdrop {
  display:none;
}

@media (max-width:900px) {
  :root {
    --atlas-mobile-toolbar-h: 62px;
    --atlas-mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
  }

  html, body {
    overscroll-behavior: none;
  }

  body {
    padding-bottom: calc(var(--atlas-mobile-toolbar-h) + var(--atlas-mobile-safe-bottom)) !important;
  }

  .layout {
    display:block !important;
    height:auto !important;
    min-height:0 !important;
  }

  .layout > aside {
    display:none !important;
  }

  #map {
    width:100% !important;
    height:calc(100dvh - 118px - var(--atlas-mobile-toolbar-h) - var(--atlas-mobile-safe-bottom)) !important;
    min-height:520px !important;
    max-height:none !important;
    order:0 !important;
  }

  .atlas-mobile-toolbar {
    position:fixed;
    z-index:120000;
    left:0;
    right:0;
    bottom:0;
    height:calc(var(--atlas-mobile-toolbar-h) + var(--atlas-mobile-safe-bottom));
    padding:6px 10px calc(6px + var(--atlas-mobile-safe-bottom));
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:7px;
    background:rgba(255,255,255,.97);
    border-top:1px solid #dbe3ec;
    box-shadow:0 -10px 30px rgba(15,23,42,.12);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }

  .atlas-mobile-tool {
    position:relative;
    min-width:0;
    height:48px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    border:0;
    border-radius:11px;
    background:#f8fafc;
    color:#223A5E;
    font-family:'Montserrat',sans-serif;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
  }

  .atlas-mobile-tool.is-active {
    background:#223A5E;
    color:#fff;
  }

  .atlas-mobile-tool__icon {
    font-size:19px;
    line-height:1;
  }

  .atlas-mobile-badge {
    position:absolute;
    top:4px;
    right:calc(50% - 28px);
    min-width:17px;
    height:17px;
    padding:0 4px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#F59E0B;
    color:#223A5E;
    font-size:9px;
    font-weight:900;
  }

  .atlas-mobile-dot {
    position:absolute;
    top:7px;
    right:calc(50% - 23px);
    width:8px;
    height:8px;
    border-radius:50%;
    background:#47C27A;
    box-shadow:0 0 0 2px #fff;
  }

  .atlas-mobile-backdrop {
    position:fixed;
    z-index:120010;
    inset:0;
    display:block;
    pointer-events:none;
    opacity:0;
    background:rgba(15,23,42,.42);
    transition:opacity .2s ease;
  }

  .atlas-mobile-backdrop.is-open {
    pointer-events:auto;
    opacity:1;
  }

  .atlas-mobile-sheet {
    position:fixed;
    z-index:120020;
    left:0;
    right:0;
    bottom:calc(var(--atlas-mobile-toolbar-h) + var(--atlas-mobile-safe-bottom));
    width:100%;
    height:min(78dvh,760px);
    display:flex;
    flex-direction:column;
    background:#fff;
    border-radius:20px 20px 0 0;
    box-shadow:0 -24px 60px rgba(15,23,42,.20);
    transform:translateY(calc(100% + 80px));
    transition:transform .24s cubic-bezier(.2,.8,.2,1);
    overflow:hidden;
    visibility:hidden;
  }

  .atlas-mobile-sheet.is-open {
    transform:translateY(0);
    visibility:visible;
  }

  .atlas-mobile-sheet__handle {
    width:42px;
    height:5px;
    margin:8px auto 1px;
    border-radius:999px;
    background:#cbd5e1;
    flex:0 0 auto;
  }

  .atlas-mobile-sheet__head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:10px 16px 12px;
    border-bottom:1px solid #E2E8F0;
    flex:0 0 auto;
  }

  .atlas-mobile-sheet__head strong {
    display:block;
    margin-top:1px;
    color:#223A5E;
    font-size:17px;
    font-weight:800;
  }

  .atlas-mobile-sheet__eyebrow {
    display:block;
    color:#0891B2;
    font-size:9px;
    font-weight:900;
    letter-spacing:.14em;
  }

  .atlas-mobile-sheet__close {
    width:36px;
    height:36px;
    flex:0 0 36px;
    border:1px solid #E2E8F0;
    border-radius:10px;
    background:#F8FAFC;
    color:#223A5E;
    font-size:25px;
    line-height:1;
    cursor:pointer;
  }

  .atlas-mobile-sheet__body {
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    padding:10px 14px 24px;
  }

  body.atlas-mobile-sheet-open {
    overflow:hidden !important;
    touch-action:none;
  }

  body.atlas-mobile-sheet-open .atlas-mobile-sheet__body {
    touch-action:pan-y;
  }

  .atlas-mobile-sheet .field-group {
    margin:0 !important;
    padding:15px 4px !important;
    border-bottom:1px solid #edf1f5;
  }

  .atlas-mobile-sheet .field-group:last-child {
    border-bottom:0;
  }

  .atlas-mobile-sheet .label {
    font-size:12px !important;
  }

  .atlas-mobile-sheet .layer-cat summary {
    min-height:48px;
    display:flex;
    align-items:center;
    padding:11px 2px !important;
    font-size:13px !important;
  }

  .atlas-mobile-sheet .toggle-row {
    min-height:45px;
  }

  .atlas-mobile-sheet input[type="checkbox"] {
    width:22px !important;
    height:22px !important;
  }

  #atlasMobileLayersMount .field-group + .field-group {
    margin-top:6px !important;
  }

  #atlasMobilePointMount input,
  #atlasMobilePointMount button {
    min-height:44px;
  }

  #atlasMobilePointMount input,
  #atlasMobilePointMount select,
  #atlasMobilePointMount textarea {
    font-size:16px !important;
  }

  #atlasMobilePointMount .sidebar-sticky-tools {
    margin:14px 0 4px !important;
    padding:0 4px 12px !important;
  }

  .leaflet-control .treseizero-legend,
  .leaflet-bottom .treseizero-legend {
    display:none !important;
  }

  .atlas-mobile-legend-mount .treseizero-legend {
    display:block !important;
    position:static !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    overflow:visible !important;
    background:#fff !important;
  }

  .atlas-mobile-legend-mount .treseizero-legend__section {
    padding:14px 12px !important;
    margin:0 0 10px !important;
    border:1px solid #E2E8F0 !important;
    border-radius:14px !important;
    background:#F8FAFC !important;
  }

  .atlas-mobile-legend-mount .treseizero-legend__title {
    font-size:13px !important;
    margin-bottom:9px !important;
  }

  .atlas-mobile-legend-mount .treseizero-legend__row {
    font-size:11.5px !important;
  }

  .atlas-mobile-legend-mount .treseizero-legend__wms {
    max-width:100% !important;
    overflow-x:auto !important;
  }

  .atlas-mobile-empty {
    margin:12px 2px;
    padding:18px;
    border:1px dashed #CBD5E1;
    border-radius:14px;
    color:#64748B;
    background:#F8FAFC;
    font-size:12px;
    line-height:1.55;
    text-align:center;
  }

  .leaflet-top.leaflet-right {
    top:8px;
    right:8px;
  }

  .leaflet-control-layers {
    margin-top:0 !important;
  }

  .leaflet-bottom {
    bottom:4px;
  }
}

@media (max-width:520px) {
  #map {
    height:calc(100dvh - 106px - var(--atlas-mobile-toolbar-h) - var(--atlas-mobile-safe-bottom)) !important;
    min-height:430px !important;
  }

  .atlas-mobile-sheet {
    height:min(82dvh,720px);
  }

  .atlas-mobile-sheet__body {
    padding-left:10px;
    padding-right:10px;
  }
}

:root{
  --atlas-navy:#223A5E;
  --atlas-navy-deep:#172F50;
  --atlas-cyan:#0798D1;
  --atlas-orange:#F59E0B;
  --atlas-green:#36B86F;
  --atlas-purple:#8B4AC8;
  --atlas-bg:#F5F8FC;
  --atlas-line:#E3EAF2;
  --atlas-muted:#7C8EA8;
}

header{
  background:linear-gradient(110deg,var(--atlas-navy-deep),var(--atlas-navy))!important;
  border-bottom:3px solid var(--atlas-orange)!important;
  box-shadow:0 8px 24px rgba(23,47,80,.13)!important;
}

.header-right a,
.header-right button,
.atlasmap-header-actions a,
.atlasmap-header-actions button{
  border-radius:10px!important;
}

aside{
  background:#fff!important;
  border-right:1px solid var(--atlas-line)!important;
}

.field-group{
  border-bottom-color:#EDF2F7!important;
}

.label{
  color:var(--atlas-navy)!important;
  letter-spacing:.025em!important;
}

.atlas-layer-purpose-heading{
  --purpose-color:#0891b2; display:flex; align-items:center; gap:8px;
  margin:15px 2px 6px; padding:2px 2px 4px; color:#52667d;
  font-size:10px; font-weight:900; letter-spacing:.075em; text-transform:uppercase;
}
.atlas-layer-purpose-heading:first-of-type{margin-top:8px;}
.atlas-layer-purpose-dot{width:8px;height:8px;border-radius:999px;background:var(--purpose-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--purpose-color) 14%,transparent);flex:0 0 auto;}
#atlasVisibleLayersPanel > details.layer-cat{border-left-width:5px!important;}
#atlasVisibleLayersPanel > details.layer-cat.purpose-reference{border-left-color:#0891b2!important;}
#atlasVisibleLayersPanel > details.layer-cat.purpose-constraints{border-left-color:#c2413b!important;}
#atlasVisibleLayersPanel > details.layer-cat.purpose-environment{border-left-color:#2f855a!important;}
#atlasVisibleLayersPanel > details.layer-cat.purpose-risk{border-left-color:#d97706!important;}
#atlasVisibleLayersPanel > details.layer-cat.purpose-info{border-left-color:#7c3aed!important;}
#atlasVisibleLayersPanel > details.layer-cat.purpose-regional{border-left-color:#0f766e!important;}

#atlasVisibleLayersPanel > details.layer-cat.purpose-reference > summary::before{background:linear-gradient(135deg,#e4f6fb,#bfe9f5)!important;box-shadow:inset 0 0 0 1px rgba(8,145,178,.16)!important;}
#atlasVisibleLayersPanel > details.layer-cat.purpose-constraints > summary::before{background:linear-gradient(135deg,#fde9e7,#f8c9c5)!important;box-shadow:inset 0 0 0 1px rgba(194,65,59,.16)!important;}
#atlasVisibleLayersPanel > details.layer-cat.purpose-environment > summary::before{background:linear-gradient(135deg,#e4f6ec,#bee7cf)!important;box-shadow:inset 0 0 0 1px rgba(47,133,90,.16)!important;}
#atlasVisibleLayersPanel > details.layer-cat.purpose-risk > summary::before{background:linear-gradient(135deg,#fff2dd,#fbd7a0)!important;box-shadow:inset 0 0 0 1px rgba(217,119,6,.16)!important;}
#atlasVisibleLayersPanel > details.layer-cat.purpose-info > summary::before{background:linear-gradient(135deg,#f1e9fb,#dac5f3)!important;box-shadow:inset 0 0 0 1px rgba(124,58,237,.14)!important;}
#atlasVisibleLayersPanel > details.layer-cat.purpose-regional > summary::before{background:linear-gradient(135deg,#e1f5f1,#bce5dd)!important;box-shadow:inset 0 0 0 1px rgba(15,118,110,.15)!important;}
@media(max-width:760px){
  .atlas-layer-purpose-heading{margin-top:14px;font-size:9.5px;padding-left:3px;}
  #atlasVisibleLayersPanel > details.layer-cat{border-left-width:5px!important;}
}

.layer-cat{
  margin:7px 0!important;
  border:1px solid var(--atlas-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  overflow:hidden!important;
  box-shadow:0 2px 8px rgba(23,47,80,.035)!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}

.layer-cat:hover{
  border-color:#CBD9E8!important;
  box-shadow:0 7px 18px rgba(23,47,80,.07)!important;
}

.layer-cat[open]{
  border-color:#C7D9EA!important;
  box-shadow:0 8px 20px rgba(23,47,80,.08)!important;
}

.layer-cat > summary{
  position:relative!important;
  padding:12px 12px 12px 43px!important;
  min-height:48px!important;
  background:#fff!important;
  color:var(--atlas-navy)!important;
  font-weight:800!important;
}

.layer-cat > summary::before{
  content:''!important;
  position:absolute!important;
  left:12px!important;
  top:50%!important;
  width:21px!important;
  height:21px!important;
  transform:translateY(-50%)!important;
  border-radius:7px!important;
  background:linear-gradient(135deg,#E7F6FC,#CDECF8)!important;
  box-shadow:inset 0 0 0 1px rgba(7,152,209,.12)!important;
}

.layer-cat:nth-of-type(4n+1) > summary::before{
  background:linear-gradient(135deg,#FFF1DA,#FFDDA6)!important;
  box-shadow:inset 0 0 0 1px rgba(245,158,11,.16)!important;
}
.layer-cat:nth-of-type(4n+2) > summary::before{
  background:linear-gradient(135deg,#F1E7FA,#DEC4F1)!important;
  box-shadow:inset 0 0 0 1px rgba(139,74,200,.13)!important;
}
.layer-cat:nth-of-type(4n+3) > summary::before{
  background:linear-gradient(135deg,#E1F7EA,#BDEBCF)!important;
  box-shadow:inset 0 0 0 1px rgba(54,184,111,.14)!important;
}

.layer-cat[open] > summary{
  background:#F8FBFE!important;
  border-bottom:1px solid #EAF0F6!important;
}

.layer-cat .toggle-row{
  padding-left:12px!important;
  padding-right:12px!important;
}

.toggle-row:hover{
  background:#F8FAFD!important;
}

#pointResults{
  border:1px solid #DDE7F1!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(23,47,80,.055)!important;
}

#pointResults .point-results__head{
  padding:11px 13px!important;
  background:linear-gradient(90deg,#F5FAFE,#EEF6FC)!important;
  color:var(--atlas-navy)!important;
  border-bottom:1px solid #DDE7F1!important;
  font-weight:800!important;
}

#pointResults .result-card,
#pointResults .point-result-row{
  border-radius:10px!important;
}

button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):not(.atlas-mobile-tool):not(.atlas-mobile-sheet__close){
  transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease!important;
}

button:hover:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):not(.atlas-mobile-tool):not(.atlas-mobile-sheet__close){
  transform:translateY(-1px);
}

.leaflet-control-zoom,
.leaflet-control-layers{
  border:0!important;
  border-radius:13px!important;
  overflow:hidden!important;
  box-shadow:0 7px 22px rgba(23,47,80,.17)!important;
}

.leaflet-control-zoom a{
  color:var(--atlas-navy)!important;
  border-color:#E5EBF2!important;
}

.leaflet-control-layers-expanded{
  border-radius:14px!important;
  padding:10px 13px!important;
  color:var(--atlas-navy)!important;
}

@media(max-width:900px){
  body{
    background:var(--atlas-bg)!important;
  }

  #map{
    background:#DDE7F0!important;
  }

  .atlas-mobile-toolbar{
    padding-top:7px!important;
    background:rgba(255,255,255,.985)!important;
    border-top:1px solid #DDE6EF!important;
    box-shadow:0 -10px 32px rgba(23,47,80,.15)!important;
  }

  .atlas-mobile-tool{
    background:transparent!important;
    border:1px solid transparent!important;
    color:#71839B!important;
    border-radius:12px!important;
  }

  .atlas-mobile-tool__icon{
    width:28px!important;
    height:26px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:9px!important;
    background:#EFF4F9!important;
    color:var(--atlas-navy)!important;
    font-size:17px!important;
  }

  .atlas-mobile-tool.is-active{
    background:#EEF5FB!important;
    color:var(--atlas-navy)!important;
    border-color:#D8E5F0!important;
  }

  .atlas-mobile-tool.is-active .atlas-mobile-tool__icon{
    background:var(--atlas-navy)!important;
    color:#fff!important;
    box-shadow:0 4px 10px rgba(34,58,94,.18)!important;
  }

  .atlas-mobile-badge{
    background:var(--atlas-orange)!important;
    color:#fff!important;
    box-shadow:0 0 0 2px #fff!important;
  }

  .atlas-mobile-sheet{
    background:#F8FAFC!important;
    border-radius:22px 22px 0 0!important;
    box-shadow:0 -28px 70px rgba(15,35,60,.25)!important;
  }

  .atlas-mobile-sheet__head{
    background:#fff!important;
    padding:11px 16px 13px!important;
  }

  .atlas-mobile-sheet__head strong{
    font-size:18px!important;
    letter-spacing:-.015em!important;
  }

  .atlas-mobile-sheet__close{
    background:#F1F5F9!important;
    border-color:#E2E8F0!important;
    font-weight:500!important;
  }

  .atlas-mobile-sheet__body{
    padding-top:12px!important;
  }

  .atlas-mobile-sheet .layer-cat{
    margin:8px 0!important;
    border-radius:14px!important;
    box-shadow:0 3px 12px rgba(23,47,80,.045)!important;
  }

  .atlas-mobile-sheet .layer-cat > summary{
    min-height:54px!important;
    padding:12px 12px 12px 47px!important;
    font-size:13px!important;
  }

  .atlas-mobile-sheet .layer-cat > summary::before{
    left:13px!important;
    width:24px!important;
    height:24px!important;
    border-radius:8px!important;
  }

  #atlasMobilePointMount > .field-group{
    margin:0 0 10px!important;
    padding:15px!important;
    background:#fff!important;
    border:1px solid var(--atlas-line)!important;
    border-radius:14px!important;
    box-shadow:0 3px 12px rgba(23,47,80,.04)!important;
  }

  #atlasMobilePointMount #pointResults{
    margin-top:8px!important;
  }

  .atlas-mobile-legend-mount .treseizero-legend__section{
    position:relative!important;
    padding:15px!important;
    margin-bottom:11px!important;
    background:#fff!important;
    border:1px solid #DDE7F1!important;
    border-radius:15px!important;
    box-shadow:0 4px 14px rgba(23,47,80,.05)!important;
  }

  .atlas-mobile-legend-mount .treseizero-legend__section::before{
    content:'LEGENDA'!important;
    display:inline-flex!important;
    margin-bottom:8px!important;
    padding:3px 7px!important;
    border-radius:999px!important;
    background:#E6F5FB!important;
    color:#0785B6!important;
    font-size:8px!important;
    font-weight:900!important;
    letter-spacing:.09em!important;
  }

  .leaflet-control-attribution{
    max-width:82vw!important;
    padding:2px 5px!important;
    font-size:9px!important;
    opacity:.82!important;
  }
}

@media (min-width:901px){

  .layout{
    background:#F5F8FC!important;
  }

  .layout > aside{
    width:370px!important;
    min-width:370px!important;
    background:#F7FAFD!important;
    border-right:1px solid #DCE6F0!important;
    box-shadow:8px 0 24px rgba(23,47,80,.055)!important;
  }

  .layout > aside > .field-group{
    margin:12px 12px 0!important;
    padding:17px 16px!important;
    background:#fff!important;
    border:1px solid #E2EAF2!important;
    border-radius:15px!important;
    box-shadow:0 4px 14px rgba(23,47,80,.04)!important;
  }

  .layout > aside > .field-group:last-of-type{
    margin-bottom:12px!important;
  }

  .layout > aside .label{
    margin-bottom:10px!important;
    color:#223A5E!important;
    font-size:11px!important;
    font-weight:900!important;
    letter-spacing:.045em!important;
  }

  .layout > aside .hint{
    color:#8292A8!important;
    font-size:11.5px!important;
    line-height:1.55!important;
  }

  .layout > aside input[type="text"],
  .layout > aside input[type="number"],
  .layout > aside select{
    min-height:42px!important;
    border:1px solid #D9E3ED!important;
    border-radius:10px!important;
    background:#FBFDFF!important;
    box-shadow:none!important;
  }

  .layout > aside input:focus,
  .layout > aside select:focus{
    border-color:#0798D1!important;
    box-shadow:0 0 0 3px rgba(7,152,209,.09)!important;
  }

  .layout > aside button{
    border-radius:10px!important;
    font-weight:800!important;
  }

  .layout > aside .field-group:has(.layers-panel){
    padding:14px!important;
    background:linear-gradient(180deg,#FFFFFF,#F8FBFE)!important;
    border-color:#D9E7F2!important;
  }

  .layout > aside .layer-cat{
    margin:8px 0!important;
    border-radius:13px!important;
  }

  .layout > aside .layer-cat > summary{
    min-height:50px!important;
    font-size:12.5px!important;
  }

  #map{
    margin:12px!important;
    width:calc(100% - 24px)!important;
    height:calc(100% - 24px)!important;
    border:1px solid #DCE6F0!important;
    border-radius:18px!important;
    overflow:hidden!important;
    box-shadow:0 10px 32px rgba(23,47,80,.10)!important;
  }

  #map .leaflet-top.leaflet-left{
    top:12px!important;
    left:12px!important;
  }

  #map .leaflet-top.leaflet-right{
    top:12px!important;
    right:12px!important;
  }

  #map .leaflet-control{
    margin:0 0 9px 0!important;
  }

  #map .leaflet-control-zoom{
    border-radius:12px!important;
    overflow:hidden!important;
    box-shadow:0 8px 22px rgba(23,47,80,.16)!important;
  }

  #map .treseizero-legend{
    border:1px solid #D9E4EE!important;
    border-radius:15px!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 10px 28px rgba(23,47,80,.13)!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
    overflow:hidden!important;
  }

  #map .treseizero-legend__section{
    padding:13px 14px!important;
    border-bottom:1px solid #EDF2F6!important;
  }

  #map .treseizero-legend__section:last-child{
    border-bottom:0!important;
  }

  #map .treseizero-legend__title{
    color:#223A5E!important;
    font-weight:900!important;
    font-size:12px!important;
  }

  #pointResults{
    margin-top:10px!important;
  }

  #pointResults .point-results__head{
    position:relative!important;
    padding-left:42px!important;
  }

  #pointResults .point-results__head::before{
    content:'⌖'!important;
    position:absolute!important;
    left:13px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:20px!important;
    height:20px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:7px!important;
    background:#E5F4FB!important;
    color:#0798D1!important;
    font-size:12px!important;
    font-weight:900!important;
  }

  #pointResults .result-card,
  #pointResults .point-result-row{
    margin:8px!important;
    border:1px solid #E5EBF2!important;
    background:#FBFDFF!important;
  }

  .sidebar-sticky-tools{
    margin:12px!important;
    padding:12px!important;
    border:1px solid #DCE6F0!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:0 4px 14px rgba(23,47,80,.045)!important;
  }

  .layout > aside{
    scrollbar-width:thin;
    scrollbar-color:#B8C7D8 transparent;
  }

  .layout > aside::-webkit-scrollbar{
    width:7px;
  }

  .layout > aside::-webkit-scrollbar-thumb{
    background:#B8C7D8;
    border-radius:999px;
  }

  .layout > aside::-webkit-scrollbar-track{
    background:transparent;
  }
}

@media (min-width:901px) and (max-width:1180px){
  .layout > aside{
    width:335px!important;
    min-width:335px!important;
  }

  .layout > aside > .field-group{
    margin-left:9px!important;
    margin-right:9px!important;
    padding:14px!important;
  }
}

@media (min-width:901px){
  .layout > aside > .field-group{
    width:95% !important;
    max-width:95% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    box-sizing:border-box !important;
  }

  .layout > aside > .sidebar-sticky-tools{
    width:95% !important;
    max-width:95% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    box-sizing:border-box !important;
  }

  .layout > aside .field-group input,
  .layout > aside .field-group select,
  .layout > aside .field-group textarea,
  .layout > aside .field-group button,
  .layout > aside .layers-panel,
  .layout > aside .layer-cat,
  .layout > aside #pointResults{
    max-width:100%;
    box-sizing:border-box;
  }
}

.map-zoom-badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:4px 8px;border:1px solid rgba(255,255,255,.20);border-radius:8px;background:rgba(255,255,255,.06);color:rgba(255,255,255,.84);font-size:11px;font-weight:700;line-height:1;white-space:nowrap}
@media(max-width:900px){.map-zoom-badge{min-height:26px;padding:3px 6px;font-size:10px}}

  #status.header-status,
  .header-status{
    max-width:420px!important;
    font-size:10px!important;
    line-height:1.25!important;
    font-weight:600!important;
    letter-spacing:0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  #status.header-status.err,
  .header-status.err{
    font-size:10px!important;
    line-height:1.25!important;
  }
  @media(max-width:900px){
    #status.header-status,
    .header-status,
    #status.header-status.err,
    .header-status.err{
      max-width:220px!important;
      font-size:9px!important;
      line-height:1.2!important;
    }
  }

  #status{
    display:block!important;
    max-width:360px!important;
    margin:0!important;
    padding:2px 6px!important;
    border-radius:6px!important;
    font-size:9px!important;
    line-height:1.15!important;
    font-weight:600!important;
    letter-spacing:0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  #status.err{
    padding:2px 6px!important;
    font-size:9px!important;
    line-height:1.15!important;
  }

  @media(max-width:900px){
    #status,
    #status.err{
      max-width:180px!important;
      padding:1px 4px!important;
      font-size:8px!important;
      line-height:1.1!important;
    }
  }

  .atlas-stake-panel{position:fixed;top:auto;bottom:54px;left:50%;right:auto;transform:translateX(-50%);z-index:12150;width:min(720px,calc(100vw - 180px));max-height:min(470px,50vh);overflow:hidden;background:rgba(255,255,255,.98);border:1px solid #d7e0e8;border-radius:16px;box-shadow:0 16px 42px rgba(15,39,66,.24);padding:0;display:none;font:12px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#25364b;pointer-events:auto;isolation:isolate;backdrop-filter:blur(10px)}
  .atlas-stake-panel.show{display:block;pointer-events:auto}.atlas-stake-panel.compact{max-height:none}.atlas-stake-panel.compact .atlas-stake-head{border-bottom:0}
  .atlas-stake-panel-close,.atlas-stake-toggle{position:relative;z-index:3;pointer-events:auto;touch-action:manipulation;border:1px solid #cbd5e1;background:#f8fafc;color:#0f2742;border-radius:7px;padding:5px 8px;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}.atlas-stake-panel-close:hover,.atlas-stake-toggle:hover{background:#eef3f8}
  .atlas-stake-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0;padding:10px 12px;border-bottom:1px solid #e8eef4;background:#f8fafc}.atlas-stake-head strong{color:#0f2742;font-size:13px;letter-spacing:.01em}.atlas-stake-head-actions{display:flex;gap:5px;align-items:center}.atlas-stake-panel.compact .atlas-stake-head .atlas-stake-note{display:none}
  .atlas-stake-quick{display:grid;grid-template-columns:minmax(210px,1fr) auto auto;gap:7px;align-items:center;padding:10px 12px}.atlas-stake-quick .atlas-stake-entry{margin:0;min-width:0}.atlas-stake-quick-btn{border:1px solid #d5dee8;background:#f7f9fc;color:#18334f;border-radius:7px;height:34px;padding:0 9px;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap;touch-action:manipulation}.atlas-stake-quick-btn.primary{background:#0f2742;color:#fff;border-color:#0f2742}.atlas-stake-quick-btn.active{background:#0f2742;color:#fff;border-color:#0f2742}.atlas-stake-quick-btn:disabled{opacity:.45;cursor:not-allowed}.atlas-stake-edit-mode{display:none;justify-self:center;min-width:180px;background:#0f2742;color:#fff;border-color:#0f2742}.atlas-stake-panel:not(.compact) .atlas-stake-quick{grid-template-columns:1fr;justify-items:center}.atlas-stake-panel:not(.compact) .atlas-stake-quick .atlas-stake-entry,.atlas-stake-panel:not(.compact) .atlas-stake-close-quick,.atlas-stake-panel:not(.compact) #atlasStakeExpandQuick{display:none!important}.atlas-stake-panel:not(.compact) .atlas-stake-edit-mode{display:inline-flex;align-items:center;justify-content:center}.atlas-stake-panel:not(.compact) #atlasStakeToggle,.atlas-stake-panel:not(.compact) #atlasStakeClosePolygon,.atlas-stake-panel:not(.compact) .atlas-stake-expanded>.atlas-stake-note:first-child{display:none!important}.atlas-stake-panel:not(.compact) .atlas-stake-expanded{margin-top:5px}
  .atlas-stake-expanded{margin:0;padding:0 12px 12px;max-height:calc(min(470px,50vh) - 88px);overflow-y:auto;overflow-x:hidden}.atlas-stake-panel.compact .atlas-stake-expanded{display:none}.atlas-stake-table-wrap{overflow-y:auto;overflow-x:hidden;max-height:220px;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7;width:100%}
  .atlas-stake-table{width:min(100%,620px);margin:4px auto 0;border-collapse:collapse;font-size:10px;table-layout:fixed}.atlas-stake-table th,.atlas-stake-table td{padding:6px 4px;border-bottom:1px solid #e5e7eb;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.atlas-stake-table th:first-child,.atlas-stake-table td:first-child{text-align:center;width:52px}.atlas-stake-table th:nth-child(2),.atlas-stake-table td:nth-child(2){width:82px}.atlas-stake-table th:nth-child(3),.atlas-stake-table td:nth-child(3){width:72px}.atlas-stake-table th:last-child,.atlas-stake-table td:last-child{width:auto}.atlas-stake-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;position:relative;z-index:2;pointer-events:auto}.atlas-stake-actions button{border:1px solid #d5dee8;background:#f7f9fc;color:#18334f;border-radius:7px;padding:6px 9px;font-size:11px;font-weight:700;cursor:pointer;pointer-events:auto;touch-action:manipulation}
  .atlas-stake-note{font-size:10px;color:#64748b;margin-top:6px}.atlas-stake-label{background:transparent!important;border:0!important;width:34px!important;height:42px!important}.atlas-stake-flag{position:relative;width:34px;height:42px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}.atlas-stake-flag__pole{position:absolute;left:8px;top:4px;width:3px;height:34px;background:#334155;border-radius:2px}.atlas-stake-flag__cloth{position:absolute;left:10px;top:5px;width:20px;height:14px;background:#f59e0b;clip-path:polygon(0 0,100% 18%,82% 100%,0 82%);border-radius:1px}.atlas-stake-flag__id{position:absolute;left:1px;bottom:0;min-width:19px;height:19px;padding:0 3px;border-radius:10px;background:#0f2742;color:#fff;border:2px solid #fff;font:800 9px/15px system-ui;text-align:center;box-sizing:border-box}
  .atlas-stake-entry{display:flex;gap:6px;margin:8px 0}.atlas-stake-entry input{flex:1;min-width:0;border:1px solid #cbd5e1;border-radius:7px;padding:7px 8px;font-size:12px;color:#18334f;background:#fff}.atlas-stake-entry button{border:0;border-radius:7px;background:#0f2742;color:#fff;padding:7px 10px;font-size:11px;font-weight:800;cursor:pointer}.atlas-stake-entry .atlas-stake-add{flex:0 0 36px;width:36px;height:34px;padding:0;font-size:22px;line-height:34px;border-radius:7px;align-self:stretch}.atlas-stake-row-actions{display:flex;gap:5px;justify-content:center;align-items:center;min-width:0;flex-wrap:wrap}.atlas-stake-nav-row{border:0;border-radius:7px;background:#0f2742;color:#fff;padding:6px 10px;font-size:10px;font-weight:900;cursor:pointer;white-space:nowrap;touch-action:manipulation;box-shadow:0 1px 2px rgba(15,39,66,.18)}.atlas-stake-nav-row:hover{background:#1d466d}.atlas-stake-coords-btn{border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#334155;padding:5px 8px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap;touch-action:manipulation}.atlas-stake-coords-btn:hover{background:#f8fafc}.atlas-stake-delete-btn{border:1px solid #fecaca;border-radius:7px;background:#fff7f7;color:#b91c1c;padding:5px 8px;font-size:10px;font-weight:900;cursor:pointer;white-space:nowrap;touch-action:manipulation}.atlas-stake-delete-btn:hover{background:#fee2e2}.atlas-stake-summary:empty{display:none}
  @media(max-width:900px){.atlas-stake-panel{top:auto;right:8px;left:8px;bottom:84px;transform:none;width:auto;max-height:42svh;padding:0;border-radius:16px 16px 12px 12px;z-index:12150!important;pointer-events:auto!important;box-shadow:0 -8px 30px rgba(15,39,66,.22)}.atlas-stake-panel.compact{max-height:none}.atlas-stake-entry input{font-size:16px}.atlas-stake-quick{grid-template-columns:minmax(0,1fr) auto auto}.atlas-stake-quick .atlas-stake-nav-quick{display:none}.atlas-stake-expanded{max-height:calc(42svh - 82px)}.atlas-stake-table-wrap{max-height:170px}.atlas-measure-tools{flex-wrap:wrap;max-width:calc(100vw - 28px);justify-content:flex-end}}
  @media(max-width:520px){.atlas-stake-quick{grid-template-columns:1fr auto auto;align-items:center}.atlas-stake-quick .atlas-stake-entry{grid-column:1/-1}.atlas-stake-panel.compact .atlas-stake-quick .atlas-stake-close-quick{display:block}.atlas-stake-panel:not(.compact) .atlas-stake-quick{grid-template-columns:1fr}.atlas-stake-panel:not(.compact) .atlas-stake-edit-mode{width:min(240px,80%)}.atlas-stake-quick .atlas-stake-nav-quick{display:none}.atlas-stake-toggle{font-size:0}.atlas-stake-toggle::after{content:'▾';font-size:14px}.atlas-stake-panel:not(.compact) .atlas-stake-toggle::after{content:'▴'}}
  .atlas-stake-mobile-only{display:none!important}
  .atlas-stake-mobile-nav{display:none;margin:10px 0 2px;padding:10px;border:1px solid #dbe4ec;border-radius:12px;background:#f8fafc}
  .atlas-stake-mobile-nav.show{display:none}
  .atlas-stake-nav-top{display:flex;align-items:center;gap:10px}
  .atlas-stake-compass{position:relative;flex:0 0 70px;width:70px;height:70px;border-radius:50%;border:2px solid #cbd5e1;background:#fff;box-shadow:inset 0 0 0 5px #f8fafc}
  .atlas-stake-compass::before{content:'N';position:absolute;top:3px;left:50%;transform:translateX(-50%);font-size:9px;font-weight:900;color:#64748b}
  .atlas-stake-compass-arrow{position:absolute;left:50%;top:50%;width:3px;height:27px;background:#d97706;border-radius:3px;transform-origin:50% 100%;transform:translate(-50%,-100%) rotate(0deg);transition:transform .16s linear}
  .atlas-stake-compass-arrow::before{content:'';position:absolute;left:50%;top:-7px;transform:translateX(-50%);border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:10px solid #d97706}
  .atlas-stake-nav-info{min-width:0;flex:1}.atlas-stake-nav-target{font-size:11px;font-weight:900;color:#0f2742}.atlas-stake-nav-distance{font-size:22px;line-height:1.05;font-weight:900;color:#0f2742;margin-top:2px}.atlas-stake-nav-meta{font-size:10px;color:#64748b;margin-top:4px}
  .atlas-stake-nav-controls{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.atlas-stake-nav-controls button{height:34px;border-radius:8px;border:1px solid #cbd5e1;background:#fff;color:#18334f;font-size:11px;font-weight:900;touch-action:manipulation}.atlas-stake-nav-controls .stop{background:#fff7f7;color:#b91c1c;border-color:#fecaca}
  @media(max-width:900px){.atlas-stake-mobile-only{display:inline-flex!important}.atlas-stake-mobile-nav.show{display:block}.atlas-stake-row-actions .atlas-stake-nav-row{display:inline-flex!important;align-items:center;justify-content:center}.atlas-stake-row-actions{gap:5px}.atlas-stake-table th:last-child,.atlas-stake-table td:last-child{width:150px}}
  @media(min-width:901px){.atlas-stake-nav-row,.atlas-stake-mobile-nav{display:none!important}}
  
  .atlas-stake-ar-btn{border:1px solid #bfdbfe;border-radius:7px;background:#eff6ff;color:#1d4ed8;padding:6px 8px;font-size:9px;font-weight:900;cursor:pointer;white-space:nowrap;touch-action:manipulation}
  .atlas-stake-ar-btn:hover{background:#dbeafe}
  .atlas-stake-ar{position:fixed;inset:0;z-index:14000;display:none;background:#020617;color:#fff;overflow:hidden}
  .atlas-stake-ar.show{display:block}
  .atlas-stake-ar video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#020617}
  .atlas-stake-ar-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,6,23,.48),transparent 26%,transparent 65%,rgba(2,6,23,.58));pointer-events:none}
  .atlas-stake-ar-head{position:absolute;left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:3}
  .atlas-stake-ar-title{display:flex;flex-direction:column;gap:2px;padding:8px 11px;border-radius:12px;background:rgba(15,39,66,.76);backdrop-filter:blur(8px);box-shadow:0 6px 18px rgba(0,0,0,.22)}
  .atlas-stake-ar-title strong{font-size:14px}.atlas-stake-ar-title span{font-size:10px;color:#dbeafe}
  .atlas-stake-ar-close{width:42px;height:42px;border:1px solid rgba(255,255,255,.36);border-radius:50%;background:rgba(15,23,42,.68);color:#fff;font-size:24px;line-height:38px;font-weight:500;cursor:pointer;backdrop-filter:blur(8px)}
  .atlas-stake-ar-flag{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);z-index:4;display:flex;flex-direction:column;align-items:center;transition:left .16s linear,opacity .16s linear}
  .atlas-stake-ar-flag .flag{font-size:58px;line-height:1;filter:drop-shadow(0 4px 10px rgba(0,0,0,.45))}
  .atlas-stake-ar-flag .label{margin-top:4px;padding:7px 11px;border-radius:999px;background:rgba(15,39,66,.86);font-size:12px;font-weight:900;box-shadow:0 4px 16px rgba(0,0,0,.3);white-space:nowrap}
  .atlas-stake-ar-edge{position:absolute;top:46%;z-index:4;display:none;padding:8px 10px;border-radius:10px;background:rgba(15,39,66,.82);font-weight:900;font-size:12px;backdrop-filter:blur(8px)}
  .atlas-stake-ar-edge.left{left:10px}.atlas-stake-ar-edge.right{right:10px}
  .atlas-stake-ar-hud{position:absolute;left:50%;bottom:max(22px,calc(env(safe-area-inset-bottom) + 14px));transform:translateX(-50%);z-index:4;width:min(92vw,430px);padding:12px 14px;border-radius:16px;background:rgba(15,39,66,.80);backdrop-filter:blur(10px);box-shadow:0 10px 30px rgba(0,0,0,.28);text-align:center}
  .atlas-stake-ar-distance{font-size:34px;font-weight:900;line-height:1}.atlas-stake-ar-meta{margin-top:8px;font-size:12px;line-height:1.45;font-weight:800;color:#eef6ff}.atlas-stake-ar-warning{margin-top:5px;font-size:9px;color:#fde68a}
  @media(min-width:901px){.atlas-stake-ar-btn,.atlas-stake-ar{display:none!important}}
  .atlas-stake-coord-modal{position:fixed;inset:0;z-index:13050;display:none;align-items:center;justify-content:center;background:rgba(15,39,66,.42);padding:18px}.atlas-stake-coord-modal.show{display:flex}.atlas-stake-coord-card{width:min(420px,calc(100vw - 32px));background:#fff;border-radius:14px;box-shadow:0 18px 55px rgba(15,39,66,.3);padding:16px;color:#18334f}.atlas-stake-coord-card h3{margin:0 0 10px;font-size:15px;color:#0f2742}.atlas-stake-coord-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.atlas-stake-coord-grid label{font-size:10px;font-weight:800;color:#64748b}.atlas-stake-coord-grid input{width:100%;box-sizing:border-box;margin-top:4px;border:1px solid #cbd5e1;border-radius:8px;padding:9px;font-size:14px;color:#18334f}.atlas-stake-coord-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:12px}.atlas-stake-coord-actions button{border:1px solid #cbd5e1;border-radius:8px;padding:8px 11px;font-size:11px;font-weight:800;cursor:pointer;background:#fff;color:#18334f}.atlas-stake-coord-actions .save{background:#0f2742;color:#fff;border-color:#0f2742}@media(max-width:520px){.atlas-stake-table{width:100%;font-size:10px}.atlas-stake-table th,.atlas-stake-table td{padding:6px 2px}.atlas-stake-table th:first-child,.atlas-stake-table td:first-child{width:42px}.atlas-stake-table th:nth-child(2),.atlas-stake-table td:nth-child(2){width:66px}.atlas-stake-table th:nth-child(3),.atlas-stake-table td:nth-child(3){width:58px}.atlas-stake-row-actions{gap:4px}.atlas-stake-nav-row,.atlas-stake-coords-btn,.atlas-stake-delete-btn{padding:6px 7px;font-size:9px}.atlas-stake-coord-grid{grid-template-columns:1fr}.atlas-stake-coord-grid input{font-size:16px}}
  
  .atlas-stake-titleblock{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px}
  .atlas-stake-summary{display:inline-flex;align-items:center;min-height:24px;margin-top:5px;padding:3px 9px;border-radius:999px;background:#e7f7f4;color:#087d73;font-size:11px;font-weight:900;line-height:1.1;white-space:nowrap;box-shadow:inset 0 0 0 1px rgba(8,125,115,.10)}
  .atlas-stake-summary:empty{display:none}
  .atlas-stake-panel:not(.compact) .atlas-stake-expanded{display:flex;flex-direction:column;overflow:hidden;max-height:calc(min(470px,50vh) - 126px)}
  .atlas-stake-panel:not(.compact) .atlas-stake-table-wrap{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
  .atlas-stake-panel:not(.compact) .atlas-stake-actions{flex:0 0 auto}
  .atlas-stake-panel:not(.compact) .atlas-stake-expanded>.atlas-stake-note:last-child{flex:0 0 auto}
  @media(min-width:901px){
    .atlas-stake-panel{width:min(760px,calc(100vw - 220px));bottom:58px}
    .atlas-stake-head{padding:13px 16px 11px;background:linear-gradient(180deg,#fbfdff,#f5f8fb)}
    .atlas-stake-head strong{font-size:15px}
    .atlas-stake-expanded{padding:0 16px 14px}
    .atlas-stake-table-wrap{border:1px solid #e6edf3;border-radius:10px;background:#fff}
    .atlas-stake-table{margin:0 auto}
    .atlas-stake-actions{justify-content:center;padding-top:9px}
  }
  @media(max-width:900px){
    .atlas-stake-summary{font-size:10px;min-height:22px;margin-top:3px;padding:3px 8px}
    .atlas-stake-panel:not(.compact) .atlas-stake-expanded{max-height:calc(42svh - 112px)}
  }

  .atlas-stake-actions button.active{background:#0f2742;color:#fff;border-color:#0f2742}

  .atlas-measure-tools{
    position:absolute; top:84px; right:12px; z-index:900;
    display:flex; flex-direction:column; gap:6px;
  }
  .atlas-measure-btn{
    border:1px solid rgba(15,23,42,.14); background:#fff; color:#0f2742;
    min-width:42px; height:42px; padding:0 11px; border-radius:10px;
    box-shadow:0 3px 14px rgba(15,23,42,.16); cursor:pointer;
    font:700 12px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  }
  .atlas-measure-btn:hover{background:#f4f8fc}
  .atlas-measure-btn.active{background:#0f2742;color:#fff;border-color:#0f2742}
  .atlas-measure-panel{
    position:absolute; top:84px; right:66px; z-index:899;
    width:min(310px,calc(100vw - 92px)); padding:10px 12px;
    border:1px solid rgba(15,23,42,.12); border-radius:12px;
    background:rgba(255,255,255,.97); box-shadow:0 5px 20px rgba(15,23,42,.16);
    font:12px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:#25364b; display:none;
  }
  .atlas-measure-panel.show{display:block}
  .atlas-measure-panel strong{color:#0f2742}
  .atlas-measure-actions{display:flex;gap:6px;margin-top:8px}
  .atlas-measure-actions button{
    border:1px solid #d5dee8;background:#f7f9fc;color:#18334f;
    border-radius:7px;padding:6px 9px;font-size:11px;font-weight:700;cursor:pointer;
  }
  .atlas-measure-result{font-size:15px;font-weight:800;color:#087b78;margin-top:5px}
  .atlas-measure-hint{font-size:10px;color:#65758a;margin-top:3px}
  .atlas-vertex{
    background:#fff;border:2px solid #0f6f78;border-radius:50%;
    width:12px!important;height:12px!important;margin-left:-6px!important;margin-top:-6px!important;
    box-shadow:0 1px 5px rgba(0,0,0,.25);
  }
  .leaflet-container.atlas-crosshair{cursor:crosshair!important}
  @media(max-width:900px){
    .atlas-measure-tools{top:auto;right:10px;bottom:84px}
    .atlas-measure-btn{height:40px;min-width:40px;padding:0 9px}
    .atlas-measure-panel{top:auto;right:58px;bottom:84px;width:min(275px,calc(100vw - 82px))}
  }

  .atlas-measure-tools{
    position:fixed!important;
    top:88px!important;
    right:14px!important;
    bottom:auto!important;
    z-index:10050!important;
    display:flex!important;
    flex-direction:row!important;
    gap:7px!important;
    pointer-events:auto!important;
  }
  .atlas-measure-btn{
    width:auto!important;
    min-width:0!important;
    height:38px!important;
    padding:0 12px!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    background:#ffffff!important;
    color:#0f2742!important;
    border:1px solid #cbd5e1!important;
    border-radius:9px!important;
    box-shadow:0 3px 12px rgba(15,39,66,.18)!important;
    font-size:11px!important;
    font-weight:800!important;
  }
  .atlas-measure-btn.active{background:#0f2742!important;color:#fff!important;border-color:#0f2742!important}
  .atlas-measure-panel{
    position:fixed!important;
    top:134px!important;
    right:14px!important;
    z-index:10049!important;
  }
  @media(max-width:900px){
    .atlas-measure-tools{
      top:auto!important;
      right:10px!important;
      bottom:78px!important;
      flex-direction:column!important;
    }
    .atlas-measure-btn{height:38px!important;padding:0 10px!important}
    .atlas-measure-panel{
      top:auto!important;
      right:10px!important;
      bottom:166px!important;
      width:min(280px,calc(100vw - 20px))!important;
    }
  }

  .leaflet-left .leaflet-control-layers{
    margin-left:12px;
  }

  .leaflet-top.leaflet-left .leaflet-control-layers{
    margin-left:12px!important;
    margin-top:8px!important;
  }

  .leaflet-top.leaflet-left{
    display:flex!important;
    align-items:flex-start!important;
    gap:8px!important;
    padding:12px 0 0 12px!important;
  }
  .leaflet-top.leaflet-left > .leaflet-control{
    float:none!important;
    clear:none!important;
    margin:0!important;
  }
  .leaflet-top.leaflet-left .leaflet-control-zoom{
    order:1!important;
  }
  .leaflet-top.leaflet-left .leaflet-control-layers{
    order:2!important;
    margin:0!important;
    border:0!important;
    border-radius:10px!important;
    box-shadow:0 2px 10px rgba(15,39,66,.16)!important;
    background:#fff!important;
  }
  .leaflet-top.leaflet-left .leaflet-control-layers-expanded{
    padding:8px 11px!important;
    min-width:112px!important;
  }
  .leaflet-top.leaflet-left .leaflet-control-layers-base label{
    margin:0!important;
    line-height:22px!important;
    white-space:nowrap!important;
    font-size:12px!important;
    font-weight:700!important;
    color:#233b5d!important;
  }
  .leaflet-top.leaflet-left .leaflet-control-layers-selector{
    margin-top:0!important;
    vertical-align:middle!important;
  }
  @media(max-width:900px){
    .leaflet-top.leaflet-left{
      gap:7px!important;
      padding:10px 0 0 10px!important;
    }
    .leaflet-top.leaflet-left .leaflet-control-layers-expanded{
      padding:6px 9px!important;
      min-width:105px!important;
    }
  }

  .atlas-map-actions{
    position:fixed!important;
    right:14px!important;
    bottom:18px!important;
    z-index:11000!important;
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
    pointer-events:auto!important;
  }
  .atlas-map-action-btn{
    min-height:38px!important;
    padding:0 11px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    border:1px solid #cbd5e1!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#173653!important;
    box-shadow:0 3px 12px rgba(15,39,66,.18)!important;
    font-size:11px!important;
    font-weight:800!important;
    cursor:pointer!important;
  }
  .atlas-map-action-btn:disabled{opacity:.55!important;cursor:wait!important}
  .atlas-map-action-btn.is-active{background:#173653!important;color:#fff!important;border-color:#173653!important}

  .point-report-modal{
    z-index:140000!important;
  }

  @media(max-width:900px){
    .atlas-map-actions{
      right:10px!important;
      bottom:78px!important;
      gap:6px!important;
    }
    .atlas-map-action-btn{
      width:42px!important;
      min-width:42px!important;
      height:42px!important;
      min-height:42px!important;
      padding:0!important;
      border-radius:11px!important;
      font-size:16px!important;
    }
    .atlas-map-action-label{display:none!important}
  }

  @media(max-width:900px){
    #atlasMobilePointMount .sidebar-sticky-tools{
      display:block!important;
      width:100%!important;
      margin:14px 0 8px!important;
    }
    #atlasMobilePointMount #generatePointReport{
      display:block!important;
      width:100%!important;
      min-height:48px!important;
      position:relative!important;
      z-index:2!important;
    }
  }

  #atlas3dMap{
    display:none;
    position:absolute;
    inset:12px;
    z-index:700;
    border:1px solid #DCE6F0;
    border-radius:18px;
    overflow:hidden;
    background:#dce5ec;
    box-shadow:0 10px 32px rgba(23,47,80,.10);
  }
  #atlas3dMap.is-open{display:block}
  body.atlas-3d-active #map{visibility:hidden!important}
  .atlas-3d-info{
    display:none;position:absolute;left:50%;bottom:30px;transform:translateX(-50%);
    z-index:11100;max-width:min(520px,calc(100vw - 40px));padding:7px 11px;
    border-radius:9px;background:rgba(15,39,66,.90);color:#fff;font-size:10px;
    line-height:1.3;box-shadow:0 4px 16px rgba(15,39,66,.22);pointer-events:none;
  }
  .atlas-3d-info.show{display:block}
  #atlas3dBtn.is-active{background:#173653!important;color:#fff!important;border-color:#173653!important}
  .atlas-3d-popup{font:12px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#223a5e;min-width:190px}
  .atlas-3d-popup strong{font-size:13px}
  .atlas-3d-popup .muted{font-size:10px;color:#64748b;margin-top:4px}
  @media(max-width:900px){
    #atlas3dMap{
      inset:0 0 calc(var(--atlas-mobile-toolbar-h) + var(--atlas-mobile-safe-bottom)) 0;
      border:0;border-radius:0;box-shadow:none;
    }
    .atlas-3d-info{
      bottom:calc(var(--atlas-mobile-toolbar-h) + 92px);
      font-size:9px;
    }
  }

  .atlas-map-actions{
    bottom:86px!important;
  }
  @media(max-width:900px){
    .atlas-map-actions{
      bottom:154px!important;
    }
  }

  body.atlas-3d-active #atlasDistanceBtn,
  body.atlas-3d-active #atlasAreaBtn{
    opacity:.42!important;
    filter:grayscale(1)!important;
    cursor:not-allowed!important;
    pointer-events:none!important;
  }

body.atlas-3d-active #atlasStakeBtn{
  opacity:.38!important;
  filter:grayscale(1)!important;
  pointer-events:none!important;
  cursor:not-allowed!important;
}
body.atlas-3d-active #atlasStakePanel{display:none!important}

.atlas-map-actions{
  right:14px!important;
  bottom:132px!important;
  z-index:960!important;
  gap:8px!important;
}
@media(min-width:901px){
  .treseizero-legend{
    max-width:calc(100vw - 270px)!important;
  }
}

@media(max-width:900px){
  .atlas-map-actions{
    left:50%!important;
    right:auto!important;
    bottom:112px!important;
    transform:translateX(-50%)!important;
    width:max-content!important;
    max-width:calc(100vw - 16px)!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
    padding:6px!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.95)!important;
    box-shadow:0 7px 22px rgba(20,45,75,.20)!important;
    backdrop-filter:blur(8px);
  }

  .atlas-map-actions .atlas-map-action-btn{
    width:46px!important;
    min-width:46px!important;
    height:46px!important;
    min-height:46px!important;
    padding:0!important;
    border-radius:11px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:0!important;
  }
  .atlas-map-actions .atlas-map-action-btn::before{
    width:22px!important;
    height:22px!important;
    margin:0!important;
  }
  .atlas-map-actions .atlas-map-action-label{display:none!important}

  .treseizero-legend{
    left:10px!important;
    right:10px!important;
    bottom:180px!important;
    width:auto!important;
    max-width:none!important;
    max-height:33vh!important;
    overflow:auto!important;
  }
}

@media(min-width:901px){
  .atlas-map-actions{
    right:16px!important;
    bottom:132px!important;
    left:auto!important;
    transform:none!important;
    flex-direction:column!important;
    gap:8px!important;
    padding:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }

  .atlas-map-actions .atlas-map-action-btn{
    width:48px!important;
    min-width:48px!important;
    height:48px!important;
    min-height:48px!important;
    padding:0!important;
    border-radius:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:0!important;
    box-shadow:0 4px 14px rgba(20,45,75,.18)!important;
  }

  .atlas-map-actions .atlas-map-action-btn::before{
    width:21px!important;
    height:21px!important;
    margin:0!important;
  }

  .atlas-map-actions .atlas-map-action-label{
    display:none!important;
  }

  .treseizero-legend{
    right:82px!important;
    left:auto!important;
    width:min(360px,calc(100vw - 120px))!important;
    max-width:min(360px,calc(100vw - 120px))!important;
    bottom:132px!important;
    max-height:58vh!important;
    overflow:auto!important;
  }
}

@media(max-width:900px){
  .atlas-map-actions{
    left:50%!important;
    right:auto!important;
    bottom:112px!important;
    transform:translateX(-50%)!important;
    flex-direction:row!important;
    gap:7px!important;
    padding:6px!important;
    border-radius:28px!important;
    background:rgba(255,255,255,.95)!important;
    box-shadow:0 7px 22px rgba(20,45,75,.20)!important;
  }

  .atlas-map-actions .atlas-map-action-btn{
    width:46px!important;
    min-width:46px!important;
    height:46px!important;
    min-height:46px!important;
    padding:0!important;
    border-radius:50%!important;
  }

  .atlas-map-actions .atlas-map-action-btn::before{
    width:21px!important;
    height:21px!important;
    margin:0!important;
  }

  .treseizero-legend{
    left:10px!important;
    right:10px!important;
    bottom:180px!important;
    width:auto!important;
    max-width:none!important;
    max-height:32vh!important;
    overflow:auto!important;
  }
}

@media(min-width:901px){
  .treseizero-legend{
    bottom:132px!important;
  }
  .atlas-map-actions{
    bottom:132px!important;
  }
}

@media(min-width:901px){
  .atlas-map-actions{
    bottom:96px!important;
  }

  .treseizero-legend{
    bottom:96px!important;
  }
}

@media(max-width:900px){
  .atlas-map-actions{
    bottom:96px!important;
  }

  .treseizero-legend{
    bottom:164px!important;
  }
}

@media(min-width:901px){
  .atlas-map-actions{
    right:16px!important;
    bottom:72px!important;
  }

  .leaflet-bottom.leaflet-right .treseizero-legend{
    position:fixed!important;
    right:80px!important;
    left:auto!important;
    bottom:72px!important;
    top:auto!important;
    margin:0!important;
    width:min(360px,calc(100vw - 120px))!important;
    max-width:min(360px,calc(100vw - 120px))!important;
    max-height:58vh!important;
    overflow:auto!important;
    z-index:950!important;
  }
}

@media(max-width:900px){
  .atlas-map-actions{
    bottom:96px!important;
  }

  .leaflet-bottom.leaflet-right .treseizero-legend{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:164px!important;
    top:auto!important;
    margin:0!important;
    width:auto!important;
    max-width:none!important;
    max-height:32vh!important;
    overflow:auto!important;
    z-index:950!important;
  }
}

@media(min-width:901px){
  .atlas-map-actions{
    bottom:85px!important;
  }

  .leaflet-bottom.leaflet-right .treseizero-legend{
    bottom:85px!important;
  }
}

.leaflet-bottom.leaflet-right .treseizero-legend{
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  touch-action:pan-y;
}

.leaflet-bottom.leaflet-right .treseizero-legend::-webkit-scrollbar{
  width:6px;
}
.leaflet-bottom.leaflet-right .treseizero-legend::-webkit-scrollbar-track{
  background:transparent;
}
.leaflet-bottom.leaflet-right .treseizero-legend::-webkit-scrollbar-thumb{
  background:rgba(34,58,94,.32);
  border-radius:999px;
}

@media(min-width:901px){
  .leaflet-bottom.leaflet-right .treseizero-legend{
    bottom:85px!important;
    max-height:calc(100vh - 185px)!important;
  }
}

@media(max-width:900px){
  .leaflet-bottom.leaflet-right .treseizero-legend{
    max-height:calc(100vh - 300px)!important;
  }
}

.leaflet-bottom.leaflet-right .treseizero-legend{
  overflow:visible!important;
}

.treseizero-legend-scroll{
  display:block;
  width:100%;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y;
  scrollbar-width:thin;
  scrollbar-color:rgba(34,58,94,.34) transparent;
  border-radius:inherit;
}

.treseizero-legend-scroll::-webkit-scrollbar{width:6px}
.treseizero-legend-scroll::-webkit-scrollbar-track{background:transparent}
.treseizero-legend-scroll::-webkit-scrollbar-thumb{
  background:rgba(34,58,94,.34);
  border-radius:999px;
}

@media(min-width:901px){
  .atlas-map-actions{
    bottom:85px!important;
  }
  .leaflet-bottom.leaflet-right .treseizero-legend{
    bottom:85px!important;
  }
  .treseizero-legend-scroll{
    max-height:calc(100vh - 185px)!important;
  }
}

@media(max-width:900px){
  .atlas-mobile-legend-mount .treseizero-legend-scroll{
    max-height:52vh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
  }
}

:root{
  --atlas-tool-size:46px;
  --atlas-tool-gap:6px;
}

#map .leaflet-control-zoom a,
#atlasDistanceBtn,
#atlasAreaBtn,
#atlas3dBtn,
#atlasLocateBtn,
#atlasScreenshotBtn,
#atlasStakeBtn{
  border:0!important;
  color:#fff!important;
  box-shadow:0 4px 14px rgba(15,39,66,.20)!important;
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease!important;
}
#map .leaflet-control-zoom a:hover,
#atlasDistanceBtn:hover,
#atlasAreaBtn:hover,
#atlas3dBtn:hover,
#atlasLocateBtn:hover,
#atlasScreenshotBtn:hover,
#atlasStakeBtn:hover{
  transform:translateY(-1px)!important;
  filter:brightness(1.04)!important;
  box-shadow:0 6px 17px rgba(15,39,66,.24)!important;
}

#map .leaflet-control-zoom-in{background:#223A5E!important}
#map .leaflet-control-zoom-out{background:#0891B2!important}
#atlasDistanceBtn{background:#0F766E!important}
#atlasAreaBtn{background:#E47B27!important}
#atlas3dBtn{background:#6D5BD0!important}
#atlasLocateBtn{background:#2FA866!important}
#atlasScreenshotBtn{background:#2878C8!important}
#atlasStakeBtn{background:#C46A1A!important}

#atlasDistanceBtn::before,#atlasAreaBtn::before,#atlasStakeBtn::before{opacity:.98!important}
#atlasStakeBtn::before{width:21px!important;height:21px!important}
#atlasStakeBtn{box-shadow:0 4px 14px rgba(131,64,9,.28)!important}
#atlasStakeBtn:hover{box-shadow:0 6px 17px rgba(131,64,9,.32)!important}

#atlasDistanceBtn.active,
#atlasAreaBtn.active,
#atlas3dBtn.is-active,
#atlasLocateBtn.is-active,
#atlasScreenshotBtn.is-active,
#atlasStakeBtn.active{
  outline:3px solid rgba(255,255,255,.92)!important;
  outline-offset:-5px!important;
  filter:saturate(1.08) brightness(.92)!important;
}

@media(min-width:901px){
  #map .leaflet-control-zoom{
    border:0!important;
    box-shadow:none!important;
    background:transparent!important;
    display:flex!important;
    gap:5px!important;
  }
  #map .leaflet-control-zoom a{
    width:42px!important;height:42px!important;line-height:42px!important;
    border-radius:50%!important;
    font-size:23px!important;font-weight:700!important;
  }
  #map .leaflet-control-zoom a + a{border-top:0!important}

  .atlas-measure-tools{gap:8px!important}
  .atlas-measure-btn{
    width:46px!important;min-width:46px!important;height:46px!important;
    padding:0!important;border-radius:50%!important;font-size:0!important;
    justify-content:center!important;
  }
  .atlas-measure-btn::before{width:22px!important;height:22px!important;margin:0!important}
  .atlas-measure-btn > span:not([aria-hidden="true"]){display:none!important}

  .atlas-map-actions .atlas-map-action-btn{
    width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;
    border-radius:50%!important;
  }
}

@media(max-width:900px){
  #map .leaflet-control-zoom,
  .atlas-measure-tools,
  .atlas-map-actions{
    position:fixed!important;
    bottom:106px!important;
    z-index:12050!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    transform:none!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    gap:3px!important;
  }

  #map .leaflet-control-zoom{
    left:8px!important;right:auto!important;top:auto!important;
    border:0!important;
  }
  .atlas-measure-tools{
    left:92px!important;right:auto!important;top:auto!important;
  }
  .atlas-map-actions{
    left:176px!important;right:auto!important;top:auto!important;
    width:auto!important;max-width:none!important;
  }

  #map .leaflet-control-zoom a,
  .atlas-measure-btn,
  .atlas-map-actions .atlas-map-action-btn{
    width:40px!important;min-width:40px!important;
    height:40px!important;min-height:40px!important;
    padding:0!important;margin:0!important;
    border-radius:12px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    font-size:0!important;
  }
  #map .leaflet-control-zoom a{
    line-height:40px!important;
    font-size:22px!important;
    font-weight:800!important;
  }
  #map .leaflet-control-zoom a + a{border-top:0!important}
  .atlas-measure-btn::before,
  .atlas-map-actions .atlas-map-action-btn::before{
    width:21px!important;height:21px!important;margin:0!important;
  }
  .atlas-measure-btn > span:not([aria-hidden="true"]),
  .atlas-map-actions .atlas-map-action-label{display:none!important}

  #map::after{
    content:"";
    position:fixed;
    left:5px;right:5px;bottom:102px;
    height:48px;
    border:1px solid rgba(203,213,225,.82);
    border-radius:15px;
    background:rgba(255,255,255,.94);
    box-shadow:0 7px 22px rgba(20,45,75,.18);
    backdrop-filter:blur(9px);
    z-index:12040;
    pointer-events:none;
  }

  .atlas-measure-panel{
    left:8px!important;right:8px!important;top:auto!important;
    bottom:160px!important;
    width:auto!important;max-width:none!important;
    z-index:12060!important;
  }

  .treseizero-legend{
    bottom:164px!important;
  }

  body.atlas-3d-active #map::after{display:block!important}
}

@media(max-width:350px){
  #map .leaflet-control-zoom,
  .atlas-measure-tools,
  .atlas-map-actions{gap:2px!important}
  #map .leaflet-control-zoom a,
  .atlas-measure-btn,
  .atlas-map-actions .atlas-map-action-btn{
    width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;
  }
  .atlas-measure-tools{left:88px!important}
  .atlas-map-actions{left:168px!important}
}

#map::after{display:none!important;content:none!important}

@media(min-width:901px){
  #map .leaflet-control-zoom,
  .atlas-measure-tools,
  .atlas-map-actions{
    position:fixed!important;
    right:14px!important;
    left:auto!important;
    top:auto!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    box-shadow:none!important;
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
    width:auto!important;
    z-index:12050!important;
  }
  .atlas-map-actions{bottom:85px!important}
  .atlas-measure-tools{bottom:250px!important}
  #map .leaflet-control-zoom{bottom:356px!important;border:0!important}
  #map .leaflet-control-zoom a,
  .atlas-measure-btn,
  .atlas-map-actions .atlas-map-action-btn{
    width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;
    border-radius:50%!important;margin:0!important;padding:0!important;
  }
  #map .leaflet-control-zoom a{line-height:46px!important}
  #map .leaflet-control-zoom a + a{border-top:0!important}
  .treseizero-legend{right:74px!important;bottom:85px!important}
}

@media(max-width:900px){
  #map .leaflet-control-zoom,
  .atlas-measure-tools,
  .atlas-map-actions{
    position:fixed!important;
    right:8px!important;
    left:auto!important;
    top:auto!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    transform:none!important;
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    gap:5px!important;
    width:auto!important;
    max-width:none!important;
    z-index:12050!important;
  }
  .atlas-map-actions{bottom:94px!important}
  .atlas-measure-tools{bottom:229px!important}
  #map .leaflet-control-zoom{bottom:319px!important;border:0!important}
  #map .leaflet-control-zoom a,
  .atlas-measure-btn,
  .atlas-map-actions .atlas-map-action-btn{
    width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;
    border-radius:50%!important;margin:0!important;padding:0!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
  }
  #map .leaflet-control-zoom a{line-height:40px!important;font-size:22px!important}
  #map .leaflet-control-zoom a + a{border-top:0!important}
  .atlas-measure-panel{left:8px!important;right:56px!important;bottom:94px!important;width:auto!important}
  .treseizero-legend{right:58px!important;bottom:94px!important}
}

.istat-boundaries-note { margin:6px 0 8px; padding:8px 10px; border-radius:9px; background:#f4f8fb; border:1px solid #dbe6ef; font-size:10.5px; line-height:1.45; color:#526477; }
.istat-boundaries-note strong { color:#223a5e; }

.demography-note{margin:6px 0 8px;padding:8px 10px;border-radius:9px;background:#fff8ed;border:1px solid #f4d9ae;font-size:10.5px;line-height:1.45;color:#6b5a42}
.demography-note strong{color:#223a5e}
.demography-loading{font-size:10px;color:#64748b;margin-top:5px;min-height:14px}

@media (max-width: 900px){
  header{
    min-height:72px!important;
    padding:7px 10px!important;
    display:grid!important;
    grid-template-columns:88px minmax(0,1fr) auto!important;
    grid-template-rows:auto!important;
    align-items:center!important;
    column-gap:8px!important;
    row-gap:0!important;
    flex-wrap:nowrap!important;
  }
  .atlasmap-header-left{
    display:block!important;
    min-width:0!important;
    width:88px!important;
    margin:0!important;
    padding:0!important;
  }
  header .atlasmap-brand{
    width:88px!important;
    height:46px!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
  }
  header .atlasmap-brand-logo{
    width:84px!important;
    height:auto!important;
    max-width:84px!important;
    max-height:42px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  .atlasmap-header-descriptor{display:none!important;}
  header .header-right{
    grid-column:2 / 4!important;
    grid-row:1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
  }
  #status,
  #status.header-status,
  #status.err,
  #status.header-status.err{
    grid-column:1!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    color:#eef5ff!important;
    text-align:left!important;
    font-size:10px!important;
    line-height:1.25!important;
    font-weight:600!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
  }
  .performance-notice{
    grid-column:1!important;
    max-width:none!important;
    font-size:9px!important;
    line-height:1.2!important;
  }
  .atlasmap-header-actions{
    grid-column:2!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:5px!important;
    margin:0!important;
    padding:0!important;
    white-space:nowrap!important;
  }
  .map-zoom-badge{
    height:34px!important;
    min-height:34px!important;
    padding:0 8px!important;
    border-radius:10px!important;
    font-size:9px!important;
  }
  .atlasmap-header-btn,
  .atlasmap-header-btn:visited{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    min-height:34px!important;
    padding:0!important;
    border-radius:10px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .atlasmap-header-btn__icon{
    margin:0!important;
    font-size:18px!important;
    line-height:1!important;
  }
  .atlasmap-header-btn span:last-child{display:none!important;}
}
@media (max-width: 390px){
  header{
    grid-template-columns:76px minmax(0,1fr) auto!important;
    padding-left:8px!important;
    padding-right:8px!important;
    column-gap:6px!important;
  }
  .atlasmap-header-left{width:76px!important;}
  header .atlasmap-brand{width:76px!important;height:42px!important;}
  header .atlasmap-brand-logo{width:72px!important;max-width:72px!important;max-height:38px!important;}
  .map-zoom-badge{padding:0 6px!important;font-size:8px!important;}
  .atlasmap-header-actions{gap:4px!important;}
}

.atlas-visible-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.atlas-visible-head>.label{margin-bottom:0!important}
.atlas-close-layers-btn{
  width:auto!important; min-width:0!important; margin:0!important; padding:5px 9px!important;
  border:1px solid #d7e0ea!important; border-radius:999px!important;
  background:#f7fafc!important; color:#223a5e!important;
  font-size:10px!important; line-height:1.2!important; font-weight:800!important;
  box-shadow:none!important; white-space:nowrap!important;
}
.atlas-close-layers-btn:hover{background:#eef4f8!important;border-color:#b8c7d8!important}
.atlas-close-layers-btn:disabled{opacity:.42!important;cursor:default!important}

@media (min-width:901px){
  .layout > aside{
    box-sizing:border-box!important;
    padding-left:12px!important;
    padding-right:6px!important;
    scrollbar-gutter:stable!important;
    scrollbar-width:thin!important;
    scrollbar-color:#aebfd1 transparent!important;
  }
  .layout > aside > .field-group,
  .layout > aside > .sidebar-sticky-tools{
    width:calc(100% - 8px)!important;
    max-width:calc(100% - 8px)!important;
    margin-left:2px!important;
    margin-right:6px!important;
  }
  .layout > aside::-webkit-scrollbar{width:8px!important}
  .layout > aside::-webkit-scrollbar-track{background:transparent!important}
  .layout > aside::-webkit-scrollbar-thumb{
    background:#aebfd1!important;
    border:2px solid transparent!important;
    background-clip:content-box!important;
    border-radius:999px!important;
  }
  #map{
    margin:6px!important;
    width:calc(100% - 12px)!important;
    height:calc(100% - 12px)!important;
  }
}

#atlasPrintBtn::before{display:inline-block!important}
.atlas-print-modal{position:fixed;inset:0;z-index:20050;background:rgba(15,31,51,.55);display:none;align-items:center;justify-content:center;padding:16px}
.atlas-print-modal.open{display:flex}.atlas-print-card{width:min(620px,100%);background:#fff;border-radius:16px;box-shadow:0 22px 70px rgba(0,0,0,.3);padding:18px;color:#223a5e}
.atlas-print-head{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #e5e7eb;padding-bottom:12px;margin-bottom:14px}.atlas-print-head strong{font-size:18px}.atlas-print-head small{display:block;color:#64748b;margin-top:3px}.atlas-print-head button{border:0;background:#eef2f7;color:#223a5e;width:34px;height:34px;border-radius:50%;font-size:23px;line-height:1;cursor:pointer}
.atlas-print-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.atlas-print-grid label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.atlas-print-grid select,.atlas-print-grid input{display:block;width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #cbd5e1;border-radius:9px;padding:9px 10px;background:#fff;color:#223a5e;font:600 13px inherit;text-transform:none}
.atlas-print-options{display:flex;flex-wrap:wrap;gap:8px 16px;margin:14px 0;font-size:12px;font-weight:700}.atlas-print-options label{display:flex;gap:6px;align-items:center}.atlas-print-note{background:#f1f5f9;border-radius:10px;padding:10px 12px;font-size:11px;line-height:1.45;color:#475569}.atlas-print-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.atlas-print-actions button{border:1px solid #223a5e;background:#fff;color:#223a5e;border-radius:9px;padding:10px 14px;font-weight:800;cursor:pointer}.atlas-print-actions .primary{background:#223a5e;color:#fff}.atlas-print-actions .cad{background:#0f766e;color:#fff;border-color:#0f766e}.atlas-print-actions{flex-wrap:wrap}
.atlas-print-frame{stroke:#f97316!important;stroke-width:3!important;stroke-dasharray:9 7!important;fill:#f97316!important;fill-opacity:.045!important}.atlas-print-center{width:28px;height:28px;border-radius:50%;background:#f97316;border:3px solid white;box-shadow:0 2px 8px rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900}.atlas-print-center:after{content:'✥'}
.atlas-print-frame-close{width:28px;height:28px;border:0;border-radius:50%;background:#f97316;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;font:900 20px/1 Arial,sans-serif;cursor:pointer;padding:0}.atlas-print-frame-close:hover{background:#ea580c}.atlas-print-frame-close:focus{outline:3px solid rgba(249,115,22,.28);outline-offset:2px}
@media(max-width:900px){
  .atlas-print-modal{
    align-items:flex-end;
    padding:0;
    bottom:calc(var(--atlas-mobile-toolbar-h) + var(--atlas-mobile-safe-bottom));
  }
  .atlas-print-card{
    border-radius:18px 18px 0 0;
    padding:15px 14px 15px;
    max-height:calc(100dvh - var(--atlas-mobile-toolbar-h) - var(--atlas-mobile-safe-bottom) - 12px);
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  .atlas-print-grid{grid-template-columns:1fr 1fr}
  .atlas-print-actions{
    position:sticky;
    bottom:-15px;
    z-index:2;
    margin-left:-14px;
    margin-right:-14px;
    margin-bottom:-15px;
    padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px));
    background:linear-gradient(to bottom,rgba(255,255,255,.92),#fff 28%);
    border-top:1px solid #e5e7eb;
  }
  .atlas-print-actions button{flex:1}
  .atlas-print-actions #atlasPrintPreview{flex:1 1 100%}
  .atlas-print-options{gap:9px 12px}
}

@media(min-width:901px){
  
  .atlas-map-actions{bottom:85px!important}
  .atlas-measure-tools{bottom:297px!important}
  #map .leaflet-control-zoom{bottom:403px!important}
}
@media(max-width:900px){

  .atlas-map-actions{bottom:164px!important}
  .atlas-measure-tools{bottom:344px!important}
  #map .leaflet-control-zoom{bottom:434px!important}
}

.point-analysis{margin:10px 0;border:1px solid #dfe5ec;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 8px rgba(15,23,42,.05)}
.point-analysis__head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:#f4f8fb;border-bottom:1px solid #e5e9ef;color:#223a5e;font-size:12px;font-weight:800}
.point-analysis__badge{font-size:9.5px;font-weight:800;color:#087b8c;background:#e8f7fa;border-radius:999px;padding:4px 7px;white-space:nowrap}
.point-analysis__body{padding:10px 12px}.point-analysis__grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.point-analysis__item{min-width:0;background:#f8fafc;border:1px solid #eef2f6;border-radius:9px;padding:8px 9px}.point-analysis__item.full{grid-column:1/-1}
.point-analysis__item b{display:block;font-size:9.5px;line-height:1.2;text-transform:uppercase;letter-spacing:.035em;color:#64748b;margin-bottom:3px}.point-analysis__item span{display:block;font-size:11.5px;line-height:1.35;color:#1f334d;font-weight:700;overflow-wrap:anywhere}
.point-analysis__item small{display:block;margin-top:3px;font-size:9.5px;line-height:1.35;color:#6b7280;font-weight:500}
.point-analysis__summary{margin-top:8px;padding:8px 9px;border-radius:9px;background:#eef8f1;color:#285b39;font-size:10.5px;line-height:1.4}.point-analysis__summary.na{background:#f6f7f9;color:#687180}
@media(max-width:700px){.point-analysis__grid{grid-template-columns:1fr}.point-analysis__item.full{grid-column:auto}.point-analysis__item{padding:9px 10px}.point-analysis__item span{font-size:12px}}

.treseizero-footer .footer-mobile{display:none;}
@media (max-width:520px){
  header{
    padding:4px 8px !important;
    gap:6px !important;
  }
  header .atlasmap-brand{height:34px !important;}
  header .atlasmap-brand-logo{
    height:32px !important;
    max-height:32px !important;
    max-width:195px !important;
  }
  .atlasmap-header-btn,
  .atlasmap-header-btn:visited{
    min-height:32px !important;
    width:32px !important;
    padding:6px !important;
  }

  #map{
    margin:8px !important;
    width:calc(100% - 16px) !important;
    height:calc(100dvh - 88px - var(--atlas-mobile-toolbar-h) - var(--atlas-mobile-safe-bottom)) !important;
    min-height:0 !important;
  }

  .treseizero-footer{
    height:28px !important;
    min-height:28px !important;
    padding:0 8px !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:0 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    font-size:9.5px !important;
    line-height:1 !important;
  }
  .treseizero-footer > span:not(.footer-mobile){display:none !important;}
  .treseizero-footer .footer-mobile{
    display:block !important;
    width:100%;
    text-align:center;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}

.atlas-urbanistica-cat{
  border:1px solid rgba(217,119,6,.34)!important;
  border-left:4px solid #d97706!important;
  border-radius:11px!important;
  background:linear-gradient(180deg,rgba(255,247,237,.96),rgba(255,255,255,.99))!important;
  box-shadow:0 5px 16px rgba(34,58,94,.07)!important;
  overflow:hidden!important;
}
.atlas-urbanistica-cat>summary{
  position:relative!important;
  min-height:52px!important;
  padding:12px 12px 12px 43px!important;
  color:#223a5e!important;
  font-weight:900!important;
  background:linear-gradient(90deg,#fff8ed,#ffffff)!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  column-gap:6px!important;
  row-gap:5px!important;
  overflow:visible!important;
}
.atlas-urbanistica-cat>summary::before{
  content:"U"!important;
  position:absolute!important;
  left:11px!important;top:50%!important;
  width:24px!important;height:24px!important;
  transform:translateY(-50%)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border-radius:7px!important;
  background:#d97706!important;color:#fff!important;
  font-size:11px!important;font-weight:900!important;
  box-shadow:0 3px 8px rgba(217,119,6,.22)!important;
}
.atlas-urbanistica-main-badge{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;max-width:100%!important;margin-left:2px!important;padding:3px 7px!important;
  border-radius:999px!important;background:#d97706!important;color:#fff!important;
  font-size:8px!important;line-height:1.2!important;font-weight:900!important;letter-spacing:.06em!important;
  white-space:nowrap!important;overflow:visible!important;
}
.atlas-urbanistica-bracket{position:relative;padding:4px 8px 8px 16px;margin:0;}
.atlas-urbanistica-bracket::before{
  content:"";position:absolute;left:5px;top:9px;bottom:10px;width:7px;
  border-left:2px solid #f59e0b;border-top:2px solid #f59e0b;border-bottom:2px solid #f59e0b;
  border-radius:4px 0 0 4px;
}
.atlas-urbanistica-intro{margin:4px 0 9px;padding:8px 10px;border-radius:9px;background:#fffaf0;border:1px solid #fde6b3;}
.atlas-urbanistica-intro__title{font-size:11px;font-weight:900;color:#223a5e;margin-bottom:4px;}
.atlas-urbanistica-intro__flow{display:inline-flex;margin:1px 0 4px;padding:4px 8px;border-radius:999px;background:#223a5e;color:#fff;font-size:9px;font-weight:900;}
.atlas-urbanistica-catalog>.atlas-urbanistica-region{
  margin:7px 0!important;
  border:1px solid #ecd8b1!important;
  border-left:3px solid #f59e0b!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(34,58,94,.045)!important;
}
.atlas-urbanistica-catalog>.atlas-urbanistica-region>summary{
  min-height:46px!important;padding:10px 10px 10px 40px!important;
  color:#18334f!important;font-weight:900!important;background:#fff!important;
}
.atlas-urbanistica-catalog>.atlas-urbanistica-region>summary::before{
  content:""!important;position:absolute!important;left:11px!important;top:50%!important;
  width:20px!important;height:20px!important;transform:translateY(-50%)!important;
  border-radius:6px!important;background:#fff1da!important;
  box-shadow:inset 0 0 0 1px rgba(245,158,11,.22)!important;
}
.atlas-urbanistica-region-badge{
  display:inline-flex;align-items:center;margin-left:7px;padding:2px 6px;border-radius:999px;
  background:#fff1da;color:#a85f00;font-size:8px;font-weight:900;letter-spacing:.06em;vertical-align:1px;
}
.atlas-urbanistica-provider{margin:0 10px 6px 10px;color:#8a98aa;font-size:9px;line-height:1.35;}
.atlas-urbanistica-count{display:inline-flex;margin:0 10px 7px;padding:3px 7px;border-radius:999px;background:#eaf7ef;color:#22754b;font-size:9px;font-weight:900;}
.atlas-urbanistica-catalog .toggle-row{margin:0 8px 2px;padding-left:8px!important;padding-right:8px!important;border-radius:8px;}
.atlas-urbanistica-catalog .toggle-row .name{font-weight:850;color:#263b53;}
@media(max-width:900px){
  .atlas-urbanistica-cat>summary{min-height:54px!important;padding-left:45px!important;}
  .atlas-urbanistica-cat>summary .atlas-urbanistica-main-badge{flex-basis:auto!important;margin-left:0!important;}
  .atlas-urbanistica-bracket{padding-right:5px;}
  .atlas-urbanistica-intro{padding:8px 9px;}
  .atlas-urbanistica-intro__flow{font-size:9px;}
}

.point-result-group{margin:0 0 10px;border-left:4px solid #0891b2;padding-left:8px}.point-result-group__title{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#334155;margin:8px 0 5px}.atlas-report-group-title{margin:18px 0 8px;padding:6px 10px;border-left:4px solid #0891b2;background:#f8fafc;font-size:12px;text-transform:uppercase;letter-spacing:.035em;color:#334155}

@media (max-width:520px){
  :root{
    --atlas-mobile-header-h:64px;
    --atlas-mobile-footer-h:28px;
    --atlas-mobile-map-gap:12px;
  }

  html,body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  header{
    box-sizing:border-box !important;
    min-height:var(--atlas-mobile-header-h) !important;
    height:var(--atlas-mobile-header-h) !important;
    grid-template-columns:112px minmax(0,1fr) auto !important;
    padding:4px 8px !important;
  }
  .atlasmap-header-left{
    width:112px !important;
  }
  header .atlasmap-brand{
    width:112px !important;
    height:54px !important;
  }
  header .atlasmap-brand-logo{
    width:108px !important;
    height:auto !important;
    max-width:108px !important;
    max-height:54px !important;
  }

  #map{
    box-sizing:border-box !important;
    margin:6px !important;
    width:calc(100% - 12px) !important;
    
    height:calc(100svh - var(--atlas-mobile-header-h) - var(--atlas-mobile-footer-h) - var(--atlas-mobile-toolbar-h) - var(--atlas-mobile-safe-bottom) - var(--atlas-mobile-map-gap)) !important;
    min-height:0 !important;
    max-height:none !important;
  }

  .treseizero-footer{
    box-sizing:border-box !important;
    height:var(--atlas-mobile-footer-h) !important;
    min-height:var(--atlas-mobile-footer-h) !important;
    flex:0 0 var(--atlas-mobile-footer-h) !important;
  }
}

@media (max-width:390px){
  header{
    grid-template-columns:106px minmax(0,1fr) auto !important;
  }
  .atlasmap-header-left{width:106px !important;}
  header .atlasmap-brand{width:106px !important;height:52px !important;}
  header .atlasmap-brand-logo{
    width:102px !important;
    max-width:102px !important;
    max-height:52px !important;
  }
}

.map-zoom-badge,
.atlas-access-tier-badge{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  height:38px!important;
  padding:8px 13px!important;
  margin:0!important;
  border-radius:9px!important;
  border:1px solid rgba(255,255,255,.22)!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
.map-zoom-badge{background:rgba(255,255,255,.08)!important;color:#fff!important;}
.atlas-access-tier-badge.free{background:#dcfce7!important;color:#166534!important;border-color:rgba(220,252,231,.55)!important;}
.atlas-access-tier-badge.premium{background:#fff7df!important;color:#8a5a00!important;border-color:rgba(255,247,223,.55)!important;}
@media(max-width:600px){
  .map-zoom-badge,.atlas-access-tier-badge{min-height:34px!important;height:34px!important;padding:7px 10px!important;font-size:10px!important;border-radius:8px!important;}
}

.atlas-premium-diamond{display:inline-flex;align-items:center;justify-content:center;margin-left:5px;color:#d59616;font-size:12px;font-weight:900;line-height:1;vertical-align:middle}
.atlas-access-locked{position:relative;cursor:pointer!important}
.atlas-access-locked input,.atlas-access-locked button{cursor:pointer!important}
.atlas-access-locked .name{opacity:.78}
.atlas-access-off{display:none!important}
.atlas-access-modal{position:fixed;inset:0;z-index:160000;background:rgba(15,31,51,.58);display:none;align-items:center;justify-content:center;padding:18px}
.atlas-access-modal.open{display:flex}
.atlas-access-card{position:relative;z-index:160001;isolation:isolate;width:min(440px,100%);background:#fff;border-radius:18px;box-shadow:0 24px 80px rgba(15,31,51,.28);padding:24px;text-align:center;color:#223a5e}
.atlas-access-card__diamond{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 13px;background:#fff7df;color:#d59616;font-size:25px;font-weight:900}
.atlas-access-card h3{margin:0 0 8px;font-size:20px;color:#223a5e}.atlas-access-card p{margin:0 0 18px;color:#64748b;font-size:13px;line-height:1.55}
.atlas-access-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.atlas-access-actions a,.atlas-access-actions button{border:0;border-radius:10px;padding:10px 14px;font-weight:800;font-size:12px;text-decoration:none;cursor:pointer}
.atlas-access-upgrade{background:#223a5e;color:#fff!important}.atlas-access-login{background:#eef4f8;color:#223a5e!important}.atlas-access-close{background:#f8fafc;color:#475569}
.atlas-access-tier-badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.04em;margin-left:4px;white-space:nowrap}
.atlas-access-tier-badge.free{background:#dcfce7;color:#166534}.atlas-access-tier-badge.premium{background:#fff7df;color:#8a5a00}
@media(max-width:600px){.atlas-access-card{padding:20px}.atlas-access-tier-badge{display:inline-flex!important;font-size:8px!important;padding:2px 6px!important;min-height:20px!important;margin-left:0!important}}

@media (min-width:901px){
  .atlas-measure-panel{right:76px!important;left:auto!important;}
}
@media (max-width:900px){
  .atlas-measure-panel{left:8px!important;right:62px!important;width:auto!important;max-width:none!important;}
}
.atlas-measure-btn.atlas-access-locked,
.atlas-map-action-btn.atlas-access-locked,
button.atlas-access-locked{position:relative!important;opacity:.70;filter:saturate(.72);}
.atlas-measure-btn.atlas-access-locked:hover,
.atlas-map-action-btn.atlas-access-locked:hover,
button.atlas-access-locked:hover{opacity:.82;}
.atlas-measure-btn.atlas-access-locked > .atlas-premium-diamond,
.atlas-map-action-btn.atlas-access-locked > .atlas-premium-diamond,
button.atlas-access-locked > .atlas-premium-diamond{
  position:absolute!important;top:-4px!important;right:-4px!important;width:16px!important;height:16px!important;
  margin:0!important;padding:0!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;background:#fff8e5!important;border:1px solid rgba(213,150,22,.55)!important;color:#c98708!important;
  box-shadow:0 2px 6px rgba(15,39,66,.16)!important;font-size:9px!important;line-height:1!important;font-weight:900!important;z-index:4!important;pointer-events:none!important;
}
.atlas-measure-btn.atlas-access-locked > span[aria-hidden="true"],
.atlas-map-action-btn.atlas-access-locked > span[aria-hidden="true"]{margin-left:0!important;margin-right:0!important;}

.atlas-work-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:8px}
.atlas-work-tools button{height:34px;border:1px solid #d8e1ea;border-radius:8px;background:#fff;color:#173653;font-size:11px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}
.atlas-work-tools button:hover{background:#f5f8fb;border-color:#b8c8d8}
.atlas-work-tools button.atlas-access-locked{opacity:.62}
.atlas-work-tools .wide{grid-column:1/-1;background:#f8fbfd}
.atlas-work-tools svg{width:16px;height:16px;flex:0 0 16px}
.atlas-project-file{display:none!important}

.atlas-profile-panel{display:none;position:fixed;left:50%;bottom:76px;transform:translateX(-50%);width:min(720px,calc(100vw - 460px));max-height:min(470px,62vh);z-index:12200;background:#fff;border:1px solid #d6e0ea;border-radius:14px;box-shadow:0 14px 40px rgba(15,39,66,.24);overflow:hidden;color:#18334f}
.atlas-profile-panel.show{display:block}
.atlas-profile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #e8eef4;background:linear-gradient(180deg,#fff,#f8fbfd)}
.atlas-profile-head strong{display:block;font-size:15px;color:#102d49}.atlas-profile-head small{display:block;margin-top:2px;color:#718096;font-size:10px;line-height:1.35}
.atlas-profile-close{width:30px;height:30px;border:1px solid #d8e2ec;border-radius:8px;background:#fff;color:#173653;font-weight:900;cursor:pointer}
.atlas-profile-body{padding:12px 14px;overflow-y:auto;max-height:calc(min(470px,62vh) - 58px)}
.atlas-profile-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:10px}
.atlas-profile-stat{border:1px solid #e2e9f0;border-radius:9px;padding:8px 9px;background:#fbfdff;min-width:0}
.atlas-profile-stat b{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#718096}.atlas-profile-stat span{display:block;margin-top:3px;font-size:13px;font-weight:900;color:#173653;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.atlas-profile-chart-wrap{display:none;border:1px solid #e0e8f0;border-radius:10px;background:#fff;padding:8px;margin:9px 0}.atlas-profile-chart-wrap.show{display:block}
#atlasProfileCanvas{display:block;width:100%;height:190px}
.atlas-profile-hint{font-size:10px;line-height:1.45;color:#66778b;margin:7px 0}
.atlas-profile-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.atlas-profile-actions button{height:32px;border:1px solid #d5dee8;border-radius:8px;background:#f8fafc;color:#173653;font-size:10px;font-weight:800;padding:0 10px;cursor:pointer}.atlas-profile-actions button.primary{background:#173653;color:#fff;border-color:#173653}.atlas-profile-actions button.danger{color:#a62929;border-color:#f0c7c7;background:#fff8f8}.atlas-profile-actions button:disabled{opacity:.45;cursor:not-allowed}
.atlas-profile-loading{display:none;align-items:center;gap:7px;color:#5d7187;font-size:10px;font-weight:700;margin-top:8px}.atlas-profile-loading.show{display:flex}.atlas-profile-spinner{width:14px;height:14px;border:2px solid #d6e2ec;border-top-color:#087b78;border-radius:50%;animation:atlasSpin .8s linear infinite}@keyframes atlasSpin{to{transform:rotate(360deg)}}
.atlas-profile-source{font-size:9px;color:#8a98a8;line-height:1.35;margin-top:7px}
.atlas-profile-vertex{width:11px;height:11px;border-radius:50%;background:#7c3aed;border:2px solid white;box-shadow:0 1px 4px rgba(15,23,42,.35)}

@media(max-width:900px){
  .atlas-work-tools{grid-template-columns:1fr 1fr}.atlas-work-tools button{font-size:12px;height:40px}
  .atlas-profile-panel{left:8px;right:8px;bottom:84px;transform:none;width:auto;max-height:54svh;border-radius:16px 16px 12px 12px;z-index:120030}
  .atlas-profile-body{max-height:calc(54svh - 58px)}
  .atlas-profile-summary{grid-template-columns:1fr 1fr}
  #atlasProfileCanvas{height:160px}
  .atlas-profile-actions button{height:38px;font-size:11px;flex:1 1 auto}
}

:root{
  --atlas-navy:#223A5E;
  --atlas-navy-dark:#1A2F4D;
  --atlas-cyan:#0891B2;
  --atlas-green:#47C27A;
  --atlas-amber:#F59E0B;
  --atlas-white:#FFFFFF;
  --atlas-ink:#223A5E;
  --atlas-muted:#64748B;
  --atlas-line:#DCE5ED;
  --atlas-surface:#F8FAFC;
  --atlas-radius-sm:8px;
  --atlas-radius-md:10px;
  --atlas-radius-lg:14px;
  --atlas-control-h:40px;
  --atlas-tool-desktop:46px;
  --atlas-tool-mobile:44px;
  --atlas-shadow:0 4px 14px rgba(34,58,94,.18);
  --atlas-shadow-hover:0 7px 20px rgba(34,58,94,.24);
  --atlas-focus:0 0 0 3px rgba(8,145,178,.28);
}

.btn-primary,.btn-outline,.report-btn,
.atlas-work-tools button,.atlas-profile-actions button,
.atlas-stake-actions button,.atlas-stake-quick-btn,
.atlas-access-actions a,.atlas-access-actions button{
  min-height:var(--atlas-control-h);
  border-radius:var(--atlas-radius-md);
  font:800 12px/1.15 inherit;
  letter-spacing:0;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease,opacity .16s ease;
}
.btn-primary,.report-btn,.atlas-profile-actions button.primary{
  background:var(--atlas-navy)!important;
  border-color:var(--atlas-navy)!important;
  color:var(--atlas-white)!important;
  box-shadow:none!important;
}
.btn-primary:hover,.report-btn:hover,.atlas-profile-actions button.primary:hover{
  background:var(--atlas-navy-dark)!important;
  filter:none!important;
}
.btn-outline,.atlas-work-tools button,.atlas-profile-actions button:not(.primary):not(.danger),.atlas-stake-actions button{
  background:var(--atlas-white)!important;
  border:1px solid var(--atlas-line)!important;
  color:var(--atlas-ink)!important;
}
.btn-outline:hover,.atlas-work-tools button:hover,.atlas-profile-actions button:not(.primary):not(.danger):hover,.atlas-stake-actions button:hover{
  background:var(--atlas-surface)!important;
  border-color:#BFD0DE!important;
}
.report-btn{background:var(--atlas-green)!important;border-color:var(--atlas-green)!important;color:#153824!important}
.report-btn:hover{background:#3DB46E!important}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{
  outline:2px solid var(--atlas-cyan)!important;
  outline-offset:2px!important;
  box-shadow:var(--atlas-focus)!important;
}
input[type="text"]:focus,input[type="number"]:focus,select:focus,textarea:focus{
  border-color:var(--atlas-cyan)!important;
  outline:none!important;
  box-shadow:var(--atlas-focus)!important;
}
button:disabled,[aria-disabled="true"]{cursor:not-allowed!important}

.atlas-is-loading{position:relative!important;pointer-events:none!important;opacity:.72!important}
.atlas-is-loading::after{
  content:"";width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;
  display:inline-block;margin-left:7px;vertical-align:-2px;animation:atlasSpin .75s linear infinite;
}

.atlas-custom-zoom,
.atlas-measure-tools,
.atlas-map-actions{z-index:12050!important}
.atlas-custom-zoom{position:fixed!important;right:14px!important;bottom:458px!important;display:flex!important;flex-direction:column!important;gap:7px!important}
.atlas-custom-zoom button,
.atlas-measure-btn,
.atlas-map-actions .atlas-map-action-btn{
  width:var(--atlas-tool-desktop)!important;
  min-width:var(--atlas-tool-desktop)!important;
  height:var(--atlas-tool-desktop)!important;
  min-height:var(--atlas-tool-desktop)!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:50%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  color:#fff!important;box-shadow:var(--atlas-shadow)!important;
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease,opacity .15s ease!important;
}
.atlas-custom-zoom button:hover,
.atlas-measure-btn:hover,
.atlas-map-actions .atlas-map-action-btn:hover{
  transform:translateY(-1px)!important;box-shadow:var(--atlas-shadow-hover)!important;filter:brightness(1.04)!important;
}
.atlas-custom-zoom button:active,
.atlas-measure-btn:active,
.atlas-map-actions .atlas-map-action-btn:active{transform:translateY(0)!important}

#atlasDistanceBtn::before,#atlasAreaBtn::before,#atlasStakeBtn::before,#atlas3dBtn::before,#atlasScreenshotBtn::before,#atlasPrintBtn::before,#atlasLocateBtn::before{display:none!important;content:none!important}
.atlas-measure-btn>.atlas-tool-glyph,.atlas-map-action-btn>.atlas-tool-glyph{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;width:23px!important;height:23px!important;margin:0!important;color:#fff!important;flex:0 0 23px!important;
}
.atlas-measure-btn>.atlas-tool-glyph svg,.atlas-map-action-btn>.atlas-tool-glyph svg{width:23px!important;height:23px!important;display:block!important;overflow:visible!important}
.atlas-measure-btn>.atlas-tool-label,.atlas-map-action-label{display:none!important}

#atlasZoomIn{background:var(--atlas-navy)!important}
#atlasZoomOut{background:var(--atlas-cyan)!important}
#atlasDistanceBtn{background:var(--atlas-cyan)!important;background-image:none!important}
#atlasAreaBtn{background:var(--atlas-green)!important;background-image:none!important}
#atlasStakeBtn{background:var(--atlas-amber)!important;background-image:none!important;color:#fff!important}
#atlas3dBtn{background:var(--atlas-navy)!important}
#atlasScreenshotBtn{background:var(--atlas-cyan)!important}
#atlasPrintBtn{background:var(--atlas-navy)!important}
#atlasLocateBtn{background:var(--atlas-green)!important}

.atlas-measure-btn.active,.atlas-map-action-btn.is-active{
  outline:3px solid rgba(255,255,255,.94)!important;outline-offset:-5px!important;filter:brightness(.91)!important;
}
.atlas-custom-zoom button:disabled{opacity:.38!important;filter:grayscale(.15)!important;transform:none!important}

.atlas-measure-btn.atlas-access-locked,.atlas-map-action-btn.atlas-access-locked,button.atlas-access-locked{
  opacity:.58!important;filter:saturate(.55)!important;
}
.atlas-measure-btn.atlas-access-locked:hover,.atlas-map-action-btn.atlas-access-locked:hover,button.atlas-access-locked:hover{opacity:.68!important}
.atlas-premium-diamond{color:var(--atlas-amber)!important}
.atlas-measure-btn.atlas-access-locked>.atlas-premium-diamond,
.atlas-map-action-btn.atlas-access-locked>.atlas-premium-diamond,
button.atlas-access-locked>.atlas-premium-diamond{
  background:#fff!important;border-color:rgba(245,158,11,.65)!important;color:#B96D00!important;
}

.atlasmap-header-btn{min-height:40px!important;border-radius:var(--atlas-radius-md)!important}

@media(max-width:900px){
  .atlas-custom-zoom{right:8px!important;bottom:482px!important;gap:5px!important}
  .atlas-custom-zoom button,.atlas-measure-btn,.atlas-map-actions .atlas-map-action-btn{
    width:var(--atlas-tool-mobile)!important;min-width:var(--atlas-tool-mobile)!important;height:var(--atlas-tool-mobile)!important;min-height:var(--atlas-tool-mobile)!important;
  }
  .btn-primary,.btn-outline,.report-btn,.atlas-work-tools button,.atlas-profile-actions button,.atlas-stake-actions button,.atlas-stake-quick-btn{min-height:44px!important}
}

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

@media (max-width:900px){
  :root{--atlas-side-tool-size:44px;--atlas-side-tool-gap:5px;--atlas-side-tools-bottom:96px;}

  .atlas-map-actions,
  .atlas-measure-tools,
  .atlas-custom-zoom{
    right:8px!important;
    left:auto!important;
    top:auto!important;
    gap:var(--atlas-side-tool-gap)!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
  }

  .atlas-map-actions{bottom:var(--atlas-side-tools-bottom)!important;}
  
  .atlas-measure-tools{bottom:calc(var(--atlas-side-tools-bottom) + 196px)!important;}
  
  .atlas-custom-zoom{bottom:calc(var(--atlas-side-tools-bottom) + 343px)!important;}

  .atlas-map-actions .atlas-map-action-btn,
  .atlas-measure-btn,
  .atlas-custom-zoom button{
    width:var(--atlas-side-tool-size)!important;
    min-width:var(--atlas-side-tool-size)!important;
    height:var(--atlas-side-tool-size)!important;
    min-height:var(--atlas-side-tool-size)!important;
    flex:0 0 var(--atlas-side-tool-size)!important;
  }

  .atlas-measure-panel{
    left:8px!important;
    right:60px!important;
    bottom:calc(var(--atlas-side-tools-bottom) + 6px)!important;
    width:auto!important;
    max-width:none!important;
  }
}

@media (max-width:700px){
  .point-report-modal{padding:8px!important;align-items:stretch!important;}
  .point-report-card{width:100%!important;max-height:calc(100dvh - 16px)!important;border-radius:14px!important;}
  .point-report-body{padding:10px!important;}
  .point-report-text{font-size:11px!important;line-height:1.5!important;}
  .atlas-report-preview .atlas-report-letterhead{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
    min-height:58px!important;
    padding:9px 10px!important;
  }
  .atlas-report-preview .atlas-report-brand{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    gap:9px!important;
  }
  .atlas-report-preview .atlas-report-logo-wrap{
    position:static!important;
    inset:auto!important;
    transform:none!important;
    flex:0 0 74px!important;
    width:74px!important;
    max-width:74px!important;
    margin:0!important;
  }
  .atlas-report-preview .atlas-report-logo{
    display:block!important;
    position:static!important;
    width:74px!important;
    max-width:74px!important;
    height:auto!important;
    max-height:38px!important;
    object-fit:contain!important;
    object-position:left center!important;
    margin:0!important;
    transform:none!important;
  }
  .atlas-report-preview .atlas-report-brand-copy{min-width:0!important;}
  .atlas-report-preview .atlas-report-brand-copy strong{font-size:10.5px!important;line-height:1.2!important;}
  .atlas-report-preview .atlas-report-brand-copy span{font-size:8px!important;line-height:1.2!important;}
  .atlas-report-preview .atlas-report-head-meta{
    position:static!important;
    width:auto!important;
    max-width:100px!important;
    margin:0!important;
    text-align:right!important;
    font-size:7.5px!important;
    line-height:1.3!important;
    white-space:normal!important;
  }
  .atlas-report-preview .atlas-report-content{padding-left:10px!important;padding-right:10px!important;}
  .atlas-report-preview .atlas-report-summary{grid-template-columns:1fr!important;}
  .point-report-actions{padding:9px 10px 11px!important;gap:7px!important;}
}

.atlas-access-archive{outline:1px dashed rgba(109,40,217,.28);outline-offset:-1px}
.atlas-admin-archive{border-left:5px solid #6d28d9!important;background:linear-gradient(180deg,rgba(109,40,217,.035),transparent)}
.atlas-admin-archive>summary{color:#5b21b6;font-weight:800}
.atlas-admin-archive-group{margin:7px 0!important;border:1px solid #ddd6fe!important;background:#fff}
.atlas-admin-archive-group>summary{font-size:12px;color:#5b21b6}
.atlas-admin-archive .toggle-row{background:#faf8ff}
.atlas-admin-archive .toggle-row:after{content:'ARCHIVIO';font-size:8px;font-weight:800;letter-spacing:.04em;color:#6d28d9;background:#ede9fe;border-radius:999px;padding:2px 5px;margin-left:5px}

.performance-notice .performance-ok{display:none}
@media (min-width:901px){
  header .header-right{position:relative!important}
  .performance-notice.show{
    grid-column:1 / -1!important;
    justify-self:center!important;
    align-self:center!important;
    display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
    max-width:min(720px,100%)!important;padding:6px 10px!important;
    border:1px solid rgba(255,255,255,.18)!important;border-radius:10px!important;
    background:rgba(8,145,178,.16)!important;color:#eaf5fb!important;
    font-size:11px!important;line-height:1.3!important;font-weight:600!important;text-align:center!important;
  }
  .performance-notice.show #performanceNoticeText{display:block;min-width:0}
  .performance-notice .performance-ok{display:none!important}
}
@media (max-width:900px){
  .performance-notice.show{
    position:fixed!important;z-index:10050!important;left:18px!important;right:18px!important;top:50%!important;
    transform:translateY(-50%)!important;display:grid!important;grid-template-columns:1fr auto!important;
    gap:10px!important;align-items:center!important;max-width:none!important;padding:16px!important;
    background:#fff!important;color:#173b5d!important;border:1px solid #d9e4ed!important;border-radius:16px!important;
    box-shadow:0 18px 50px rgba(15,35,55,.28)!important;text-align:left!important;font-size:12px!important;line-height:1.45!important;
  }
  .performance-notice.show::before{content:'Prestazioni mappa';grid-column:1 / -1;font-size:13px;font-weight:800;color:#173b5d}
  .performance-notice.show #performanceNoticeText{grid-column:1 / -1}
  .performance-notice.show button{min-height:38px!important;padding:8px 12px!important;border-radius:9px!important;font-size:11px!important}
  .performance-notice.show #closeHeavyLayersBtn{background:#edf4f8!important;color:#173b5d!important;border:1px solid #d7e3ec!important}
  .performance-notice.show .performance-ok{display:block!important;background:#173b5d!important;color:white!important;border:1px solid #173b5d!important}
}

@media (min-width:901px){
  .atlas-measure-panel{
    position:fixed!important;
    left:auto!important;
    right:76px!important;
    top:134px!important;
    bottom:auto!important;
    width:min(310px,calc(100vw - 110px))!important;
    max-width:310px!important;
  }
  .atlas-measure-panel.minimized{
    position:fixed!important;
    left:auto!important;
    right:76px!important;
    top:134px!important;
    bottom:auto!important;
  }
}
@media (max-width:900px){
  .atlas-measure-panel{position:fixed!important;}
}

.atlas-measure-panel,.atlas-profile-panel,.atlas-stake-panel,.legend-panel,.layers-panel,.search-panel,.atlas-print-panel{border-radius:18px!important}
.atlas-measure-window-head,.atlas-profile-head,.atlas-stake-head{border-radius:18px 18px 0 0!important}
@media(max-width:900px){.atlas-measure-panel,.atlas-profile-panel,.atlas-stake-panel{border-radius:20px 20px 16px 16px!important}}

.atlas-header-status-disabled{display:none!important}
.atlas-layer-runtime-status,.atlas-142-row-status{margin:2px 34px 7px 26px!important;font-size:10.5px!important;line-height:1.25!important;color:#64748b!important}
.atlas-layer-runtime-status:not(:empty),.atlas-layer-unavailable .atlas-142-row-status{color:#b45309!important;font-weight:700!important}
.atlas-142-row{flex-wrap:wrap}
.atlas-142-row>.name{flex:1 1 calc(100% - 42px)}
.atlas-142-row>.atlas-142-row-status{flex:1 0 100%}

#atlasVisibleLayersPanel .toggle-row .swatch{
  width:12px!important;
  height:12px!important;
  min-width:12px!important;
  min-height:12px!important;
  flex:0 0 12px!important;
  margin-right:8px!important;
  border-radius:3px!important;
  display:inline-block!important;
  position:static!important;
  overflow:visible!important;
  box-shadow:none!important;
  transform:none!important;
}
#atlasVisibleLayersPanel .toggle-row .swatch::after{display:none!important;content:none!important}
#atlasVisibleLayersPanel .toggle-row:hover .swatch{transform:none!important;box-shadow:none!important}

#atlasVisibleLayersPanel > details.layer-cat > summary{
  padding-left:52px!important;
  padding-right:36px!important;
}
#atlasVisibleLayersPanel > details.layer-cat > summary::before{
  width:30px!important;
  height:30px!important;
  left:12px!important;
  border-radius:9px!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:18px 18px!important;
  transform:translateY(-50%)!important;
}
#atlasVisibleLayersPanel > details.layer-cat.purpose-reference > summary::before{background-color:#0891b2!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207l8-4%208%204-8%204-8-4Z%22%2F%3E%3Cpath%20d%3D%22M4%2012l8%204%208-4%22%2F%3E%3Cpath%20d%3D%22M4%2017l8%204%208-4%22%2F%3E%3C%2Fsvg%3E")!important}
#atlasVisibleLayersPanel > details.layer-cat.purpose-constraints > summary::before{background-color:#c2413b!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l7%203v5c0%204.6-2.9%208-7%2010-4.1-2-7-5.4-7-10V6l7-3Z%22%2F%3E%3Cpath%20d%3D%22M9%2012l2%202%204-5%22%2F%3E%3C%2Fsvg%3E")!important}
#atlasVisibleLayersPanel > details.layer-cat.purpose-environment > summary::before{background-color:#2f855a!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%204c-7%20.3-12%203.8-12%209%200%203.2%202.2%205%205%205%205.2%200%208.6-5.5%207-14Z%22%2F%3E%3Cpath%20d%3D%22M5%2020c2-5%205-8%2010-11%22%2F%3E%3C%2Fsvg%3E")!important}
#atlasVisibleLayersPanel > details.layer-cat.purpose-risk > summary::before{background-color:#d97706!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%202.8%2020h18.4L12%203Z%22%2F%3E%3Cpath%20d%3D%22M12%209v5%22%2F%3E%3Cpath%20d%3D%22M12%2017h.01%22%2F%3E%3C%2Fsvg%3E")!important}
#atlasVisibleLayersPanel > details.layer-cat.purpose-meteo > summary::before{background-color:#0284c7!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%208h8a3%203%200%201%200-3-3%22%2F%3E%3Cpath%20d%3D%22M4%2012h13a3%203%200%201%201-3%203%22%2F%3E%3Cpath%20d%3D%22M4%2016h6%22%2F%3E%3C%2Fsvg%3E")!important}
#atlasVisibleLayersPanel > details.layer-cat.purpose-regional > summary::before{background-color:#0f766e!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2010c0%205-8%2011-8%2011S4%2015%204%2010a8%208%200%201%201%2016%200Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22%2F%3E%3C%2Fsvg%3E")!important}
#atlasVisibleLayersPanel > details.layer-cat.purpose-info > summary::before{background-color:#7c3aed!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%2011v6%22%2F%3E%3Cpath%20d%3D%22M12%207h.01%22%2F%3E%3C%2Fsvg%3E")!important}

#atlasVisibleLayersPanel > details.layer-cat > summary::after{
  content:'›';
  position:absolute;
  right:13px;
  top:50%;
  transform:translateY(-50%);
  color:#7b8da1;
  font-size:22px;
  line-height:1;
  font-weight:700;
  transition:transform .16s ease;
}
#atlasVisibleLayersPanel > details.layer-cat[open] > summary::after{transform:translateY(-50%) rotate(90deg)}

@media(max-width:900px){
  #atlasVisibleLayersPanel > details.layer-cat > summary{padding-left:54px!important;min-height:52px!important}
  #atlasVisibleLayersPanel > details.layer-cat > summary::before{width:32px!important;height:32px!important;background-size:19px 19px!important}
}

@media (min-width:901px){
  details.atlas-desktop-fold{
    border:1px solid #e1e7ee;
    border-radius:12px;
    background:#fff;
    overflow:hidden;
    margin-bottom:10px;
  }
  details.atlas-desktop-fold > summary{
    list-style:none;
    cursor:pointer;
    display:flex;
    align-items:center;
    min-height:38px;
    margin:0!important;
    padding:9px 34px 9px 12px;
    position:relative;
    color:#223a5e;
    user-select:none;
  }
  details.atlas-desktop-fold > summary::-webkit-details-marker{display:none}
  details.atlas-desktop-fold > summary::after{
    content:'›';
    position:absolute;
    right:13px;
    top:50%;
    transform:translateY(-50%);
    font-size:20px;
    line-height:1;
    color:#7b8a9a;
    transition:transform .16s ease;
  }
  details.atlas-desktop-fold[open] > summary::after{transform:translateY(-50%) rotate(90deg)}
  details.atlas-desktop-fold[open] > summary{border-bottom:1px solid #edf1f5}
  details.atlas-desktop-fold > :not(summary){margin-left:12px;margin-right:12px}
  details.atlas-desktop-fold > :last-child{margin-bottom:12px}

  #map .treseizero-legend{
    padding:0!important;
    overflow:hidden!important;
    max-height:none!important;
    min-width:250px!important;
    max-width:330px!important;
  }
  #map .atlas-legend-windowbar{
    display:flex;
    align-items:center;
    gap:9px;
    min-height:38px;
    padding:0 10px;
    background:rgba(255,255,255,.98);
    border-bottom:1px solid #e6ebf0;
  }
  #map .atlas-mac-controls{display:flex;align-items:center;gap:6px;flex:0 0 auto}
  #map .atlas-mac-dot{
    width:12px;height:12px;min-width:12px;min-height:12px;
    padding:0;border-radius:50%;border:1px solid rgba(0,0,0,.12);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
    cursor:pointer;
  }
  #map .atlas-mac-dot--yellow{background:#f5c451}
  #map .atlas-mac-dot--green{background:#57c76b}
  #map .atlas-legend-windowtitle{font-size:10.5px;font-weight:800;color:#223a5e;white-space:nowrap}
  #map .atlas-legend-open-label{
    display:none;margin-left:auto;padding:0;border:0;background:transparent;
    color:#0891b2;font:800 10.5px/1 'Montserrat',sans-serif;cursor:pointer;
  }
  #map .atlas-legend-body{padding:10px 12px;max-height:58vh;overflow:auto}
  #map .treseizero-legend.is-collapsed{min-width:260px!important;max-width:300px!important}
  #map .treseizero-legend.is-collapsed .atlas-legend-windowbar{border-bottom:0}
  #map .treseizero-legend.is-collapsed .atlas-legend-body{display:none!important}
  #map .treseizero-legend.is-collapsed .atlas-legend-open-label{display:inline-flex}
}
@media (max-width:900px){
  details.atlas-desktop-fold{display:block}
  details.atlas-desktop-fold > summary{pointer-events:none}
  .atlas-mobile-legend-mount .atlas-legend-windowbar{display:none!important}
  .atlas-mobile-legend-mount .atlas-legend-body{display:block!important;padding:0!important;max-height:none!important;overflow:visible!important}
}

#map .atlas-mac-controls,
.atlas-measure-window-actions,
.atlas-stake-head-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  flex-wrap:nowrap!important;
}
#map .atlas-mac-dot,
.atlas-measure-window-actions .atlas-mac-dot,
.atlas-stake-head-actions .atlas-mac-dot{
  display:inline-block!important;
  width:13px!important;height:13px!important;
  min-width:13px!important;min-height:13px!important;
  max-width:13px!important;max-height:13px!important;
  padding:0!important;margin:0!important;
  border-radius:50%!important;
  border:1px solid rgba(0,0,0,.12)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)!important;
  font-size:0!important;line-height:0!important;
  cursor:pointer!important;
  appearance:none!important;
  transition:transform .12s ease,filter .12s ease!important;
}
#map .atlas-mac-dot:hover,
.atlas-measure-window-actions .atlas-mac-dot:hover,
.atlas-stake-head-actions .atlas-mac-dot:hover{filter:brightness(.97);transform:scale(1.06)}
#map .atlas-mac-dot--yellow,.atlas-mac-dot--yellow{background:#f5c451!important}
#map .atlas-mac-dot--green,.atlas-mac-dot--green{background:#57c76b!important}
#map .atlas-mac-dot--red,.atlas-mac-dot--red{background:#ef6461!important}

.atlas-measure-window-head{padding-right:68px!important}
.atlas-measure-window-actions{position:absolute!important;top:4px!important;right:4px!important}
.atlas-window-min,.atlas-window-expand,.atlas-window-close{
  width:13px!important;height:13px!important;min-width:13px!important;min-height:13px!important;
  max-width:13px!important;max-height:13px!important;padding:0!important;border-radius:50%!important;
  font-size:0!important;line-height:0!important;
}
.atlas-measure-panel.minimized{width:58px!important;height:38px!important;min-width:58px!important;min-height:38px!important;padding:8px!important}
.atlas-measure-panel.minimized .atlas-measure-window-head{padding:0!important;min-height:21px!important;justify-content:flex-end!important}
.atlas-measure-panel.minimized .atlas-measure-window-actions{position:static!important;display:flex!important}
.atlas-measure-panel.minimized #atlasMeasureTitle,.atlas-measure-panel.minimized .atlas-window-close,.atlas-measure-panel.minimized .atlas-measure-window-body{display:none!important}
.atlas-measure-panel.minimized .atlas-window-min,.atlas-measure-panel.minimized .atlas-window-expand{display:inline-block!important}

.atlas-stake-head-actions .atlas-stake-toggle,
.atlas-stake-head-actions .atlas-stake-panel-close{
  padding:0!important;border-radius:50%!important;font-size:0!important;line-height:0!important;
}
.atlas-stake-toggle::after{content:none!important}

@media(max-width:900px){
  #map .atlas-mac-dot,.atlas-measure-window-actions .atlas-mac-dot,.atlas-stake-head-actions .atlas-mac-dot{
    width:13px!important;height:13px!important;min-width:13px!important;min-height:13px!important;max-width:13px!important;max-height:13px!important;
  }
}

.atlas-3d-controls{
  display:none;
  position:absolute;
  top:28px;
  right:28px;
  z-index:11020;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border:1px solid rgba(220,230,240,.95);
  border-radius:14px;
  background:rgba(255,255,255,.94);
  box-shadow:0 8px 28px rgba(20,45,75,.18);
  backdrop-filter:blur(10px);
  color:#223A5E;
}
body.atlas-3d-active .atlas-3d-controls{display:flex}
.atlas-3d-controls-title{display:flex;flex-direction:column;gap:1px;min-width:190px}
.atlas-3d-controls-title strong{font-size:12px;font-weight:800;letter-spacing:.01em}
.atlas-3d-controls-title small{font-size:9px;font-weight:600;color:#64748b;white-space:nowrap}
.atlas-3d-buildings-toggle{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:750;cursor:pointer;user-select:none;white-space:nowrap}
.atlas-3d-buildings-toggle input{position:absolute;opacity:0;pointer-events:none}
.atlas-3d-switch{width:29px;height:17px;border-radius:999px;background:#cbd5e1;position:relative;transition:.18s ease;box-shadow:inset 0 0 0 1px rgba(34,58,94,.08)}
.atlas-3d-switch::after{content:"";position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,39,66,.28);transition:.18s ease}
.atlas-3d-buildings-toggle input:checked + .atlas-3d-switch{background:#47C27A}
.atlas-3d-buildings-toggle input:checked + .atlas-3d-switch::after{transform:translateX(12px)}
.atlas-3d-close{border:1px solid #d8e3ed;background:#fff;color:#223A5E;border-radius:9px;padding:7px 9px;font:700 9px/1 Montserrat,sans-serif;cursor:pointer;white-space:nowrap}
.atlas-3d-close:hover{background:#f4f8fb;border-color:#b9cbdc}
body.atlas-3d-active .atlas-map-actions{opacity:.45;pointer-events:none}
body.atlas-3d-active #atlas3dBtn{pointer-events:auto;opacity:1}
@media(max-width:900px){
  .atlas-3d-controls{top:10px;right:10px;left:64px;padding:8px 9px;gap:8px;border-radius:12px;flex-wrap:wrap}
  .atlas-3d-controls-title{min-width:0;flex:1 1 150px}
  .atlas-3d-controls-title small{white-space:normal}
  .atlas-3d-buildings-toggle{font-size:9px}
  .atlas-3d-close{font-size:9px;padding:7px 8px}
}

.atlas-3d-z-control{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:800;white-space:nowrap;color:#223A5E}
.atlas-3d-z-control>span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:7px;background:#eef3f8;color:#6D5BD0;font-weight:900}
.atlas-3d-z-control select{height:29px;min-width:62px;padding:0 24px 0 8px;border:1px solid #d8e3ed;border-radius:8px;background:#fff;color:#223A5E;font:750 10px/1 Montserrat,sans-serif;cursor:pointer;outline:none}
.atlas-3d-z-control select:focus{border-color:#6D5BD0;box-shadow:0 0 0 2px rgba(109,91,208,.12)}
@media(max-width:900px){.atlas-3d-z-control{font-size:9px}.atlas-3d-z-control select{height:28px;min-width:58px;font-size:9px}}

@media (max-width:900px){
  .atlas-mobile-toolbar{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  
  .atlas-measure-tools{display:none!important;}
  .atlas-map-actions{right:8px!important;bottom:calc(var(--atlas-mobile-toolbar-h) + var(--atlas-mobile-safe-bottom) + 14px)!important;top:auto!important;left:auto!important;display:block!important;}
  .atlas-map-actions .atlas-map-action-btn{display:none!important;}
  .atlas-map-actions #atlasLocateBtn{display:flex!important;position:static!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border-radius:12px!important;background:#47c27a!important;color:#fff!important;border:1px solid rgba(24,112,67,.20)!important;box-shadow:0 5px 16px rgba(15,39,66,.22)!important;}
  .atlas-map-actions #atlasLocateBtn .atlas-map-action-label{display:none!important;}
  .atlas-custom-zoom{right:8px!important;bottom:calc(var(--atlas-mobile-toolbar-h) + var(--atlas-mobile-safe-bottom) + 63px)!important;top:auto!important;left:auto!important;gap:4px!important;}
  .atlas-custom-zoom button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border-radius:12px!important;background:#fff!important;color:#223a5e!important;border:1px solid #d7dee6!important;box-shadow:0 5px 16px rgba(15,39,66,.18)!important;font-size:22px!important;}
  #atlasZoomIn,#atlasZoomOut{background:#fff!important;color:#223a5e!important;}
  .atlas-mobile-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:2px 0 8px;}
  .atlas-mobile-tools-grid .atlas-measure-btn,.atlas-mobile-tools-grid .atlas-map-action-btn{display:flex!important;position:static!important;width:100%!important;min-width:0!important;height:54px!important;min-height:54px!important;margin:0!important;padding:8px 10px!important;border-radius:12px!important;border:1px solid #dbe4eb!important;background:#fff!important;color:#223a5e!important;box-shadow:none!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;font-size:10.5px!important;text-align:left!important;}
  .atlas-mobile-tools-grid .atlas-tool-glyph{width:24px!important;height:24px!important;flex:0 0 24px!important;}
  .atlas-mobile-tools-grid .atlas-tool-glyph svg{width:22px!important;height:22px!important;}
  .atlas-mobile-tools-grid .atlas-tool-label,.atlas-mobile-tools-grid .atlas-map-action-label{display:inline!important;line-height:1.15!important;}
}

@media (min-width:901px){
  #atlasRightDock.atlas-right-dock{
    position:fixed!important;z-index:12060!important;right:10px!important;top:50%!important;
    transform:translateY(-50%)!important;width:54px!important;min-width:54px!important;max-width:54px!important;
    height:auto!important;min-height:0!important;max-height:calc(100vh - 150px)!important;
    margin:0!important;padding:6px!important;box-sizing:border-box!important;overflow:visible!important;
    border:1px solid rgba(34,58,94,.16)!important;border-radius:15px!important;
    background:rgba(255,255,255,.97)!important;box-shadow:0 8px 24px rgba(26,47,77,.16)!important;
    transition:right .2s ease!important;
  }
  #atlasRightDock[hidden]{display:none!important}
  #atlasRightDock .atlas-right-dock__body{
    width:40px!important;display:flex!important;flex-direction:column!important;align-items:center!important;
    gap:5px!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important;
  }
  #atlasRightDock .atlas-right-dock__divider{display:block!important;width:26px!important;height:1px!important;min-height:1px!important;margin:2px 0!important;background:#dfe6ee!important}
  #atlasRightDock #atlasZoomIn,#atlasRightDock #atlasZoomOut,
  #atlasRightDock .atlas-measure-btn,#atlasRightDock .atlas-map-action-btn{
    position:static!important;inset:auto!important;transform:none!important;float:none!important;
    width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:10px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 40px!important;
    background:#223A5E!important;color:#fff!important;box-shadow:none!important;
  }
  #atlasRightDock #atlasZoomIn,#atlasRightDock #atlasZoomOut{font:700 22px/1 Montserrat,sans-serif!important}
  #atlasRightDock #atlasLocateBtn{background:#47C27A!important}
  #atlasRightDock .atlas-measure-btn.active,#atlasRightDock .atlas-map-action-btn.is-active{background:#0891B2!important;outline:none!important;filter:none!important}
  #atlasRightDock button:hover{filter:brightness(1.08)!important;transform:none!important;box-shadow:none!important}
  #atlasRightDock .atlas-tool-glyph,#atlasRightDock .atlas-tool-glyph svg{width:21px!important;height:21px!important;flex:0 0 21px!important;color:#fff!important}
  #atlasRightDock .atlas-tool-label,#atlasRightDock .atlas-map-action-label{display:none!important}
  #atlasRightDock .atlas-right-dock__toggle{
    position:static!important;width:40px!important;height:28px!important;min-width:40px!important;min-height:28px!important;
    margin:5px 0 0!important;padding:4px 0 0!important;border:0!important;border-top:1px solid #dfe6ee!important;
    border-radius:0 0 9px 9px!important;background:transparent!important;color:#60758c!important;box-shadow:none!important;
    display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;
  }
  #atlasRightDock .atlas-right-dock__toggle svg{width:19px!important;height:19px!important;display:block!important}
  #atlasRightDock.is-collapsed{right:-48px!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
  #atlasRightDock.is-collapsed .atlas-right-dock__body{visibility:hidden!important;pointer-events:none!important}
  #atlasRightDock.is-collapsed .atlas-right-dock__toggle{
    position:absolute!important;right:46px!important;top:50%!important;transform:translateY(-50%)!important;
    width:24px!important;min-width:24px!important;height:50px!important;min-height:50px!important;margin:0!important;padding:0!important;
    border:1px solid rgba(34,58,94,.18)!important;border-right:0!important;border-radius:10px 0 0 10px!important;
    background:#fff!important;color:#223A5E!important;box-shadow:-4px 4px 14px rgba(26,47,77,.12)!important;
  }
  #atlasRightDock.is-collapsed .atlas-right-dock__toggle svg{transform:rotate(180deg)!important}
  
  body>.atlas-custom-zoom,body>.atlas-measure-tools,body>.atlas-map-actions{background:transparent!important}
}
@media (max-width:900px){#atlasRightDock{display:none!important}}

@media (max-width:900px){
 .atlas-map-actions{bottom:calc(var(--atlas-mobile-toolbar-h) + var(--atlas-mobile-footer-h,28px) + var(--atlas-mobile-safe-bottom) + 22px)!important;}
 .atlas-custom-zoom{bottom:calc(var(--atlas-mobile-toolbar-h) + var(--atlas-mobile-footer-h,28px) + var(--atlas-mobile-safe-bottom) + 71px)!important;}
}

@media (max-width:900px){
  .atlas-mobile-tools-grid .atlas-measure-btn,
  .atlas-mobile-tools-grid .atlas-map-action-btn{
    color:#223A5E!important;
    font-weight:800!important;
    line-height:1.15!important;
    overflow:visible!important;
  }
  .atlas-mobile-tools-grid .atlas-tool-label,
  .atlas-mobile-tools-grid .atlas-map-action-label,
  .atlas-mobile-tools-grid button span{
    color:inherit!important;
    opacity:1!important;
    visibility:visible!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  
  .atlas-map-actions{bottom:calc(var(--atlas-mobile-toolbar-h) + var(--atlas-mobile-footer-h,28px) + var(--atlas-mobile-safe-bottom) + 32px)!important;}
  .atlas-custom-zoom{bottom:calc(var(--atlas-mobile-toolbar-h) + var(--atlas-mobile-footer-h,28px) + var(--atlas-mobile-safe-bottom) + 81px)!important;}
}

@media(max-width:900px){
  #atlasMobileToolsMount #atlasDistanceBtn .atlas-tool-label,
  #atlasMobileToolsMount #atlasAreaBtn .atlas-tool-label,
  #atlasMobileToolsMount #atlasStakeBtn .atlas-tool-label,
  #atlasMobileToolsMount #atlasPrintBtn .atlas-map-action-label{display:inline!important;visibility:visible!important;opacity:1!important;color:#223A5E!important;font-weight:800!important;white-space:nowrap!important;}
}

@media(max-width:900px){
 #atlasMobileToolsMount .atlas-measure-btn,
 #atlasMobileToolsMount .atlas-map-action-btn{
   background:#223A5E!important;color:#fff!important;border-color:#223A5E!important;
   box-shadow:none!important;font-weight:800!important;
 }
 #atlasMobileToolsMount .atlas-measure-btn:hover,
 #atlasMobileToolsMount .atlas-map-action-btn:hover,
 #atlasMobileToolsMount .atlas-measure-btn.active,
 #atlasMobileToolsMount .atlas-map-action-btn.is-active{background:#1A2F4D!important;color:#fff!important;border-color:#1A2F4D!important;}
 #atlasMobileToolsMount .atlas-tool-glyph,
 #atlasMobileToolsMount .atlas-tool-glyph svg,
 #atlasMobileToolsMount .atlas-tool-label,
 #atlasMobileToolsMount .atlas-map-action-label,
 #atlasMobileToolsMount button span{color:#fff!important;fill:currentColor;}
 #atlasMobileToolsMount #atlasDistanceBtn .atlas-tool-label,
 #atlasMobileToolsMount #atlasAreaBtn .atlas-tool-label,
 #atlasMobileToolsMount #atlasStakeBtn .atlas-tool-label,
 #atlasMobileToolsMount #atlasPrintBtn .atlas-map-action-label{display:inline!important;visibility:visible!important;opacity:1!important;color:#fff!important;font-weight:800!important;white-space:nowrap!important;}
}

@media (max-width:900px){
  #atlasMobileToolsMount{color:#fff!important;}
  #atlasMobileToolsMount .atlas-measure-btn,
  #atlasMobileToolsMount .atlas-map-action-btn,
  #atlasMobileToolsMount #atlasDistanceBtn,
  #atlasMobileToolsMount #atlasAreaBtn,
  #atlasMobileToolsMount #atlasStakeBtn,
  #atlasMobileToolsMount #atlasPrintBtn{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    background:#223A5E!important;
    border-color:#223A5E!important;
    color:#fff!important;
  }
  #atlasMobileToolsMount .atlas-tool-glyph,
  #atlasMobileToolsMount .atlas-tool-glyph *,
  #atlasMobileToolsMount .atlas-tool-label,
  #atlasMobileToolsMount .atlas-map-action-label,
  #atlasMobileToolsMount button span{
    color:#fff!important;
    opacity:1!important;
    visibility:visible!important;
  }
  #atlasMobileToolsMount #atlasDistanceBtn .atlas-tool-label,
  #atlasMobileToolsMount #atlasAreaBtn .atlas-tool-label,
  #atlasMobileToolsMount #atlasStakeBtn .atlas-tool-label,
  #atlasMobileToolsMount #atlasPrintBtn .atlas-map-action-label{
    display:inline!important;
    color:#fff!important;
    font-weight:800!important;
    white-space:nowrap!important;
  }
}

/* 6.1.7 — popup Premium bilanciato + diamanti leggibili */
.atlas-access-modal{
  box-sizing:border-box!important;
  padding:20px!important;
  overflow:auto!important;
}
.atlas-access-card{
  box-sizing:border-box!important;
  width:min(440px,calc(100vw - 40px))!important;
  max-height:calc(100dvh - 40px)!important;
  overflow:auto!important;
  padding:26px 28px!important;
  border-radius:20px!important;
}
.atlas-access-card__diamond{
  flex:0 0 auto!important;
}
.atlas-access-card h3{
  margin:0 0 9px!important;
  font-size:21px!important;
  line-height:1.22!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.atlas-access-card p{
  margin:0 auto 20px!important;
  max-width:360px!important;
  font-size:14px!important;
  line-height:1.55!important;
}
.atlas-access-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;
}
.atlas-access-actions a,
.atlas-access-actions button{
  width:100%!important;
  min-height:44px!important;
  padding:10px 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  font-size:12px!important;
  line-height:1.2!important;
}
.atlas-access-upgrade{grid-column:1 / -1!important}
.atlas-access-upgrade + .atlas-access-close:last-child{grid-column:1 / -1!important}

.atlas-premium-diamond{
  font-family:Arial,"Helvetica Neue",sans-serif!important;
  font-style:normal!important;
  font-weight:900!important;
  text-indent:0!important;
  letter-spacing:0!important;
  color:#d59616!important;
}
.atlas-measure-btn.atlas-access-locked>.atlas-premium-diamond,
.atlas-map-action-btn.atlas-access-locked>.atlas-premium-diamond,
button.atlas-access-locked>.atlas-premium-diamond{
  position:absolute!important;
  top:5px!important;
  right:6px!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#d59616!important;
  font-size:14px!important;
  line-height:1!important;
  text-align:center!important;
  text-shadow:0 1px 2px rgba(15,39,66,.18)!important;
  pointer-events:none!important;
}

@media(max-width:600px){
  .atlas-access-modal{
    padding:12px!important;
    align-items:center!important;
  }
  .atlas-access-card{
    width:100%!important;
    max-width:360px!important;
    max-height:calc(100dvh - 24px)!important;
    padding:22px 18px!important;
    border-radius:18px!important;
  }
  .atlas-access-card__diamond{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    margin-bottom:12px!important;
    font-size:23px!important;
  }
  .atlas-access-card h3{
    margin-bottom:8px!important;
    font-size:18px!important;
    line-height:1.25!important;
  }
  .atlas-access-card p{
    margin-bottom:17px!important;
    font-size:13px!important;
    line-height:1.5!important;
  }
  .atlas-access-actions{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .atlas-access-actions a,
  .atlas-access-actions button{
    grid-column:1!important;
    min-height:44px!important;
  }
}

/* Match the actual mobile tools breakpoint, including tablets. */
@media(max-width:900px){
  #atlasMobileToolsMount button.atlas-access-locked>.atlas-premium-diamond,
  #atlasMobileToolsMount .atlas-measure-btn.atlas-access-locked>.atlas-premium-diamond,
  #atlasMobileToolsMount .atlas-map-action-btn.atlas-access-locked>.atlas-premium-diamond{
    color:#f6c453!important;
    background:transparent!important;
    border:0!important;
    font-size:14px!important;
    line-height:1!important;
    opacity:1!important;
    visibility:visible!important;
  }
}


/* ATLAS URBANISTICA ZONE LEGEND 6.1.18 */
.atlas-urbanistica-zone-legend{
  margin:7px 10px 9px;
  padding:9px 10px;
  border:1px solid #dbe5ef;
  border-radius:10px;
  background:#f8fafc;
}
.atlas-urbanistica-zone-legend__title{
  margin-bottom:7px;
  color:#223a5e;
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.atlas-urbanistica-zone-legend__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px 9px;
}
.atlas-urbanistica-zone-legend__item{
  display:flex;
  align-items:center;
  min-width:0;
  color:#334155;
  font-size:9px;
  line-height:1.2;
}
.atlas-urbanistica-zone-legend__item i{
  width:12px;
  height:12px;
  flex:0 0 12px;
  margin-right:5px;
  border:1px solid rgba(15,23,42,.16);
  border-radius:3px;
}
.atlas-urbanistica-zone-legend__note{
  margin-top:7px;
  padding-top:6px;
  border-top:1px solid #e2e8f0;
  color:#64748b;
  font-size:8.5px;
  line-height:1.35;
}
@media (max-width:760px){
  .atlas-urbanistica-zone-legend{margin:7px 6px 9px}
  .atlas-urbanistica-zone-legend__grid{grid-template-columns:1fr}
}


/* ATLAS HEADER HOME ICON 6.1.19 */
.atlasmap-header-btn__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.atlasmap-header-btn__icon--home{
  width:22px;
  height:22px;
}
.atlasmap-header-btn__icon--home svg{
  display:block;
  width:22px;
  height:22px;
  overflow:visible;
  fill:none;
  stroke:currentColor;
  stroke-width:2.25;
  stroke-linecap:round;
  stroke-linejoin:round;
}


/* ATLAS BASEMAP OPACITY 6.1.20 */
#map{background:#eef2f6}
.atlas-basemap-opacity{
  display:none;
}
@media (min-width:901px){
  .leaflet-control-layers .atlas-basemap-opacity{
    display:block;
    margin-top:7px;
    padding-top:7px;
    border-top:1px solid rgba(34,58,94,.16);
    color:#223a5e;
    font-family:Montserrat,sans-serif;
  }
  .atlas-basemap-opacity__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:4px;
    font-size:9px;
    font-weight:750;
  }
  .atlas-basemap-opacity__head output{
    min-width:34px;
    color:#0891b2;
    text-align:right;
    font-variant-numeric:tabular-nums;
  }
  .atlas-basemap-opacity input[type="range"]{
    width:100%;
    height:18px;
    margin:0;
    accent-color:#0891b2;
    cursor:pointer;
  }
  .atlas-basemap-opacity button{
    width:100%;
    margin-top:3px;
    padding:4px 6px;
    border:1px solid rgba(34,58,94,.18);
    border-radius:6px;
    background:#f8fafc;
    color:#475569;
    font:700 8px/1.2 Montserrat,sans-serif;
    cursor:pointer;
  }
  .atlas-basemap-opacity button:hover{
    border-color:#0891b2;
    color:#0891b2;
  }
}


/* ATLAS BASEMAP OPACITY COLLAPSIBLE 6.1.21 */
@media (min-width:901px){
  .atlas-basemap-opacity__head{
    margin-bottom:0;
  }
  .atlas-basemap-opacity__toggle{
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    flex:1 1 auto;
    width:auto!important;
    margin:0!important;
    padding:3px 0!important;
    border:0!important;
    background:transparent!important;
    color:#223a5e!important;
    font:800 9px/1.2 Montserrat,sans-serif!important;
    text-align:left;
  }
  .atlas-basemap-opacity__toggle svg{
    width:14px;
    height:14px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
    transition:transform .18s ease;
  }
  .atlas-basemap-opacity:not(.is-collapsed) .atlas-basemap-opacity__toggle svg{
    transform:rotate(180deg);
  }
  .atlas-basemap-opacity__body{
    max-height:72px;
    overflow:hidden;
    opacity:1;
    padding-top:4px;
    transition:max-height .18s ease,opacity .14s ease,padding .18s ease;
  }
  .atlas-basemap-opacity.is-collapsed .atlas-basemap-opacity__body{
    max-height:0;
    opacity:0;
    padding-top:0;
    pointer-events:none;
  }
  .atlas-basemap-opacity.is-collapsed .atlas-basemap-opacity__head output{
    display:none;
  }
}


/* ATLAS DESKTOP PANELS + BASEMAP DOCK 6.1.22 */
.atlas-left-panel-toggle{display:none}
@media (min-width:901px){
  .atlas-left-panel-toggle{
    display:flex;
    position:fixed;
    z-index:12070;
    left:calc(var(--atlas-left-panel-width,380px) - 1px);
    top:50%;
    transform:translateY(-50%);
    width:24px;
    min-width:24px;
    height:50px;
    min-height:50px;
    margin:0;
    padding:0;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(34,58,94,.18);
    border-left:0;
    border-radius:0 10px 10px 0;
    background:#fff;
    color:#223A5E;
    box-shadow:4px 4px 14px rgba(26,47,77,.12);
    transition:left .2s ease;
  }
  .atlas-left-panel-toggle svg{width:19px;height:19px;display:block;transition:transform .2s ease}
  body.atlas-left-panel-collapsed .layout>aside{display:none!important}
  body.atlas-left-panel-collapsed .atlas-left-panel-toggle{left:0}
  body.atlas-left-panel-collapsed .atlas-left-panel-toggle svg{transform:rotate(180deg)}
  .leaflet-top.leaflet-left .leaflet-control-layers{display:none!important}
  #atlasRightDock .atlas-basemap-opacity--dock{
    display:block!important;
    position:absolute!important;
    right:50px!important;
    width:190px!important;
    margin:0!important;
    padding:10px!important;
    transform:translateY(-50%)!important;
    border:1px solid rgba(34,58,94,.17)!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(26,47,77,.18)!important;
  }
  #atlasRightDock .atlas-basemap-opacity--dock.is-dock-hidden{display:none!important}
  #atlasRightDock .atlas-basemap-opacity--dock .atlas-basemap-opacity__head{margin:0!important}
  #atlasRightDock .atlas-basemap-opacity--dock .atlas-basemap-opacity__body{max-height:72px!important;opacity:1!important;padding-top:4px!important;pointer-events:auto!important}
  #atlasRightDock .atlas-basemap-opacity--dock .atlas-basemap-opacity__head output{display:inline!important}
  #atlasRightDock .atlas-basemap-dock-btn[aria-pressed="true"]{background:#0891B2!important}
}
@media (max-width:900px){
  .atlas-left-panel-toggle{display:none!important}
}


/* ATLAS TOP-LEFT BASEMAP BAR 6.1.23 */
.atlas-basemap-bar{display:none}
@media (min-width:901px){
  #map .atlas-basemap-bar{
    display:flex;
    position:absolute;
    z-index:12050;
    top:10px;
    left:10px;
    align-items:center;
    gap:5px;
    padding:6px;
    border:1px solid rgba(34,58,94,.16);
    border-radius:13px;
    background:rgba(255,255,255,.97);
    box-shadow:0 7px 22px rgba(26,47,77,.16);
  }
  #map .atlas-basemap-bar>.atlas-basemap-dock-btn{
    position:static!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:10px!important;
    background:#223A5E!important;
    color:#fff!important;
    box-shadow:none!important;
  }
  #map .atlas-basemap-bar>.atlas-basemap-dock-btn.is-active,
  #map .atlas-basemap-bar>.atlas-basemap-dock-btn[aria-pressed="true"]{
    background:#0891B2!important;
  }
  #map .atlas-basemap-bar .atlas-tool-glyph,
  #map .atlas-basemap-bar .atlas-tool-glyph svg{
    display:block!important;
    width:22px!important;
    height:22px!important;
    color:#fff!important;
  }
  #map .atlas-basemap-bar .atlas-map-action-label{display:none!important}
  #map .atlas-basemap-opacity--dock{
    display:block!important;
    position:absolute!important;
    top:52px!important;
    right:0!important;
    width:190px!important;
    margin:0!important;
    padding:10px!important;
    transform:none!important;
    border:1px solid rgba(34,58,94,.17)!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(26,47,77,.18)!important;
  }
  #map .atlas-basemap-opacity--dock.is-dock-hidden{display:none!important}
  #map .atlas-basemap-opacity--dock .atlas-basemap-opacity__head{margin:0!important}
  #map .atlas-basemap-opacity--dock .atlas-basemap-opacity__body{
    max-height:72px!important;
    opacity:1!important;
    padding-top:4px!important;
    pointer-events:auto!important;
  }
  #map .atlas-basemap-opacity--dock .atlas-basemap-opacity__head output{display:inline!important}
}
@media (max-width:900px){
  #atlasBasemapBar{display:none!important}
}


/* ATLAS OPACITY PANEL ANCHOR FIX 6.1.24 */
@media (min-width:901px){
  #map .atlas-basemap-bar{
    overflow:visible!important;
  }
  #map .atlas-basemap-opacity--dock{
    left:0!important;
    right:auto!important;
    top:52px!important;
    width:285px!important;
    max-width:calc(100vw - 32px)!important;
    box-sizing:border-box!important;
    transform:none!important;
  }
  body.atlas-left-panel-collapsed #map .atlas-basemap-opacity--dock{
    left:0!important;
    right:auto!important;
  }
}


/* ATLAS MOBILE ZOOM UNIFORMITY 6.1.16 */
@media (max-width:900px){
  .atlas-custom-zoom{
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
    overflow:visible!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .atlas-custom-zoom #atlasZoomIn,
  .atlas-custom-zoom #atlasZoomOut{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:12px!important;
    background:#223A5E!important;
    color:#fff!important;
    box-shadow:0 5px 16px rgba(15,39,66,.22)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:22px!important;
    font-weight:800!important;
    line-height:1!important;
  }
}


/* ATLAS MAP 7.1.2 — consolidated rail, mobile map and attribution */
#atlasMobileNavRail{display:none}

@media(min-width:901px){
  #atlasMeasurePanel .atlas-measure-window-actions{display:none!important}
  #atlasMeasurePanel .atlas-measure-window-head{justify-content:flex-start!important}

  #atlasRightDock{
    top:calc(50% - 22px)!important;
    transform:translateY(-50%)!important;
  }
  #atlasRightDock .atlas-right-dock__body{order:1!important}
  #atlasRightDock .atlas-right-dock__toggle{
    order:2!important;
    position:static!important;
    width:40px!important;min-width:40px!important;
    height:28px!important;min-height:28px!important;
    margin:5px 0 0!important;
  }
  #atlasRightDock #atlasAttributionToggle{
    order:999!important;
    width:40px!important;min-width:40px!important;max-width:40px!important;
    height:40px!important;min-height:40px!important;max-height:40px!important;
    margin:0!important;align-self:center!important;
    border:0!important;border-radius:10px!important;
    background:#223A5E!important;color:#fff!important;box-shadow:none!important;
  }
  #atlasRightDock #atlasAttributionToggle.is-open{background:#0891B2!important}
  #atlasRightDock #atlasStakeBtn .atlas-picchetto-glyph{
    display:grid!important;place-items:center!important;
    width:21px!important;height:21px!important;min-width:21px!important;
    color:#fff!important;font:700 24px/21px Arial,Helvetica,sans-serif!important;
  }
  #atlasRightDock.is-collapsed{top:50%!important;transform:translateY(-50%)!important}
  #atlasRightDock.is-collapsed .atlas-right-dock__toggle{
    position:absolute!important;right:46px!important;top:50%!important;
    transform:translateY(-50%)!important;
  }
}

@media(max-width:900px){
  :root{--atlas-mobile-footer-h:0px!important;--atlas-mobile-map-gap:0px!important}
  body.atlas-shell-map{padding-bottom:calc(var(--atlas-mobile-toolbar-h) + var(--atlas-mobile-safe-bottom))!important}
  body.atlas-shell-map .treseizero-footer{display:none!important}
  body.atlas-shell-map #map{
    margin:0!important;width:100%!important;
    height:calc(100svh - var(--atlas-mobile-header-h) - var(--atlas-mobile-toolbar-h) - var(--atlas-mobile-safe-bottom))!important;
  }
  body.atlas-shell-map .atlas-mobile-toolbar{bottom:0!important;border-top:1px solid #dbe3ec!important}

  body.atlas-shell-map #atlasMobileNavRail,
  body.atlas-shell-map #atlasMobileNavRail[hidden]{
    position:fixed!important;
    display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
    right:10px!important;top:auto!important;
    bottom:calc(var(--atlas-mobile-toolbar-h) + var(--atlas-mobile-safe-bottom) + 34px)!important;
    z-index:50000!important;
    width:46px!important;padding:5px!important;box-sizing:border-box!important;
    border:1px solid rgba(34,58,94,.16)!important;border-radius:13px!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 8px 24px rgba(26,47,77,.16)!important;
    backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;
  }
  body.atlas-shell-map #atlasMobileNavRail .atlas-mobile-nav-rail__body{
    display:flex!important;flex-direction:column!important;
    width:36px!important;gap:3px!important;align-items:center!important;
    margin:0 auto!important;padding:0!important;
  }
  body.atlas-shell-map #atlasMobileNavRail .atlas-mobile-nav-rail__body>button{
    position:static!important;inset:auto!important;transform:none!important;
    width:36px!important;min-width:36px!important;max-width:36px!important;
    height:36px!important;min-height:36px!important;max-height:36px!important;
    margin:0 auto!important;padding:0!important;align-self:center!important;box-sizing:border-box!important;
    border:0!important;border-radius:9px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    background:#223A5E!important;color:#fff!important;box-shadow:none!important;
  }
  body.atlas-shell-map #atlasMobileNavRail #atlasZoomIn,
  body.atlas-shell-map #atlasMobileNavRail #atlasZoomOut{
    font:700 22px/1 Montserrat,sans-serif!important;
  }
  body.atlas-shell-map #atlasMobileNavRail #atlasLocateBtn{
    order:3!important;background:#47C27A!important;
  }
  body.atlas-shell-map #atlasMobileNavRail #atlasLocateBtn .atlas-tool-glyph,
  body.atlas-shell-map #atlasMobileNavRail #atlasLocateBtn .atlas-tool-glyph svg{
    width:21px!important;height:21px!important;flex:0 0 21px!important;color:#fff!important;
  }
  body.atlas-shell-map #atlasMobileNavRail #atlasLocateBtn .atlas-map-action-label{display:none!important}
  body.atlas-shell-map #atlasMobileNavRail #atlasAttributionToggle{
    order:4!important;
    background:#223A5E!important;color:#fff!important;
  }
  body.atlas-shell-map #atlasMobileNavRail #atlasAttributionToggle.is-open{background:#0891B2!important}
  body.atlas-shell-map #atlasMobileNavRail #atlasAttributionToggle svg{width:18px!important;height:18px!important}
  body.atlas-shell-map #atlasMobileNavRail button:hover,
  body.atlas-shell-map #atlasMobileNavRail button:active{transform:none!important;box-shadow:none!important}

  body.atlas-shell-map #map .leaflet-control-layers{display:none!important}
  body.atlas-shell-map #atlasBasemapBar{
    display:flex!important;position:absolute!important;left:10px!important;top:10px!important;right:auto!important;
    z-index:1200!important;gap:3px!important;padding:4px!important;margin:0!important;
    border:1px solid rgba(34,58,94,.16)!important;border-radius:12px!important;
    background:rgba(255,255,255,.97)!important;box-shadow:0 7px 20px rgba(26,47,77,.16)!important;
    overflow:visible!important;
  }
  body.atlas-shell-map #atlasBasemapBar>.atlas-basemap-dock-btn{
    position:static!important;inset:auto!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:34px!important;min-width:34px!important;max-width:34px!important;
    height:34px!important;min-height:34px!important;max-height:34px!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;
    background:#223A5E!important;color:#fff!important;box-shadow:none!important;
    font-size:0!important;line-height:0!important;
  }
  body.atlas-shell-map #atlasBasemapBar>.atlas-basemap-dock-btn.is-active{background:#0891B2!important}
  body.atlas-shell-map #atlasBasemapBar>.atlas-basemap-dock-btn .atlas-map-action-label{display:none!important}
  body.atlas-shell-map #atlasBasemapBar>.atlas-basemap-dock-btn .atlas-tool-glyph,
  body.atlas-shell-map #atlasBasemapBar>.atlas-basemap-dock-btn .atlas-tool-glyph svg,
  body.atlas-shell-map #atlasBasemapBar>.atlas-basemap-dock-btn svg{
    width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;
    flex:0 0 17px!important;color:#fff!important;
  }
  body.atlas-shell-map #atlasBasemapBar .atlas-basemap-opacity--mobile{
    position:absolute!important;left:0!important;right:auto!important;top:44px!important;bottom:auto!important;
    width:min(238px,calc(100vw - 28px))!important;margin:0!important;padding:9px 10px!important;
    border:1px solid rgba(34,58,94,.16)!important;border-radius:12px!important;
    background:rgba(255,255,255,.98)!important;box-shadow:0 8px 24px rgba(26,47,77,.18)!important;
  }
  body.atlas-shell-map #atlasBasemapBar .atlas-basemap-opacity--mobile.is-dock-hidden{display:none!important}
  body.atlas-shell-map #atlasBasemapBar .atlas-basemap-opacity--mobile:not(.is-dock-hidden){display:block!important}

  #atlasMobileToolsMount #atlasStakeBtn .atlas-picchetto-glyph{
    display:grid!important;place-items:center!important;
    color:#fff!important;font:700 24px/1 Arial,Helvetica,sans-serif!important;
  }
}

#atlasAttributionToggle{
  position:static!important;inset:auto!important;transform:none!important;margin:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;
}
#atlasAttributionToggle svg{width:21px!important;height:21px!important;display:block!important}

body.atlas-shell-map #map .leaflet-control-attribution{display:none!important}
body.atlas-shell-map .atlas-attribution-drawer[hidden]{display:none!important}
body.atlas-shell-map .atlas-attribution-drawer{
  position:fixed!important;z-index:49990!important;box-sizing:border-box!important;
  max-width:min(620px,calc(100vw - 100px))!important;
  padding:6px 9px!important;margin:0!important;
  border:1px solid rgba(34,58,94,.14)!important;border-radius:9px!important;
  background:rgba(255,255,255,.98)!important;color:#52657b!important;
  box-shadow:0 5px 16px rgba(26,47,77,.14)!important;
  font-family:Montserrat,sans-serif!important;font-size:11px!important;font-weight:600!important;line-height:1.4!important;
  white-space:normal!important;
}
body.atlas-shell-map .atlas-attribution-drawer a{color:#0891B2!important;font-weight:700!important;text-decoration:none!important}
@media(max-width:900px){
  body.atlas-shell-map .atlas-attribution-drawer{
    max-width:calc(100vw - 88px)!important;font-size:10px!important;line-height:1.4!important;
  }
}

