#comparison-panel { color: #263f37; }
.comparison-overview, .comparison-tables { min-width: 0; padding: clamp(16px, 2.2vw, 30px); }
.comparison-overview h2, .comparison-tables h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #234e40; letter-spacing: -.035em; }
.comparison-overview h2 { font-size: clamp(23px, 2.3vw, 34px); line-height: 1.17; }
.comparison-description, #comparison-status, #comparison-notice { font-size: 12px; line-height: 1.65; color: #53695d; }
.comparison-description { margin: 9px 0 14px; max-width: 85ch; }
#comparison-status { font-weight: 600; }
#comparison-notice { margin: 10px 0; padding: 10px 13px; border: 1px solid #dedfc5; border-radius: 5px; background: #f6f6ec; }
#comparison-notice p { margin: 0; }
#comparison-notice button { margin-top: 8px; }
#comparison-error { margin: 12px 0 0; }
#comparison-retry { padding: 4px 8px; border: 1px solid #b1897c; border-radius: 3px; background: white; color: #743f2f; }
.comparison-stats { display: flex; flex-wrap: wrap; gap: 13px 0; margin: 17px 0; padding: 13px 0; border-block: 1px solid #dce4d9; }
.comparison-stats > div { display: grid; align-content: start; gap: 3px; padding: 0 clamp(13px, 3vw, 42px); border-inline-start: 1px solid #dce4d9; }
.comparison-stats > div:first-child { padding-left: 0; border: 0; }
.comparison-stats strong { color: #295344; font: 400 clamp(21px, 2vw, 30px)/1.15 Georgia, serif; font-variant-numeric: lining-nums tabular-nums; }
.comparison-stats span { color: #586f60; font-size: 11px; line-height: 1.35; }
.comparison-actions, .comparison-downloads, .comparison-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; }
.comparison-actions, .comparison-heading { justify-content: space-between; }
.comparison-actions > a { color: #295f4a; font-size: 12px; text-underline-offset: 3px; }
.comparison-downloads { gap: 5px; }
.comparison-downloads > span { margin-inline-end: 4px; font-weight: 550; color: #466051; font-size: 11px; }
.comparison-downloads .download-button { padding: 6px 9px; min-height: 27px; font-size: 11px; color: #315740; }
.comparison-metadata { margin-top: 13px; color: #51695a; font-size: 11px; line-height: 1.6; }
.comparison-metadata summary { width: fit-content; cursor: pointer; }
.comparison-metadata p { margin: 7px 0; overflow-wrap: anywhere; }
.comparison-tables { margin-top: 17px; }
.comparison-tables h3 { font-size: clamp(21px, 1.8vw, 27px); }
.comparison-heading label { display: inline-flex; gap: 5px; align-items: center; color: #425d4c; font-size: 12px; }
.comparison-heading input { accent-color: #205744; }
.comparison-tables h4 { margin: 21px 0 7px; font-size: 14px; line-height: 1.5; font-weight: 600; color: #375b48; }
.comparison-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12px; line-height: 1.5; color: #435c4d; }
.comparison-table th, .comparison-table td { padding: 8px 9px; border-bottom: 1px solid #e3e9df; overflow-wrap: anywhere; }
.comparison-table thead th { font-size: 11px; font-weight: 600; color: #536b5b; background: #f3f6f0; text-align: right; }
.comparison-table th:first-child { width: 41%; text-align: left; }
.comparison-table tbody th { font-weight: 500; }
.comparison-table td { text-align: right; }
.comparison-table .comparison-value { font: 12px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.comparison-table small { display: block; font-size: 10px; line-height: 1.4; }
.comparison-origin { color: #596e5e; }
.comparison-table .comparison-change { color: #53695d; }
.comparison-table .change-higher .comparison-change { color: #285b4a; background: #eef5ee; }
.comparison-table .change-lower .comparison-change { color: #79532a; background: #faf3e7; }
.comparison-table .change-higher .comparison-value, .comparison-table .change-lower .comparison-value { font-variant-numeric: tabular-nums; }
.comparison-table tr:not(.change-same) .comparison-change .comparison-value { font-weight: 650; }
.comparison-table thead .term-help { width: 17px; min-width: 17px; height: 17px; margin-left: 4px; font-size: 10px; }
.comparison-empty { color: #5a6e60; font-size: 12px; line-height: 1.6; }
@media (max-width: 720px) {
  .comparison-stats { flex-wrap: nowrap; }
  .comparison-stats > div { flex: 1 1 0; padding-inline: 8px; }
  .comparison-stats span { font-size: 10px; }
  .comparison-stats strong { font-size: 19px; }
  .comparison-table th:first-child { width: 36%; }
  .comparison-table th, .comparison-table td { padding: 7px 4px; }
  .comparison-table .comparison-value { font-size: 11px; }
  .comparison-table thead th { vertical-align: top; }
  .comparison-table thead th > span { display: block; }
  .comparison-table thead .term-help { margin: 3px 0 0; }
}
@media (max-width: 920px) {
  :is(#comparison-inputs-title, #comparison-outputs-title, #comparison-report-downloads) { scroll-margin-top: 60px; }
}
@media (max-width: 400px) {
  .comparison-table th:first-child { width: 33%; }
  .comparison-table thead th { padding-inline: 2px; }
  .comparison-table thead th:nth-child(2) > span { white-space: nowrap; }
  .comparison-table, .comparison-description, .comparison-heading label { font-size: 11px; }
  .comparison-table thead th { font-size: 10px; }
  .comparison-overview, .comparison-tables { padding: 12px; }
}
