#territorio.atlas {
  --atlas-ink:#203a32;
  --atlas-paper:#f7f5ef;
  --atlas-rule:#c7c9b9;
  --atlas-small:#536457;
  --atlas-control:#244536;
  color:var(--atlas-ink);
  background:var(--atlas-paper);
  scroll-margin-top:5.5rem;
  font-family:inherit;
}
#territorio .atlas-inner {width:min(1200px,calc(100% - 100px));margin:0 auto;padding:clamp(3.2rem,6vw,6.3rem) 0;}
.atlas-header {display:grid;grid-template-columns:1fr minmax(230px,32%);align-items:end;gap:2rem;margin-bottom:2.05rem;}
.atlas-header h2 {margin:0;color:var(--atlas-ink);font:normal clamp(2.8rem,5.5vw,5.2rem)/.98 Georgia,serif;letter-spacing:-.055em;}
.atlas-header p {color:var(--atlas-small);font-size:.97rem;line-height:1.5;margin:0;}
.atlas-tabs {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  max-width:48rem;
  gap:.65rem;
  margin-bottom:1.6rem;
}
.atlas-tabs button,.atlas-layers button {font:inherit;cursor:pointer;border-radius:0;letter-spacing:normal;box-shadow:none;text-transform:none;}
.atlas-tabs button {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  min-height:3.25rem;
  padding:.65rem 1rem;
  border:2px solid #64796a;
  border-radius:.5rem;
  background:#fffef9;
  color:#244536;
  font-size:1.0625rem;
  line-height:1.3;
  font-weight:700;
  box-shadow:0 2px 0 #283e3029;
  text-align:start;
}
.atlas-tabs button::after {
  content:"";
  flex:none;
  width:.48em;
  height:.48em;
  border:solid currentColor;
  border-width:2px 2px 0 0;
  transform:rotate(45deg);
}
.atlas-tabs button[aria-selected=true] {color:white;background:#244536;border-color:#244536;}
.atlas-tabs button[aria-selected=true]::after {width:.7em;height:.39em;border-width:0 0 2.5px 2.5px;transform:rotate(-45deg);}
@media(hover:hover) {.atlas-tabs button[aria-selected=false]:hover {background:#ebf0e5;border-color:#244536;}}
.atlas button:focus-visible,.atlas a:focus-visible,.atlas summary:focus-visible,.atlas [role=tabpanel]:focus-visible {outline:3px solid #aa4b2f;outline-offset:2px;}
.atlas-overview {display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(22px,3.5vw,52px);align-items:start;}
.atlas-figure {background:#e8eadf;margin:0;border:1px solid #c3c9b5;overflow:hidden;}
.atlas-title {padding:1.3rem clamp(14px,2vw,26px) 1rem;border-bottom:1px solid #c5cbb9;}
.atlas-title span,.atlas-area span,.atlas-note>span {display:block;font-size:.72rem;font-weight:650;letter-spacing:.075em;text-transform:uppercase;line-height:1.5;}
.atlas-title span {color:#526957;}
.atlas-title h3 {margin:.27rem 0 0;font:400 clamp(1.55rem,2.6vw,2.35rem)/1.12 Georgia,serif;letter-spacing:-.042em;color:#263e32;}
.atlas-map {width:100%;height:auto;display:block;background:#ebece0;}
.atlas-figure figcaption {
  display:grid;
  justify-items:start;
  gap:.8rem;
  padding:1rem clamp(14px,2vw,26px);
  color:#405346;
  font-size:1rem;
  line-height:1.5;
  border-top:1px solid #c7cbb9;
}
.atlas-open,.atlas-layers button,.atlas-sources summary {
  display:inline-flex;
  box-sizing:border-box;
  align-items:center;
  justify-content:space-between;
  gap:.6rem;
  min-height:max(48px,3rem);
  max-width:100%;
  padding:.55rem .85rem;
  border:2px solid #64796a;
  border-radius:.5rem;
  background:#fffef9;
  color:var(--atlas-control);
  font-size:1rem;
  line-height:1.3;
  font-weight:700;
  box-shadow:0 2px 0 #283e3029;
  cursor:pointer;
}
.atlas-open {text-decoration:none;}
.atlas-open svg {flex:none;}
.atlas .atlas-layers button:focus-visible,.atlas .atlas-open:focus-visible,.atlas .atlas-sources summary:focus-visible {
  outline:3px solid var(--atlas-control);
  outline-offset:3px;
  box-shadow:0 0 0 3px #fffef9;
}
@media(hover:hover) {
  .atlas-open:hover,.atlas-layers button[aria-pressed=false]:hover,.atlas-sources summary:hover {
    color:var(--atlas-control);
    border-color:var(--atlas-control);
    background:#ebf0e5;
  }
}
.atlas-open:active,.atlas-layers button:active,.atlas-sources summary:active {box-shadow:none;}
.atlas-profile {padding:.25rem 0;}
.atlas-area strong {display:block;font:400 clamp(2.5rem,4vw,4.2rem)/1 Georgia,serif;letter-spacing:-.055em;color:#244639;}
.atlas-area span {color:var(--atlas-small);margin-top:.48rem;}
.atlas-summary {margin:1.1rem 0 1.25rem;line-height:1.55;font-size:1rem;}
.atlas-profile dl {margin:0;}
.atlas-profile dl>div {border-top:1px solid var(--atlas-rule);padding:.77rem 0;}
.atlas-profile dt {font-size:.86rem;font-weight:700;line-height:1.35;color:#284735;}
.atlas-profile dd {margin:.23rem 0 0;font-size:.89rem;line-height:1.5;color:#47554b;}
.atlas-note {
  margin-top:1.25rem;
  background:#fbf1d9;
  display:grid;
  grid-template-columns:minmax(166px,21%) 1fr;
  align-items:baseline;
  gap:1rem;
  padding:1rem 1.2rem;
  border-left:4px solid #a96914;
}
.atlas-note>span {display:flex;align-items:center;gap:.45rem;color:#704009;letter-spacing:.025em;font-size:.875rem;}
.atlas-note b {display:inline-grid;place-items:center;flex:none;width:1.25rem;height:1.25rem;border:2px solid currentColor;border-radius:50%;font-size:.875rem;line-height:1;}
.atlas-note p {font-size:1rem;line-height:1.5;margin:0;color:#493b24;}
.atlas-sources {margin:1rem 0 0;color:#3d5143;font-size:1rem;}
.atlas-sources summary {width:fit-content;list-style:none;}
.atlas-sources summary::-webkit-details-marker {display:none;}
.atlas-disclosure {flex:none;width:.58em;height:.58em;margin:.05em .16em .28em .4em;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);}
.atlas-sources[open] .atlas-disclosure {transform:rotate(225deg);margin-top:.28em;margin-bottom:0;}
.atlas-sources[open] summary {border-color:var(--atlas-control);background:#e6ecdf;}
.atlas-sources ul {margin:.7rem 0 0;padding-left:1.5rem;line-height:1.65;}
.atlas-map-tools {padding:.85rem clamp(14px,2vw,26px);border-top:1px solid #c7cbb9;}
.atlas-layer-label {font-weight:700;font-size:1rem;color:var(--atlas-control);}
.atlas-layers {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:.5rem 0 .85rem;}
.atlas-layers button {width:100%;justify-content:center;gap:.35rem;padding:.55rem .4rem;text-align:center;}
.atlas-layers button[aria-pressed=true] {color:#fff;background:var(--atlas-control);border-color:var(--atlas-control);}
.atlas-check {display:none;flex:none;width:.73em;height:.42em;margin-bottom:.2em;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(-45deg);}
.atlas-layers [aria-pressed=true] .atlas-check {display:block;}
.atlas-legend {display:flex;flex-wrap:wrap;gap:.6rem 1.3rem;font-size:.94rem;color:#3d5645;}
.atlas-legend span {display:inline-flex;align-items:center;gap:.45rem;}
.atlas-legend span[hidden] {display:none;}
.atlas-legend i {width:1.4rem;border-bottom:3px solid #345d44;}
.atlas-legend [data-key=regional] i {border-bottom:3px dashed #a95736;}
@media(max-width:420px) {
  .atlas-layers {grid-template-columns:repeat(2,minmax(0,1fr));}
  .atlas-layers button:first-child {grid-column:1/-1;}
}
@media(max-width:850px){
 .atlas-overview{grid-template-columns:1fr;}
 .atlas-profile{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr);gap:.55rem 1.5rem;}
 .atlas-summary{margin:0;}
 .atlas-profile dl{grid-column:1/-1;}
 #territorio .atlas-inner{width:calc(100% - 38px)}
}
@media(max-width:580px){
 .atlas-header {display:block;margin-bottom:1.25rem;}
 .atlas-header p {margin-top:.85rem;font-size:.92rem;}
 .atlas-tabs {grid-template-columns:1fr;gap:.5rem;margin-bottom:1.25rem;}
 .atlas-profile{display:block;}
 .atlas-summary{margin:.8rem 0;}
 .atlas-note{display:block;}
 .atlas-note p{margin-top:.4rem;}
}
@media print{
 #territorio .atlas-inner{padding:1rem 0;}
 .atlas-open,.atlas-tabs,.atlas-layers{display:none;}
 .atlas-figure{break-inside:avoid;}
}
