* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f4f6f7;
  color: #172d35;
  font:
    15px/1.5 Inter,
    Arial,
    sans-serif;
}
header {
  background: #19363c;
  color: white;
  padding: 16px max(5%, calc((100vw - 1150px) / 2));
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 70px;
}
header strong {
  letter-spacing: 2px;
  font-size: 22px;
}
header span {
  color: #cfdfdd;
  border-left: 1px solid #648183;
  padding-left: 16px;
}
#identity {
  margin-left: auto;
}
main {
  max-width: 1200px;
  margin: 38px auto;
  padding: 0 26px;
}
h1 {
  letter-spacing: -0.035em;
  margin: 0;
  font-size: 32px;
}
h2 {
  font-size: 19px;
  margin: 0 0 14px;
}
.muted,
small {
  color: #536970;
}
small {
  display: block;
}
.panel,
.metric {
  background: white;
  border: 1px solid #d7e1e2;
  border-radius: 12px;
  padding: 20px;
}
.login {
  max-width: 410px;
  margin: 10vh auto;
}
.login h1 {
  margin-bottom: 17px;
}
.flex,
nav,
.metrics,
.tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.flex {
  justify-content: space-between;
}
.metrics {
  margin: 20px 0;
}
.metric {
  flex: 1;
  min-width: 145px;
}
.metric strong {
  display: block;
  font-size: 21px;
  margin-top: 4px;
}
nav {
  gap: 4px;
  border-bottom: 1px solid #d1dcdd;
  margin: 16px 0;
}
nav button {
  border: 0;
  background: none;
  border-radius: 0;
  font-size: 15px;
}
nav .on {
  box-shadow: inset 0 -3px #13756c;
  color: #075e58;
}
.tools {
  margin: 12px 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  background: white;
  color: #17474b;
  border: 1px solid #bac9ca;
  border-radius: 7px;
  padding: 8px 14px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: #12655d;
  color: #fff;
  border-color: #12655d;
}
label {
  display: grid;
  gap: 4px;
  margin: 8px 0;
  font-weight: 550;
}
input,
select,
textarea {
  background: white;
  color: #172d35;
  border: 1px solid #bac9ca;
  border-radius: 6px;
  padding: 8px 10px;
  max-width: 100%;
}
.login button {
  width: 100%;
  margin-top: 10px;
}
.table {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
}
th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #e0e6e7;
}
th {
  font-size: 13px;
  color: #536970;
  background: #f6f8f8;
}
td input {
  width: 80px;
}
details {
  margin: 14px 0;
}
summary {
  cursor: pointer;
  color: #12655d;
}
textarea {
  width: 100%;
}
#status:not(:empty) {
  position: fixed;
  bottom: 16px;
  left: 5%;
  right: 5%;
  margin: auto;
  max-width: 740px;
  padding: 14px 20px;
  background: #16373c;
  color: white;
  border-radius: 9px;
}
header button {
  padding: 4px 8px;
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid #9dbb21;
}
@media (max-width: 650px) {
  main {
    padding: 0 12px;
    margin: 20px auto;
  }
  .panel,
  .metric {
    padding: 12px;
  }
  header {
    padding: 12px;
    gap: 8px;
  }
  header span {
    font-size: 13px;
  }
  .metric {
    min-width: 45%;
  }
  nav {
    gap: 0;
  }
  nav button {
    padding: 7px;
  }
  .tools input {
    max-width: 185px;
  }
}

.dealer-logo{width:38px;height:38px;border-radius:6px;padding:3px;background:white}
.dealer-opening:has(.login-opening){aspect-ratio:16/9;margin:0 0 1rem}
