.sr-install-dialog {
  margin: auto;
  width: min(530px, calc(100% - 24px));
  max-height: 90dvh;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid #487563;
  border-radius: 20px;
  color: #edf6f0;
  background: #10261e;
  box-shadow: 0 24px 70px #0008;
}
.sr-install-dialog::backdrop { background: #010b08cb; }
.sr-install-dialog form { float: right; }
.sr-install-dialog form button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #628373; background: transparent; color: inherit; font-size: 24px; cursor: pointer; }
.sr-install-dialog h2 { font-size: clamp(1.4rem, 4vw, 1.85rem); }
.sr-install-intro { clear: both; display: flex; align-items: center; gap: 20px; margin: 20px 0 24px; }
.sr-install-intro img { flex: none; border-radius: 8px; }
.sr-install-intro .btn { margin-top: 12px; }
.sr-install-dialog details { border-bottom: 1px solid #456252; }
.sr-install-dialog summary { padding: 12px 0; cursor: pointer; font-weight: 700; color: #9be4bd; }
.sr-install-dialog ol { padding: 0 0 12px 1.5em; }
.sr-install-dialog li + li { margin-top: 6px; }
@media(max-width:440px){ .sr-install-intro { flex-direction: column; align-items: flex-start; } }
.sr-browser-bar {
  display: grid;
  grid-template-columns: 1fr 40px;
  align-items: center;
  margin: 10px 0 14px;
  padding: 6px 8px 6px 20px;
  border-radius: 22px;
  background: #eceef1;
  color: #252c2a;
  text-align: center;
  font: 500 16px/1.4 system-ui;
}
.sr-browser-icon {
  display: grid;
  place-items: center;
  height: 40px;
  color: #858d8e;
  font: 36px/1 system-ui;
  transform-origin: 50% 65%;
}
@media (prefers-reduced-motion: no-preference) {
  details[open] .sr-browser-icon { animation: sr-browser-shake 2.4s ease-in-out infinite; }
}
@keyframes sr-browser-shake {
  0%, 48%, 76%, 100% { transform: translateX(0) rotate(0); }
  52%, 60%, 68% { transform: translateX(-4px) rotate(-8deg); }
  56%, 64%, 72% { transform: translateX(4px) rotate(8deg); }
}
.sr-browser-bar--safari {
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  padding-inline: 8px;
}
.sr-quick-actions { position: fixed; right: 28px; bottom: 28px; z-index: 70; display: flex; flex-direction: column; gap: 8px; }
.sr-quick-actions .contact-fab { position: relative; inset: auto; }
.sr-quick-actions .sr-app-fab { background: linear-gradient(155deg, #22634b, #0c382c); color: #ffe17c; border-color: #489774; box-shadow: 0 5px 18px #05261b40; }
.sr-app-fab::before { opacity: .18; }
.basket-fab { bottom: 162px; }
@media (max-width: 760px) { .sr-quick-actions { right: 18px; bottom: 18px; } .basket-fab { bottom: 136px; } }
@media (max-width: 520px) { .sr-quick-actions { left: 16px; right: 16px; bottom: 14px; } }

/* Phone layouts shared by the public website and printable vehicle sheets. */
@media screen and (max-width: 760px) {
  .container { width:min(calc(100% - 32px),var(--max)); }
  .site-header .nav { padding-block:6px; }
  .site-header .logo-mark { width:42px; height:42px; }
  .menu--inline { max-height:calc(100dvh - 70px); overflow-y:auto; }
  .hero { padding:24px 0; }
  .hero-grid > *, .split > *, .footer-card > *, .vmodal-box > * { min-width:0; }
  .hero h1 { font-size:clamp(28px,7.5vw,42px); line-height:1.1; text-wrap:balance; margin-block:12px; }
  .hero .hero-title-rest { line-height:1.2; }
  .hero .eyebrow { line-height:1.5; letter-spacing:.08em; }
  .hero .lead { line-height:1.5; margin-bottom:16px; }
  .btn-fleet-cta { max-width:100%; padding:12px 16px; line-height:1.4; }
  .section { padding-block:38px; }
  .hero-seo-copy, .fleet-category-block, .booking-request-form { padding:14px; }
  .fleet-filter-bar { display:flex; flex-wrap:wrap; gap:6px; }
  .fleet-filter-btn { min-height:44px; }
  .fleet-vehicle-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 8px; }
  .fleet-vehicle-card { min-width:0; padding:4px; overflow-wrap:anywhere; }
  .fleet-card-thumb { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
  .booking-request-form input,.booking-request-form textarea,.booking-request-form select { max-width:100%; font-size:16px; }
  .sr-quick-actions { flex-direction:row; left:auto; right:12px; bottom:calc(8px + env(safe-area-inset-bottom)); gap:6px; }
  .sr-quick-actions .contact-fab { width:auto; min-width:76px; min-height:44px; padding:8px 14px; font-size:14px; }
  .basket-fab { bottom:calc(60px + env(safe-area-inset-bottom)); }
  body:has(.sr-quick-actions) { padding-bottom:calc(64px + env(safe-area-inset-bottom)); }
  .vmodal-overlay { padding:8px; }
  .vmodal-box { grid-template-columns:minmax(0,1fr); max-height:calc(100dvh - 20px); overscroll-behavior:contain; }
  .vmodal-info { padding:16px; }
  .vmodal-close,.menu-modal__close,.btn-print { min-height:44px; min-width:44px; }
  .page-wrap { padding:0; }
  .page-wrap .page { width:100%; min-width:0; min-height:0; padding:16px; }
  .page .header,.page .footer,.print-bar { flex-wrap:wrap; gap:8px; }
  .page .header-title { text-align:left; }
  .page .intro-row { grid-template-columns:minmax(0,1fr); }
  .page .hero-img { width:100%; height:auto; max-height:260px; object-fit:contain; }
  .page .foto-row.cols-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page td,.page dd,.footer-card { overflow-wrap:anywhere; }
}
@media screen and (max-width:760px) {
  html:has(#page-bg), body:has(> #page-bg) { background-color:#071711; }
  body:has(> #page-bg) { isolation:isolate; }
  #page-bg {
    opacity:1 !important;
    background-color:#071711 !important;
    will-change:auto !important;
    transform:none !important;
  }
  #page-bg::after {
    content:"";
    position:absolute;
    inset:0;
    background:rgba(5,22,16,.82);
  }
}

.sr-install-intro .sr-play-link { display:flex; align-items:center; justify-content:center; width:fit-content; padding:0 9px; margin-top:8px; background:white; border:1px solid #a1baad; border-radius:16px; overflow:hidden; }
.sr-install-intro .sr-play-link img { display:block; width:145px; height:45px; border-radius:0; }
.sr-play-link:hover { box-shadow:0 0 0 2px #81b49b; }
.sr-play-link:focus-visible { outline:3px solid #b9ef98; outline-offset:3px; }
