/* Industrial selection workspace: navy, warm gold and readable white forms. */
.sa-page {
  --sa-navy: #0b2937;
  --sa-deep: #071f2b;
  --sa-gold: #e7bc90;
  --sa-gold-dark: #9a6d3f;
  --sa-ink: #173445;
  --sa-muted: #586e7c;
  --sa-line: #d8e2e7;
  margin: 0;
  padding: 0 0 calc(120px + env(safe-area-inset-bottom, 0px));
  background: #f2f5f6;
  color: var(--sa-ink);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.sa-page *, .sa-page *::before, .sa-page *::after { box-sizing: border-box; }
.sa-page[hidden], .sa-page [hidden] { display: none !important; }
.sa-page .container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.sa-page h1, .sa-page h2, .sa-page h3, .sa-page p { margin: 0; }
.sa-page h1, .sa-page h2, .sa-page h3 { font-weight: 600; }
.sa-page p { color: var(--sa-muted); font-size: 16px; line-height: 1.8; }
.sa-page button, .sa-page input, .sa-page select, .sa-page textarea { font: inherit; }
.sa-page button, .sa-page a { -webkit-tap-highlight-color: transparent; }
.sa-page button:disabled { cursor: not-allowed; opacity: .55; }
.sa-page :is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid #b17c47;
  outline-offset: 4px;
}

.sa-page .sa-intro {
  padding: 30px 0 42px;
  color: #fff;
  background: linear-gradient(115deg, var(--sa-deep), #123948);
  border-bottom: 1px solid #34515d;
}
.sa-page .sa-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 27px;
  color: #b2c7ce;
  font-size: 14px;
  line-height: 1.6;
}
.sa-page .sa-breadcrumb a { color: #d3e0e5; text-underline-offset: 4px; }
.sa-page .sa-breadcrumb a:hover { color: var(--sa-gold); text-decoration: underline; }
.sa-page .sa-eyebrow {
  margin-bottom: 12px;
  color: var(--sa-gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
}
.sa-page .sa-intro h1 { max-width: 24em; font-size: clamp(29px, 3.2vw, 43px); line-height: 1.4; letter-spacing: -.025em; }
.sa-page .sa-intro p { max-width: 54em; margin-top: 15px; color: #c3d5dc; font-size: 16px; }
.sa-page .sa-workspace { padding-top: 30px; }
.sa-page .sa-mode-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 26px;
  padding: 5px;
  border: 1px solid #d4e0e6;
  border-radius: 8px;
  background: #e7edef;
}
.sa-page .sa-mode-nav button {
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #3e5968;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  white-space: normal;
  transition: background-color .18s, color .18s;
}
.sa-page .sa-mode-nav button:hover { background: #f8fafb; }
.sa-page .sa-mode-nav button[aria-pressed="true"] {
  border-color: #183e4d;
  background: var(--sa-navy);
  color: var(--sa-gold);
  box-shadow: 0 2px 5px #102c3712;
}
.sa-page .sa-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: 24px; }
.sa-page .sa-layout > *, .sa-page .sa-fields > *, .sa-page .sa-context-grid > * { min-width: 0; }
.sa-page .sa-form-card {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--sa-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 28px #16374805;
}
.sa-page h2 { font-size: 24px; line-height: 1.45; letter-spacing: -.02em; }
.sa-page h3 { font-size: 18px; line-height: 1.55; }
.sa-page .sa-help { display: block; margin-top: 9px; color: var(--sa-muted); font-size: 14px; line-height: 1.8; }
.sa-page .sa-fields, .sa-page .sa-context-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 18px; }
.sa-page .sa-fields { margin-top: 23px; }
.sa-page .sa-context-grid { margin: 23px 0; }
.sa-page .sa-wide { grid-column: 1 / -1; }
.sa-page .sa-field { display: flex; min-width: 0; flex-direction: column; gap: 8px; color: var(--sa-ink); font-size: 15px; font-weight: 500; line-height: 1.6; }
.sa-page .sa-field > span { display: block; font-size: 15px; }
.sa-page .sa-field :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 49px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #bbcbd4;
  border-radius: 5px;
  background: #fff;
  color: #173445;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  box-shadow: inset 0 1px 2px #0b293704;
  transition: border-color .18s, box-shadow .18s;
}
.sa-page .sa-field select { padding-right: 30px; cursor: pointer; }
.sa-page .sa-field textarea { min-height: 104px; resize: vertical; }
.sa-page .sa-field input::placeholder, .sa-page .sa-field textarea::placeholder { color: #718491; opacity: 1; }
.sa-page .sa-field :is(input, select, textarea):hover { border-color: #728d9d; }
.sa-page .sa-field :is(input, select, textarea):focus { border-color: #a87a4d; box-shadow: 0 0 0 3px #b88d5d19; }
.sa-page .sa-field [aria-invalid="true"] { border-color: #b74b3c; background: #fffaf8; }
.sa-page .sa-field :is(input, select, textarea):disabled { background: #edf2f4; color: #6a7d89; cursor: not-allowed; }
.sa-page .sa-hint { display: block; color: #617582; font-size: 13px; font-weight: 400; line-height: 1.75; }
.sa-page .sa-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 24px 0; }
.sa-page .sa-types button {
  min-width: 0;
  min-height: 81px;
  padding: 14px 10px;
  border: 1px solid #d0dde4;
  border-radius: 6px;
  background: #f7f9fa;
  color: #294858;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  transition: border-color .18s, background-color .18s;
}
.sa-page .sa-types button small { display: block; margin-top: 5px; color: #637986; font-size: 13px; font-weight: 400; line-height: 1.6; }
.sa-page .sa-types button:hover { border-color: #ad8b64; background: #fcfaf6; }
.sa-page .sa-types button[aria-pressed="true"] { border-color: #ad8256; background: #faf2e8; color: #604222; box-shadow: inset 0 0 0 1px #ad8256; }
.sa-page .sa-types button[aria-pressed="true"] small { color: #7c6042; }
.sa-page .sa-actions, .sa-page .sa-result-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 11px; margin-top: 26px; }
.sa-page .sa-primary, .sa-page .sa-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 49px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: background-color .18s, border-color .18s;
}
.sa-page .sa-primary { border-color: #d8ad7f; background: var(--sa-gold); color: #142c39; }
.sa-page .sa-primary:hover { border-color: #eac49e; background: #f1cba5; }
.sa-page .sa-secondary { border-color: #b7c9d3; background: #fff; color: #244658; }
.sa-page .sa-secondary:hover { border-color: #819ba9; background: #eff4f6; }

.sa-page .sa-result {
  min-width: 0;
  padding: 32px;
  border: 1px solid #36535f;
  border-radius: 10px;
  background: linear-gradient(145deg, #113443, var(--sa-deep));
  color: #f0f6f8;
  box-shadow: 0 12px 32px #09263310;
}
.sa-page .sa-result h2, .sa-page .sa-result h3 { color: #f0f6f8; }
.sa-page .sa-result p { margin-top: 13px; color: #c2d3da; }
.sa-page .sa-result .sa-help, .sa-page .sa-result .sa-hint { color: #b6cbd4; }
.sa-page .sa-result-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 19px; color: var(--sa-gold); font-size: 14px; font-weight: 600; line-height: 1.6; letter-spacing: .03em; }
.sa-page .sa-result-label::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.sa-page .sa-result[data-status="empty"] .sa-result-label { color: #b6cad3; }
.sa-page .sa-result[data-status="invalid"] { border-color: #bf8e78; }
.sa-page .sa-result[data-status="invalid"] .sa-result-label { color: #f2b29c; }
.sa-page .sa-value { margin: 18px 0 8px; color: var(--sa-gold); font: 600 clamp(30px, 3vw, 43px)/1.25 Arial, "Microsoft YaHei", sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.sa-page .sa-value small { display: inline-block; margin-left: 7px; color: #cfdee4; font-size: 15px; font-weight: 400; line-height: 1.6; letter-spacing: 0; }
.sa-page .sa-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 23px; }
.sa-page .sa-result-metric { min-width: 0; padding: 17px 15px; border: 1px solid #45616d; border-radius: 5px; background: #ffffff05; }
.sa-page .sa-result-metric > span, .sa-page .sa-result-metric > small { display: block; color: #c4d6de; font-size: 13px; line-height: 1.65; }
.sa-page .sa-result-metric > strong, .sa-page .sa-result-metric > b { display: block; margin-top: 8px; color: #f2f7f9; font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.45; }
.sa-page .sa-result-metric .sa-value { margin-top: 8px; font-size: 28px; }
.sa-page .sa-result-metric small { font-size: 13px; }
.sa-page .sa-series-list { display: grid; gap: 10px; margin-top: 21px; }
.sa-page .sa-series-list a { display: block; min-width: 0; padding: 17px 18px; border: 1px solid #496775; border-radius: 5px; background: #ffffff06; color: #e6eff3; font-size: 16px; line-height: 1.65; transition: border-color .18s, background-color .18s; }
.sa-page .sa-series-list a:hover { border-color: #c8a681; background: #e7bc9010; }
.sa-page .sa-series-list a strong { color: var(--sa-gold); font-weight: 600; }
.sa-page .sa-series-list a small { display: block; margin-top: 5px; color: #bcd0d8; font-size: 13px; line-height: 1.7; }
.sa-page .sa-callout { margin-top: 21px; padding: 15px 16px; border: 1px solid #e0d2be; border-left: 3px solid #b68d60; border-radius: 3px; background: #fcf8f1; color: #70583d; font-size: 14px; line-height: 1.85; }
.sa-page .sa-callout p { color: inherit; font-size: inherit; }
.sa-page .sa-result .sa-callout { border-color: #7a705f; border-left-color: var(--sa-gold); background: #e7bc9009; color: #e6d2ba; }
.sa-page .sa-errors { margin-top: 18px; padding: 14px 17px; border: 1px solid #e6c7bc; border-radius: 4px; background: #fff7f2; color: #8e3d2b; font-size: 14px; line-height: 1.8; }
.sa-page .sa-errors:empty { display: none; }
.sa-page .sa-errors ul { margin: 0; padding-left: 20px; }
.sa-page .sa-result .sa-errors { border-color: #936c5e; background: #ca775814; color: #f0c4b1; }
.sa-page .sa-assumptions { margin-top: 24px; padding-top: 17px; border-top: 1px solid #46616d; }
.sa-page .sa-assumptions summary { padding: 4px 25px 4px 0; color: #d4e0e5; font-size: 14px; }
.sa-page .sa-assumptions ul { margin: 12px 0 0; padding-left: 19px; color: #b9ced7; font-size: 13px; line-height: 1.9; }
.sa-page .sa-assumptions li + li { margin-top: 6px; }
.sa-page .sa-empty-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 5px 0 23px; border: 1px solid #66808b; border-radius: 8px; color: #c6a885; font-size: 26px; line-height: 1; }
.sa-page .sa-empty-icon svg { width: 27px; height: 27px; }
.sa-page .sa-result .sa-secondary { border-color: #76909c; background: transparent; color: #e2edf1; }
.sa-page .sa-result .sa-secondary:hover { border-color: #c2a681; background: #ffffff0a; }
.sa-page .sa-result :is(button, a, summary):focus-visible { outline-color: #f1cba5; }
.sa-page .sa-result-actions > * { flex: 1 1 150px; }

.sa-page .sa-methods { display: grid; gap: 12px; margin-top: 30px; }
.sa-page .sa-methods details { min-width: 0; padding: 0 26px; border: 1px solid var(--sa-line); border-radius: 7px; background: #fff; }
.sa-page .sa-methods summary { padding: 20px 28px 20px 0; color: #234555; font-size: 16px; font-weight: 600; }
.sa-page .sa-assumptions summary, .sa-page .sa-methods summary { position: relative; cursor: pointer; list-style: none; line-height: 1.7; }
.sa-page .sa-assumptions summary::-webkit-details-marker, .sa-page .sa-methods summary::-webkit-details-marker { display: none; }
.sa-page .sa-assumptions summary::after, .sa-page .sa-methods summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: #ad8256; font-size: 22px; font-weight: 400; }
.sa-page .sa-assumptions[open] > summary::after, .sa-page .sa-methods details[open] > summary::after { content: "−"; }
.sa-page .sa-methods details[open] { padding-bottom: 23px; }
.sa-page .sa-methods p { margin-top: 0; font-size: 15px; }
.sa-page .sa-methods p + p { margin-top: 12px; }
.sa-page .sa-methods ul, .sa-page .sa-methods ol { margin: 10px 0 0; padding-left: 22px; color: var(--sa-muted); font-size: 15px; line-height: 1.85; }
.sa-page .sa-methods li + li { margin-top: 7px; }

/* Entry points are the only styles intentionally outside the tool page. */
.sa-entry, .sa-hero-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid #c5a27b;
  border-radius: 4px;
  background: #f8eee1;
  color: #183747;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background-color .18s, border-color .18s;
}
.sa-entry:hover { border-color: #ad8256; background: #f0dfc9; color: #183747; }
.sa-hero-entry { border-color: #bf9a72; background: #e7bc90; color: #142c39; }
.sa-hero-entry:hover { border-color: #edc49b; background: #f1cba5; color: #142c39; }
.sa-entry:focus-visible, .sa-hero-entry:focus-visible { outline: 3px solid #b17c47; outline-offset: 4px; }
.sa-entry svg, .sa-hero-entry svg { flex-shrink: 0; width: 18px; height: 18px; }

@media (max-width: 1100px) {
  .sa-page .sa-form-card, .sa-page .sa-result { padding: 26px; }
  .sa-page .sa-layout { gap: 20px; }
}
@media (max-width: 900px) {
  .sa-page .sa-layout { grid-template-columns: minmax(0, 1fr); }
  .sa-page .sa-result { position: static; }
  .sa-page .sa-intro { padding-bottom: 34px; }
  .sa-page .sa-value { font-size: 39px; }
}
@media (max-width: 600px) {
  .sa-page .container { width: calc(100% - 32px); }
  .sa-page .sa-intro { padding: 21px 0 30px; }
  .sa-page .sa-breadcrumb { margin-bottom: 22px; font-size: 13px; }
  .sa-page .sa-intro h1 { font-size: 29px; }
  .sa-page .sa-intro p { margin-top: 12px; }
  .sa-page .sa-workspace { padding-top: 22px; }
  .sa-page .sa-mode-nav { width: 100%; gap: 4px; margin-bottom: 20px; }
  .sa-page .sa-mode-nav button { flex: 1 1 0; min-width: 0; padding: 10px 9px; font-size: 15px; }
  .sa-page .sa-form-card, .sa-page .sa-result { padding: 23px 20px; border-radius: 7px; }
  .sa-page h2 { font-size: 22px; }
  .sa-page .sa-fields, .sa-page .sa-context-grid { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .sa-page .sa-types { gap: 7px; margin: 21px 0; }
  .sa-page .sa-types button { padding: 12px 9px; font-size: 16px; }
  .sa-page .sa-types button small { font-size: 13px; }
  .sa-page .sa-actions > * { flex: 1 1 140px; }
  .sa-page .sa-primary, .sa-page .sa-secondary { padding: 12px 14px; font-size: 15px; }
  .sa-page .sa-value { font-size: 35px; }
  .sa-page .sa-result-grid { gap: 10px; }
  .sa-page .sa-result-metric { padding: 14px 12px; }
  .sa-page .sa-result-metric > strong, .sa-page .sa-result-metric > b { font-size: 19px; }
  .sa-page .sa-methods { gap: 10px; margin-top: 22px; }
  .sa-page .sa-methods details { padding-inline: 20px; }
  .sa-page .sa-methods summary { padding-block: 17px; font-size: 15px; }
  .sa-entry, .sa-hero-entry { min-height: 46px; padding: 11px 15px; font-size: 15px; }
}
@media (max-width: 360px) {
  .sa-page .container { width: calc(100% - 24px); }
  .sa-page .sa-form-card, .sa-page .sa-result { padding: 21px 16px; }
  .sa-page .sa-result-grid { grid-template-columns: minmax(0, 1fr); }
  .sa-page .sa-types button { padding-inline: 7px; }
  .sa-page .sa-actions, .sa-page .sa-result-actions { flex-direction: column; }
  .sa-page .sa-actions > *, .sa-page .sa-result-actions > * { flex-basis: auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sa-page *, .sa-entry, .sa-hero-entry { transition: none !important; }
}

/* Retrofit comparison: keep both systems readable within the existing form. */
.sa-page .sa-intro h1 { max-width: none; width: auto; white-space: normal; }
.sa-page.sa-comparing .sa-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.sa-page .cmp-baseline {
  min-width: 0;
  margin: 25px 0;
  padding: 22px;
  border: 1px solid #d9e4e8;
  border-radius: 7px;
  background: #f2f6f7;
}
.sa-page .cmp-baseline h3 { margin: 0; color: #1e4354; font-size: 18px; }
.sa-page .cmp-baseline > p { margin-top: 8px; font-size: 14px; }
.sa-page .cmp-baseline .sa-fields { margin-top: 18px; }
.sa-page .cmp-systems { display: grid; grid-template-columns: minmax(0, 1fr); gap: 21px; margin-top: 24px; }
.sa-page .cmp-system {
  min-width: 0;
  padding: 23px 22px;
  border: 1px solid #d8e2e7;
  border-radius: 7px;
  background: #fff;
}
.sa-page .cmp-system > h3 {
  display: flex;
  align-items: baseline;
  gap: 11px;
  margin: 0 0 8px;
  color: #173d50;
  font-size: 20px;
  line-height: 1.55;
}
.sa-page .cmp-system > h3::before { content: ""; width: 3px; height: 17px; flex: 0 0 3px; background: #b28a60; }
.sa-page .cmp-system > p { font-size: 14px; }
.sa-page .cmp-system .sa-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 16px; margin-top: 19px; }
.sa-page .cmp-system .sa-field > span, .sa-page .cmp-baseline .sa-field > span { white-space: normal; overflow-wrap: anywhere; }
.sa-page .cmp-system .sa-hint { font-size: 13px; line-height: 1.8; }
.sa-page .cmp-extras { margin-top: 23px; padding-top: 15px; border-top: 1px solid #dce5e9; }
.sa-page .cmp-extras > summary {
  position: relative;
  padding: 5px 25px 5px 0;
  color: #476371;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  list-style: none;
  cursor: pointer;
}
.sa-page .cmp-extras > summary::-webkit-details-marker { display: none; }
.sa-page .cmp-extras > summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: #a67d51; font-size: 21px; font-weight: 400; }
.sa-page .cmp-extras[open] > summary::after { content: "−"; }
.sa-page .cmp-extras .sa-fields { margin-top: 15px; }
.sa-page .cmp-extras > p { margin-top: 12px; font-size: 13px; line-height: 1.8; }
.sa-page .cmp-note { margin-top: 16px; color: #5b707d; font-size: 14px; line-height: 1.85; }
.sa-page .sa-result .cmp-note { color: #c2d4dc; font-size: 14px; }
.sa-page .cmp-savings {
  margin: 19px 0 10px;
  color: var(--sa-gold);
  font: 600 clamp(29px, 3vw, 42px)/1.3 Arial, "Microsoft YaHei", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.sa-page .cmp-savings small { display: inline-block; margin-left: 7px; color: #d1e0e6; font-size: 15px; font-weight: 400; line-height: 1.7; letter-spacing: 0; }
.sa-page .cmp-savings.is-negative, .sa-page .is-negative .cmp-savings { color: #ffb6a0; }
.sa-page .cmp-cost-table { width: 100%; max-width: 100%; margin-top: 24px; color: #dbe8ed; font-size: 14px; line-height: 1.75; }
.sa-page table.cmp-cost-table, .sa-page .cmp-cost-table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sa-page .cmp-cost-table caption { margin-bottom: 12px; color: #d6e3e9; text-align: left; font-size: 15px; font-weight: 600; }
.sa-page .cmp-cost-table :is(th, td) { padding: 13px 8px; border-bottom: 1px solid #42606d; vertical-align: top; text-align: right; white-space: normal; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.sa-page .cmp-cost-table th { color: #e8c7a2; font-size: 13px; font-weight: 500; }
.sa-page .cmp-cost-table :is(th, td):first-child { width: 34%; padding-left: 0; color: #c4d7df; text-align: left; }
.sa-page .cmp-cost-table :is(th, td):last-child { padding-right: 0; }
.sa-page .cmp-cost-table tbody tr:last-child :is(th, td), .sa-page .cmp-cost-table tfoot :is(th, td) { border-bottom-color: #78909b; }
.sa-page .cmp-cost-table tfoot :is(th, td) { color: #f0f5f8; font-weight: 600; }
.sa-page .cmp-cost-table small { display: block; margin-top: 4px; color: #b7cbd4; font-size: 13px; line-height: 1.6; }
.sa-page .cmp-formula {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #dbe3e7;
  border-left: 3px solid #b28a60;
  border-radius: 4px;
  background: #f6f8f9;
  color: #365565;
  font-size: 14px;
  line-height: 1.9;
  white-space: normal;
  overflow-wrap: anywhere;
}
.sa-page .cmp-formula :is(code, pre) { margin: 0; color: inherit; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.sa-page .sa-result .cmp-formula { border-color: #48616d; border-left-color: var(--sa-gold); background: #ffffff05; color: #d0dfe5; }
.sa-page .sa-methods .cmp-toggle { background: #fdfcf9; border-color: #ddd7cc; }
.sa-page .sa-methods .cmp-toggle > summary { color: #594832; }
.sa-page .cmp-converter { min-width: 0; padding-top: 2px; }
.sa-page .cmp-converter .sa-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; max-width: 820px; margin-top: 17px; }
.sa-page .cmp-converter .sa-field > span { white-space: normal; }
.sa-page .cmp-converter .sa-actions { margin-top: 18px; }
.sa-page .cmp-unit-output {
  display: block;
  min-width: 0;
  max-width: 820px;
  margin-top: 17px;
  padding: 16px 18px;
  border: 1px solid #cbdce4;
  border-left: 3px solid #9e7b54;
  border-radius: 4px;
  background: #edf3f5;
  color: #244959;
  font-size: 16px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
  white-space: normal;
  overflow-wrap: anywhere;
}
.sa-page .cmp-unit-output:empty { display: none; }
.sa-page .cmp-unit-output strong { color: #163d50; font-size: 20px; font-weight: 600; }
.sa-page .cmp-unit-output small { display: block; margin-top: 6px; color: #526c7a; font-size: 13px; line-height: 1.8; }
.sa-page .sa-help-link, .sa-page .sa-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 2px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #426171;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  text-decoration: underline;
  text-decoration-color: #9aacb5;
  text-underline-offset: 4px;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.sa-page .sa-help-link { margin-top: 13px; text-align: left; justify-content: flex-start; }
.sa-page .sa-help-link:hover, .sa-page .sa-copy:hover { color: #8a643c; text-decoration-color: currentColor; }
.sa-page .sa-result .sa-copy { flex-basis: 100%; color: #c5d9e2; text-decoration-color: #748e9c; }
.sa-page .sa-result .sa-copy:hover { color: var(--sa-gold); text-decoration-color: currentColor; }

@media (min-width: 901px) and (max-width: 1100px) {
  .sa-page .cmp-system, .sa-page .cmp-baseline { padding: 20px 17px; }
  .sa-page .cmp-system .sa-fields { column-gap: 12px; }
  .sa-page .cmp-cost-table { font-size: 13px; }
  .sa-page .cmp-cost-table :is(th, td) { padding-inline: 5px; }
}
@media (max-width: 900px) {
  .sa-page.sa-comparing .sa-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .sa-page .cmp-baseline { padding: 20px 16px; margin-block: 21px; }
  .sa-page .cmp-systems { gap: 17px; margin-top: 21px; }
  .sa-page .cmp-system { padding: 21px 16px; }
  .sa-page .cmp-system > h3 { font-size: 19px; }
  .sa-page .cmp-system .sa-fields, .sa-page .cmp-converter .sa-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sa-page .cmp-savings { font-size: 34px; }
  .sa-page .cmp-cost-table { font-size: 14px; }
  .sa-page .cmp-cost-table :is(th, td) { padding: 12px 6px; }
  .sa-page .cmp-unit-output { padding: 14px 15px; }
  .sa-page .cmp-formula { padding: 13px 14px; }
}
@media (max-width: 360px) {
  .sa-page .cmp-baseline, .sa-page .cmp-system { padding-inline: 13px; }
  .sa-page .cmp-savings { font-size: 30px; }
  .sa-page .cmp-cost-table { font-size: 13px; }
  .sa-page .cmp-cost-table :is(th, td) { padding-inline: 4px; }
}
