/* Taxi application composition. Authority: HIKKARU 0.1.0, 0024/0035/0044.
   Existing class names below are application hooks, not a layer over old CSS. */
* { box-sizing: border-box; }
html { scroll-padding-top: var(--hkr-size-header); }
#taxi-header { box-shadow: var(--hkr-shadow-menu); }
#taxi-header[data-hidden="true"] { box-shadow: none; }
/* Owner 09.11: page margins as on the Rentacar home page — content up to 1216 px, header aligned to it. */
:root { --taxi-layout-wide: 1216px; }
@media (min-width: 1024px) {
  #taxi-header { padding-inline: max(var(--hkr-space-4xl), calc((100% - var(--taxi-layout-wide)) / 2)); }
}
body { margin: 0; color: var(--hkr-color-text-default); background: var(--hkr-color-surface-default); font: var(--hkr-font-weight-regular) var(--hkr-font-size-body)/var(--hkr-line-height-body) var(--hkr-font-family-base); }
img, svg { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
[hidden] { display: none !important; }
a { color: var(--hkr-color-link); text-underline-offset: var(--hkr-link-underline-offset); }
:focus-visible { outline: var(--hkr-focus-field); outline-offset: var(--hkr-space-xs); }
h1, h2, h3 { margin-block: 0 var(--hkr-space-l); color: var(--hkr-color-text-heading); overflow-wrap: anywhere; }
h1 { font-size: var(--hkr-font-size-title-l); line-height: var(--hkr-line-height-title-l); letter-spacing: var(--hkr-letter-spacing-title-l); }
h2 { font-size: var(--hkr-font-size-title-m); line-height: var(--hkr-line-height-title-m); letter-spacing: var(--hkr-letter-spacing-title-m); }
h3 { font-size: var(--hkr-font-size-title-s); line-height: var(--hkr-line-height-title-s); }
p { margin-block: 0 var(--hkr-space-l); }
small { font-size: var(--hkr-font-size-caption); line-height: var(--hkr-line-height-caption); }
main { min-height: 50vh; }
.tx-container, .tx-journey-main, .taxi-booking, .tx-booking, .taxi-options-page, .taxi-single-page { width: 100%; max-width: var(--hkr-layout-main); margin-inline: auto; padding: var(--hkr-space-2xl) var(--hkr-space-l) var(--hkr-page-bottom); }
.tx-entry, .tx-entry-content { max-width: var(--hkr-layout-main); margin-inline: auto; overflow-wrap: anywhere; }
.tx-content-flow > * + * { margin-block-start: var(--hkr-space-2xl); }
.tx-container > .tx-booking { padding: 0; }
.tx-entry a { display: inline-block; min-height: var(--hkr-size-touch); padding-block: var(--hkr-space-m); }
.tx-journey-main > p > a, .tx-profile-support a, section[aria-labelledby="tx-operator-requests-title"] h3 a { display:inline-flex; align-items:center; min-height:var(--hkr-size-touch); min-width:var(--hkr-size-touch); }
.tx-account-bar button { display:inline-flex; align-items:center; gap:var(--hkr-space-s); min-width:var(--hkr-size-touch); min-height:var(--hkr-size-touch); padding:var(--hkr-space-m); border:var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius:var(--hkr-radius-control); color:var(--hkr-color-text-heading); background:var(--hkr-color-surface-default); cursor:pointer; }
.tx-skip-link { position: fixed; inset: var(--hkr-space-s) auto auto var(--hkr-space-s); padding: var(--hkr-space-m); background: var(--hkr-color-surface-default); z-index: var(--hkr-z-modal); transform: translateY(-200%); }
.tx-skip-link:focus { transform: none; }
.screen-reader-text, .taxi-intro { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.taxi-booking > h1, .tx-booking__header, .tx-journey-main > h1 { margin-block-end: var(--hkr-space-2xl); }
.taxi-panel, section[aria-labelledby="tx-operator-requests-title"] article, .tx-journey-vehicle, .tx-customer-profile, .tx-profile-order-card, .tx-booking__result, .tx-booking__form, .tx-guest-access { padding: var(--hkr-space-l); border: var(--hkr-line-1) solid var(--hkr-color-border-subtle); border-radius: var(--hkr-radius-card); background: var(--hkr-color-surface-default); margin-block-end: var(--hkr-space-2xl); min-width: 0; }
.taxi-panel > :last-child, .tx-journey-vehicle > :last-child { margin-bottom: 0; }
.taxi-top-nav, .tx-journey-nav, .taxi-progress, .tx-journey-steps { display: flex; flex-wrap: wrap; align-items: center; gap: var(--hkr-space-s) var(--hkr-space-l); margin: 0 0 var(--hkr-space-l); padding: 0; list-style: none; font-size: var(--hkr-font-size-caption); }
.tx-journey-nav, .tx-journey-steps { max-width: var(--hkr-layout-main); margin-inline: auto; padding-inline: var(--hkr-space-l); }
.taxi-top-nav a, .tx-journey-nav a { min-height: var(--hkr-size-touch); min-width:var(--hkr-size-touch); display: inline-flex; align-items: center; }
.taxi-progress li, .tx-journey-steps li { flex: 1; border-top: var(--hkr-size-progress) solid var(--hkr-color-border-subtle); padding-block: var(--hkr-space-s); }
[aria-current="step"] { color: var(--hkr-color-text-heading); font-weight: var(--hkr-font-weight-bold); }
.taxi-progress [aria-current="step"], .tx-journey-steps [aria-current="step"] { border-color: var(--hkr-color-border-selected); }
.taxi-field, .taxi-location, .tx-booking__field, .tx-profile-contact-form > div { position: relative; margin-block: var(--hkr-space-m); min-width: 0; }
.taxi-field > label, section[aria-labelledby="tx-operator-requests-title"] label, .taxi-location > label, .tx-booking__label, .tx-profile-contact-form label { display: block; font-size: var(--hkr-font-size-label); line-height: var(--hkr-line-height-label); font-weight: var(--hkr-font-weight-semibold); color: var(--hkr-color-text-heading); margin-bottom: var(--hkr-space-s); }
.taxi-field > small, .taxi-location > small, .tx-booking__hint, .taxi-help, .tx-booking__intro { display: block; color: var(--hkr-color-text-muted); margin-top: var(--hkr-space-s); font-size: var(--hkr-font-size-caption); }
.taxi-panel input[type="email"], section[aria-labelledby="tx-operator-requests-title"] select, section[aria-labelledby="tx-operator-requests-title"] textarea, .taxi-field input:not([type="checkbox"]):not([type="radio"]), .taxi-field select, .taxi-field textarea, .taxi-location input:not([type="hidden"]), .tx-booking__control, .tx-customer-profile input:not([type="hidden"]):not([type="checkbox"]), .tx-customer-profile select, .tx-customer-profile textarea, .tx-journey-main form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), .tx-journey-main form select, .tx-journey-main textarea, .taxi-extra-time select { width: 100%; min-width: 0; min-height: var(--hkr-size-control); padding: var(--hkr-space-m) var(--hkr-space-14); border: var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius: var(--hkr-radius-control); background: var(--hkr-color-surface-default); color: var(--hkr-color-text-default); }
input::placeholder, textarea::placeholder { color: var(--hkr-color-text-muted); opacity: 1; }
input:disabled, select:disabled, textarea:disabled, button:disabled { background: var(--hkr-color-surface-disabled); color: var(--hkr-color-text-disabled); cursor: not-allowed; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--hkr-color-error); }
.tx-booking__field-error { color: var(--hkr-color-error); }
.taxi-primary, .taxi-secondary, section[aria-labelledby="tx-operator-requests-title"] button, .tx-booking__submit, .tx-booking__secondary, .tx-journey-button, .tx-journey-edit, .tx-booking__status-action, .tx-profile-actions button, .tx-customer-profile button, .tx-journey-main form button, .tx-account-close, .taxi-picker-trigger, .taxi-picker-close { min-width: var(--hkr-size-touch); min-height: var(--hkr-size-control); display: inline-flex; align-items: center; justify-content: center; gap: var(--hkr-space-s); padding: var(--hkr-space-m) var(--hkr-space-l); border: var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius: var(--hkr-radius-control); background: var(--hkr-color-surface-default); color: var(--hkr-color-text-heading); font-weight: var(--hkr-font-weight-semibold); text-decoration: none; cursor: pointer; white-space: normal; }
.taxi-primary, .tx-booking__submit, .tx-journey-button { min-height: var(--hkr-size-cta); background: var(--hkr-color-action-primary); border-color: var(--hkr-color-action-primary); color: var(--hkr-color-action-primary-text); }
#taxi-cookie-allow { background: var(--hkr-color-action-primary); border-color: var(--hkr-color-action-primary); color: var(--hkr-color-action-primary-text); }
.taxi-primary:disabled, .tx-booking__submit:disabled, .tx-journey-button:disabled { background: var(--hkr-color-surface-disabled); color: var(--hkr-color-text-disabled); border-color: var(--hkr-color-border-subtle); }
.taxi-search-submit, .taxi-vehicle-continue { width: 100%; }
.taxi-entry-fare { display: flex; align-items: center; gap: var(--hkr-space-m); margin-block: var(--hkr-space-l); }
.taxi-entry-fare > strong { color: var(--hkr-color-text-heading); font-size: var(--hkr-font-size-title-l); font-weight: var(--hkr-font-weight-extrabold); font-variant-numeric: tabular-nums; }
.taxi-entry-fare > span { min-width: 0; font-size: var(--hkr-font-size-caption); }
.taxi-entry-fare small { display: block; color: var(--hkr-color-text-muted); }
.taxi-actions, .tx-booking__actions, .tx-profile-actions, .tx-order-actions { display: flex; flex-wrap: wrap; gap: var(--hkr-space-s); margin-block: var(--hkr-space-l); }
.taxi-grid, .taxi-search-row, .tx-booking__fields { display: grid; grid-template-columns: minmax(0,1fr); gap: var(--hkr-space-m); }
.taxi-field--wide, .tx-booking__field--wide { grid-column: 1 / -1; }
.taxi-location-line, .taxi-counter, .taxi-extra-time { display: flex; align-items: center; gap: var(--hkr-space-s); min-width: 0; }
.taxi-location-line > input { flex: 1; }
[data-taxi-search] > .taxi-location { margin-left:28px; }
.taxi-location-symbol { position:absolute; left:-28px; top:24px; width:20px; height:20px; color:var(--hkr-color-action-primary); }
.taxi-location-symbol--pickup { border:6px solid currentColor; border-radius:50%; width:18px; height:18px; }
[data-taxi-search] > [data-taxi-location="pickup"]::after { content:""; position:absolute; left:-20px; top:46px; height:calc(100% - 26px); border-left:1px dashed var(--hkr-color-border-control); pointer-events:none; }
.taxi-route-context { display:flex; flex-direction:column; align-items:flex-start; gap:var(--hkr-space-xs); width:100%; min-height:var(--hkr-size-control); margin-block:var(--hkr-space-m); padding:var(--hkr-space-m); border:var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius:var(--hkr-radius-control); color:var(--hkr-color-text-heading); background:var(--hkr-color-surface-default); text-align:left; }
.taxi-route-context small { color:var(--hkr-color-text-muted); }
.taxi-suggestions[data-popular="true"] { display:flex; flex-wrap:wrap; gap:var(--hkr-space-s); }
.taxi-suggestions[data-popular="true"] .taxi-suggestion { min-height:var(--hkr-size-touch); width:auto; padding:var(--hkr-space-m) var(--hkr-space-l); border:var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius:999px; }
.taxi-suggestions[data-popular="true"] .taxi-suggestion > svg, .taxi-suggestions[data-popular="true"] .taxi-suggestion small { display:none; }
.taxi-location-entry { position: relative; flex: 1; min-width: 0; }
.taxi-location-entry input { padding-inline-end: var(--hkr-size-touch); }
.taxi-location-entry:has(.taxi-location-clear[hidden]) input { padding-inline-end:var(--hkr-space-m); }
.taxi-location-clear { position: absolute; inset: 0 0 0 auto; width: var(--hkr-size-touch); border: 0; border-radius: var(--hkr-radius-control); background: transparent; color: var(--hkr-color-text-muted); font-size:0; }
.taxi-location-clear::after { content:'×'; display:grid; place-items:center; width:24px; height:24px; margin:auto; border-radius:50%; background:var(--hkr-color-surface-subtle); font-size:20px; line-height:1; }
[data-taxi-search] > .taxi-location > .taxi-location-line > .taxi-map-button { display:none; }
.taxi-field, .taxi-location { padding-top: var(--hkr-space-s); }
.taxi-field > label:not(.taxi-checkbox), .taxi-location > label { position: absolute; top: 0; left: var(--hkr-space-10); padding-inline: var(--hkr-space-xs); margin: 0; background: var(--hkr-color-surface-default); z-index: 1; }
.taxi-picker-trigger { width: 100%; justify-content: space-between; }
.taxi-picker-trigger > span { white-space:nowrap; }
.taxi-map-button { padding: var(--hkr-space-s); flex: 0 0 var(--hkr-size-touch); }
.taxi-counter > input { min-width:var(--hkr-size-touch); text-align: center; font-variant-numeric: tabular-nums; }
.taxi-counter > button { padding: var(--hkr-space-s); }
.taxi-checkbox, .tx-booking__checkbox-label { display: flex; align-items: center; gap: var(--hkr-space-m); min-height: var(--hkr-size-touch); cursor: pointer; }
input[type="checkbox"], input[type="radio"] { width: var(--hkr-radio-diameter); height: var(--hkr-radio-diameter); flex-shrink: 0; accent-color: var(--hkr-color-action-primary); }
.taxi-summary, .tx-booking__result-list, .tx-journey-vehicle dl { margin: var(--hkr-space-l) 0; display: grid; gap: var(--hkr-space-m); overflow-wrap: anywhere; }
.taxi-summary > div, .tx-booking__result-item, .tx-journey-vehicle dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--hkr-space-xs) var(--hkr-space-l); padding-bottom: var(--hkr-space-s); border-bottom: var(--hkr-line-1) solid var(--hkr-color-border-subtle); }
dt { color: var(--hkr-color-text-muted); font-size: var(--hkr-font-size-caption); }
dd { margin: 0; font-weight: var(--hkr-font-weight-semibold); }
.taxi-price, .tx-journey-price { font-size: var(--hkr-font-size-title-l); font-weight: var(--hkr-font-weight-extrabold); font-variant-numeric: tabular-nums; }
.taxi-vehicles, .tx-journey-vehicles, .tx-profile-orders { display: grid; gap: var(--hkr-space-l); }
.taxi-vehicle { position: relative; display: block; min-width: 0; border: var(--hkr-line-1) solid var(--hkr-color-border-subtle); border-radius: var(--hkr-radius-card); padding: var(--hkr-space-l); cursor: pointer; }
.taxi-vehicle:has(input:checked) { border: var(--hkr-line-2) solid var(--hkr-color-border-selected); background: var(--hkr-color-accent-subtle); }
.taxi-vehicle img, .tx-journey-vehicle img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--hkr-radius-inset); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { font-size: var(--hkr-font-size-title-m); font-weight: var(--hkr-font-weight-bold); color: var(--hkr-color-text-heading); margin-bottom: var(--hkr-space-l); }
.taxi-trip-first-row, .tx-profile-order-meta { display: flex; flex-wrap: wrap; gap: var(--hkr-space-s) var(--hkr-space-l); }
.taxi-message, .tx-journey-message, .tx-booking__validation-summary, .tx-profile-message { margin-block: var(--hkr-space-l); padding: var(--hkr-space-l); border: var(--hkr-line-1) solid var(--hkr-color-border-subtle); border-radius: var(--hkr-radius-control); background: var(--hkr-color-surface-subtle); overflow-wrap: anywhere; }
[role="alert"] { color: var(--hkr-color-error); }
.taxi-submit-status:empty { display: none; }
.taxi-suggestions { position: absolute; inset: 100% 0 auto; z-index: var(--hkr-z-dropdown); max-height: 40vh; overflow-y: auto; padding: var(--hkr-space-xs); border: var(--hkr-line-1) solid var(--hkr-color-border-subtle); border-radius: var(--hkr-radius-control); background: var(--hkr-color-surface-default); box-shadow: var(--hkr-shadow-menu); }
.taxi-suggestions [role="option"] { display: flex; align-items:center; gap:var(--hkr-space-m); width: 100%; min-height: var(--hkr-size-touch); border: 0; padding: var(--hkr-space-m); color: var(--hkr-color-text-default); background: var(--hkr-color-surface-default); text-align: start; cursor:pointer; }
.taxi-suggestion-copy, .taxi-suggestion-title { display:block; min-width:0; }
.taxi-suggestion-copy small { display:block; color:var(--hkr-color-text-muted); margin-top:var(--hkr-space-xs); }
.taxi-suggestions [data-attribution] { display:flex; gap:var(--hkr-space-s); align-items:center; padding:var(--hkr-space-m); color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-caption); }
.taxi-suggestions [aria-selected="true"] { background: var(--hkr-color-surface-highlight); }
.taxi-picker-panel, .taxi-map-panel, .tx-account-dialog, .tx-cancel-dialog { width: min(calc(100% - var(--hkr-space-2xl)), var(--hkr-layout-main)); max-height: calc(100dvh - var(--hkr-space-3xl)); padding: var(--hkr-space-l); border: 0; border-radius: var(--hkr-radius-sheet); background: var(--hkr-color-surface-default); color: var(--hkr-color-text-default); box-shadow: var(--hkr-shadow-sheet); overflow-y: auto; }
dialog::backdrop { background: var(--hkr-color-overlay); }
.taxi-picker-panel { width: min(calc(100% - var(--hkr-space-s)),var(--hkr-layout-main)); max-width: calc(100% - var(--hkr-space-s)); padding: var(--hkr-space-s); }
.taxi-calendar-header button, .taxi-calendar-toolbar button, .taxi-calendar-actions button, .taxi-time-options button { min-height: var(--hkr-size-touch); min-width: var(--hkr-size-touch); padding: var(--hkr-space-s); border: var(--hkr-line-1) solid var(--hkr-color-border-subtle); border-radius: var(--hkr-radius-control); color: var(--hkr-color-text-heading); background: var(--hkr-color-surface-default); cursor: pointer; }
.taxi-calendar-toolbar { padding-bottom: var(--hkr-space-s); }
.taxi-calendar-header { margin-bottom: var(--hkr-space-s); }
.taxi-calendar-weekdays > span { padding-block: var(--hkr-space-s); }
.taxi-calendar-actions { padding-top: var(--hkr-space-s); }
.taxi-time-options [aria-selected="true"] { background: var(--hkr-color-action-primary); color: var(--hkr-color-action-primary-text); }
.taxi-map-canvas { min-height: 50dvh; }
.taxi-map-close { min-width: var(--hkr-size-touch); min-height: var(--hkr-size-touch); padding: var(--hkr-space-s); border: var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius: var(--hkr-radius-control); background: var(--hkr-color-surface-default); color: var(--hkr-color-text-heading); cursor: pointer; }
.taxi-calendar-header, .taxi-calendar-toolbar, .taxi-calendar-actions, .taxi-map-header, .tx-account-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--hkr-space-s); }
.taxi-calendar-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
.taxi-calendar-weekdays, .taxi-calendar-days { display: grid; grid-template-columns: repeat(7,minmax(var(--hkr-size-touch),1fr)); text-align: center; }
.taxi-calendar-days button { min-height: var(--hkr-size-touch); min-width: 0; padding: 0; border: 0; border-radius: var(--hkr-radius-s); background: var(--hkr-color-surface-default); color: var(--hkr-color-text-default); font-variant-numeric: tabular-nums; }
.taxi-calendar-days [aria-pressed="true"] { background: var(--hkr-color-action-primary); color: var(--hkr-color-action-primary-text); }
.taxi-calendar-days button:disabled { color: var(--hkr-color-text-disabled); }
.taxi-date-picker { max-width: 420px; }
.taxi-calendar-days button { border-radius:50%; }
.taxi-calendar-days [aria-current="date"] { box-shadow:inset 0 0 0 var(--hkr-line-1) var(--hkr-color-border-selected); }
.taxi-calendar-days [aria-current="date"][aria-pressed="true"] { box-shadow:inset 0 0 0 3px var(--hkr-color-action-primary),inset 0 0 0 4px var(--hkr-color-action-primary-text); }
.taxi-calendar-days [aria-disabled="true"] { cursor:not-allowed; opacity:.5; }
.taxi-calendar-zone { color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-caption); padding-top:var(--hkr-space-l); }
.taxi-calendar-actions .taxi-calendar-done { background:var(--hkr-color-action-primary); color:var(--hkr-color-action-primary-text); flex:1; }
.taxi-picker-trigger > svg { width:24px; height:24px; flex-shrink:0; }
@media (max-width:599px) { .taxi-picker-panel { margin: auto auto 0; max-height:90dvh; border-radius:var(--hkr-radius-sheet) var(--hkr-radius-sheet) 0 0; padding-bottom:max(var(--hkr-space-l),env(safe-area-inset-bottom)); } }

/* 0038: sections precede services; the driver enquiry opens the contacts sheet. */
#taxi-menu .hkr-menu__service[href="#taxi-contacts"] > svg:last-child { display:none; }
.hkr-footer__nav[href="#taxi-contacts"] > svg:last-child { display:none; }
.hkr-menu__actions { display:flex; flex-wrap:wrap; gap:var(--hkr-space-l); }
.hkr-footer:not([data-variant="short"]) { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--hkr-space-2xl); }
.hkr-footer__section, .hkr-footer__links { align-content:start; align-self:start; }
/* E-15 (Р-05): call and email stay on this site — no external-link mark. */
.hkr-footer__contact:is([href^="tel:"],[href^="mailto:"]) > svg:last-child { visibility:hidden; }
.hkr-footer a[href="https://hikka.ru/hikka-ru-kontakty/"] { display:inline-flex; align-items:center; gap:var(--hkr-space-xs); }
@media (min-width:1064px) {
  html { scroll-padding-top: var(--hkr-size-header-desktop); }
  /* E-15 A: brand row over a full-width line; contacts | journey + documents | services | company; © full width. */
  /* Row 4 (1fr) absorbs the tall columns, so documents follow the journey links directly. */
  .hkr-footer:not([data-variant="short"]) { grid-template-columns:repeat(4,minmax(0,1fr)); grid-template-rows:auto auto auto 1fr auto; }
  /* Owner 09.11: footer content aligned with the header and page width (as on Rentacar). */
  .hkr-footer { padding-inline:max(var(--hkr-space-l), calc((100% - var(--taxi-layout-wide)) / 2)); }
  .hkr-footer:not([data-variant="short"]) .hkr-footer__brand { grid-column:1/-1; grid-row:1; padding-bottom:var(--hkr-space-2xl); border-bottom:var(--hkr-line-1) solid var(--hkr-color-border-inverse); }
  .hkr-footer:not([data-variant="short"]) .hkr-footer__section { border-top:0; padding-top:0; }
  .hkr-footer:not([data-variant="short"]) #tx-contacts { grid-column:1; grid-row:2/span 3; }
  .hkr-footer:not([data-variant="short"]) #tx-footer-trips { grid-column:2; grid-row:2; }
  .hkr-footer:not([data-variant="short"]) #tx-footer-documents { grid-column:2; grid-row:3; }
  .hkr-footer:not([data-variant="short"]) #tx-footer-services { grid-column:3; grid-row:2/span 3; }
  .hkr-footer:not([data-variant="short"]) .hkr-footer__section:last-of-type { grid-column:4; grid-row:2/span 3; }
  .hkr-footer:not([data-variant="short"]) .hkr-footer__copyright { grid-column:1/-1; grid-row:5; }
}
.tc-summary-total { display:flex; justify-content:space-between; align-items:baseline; gap:var(--hkr-space-l); }
.tc-summary-total strong { font-size:var(--hkr-font-size-title-m); white-space:nowrap; }
.tc-summary-route { font-weight:var(--hkr-font-weight-bold); }
[data-diagnostic-section="summary"] > h2 { font-size:var(--hkr-font-size-caption); color:var(--hkr-color-text-muted); }
.tc-summary-date, .tc-summary-payment { color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-secondary); }
[data-diagnostic-section="summary"] .taxi-summary { gap:var(--hkr-space-s); margin-block:var(--hkr-space-l); }
[data-diagnostic-section="summary"] .taxi-summary > div { flex-wrap:nowrap; padding:0; border:0; }
[data-diagnostic-section="summary"] dd { margin:0; white-space:nowrap; }
[data-diagnostic-section="summary"] dt { color:var(--hkr-color-text-default); font-size:var(--hkr-font-size-ui); }
[data-tc-summary-lkr] > span { display:flex; flex-wrap:wrap; justify-content:space-between; gap:var(--hkr-space-s); padding:var(--hkr-space-m); background:var(--hkr-color-surface-subtle); border-radius:var(--hkr-radius-control); color:var(--hkr-color-text-heading); font-size:var(--hkr-font-size-ui); }
[data-tc-summary-lkr] > small { display:block; margin-top:var(--hkr-space-s); font-size:inherit; }
.tc-summary-support { width:100%; margin-top:var(--hkr-space-s); }
.tc-check.tc-terms { align-items:flex-start; }
.tc-terms > input { flex-shrink:0; margin:calc((1lh - var(--hkr-radio-diameter)) / 2) 0 0; }
.tc-terms > span { min-width:0; }
.tc-consent > .taxi-policy-links { display:flex; flex-wrap:wrap; gap:0 var(--hkr-space-l); margin:0 0 var(--hkr-space-l); padding:0 0 0 calc(var(--hkr-radio-diameter) + var(--hkr-space-m)); list-style:none; }
.taxi-stop { position:relative; border-left:var(--hkr-line-1) solid var(--hkr-color-border-control); padding:0 0 var(--hkr-space-l) var(--hkr-space-l); margin-left:var(--hkr-space-s); }
.taxi-stop::before { content:''; position:absolute; top:var(--hkr-space-l); left:-5px; width:9px; height:9px; background:var(--hkr-color-text-heading); border-radius:50%; }
.taxi-stop-actions { display:flex; gap:var(--hkr-space-s); justify-content:flex-end; }
.taxi-stop-actions button { min-width:var(--hkr-size-touch); min-height:var(--hkr-size-touch); border:var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius:var(--hkr-radius-control); background:var(--hkr-color-surface-default); color:var(--hkr-color-text-heading); }
.taxi-stop-duration { display:flex; align-items:center; gap:var(--hkr-space-s); }
.taxi-stop-duration select { min-height:var(--hkr-size-touch); padding:var(--hkr-space-s) var(--hkr-space-m); border:var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius:var(--hkr-radius-pill); background:var(--hkr-color-surface-default); color:var(--hkr-color-text-heading); }
.taxi-route-picker { position:fixed; inset:0; width:100%; height:100dvh; max-width:720px; max-height:100dvh; border:0; margin:auto; padding:var(--hkr-space-l); background:var(--hkr-color-surface-default); color:var(--hkr-color-text-default); }
.taxi-route-picker-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:var(--hkr-space-2xl); }
.taxi-route-picker-header > strong, .taxi-people-panel > strong {
    display:block; color:var(--hkr-color-text-heading); font-size:var(--hkr-font-size-title-m);
    line-height:var(--hkr-line-height-title-m); letter-spacing:var(--hkr-letter-spacing-title-m);
}
.taxi-route-picker-header > strong { margin:0; }
.taxi-route-picker-body { display:flex; flex-direction:column; gap:var(--hkr-space-m); }
.taxi-route-picker-body > label { position:static; }
.taxi-route-picker .taxi-suggestions { position:static; max-height:none; box-shadow:none; border:0; padding:0; }
.taxi-route-picker [data-location-status] { margin:0; }
.taxi-route-picker [data-location-map] { flex-shrink:0; }
/* Р-19 (E-01): «×» left of the title; fields with the label on the border, the route markers on the left
   (start ring · dashed line · finish pin) and the map pin inside the field; popular places captioned in capitals. */
.taxi-route-picker { --route-mark:28px; --route-field-top:var(--hkr-space-s); }
.taxi-route-picker-header { justify-content:flex-start; gap:var(--hkr-space-s); margin-bottom:var(--hkr-space-xl); }
.taxi-route-picker-header > button { order:-1; min-width:var(--hkr-size-touch); min-height:var(--hkr-size-touch); margin-left:calc(-1 * var(--hkr-space-m)); padding:0; border:0; background:transparent; color:var(--hkr-color-text-heading); font-size:var(--hkr-font-size-title-s); line-height:1; }
.taxi-route-picker-body { position:relative; gap:var(--hkr-space-m); padding-left:calc(var(--route-mark) + var(--hkr-space-s)); }
.taxi-route-field { position:relative; padding-top:var(--route-field-top); }
.taxi-route-field > label { position:absolute; top:0; left:var(--hkr-space-10); z-index:1; margin:0; padding-inline:var(--hkr-space-xs); background:var(--hkr-color-surface-default); color:var(--hkr-color-text-heading); font-size:var(--hkr-font-size-label); line-height:var(--hkr-line-height-label); font-weight:var(--hkr-font-weight-semibold); }
.taxi-route-field > .taxi-location-line { position:relative; }
.taxi-route-field .taxi-map-button { position:absolute; top:50%; right:var(--hkr-space-xs); z-index:1; display:grid; place-items:center; width:var(--hkr-size-touch); height:var(--hkr-size-touch); min-height:0; padding:0; border:0; border-radius:50%; background:var(--hkr-color-surface-subtle); color:var(--hkr-color-text-heading); transform:translateY(-50%); }
.taxi-route-field .taxi-location-entry input, .taxi-route-field .taxi-location-entry:has(.taxi-location-clear[hidden]) input { padding-inline-end:calc(var(--hkr-size-touch) + var(--hkr-space-s)); }
.taxi-route-field .taxi-location-entry:has(.taxi-location-clear:not([hidden])) input { padding-inline-end:calc(2 * var(--hkr-size-touch) + var(--hkr-space-xs)); }
.taxi-route-field .taxi-location-clear { right:calc(var(--hkr-size-touch) + var(--hkr-space-xs)); }
/* The field has its own clear button; the browser's search cancel (×) would show a second one. */
.taxi-location-entry input[type="search"]::-webkit-search-cancel-button { -webkit-appearance:none; appearance:none; display:none; }
.taxi-route-picker .taxi-route-context { position:relative; flex-direction:row; align-items:center; min-height:var(--hkr-size-control); margin:var(--route-field-top) 0 0; padding:0 var(--hkr-space-m); border-radius:var(--hkr-radius-control); background:var(--hkr-color-surface-default); text-align:left; }
.taxi-route-picker .taxi-route-context > small { position:absolute; top:0; left:var(--hkr-space-10); padding-inline:var(--hkr-space-xs); background:var(--hkr-color-surface-default); color:var(--hkr-color-text-heading); font-size:var(--hkr-font-size-label); line-height:var(--hkr-line-height-label); font-weight:var(--hkr-font-weight-semibold); transform:translateY(-50%); }
.taxi-route-picker .taxi-route-context > span { color:var(--hkr-color-text-default); }
.taxi-route-picker .taxi-route-context > span.is-empty { color:var(--hkr-color-text-muted); }
/* Markers: centred on each field; the active field is the start (pickup), the finish (drop-off) or a stop. */
.taxi-route-field::before, .taxi-route-picker .taxi-route-context::before { content:""; position:absolute; left:calc(-1 * (var(--route-mark) + var(--hkr-space-s)) + (var(--route-mark) - 16px) / 2); width:16px; height:16px; box-sizing:border-box; border:3px solid var(--hkr-color-text-heading); border-radius:50%; background:var(--hkr-color-surface-default); }
.taxi-route-field::before { top:calc(var(--route-field-top) + var(--hkr-size-control) / 2 - 8px); }
.taxi-route-picker .taxi-route-context::before { top:calc(50% - 8px); }
.taxi-route-picker-body:has(#taxi-pickup) > .taxi-route-field::before, .taxi-route-picker-body:has(#taxi-dropoff) > .taxi-route-context::before { border-width:5px; }
.taxi-route-picker-body:has(#taxi-dropoff) > .taxi-route-field::before, .taxi-route-picker-body:has(#taxi-pickup) > .taxi-route-context::before { left:calc(-1 * (var(--route-mark) + var(--hkr-space-s)) + (var(--route-mark) - 20px) / 2); width:20px; height:20px; border:0; border-radius:0; background:var(--hkr-color-text-heading);
  -webkit-mask:url("../../../../mu-plugins/hikkaru-design/icons/map-pin.svg") center / contain no-repeat; mask:url("../../../../mu-plugins/hikkaru-design/icons/map-pin.svg") center / contain no-repeat; }
.taxi-route-picker-body:has(#taxi-dropoff) > .taxi-route-field::before { top:calc(var(--route-field-top) + var(--hkr-size-control) / 2 - 10px); }
.taxi-route-picker-body:has(#taxi-pickup) > .taxi-route-context::before { top:calc(50% - 10px); }
/* Dashed line from the upper marker down to the lower one (field and context are equal in height). */
.taxi-route-picker-body:has(#taxi-pickup) > .taxi-route-field::after, .taxi-route-picker-body:has(#taxi-dropoff) > .taxi-route-context::after { content:""; position:absolute; left:calc(-1 * (var(--route-mark) + var(--hkr-space-s)) + var(--route-mark) / 2 - 1px); height:calc(var(--hkr-size-control) + var(--hkr-space-m) + var(--route-field-top) - 2 * var(--hkr-space-m)); border-left:var(--hkr-line-2) dashed var(--hkr-color-border-control); }
.taxi-route-picker-body:has(#taxi-pickup) > .taxi-route-field::after { top:calc(var(--route-field-top) + var(--hkr-size-control) / 2 + var(--hkr-space-m)); }
.taxi-route-picker-body:has(#taxi-dropoff) > .taxi-route-context::after { top:calc(50% + var(--hkr-space-m)); }
.taxi-route-picker-body > [data-location-status]:has(+ .taxi-suggestions[data-popular="true"]:not([hidden])) { margin-top:var(--hkr-space-s); color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-caption); font-weight:var(--hkr-font-weight-semibold); letter-spacing:.06em; text-transform:uppercase; }
.taxi-route-picker-body > .taxi-suggestions, .taxi-route-picker-body > [data-location-status], .taxi-route-picker-body > button:not(.taxi-route-context) { margin-left:calc(-1 * (var(--route-mark) + var(--hkr-space-s))); }
.taxi-time-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--hkr-space-s); }
.tx-account-close { float: right; }
.tx-profile-support-links, .tx-profile-pages { display: flex; flex-wrap: wrap; gap: var(--hkr-space-s); }
.tx-customer-profile summary { min-height:var(--hkr-size-touch); min-width:var(--hkr-size-touch); padding-block:var(--hkr-space-m); cursor:pointer; }
.tx-profile-support-links a, .tx-profile-pages a, .tx-profile-order-card > a, .taxi-policy-links a, .tx-booking__policy-links a { min-height: var(--hkr-size-touch); display: inline-flex; align-items: center; padding-block: var(--hkr-space-m); }
.tx-profile-order-card > a { margin-top: var(--hkr-space-m); }
.tx-profile-danger { color: var(--hkr-color-error); }
.tx-profile-orders { list-style: none; padding: 0; }
.tx-profile-orders > li { min-width: 0; padding-top: var(--hkr-space-10); }
.tx-order-actions button { min-width:var(--hkr-size-touch); min-height:var(--hkr-size-touch); padding:var(--hkr-space-m); border:var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius:var(--hkr-radius-control); color:var(--hkr-color-text-heading); background:var(--hkr-color-surface-default); }
.tx-profile-email, .tx-confirm-methods { overflow-wrap:anywhere; }
.tx-confirm-methods > form { min-width:0; max-width:100%; }
.tx-profile-order-card { display: flex; flex-direction: column; gap: var(--hkr-space-l); min-height: var(--hkr-size-touch); text-decoration: none; color: var(--hkr-color-text-default); }
.tx-profile-order-route { font-size: var(--hkr-font-size-body); font-weight: var(--hkr-font-weight-regular); color: var(--hkr-color-text-heading); }
.tx-profile-channels { list-style: none; padding: 0; }
.tx-profile-channel, .tx-account-bar, .tx-account-services, .tx-confirm-methods { display: flex; flex-wrap: wrap; gap: var(--hkr-space-m); align-items: center; padding-block: var(--hkr-space-m); }
.tx-account-services a, .tx-order-actions a, .tx-profile-support > a, .tx-account-dialog a, .tc-support-links a { display: inline-flex; align-items: center; min-height: var(--hkr-size-touch); }
.tx-profile-delete { margin-top: var(--hkr-space-2xl); padding-top: var(--hkr-space-l); border-top: var(--hkr-line-1) solid var(--hkr-color-border-subtle); }
.daily-area-label { display: flex; align-items: center; justify-content: space-between; gap: var(--hkr-space-s); }
.daily-skip { min-height: var(--hkr-size-touch); padding: var(--hkr-space-s); border: 0; background: var(--hkr-color-surface-default); color: var(--hkr-color-link); cursor: pointer; }
.booking-identity-dialog { width: min(calc(100% - var(--hkr-space-2xl)),var(--hkr-layout-main)); max-height: calc(100dvh - var(--hkr-space-3xl)); padding: var(--hkr-space-2xl); border: 0; border-radius: var(--hkr-radius-sheet); overflow-y: auto; background: var(--hkr-color-surface-default); color: var(--hkr-color-text-default); }
.booking-dialog-close { min-width: var(--hkr-size-touch); min-height: var(--hkr-size-touch); float: right; border: var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius: var(--hkr-radius-control); background: var(--hkr-color-surface-default); color: var(--hkr-color-text-heading); }
.tx-email-code { position: relative; max-width: 100%; margin-block: var(--hkr-space-l); }
.tx-email-code input { width: 100%; min-height: var(--hkr-code-cell); font-size: var(--hkr-font-size-code); letter-spacing: var(--hkr-letter-spacing-code); text-align: center; border: var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius: var(--hkr-radius-control); background: var(--hkr-color-surface-default); color: var(--hkr-color-text-default); }
.tx-email-code-cells { display: none; }
.tx-email-code.is-enhanced { width: min(100%,calc(4 * var(--hkr-code-cell) + 3 * var(--hkr-space-s))); }
.tx-email-code.is-enhanced input { position:absolute; inset:0; z-index:1; height:100%; margin:0; opacity:0; cursor:text; }
.tx-email-code.is-enhanced .tx-email-code-cells { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--hkr-space-s); pointer-events:none; }
.tx-email-code-cells > span { display:flex; align-items:center; justify-content:center; min-height:var(--hkr-code-cell); border:var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius:var(--hkr-radius-control); font-size:var(--hkr-font-size-code); background:var(--hkr-color-surface-default); }
.tx-email-code-cells > .is-current { outline:var(--hkr-line-2) solid var(--hkr-color-focus); outline-offset:2px; }
.tx-email-code input[aria-invalid="true"] + .tx-email-code-cells > span { border-color:var(--hkr-color-error); }
.tx-telegram-bot { padding-block: var(--hkr-space-l); }
.tx-design-cookie { position:relative; width:100%; background:var(--hkr-color-surface-subtle); border-bottom:var(--hkr-line-1) solid var(--hkr-color-border-subtle); }
.tx-design-cookie .hkr-cookie { max-width:var(--hkr-layout-max); margin-inline:auto; border:0; border-radius:0; box-shadow:none; }
.tx-email-link { max-width: var(--hkr-layout-main); margin-inline: auto; padding: var(--hkr-space-3xl) var(--hkr-space-l); }
.tx-account-notice { display: grid; gap: var(--hkr-space-m); justify-items: start; margin-block: var(--hkr-space-l); padding: var(--hkr-space-l); border-radius: var(--hkr-radius-control); background: var(--hkr-color-surface-subtle); }
.tx-account-notice p { margin: 0; }
/* U2 (Р-22): mint icon circles; external channels (WhatsApp, Telegram, MAX) end with ↗. */
.hkr-contact__icon { background: var(--hkr-color-accent-subtle); }
.hkr-contact[href^="http"]::after { content: ""; flex: none; width: var(--hkr-size-icon-m); height: var(--hkr-size-icon-m); margin-inline-start: auto; background: currentColor;
  -webkit-mask: url("../../../../mu-plugins/hikkaru-design/icons/external-link.svg") center / contain no-repeat; mask: url("../../../../mu-plugins/hikkaru-design/icons/external-link.svg") center / contain no-repeat; }
.tx-email-link form { margin-block: var(--hkr-space-2xl); }
.tx-email-link button { min-height: var(--hkr-size-control); width: 100%; padding: var(--hkr-space-m); border: 0; border-radius: var(--hkr-radius-control); color: var(--hkr-color-action-primary-text); background: var(--hkr-color-action-primary); }
.tx-email-link > a { display: inline-flex; align-items: center; min-height: var(--hkr-size-touch); }
/* Compact checkout uses the same saved draft and explicit confirmation action. */
/* 5b (Р-07, Р-15): the trip bar is the library tripbar (E-03/P1). Phone: edge to edge under the header;
   computer: a band across the page, content in the 640 px column, «Изменить» at its right edge. */
.tc-heading { margin:calc(-1 * var(--hkr-space-2xl)) calc(-1 * var(--hkr-space-l)) var(--hkr-space-2xl); }
.tc-heading .hkr-tripbar__route { color:inherit; letter-spacing:normal; }
.tc-heading .hkr-tripbar__step { color:var(--hkr-color-text-inverse); }
.tc-trip-people { display:inline-flex; align-items:center; gap:var(--hkr-space-xs); min-height:var(--hkr-space-2xl); padding:0; border:0; background:transparent; color:inherit; font:inherit; cursor:pointer; text-decoration:underline; text-decoration-color:var(--hkr-color-border-inverse); text-underline-offset:var(--hkr-space-xs); }
.tc-trip-people:disabled { cursor:default; text-decoration:none; }
.tc-panel, .tc-vehicles { border:0; border-bottom:var(--hkr-line-1) solid var(--hkr-color-border-subtle); border-radius:0; padding:0 0 var(--hkr-space-2xl); margin-bottom:var(--hkr-space-2xl); min-width:0; background:var(--hkr-color-surface-default); }
.tc-panel h2 { display:flex; flex-wrap:wrap; gap:var(--hkr-space-s); align-items:center; }
.tc-panel h2 small { border-radius:var(--hkr-radius-control); background:var(--hkr-color-accent-subtle); padding:var(--hkr-space-xs) var(--hkr-space-s); white-space:nowrap; }
.tc-vehicle { border: var(--hkr-line-1) solid var(--hkr-color-border-subtle); border-radius: var(--hkr-radius-inset); margin-block: var(--hkr-space-m); overflow: hidden; min-width: 0; }
.tc-vehicle:has(input:checked) { border: var(--hkr-line-2) solid var(--hkr-color-border-selected); background:var(--hkr-color-surface-default); }
.tc-vehicle-top { display:grid; grid-template-columns:var(--hkr-radio-diameter) 64px minmax(0,1fr) auto; gap:var(--hkr-space-s); padding:var(--hkr-space-m); align-items:center; cursor:pointer; min-height:var(--hkr-size-touch); }
.tc-thumbnail { width:64px; aspect-ratio:3/2; object-fit:contain; border-radius:var(--hkr-radius-inset); background:var(--hkr-color-surface-subtle); }
.tc-specs { display:flex; flex-wrap:wrap; gap:var(--hkr-space-s); color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-caption); }
.tc-specs > span { display:inline-flex; gap:var(--hkr-space-xs); align-items:center; }
.tc-vehicle.is-unavailable .tc-vehicle-top { cursor:not-allowed; }
.tc-vehicle.is-unavailable strong, .tc-vehicle.is-unavailable .tc-class-price { color:var(--hkr-color-text-muted); }
.tc-vehicle.is-unavailable .tc-specs > span:first-child, .tc-capacity-reason { color:#B8470D; }
.tc-capacity-reason { display:block; font-size:var(--hkr-font-size-caption); }
.tc-vehicle:not(:has(input:checked)) .tc-excerpt { display:none; }
.tc-gallery { margin:0 var(--hkr-space-m) var(--hkr-space-m); border-radius:var(--hkr-radius-inset); overflow:hidden; }
.tc-class-price { font-size: var(--hkr-font-size-title-m); font-variant-numeric: tabular-nums; }
.tc-excerpt { padding: 0 var(--hkr-space-l); font-size: var(--hkr-font-size-secondary); }
.tc-help, .tc-field small, .tc-pair small, .tc-passengers small, .tc-check small { display: block; color: var(--hkr-color-text-muted); font-size: var(--hkr-font-size-caption); line-height: var(--hkr-line-height-caption); }
/* 5b (Р-13): hints under fields are regular grey text, not the label's semibold. */
.tc-field small, .tc-pair small { font-weight: var(--hkr-font-weight-regular); }
.tc-field, .tc-pair > label { display: block; color: var(--hkr-color-text-heading); font-size: var(--hkr-font-size-label); font-weight: var(--hkr-font-weight-semibold); margin-block: var(--hkr-space-l); min-width: 0; }
.tc-field input, .tc-pair input, .tc-measures input, .tc-pickup-stepper select, .tc-dialog textarea { display: block; width: 100%; min-width: 0; min-height: var(--hkr-size-control); padding: var(--hkr-space-m); border: var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius: var(--hkr-radius-control); background: var(--hkr-color-surface-default); color: var(--hkr-color-text-default); font-size: var(--hkr-font-size-ui); font-weight: var(--hkr-font-weight-regular); }
.tc-schedule, .tc-pair, .tc-measures { display: grid; gap: var(--hkr-space-m); }
.tc-check { display: flex; align-items: center; gap: var(--hkr-space-m); padding-block: var(--hkr-space-m); min-height: var(--hkr-size-touch); cursor: pointer; }
/* 5b (Р-14): payment rows are library options--payment in one framed list (E-11): icon, title, second line. */
.tc-payment { cursor: pointer; }
.tc-payment.is-coming { cursor: not-allowed; }
.tc-payment > .hkr-icon { flex:none; color: var(--hkr-color-text-heading); }
.tc-payment.is-coming > .hkr-icon { color: var(--hkr-color-text-disabled); }
.tc-payment-copy { display: grid; flex: 1; min-width: 0; gap: var(--hkr-space-2xs); }
.tc-payment-copy > span:first-child { color: var(--hkr-color-text-heading); font-weight: var(--hkr-font-weight-semibold); }
.tc-payment.is-coming .tc-payment-copy > span:first-child { color: var(--hkr-color-text-disabled); }
.tc-payment > .tc-soon { flex: none; }
.tc-check.is-disabled { color:var(--hkr-color-text-muted); cursor:not-allowed; }
.tc-check strong { display:flex; align-items:center; gap:var(--hkr-space-s); }
.tc-counter, .tc-passengers, .tc-pickup-stepper, .tc-flight-mode, .tc-account, .tc-verification-actions, .tc-stop-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: var(--hkr-space-s); }
.tc-passengers, .tc-account { justify-content: space-between; margin-block: var(--hkr-space-l); }
.tc-counter { flex-wrap: nowrap; }
.tc-counter input { width: var(--hkr-size-touch); min-height: var(--hkr-size-touch); border: 0; text-align: center; background: transparent; color: var(--hkr-color-text-default); }
.tc-counter button, .tc-pickup-stepper button, .tc-flight-mode button, .tc-verification-actions button, .tc-map-open, .tc-close, .tc-toast button { min-width: var(--hkr-size-touch); min-height: var(--hkr-size-touch); padding: var(--hkr-space-s) var(--hkr-space-m); border: var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius: var(--hkr-radius-control); background: var(--hkr-color-surface-default); color: var(--hkr-color-text-heading); cursor: pointer; }
.tc-flight-mode [aria-pressed="true"] { background: var(--hkr-color-surface-highlight); border-color: var(--hkr-color-border-selected); }
.tc-pickup-stepper > select, .tc-pickup-stepper > output { flex: 1; width: auto; }
.tc-gallery img, .booking-gallery-track img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.booking-gallery-controls { display: flex; align-items: center; justify-content: space-between; padding: var(--hkr-space-s); }
/* 5b (Р-08): library gallery controls over the photo; the active dot follows the existing aria-current. */
.tc-gallery .hkr-gallery__image { border-radius: 0; }
.tc-gallery .hkr-gallery__dot[aria-current="true"] { width: var(--hkr-gallery-dot-active); background: var(--hkr-color-accent); }
.tc-timeline { display: grid; gap: var(--hkr-space-l); margin-block: var(--hkr-space-l); }
.tc-timeline > div { display: flex; gap: var(--hkr-space-l); justify-content: space-between; }
.tc-map { min-height: 40dvh; }
.tc-field-error, .tc-capacity { color: var(--hkr-color-error); }
.tc-toast, .tc-repricing { position: fixed; inset: var(--hkr-size-header) var(--hkr-space-l) auto; z-index: var(--hkr-z-dropdown); max-width: var(--hkr-layout-main); margin-inline: auto; padding: var(--hkr-space-l); border-radius: var(--hkr-radius-control); background: var(--hkr-color-surface-default); box-shadow: var(--hkr-shadow-card); }
.tc-toast { display: flex; align-items: center; justify-content: space-between; gap: var(--hkr-space-s); }
.tc-dialog { width: min(calc(100% - var(--hkr-space-2xl)),var(--hkr-layout-main)); max-height: calc(100dvh - var(--hkr-space-3xl)); padding: var(--hkr-space-2xl); border: 0; border-radius: var(--hkr-radius-sheet); background: var(--hkr-color-surface-default); color: var(--hkr-color-text-default); overflow-y: auto; }
.tc-dialog [data-tc-verify-email] { overflow-wrap:anywhere; }
.tc-dialog [data-tc-telegram] { margin-top:var(--hkr-space-l); }
@media(max-width:599px) {
  .tc-dialog[data-tc-verification] { width:100%; max-width:100%; max-height:90dvh; margin:auto 0 0; padding:var(--hkr-space-l); border-radius:var(--hkr-radius-sheet) var(--hkr-radius-sheet) 0 0; }
  .tc-dialog[data-tc-verification]::before { content:""; display:block; width:40px; height:4px; margin:0 auto var(--hkr-space-l); border-radius:var(--hkr-radius-pill); background:var(--hkr-color-border-subtle); }
}
@media(forced-colors:active) {
  .tx-email-code-cells > span { border-color:CanvasText; }
  .tx-email-code-cells > .is-current { outline-color:Highlight; }
}
.tc-close { float: right; }
.tc-bar { display: flex; gap: var(--hkr-space-s); padding: var(--hkr-space-s) var(--hkr-space-l) max(var(--hkr-space-s),env(safe-area-inset-bottom)); position: fixed; inset: auto 0 0; z-index: var(--hkr-z-header); border-top: var(--hkr-line-1) solid var(--hkr-color-border-glass); background: var(--hkr-color-surface-default); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tc-bar { background: var(--hkr-color-surface-glass); -webkit-backdrop-filter: var(--hkr-glass-blur); backdrop-filter: var(--hkr-glass-blur); }
}
.tc-support { flex: 0 0 var(--hkr-size-touch); min-height:var(--hkr-size-touch); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--hkr-color-link); font-size: var(--hkr-font-size-caption); }
.tc-panel { min-width:0; }
.tc-account > span { min-width:0; overflow-wrap:anywhere; }
.tc-support svg { width: var(--hkr-size-icon-xl); height: var(--hkr-size-icon-xl); fill: none; stroke: currentColor; stroke-width: 1.8; }
.tc-book { flex: 1; display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: var(--hkr-space-s); min-width: 0; min-height: var(--hkr-size-cta); padding: var(--hkr-space-m) var(--hkr-space-l); background: var(--hkr-color-action-primary); color: var(--hkr-color-action-primary-text); border: 0; border-radius: var(--hkr-radius-control); cursor: pointer; }
.tc-cta-copy { display:flex; flex-direction:column; gap:var(--hkr-space-xs); min-width:0; text-align:left; }
.tc-cta-trip { display:flex; flex-wrap:nowrap; min-width:0; gap:0 var(--hkr-space-s); font-size:var(--hkr-font-size-caption); line-height:var(--hkr-line-height-caption); }
.tc-cta-trip > span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tc-cta-trip > small { flex-shrink:0; white-space:nowrap; font-size:inherit; }
.tc-cta-price { flex-shrink:0; }
.tc-cta-action { display: flex; justify-content: space-between; gap: var(--hkr-space-m); width: 100%; }
.tc-inline-book { width: 100%; }
.tx-compact { padding-bottom: calc(var(--taxi-orderbar-height,var(--hkr-page-bottom)) + var(--hkr-space-2xl)); }
.tc-urgent { padding: var(--hkr-space-l); background: var(--hkr-color-attention-subtle); border-radius: var(--hkr-radius-control); }
.tc-urgent a { display: inline-flex; align-items: center; min-height: var(--hkr-size-touch); }
@media (min-width: 360px) {
  .tc-schedule, .tc-pair, .tc-measures { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 1064px) {
  [data-tc-form] { display:grid; grid-template-columns:minmax(0,640px) minmax(280px,1fr); gap:var(--hkr-space-2xl); align-items:start; }
  [data-tc-form] > .tc-vehicles { grid-column:1; margin:0; }
  [data-tc-form] > .tc-panel { grid-column: 1; margin: 0; }
  [data-tc-form] > [data-diagnostic-section="summary"] { grid-column:2; grid-row:1/span 9; position:sticky; top:calc(var(--hkr-size-header) + var(--hkr-space-xl)); padding:var(--hkr-space-xl); border:var(--hkr-line-1) solid var(--hkr-color-border-subtle); border-radius:var(--hkr-radius-card); }
  .tc-vehicles { display:block; }
  .tc-vehicles > .tc-help { grid-column: 1/-1; }
  .tc-panel { max-width: var(--hkr-layout-main); }
  .tc-bar { display:none; }
  .tc-bar .tc-book { display:none; }
  /* 5b (Р-07): band across the page without widening the layout (shadow fill, clipped vertically). */
  .tc-heading { max-width:640px; margin:calc(-1 * var(--hkr-space-2xl)) 0 var(--hkr-space-2xl); padding:var(--hkr-space-xl) 0; border-radius:0; box-shadow:0 0 0 100vmax var(--hkr-color-surface-inverse); clip-path:inset(0 -100vmax); }
  .tc-heading .hkr-tripbar__edit { align-self:center; }
  .tx-compact { padding-bottom:var(--hkr-space-2xl); }
  .tx-design-cookie .hkr-cookie { display:flex; flex-wrap:wrap; align-items:center; gap:var(--hkr-space-l); }
  .tc-cta-trip { display: flex; gap: var(--hkr-space-s); font-size: var(--hkr-font-size-caption); }
  .tc-cta-action { width: auto; }
}
@media (prefers-reduced-transparency: reduce) { .tc-bar { background: var(--hkr-color-surface-default); backdrop-filter: none; } }
@media (min-width: 360px) {
  .taxi-search-row, .taxi-grid, .tx-booking__fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 429px) { .taxi-date-time, .taxi-counts, .taxi-grid:has(.taxi-counter), .tx-booking__fields { grid-template-columns: minmax(0,1fr); } }
@media (min-width: 1064px) {
  .taxi-booking, .tx-journey-main, .tx-booking, .taxi-options-page { max-width: var(--hkr-layout-max); }
  .taxi-vehicles { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
/* Preserve text contrast on hover. The shared primary hover is lighter than
   rest; Taxi uses its darker pressed role and a derived option text color. */
:root { --taxi-hover-text:color-mix(in srgb,var(--hkr-color-text-default) 60%,black); }
body :is(a[href],button,select,summary,[role="button"],[role="option"],label.tc-check,label.tc-payment,label.tc-vehicle-top,.tc-messenger-choices label):not(:disabled):not([aria-disabled="true"]):not(:has(input:disabled)) { cursor:pointer; }
@media (hover: hover) and (pointer: fine) {
  body a[href]:not([aria-disabled="true"]):hover { color:var(--taxi-hover-text); text-decoration-thickness:var(--hkr-line-2); }
  body :is(button,[role="option"],summary,label.tc-check,label.tc-payment,label.tc-vehicle-top,.tc-messenger-choices label,.taxi-secondary,.tx-booking__secondary,.tx-journey-edit,.hkr-header__control,.hkr-brand,.hkr-menu__link,.hkr-menu__service,.hkr-menu__language):not(:disabled):not([aria-disabled="true"]):not(:has(input:disabled)):hover {
    background:var(--hkr-color-surface-subtle); color:var(--taxi-hover-text);
  }
  body :is(label.tc-check,label.tc-payment,label.tc-vehicle-top,.tc-messenger-choices label,.hkr-menu__service,.tx-catalog-row):not(:has(input:disabled)):hover :is(strong,small,span) { color:inherit; }
  body :is(.tc-book,.taxi-primary,.tx-booking__submit,.tx-journey-button,.tx-email-link button,.taxi-calendar-done,.taxi-calendar-day[aria-pressed="true"],.taxi-time-options [aria-selected="true"],.hkr-menu__language[aria-current],.hkr-btn:not(.hkr-btn--secondary):not(.hkr-btn--inverse)):not(:disabled):not([aria-disabled="true"]):hover {
    background:var(--hkr-color-action-primary-pressed); border-color:var(--hkr-color-action-primary-pressed); color:var(--hkr-color-action-primary-text); text-decoration:none;
  }
  body .hkr-menu__language[aria-current]:hover::before { background:var(--hkr-color-action-primary-pressed); }
  #taxi-cookie-allow:not(:disabled):not([aria-disabled="true"]):hover { background:var(--hkr-color-action-primary-pressed); border-color:var(--hkr-color-action-primary-pressed); color:var(--hkr-color-action-primary-text); }
  body :is(.hkr-header__control,.hkr-brand,.hkr-menu__link):hover { text-decoration:underline; text-decoration-thickness:var(--hkr-line-2); }
  body input:not([type="checkbox"]):not([type="radio"]):not(:disabled):not([readonly]):not([aria-invalid="true"]):hover,
  body :is(select,textarea,.taxi-picker-trigger):not(:disabled):not([aria-invalid="true"]):hover { border-color:var(--hkr-color-border-control-hover); }
  body .taxi-location-clear:hover::after { background:var(--hkr-color-surface-highlight); color:var(--taxi-hover-text); }
  body #taxi-footer :is(a[href],button):not(:disabled):not([aria-disabled="true"]):hover {
    color:var(--hkr-color-text-inverse); background:transparent; text-decoration:underline; text-decoration-thickness:var(--hkr-line-2); box-shadow:inset 0 -1px 0 var(--hkr-color-border-inverse);
  }
  body #taxi-footer :is(a[href],button):not(:disabled):hover :is(span,strong,small) { color:inherit; }
}
@media (hover: hover) and (pointer: fine) and (min-width:1064px) {
  body .tx-landing-review a[href]:not([aria-disabled="true"]):hover { color:var(--hkr-color-text-inverse); text-decoration-thickness:var(--hkr-line-2); text-underline-offset:var(--hkr-space-xs); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0ms !important; transition-duration: 0ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  button, input, select, textarea, .taxi-vehicle, .taxi-panel { border-color: ButtonText; }
}
.taxi-policy-links a { max-width:100%; overflow-wrap:anywhere; }
.taxi-booking noscript a { display:inline-flex; align-items:center; min-height:var(--hkr-size-touch); min-width:var(--hkr-size-touch); }
.tx-booking summary { min-height:var(--hkr-size-touch); min-width:var(--hkr-size-touch); padding-block:var(--hkr-space-m); cursor:pointer; }

/* Taxi composition widths; the shared v0.1.0 library remains unchanged. */
.hkr-menu__actions > .hkr-link { display:inline-flex; flex:1; justify-content:center; align-items:center; gap:var(--hkr-space-s); min-height:var(--hkr-size-touch); padding:var(--hkr-space-s); border:var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius:var(--hkr-radius-control); text-decoration:none; font-weight:var(--hkr-font-weight-semibold); }
@media (min-width:600px) { .hkr-menu { width:min(100%,480px); max-width:480px; margin:0 auto auto max(0px,calc((100vw - var(--hkr-layout-main))/2)); } }
/* 5b (Р-13): three channel buttons with icons in one row (E-10); the radio stays focusable but is not drawn. */
.tc-messenger-choices { margin-block:var(--hkr-space-l); padding:0; border:0; min-width:0; }
.tc-messenger-choices > .hkr-options__legend { font-size:var(--hkr-font-size-secondary); line-height:var(--hkr-line-height-secondary); }
.tc-channel-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--hkr-space-s); }
.tc-channel-list > .hkr-option--channel { position:relative; justify-content:center; gap:var(--hkr-space-xs); padding:var(--hkr-space-s) var(--hkr-space-xs); min-width:0; }
.tc-channel-list > .hkr-option--channel > span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tc-channel-list > .hkr-option--channel > .hkr-radio { position:absolute; inset:0; width:100%; height:100%; margin:0; border:0; border-radius:inherit; opacity:0; cursor:pointer; }
.tc-channel-list > .hkr-option--channel:has(:focus-visible) { outline:var(--hkr-line-2) solid var(--hkr-color-focus); outline-offset:2px; }
.tx-entry--not-found nav { display:flex; flex-wrap:wrap; gap:var(--hkr-space-l); margin-block:var(--hkr-space-xl); }

/* 5b (E-10): the name board sample beside its explanation, in one framed card. */
.tc-signboard { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:var(--hkr-space-l); margin-block:var(--hkr-space-l); padding:var(--hkr-space-l); border:var(--hkr-line-1) solid var(--hkr-color-border-subtle); border-radius:var(--hkr-radius-card); }
.tc-signboard > strong { display:grid; justify-items:center; gap:var(--hkr-space-2xs); min-width:0; max-width:12em; padding:var(--hkr-space-s) var(--hkr-space-l); border:var(--hkr-line-2) solid var(--hkr-color-text-default); border-radius:var(--hkr-radius-control); color:var(--hkr-color-text-heading); font-size:var(--hkr-font-size-caption); letter-spacing:.08em; text-align:center; text-transform:uppercase; overflow-wrap:anywhere; }
.tc-signboard > strong > span { font-size:var(--hkr-font-size-ui); letter-spacing:.04em; }
.tc-signboard > strong > span:empty { display:none; }
.tc-signboard > .tc-help { margin:0; }
.tc-people-fallback:not(dialog *) { margin-bottom:var(--hkr-space-2xl); }
.taxi-people-panel > strong { margin-bottom:var(--hkr-space-xl); }
.taxi-people-panel > .taxi-primary { width:100%; margin-top:var(--hkr-space-xl); }
.taxi-people-panel::backdrop { background:var(--hkr-color-overlay); }

.tc-field { position:relative; padding-top:var(--hkr-space-s); }
.tc-floating-label { position:absolute; z-index:1; top:0; left:var(--hkr-space-10); padding-inline:var(--hkr-space-xs); background:var(--hkr-color-surface-default); font-size:var(--hkr-font-size-label); line-height:var(--hkr-line-height-label); color:var(--hkr-color-text-heading); }
/* 5b (Р-09, E-06): heading note on the right; date on its own row; time select drawn as a field with a clock;
   arrival → meeting timeline (library) with the driver waiting window in the mint message. */
.tc-panel-head { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:var(--hkr-space-xs) var(--hkr-space-m); margin-bottom:var(--hkr-space-s); }
.tc-panel-head > h2 { margin:0; }
.tc-panel-note { color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-secondary); line-height:var(--hkr-line-height-secondary); }
.tc-schedule > .taxi-field:first-child, .tc-schedule:not(.tc-schedule-flight) > .taxi-field { grid-column:1 / -1; }
.tc-time-field { position:relative; }
.tc-time-field > select { appearance:none; -webkit-appearance:none; padding-right:calc(var(--hkr-space-m) * 2 + var(--hkr-size-icon-s)); background-image:none; }
.tc-time-icon { position:absolute; right:var(--hkr-space-m); bottom:calc((var(--hkr-size-control) - var(--hkr-size-icon-s)) / 2); display:grid; place-items:center; color:var(--hkr-color-text-heading); pointer-events:none; }
.tc-meeting-schedule { margin-block:var(--hkr-space-l); }
.tc-wait { display:grid; gap:var(--hkr-space-xs); padding:var(--hkr-space-m) var(--hkr-space-l); }
.tc-wait-title { margin:0; color:var(--hkr-color-text-heading); }
.tc-wait-note { margin:0; color:var(--hkr-color-text-default); font-size:var(--hkr-font-size-secondary); line-height:var(--hkr-line-height-secondary); font-weight:var(--hkr-font-weight-regular); }

.tc-contact-card { display:flex; align-items:center; justify-content:space-between; gap:var(--hkr-space-l); padding:var(--hkr-space-l); border:var(--hkr-line-1) solid var(--hkr-color-border-subtle); border-radius:var(--hkr-radius-control); }
.tc-contact-card > div { display:grid; gap:var(--hkr-space-s); min-width:0; overflow-wrap:anywhere; }
.tc-contact-card button { display:inline-flex; align-items:center; gap:var(--hkr-space-s); }
/* 5b (Р-11, E-07): point | time | place, dashed line between; legs and actions indented under the place names. */
.tc-route-chain { --tc-route-mark:var(--hkr-space-2xl); --tc-route-time:4.5rem; --tc-route-indent:calc(var(--tc-route-mark) + var(--tc-route-time) + 2 * var(--hkr-space-s));
  position:relative; margin-block:var(--hkr-space-l); }
.tc-route-chain::before { content:""; position:absolute; top:var(--hkr-space-2xl); bottom:var(--hkr-space-2xl); left:calc(var(--tc-route-mark) / 2 - 1px); border-left:var(--hkr-line-2) dashed var(--hkr-color-border-control); }
.tc-route-node { position:relative; display:grid; grid-template-columns:var(--tc-route-mark) var(--tc-route-time) minmax(0,1fr); gap:var(--hkr-space-s); align-items:start; padding-block:var(--hkr-space-s); }
.tc-route-node > div { display:grid; gap:var(--hkr-space-2xs); min-width:0; }
.tc-route-node > div > strong { color:var(--hkr-color-text-heading); overflow-wrap:anywhere; }
.tc-route-node small { color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-caption); }
.tc-route-point { position:relative; z-index:1; display:grid; place-items:center; justify-self:center; width:var(--hkr-space-l); height:var(--hkr-space-l); margin-top:var(--hkr-space-2xs); border:5px solid var(--hkr-color-text-heading); border-radius:50%; background:var(--hkr-color-surface-default); }
.tc-route-node-end .tc-route-point { width:auto; height:auto; border:0; border-radius:0; color:var(--hkr-color-text-heading); }
.tc-route-time { color:var(--hkr-color-text-heading); font-weight:var(--hkr-font-weight-bold); font-variant-numeric:tabular-nums; white-space:nowrap; }
.tc-route-leg, .tc-route-chain > .tc-stop-buttons, .tc-route-chain > [data-taxi-time-summary] { margin:0 0 0 var(--tc-route-indent); }
.tc-route-leg { color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-secondary); padding-block:var(--hkr-space-xs); }
.tc-route-chain .taxi-stops { margin-left:var(--tc-route-indent); }
.tc-route-chain .taxi-stop { position:relative; border-left:0; padding-left:0; margin-left:0; }
.tc-route-chain .taxi-stop::before { left:calc(var(--tc-route-mark) / 2 - 7px - var(--tc-route-indent)); width:14px; height:14px; border:3px solid var(--hkr-color-text-heading); background:var(--hkr-color-surface-default); box-sizing:border-box; z-index:1; }
.tc-link-action { display:inline-flex; align-items:center; gap:var(--hkr-space-xs); min-height:var(--hkr-size-touch); padding:0; border:0; background:none; color:var(--hkr-color-link); font:inherit; font-weight:var(--hkr-font-weight-semibold); cursor:pointer; }
.tc-link-action:disabled { color:var(--hkr-color-text-disabled); cursor:default; }
.tc-extra-time-actions { margin-block:var(--hkr-space-xs); }
/* В-6: decorative map preview, no Google request; the real map opens on demand as before. */
.tc-route-preview { position:relative; margin-top:var(--hkr-space-l); border:var(--hkr-line-1) solid var(--hkr-color-border-subtle); border-radius:var(--hkr-radius-inset); overflow:hidden; background:var(--hkr-color-surface-subtle); }
.tc-map-teaser { display:block; width:100%; height:112px; }
.tc-map-teaser-land { fill:var(--hkr-color-surface-default); }
.tc-map-teaser-route { fill:none; stroke:var(--hkr-color-text-heading); stroke-width:4; stroke-linecap:round; }
.tc-map-teaser-start { fill:var(--hkr-color-text-heading); }
.tc-map-teaser-end { fill:var(--hkr-color-surface-default); stroke:var(--hkr-color-text-heading); stroke-width:3; }
.tc-route-preview > .tc-map-open { position:absolute; right:var(--hkr-space-m); bottom:var(--hkr-space-m); display:inline-flex; align-items:center; gap:var(--hkr-space-xs); border-radius:var(--hkr-radius-pill); background:var(--hkr-color-surface-default); box-shadow:var(--hkr-shadow-card); font-weight:var(--hkr-font-weight-semibold); }
.tc-route-preview:has(> [data-tc-map]:not([hidden])) { background:none; }
.tc-route-preview:has(> [data-tc-map]:not([hidden])) > .tc-map-teaser { display:none; }
/* 5b (Р-12, E-09 variant A): icon | text | price | switch per row; the second surcharge item reads +$0. */
.tc-extras { display:grid; }
.tc-check.tc-extra { display:grid; grid-template-columns:var(--hkr-size-icon-m) minmax(0,1fr) auto auto; align-items:center; gap:var(--hkr-space-m); padding-block:var(--hkr-space-m); }
.tc-extras > .tc-extra ~ .tc-extra { border-top:var(--hkr-line-1) solid var(--hkr-color-border-subtle); }
.tc-extra-icon { display:grid; place-items:center; color:var(--hkr-color-text-heading); }
/* The theme sizes every checkbox as a radio (22 px); the switch keeps the library size. */
.tc-extra > .hkr-switch__control { width:var(--hkr-switch-width); height:var(--hkr-switch-height); }
.tc-extra-copy { display:grid; gap:var(--hkr-space-2xs); min-width:0; }
.tc-extra-copy > strong { color:var(--hkr-color-text-heading); }
.tc-extra-price { color:var(--hkr-color-text-default); font-variant-numeric:tabular-nums; white-space:nowrap; }
.tc-extra:has(:checked) .tc-extra-price { color:var(--hkr-color-text-heading); font-weight:var(--hkr-font-weight-bold); }
.tc-extra.is-disabled .tc-extra-copy > strong, .tc-extra.is-disabled .tc-extra-price, .tc-extra.is-disabled .tc-extra-icon { color:var(--hkr-color-text-disabled); }
.tc-extra-note { margin:calc(-1 * var(--hkr-space-s)) 0 var(--hkr-space-s) calc(var(--hkr-size-icon-m) + var(--hkr-space-m)); color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-caption); line-height:var(--hkr-line-height-caption); }
.tc-inline-link { display:inline-flex; align-items:center; min-height:var(--hkr-space-2xl); padding:0; border:0; background:none; color:var(--hkr-color-link); font:inherit; text-decoration:underline; cursor:pointer; }
@media(max-width:599px){.tc-contact-card { align-items:stretch; flex-direction:column; }.tc-contact-card button { align-self:flex-start; }}

@media(min-width:1064px) { .tc-large-text [data-tc-form] { grid-template-columns:minmax(0,1fr); } .tc-large-text [data-tc-form] > [data-diagnostic-section="summary"] { position:static; grid-column:1; grid-row:auto; width:100%; } }
/* 5b: hover inside the dark trip bar and on gallery arrows keeps the element's own surface. */
@media (hover: hover) and (pointer: fine) {
  body .tc-heading .tc-trip-people:not(:disabled):not([aria-disabled="true"]):not(:has(input:disabled)):hover { background:transparent; color:var(--hkr-color-text-inverse); text-decoration-color:currentColor; }
  body .tc-gallery .hkr-gallery__arrow:not(:disabled):not([aria-disabled="true"]):not(:has(input:disabled)):hover { background:transparent; color:var(--hkr-color-text-heading); }
  body .tc-gallery .hkr-gallery__arrow:not(:disabled):hover > .hkr-gallery__arrow-face { background:var(--hkr-color-surface-subtle); }
}
/* 5b-2: link-style route actions keep a link hover (underline), not a filled button. */
@media (hover: hover) and (pointer: fine) {
  body .tc-panel :is(.tc-link-action,.tc-inline-link):not(:disabled):not([aria-disabled="true"]):not(:has(input:disabled)):hover { background:transparent; color:var(--taxi-hover-text); text-decoration:underline; text-decoration-thickness:var(--hkr-line-2); }
}
/* 5c (Р-06): the note under the step-1 form, board E-01. */
.taxi-panel:has(+ .taxi-entry-note) { margin-block-end:0; }
.taxi-entry-note { margin:var(--hkr-space-m) 0 0; color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-caption); line-height:var(--hkr-line-height-caption); }
/* 5c (Р-18): «Book another journey», guest sign-in and operator contacts by board E-17. */
.tx-account-services { display:block; padding:var(--hkr-space-l); }
.tx-account-services > h2 { margin:0 0 var(--hkr-space-m); }
.tx-account-services > .tx-account-row { display:flex; align-items:center; gap:var(--hkr-space-m); min-height:var(--hkr-size-cta); padding:var(--hkr-space-m) var(--hkr-space-l); border:var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius:var(--hkr-radius-control); background:var(--hkr-color-surface-default); color:var(--hkr-color-text-heading); font-weight:var(--hkr-font-weight-semibold); text-decoration:none; }
.tx-account-row > span { flex:1; min-width:0; }
.tx-account-row > svg:last-child { color:var(--hkr-color-link); }
.tx-account-note { margin:var(--hkr-space-s) 0 0; color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-caption); line-height:var(--hkr-line-height-caption); }
.tx-account-caption { margin:var(--hkr-space-xl) 0 0; color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-caption); line-height:var(--hkr-line-height-caption); font-weight:var(--hkr-font-weight-semibold); letter-spacing:.06em; text-transform:uppercase; }
.tx-account-more { margin:0; padding:0; list-style:none; }
.tx-account-more > li + li { border-top:var(--hkr-line-1) solid var(--hkr-color-border-subtle); }
.tx-account-more .hkr-menu__service { width:calc(100% + 2 * var(--hkr-space-m)); margin-inline:calc(-1 * var(--hkr-space-m)); border:0; background:transparent; font:inherit; font-weight:var(--hkr-font-weight-semibold); color:var(--hkr-color-text-heading); text-align:start; text-decoration:none; }
.tx-account-more .hkr-menu__service > svg:last-child { color:var(--hkr-color-text-muted); }
.tx-customer-profile > p { margin-block:var(--hkr-space-s); }
.tx-profile-contact-form { display:grid; gap:var(--hkr-space-s); margin-block:var(--hkr-space-l) 0; }
.tx-profile-contact-form label { margin-bottom:0; }
.tx-customer-profile .tx-profile-primary { width:100%; min-height:var(--hkr-size-cta); margin-top:var(--hkr-space-s); background:var(--hkr-color-action-primary); border-color:var(--hkr-color-action-primary); color:var(--hkr-color-action-primary-text); }
.tx-profile-telegram { margin-block-start:var(--hkr-space-m); }
.tx-profile-telegram button { width:100%; }
.tx-profile-support { margin-block-start:var(--hkr-space-3xl); }
.tx-profile-support > h3 { margin:0 0 var(--hkr-space-s); }
.tx-profile-support > p { margin-block:var(--hkr-space-s); }
.tx-profile-support-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--hkr-space-s); margin-block:var(--hkr-space-m) var(--hkr-space-xs); }
.tx-profile-support-links > .hkr-btn { display:flex; min-width:0; min-height:var(--hkr-size-touch); padding:var(--hkr-space-s) var(--hkr-space-2xs); gap:var(--hkr-space-xs); font-size:var(--hkr-font-size-secondary); font-weight:var(--hkr-font-weight-500); }
.tx-profile-support-links > .hkr-btn > span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tx-support-call { justify-content:flex-start; }
/* 5c (Р-18): «Access an older booking» on /order/ is an action row, not a bare disclosure triangle. */
.tx-booking > details { margin-block:var(--hkr-space-l); }
.tx-booking > details > summary { display:inline-flex; align-items:center; gap:var(--hkr-space-6); list-style:none; color:var(--hkr-color-link); font-weight:var(--hkr-font-weight-semibold); }
.tx-booking > details > summary::-webkit-details-marker { display:none; }
.tx-booking > details > summary::after { content:""; flex:none; width:var(--hkr-size-icon-xs); height:var(--hkr-size-icon-xs); background:currentColor; -webkit-mask:url(../../../../mu-plugins/hikkaru-design/icons/chevron-down.svg) center/contain no-repeat; mask:url(../../../../mu-plugins/hikkaru-design/icons/chevron-down.svg) center/contain no-repeat; }
.tx-booking > details[open] > summary::after { transform:rotate(180deg); }
.tx-booking > details[open] > summary { margin-block-end:var(--hkr-space-m); }
@media (hover: hover) and (pointer: fine) {
  body :is(.tx-account-row,.tx-profile-support-links > .hkr-btn):not([aria-disabled="true"]):hover { background:var(--hkr-color-surface-subtle); color:var(--taxi-hover-text); text-decoration:none; }
  body .tx-customer-profile :is(.tx-profile-primary):not(:disabled):not([aria-disabled="true"]):not(:has(input:disabled)):hover { background:var(--hkr-color-action-primary-pressed); border-color:var(--hkr-color-action-primary-pressed); color:var(--hkr-color-action-primary-text); }
  body :is(.tx-support-call,.tx-booking > details > summary):not(:disabled):not([aria-disabled="true"]):not(:has(input:disabled)):hover { background:transparent; color:var(--taxi-hover-text); text-decoration:underline; text-decoration-thickness:var(--hkr-line-2); }
}
/* 5c: messenger buttons follow the width of their own block (card, account dialog, step-2 support sheet). */
.tx-profile-support-links { container-type:inline-size; }
@container (max-width:318px) { .tx-profile-support-links > .hkr-btn { flex-direction:column; gap:var(--hkr-space-2xs); padding-block:var(--hkr-space-6); } }
@container (max-width:258px) { .tx-profile-support-links > .hkr-btn { grid-column:1 / -1; flex-direction:row; gap:var(--hkr-space-xs); padding-block:var(--hkr-space-s); } }
/* 5c (Р-18): guest code entry after «Send a sign-in link»: label, cells, hint, then a full-width primary button. */
.tx-profile-code { display:grid; gap:var(--hkr-space-s); margin-block:var(--hkr-space-m) var(--hkr-space-l); }
.tx-profile-code > label[for] { margin:0; color:var(--hkr-color-text-heading); font-size:var(--hkr-font-size-label); line-height:var(--hkr-line-height-label); font-weight:var(--hkr-font-weight-semibold); }
.tx-profile-code > .tx-email-code { margin-block:var(--hkr-space-2xs) 0; }
.tx-profile-code > [data-email-code-message] { margin:0; }
.tx-profile-code > [data-email-code-message]:empty { display:none; }
.tx-profile-code > small { color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-caption); line-height:var(--hkr-line-height-caption); }
.tx-customer-profile .tx-profile-code > button[type="submit"] { width:100%; min-height:var(--hkr-size-cta); margin-top:var(--hkr-space-s); background:var(--hkr-color-action-primary); border-color:var(--hkr-color-action-primary); color:var(--hkr-color-action-primary-text); }
@media (hover: hover) and (pointer: fine) {
  body .tx-customer-profile :is(.tx-profile-code > button[type="submit"]):not(:disabled):not([aria-disabled="true"]):not(:has(input:disabled)):hover { background:var(--hkr-color-action-primary-pressed); border-color:var(--hkr-color-action-primary-pressed); color:var(--hkr-color-action-primary-text); }
}
/* While a code is pending, «Verify code» is the one primary action; resending the link steps back to secondary. */
.tx-customer-profile:has(.tx-profile-code) .tx-profile-primary { background:var(--hkr-color-surface-default); border-color:var(--hkr-color-border-control); color:var(--hkr-color-text-heading); }
@media (hover: hover) and (pointer: fine) {
  body .tx-customer-profile:has(.tx-profile-code) :is(.tx-profile-primary):not(:disabled):not([aria-disabled="true"]):not(:has(input:disabled)):hover { background:var(--hkr-color-surface-subtle); border-color:var(--hkr-color-border-control); color:var(--taxi-hover-text); }
}
/* 5f: order screen in the account — E-13 «Итог» (confirmed / awaiting operator), E-17 «Заказ отменён». */
.tx-order-result { display:grid; gap:var(--hkr-space-m); justify-items:start; min-width:0; padding:var(--hkr-space-l); border:var(--hkr-line-1) solid var(--hkr-color-border-subtle); border-radius:var(--hkr-radius-card); background:var(--hkr-color-surface-default); margin-block-end:var(--hkr-space-2xl); }
.tx-order-result > * { margin:0; max-width:100%; }
.tx-order-result > h2 { font-size:var(--hkr-font-size-title-l); line-height:var(--hkr-line-height-title-l); }
.tx-order-result__icon { display:grid; place-items:center; width:var(--hkr-size-control); height:var(--hkr-size-control); border-radius:var(--hkr-radius-pill); background:var(--hkr-color-surface-highlight); color:var(--hkr-color-text-heading); }
.tx-order-result__icon .hkr-icon { width:var(--hkr-size-icon-xl); height:var(--hkr-size-icon-xl); }
.tx-order-result--pending .tx-order-result__icon, .tx-order-result--cancelled .tx-order-result__icon, .tx-order-result--completed .tx-order-result__icon, .tx-order-result--no-show .tx-order-result__icon { background:var(--hkr-color-surface-subtle); }
.tx-order-result__number strong { color:var(--hkr-color-text-heading); }
.tx-order-card { justify-self:stretch; display:grid; gap:var(--hkr-space-s); min-width:0; padding:var(--hkr-space-m) var(--hkr-space-l); border:var(--hkr-line-1) solid var(--hkr-color-border-subtle); border-radius:var(--hkr-radius-control); }
.tx-order-card > p { margin:0; }
.tx-order-card__date, .tx-order-card__detail { font-size:var(--hkr-font-size-caption); line-height:var(--hkr-line-height-caption); }
.tx-order-card__detail { color:var(--hkr-color-text-muted); }
.tx-order-card__route { display:grid; gap:var(--hkr-space-s); color:var(--hkr-color-text-heading); font-weight:var(--hkr-font-weight-regular); }
.tx-order-steps { justify-self:stretch; display:grid; gap:var(--hkr-space-m); margin:0; padding:0; list-style:none; }
.tx-order-steps > li { display:grid; grid-template-columns:var(--hkr-size-icon-l) minmax(0,1fr); gap:var(--hkr-space-m); align-items:start; }
.tx-order-steps__mark { box-sizing:border-box; display:grid; place-items:center; width:var(--hkr-size-icon-l); height:var(--hkr-size-icon-l); border:var(--hkr-line-2) solid var(--hkr-color-text-heading); border-radius:var(--hkr-radius-pill); color:var(--hkr-color-text-inverse); }
.tx-order-steps > li.is-done .tx-order-steps__mark { background:var(--hkr-color-text-heading); }
.tx-order-steps__body { display:grid; gap:var(--hkr-space-2xs); min-width:0; }
.tx-order-steps__body strong { color:var(--hkr-color-text-heading); font-weight:var(--hkr-font-weight-semibold); }
.tx-order-steps__body small, .tx-order-result__note { color:var(--hkr-color-text-muted); font-size:var(--hkr-font-size-caption); line-height:var(--hkr-line-height-caption); }
.tx-order-result__actions { justify-self:stretch; display:grid; gap:var(--hkr-space-xs); }
.tx-order-result__actions > .hkr-btn { width:100%; margin-block-end:var(--hkr-space-xs); }
.tx-order-result__links { display:flex; flex-wrap:wrap; gap:var(--hkr-space-l); }
.tx-order-result__actions .hkr-action { justify-content:flex-start; }
.tx-order-more { justify-self:stretch; }
.tx-order-more > summary { display:flex; align-items:center; min-height:var(--hkr-size-touch); color:var(--hkr-color-link); font-weight:var(--hkr-font-weight-semibold); cursor:pointer; }
/* 5f: cancel dialog — E-17 «Отменить заказ?». */
.tx-cancel-dialog .tx-order-card { clear:both; margin-block:var(--hkr-space-m); }
.tx-cancel-terms { display:grid; gap:var(--hkr-space-s); margin:var(--hkr-space-m) 0 var(--hkr-space-xs); padding:0; list-style:none; }
.tx-cancel-terms > li { display:grid; grid-template-columns:var(--hkr-size-icon-xs) minmax(0,1fr); gap:var(--hkr-space-s); align-items:start; font-size:var(--hkr-font-size-secondary); line-height:var(--hkr-line-height-secondary); }
.tx-cancel-terms > li > .hkr-icon { margin-top:var(--hkr-space-2xs); color:var(--hkr-color-text-muted); }
.tx-cancel-terms > li.is-ok > .hkr-icon { color:var(--hkr-color-text-heading); }
.tx-cancel-policy { display:inline-flex; align-items:center; min-height:var(--hkr-size-touch); }
.tx-cancel-form { margin-block:var(--hkr-space-m) var(--hkr-space-s); }
.tx-cancel-dialog .tx-cancel-confirm { width:100%; min-height:var(--hkr-size-cta); background:var(--hkr-color-error); border-color:var(--hkr-color-error); color:var(--hkr-color-text-inverse); }
.tx-cancel-dialog .tx-cancel-keep { width:100%; justify-content:center; }
@media (hover: hover) and (pointer: fine) {
  body .tx-cancel-dialog :is(.tx-cancel-confirm):not(:disabled):not([aria-disabled="true"]):not(:has(input:disabled)):hover { background:var(--hkr-color-error); border-color:var(--hkr-color-error); color:var(--hkr-color-text-inverse); filter:brightness(.88); }
  body .tx-order-result :is(.hkr-action):not(:disabled):not([aria-disabled="true"]):not(:has(input:disabled)):hover { background:transparent; text-decoration:underline; text-decoration-thickness:var(--hkr-line-2); }
}
/* 13.11: booking details — place name with a short map link (page-primary-transfer-status.php). */
.tx-booking__map-link { font-weight: var(--hkr-font-weight-regular, 400); white-space: nowrap; margin-left: var(--hkr-space-xs); }
/* 13.11: operator route link (?l=) — stops on the home form; the operator-only block on step 2. */
.taxi-link-stops { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--hkr-space-xs) var(--hkr-space-s); margin-block: calc(-1 * var(--hkr-space-s)) var(--hkr-space-s); }
.taxi-link-stops p { margin: 0; color: var(--hkr-color-text-muted); }
.taxi-link-stops strong { color: var(--hkr-color-text-default); }
.tc-share { display: grid; gap: var(--hkr-space-s); margin-block: var(--hkr-space-m); padding: var(--hkr-space-m); border: var(--hkr-line-1) dashed var(--hkr-color-border-control); border-radius: var(--hkr-radius-control); }
.tc-share .hkr-btn { justify-self: start; }
.tc-share-result { display: grid; gap: var(--hkr-space-xs); }
.tc-share-result input { width: 100%; min-height: var(--hkr-size-control); padding: var(--hkr-space-s) var(--hkr-space-m); border: var(--hkr-line-1) solid var(--hkr-color-border-control); border-radius: var(--hkr-radius-control); font: inherit; }
.tc-share-result p { margin: 0; white-space: pre-line; color: var(--hkr-color-text-muted); font-size: var(--hkr-font-size-caption); }
.tc-share [data-tc-share-status]:empty { display: none; }

/* Advertising links: compact submit rows. Design: specs/taxi-adlinks-ui-20261114.r2b.design-summary.md (hikkaru-design). */
.taxi-link-fares{margin-top:var(--hkr-space-m);border-top:var(--hkr-line-1) solid var(--hkr-color-border-subtle);padding-top:var(--hkr-space-s)}
.taxi-link-fares-caption{margin:0 0 var(--hkr-space-xs);color:var(--hkr-color-text-muted);font-size:var(--hkr-font-size-caption);line-height:var(--hkr-line-height-caption)}
.taxi-link-fare{display:flex;align-items:center;gap:var(--hkr-space-10);width:100%;min-height:68px;padding:var(--hkr-space-10) var(--hkr-space-2xs);border:0;border-bottom:var(--hkr-line-1) solid var(--hkr-color-border-subtle);background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit;-webkit-tap-highlight-color:transparent}
.taxi-link-fare[hidden],.taxi-link-fares[hidden]{display:none!important}
/* Match the shared hover guards so pressed feedback also wins with a mouse. */
body button.taxi-link-fare:active:not(:disabled):not([aria-disabled="true"]):not(:has(input:disabled)){background:var(--hkr-color-surface-highlight)}
.taxi-link-fare[aria-disabled="true"]:not([aria-busy="true"]){cursor:default}
.taxi-link-fare img{width:64px;height:44px;object-fit:contain;flex-shrink:0;border-radius:var(--hkr-radius-xs)}
.taxi-link-fare-info{display:grid;gap:var(--hkr-space-xs);flex:1;min-width:0}
.taxi-link-fare-info>strong{font-size:var(--hkr-font-size-label);line-height:var(--hkr-line-height-label)}
.taxi-link-fare-specs{display:flex;flex-wrap:wrap;align-items:center;gap:var(--hkr-space-2xs) var(--hkr-space-s);color:var(--hkr-color-text-muted);font-size:var(--hkr-font-size-caption);line-height:var(--hkr-line-height-caption)}
.taxi-link-fare-specs>span{display:inline-flex;align-items:center;gap:var(--hkr-space-xs)}
.taxi-link-fare-specs svg{width:var(--hkr-size-icon-xs);height:var(--hkr-size-icon-xs);flex-shrink:0}
.taxi-link-fare-price{font-size:var(--hkr-font-size-title-xs);line-height:var(--hkr-line-height-title-xs);font-variant-numeric:tabular-nums;white-space:nowrap}
.taxi-link-fare-action{display:inline-flex;align-items:center;justify-content:center;width:var(--hkr-size-icon-s);height:var(--hkr-size-icon-s);flex-shrink:0}
.taxi-link-fare[aria-busy="true"]{background:var(--hkr-color-surface-highlight);box-shadow:inset 0 0 0 var(--hkr-line-2) var(--hkr-color-border-selected);cursor:progress}
.taxi-link-fare[aria-busy="true"] .taxi-link-fare-action{font-size:0}
/* Rotation period is not a motion token; local until a shared loading indicator exists. */
.taxi-link-fare[aria-busy="true"] .taxi-link-fare-action::after{content:"";box-sizing:border-box;width:var(--hkr-size-icon-xs);height:var(--hkr-size-icon-xs);border:var(--hkr-line-2) solid var(--hkr-color-border-control);border-top-color:var(--hkr-color-accent);border-radius:var(--hkr-radius-pill);animation:taxi-link-loading 800ms linear infinite}
@keyframes taxi-link-loading{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.taxi-link-fare[aria-busy="true"] .taxi-link-fare-action::after{animation:none}}
@media (forced-colors:active){.taxi-link-fare[aria-busy="true"]{outline:var(--hkr-line-2) solid Highlight;outline-offset:calc(-1 * var(--hkr-line-2))}}
