/* Responsive refinements requested 2026-09-11. Keep the current visual system. */
.chat-empty__illustration {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 0 16px;
  object-fit: contain;
}
.freeze-note { margin-top: 18px; font-size: 14px; line-height: 1.55; }
.freeze-note > div { display: grid; gap: 4px; }
.freeze-note strong, .freeze-note span { display: block; }
.freeze-note span { color: #626571; }

.site-footer__bottom-inner {
  align-items: center;
  padding-top: 8px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}
.site-footer__legal { align-items: center; gap: 4px 16px; }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 32px; }
.site-footer__nav { gap: 0; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 36px; }
.site-footer__stores { grid-template-columns: 1fr; max-width: 200px; }
.store-button__name { white-space: nowrap; }
.footer-details summary::after { display: none; }

@media (min-width: 641px) and (max-width: 1100px) {
  .hero .search-form { flex-wrap: wrap; gap: 12px; }
  .hero .route-fields { flex-basis: 100%; }
  .hero .search-form .button { width: 100%; min-height: 54px; margin: 0; }
}
@media (min-width: 641px) and (max-width: 980px) {
  .journey__inner { display: block; }
  .journey__details { margin-top: 26px; }
  .journey__steps { margin: 0; }
  .task-card {
    grid-template-columns: minmax(0, 1fr) 174px;
    grid-template-rows: auto auto auto auto auto;
    gap: 8px 22px;
  }
  .task-card__facts {
    grid-column: 1;
    grid-row: 5;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 6px 0 0 57px;
    padding: 12px 0 0;
    border: 0;
    border-top: 1px solid #eceef1;
  }
  .task-card__facts > div:last-child { grid-column: 1 / -1; }
  .task-offer { grid-column: 2; grid-row: 1 / 6; }
  .task-description, .task-requirement, .task-service { margin-right: 0; }
  .task-card__route-zone .task-route__address { white-space: normal; }
}
@media (min-width: 641px) and (max-width: 920px) {
  .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
  .site-footer__intro, .site-footer__apps { grid-column: auto; }
  .site-footer__intro { grid-column: 1; grid-row: 1; }
  .site-footer__apps { grid-column: 1; grid-row: 2; }
  .site-footer__inner > .footer-details:nth-child(2) { grid-column: 2; grid-row: 1; }
  .site-footer__inner > .footer-details:nth-child(3) { grid-column: 2; grid-row: 2; }
}
@media (max-width: 820px) {
  .site-footer__bottom-inner { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (max-width: 640px) {
  /* The arrow shares the second route row instead of straddling its divider. */
  .hero .route-arrow {
    position: static;
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    justify-self: start;
    width: 28px;
    height: 28px;
    margin: 0 0 0 10px;
    transform: rotate(90deg);
    pointer-events: none;
  }
  .hero .search-field:first-child { grid-column: 1; grid-row: 1; }
  .hero .search-field:nth-of-type(2) { grid-column: 1; grid-row: 2; }
  .hero .search-field--date { grid-column: 1; grid-row: 3; }
  .hero .route-arrow .ui-icon { width: 18px; height: 18px; }
  .hero .search-field input { min-height: 28px; }
  .hero .search-date__empty { bottom: 13px; }
  .site-footer__inner { gap: 16px 20px; }
  .footer-details summary { min-height: 44px; }
  .footer-details summary::after {
    position: static;
    display: inline;
    width: auto;
    height: auto;
    margin-left: 7px;
    border: 0;
    transform: none;
    font-size: 20px;
    line-height: 1;
    content: "+";
  }
  .footer-details[open] summary::after { content: "−"; }
  .site-footer__stores { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 100%; }
  .site-footer__legal { display: grid; gap: 0; }
  .site-footer__legal a { min-height: 40px; }
}
@media (pointer: coarse) {
  .site-footer__legal a, .site-footer__nav a { min-height: 44px; }
}
