/* Component rules from style.css */
/* Component rules from catalog.css */
/* Component rules from configurator.css */
.performance-configurator {
  background: var(--paper);
  padding-top: 65px;
  padding-bottom: 80px;
}
.pc-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.pc-heading>span {
  font-size: 11px;
  color: var(--muted);
}
.pc-shell {
  display: grid;
  grid-template-columns: 30% minmax(0,1fr);
  border: 1px solid var(--line);
}
.pc-garage {
  background: #252a22;
  color: #f1f0eb;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pc-garage-image {
  position: relative;
  overflow: hidden;
}
.pc-garage-image img {
  object-position: 51% center;
  filter: saturate(.55);
}
.pc-garage-image:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#252a22,transparent 65%);
}
.pc-garage-image>span {
  position: absolute;
  z-index: 1;
  bottom: 22px;
  left: 30px;
  font-size: 9px;
  letter-spacing: 2px;
}
.pc-garage-info {
  padding: 30px;
  flex: 1;
}
.pc-garage-info>.eyebrow {
  font-size: 9px;
  color: #a7af9e;
}
.pc-garage-info h3 {
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin: 22px 0 30px;
  overflow-wrap: anywhere;
}
#pc-summary button {
  position: relative;
  text-align: left;
  width: 100%;
  background: none;
  border: 0;
  border-top: 1px solid #505749;
  padding: 15px 20px 15px 0;
  color: var(--paper);
  display: grid;
  gap: 7px;
}
#pc-summary button>span {
  font-size: 10px;
  color: #a7af9e;
}
#pc-summary strong {
  font-size: 14px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
#pc-summary i {
  position: absolute;
  right: 0;
  top: 28px;
  font-style: normal;
  color: #b9c3b0;
}
.pc-reset {
  margin-top: 26px;
  border: 0;
  background: none;
  color: #bec6b4;
  font-size: 11px;
  padding: 10px 0;
}
.pc-edition {
  padding: 25px 30px;
  font-size: 9px;
  letter-spacing: 1px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #adb7a1;
  border-top: 1px solid #505749;
}
.pc-edition>span {
  font-size: 8px;
  margin-left: auto;
}
.pc-workspace {
  padding: 32px 40px 22px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 20px;
}
.pc-steps {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 10px;
  padding-bottom: 24px;
}
.pc-steps button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 10px;
  padding: 6px 0;
  display: flex;
  gap: 9px;
  align-items: center;
}
.pc-steps button>span {
  font-size: 9px;
}
.pc-steps button[aria-current] {
  color: var(--ink);
}
.pc-steps button[aria-current]>span {
  color: var(--accent);
}
.pc-steps button:disabled {
  opacity: .4;
  cursor: default;
}
#pc-screen {
  flex: 1;
  padding: 38px 0 35px;
}
.pc-screen-heading>.eyebrow {
  font-size: 9px;
  color: var(--muted);
}
.pc-screen-heading h2 {
  letter-spacing: -2px;
  line-height: 1.08;
  margin: 18px 0;
}
.pc-screen-heading h2:focus {
  outline: none;
}
.pc-screen-heading>p:last-child {
  color: #777d6f;
  line-height: 1.6;
  margin-bottom: 28px;
}
.pc-options {
  display: grid;
  gap: 0;
}
.pc-options-0 {
  grid-template-columns: repeat(3,minmax(0,1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pc-choice {
  position: relative;
  background: transparent;
  border: 0;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 23px 16px;
  min-width: 0;
  transition: background .25s,color .25s;
}
.pc-choice strong {
  font-weight: 400;
  letter-spacing: -.5px;
  overflow-wrap: anywhere;
}
.pc-choice small {
  display: block;
  font-size: 10px;
  margin-top: 9px;
  color: #7c8273;
  font-weight: 400;
  line-height: 1.4;
}
.pc-choice-content {
  min-width: 0;
  flex: 1;
}
.pc-choice-arrow {
  font-size: 19px;
  color: var(--accent);
}
.pc-choice:hover {
  background: #e6e8de;
}
.pc-choice.is-selected {
  background: #e4e6dc;
}
.pc-options-0 .pc-choice {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: block;
  padding: 36px 17px 23px;
}
.pc-options-0 .pc-choice strong {
  letter-spacing: -.5px;
}
.pc-choice-index {
  position: absolute;
  top: 14px;
  left: 17px;
  font-size: 8px;
  color: #8a907f;
}
.pc-options-0 .pc-choice-arrow {
  position: absolute;
  bottom: 22px;
  right: 15px;
}
.pc-options-0 .pc-choice:hover {
  background: #252a22;
  color: var(--paper);
}
.pc-options-0 .pc-choice:hover small {
  color: #bcc4b1;
}
.pc-options-1 {
  grid-template-columns: 1fr 1fr;
  gap: 0 25px;
}
.pc-options-1 .pc-choice,.pc-options-2 .pc-choice,.pc-options-3 .pc-choice {
  border-bottom: 1px solid var(--line);
  padding-left: 0;
  padding-right: 10px;
}
.pc-options-1 .pc-choice:hover,.pc-options-2 .pc-choice:hover,.pc-options-3 .pc-choice:hover {
  padding-left: 10px;
}
.pc-options-2 .pc-choice {
  padding-top: 22px;
  padding-bottom: 22px;
}
.pc-options-2 .pc-choice-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.pc-options-2 .pc-choice small {
  margin: 0;
  font-size: 13px;
}
.pc-options-3 .pc-choice strong {
  font-size: 20px;
}
.pc-options-3 .pc-choice {
  gap: 15px;
}
.pc-engine-power {
  font-size: 28px;
  letter-spacing: -1px;
  white-space: nowrap;
  text-align: right;
}
.pc-engine-power small {
  font-size: 9px;
  letter-spacing: 0;
}
.pc-choice .pc-engine-stage {
  font-size: 9px;
  color: #929985;
}
.pc-search {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #929b85;
  margin-bottom: 10px;
}
.pc-search>span:first-child {
  font-size: 27px;
  font-family: Arial;
}
.pc-search input {
  border: 0;
  padding: 15px 0;
  background: none;
  font-size: 15px;
  min-width: 0;
  outline-offset: 3px;
}
.pc-search>span:last-child {
  font-size: 10px;
  color: #737b66;
}
.pc-fuels {
  display: flex;
  gap: 20px;
  padding: 20px 0 4px;
  flex-wrap: wrap;
}
.pc-fuels button {
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  font-size: 11px;
  padding: 8px 0;
  color: var(--muted);
}
.pc-fuels button[aria-pressed=true] {
  border-color: var(--accent);
  color: var(--ink);
}
.pc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  gap: 15px;
}
.pc-bottom button {
  border: 0;
  background: none;
  font-size: 11px;
  padding: 10px 0;
}
.pc-bottom>span {
  font-size: 9px;
  color: var(--muted);
  margin-right: auto;
}
.pc-bottom #pc-back:not([hidden])+#pc-progress {
  margin: 0;
}
.pc-empty {
  grid-column: 1/-1;
  padding: 28px 0;
}
.pc-empty p {
  font-size: 13px;
  color: var(--muted);
  margin: 15px 0;
}
.pc-stage-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 25px 0 30px;
  border: 1px solid var(--line);
}
.pc-stage-choices button {
  position: relative;
  padding: 18px 32px 18px 20px;
  text-align: left;
  border: 0;
  background: transparent;
}
.pc-stage-choices button+button {
  border-left: 1px solid var(--line);
}
.pc-stage-choices small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.5;
}
.pc-stage-choices i {
  position: absolute;
  right: 15px;
  top: 20px;
  font-size: 10px;
  font-style: normal;
  color: var(--accent);
}
.pc-stage-choices button[aria-pressed=true] {
  background: #252a22;
  color: var(--paper);
}
.pc-stage-choices button[aria-pressed=true] small {
  color: #b9c4ab;
}
.pc-power-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
  gap: 20px;
}
.pc-power-label>span+span {
  color: var(--accent);
  letter-spacing: 0;
}
.pc-power-label b {
  margin-left: 10px;
}
.pc-power-numbers {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 18px 0 28px;
  font-variant-numeric: tabular-nums;
}
.pc-power-numbers>span {
  letter-spacing: -4px;
  line-height: 1;
  color: #999e90;
}
.pc-power-numbers>strong {
  letter-spacing: -6px;
  font-weight: 400;
  line-height: 1;
}
.pc-power-numbers i {
  font-size: 25px;
  color: #9ca48e;
  font-style: normal;
}
.pc-power-numbers small {
  display: block;
  letter-spacing: 0;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 10px;
  color: #7c846f;
}
.pc-power-track {
  display: grid;
  gap: 5px;
}
.pc-power-track i {
  height: 3px;
  background: #b4bda6;
  transition: width .4s;
}
.pc-power-track i+i {
  background: var(--accent);
}
.pc-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 25px;
}
.pc-secondary>div>span {
  font-size: 10px;
  color: #737b66;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pc-secondary b {
  font-weight: 400;
  color: var(--accent);
}
.pc-secondary p {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 26px;
  color: #979e8b;
  margin-top: 14px;
  font-variant-numeric: tabular-nums;
}
.pc-secondary p strong {
  font-weight: 400;
  color: var(--ink);
}
.pc-secondary p i {
  font-style: normal;
  font-size: 16px;
}
.pc-secondary p small {
  font-size: 10px;
  white-space: nowrap;
}
.pc-result-footer {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.pc-result-footer p {
  line-height: 1.6;
  color: var(--muted);
  max-width: 580px;
}
.pc-result-footer .button {
  margin-top: 20px;
  width: 100%;
}
@media(min-width:1500px) {
  .pc-garage-image {
    height: 350px;
  }
  .pc-workspace {
    padding: 36px 55px 25px;
  }
  .pc-options-0 .pc-choice {
    min-height: 160px;
  }
  .pc-options-0 .pc-choice strong {
    font-size: 23px;
  }
}
@media(max-width:1050px) {
  .pc-shell {
    grid-template-columns: 27% minmax(0,1fr);
  }
  .pc-workspace {
    padding: 25px;
  }
  .pc-garage-info {
    padding: 25px 20px;
  }
  .pc-garage-info h3 {
    font-size: 32px;
  }
  .pc-garage-image {
    height: 240px;
  }
  .pc-garage-image>span {
    left: 20px;
    font-size: 7px;
  }
  .pc-edition {
    padding: 20px;
  }
  .pc-steps {
    gap: 5px;
  }
  .pc-steps button {
    gap: 4px;
    font-size: 9px;
  }
  .pc-options-0 .pc-choice strong {
    font-size: 16px;
  }
  .pc-options-0 .pc-choice {
    padding-left: 13px;
  }
  .pc-choice-index {
    left: 13px;
  }
  .pc-power-numbers>strong {
    font-size: 85px;
  }
  .pc-power-numbers>span {
    font-size: 58px;
  }
  .pc-power-numbers {
    gap: 20px;
  }
  .pc-secondary p {
    gap: 9px;
    font-size: 23px;
  }
}
@media(max-width:700px) {
  .performance-configurator {
    padding: 45px 5%;
  }
  .pc-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .pc-heading .eyebrow {
    font-size: 9px;
  }
  .pc-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .pc-garage-image,.pc-edition {
    display: none;
  }
  .pc-garage-info {
    padding: 22px;
  }
  .pc-garage-info>.eyebrow {
    font-size: 8px;
  }
  .pc-garage-info h3 {
    font-size: 28px;
    margin: 12px 0 0;
    letter-spacing: -1px;
  }
  #pc-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  #pc-summary button {
    width: auto;
    border: 0;
    padding: 12px 15px 0 0;
    gap: 4px;
    max-width: 100%;
  }
  #pc-summary button>span {
    font-size: 8px;
  }
  #pc-summary strong {
    font-size: 10px;
  }
  #pc-summary i {
    top: 26px;
    font-size: 10px;
  }
  .pc-reset {
    margin-top: 12px;
    font-size: 10px;
  }
  .pc-workspace {
    padding: 22px 18px 15px;
  }
  .pc-steps {
    gap: 6px;
    padding-bottom: 18px;
  }
  .pc-steps button {
    font-size: 8px;
    gap: 5px;
    flex-direction: column;
  }
  .pc-steps button>span {
    font-size: 9px;
  }
  #pc-screen {
    padding: 27px 0;
  }
  .pc-screen-heading h2 {
    font-size: 37px;
    letter-spacing: -1.7px;
  }
  .pc-screen-heading>p:last-child {
    font-size: 12px;
    margin-bottom: 24px;
  }
  .pc-options-0 {
    grid-template-columns: 1fr 1fr;
  }
  .pc-options-0 .pc-choice {
    min-height: 120px;
    padding: 34px 12px 19px;
  }
  .pc-options-0 .pc-choice strong {
    font-size: 18px;
  }
  .pc-options-0 .pc-choice-arrow {
    font-size: 17px;
    right: 10px;
    bottom: 17px;
  }
  .pc-choice-index {
    top: 12px;
    left: 12px;
  }
  .pc-options-0 .pc-choice small {
    font-size: 9px;
  }
  .pc-options-1 {
    gap: 0 15px;
  }
  .pc-choice strong {
    font-size: 21px;
  }
  .pc-choice {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .pc-choice small {
    font-size: 9px;
  }
  .pc-options-2 .pc-choice-content {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .pc-options-2 .pc-choice small {
    font-size: 11px;
  }
  .pc-options-3 .pc-choice strong {
    font-size: 18px;
  }
  .pc-options-3 .pc-choice {
    gap: 10px;
  }
  .pc-engine-power {
    font-size: 25px;
  }
  .pc-engine-power small {
    font-size: 8px;
  }
  .pc-search input {
    font-size: 13px;
  }
  .pc-choice .pc-engine-stage {
    font-size: 8px;
  }
  .pc-stage-choices button {
    padding: 15px 23px 15px 12px;
  }
  .pc-stage-choices button>span {
    font-size: 18px;
  }
  .pc-stage-choices i {
    right: 9px;
  }
  .pc-power-numbers {
    gap: 18px;
  }
  .pc-power-numbers>span {
    font-size: 51px;
    letter-spacing: -3px;
  }
  .pc-power-numbers>strong {
    font-size: 72px;
    letter-spacing: -4px;
  }
  .pc-power-numbers>i {
    font-size: 19px;
  }
  .pc-secondary {
    gap: 20px;
  }
  .pc-secondary p {
    gap: 8px;
    font-size: 23px;
    flex-wrap: wrap;
  }
  .pc-secondary>div>span {
    font-size: 9px;
  }
  .pc-power-label {
    font-size: 9px;
    letter-spacing: .5px;
  }
  .pc-bottom button {
    font-size: 10px;
  }
}
@media(max-width:360px) {
  .pc-workspace {
    padding: 20px 13px 15px;
  }
  .pc-screen-heading h2 {
    font-size: 32px;
  }
  .pc-options-0 .pc-choice strong {
    font-size: 16px;
  }
  .pc-options-0 .pc-choice small {
    font-size: 8px;
  }
  .pc-choice-arrow {
    font-size: 15px;
  }
  .pc-power-numbers {
    gap: 12px;
  }
  .pc-power-numbers>strong {
    font-size: 65px;
  }
  .pc-power-numbers>span {
    font-size: 46px;
  }
  .pc-secondary p {
    font-size: 21px;
    gap: 6px;
  }
  .pc-stage-choices small {
    font-size: 8px;
  }
}
/* Viewport-sized configurator: only the choice list scrolls. */
.performance-configurator {
  padding: 20px 5%;
  scroll-margin-top: 0;
  height: 100svh;
  min-height: 580px;
  display: flex;
  flex-direction: column;
}
.pc-heading {
  margin-bottom: 14px;
  flex-shrink: 0;
}
.pc-shell {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.pc-garage {
  overflow: auto;
}
.pc-garage-image {
  height: 24%;
  min-height: 120px;
  flex-shrink: 0;
}
.pc-garage-info {
  padding: 22px 26px;
}
.pc-garage-info h3 {
  font-size: 34px;
  margin: 16px 0 20px;
}
.pc-edition {
  padding: 15px 26px;
}
.pc-workspace {
  padding: 20px 32px 14px;
  overflow: hidden;
}
.pc-steps {
  padding-bottom: 14px;
  flex-shrink: 0;
}
#pc-screen {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 0 16px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #aeb5a3 transparent;
}
.pc-screen-heading {
  flex-shrink: 0;
}
.pc-screen-heading h2 {
  font-size: 36px;
  margin: 10px 0;
  letter-spacing: -1.5px;
}
.pc-screen-heading h2 br {
  display: none;
}
.pc-screen-heading h2 em:before {
  content: ' ';
}
.pc-screen-heading>p:last-child {
  margin-bottom: 15px;
  font-size: 12px;
}
.pc-options {
  min-height: 0;
  overflow: auto;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: #9aa58c transparent;
  overscroll-behavior: contain;
}
.pc-options-0 {
  flex: 1;
  grid-auto-rows: minmax(95px,1fr);
  align-content: stretch;
}
.pc-options-0 .pc-choice {
  min-height: 95px;
  padding-top: 29px;
  padding-bottom: 15px;
}
.pc-options-0 .pc-choice strong {
  font-size: 20px;
}
.pc-options-1 .pc-choice,.pc-options-2 .pc-choice,.pc-options-3 .pc-choice {
  padding-top: 15px;
  padding-bottom: 15px;
}
.pc-choice strong {
  font-size: 20px;
}
.pc-options-1 .pc-choice small {
  line-height: 1.5;
}
.pc-bottom {
  padding-top: 10px;
  flex-shrink: 0;
}
.pc-search {
  flex-shrink: 0;
  margin-bottom: 8px;
}
.pc-search input {
  padding: 10px 0;
}
.pc-fuels {
  padding: 6px 0;
  flex-shrink: 0;
}
.pc-categories {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 6px 0 10px;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--muted);
}
.pc-categories button {
  border: 0;
  background: none;
  padding: 6px 3px;
  font-size: 11px;
}
.pc-categories button:last-of-type {
  color: var(--accent);
}
.pc-global-search {
  margin-left: auto;
  font-size: 9px;
}
.pc-stage-choices {
  margin: 3px 0 20px;
  flex-shrink: 0;
}
.pc-stage-choices button {
  padding: 13px 30px 13px 16px;
}
.pc-stage-choices button>span {
  font-size: 17px;
}
.pc-performance {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pc-power-numbers {
  padding: 12px 0 18px;
}
.pc-power-numbers>strong {
  font-size: 76px;
}
.pc-power-numbers>span {
  font-size: 54px;
}
.pc-secondary {
  margin-top: 18px;
}
.pc-secondary p {
  margin-top: 10px;
}
.pc-result-footer {
  margin-top: 16px;
  padding-top: 14px;
  flex-shrink: 0;
}
.pc-result-footer p {
  font-size: 10px;
}
.pc-result-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.pc-result-actions .button {
  margin: 0;
  flex: 1;
  width: auto;
  min-height: 46px;
  padding: 12px 18px;
}
.pc-share {
  border: 1px solid #a6ad9a;
  background: transparent;
  padding: 12px 20px;
  font-size: 12px;
  white-space: nowrap;
}
.pc-share:hover {
  background: var(--ink);
  color: var(--paper);
}
#pc-share-status:empty {
  display: none;
}
#pc-share-status {
  margin-top: 8px;
}
#pc-share-url {
  font-size: 11px;
  padding: 8px;
  margin-top: 8px;
}
@media(max-width:700px) {
  .performance-configurator {
    padding: 12px 4%;
    min-height: 600px;
  }
  .pc-heading {
    flex-direction: row;
    gap: 12px;
    margin-bottom: 10px;
  }
  .pc-heading .eyebrow {
    font-size: 7px;
    letter-spacing: .8px;
  }
  .pc-heading>span {
    font-size: 8px;
    white-space: nowrap;
  }
  .pc-shell {
    grid-template-rows: auto minmax(0,1fr);
  }
  .pc-garage {
    overflow: hidden;
  }
  .pc-garage-image,.pc-edition,#pc-summary,.pc-reset {
    display: none!important;
  }
  .pc-garage-info {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .pc-garage-info>.eyebrow {
    font-size: 7px;
    max-width: 70px;
    line-height: 1.5;
  }
  .pc-garage-info h3 {
    margin: 0;
    font-size: 21px;
  }
  .pc-workspace {
    padding: 12px 15px 10px;
  }
  .pc-steps {
    padding-bottom: 10px;
  }
  .pc-steps button {
    font-size: 8px;
    padding: 4px 0;
  }
  #pc-screen {
    padding: 13px 0 12px;
  }
  .pc-screen-heading h2 {
    font-size: 27px;
    letter-spacing: -1px;
    margin: 8px 0;
    line-height: 1.1;
  }
  .pc-screen-heading>.eyebrow {
    display: none;
  }
  .pc-screen-heading>p:last-child {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .pc-options-0 {
    grid-template-columns: repeat(3,minmax(0,1fr));
    grid-auto-rows: minmax(85px,1fr);
  }
  .pc-options-0 .pc-choice {
    min-height: 85px;
    padding: 25px 9px 13px;
  }
  .pc-options-0 .pc-choice strong {
    font-size: 13px;
    letter-spacing: -.35px;
  }
  .pc-options-0 .pc-choice small {
    font-size: 7px;
    margin-top: 6px;
  }
  .pc-choice-index {
    left: 9px;
    top: 10px;
    font-size: 7px;
  }
  .pc-options-0 .pc-choice-arrow {
    font-size: 13px;
    right: 7px;
    bottom: 9px;
  }
  .pc-options-1 {
    gap: 0 12px;
  }
  .pc-options-1 .pc-choice,.pc-options-2 .pc-choice,.pc-options-3 .pc-choice {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .pc-choice strong {
    font-size: 19px;
  }
  .pc-options-1 .pc-choice small {
    font-size: 8px;
  }
  .pc-options-3 .pc-choice strong {
    font-size: 16px;
  }
  .pc-engine-power {
    font-size: 22px;
  }
  .pc-choice .pc-engine-stage {
    font-size: 7px;
  }
  .pc-search input {
    padding: 8px 0;
    font-size: 12px;
  }
  .pc-search>span:first-child {
    font-size: 21px;
  }
  .pc-categories {
    padding: 2px 0 7px;
    font-size: 10px;
  }
  .pc-stage-choices {
    margin: 0 0 14px;
  }
  .pc-stage-choices button {
    padding: 10px 20px 10px 10px;
  }
  .pc-stage-choices button>span {
    font-size: 15px;
  }
  .pc-stage-choices small {
    font-size: 8px;
    margin-top: 4px;
  }
  .pc-stage-choices i {
    top: 14px;
  }
  .pc-performance {
    min-height: 170px;
  }
  .pc-power-numbers {
    padding: 10px 0 14px;
    gap: 18px;
  }
  .pc-power-numbers>strong {
    font-size: 66px;
    letter-spacing: -3px;
  }
  .pc-power-numbers>span {
    font-size: 44px;
    letter-spacing: -2px;
  }
  .pc-power-numbers small {
    font-size: 9px;
    margin-top: 6px;
  }
  .pc-secondary {
    margin-top: 14px;
    gap: 14px;
  }
  .pc-secondary p {
    margin-top: 8px;
    font-size: 22px;
    gap: 7px;
  }
  .pc-secondary>div>span {
    font-size: 8px;
    gap: 6px;
  }
  .pc-result-footer {
    margin-top: 12px;
    padding-top: 10px;
  }
  .pc-result-footer p {
    font-size: 9px;
    line-height: 1.5;
  }
  .pc-result-actions {
    gap: 8px;
    margin-top: 10px;
  }
  .pc-result-actions .button {
    padding: 11px 9px;
    font-size: 10px;
    min-height: 42px;
  }
  .pc-share {
    padding: 10px;
    font-size: 10px;
  }
  .pc-bottom {
    padding-top: 7px;
  }
  .pc-bottom button {
    padding: 7px 0;
    font-size: 9px;
  }
}
@media(max-height:700px) and (min-width:701px) {
  .pc-screen-heading h2 {
    font-size: 29px;
  }
  .pc-stage-choices {
    margin-bottom: 10px;
  }
  .pc-power-numbers>strong {
    font-size: 62px;
  }
  .pc-power-numbers>span {
    font-size: 44px;
  }
  .pc-power-numbers {
    padding: 8px 0 12px;
  }
  .pc-secondary {
    margin-top: 12px;
  }
  .pc-performance {
    min-height: 155px;
  }
  .pc-garage-info h3 {
    font-size: 28px;
  }
  #pc-summary button {
    padding: 10px 20px 10px 0;
  }
  .pc-result-footer {
    margin-top: 10px;
  }
  .pc-screen-heading>p:last-child {
    margin-bottom: 10px;
  }
}
.pc-options-categories {
  grid-template-columns: repeat(3,minmax(0,1fr));
  column-gap: 18px;
}
.pc-options-categories .pc-choice {
  padding-top: 13px;
  padding-bottom: 13px;
}
.pc-options-categories .pc-choice small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 9px;
}
.pc-options-categories .pc-choice strong {
  font-size: 20px;
}
@media(max-width:700px) {
  .pc-options-categories {
    column-gap: 10px;
  }
  .pc-options-categories .pc-choice {
    padding-top: 11px;
    padding-bottom: 11px;
    gap: 5px;
  }
  .pc-options-categories .pc-choice strong {
    font-size: 16px;
  }
  .pc-options-categories .pc-choice small {
    font-size: 7px;
    margin-top: 6px;
  }
  .pc-options-categories .pc-choice-arrow {
    font-size: 13px;
  }
}
#calculator {
  scroll-margin-top: -90px;
}
@media(max-width:700px) and (max-height:720px) {
  .pc-screen-heading h2 {
    font-size: 24px;
  }
  .pc-screen-heading>p:last-child {
    margin-bottom: 8px;
  }
  .pc-stage-choices {
    margin-bottom: 10px;
  }
  .pc-secondary {
    margin-top: 10px;
  }
  .pc-result-footer {
    margin-top: 8px;
    padding-top: 8px;
  }
  .pc-result-footer p {
    font-size: 8px;
  }
  .pc-performance {
    min-height: 158px;
  }
}
.pc-model-thumb {
  display: block;
  position: relative;
  flex: 0 0 106px;
  height: 65px;
  overflow: hidden;
  background: #e3e6db;
}
.pc-model-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s;
}
.pc-model-thumb.is-illustration {
  background: transparent;
}
.pc-model-thumb>span {
  position: absolute;
  bottom: 2px;
  left: 4px;
  font-size: 6px;
  letter-spacing: .5px;
  background: #f1f0ebcc;
  padding: 2px 3px;
  color: #69705f;
}
.has-preview:hover .pc-model-thumb img {
  transform: scale(1.05);
}
.pc-options-1 .has-preview {
  gap: 14px;
}
.pc-options-1 .has-preview .pc-choice-content strong {
  font-size: 19px;
}
.pc-options-categories .has-preview .pc-model-thumb {
  flex-basis: 70px;
  height: 48px;
}
.pc-photo-credit {
  font-size: 9px;
  color: var(--muted);
  padding-top: 8px;
  flex-shrink: 0;
}
.pc-garage-image.is-model-preview {
  background: #e1e5d8;
}
.pc-garage-image.is-model-preview img {
  object-fit: contain;
  filter: none;
  padding: 14px 12px 26px;
}
.pc-garage-image.is-model-preview:after {
  display: none;
}
.pc-garage-image.is-model-preview>span {
  color: #5b6750;
  font-size: 8px;
  bottom: 10px;
  left: 14px;
}
.pc-garage-image.is-illustration img {
  padding: 0 10px 20px;
}
@media(max-width:1050px) {
  .pc-model-thumb {
    flex-basis: 80px;
    height: 55px;
  }
  .pc-options-1 .has-preview {
    gap: 10px;
  }
  .pc-options-1 .has-preview .pc-choice-content strong {
    font-size: 16px;
  }
}
@media(max-width:700px) {
  .pc-options-1 .has-preview {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 6px;
    align-content: start;
    padding: 10px 0;
  }
  .pc-model-thumb {
    grid-column: 1/-1;
    width: 100%;
    height: 76px;
  }
  .pc-options-1 .has-preview .pc-choice-content strong {
    font-size: 18px;
  }
  .pc-options-1 .has-preview small {
    margin-top: 4px;
  }
  .pc-options-categories .has-preview {
    display: flex;
    min-height: 0;
  }
  .pc-options-categories .has-preview .pc-model-thumb {
    display: none;
  }
  .pc-photo-credit {
    font-size: 8px;
  }
  .pc-model-thumb>span {
    font-size: 5px;
  }
}
.pc-brand-panel {
  height: 26%;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 26px 14px;
  border-bottom: 1px solid #f0eed51a;
  gap: 10px;
  color: #e7e2cf;
}
.pc-brand-logo {
  width: 100%;
  height: calc(100% - 24px);
  min-height: 80px;
  object-fit: contain;
  filter: grayscale(1) invert(1) sepia(.25) brightness(1.15);
  mix-blend-mode: screen;
}
.pc-brand-logo[hidden],.pc-brand-signature[hidden] {
  display: none;
}
.pc-brand-caption {
  font-size: 9px;
  letter-spacing: 2.6px;
}
.pc-brand-signature {
  font-size: 32px;
  letter-spacing: 4px;
  text-align: center;
}
.pc-brand-signature>span {
  display: block;
  font-size: 10px;
  letter-spacing: 7px;
  margin-top: 8px;
}
.pc-brand-panel[data-brand="Mercedes"] .pc-brand-logo {
  transform: scale(1.25);
}
@media(max-width:700px) {
  .pc-garage {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .pc-brand-panel {
    height: 60px;
    min-height: 0;
    width: 76px;
    flex: 0 0 76px;
    padding: 4px 0 4px 12px;
    border: 0;
    gap: 0;
  }
  .pc-brand-logo {
    height: 52px;
    min-height: 0;
  }
  .pc-brand-caption {
    display: none;
  }
  .pc-brand-signature {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .pc-brand-signature>span {
    font-size: 6px;
    letter-spacing: 2px;
    margin-top: 4px;
  }
  .pc-garage .pc-garage-info {
    min-width: 0;
    flex: 1;
    padding-left: 12px;
  }
  .pc-garage-info .eyebrow {
    display: none;
  }
}
/* Keep class proportions visible even among category rows on small screens. */
@media(max-width:700px) {
  .pc-options-categories .has-preview .pc-model-thumb {
    display: block;
    flex: 0 0 76px;
    height: 48px;
    width: 76px;
  }
  .pc-options-categories .has-preview {
    gap: 8px;
  }
}
/* Stage changes keep the result DOM and geometry; only values and bars update. */
.pc-stage-choices button {
  transition: background-color .22s,color .22s;
}
.pc-stage-note {
  min-height: 3.2em;
}
.pc-power-numbers>strong {
  min-width: 3.6ch;
}
.pc-secondary p strong {
  min-width: 3.2ch;
}
.pc-secondary b {
  white-space: nowrap;
}
.pc-share-dialog {
  width: min(620px,calc(100vw - 24px));
  max-height: calc(100svh - 24px);
  padding: 22px;
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
}
.pc-share-dialog::backdrop {
  background: #151b16b3;
  backdrop-filter: blur(4px);
}
.pc-share-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pc-share-top h2 {
  font-size: 25px;
  letter-spacing: -.8px;
}
.pc-share-top button {
  border: 0;
  background: none;
  font-size: 30px;
  min-width: 44px;
  min-height: 44px;
}
.pc-share-dialog [data-status] {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 8px 0 16px;
}
.pc-share-preview {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 55svh;
  object-fit: contain;
  margin: auto;
  border: 1px solid var(--line);
}
.pc-share-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.pc-share-tools>* {
  border: 1px solid var(--line);
  background: transparent;
  padding: 12px;
  font-size: 12px;
  min-height: 44px;
}
.pc-share-tools [data-send] {
  background: var(--ink);
  color: var(--paper);
}
.pc-share-dialog [data-direct] {
  display: block;
  font-size: 12px;
  margin-top: 16px;
}
.pc-share-dialog [data-link] {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  font-size: 12px;
}
.pc-share-dialog [hidden] {
  display: none!important;
}
@media(prefers-reduced-motion:reduce) {
  .pc-stage-choices button,.pc-power-track i {
    transition: none;
  }
}
.pc-stage-note [data-stage-note] {
  display: block;
  min-height: 3.2em;
}
/* Component rules from refinements.css */
.pc-result-actions {
  flex-wrap: wrap;
}
.pc-result-actions .messenger-links {
  flex: 1;
}
.pc-result-actions .messenger-link {
  font-size: 10px;
  padding: 10px;
  gap: 10px;
  flex: 1;
}
@media(max-width:700px) {
  .pc-result-actions .messenger-link {
    font-size: 9px;
    padding: 8px;
    min-height: 40px;
  }
  .pc-result-actions .messenger-links {
    flex-basis: 100%;
  }
}
/* Component rules from languages.css */
html[lang=en] .pc-steps button {
  font-size: 11px;
}
@media(max-width:700px) {
  html[lang=en] .pc-steps button {
    font-size: 9px;
  }
}
#calculator {
  scroll-margin-top: 0;
  height: calc(100svh - var(--header-height));
  min-height: 580px;
}
@media(max-width:700px) {
  #calculator {
    min-height: 560px;
  }
}
body[data-page=tuning] .pc-stage-choices i {
  color: #73b9f2;
}
body[data-page=tuning] .pc-brand-signature {
  font-size: 23px;
  letter-spacing: 2px;
}
body[data-page=tuning] .pc-brand-signature>span {
  letter-spacing: 4px;
}
body[data-page=tuning] .pc-stage-choices button[aria-pressed=true] {
  background: #202e38;
}
@media(max-width:700px) {
  body[data-page=tuning] .pc-brand-signature {
    font-size: 8px;
    letter-spacing: .5px;
  }
  body[data-page=tuning] .pc-brand-signature>span {
    font-size: 5px;
    letter-spacing: 1px;
  }
}
#pc-screen>.pc-screen-heading,#pc-screen>.pc-stage-choices,#pc-screen>.pc-result-footer {
  flex-shrink: 0;
}
.pc-performance {
  flex-shrink: 0;
  min-height: max-content;
}
.pc-stage-choices button,.pc-bottom button,.pc-share,.pc-fuels button {
  min-height: 44px;
}
@media(max-height:740px) {
  #calculator {
    height: auto;
    min-height: 0;
  }
  .pc-shell {
    flex: none;
    min-height: 0;
    overflow: visible;
  }
  .pc-workspace {
    overflow: visible;
  }
  #pc-screen {
    overflow: visible;
    flex: none;
  }
  .pc-options {
    max-height: 55svh;
    min-height: 160px;
    flex: none;
  }
  .pc-performance {
    flex: none;
    min-height: 0;
    padding: 12px 0;
  }
  .pc-stage-choices {
    margin-bottom: 16px;
  }
}
@media(max-width:700px) {
  .pc-steps button {
    min-height: 44px;
  }
  .pc-search input {
    font-size: 16px;
  }
  .pc-secondary {
    column-gap: 12px;
  }
  .pc-secondary p {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .pc-share-dialog {
    max-height: calc(100dvh - 16px);
    padding: 16px;
  }
  .pc-share-preview {
    max-height: 48svh;
  }
}
@media(max-width:700px) {
  .pc-steps button,html[lang=en] .pc-steps button {
    font-size: 10px;
  }
  .pc-screen-heading>p:last-child {
    font-size: 11px;
  }
  .pc-options-0 .pc-choice small,.pc-options-1 .pc-choice small,.pc-choice .pc-engine-stage {
    font-size: 10px;
  }
  .pc-options-0 .pc-choice strong {
    font-size: 14px;
  }
  .pc-options-categories {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .pc-options-categories .has-preview {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
  }
  .pc-options-categories .has-preview .pc-model-thumb {
    grid-column: 1/-1;
    width: 100%;
    height: 56px;
  }
  .pc-secondary>div>span,.pc-result-footer p {
    font-size: 10px;
  }
}
.pc-bottom {
  column-gap: 12px;
}
.pc-bottom #pc-reset {
  min-height: 44px;
}
.pc-measurement-dialog {
  width: min(900px,calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
}
.pc-measurement-dialog::backdrop {
  background: rgba(10,20,30,.78);
}
.measurement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.measurement-header button {
  min-height: 44px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.pc-measurement-dialog h2 {
  font-size: 28px;
  margin: 16px 0;
}
.pc-measurement-dialog p {
  font-size: 12px;
  line-height: 1.5;
}
.pc-measurement-dialog img {
  display: block;
  width: 100%;
  height: auto;
  margin: 20px 0;
}
.pc-measurement-dialog .eyebrow {
  font-size: 10px;
}
@media(max-width:700px) {
  .pc-options-1 {
    grid-auto-rows: minmax(168px,auto);
  }
  .pc-options-1 .has-preview {
    min-height: 0;
  }
}
.pc-options-1 {
  grid-auto-rows: auto;
}
.pc-options-1 .has-preview {
  min-height: 168px;
}
.pc-result-actions:empty {
  display: none;
}
.pc-categories button {
  min-height: 44px;
}
@media(max-width:700px) {
  .pc-options-0 {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-auto-rows: minmax(88px,auto);
  }
  .pc-options-1 {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .pc-options-categories {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .pc-options-1 .pc-choice {
    min-height: 72px;
  }
  .pc-options-1 .has-preview {
    min-height: 140px;
  }
  .pc-options-categories .pc-choice small {
    font-size: 10px;
  }
  .pc-options {
    overflow: visible;
    flex: none;
    min-height: 0;
    max-height: none;
  }
  #pc-screen {
    overscroll-behavior-y: contain;
    scroll-padding-block: 12px;
  }
  .pc-search input {
    width: 100%;
  }
  .pc-bottom {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: var(--paper);
    padding-bottom: env(safe-area-inset-bottom,0px);
  }
  .pc-bottom button {
    font-size: 11px;
  }
  .pc-fuels {
    gap: 8px 16px;
  }
  .pc-choice:hover {
    padding-left: 0;
  }
}
@media(max-height:740px) {
  .pc-options {
    overflow: visible;
    max-height: none;
    min-height: 0;
  }
  #pc-screen {
    overscroll-behavior-y: auto;
  }
  .pc-bottom {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: var(--paper);
  }
}
#calculator {
  overflow-anchor: none;
}
.pc-bottom {
  position: relative;
  gap: 10px;
  flex-wrap: nowrap;
  background: var(--paper);
}
.pc-bottom [hidden] {
  display: none!important;
}
#pc-tools {
  position: relative;
  flex: none;
  margin-left: auto;
}
#pc-tools>summary {
  padding: 0;
  line-height: 1;
  list-style: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 24px;
  letter-spacing: 2px;
}
#pc-tools>summary::-webkit-details-marker {
  display: none;
}
.pc-tools-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: 200px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px #0002;
  z-index: 5;
}
.pc-tools-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px!important;
  font-size: 12px!important;
}
.pc-bottom #pc-share,.pc-bottom #pc-contact {
  border: 1px solid var(--line);
  padding: 10px 14px;
  white-space: nowrap;
  font-size: 12px;
}
.pc-bottom #pc-contact {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.pc-contact-sheet {
  width: min(440px,calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.pc-contact-sheet::backdrop {
  background: #151b16b3;
  backdrop-filter: blur(4px);
}
.pc-contact-sheet>p {
  font-size: 13px;
  margin: 16px 0;
  color: var(--muted);
}
.pc-contact-sheet .messenger-links {
  display: grid;
  gap: 10px;
}
body:has(.pc-contact-sheet[open]),body:has(.pc-share-dialog[open]) {
  overflow: hidden;
}
@media(max-width:700px), (max-width:1024px) and (max-height:500px) {
  #calculator {
    height: auto;
    min-height: 0;
  }
  .pc-shell {
    flex: none;
    min-height: 0;
    overflow: visible;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .pc-garage {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: visible;
  }
  .pc-garage .pc-edition,.pc-garage #pc-summary,.pc-garage-info>.eyebrow {
    display: none;
  }
  .pc-brand-panel {
    height: 60px;
    min-height: 0;
    width: 76px;
    flex: 0 0 76px;
    padding: 4px 12px;
    border: 0;
  }
  .pc-brand-logo {
    height: 52px;
    min-height: 0;
  }
  .pc-brand-caption {
    display: none;
  }
  .pc-garage-info {
    padding: 12px;
    min-width: 0;
  }
  .pc-garage-info h3 {
    font-size: 21px;
    margin: 0;
  }
  .pc-workspace {
    overflow: visible;
    min-height: 0;
  }
  #pc-screen {
    overflow: visible;
    flex: none;
    overscroll-behavior: auto;
    padding-bottom: 24px;
  }
  .pc-options {
    overflow: visible;
    max-height: none;
    min-height: 0;
    flex: none;
    overscroll-behavior: auto;
  }
  .pc-performance {
    flex: none;
    min-height: 0;
    padding: 12px 0;
  }
  .pc-bottom {
    position: sticky;
    bottom: 0;
    z-index: 10;
    min-height: 64px;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom,0px));
    gap: 6px;
    box-shadow: 0 -8px 12px var(--paper);
    isolation: isolate;
  }
  .pc-bottom button {
    min-height: 44px;
    font-size: 11px;
  }
  .pc-bottom #pc-back {
    flex: none;
    white-space: nowrap;
  }
  #pc-progress {
    font-size: 9px;
    margin: 0 auto;
  }
  .pc-bottom #pc-share,.pc-bottom #pc-contact {
    padding: 8px;
    flex: 1;
    min-width: 0;
    font-size: 11px;
  }
  #pc-tools {
    margin-left: 0;
  }
  #pc-tools>summary {
    width: 32px;
    letter-spacing: 0;
  }
  #calculator[data-step="4"] #pc-progress {
    display: none;
  }
  .pc-result-actions .messenger-links {
    display: none;
  }
  .pc-contact-sheet {
    margin: auto 0 0;
    width: 100%;
    max-width: none;
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom,0px));
    border-bottom: 0;
  }
  .pc-choice,.pc-stage-choices {
    scroll-margin-bottom: 88px;
  }
}
#pc-tools:not([open])>.pc-tools-menu {
  display: none;
}

/* Secondary figures remain available without competing with power and contact. */
.pc-specs { margin-top: 20px; border-top: 1px solid var(--line); }
.pc-specs > summary { padding: 8px 0; scroll-margin-bottom: 88px; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-size: 13px; list-style: none; }
.pc-specs > summary::after { content: "+"; font-size: 20px; }
.pc-specs[open] > summary::after { content: "−"; }
.pc-specs > summary::-webkit-details-marker { display: none; }
.pc-specs:not([open]) > .pc-secondary { display: none; }
.pc-specs .pc-secondary { margin-top: 12px; }
.pc-specs > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
