/* Phone ergonomics only. Desktop design and all service behavior remain unchanged. */
@media(max-width:700px){
  .proposal-request main,.access-preview main{padding-left:0;padding-right:0}
  .proposal-request header{height:auto;min-height:0}
  .proposal-services{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proposal-option{min-width:0;overflow-wrap:anywhere}
  input:not([type=radio]):not([type=checkbox]),textarea,select,
  .config-section input:not([type=radio]):not([type=checkbox]),.config-section select,
  .proposal-form input[type=text],.access-email-fields input,.chat-input textarea,
  .photo-editor input[type=file]{font-size:16px}
  input,textarea,select{scroll-margin-block:24px}
  .text-button,.home-return,.proposal-bottom .text-button{min-height:44px}
  summary{min-height:44px}
  .chat-back{width:44px;min-width:44px;height:44px}
  .tracking-map .leaflet-control-zoom a{min-width:44px;min-height:44px;line-height:44px}
  .provider-row h3,.history-heading h2,.photo-editor-head>div,.tariff-breakdown dt,.tariff-breakdown dd{min-width:0;overflow-wrap:anywhere}
  .rating{flex-wrap:wrap;row-gap:4px}.stars{flex-shrink:0}
  .row{flex-wrap:wrap}.row>*{min-width:0;overflow-wrap:anywhere}
  .chat-composer-dock{padding-bottom:max(10px,env(safe-area-inset-bottom))}
  .service-call-demo{justify-content:flex-start;overscroll-behavior:contain}
}
@media(max-width:480px){
  body:not(.is-home):not(.proposal-request):not(.access-preview)>.shell>header{height:auto;min-height:124px;padding:12px 16px;gap:6px;flex-wrap:wrap}
  body:not(.is-home):not(.proposal-request):not(.access-preview)>.shell>header .logo-lockup{width:150px;height:100px}
  body:not(.is-home):not(.proposal-request):not(.access-preview)>.shell>header .home-return{padding:8px 10px;min-height:44px}
  .is-home .showcase-tariff{grid-template-columns:minmax(0,1fr)}
  .journey-summary .summary-total{grid-template-columns:minmax(0,1fr)}
  .provider-eta-fields{grid-template-columns:minmax(0,1fr)}
  .photo-editor-head{align-items:flex-start;gap:10px}
  .tariff-breakdown dl>div{flex-wrap:wrap;gap:4px 12px}
  .tariff-breakdown dd{max-width:100%}
  .service-review-form,.service-review-saved{padding:12px}
  .review-stars{gap:2px}.review-stars label{flex:0 0 44px}
}
@media(max-width:380px){
  body:not(.is-home):not(.proposal-request):not(.access-preview) main{padding-left:16px;padding-right:16px}
  .history-card{padding:12px}
  .proposal-form{padding:22px 14px}.proposal-vehicles{grid-template-columns:minmax(0,1fr)}
  .is-home .showcase-card{padding:16px}
  .chat-inline .chat-toolbar{padding:10px 8px;gap:8px}
  .chat-inline .service-messages{padding:12px}
}
