.rypf {
  --rypf-bg: #fff;
  --rypf-text: #182e44;
  --rypf-title: var(--rypf-text);
  --rypf-muted: #596b7a;
  --rypf-accent: #b84416;
  --rypf-soft: #fff3eb;
  --rypf-border: #e4e9ed;
  --rypf-focus: #b84416;
  --rypf-field-bg: #f8fafb;
  --rypf-field-text: #233c52;
  --rypf-field-border: #8494a3;
  --rypf-field-hover: #415c74;
  --rypf-field-height: 58px;
  --rypf-field-radius: 12px;
  --rypf-button: #c44717;
  --rypf-button-text: #fff;
  --rypf-button-hover: #a53810;
  --rypf-button-hover-text: #fff;
  --rypf-card-bg: #fff;
  --rypf-card-text: var(--rypf-text);
  --rypf-card-border: #d5dde4;
  color: var(--rypf-text);
  background: var(--rypf-bg);
  border: 1px solid var(--rypf-border);
  border-radius: 24px;
  padding: clamp(22px, 3.4vw, 44px);
  box-shadow: 0 12px 48px -24px #17364a33;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
  text-align: start;
  isolation: isolate;
  container-type: inline-size;
  min-width: 0;
}
.rypf *, .rypf *::before, .rypf *::after { box-sizing: border-box; }
.rypf .rypf__header { margin-block-end: 30px; text-align: start; }
.rypf .rypf__eyebrow { margin: 0 0 8px; color: var(--rypf-accent); font-size: 12px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.rypf .rypf__eyebrow span { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: currentColor; }
.rypf .rypf__title { margin: 0; padding: 0; font-family: inherit; color: var(--rypf-title); font-size: clamp(23px, 2.4vw, 32px); font-weight: 800; line-height: 1.7; letter-spacing: 0; text-wrap: balance; }
.rypf .rypf__description { margin: 6px 0 0; color: var(--rypf-muted); font-size: 15px; }
.rypf .rypf__form { margin: 0; padding: 0; }
.rypf .rypf__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(185px, 100%), 1fr)); gap: 16px; align-items: end; }
.rypf .rypf__field { min-width: 0; }
.rypf .rypf__label { display: block; color: var(--rypf-text); margin: 0 0 9px; font-size: 13px; font-weight: 700; }
.rypf .rypf__label span { color: var(--rypf-accent); }
.rypf .rypf__select-wrap { position: relative; }
.rypf .rypf__icon { display: block; width: 21px; height: 21px; flex-shrink: 0; pointer-events: none; }
.rypf .rypf__select-wrap > .rypf__icon { position: absolute; inset-inline-start: 15px; top: 50%; transform: translateY(-50%); color: var(--rypf-muted); }
.rypf select { appearance: none; -webkit-appearance: none; display: block; width: 100%; max-width: 100%; margin: 0; min-height: var(--rypf-field-height); border: 1px solid var(--rypf-field-border); border-radius: var(--rypf-field-radius); background: var(--rypf-field-bg); color: var(--rypf-field-text); padding: 12px 44px; font-family: inherit; font-size: 16px; line-height: 1.6; text-align: start; cursor: pointer; box-shadow: none; transition: border-color 160ms ease, background-color 160ms ease; }
.rypf select:hover { border-color: var(--rypf-field-hover); }
.rypf .rypf__chevron { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--rypf-muted); }
.rypf .rypf__chevron svg { width: 16px; height: 16px; }
.rypf .rypf__submit { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--rypf-field-height); margin: 0; padding: 14px 20px; background: var(--rypf-button); color: var(--rypf-button-text); font: inherit; font-weight: 700; border: 1px solid transparent; border-radius: var(--rypf-field-radius); cursor: pointer; text-decoration: none; box-shadow: 0 7px 16px -12px #8d300e99; transition: background-color 160ms ease, color 160ms ease; }
.rypf .rypf__submit:hover { background: var(--rypf-button-hover); color: var(--rypf-button-hover-text); }
.rypf .rypf__submit span { overflow-wrap: anywhere; }
.rypf .rypf__submit > svg:last-child { width: 18px; margin-inline-start: auto; }
.rypf[dir="ltr"] .rypf__submit > svg:last-child { transform: rotate(180deg); }
.rypf .rypf__meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-block-start: 8px; min-height: 44px; }
.rypf .rypf__hint { font-size: 12px; color: var(--rypf-muted); margin: 0; }
.rypf .rypf__reset { min-height: 44px; padding: 6px 0; margin: 0; border: 0; border-radius: 3px; box-shadow: none; font-family: inherit; font-size: 12px; color: var(--rypf-muted); background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.rypf .rypf__reset:hover { color: var(--rypf-accent); background: transparent; }
.rypf .rypf__quick { margin-block-start: 17px; }
.rypf .rypf__quick-heading { display: flex; align-items: center; gap: 15px; margin-block-end: 16px; }
.rypf .rypf__quick-heading p { color: var(--rypf-muted); font-size: 12px; font-weight: 600; margin: 0; flex-shrink: 0; }
.rypf .rypf__line { height: 1px; background: var(--rypf-border); flex: 1; }
.rypf .rypf__cars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 12px; }
.rypf .rypf__car { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 12px 13px; min-width: 0; min-height: 100px; border: 1px solid var(--rypf-card-border); border-radius: 14px; background: var(--rypf-card-bg); color: var(--rypf-card-text); text-decoration: none; box-shadow: none; transition: border-color 160ms ease, background-color 160ms ease; }
.rypf .rypf__car:hover, .rypf .rypf__car.is-selected { border-color: var(--rypf-accent); background: var(--rypf-soft); color: var(--rypf-card-text); }
.rypf .rypf__car.is-selected { box-shadow: inset 0 0 0 1px var(--rypf-accent); }
.rypf .rypf__check { display: flex; align-items: center; justify-content: center; position: absolute; inset-inline-start: 8px; top: 8px; width: 18px; height: 18px; border-radius: 50%; color: var(--rypf-button-text); background: var(--rypf-accent); opacity: 0; }
.rypf .rypf__check svg { width: 12px; height: 12px; stroke-width: 2.5; }
.rypf .rypf__car.is-selected .rypf__check { opacity: 1; }
.rypf .rypf__car-media { display: flex; align-items: center; justify-content: center; width: 100%; height: 55px; }
.rypf .rypf__car-media img { display: block; width: 100%; height: 100%; max-width: 120px; object-fit: contain; border-radius: 0; }
.rypf .rypf__car-media > svg { width: 44px; height: 44px; color: var(--rypf-muted); stroke-width: 1.1; }
.rypf .rypf__car-name { font-size: 14px; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.rypf :where(select, button, a):focus-visible { outline: 3px solid var(--rypf-focus); outline-offset: 4px; }
.rypf .rypf__sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@container (max-width: 600px) {
  .rypf .rypf__fields { grid-template-columns: 1fr 1fr; }
  .rypf .rypf__fields > :last-child:nth-child(3) { grid-column: 1 / -1; }
  .rypf .rypf__cars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 400px) {
  .rypf .rypf__fields { grid-template-columns: 1fr; }
  .rypf .rypf__cars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rypf .rypf__header { margin-block-end: 22px; }
}
@media (max-width: 480px) {
  .rypf .rypf__fields { grid-template-columns: 1fr; }
  .rypf .rypf__cars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .rypf select, .rypf .rypf__submit, .rypf .rypf__car { transition: none; }
}
