:root {
  color-scheme: light;
  font:
    15px/1.5 Inter,
    system-ui,
    sans-serif;
  color: #202b31;
  background: #f7f8f6;
  --line: #dce1dc;
  --green: #145b4c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 65px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 clamp(20px, 4vw, 56px);
}
header > span {
  border-left: 1px solid var(--line);
  padding-left: 14px;
  color: #52605b;
}
.brand {
  font-size: 24px;
  letter-spacing: -1.6px;
}
.brand span {
  color: #17a482;
}
.end {
  margin-left: auto;
}
button,
select {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #269987;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.55;
}
.primary,
.quiet,
.seg button {
  border: 0;
  border-radius: 8px;
  font-weight: 650;
}
.primary {
  color: white;
  background: var(--green);
  padding: 11px 20px;
}
.quiet {
  padding: 7px 12px;
  color: var(--green);
  background: #eff4f1;
}
.layout {
  max-width: 1450px;
  margin: auto;
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  padding: 36px clamp(20px, 4vw, 56px);
}
aside label {
  display: block;
  color: #54635d;
  font-size: 13px;
  font-weight: 600;
}
select {
  width: 100%;
  margin: 7px 0 24px;
  padding: 8px;
  border: 1px solid #bdc9c2;
  border-radius: 7px;
  background: white;
}
nav a {
  display: block;
  padding: 8px 0;
  color: #315b50;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
main {
  min-width: 0;
}
section {
  margin-bottom: 32px;
  scroll-margin-top: 18px;
}
.section-head,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
p,
footer {
  color: #58675f;
}
h1 + p {
  margin-top: 5px;
}
.seg {
  display: inline-flex;
  background: #e6ebe7;
  border-radius: 8px;
  padding: 3px;
}
.seg button {
  background: transparent;
  padding: 6px 12px;
  color: #46584f;
}
.seg [aria-pressed='true'] {
  background: white;
  color: var(--green);
  box-shadow: 0 1px 3px #253c371c;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
article,
.scroll,
.lines,
.login-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
article {
  padding: clamp(12px, 2vw, 24px);
}
article span {
  display: block;
  color: #53645b;
  font-size: 14px;
}
article strong {
  display: block;
  font-size: clamp(26px, 4vw, 40px);
  font-variant-numeric: tabular-nums;
}
.scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th,
td {
  padding: 11px 16px;
  white-space: nowrap;
}
th {
  font-size: 12px;
  color: #526259;
  background: #f0f3f0;
}
td {
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.empty {
  color: #627169;
}
.feedback:empty {
  display: none;
}
.feedback {
  color: #8e4916;
  margin-top: 12px;
}
#stores > p {
  margin: -6px 0 12px;
}
.lines {
  margin-top: 12px;
  padding: 2px 16px;
}
.lines > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 0;
}
.lines > div + div {
  border-top: 1px solid var(--line);
}
.lines b {
  font-weight: 550;
}
footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 13px;
}
.login-card {
  max-width: 440px;
  margin: 12vh auto 0;
  padding: 32px;
}
.login-card h1 {
  font-size: 30px;
}
.login-card p {
  margin: 10px 0 18px;
}
@media (max-width: 760px) {
  .layout {
    grid-template-columns: 1fr;
    padding-top: 18px;
    gap: 22px;
  }
  aside {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  aside select {
    margin: 0;
    width: auto;
    min-width: 140px;
  }
  nav {
    display: none;
  }
  .metrics {
    gap: 6px;
  }
  article span {
    font-size: 12px;
  }
  .login-card {
    margin: 12vh 16px 0;
  }
}
@media (min-width: 480px) and (max-width: 760px) {
  .login-card {
    margin-inline: auto;
  }
}
