.tn-car-cost-page .tn-article-list {
  display: block;
  gap: normal;
}

.tn-car-cost-page .tn-article-list li {
  border-left: 0;
  padding-left: 0;
}

.tn-car-cost-pane > * { margin-block: 0; }
.tn-car-cost-pane { display: flex; flex-direction: column; gap: 10px; }
.tn-car-cost-result-card { margin-bottom: 0; }
.tn-car-cost-diff { margin: 0; }
.tn-car-cost-breakdown { margin-top: 0; }
.tn-car-cost-status { margin: 0; text-align: center; }

.tn-car-cost-actions button {
  font-family: 'Courier New', Courier, monospace !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  padding: 0 10px !important;
  display: grid !important;
  place-items: center !important;
  outline: none;
}

.tn-car-cost-actions button:focus-visible {
  outline: 2px solid var(--tn-accent);
  outline-offset: 2px;
}

.tn-car-cost-visual {
  border: 1px solid var(--tn-soft-line);
  background: rgba(245,239,223,.58);
  padding: 9px;
  display: grid;
  gap: 8px;
}

.tn-car-cost-visual[aria-disabled="true"] {
  display: none;
}

.tn-car-cost-visual section {
  display: grid;
  gap: 5px;
}

.tn-car-cost-visual p {
  margin: 0;
  color: var(--tn-muted);
  font: 950 11px/1.2 'Courier New', Courier, monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tn-car-cost-visual-row {
  display: grid;
  grid-template-columns: minmax(42px, max-content) minmax(0, 1fr) max-content;
  gap: 7px;
  align-items: center;
  min-width: 0;
  color: var(--tn-ink);
  font: 800 12px/1.15 'Courier New', Courier, monospace;
}

.tn-car-cost-visual-row span,
.tn-car-cost-visual-row strong {
  overflow-wrap: anywhere;
}

.tn-car-cost-visual-row i {
  display: block;
  min-width: 0;
  height: 9px;
  border: 1px solid var(--tn-line);
  background: var(--tn-paper);
  overflow: hidden;
}

.tn-car-cost-visual-row b {
  display: block;
  height: 100%;
  min-width: 2px;
  background: var(--tn-accent);
}

.tn-car-cost-visual-row:nth-of-type(2) b {
  background: var(--tn-muted);
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .tn-car-cost-page .tn-car-cost-visual,
html:is([data-scheme="dark"], [data-scheme="inverse"]) body:not([data-scheme="light"]) .tn-car-cost-page .tn-car-cost-visual {
  background: #2c2319;
  color: #f3e7d3;
  -webkit-text-fill-color: currentColor;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .tn-car-cost-page .tn-car-cost-visual-row i,
html:is([data-scheme="dark"], [data-scheme="inverse"]) body:not([data-scheme="light"]) .tn-car-cost-page .tn-car-cost-visual-row i {
  background: #211a13;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .tn-car-cost-page .tn-car-cost-visual-row b,
html:is([data-scheme="dark"], [data-scheme="inverse"]) body:not([data-scheme="light"]) .tn-car-cost-page .tn-car-cost-visual-row b {
  background: #824826;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .tn-car-cost-page .tn-car-cost-visual-row:nth-of-type(2) b,
html:is([data-scheme="dark"], [data-scheme="inverse"]) body:not([data-scheme="light"]) .tn-car-cost-page .tn-car-cost-visual-row:nth-of-type(2) b {
  background: #826744;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .tn-car-cost-actions .tn-car-cost-primary,
html:is([data-scheme="dark"], [data-scheme="inverse"]) body:not([data-scheme="light"]) .tn-car-cost-actions .tn-car-cost-primary {
  background: #6a3b1f;
  border-color: #6a3b1f;
  color: #f7ead1;
  -webkit-text-fill-color: #f7ead1;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .tn-car-cost-actions .tn-car-cost-primary:hover,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .tn-car-cost-actions .tn-car-cost-primary:focus-visible,
html:is([data-scheme="dark"], [data-scheme="inverse"]) body:not([data-scheme="light"]) .tn-car-cost-actions .tn-car-cost-primary:hover,
html:is([data-scheme="dark"], [data-scheme="inverse"]) body:not([data-scheme="light"]) .tn-car-cost-actions .tn-car-cost-primary:focus-visible {
  background: #824826;
  border-color: #824826;
  color: #f7ead1;
  -webkit-text-fill-color: #f7ead1;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .tn-car-cost-actions .tn-car-cost-secondary,
html:is([data-scheme="dark"], [data-scheme="inverse"]) body:not([data-scheme="light"]) .tn-car-cost-actions .tn-car-cost-secondary {
  background: #2f2115;
  border-color: #826744;
  color: #f7ead1;
  -webkit-text-fill-color: #f7ead1;
}

body:is([data-scheme="dark"], [data-scheme="inverse"]) .tn-car-cost-actions .tn-car-cost-secondary:hover,
body:is([data-scheme="dark"], [data-scheme="inverse"]) .tn-car-cost-actions .tn-car-cost-secondary:focus-visible,
html:is([data-scheme="dark"], [data-scheme="inverse"]) body:not([data-scheme="light"]) .tn-car-cost-actions .tn-car-cost-secondary:hover,
html:is([data-scheme="dark"], [data-scheme="inverse"]) body:not([data-scheme="light"]) .tn-car-cost-actions .tn-car-cost-secondary:focus-visible {
  background: #3a2a1b;
  border-color: #826744;
  color: #f7ead1;
  -webkit-text-fill-color: #f7ead1;
}

@media (prefers-color-scheme: dark) {
  body[data-scheme="auto"] .tn-car-cost-page .tn-car-cost-visual,
  html[data-scheme="auto"] body:not([data-scheme="light"]) .tn-car-cost-page .tn-car-cost-visual {
    background: #2c2319;
    color: #f3e7d3;
    -webkit-text-fill-color: currentColor;
  }

  body[data-scheme="auto"] .tn-car-cost-page .tn-car-cost-visual-row i,
  html[data-scheme="auto"] body:not([data-scheme="light"]) .tn-car-cost-page .tn-car-cost-visual-row i { background: #211a13; }
  body[data-scheme="auto"] .tn-car-cost-page .tn-car-cost-visual-row b,
  html[data-scheme="auto"] body:not([data-scheme="light"]) .tn-car-cost-page .tn-car-cost-visual-row b { background: #824826; }
  body[data-scheme="auto"] .tn-car-cost-page .tn-car-cost-visual-row:nth-of-type(2) b,
  html[data-scheme="auto"] body:not([data-scheme="light"]) .tn-car-cost-page .tn-car-cost-visual-row:nth-of-type(2) b { background: #826744; }
  body[data-scheme="auto"] .tn-car-cost-actions .tn-car-cost-primary,
  html[data-scheme="auto"] body:not([data-scheme="light"]) .tn-car-cost-actions .tn-car-cost-primary { background: #6a3b1f; border-color: #6a3b1f; color: #f7ead1; -webkit-text-fill-color: #f7ead1; }
  body[data-scheme="auto"] .tn-car-cost-actions .tn-car-cost-primary:hover,
  body[data-scheme="auto"] .tn-car-cost-actions .tn-car-cost-primary:focus-visible,
  html[data-scheme="auto"] body:not([data-scheme="light"]) .tn-car-cost-actions .tn-car-cost-primary:hover,
  html[data-scheme="auto"] body:not([data-scheme="light"]) .tn-car-cost-actions .tn-car-cost-primary:focus-visible { background: #824826; border-color: #824826; color: #f7ead1; -webkit-text-fill-color: #f7ead1; }
  body[data-scheme="auto"] .tn-car-cost-actions .tn-car-cost-secondary,
  html[data-scheme="auto"] body:not([data-scheme="light"]) .tn-car-cost-actions .tn-car-cost-secondary { background: #2f2115; border-color: #826744; color: #f7ead1; -webkit-text-fill-color: #f7ead1; }
  body[data-scheme="auto"] .tn-car-cost-actions .tn-car-cost-secondary:hover,
  body[data-scheme="auto"] .tn-car-cost-actions .tn-car-cost-secondary:focus-visible,
  html[data-scheme="auto"] body:not([data-scheme="light"]) .tn-car-cost-actions .tn-car-cost-secondary:hover,
  html[data-scheme="auto"] body:not([data-scheme="light"]) .tn-car-cost-actions .tn-car-cost-secondary:focus-visible { background: #3a2a1b; border-color: #826744; color: #f7ead1; -webkit-text-fill-color: #f7ead1; }
}

@media (max-width: 390px) {
  .tn-car-cost-visual { padding: 8px; }
  .tn-car-cost-visual-row { grid-template-columns: minmax(34px, max-content) minmax(0, 1fr); gap: 5px; }
  .tn-car-cost-visual-row strong { grid-column: 2; }
}
