.prices-page {
  --price-ink: #132843;
  --price-muted: #51667c;
  --price-line: #d7e0ed;
  --price-panel: #e6edf6;
  color: var(--price-ink);
  max-inline-size: 56rem;
  margin-inline: auto;
}
.prices-page [hidden] { display: none !important; }
.price-heading,.price-footer,.price-route-actions,.price-switch {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.price-heading h2 { margin: 0; }
.price-heading > span { background: var(--price-panel); border-radius: 6px; padding: 5px 9px; font-weight: 800; }
.price-tabs {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 4px; gap: 4px;
  margin-block: 12px 16px; background: var(--price-panel); border-radius: 10px;
}
.price-tabs button,.price-reverse,.price-directions button {
  font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; min-height: 44px;
}
.price-tabs button { border-radius: 7px; font-weight: 750; }
.price-tabs button[aria-pressed="true"] { background: #122946; color: #fff; }
.prices-page h3 { margin: 0 0 4px; font-size: 1.18rem; }
.prices-page h3 + p { color: var(--price-muted); margin: 0 0 12px; }
.prices-page input.price-search {
  inline-size: 100%; min-height: 44px; padding: 8px 12px; margin: 0 0 8px;
  border: 1px solid #cad7e6; border-radius: 8px; background: #fff; font: inherit;
}
.price-cards { display: grid; gap: 8px; }
.price-card { min-inline-size: 0; border: 1px solid var(--price-line); border-radius: 10px; background: #fff; }
.price-card[open] { border-color: #bd8a1b; }
.price-card > summary {
  display: grid; grid-template-columns: 68px minmax(0,1fr) auto; align-items: center; gap: 9px;
  padding: 9px; cursor: pointer; list-style: none; min-height: 62px;
}
.price-card > summary::-webkit-details-marker { display: none; }
.price-card summary img,.price-car-placeholder { inline-size: 68px; block-size: 48px; object-fit: contain; }
.price-car-placeholder { display: grid; place-items: center; background: var(--price-panel); border-radius: 6px; }
.price-model { overflow-wrap: anywhere; }
.price-model small,.price-amount > small { display: block; color: var(--price-muted); font-size: .76rem; }
.price-amount { text-align: end; white-space: nowrap; }
.price-amount strong { font-size: clamp(.95rem, 4vw, 1.2rem); }
.price-amount strong small { font-size: .68rem; }
.price-edit { margin-inline: 9px; padding-block: 8px; border-top: 1px solid var(--price-line); }
.price-edit > label,.price-route > label { display: block; font-size: .82rem; font-weight: 750; margin-bottom: 4px; }
.price-rate-form,.price-input { display: flex; align-items: center; gap: 8px; }
.price-input { flex: 1; min-inline-size: 0; border: 1px solid #bdccdd; border-radius: 8px; padding-inline-end: 8px; background: #fff; }
.prices-page .price-input input {
  inline-size: 100%; min-inline-size: 0; min-height: 42px; margin: 0; padding: 6px 8px; border: 0;
  background: transparent; color: inherit; font: inherit; font-weight: 750;
}
.price-input small { color: var(--price-muted); white-space: nowrap; font-size: .68rem; }
.prices-page .primary { min-height: 44px; color: #132843; background: #f6c951; border-color: #d7a82f; white-space: nowrap; }
.price-route,.price-directions { padding: 10px; }
.price-cities { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 6px; }
.price-cities > span { color: #526c8b; }
.price-city {
  min-inline-size: 0; padding: 6px 8px; border: 1px solid var(--price-line); border-radius: 7px;
  background: #f7f9fc; font-size: .75rem; color: var(--price-muted);
}
.prices-page .price-city select {
  display: block; inline-size: 100%; min-height: 34px; margin: 0; padding: 0;
  border: 0; background: transparent; color: var(--price-ink); font: inherit; font-weight: 750;
}
.price-reverse { padding: 0; color: #234e82; font-size: .83rem; font-weight: 750; }
.price-status { border-radius: 5px; padding: 4px 7px; color: #4a586a; background: #e9eef3; font-size: .74rem; font-weight: 750; }
.price-status.is-enabled { color: #1c6745; background: #e6f4ec; }
.price-route > .price-switch { display: flex; min-height: 44px; cursor: pointer; margin: 2px 0; }
.prices-page .price-switch input {
  appearance: none; display: block; flex: 0 0 36px; inline-size: 36px; block-size: 20px; margin: 0;
  border: 0; border-radius: 12px; background: #708197; position: relative; cursor: pointer;
}
.price-switch input:checked { background: #247050; }
.price-switch input::after {
  content: ''; position: absolute; inset-block-start: 3px; inset-inline-start: 3px;
  inline-size: 14px; block-size: 14px; background: #fff; border-radius: 50%;
}
.price-switch input:checked::after { inset-inline-start: 19px; }
.price-route .primary { inline-size: 100%; }
.price-directions { margin-block-start: 8px; }
.price-directions h4 { margin: 0 0 4px; }
.price-directions button {
  inline-size: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 7px 3px; border-top: 1px solid var(--price-line); text-align: start; font-size: .85rem;
}
.price-directions button[aria-pressed="true"] { color: #234e82; }
.price-directions button strong { text-align: end; white-space: nowrap; }
.price-note { padding: 8px 10px; border-radius: 7px; margin-block: 9px 0; color: #425870; background: #e8eff8; font-size: .82rem; }
.price-footer { flex-wrap: wrap; margin-block-start: 15px; }
.prices-page .v89-feedback:empty { display: none; }
.prices-page :focus-visible { outline: 2px solid #2865a4; outline-offset: 2px; }
.prices-page :disabled { opacity: .6; cursor: default; }
@media (max-width: 360px) {
  .price-card > summary { grid-template-columns: 52px minmax(0,1fr) auto; gap: 6px; }
  .price-card summary img,.price-car-placeholder { inline-size: 52px; }
}
