/* Final interface pass. The first frame and the brand remain unchanged. */
html { scrollbar-gutter: stable; }
.header:focus-within { transform: none; }
.skip { z-index: 100; }
.mobile-nav { overflow-y: auto; overscroll-behavior: contain; padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
.mobile-nav a { min-height: 44px; }
.drawer { height: 100dvh; padding-bottom: env(safe-area-inset-bottom); }
.modal { max-height: calc(100dvh - 2rem); overscroll-behavior: contain; }
#connect .ec-consent { color: #bdbdbd; line-height: 1.65; }
#connect .ec-consent a, #connect .ec-consent-copy a { color: #fff; text-decoration-color: #ffffff80; }
#connect .ec-consent-copy { color: #aaa; line-height: 1.7; }
#connect .ec-consent-error { color: #ff6b7b; }
#connect .ec-consent input { min-width: 20px; min-height: 20px; flex: none; }
.volume__tab small { color: #929292; }
.volume__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.volume.has-fallback .volume__stage:after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#000b,transparent 50%,#000d); }
.volume.has-fallback .volume__info, .volume.has-fallback .volume__note { z-index: 1; }
.volume.has-fallback .volume__canvas { visibility: hidden; cursor: default; }
.volume.has-fallback .volume__loader { display: none; }
.signal-speed .ss-scenario small, .signal-speed .ss-clock, .signal-speed .ss-seek-hint, .signal-speed .ss-footer > p, .signal-speed .ss-lane-caption { color: #9b9b96; }
.signal-speed .ss-lane--ultra .ss-rate { color: #ff5262; }
.signal-speed .ss-lane--ultra { border-bottom: 1px solid #e5092055; }
.signal-speed .ss-percent { min-width: 0; }
.signal-speed .ss-lane-status { color: #ff5262; }
.signal-speed .ss-footer > p { font-size: 11px; line-height: 1.8; }
.hub { color-scheme: light; }
.hub ul { list-style: disc; }
.hub ol { list-style: decimal; }
.hub-nav a { display: inline-flex; align-items: center; min-height: 40px; }
.hub-request input, .hub-request select, .hub-request textarea { min-width: 0; }
.hub summary::-webkit-details-marker { display: none; }
.hub-review-label { line-height: 1.7; }
@media(min-width:901px) {
  .footer__cols { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(260px,1.6fr); }
  .footer__cols > :last-child { min-width: 0; }
  .ec-legal-links--complete { grid-template-columns: minmax(0,1fr) !important; }
}
@media(max-width:900px) {
  .objects__head, .volume__head, .equipment__head, .tariffs__head { grid-template-columns: minmax(0,1fr); }
  .objects__body { grid-template-columns: minmax(0,1fr); }
  .obj { grid-template-columns: minmax(0,1fr); row-gap: .65rem; }
  .obj__meta { text-align: left; }
  .obj__tags { flex-wrap: wrap; gap: .35rem .8rem; max-height: none !important; opacity: 1; }
  .obj:hover, .obj:focus-visible, .obj.is-active { padding-left: 0; }
  .hero__cta { flex-wrap: wrap; }
  .filter button, .tariffs__places button, .services__tab, .volume__tab { min-height: 44px; }
  .hub-request input, .hub-request select, .hub-request textarea, .hub-generated textarea { font-size: 16px; }
  .hub-text p, .hub-text li { font-size: 14px; line-height: 1.85; }
  .hub details p, .hub-panel p { font-size: 14px; }
}
@media(max-width:520px) {
  .h-section { font-size: clamp(2rem,9.6vw,3.1rem); line-height: 1.02; }
  .header { gap: 10px; }
  .header__brand { min-width: 0; }
  .header__brand img { height: 1.5rem; }
  .header__actions { gap: 8px; min-width: 0; }
  .header__connect { padding-inline: 12px; font-size: 12px; }
  .header__menu { flex: none; }
  .hero { height: 100svh; }
  .mobile-nav { font-size: clamp(23px,7vw,32px); gap: .65rem; }
  .modal__actions { flex-direction: column; align-items: stretch; }
  .modal__actions .btn { width: 100%; white-space: normal; text-align: center; padding-inline: 12px; }
  .signal-speed .ss-rate > span { font-size: 10px; }
  .signal-speed .ss-lane-caption > strong { font-size: 11px; }
  .signal-speed .ss-scenario small { font-size: 11px; }
  .signal-speed .ss-seek-hint, .signal-speed .ss-mode { font-size: 10px; }
  .signal-speed .ss-lane-caption { gap: 3px 5px; }
  .signal-speed .ss-lane-status { font-size: 9px; }
  .signal-speed .ss-intro > p { font-size: 14px; }
  .signal-speed .ss-play { min-height: 56px; }
  .volume.has-fallback .volume__note { font-size: 12px; max-width: 32rem; }
  .review-badge { bottom: max(10px,env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) {
  .header, .mobile-nav, .volume__fallback { scroll-behavior: auto; transition: none; }
}
