:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #282d29;
  background: #eeefeb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.el-body {
  margin: 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.el-site {
  width: min(100%, 1060px);
  margin: 28px auto;
  background: #fff;
  border: 1px solid #cdd2c9;
}

.el-header {
  border-top: 7px solid #405944;
}

.el-masthead {
  padding: 27px 36px 24px;
}

.el-name {
  display: inline-block;
  color: #304a35;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.el-tagline {
  margin: 7px 0 0;
  color: #4f584f;
  font-size: 0.95rem;
}

.el-domain {
  margin: 5px 0 0;
  color: #62685f;
  font-size: 0.8rem;
}

.el-nav {
  background: #f1f3ed;
  border-top: 1px solid #d4dacd;
  border-bottom: 1px solid #c6cfbf;
}

.el-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0 22px;
  list-style: none;
}

.el-menu li {
  min-width: 0;
  max-width: 100%;
}

.el-menu a {
  display: block;
  padding: 12px 10px 10px;
  border-bottom: 3px solid transparent;
  color: #344335;
  font-size: 0.85rem;
  line-height: 1.4;
  text-decoration: none;
}

.el-menu a:hover,
.el-menu a:focus-visible {
  background: #e4e9df;
  text-decoration: underline;
}

.el-menu a[aria-current="page"] {
  border-bottom-color: #405944;
  background: #e4e9df;
  font-weight: 700;
}

.el-main {
  width: 100%;
  max-width: 826px;
  margin: 0 auto;
  padding: 38px 36px 44px;
}

h1,
h2 {
  color: #304a35;
  line-height: 1.3;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  margin: 0 0 15px;
  font-size: 1.3rem;
  font-weight: 700;
}

p {
  margin: 0 0 16px;
}

a {
  color: #315a3e;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: #1d3d27;
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #99600b;
  outline-offset: 3px;
}

.el-kicker {
  margin-bottom: 9px;
  color: #646b60;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.el-intro {
  margin-bottom: 26px;
  color: #414940;
  font-size: 1.075rem;
}

.el-breadcrumb {
  margin-bottom: 17px;
  color: #62685f;
  font-size: 0.85rem;
}

.el-photo {
  margin: 28px 0 32px;
}

.el-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border: 1px solid #d0d3ca;
}

.el-photo-small img {
  max-height: 270px;
}

.el-photo figcaption {
  margin-top: 7px;
  color: #60665d;
  font-size: 0.8rem;
  line-height: 1.5;
}

.el-box {
  margin: 30px 0;
  padding: 23px 25px;
  background: #f2f4ec;
  border: 1px solid #cbd3c1;
  border-left: 4px solid #6c7d58;
}

.el-box p:last-child,
.el-example p:last-child,
.el-section > :last-child {
  margin-bottom: 0;
}

.el-steps {
  margin: 0;
  padding-left: 24px;
}

.el-steps li {
  padding-left: 4px;
  margin-bottom: 15px;
}

.el-steps li:last-child {
  margin-bottom: 0;
}

.el-steps li::marker {
  color: #405944;
  font-weight: 700;
}

.el-section {
  margin-top: 34px;
  padding-top: 27px;
  border-top: 1px solid #d9ddd3;
  scroll-margin-top: 20px;
}

.el-topic-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9ddd3;
}

.el-topic-list li {
  padding: 13px 0;
  border-bottom: 1px solid #d9ddd3;
}

.el-topic-list a {
  font-weight: 700;
}

.el-topic-list span {
  display: block;
  margin-top: 2px;
  color: #5b6258;
  font-size: 0.9rem;
}

.el-example {
  margin: 21px 0;
  padding: 17px 20px;
  background: #f7f5ef;
  border: 1px solid #ded9cb;
}

.el-note {
  padding-left: 15px;
  border-left: 3px solid #a7b198;
  color: #4d574b;
}

.el-small,
.el-help {
  color: #596153;
  font-size: 0.85rem;
  line-height: 1.6;
}

.el-list {
  margin: 17px 0;
  padding-left: 23px;
}

.el-list li {
  margin: 7px 0;
}

.el-formula {
  margin: 25px 0;
  padding: 21px 24px;
  background: #f2f4ec;
  border: 1px solid #cbd3c1;
}

.el-formula > p:first-child {
  margin-bottom: 7px;
  color: #304a35;
  font-size: 1.4rem;
}

.el-formula > p:last-child {
  margin-bottom: 0;
}

.el-calculator {
  margin: 24px 0;
}

.el-calculator[hidden] {
  display: none;
}

.el-fieldset {
  min-width: 0;
  margin: 0;
  padding: 20px 23px 22px;
  border: 1px solid #aebaa4;
  background: #fafbf7;
}

.el-fieldset legend {
  max-width: 100%;
  padding: 0 8px;
  color: #304a35;
  font-weight: 700;
}

.el-field {
  margin-bottom: 20px;
}

.el-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.el-field input,
.el-field select {
  display: block;
  width: 100%;
  max-width: 310px;
  min-width: 0;
  min-height: 46px;
  padding: 10px 11px;
  border: 1px solid #7b8872;
  border-radius: 0;
  background: #fff;
  color: #282d29;
  font: inherit;
  line-height: 1.4;
}

.el-field input[aria-invalid="true"] {
  border: 2px solid #9b422f;
}

.el-field input::placeholder {
  color: #6e7469;
  opacity: 1;
}

.el-help {
  margin: 7px 0 0;
}

.el-button {
  display: inline-block;
  max-width: 100%;
  min-height: 46px;
  padding: 11px 19px;
  border: 1px solid #304a35;
  border-radius: 0;
  background: #405944;
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

.el-button:hover {
  background: #304a35;
}

.el-result {
  display: block;
  margin-top: 22px;
  padding: 15px 0 0;
  border-top: 1px solid #cbd3c1;
  color: #304a35;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.el-table {
  width: 100%;
  margin: 20px 0 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

.el-table caption {
  padding: 0 0 10px;
  color: #4d574b;
  font-size: 0.9rem;
  text-align: left;
}

.el-table th,
.el-table td {
  padding: 9px 15px;
  border: 1px solid #cdd4c5;
  text-align: right;
}

.el-table thead th {
  background: #e7ecdf;
  color: #304a35;
}

.el-table tbody th {
  font-weight: 400;
}

.el-table tbody tr:nth-child(even) {
  background: #f5f7f1;
}

.el-footer {
  padding: 25px 36px;
  border-top: 1px solid #ccd3c3;
  background: #f1f3ed;
  color: #50594b;
  font-size: 0.8rem;
}

.el-footer p {
  margin: 0 0 7px;
}

.el-footer p:last-child {
  margin-bottom: 0;
}

.el-footer-name {
  font-weight: 700;
}

.el-table-text th,
.el-table-text td {
  text-align: left;
  vertical-align: top;
}

.el-table-text {
  table-layout: auto;
}

.el-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.el-section h3 {
  margin: 24px 0 10px;
  color: #304a35;
  font-size: 1.08rem;
  line-height: 1.35;
}

.el-sources {
  margin-top: 34px;
  padding-top: 15px;
  border-top: 1px dashed #c3cab9;
  color: #596153;
  font-size: 0.85rem;
}

.el-sources p {
  margin-bottom: 6px;
}

.el-footer-links a {
  color: #344335;
}

.el-404 {
  font-size: 3.2rem;
  font-weight: 700;
  color: #a7b198;
  line-height: 1;
  margin-bottom: 12px;
}

.el-skip {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  padding: 9px 14px;
  background: #fff;
  border: 2px solid #405944;
  transform: translateY(-180%);
}

.el-skip:focus {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .el-site {
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
  }

  .el-masthead {
    padding: 23px 20px 20px;
  }

  .el-name {
    font-size: 1.9rem;
  }

  .el-tagline {
    font-size: 0.85rem;
  }

  .el-menu {
    padding: 0 10px;
  }

  .el-menu a {
    padding: 11px 10px 9px;
    font-size: 0.8rem;
  }

  .el-main {
    padding: 28px 20px 34px;
  }

  .el-intro {
    font-size: 1rem;
  }

  .el-box {
    padding: 20px 17px;
  }

  .el-photo {
    margin: 24px 0 28px;
  }

  .el-section {
    margin-top: 29px;
    padding-top: 24px;
  }

  .el-example,
  .el-formula {
    padding: 17px;
  }

  .el-fieldset {
    padding: 17px 15px 20px;
  }

  .el-field input,
  .el-field select {
    max-width: 100%;
  }

  .el-button {
    width: 100%;
  }

  .el-table th,
  .el-table td {
    padding: 9px 12px;
  }

  .el-footer {
    padding: 23px 20px;
  }
}

@media print {
  :root {
    background: #fff;
    color: #000;
  }

  .el-site {
    width: 100%;
    margin: 0;
    border: 0;
  }

  .el-nav,
  .el-skip,
  .el-calculator {
    display: none;
  }

  .el-main {
    max-width: none;
    padding: 20px 0;
  }

  .el-masthead,
  .el-footer {
    padding-right: 0;
    padding-left: 0;
  }

  .el-photo img {
    max-height: 220px;
  }

  .el-box,
  .el-example,
  .el-formula,
  .el-table tr {
    break-inside: avoid;
  }

  .el-table thead {
    display: table-header-group;
  }

  a {
    color: #000;
  }
}
