:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #102e3d;
  background: #f5f9fa;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.auto-shell {
  width: min(1160px, 100% - 64px);
  margin-inline: auto;
}
.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 24px;
}
.header > a:last-child {
  font-size: 13px;
}
.auto-hero {
  padding-block: 45px 30px;
  max-width: 1160px;
}
.eyebrow {
  font-size: 11px;
  color: #007782;
  font-weight: 700;
  letter-spacing: 1.7px;
}
h1 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -1.6px;
  max-width: 850px;
  margin: 20px 0;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
  line-height: 1.3;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
}
.lead {
  font-size: 17px;
  line-height: 1.75;
  max-width: 780px;
  color: #526e7c;
}
.notice,
.hint {
  font-size: 12px;
  line-height: 1.75;
  color: #526c79;
}
.notice {
  border-left: 3px solid #80bbc2;
  padding: 14px 18px;
  background: #e9f4f5;
  border-radius: 0 6px 6px 0;
}
.warning {
  background: #fff5df;
  border-color: #dab658;
  color: #6c4c18;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid #d6e4e8;
  border-radius: 14px;
  padding: 28px;
  min-width: 0;
  margin-bottom: 24px;
}
.panel h2:first-child {
  margin-top: 0;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}
label {
  font-size: 12px;
  font-weight: 700;
  display: block;
  line-height: 1.5;
  color: #2f5060;
}
input,
select {
  display: block;
  width: 100%;
  padding: 12px 11px;
  margin-top: 7px;
  border: 1px solid #b6ced5;
  border-radius: 7px;
  background: #fff;
  color: #143747;
  min-width: 0;
}
input[type="checkbox"] {
  display: inline-block;
  width: auto;
  margin-right: 8px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  font-size: 15px;
  font-weight: 700;
  padding: 0 0 14px;
}
fieldset + fieldset {
  border-top: 1px solid #e0eaed;
  margin-top: 24px;
  padding-top: 24px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 22px 10px;
}
button,
.action {
  padding: 12px 16px;
  border-radius: 7px;
  border: 1px solid #a8c6cf;
  background: #fff;
  color: #064254;
  font-size: 13px;
  text-decoration: none;
}
button.primary {
  background: #073c4d;
  color: #fff;
  border-color: #073c4d;
}
.wide {
  width: 100%;
}
.text-button {
  border: 0;
  background: none;
  text-decoration: underline;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.metric {
  background: #edf6f7;
  border: 1px solid #d4e7eb;
  border-radius: 10px;
  padding: 17px;
}
.metric strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.6px;
  margin-top: 9px;
  overflow-wrap: anywhere;
}
.metric span {
  font-size: 11px;
  line-height: 1.6;
  color: #506d7b;
}
.metric em {
  font-size: 11px;
  font-style: normal;
  display: block;
  color: #587383;
  margin-top: 7px;
}
.metric.important {
  background: #07394a;
  color: #fff;
}
.metric.important span,
.metric.important em {
  color: #d4edf1;
}
.table-wrap {
  overflow: auto;
  max-width: 100%;
  margin-block: 20px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  white-space: nowrap;
}
caption {
  text-align: left;
  padding-bottom: 14px;
  font-weight: 700;
  color: #245063;
  white-space: normal;
}
th,
td {
  text-align: right;
  border-bottom: 1px solid #d9e7eb;
  padding: 11px 12px;
}
th:first-child,
td:first-child {
  text-align: left;
}
thead {
  background: #edf5f7;
}
tbody th {
  font-weight: 400;
}
.bar-row {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr) 110px;
  gap: 12px;
  align-items: center;
  margin-block: 14px;
  font-size: 11px;
}
.bar-row meter {
  width: 100%;
  height: 20px;
  accent-color: #007982;
}
.bar-row strong {
  text-align: right;
}
.education {
  padding-block: 35px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 40px;
}
.article-grid p {
  font-size: 13px;
  line-height: 1.85;
  color: #536e7b;
}
.related {
  padding-block: 20px 40px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.related a {
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #cee2e7;
  text-decoration: none;
  font-size: 13px;
  background: #ebf5f7;
  line-height: 1.6;
}
.footer {
  border-top: 1px solid #d9e7ea;
  margin-top: 25px;
}
.footer nav {
  display: flex;
  gap: 20px;
  font-size: 12px;
}
.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  transform: translateY(-180%);
  background: #fff;
  padding: 14px;
  z-index: 10;
}
.skip:focus {
  transform: translateY(0);
}
#auto-status:not(:empty) {
  padding: 14px;
  border-radius: 7px;
  background: #fff0d8;
  color: #6e4719;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.7;
}
.full {
  grid-column: 1/-1;
}
.result-actions {
  border-top: 1px solid #d7e7eb;
  margin-top: 24px;
  padding-top: 10px;
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.scenario-grid .panel {
  padding: 20px;
}
.sources {
  font-size: 12px;
  line-height: 1.8;
}
.sources a {
  display: inline-block;
  margin-right: 18px;
}
.vehicle-summary {
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.skeleton {
  opacity: 0.65;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check input {
  width: auto;
  margin: 0;
}
.subsection {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #dce8ec;
}
@media (max-width: 900px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .scenario-grid {
    grid-template-columns: 1fr;
  }
  .bar-row {
    grid-template-columns: 110px minmax(0, 1fr) 100px;
  }
}
@media (max-width: 600px) {
  .auto-shell {
    width: calc(100% - 32px);
  }
  .auto-hero {
    padding-top: 25px;
  }
  h1 {
    font-size: 34px;
  }
  .lead {
    font-size: 15px;
  }
  .panel {
    padding: 21px 18px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 14px 11px;
  }
  .metric strong {
    font-size: 19px;
  }
  .article-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bar-row {
    grid-template-columns: 90px minmax(0, 1fr) 90px;
    gap: 7px;
  }
  .bar-row strong {
    font-size: 10px;
  }
  .footer nav {
    gap: 13px;
  }
  .actions button {
    flex-grow: 1;
  }
}
@media print {
  .header,
  .footer,
  .actions,
  .related,
  form,
  .notice,
  button {
    display: none !important;
  }
  .workspace {
    display: block;
  }
  .panel {
    border: 0;
  }
  .auto-shell {
    width: 100%;
  }
  .table-wrap {
    overflow: visible;
  }
  table {
    font-size: 10px;
  }
  .metric {
    break-inside: avoid;
  }
  .education {
    break-before: page;
  }
}
