:root {
  color-scheme: light;
  font:
    17px/1.65 system-ui,
    sans-serif;
  color: #183238;
  background: #f4f6f2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #12615c;
  text-underline-offset: 0.18em;
}
a:hover {
  color: #0a3937;
}
a:focus-visible {
  outline: 3px solid #926508;
  outline-offset: 4px;
  border-radius: 2px;
}
.salta {
  position: absolute;
  left: 1rem;
  top: -100px;
  padding: 0.7rem 1rem;
  background: white;
  z-index: 3;
}
.salta:focus {
  top: 1rem;
}
header {
  background: #102b32;
  color: #edf6ef;
  padding: 2rem max(1.25rem, calc((100vw - 1220px) / 2));
}
header a {
  color: #bef0dc;
}
header a:hover {
  color: white;
}
.ritorno {
  display: inline-block;
  padding: 0.5rem 0;
}
.etichetta {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-top: 2rem;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.12;
  margin: 0.5rem 0 1rem;
}
.introduzione {
  max-width: 55ch;
  font-size: 1.18rem;
}
.impaginazione {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 2.8rem;
  max-width: 1260px;
  padding: 2rem 1.25rem;
  margin: auto;
}
nav {
  position: sticky;
  top: 1rem;
  align-self: start;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  font-size: 0.9rem;
}
nav ol {
  padding-left: 1.4rem;
}
nav a {
  display: inline-block;
  padding: 0.3rem 0;
}
main {
  min-width: 0;
}
section {
  scroll-margin-top: 1rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #c8d7cd;
}
h2 {
  font-size: 1.65rem;
  line-height: 1.3;
  margin-top: 0;
}
li {
  margin-bottom: 0.6rem;
}
figure {
  margin: 1.5rem 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #66837c;
  border-radius: 10px;
  background: #183238;
}
figcaption {
  font-size: 0.87rem;
  color: #415e59;
  margin-top: 0.5rem;
}
.nota {
  background: #e3eee3;
  border-left: 4px solid #397969;
  padding: 1rem;
}
dt {
  font-weight: 700;
  margin-top: 1.2rem;
}
dd {
  margin: 0.25rem 0 1rem;
}
.tabella {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
caption {
  text-align: left;
  font-weight: 700;
  padding-bottom: 0.5rem;
}
th,
td {
  padding: 0.65rem;
  border: 1px solid #b2c8bd;
  text-align: left;
  vertical-align: top;
}
thead {
  background: #e2ece4;
}
kbd {
  font:
    0.88em ui-monospace,
    monospace;
  background: white;
  border: 1px solid #93afa4;
  border-radius: 4px;
  padding: 0.08rem 0.3rem;
  white-space: nowrap;
}
footer {
  font-size: 0.85rem;
  color: #415e59;
  padding-bottom: 2rem;
}
@media (max-width: 850px) {
  .impaginazione {
    display: block;
  }
  nav {
    position: static;
    max-height: none;
    margin-bottom: 2rem;
    border-bottom: 1px solid #b2c8bd;
  }
  nav ol {
    columns: 2;
  }
}
@media (max-width: 480px) {
  :root {
    font-size: 16px;
  }
  nav ol {
    columns: 1;
  }
  th,
  td {
    padding: 0.4rem;
  }
}
@media print {
  :root {
    font-size: 11pt;
    color: black;
    background: white;
  }
  header {
    background: white;
    color: black;
    padding: 0;
  }
  header a,
  .salta,
  nav {
    display: none;
  }
  .impaginazione {
    display: block;
    padding: 0;
  }
  section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
  img {
    max-height: 13cm;
    object-fit: contain;
  }
  h2,
  dt {
    break-after: avoid;
  }
  figure,
  tr {
    break-inside: avoid;
  }
  a {
    color: inherit;
  }
}
