/* RA-MOBILE-01. Existing Road smartphone threshold; desktop/tablet stay on r260. */
#mauto-road-mobile { display: none; }
@media screen {
  #mauto-road-v260 { display: none; }
  body:has(#mauto-road-mobile) .fa03-context-trigger { display: none !important; }
  #mauto-road-mobile { display: block; }
  .rm-app {
    --rm-ink: #111a32;
    --rm-muted: #657087;
    --rm-blue: #1678f2;
    --rm-line: #e2e7ef;
    --rm-shadow: 0 5px 20px #233c6010;
    --rm-dock-space: calc(82px + env(safe-area-inset-bottom, 0px));
    min-height: 100svh;
    width: 100%;
    color: var(--rm-ink);
    background:var(--mauto-ds-color-page,#fff);
    font: 15px/1.4 Manrope, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
  }
  .rm-app *, .rm-app *::before, .rm-app *::after { box-sizing: border-box; }
  .rm-app [hidden] { display: none !important; }
  .rm-app h1, .rm-app h2, .rm-app h3, .rm-app p { margin: 0; }
  .rm-app h1 { font-size: clamp(28px, 7.6vw, 40px); line-height: 1.1; letter-spacing: -1px; font-weight: 800; }
  .rm-app h2 { font-size: 21px; line-height: 1.2; letter-spacing: -.55px; font-weight: 750; }
  .rm-app h3 { font-size: 17px; line-height: 1.3; }
  .rm-app p { line-height: 1.5; }
  .rm-app small { font-size: 13px; line-height: 1.4; }
  .rm-app a { color: inherit; text-decoration: none; }
  .rm-app button, .rm-app input, .rm-app select, .rm-app textarea { font: inherit; }
  .rm-app button { cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
  .rm-app button:disabled { cursor: default; opacity: .58; }
  .rm-app :focus-visible { outline: 2px solid #315f91; outline-offset: 2px; }
  .rm-app .rm-sheet-heading h2:focus-visible { outline: none; }
  .rm-app svg { display: block; width: 24px; height: 24px; flex: 0 0 24px; }
  .rm-app .rm-art { display: block; max-width: 100%; height: auto; object-fit: contain; }
  .rm-app .rm-muted { color: var(--rm-muted); font-size: 14px; line-height: 1.45; }
  .rm-app .rm-card { min-width: 0; padding: 14px; border: 1px solid #e8edf3; border-radius: 16px; background: #fff; box-shadow: var(--rm-shadow); }
  .rm-app .rm-button, .rm-app .rm-icon-button, .rm-app .rm-text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; min-width: 44px; border: 1px solid var(--rm-line); border-radius: 14px; padding: 11px 14px; background: #fff; color: var(--rm-ink); font-size: 15px; line-height: 1.35; text-align: center; white-space: normal; }
  .rm-app .rm-icon-button { width: 44px; height: 44px; min-height: 44px; flex: 0 0 44px; padding: 10px; border: 0; background: transparent; }
  .rm-app .rm-text-button { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color:var(--mauto-ds-color-primary,#3c78da); font-size: 14px; }
  .rm-app .rm-primary { border-color: transparent; background:var(--mauto-ds-action-blue,linear-gradient(110deg,#5996ef,#3c78da)); color: #fff; font-weight: 650; box-shadow:var(--mauto-ds-action-depth); }
  .rm-app .rm-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
  .rm-app .rm-row > * { min-width: 0; }
  .rm-app .rm-row > .rm-button { flex: 1 1 120px; }
  .rm-app .rm-info { padding: 12px 14px; border: 1px solid #e7ecf3; border-radius: 14px; background: #f5f7fa; color: #526078; font-size: 14px; line-height: 1.5; }
  .rm-app .rm-info p + p { margin-top: 8px; }
  .rm-app .rm-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 60px; padding: max(6px, env(safe-area-inset-top, 0px)) 14px 6px; background: #ffffffc9; }
  .rm-app .rm-brand { display: flex; align-items: center; min-width: 0; min-height: 44px; flex: 0 1 150px; }
  .rm-app .rm-brand img { width: 150px; height: auto; }
  .rm-app .rm-brand strong { font-size: 26px; line-height: 1; font-weight: 850; letter-spacing: -.5px; }
  .rm-app .rm-brand strong span { display: block; margin-top: 4px; font-size: 9px; letter-spacing: 1px; }
  .rm-app .rm-header-actions { display: flex; flex: 0 0 auto; gap: 3px; align-items: center; }
  .rm-app .rm-profile { background: #edf1f6; border-radius: 50%; }
  .rm-app .rm-profile img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
  .rm-app .rm-main { padding: 0 14px calc(var(--rm-dock-space) + 22px); }
  .rm-app .rm-home { display: flex; flex-direction: column; gap: 10px; }
  .rm-app .rm-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 15px 13px 14px; border: 1px solid #dce6ef; border-radius: 16px; background: #eef5fa; }
  .rm-app .rm-hero-art { position: static; order: 2; width: 100%; height: auto; max-height: 200px; object-fit: contain; border-radius: 12px; }
  .rm-app .rm-hero-copy { display: contents; }
  .rm-app .rm-hero h1 { max-width: 100%; font-size: clamp(23px, 6.15vw, 30px); line-height: 1.12; letter-spacing: -.85px; }
  .rm-app .rm-hero-lead { order: 1; margin: 0; font-size: 14px; line-height: 1.35; color: #616e86; }
  .rm-app .rm-hero-steps { display: none; gap: 4px; max-width: 48%; padding: 0; margin: 9px 0; list-style: none; }
  .rm-app .rm-hero-steps li { display: flex; align-items: flex-start; gap: 5px; color: #3d506a; font-size: 11.5px; line-height: 1.25; }
  .rm-app .rm-hero-steps svg { width: 16px; height: 16px; flex-basis: 16px; padding: 2px; border-radius: 4px; background: #1888ef; color: #fff; }
  .rm-app .rm-hero-cta { order: 3; min-height: 48px; width: 100%; justify-content: center; gap: 4px; padding: 9px 10px; border-radius: 12px; font-size: 14px; }
  .rm-app .rm-hero-cta svg { width: 20px; height: 20px; flex-basis: 20px; }
  .rm-app .rm-contact-summary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 5px 8px; border-radius: 13px; }
  .rm-app .rm-contact-summary > div, .rm-app .rm-contact-summary > button { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 48px; }
  .rm-app .rm-contact-summary > button { border: 0; border-top: 1px solid #e4e9f1; padding: 8px 0 3px; background: transparent; text-align: left; }
  .rm-app .rm-contact-summary svg { width: 28px; height: 28px; flex-basis: 28px; padding: 3px; border-radius: 50%; background: #eff7fe; color:var(--mauto-ds-color-primary,#3c78da); }
  .rm-app .rm-contact-summary > div > span, .rm-app .rm-contact-summary > button > span:not(.mauto-button-sheen) { display: grid; gap: 2px; min-width: 0; }
  .rm-app .rm-contact-summary strong { font-size: 12px; line-height: 1.25; }
  .rm-app .rm-contact-summary small { color: var(--rm-muted); font-size: 13px; white-space: nowrap; }
  .rm-app .rm-contact-summary > button > svg:last-child { display: none; }
  .rm-app .rm-quick-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .rm-app .rm-quick-card { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 5px; min-height: 56px; padding: 10px 12px; border-radius: 13px; text-align: left; }
  .rm-app .rm-quick-icon { display: flex; width: 24px; height: 28px; align-items: center; justify-content: center; border-radius: 8px; color: #087df1; }
  .rm-app .rm-quick-icon svg { width: 24px; height: 24px; flex-basis: 24px; }
  .rm-app .rm-quick-icon.is-whatsapp { color: #16b953; }
  .rm-app .rm-quick-icon.is-accident { color: #ca3e3e; }
  .rm-app .rm-quick-copy { display: grid; gap: 4px; min-width: 0; }
  .rm-app .rm-quick-card strong { font-size: 14px; line-height: 1.25; letter-spacing: -.25px; }
  .rm-app .rm-quick-card small { color: var(--rm-muted); font-size: 12px; line-height: 1.25; }
  .rm-app .rm-quick-card .rm-arrow { display: none; }
  .rm-app .rm-arrow { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; flex: 0 0 28px; border-radius: 50%; color:var(--mauto-ds-color-primary,#3c78da); background: #edf5fb; }
  .rm-app .rm-arrow svg { width: 19px; height: 19px; flex-basis: 19px; }
  .rm-app .rm-section-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin: 0 0 4px; }
  .rm-app .rm-section-head h2 { min-width: 0; font-size: 16px; letter-spacing: -.5px; }
  .rm-app .rm-section-head .rm-text-button { flex: 0 0 auto; gap: 4px; font-size: 12px; }
  .rm-app .rm-section-head .rm-text-button svg { width: 19px; height: 19px; flex-basis: 19px; }
  .rm-app .rm-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .rm-app .rm-service-card { display: grid; grid-template-columns: minmax(0, 1fr) 22px; grid-template-rows: 54px auto auto; align-content: start; gap: 6px 3px; padding: 10px 8px; min-height: 0; border-radius: 13px; text-align: left; }
  .rm-app .rm-service-art { grid-column: 1 / -1; width: 100%; height: 54px; margin: 0; }
  .rm-app .rm-service-card strong { grid-column: 1 / -1; font-size: 13px; line-height: 1.25; letter-spacing: -.3px; overflow-wrap: normal; }
  .rm-app .rm-service-card small { grid-column: 1 / -1; min-width: 0; color: var(--rm-muted); font-size: 12px; line-height: 1.3; }
  .rm-app .rm-service-card .rm-arrow { grid-column: 2; grid-row: 4; justify-self: end; align-self: end; width: 22px; height: 22px; margin: 0; }
  .rm-app .rm-service-card .rm-arrow svg { width: 16px; height: 16px; flex-basis: 16px; }
  .rm-app .rm-recent { margin-top: 2px; }
  .rm-app .rm-recent-list { display: grid; gap: 10px; }
  .rm-app .rm-recent-list > .rm-card { font-size: 14px; line-height: 1.5; }
  .rm-app .rm-ai-banner { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px; padding: 8px; align-items: center; background: linear-gradient(115deg, #f4f9ff, #fff); }
  .rm-app .rm-ai-art { width: 52px; height: 62px; align-self: end; }
  .rm-app .rm-ai-banner h2 { font-size: 12px; line-height: 1.3; letter-spacing: -.2px; }
  .rm-app .rm-ai-banner p { margin-top: 4px; color: var(--rm-muted); font-size: 11px; line-height: 1.3; }
  .rm-app .rm-ai-banner .rm-button { min-height: 44px; gap: 4px; padding: 8px; font-size: 12px; color:var(--mauto-ds-color-primary,#3c78da); border-color: #c6ddfa; background: transparent; }
  .rm-app .rm-ai-banner .rm-button svg { width: 18px; height: 18px; flex-basis: 18px; }
  .rm-app .rm-map-link { align-self: center; }
  .rm-app .rm-dock { position: fixed; z-index: 60; left: 8px; right: 8px; bottom: 0; display: grid; grid-template-columns: 67px minmax(0, 1fr) 67px; gap: 7px; padding: 8px 9px calc(8px + env(safe-area-inset-bottom, 0px)); border: 1px solid #e1e8f1; border-bottom: 0; border-radius: 22px 22px 0 0; background: #fffffffa; box-shadow: 0 -4px 22px #263d6212; }
  .rm-app .rm-dock-contact { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 52px; padding: 4px 0; border: 0; border-radius: 12px; background: transparent; color: #247c57; }
  .rm-app .rm-dock-contact span { font-size: 12px; line-height: 1.2; color: #26354e; }
  .rm-app .rm-dock-contact > svg { width: 32px; height: 32px; flex-basis: 32px; padding: 6px; border-radius: 50%; background: linear-gradient(135deg, #32d568, #08aa42); color: #fff; }
  .rm-app .rm-dock-primary { min-height: 56px; gap: 7px; padding: 10px 8px; font-size: 14px; }
  .rm-app .rm-dock-primary svg { width: 24px; height: 24px; }

  /* A single modal: only its middle region scrolls; header and CTA stay reachable. */
  .rm-app .rm-sheet { --rm-sheet-limit: min(70dvh, calc(var(--rm-viewport-height, var(--rm-viewport, 100dvh)) * .7)); position: fixed; inset: auto 0 0; width: 100%; max-width: 639px; max-height: var(--rm-sheet-limit); margin: 0 auto; padding: 0; border: 0; border-radius: 30px 30px 0 0; background: #fcfdff; color: var(--rm-ink); overflow: hidden; box-shadow: 0 -12px 46px #1c2c4426; transform: translateY(var(--rm-sheet-drag, 0px)); }
  .rm-app .rm-sheet.is-expanded { --rm-sheet-limit: min(92dvh, calc(var(--rm-viewport-height, var(--rm-viewport, 100dvh)) * .92), calc(var(--rm-viewport-height, var(--rm-viewport, 100dvh)) - max(12px, env(safe-area-inset-top, 0px)))); }
  .rm-app .rm-sheet:not([open]) { display: none; }
  #mauto-road-mobile #rm-sheet::backdrop { background: #17243855; backdrop-filter: none; -webkit-backdrop-filter: none; animation: none; }
  .rm-app .rm-sheet-surface { display: flex; flex-direction: column; max-height: var(--rm-sheet-limit); }
  .rm-app .rm-sheet-handle { display: flex; justify-content: center; align-items: center; height: 36px; min-height: 36px; flex: 0 0 36px; touch-action: none; user-select: none; cursor: grab; }
  .rm-app .rm-sheet-handle span { display: block; width: 42px; height: 5px; border-radius: 6px; background: #c6cdd8; }
  .rm-app .rm-sheet-header { position: relative; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; padding: 0 16px 14px; background: #fcfdff; }
  .rm-app .rm-sheet-heading { flex: 1 1 auto; min-width: 0; }
  .rm-app .rm-sheet-heading h2 { font-size: clamp(22px, 6vw, 27px); line-height: 1.15; letter-spacing: -.6px; overflow-wrap: anywhere; }
  .rm-app .rm-sheet-heading p { margin-top: 6px; font-size: 14px; color: var(--rm-muted); }
  .rm-app .rm-sheet-header > img { width: 72px; height: 76px; object-fit: contain; flex: 0 0 72px; }
  .rm-app .rm-sheet.has-service-art .rm-sheet-header { display: grid; grid-template-columns: minmax(0, 1fr) 160px; align-items: center; gap: 8px; min-height: 128px; padding: 0 16px 12px; }
  .rm-app .rm-sheet.has-service-art .rm-sheet-heading { align-self: center; padding-top: 10px; }
  .rm-app .rm-sheet.has-service-art .rm-sheet-heading h2 { font-size: 27px; line-height: 1.12; letter-spacing: -.8px; overflow-wrap: normal; }
  .rm-app .rm-sheet.has-service-art[data-service="tow"] .rm-sheet-heading h2 { font-size: 30px; }
  .rm-app .rm-sheet.has-service-art .rm-sheet-heading p { margin-top: 6px; font-size: 14px; line-height: 1.35; }
  .rm-app .rm-sheet.has-service-art .rm-sheet-art { grid-column: 2; align-self: end; width: 160px; height: 92px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; object-fit: contain; }
  .rm-app .rm-sheet.has-service-art .rm-sheet-close { position: absolute; right: 12px; top: -12px; z-index: 1; }
  .rm-app .rm-sheet.has-service-art .rm-sheet-back { position: absolute; left: 12px; top: -12px; z-index: 1; }
  .rm-app .rm-sheet.has-service-art .rm-sheet-header:has(.rm-sheet-back:not([hidden])) { min-height: 158px; padding-top: 30px; }
  .rm-app .rm-sheet-close { align-self: flex-start; background: #f0f3f7; border-radius: 50%; }
  .rm-app .rm-sheet-back { background: #f0f3f7; border-radius: 50%; }
  .rm-app .rm-sheet-body { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 2px 16px 20px; scroll-padding-block: 16px; }
  .rm-app .rm-sheet-body > * + * { margin-top: 12px; }
  .rm-app .rm-sheet-body form { display: grid; gap: 12px; margin: 0; }
  .rm-app .rm-sheet-body form > .rm-options { margin-block: 4px; }
  .rm-app .rm-sheet-footer { flex: 0 0 auto; display: grid; gap: 9px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #edf0f5; background: #fff; }
  .rm-app .rm-sheet-footer:empty { display: none; }
  .rm-app .rm-sheet-footer > .rm-button { width: 100%; min-height: 52px; font-size: 16px; }
  .rm-app .rm-sheet-footer > p { font-size: 12px; line-height: 1.45; color: var(--rm-muted); }
  .rm-app .rm-sheet-status { flex: 0 0 auto; margin: 0; padding: 10px 16px; color: #43546b; background: #f3f5f8; font-size: 14px; line-height: 1.4; }
  .rm-app .rm-sheet-status:empty { display: none; }
  .rm-app .rm-sheet-status.is-error { color: #9a3232; background: #fff1f0; }
  .rm-app .rm-sheet[data-service="tow"] .rm-primary, .rm-app .rm-sheet.is-tow .rm-primary { background: linear-gradient(110deg, #34455e, #17283e);;box-shadow:var(--mauto-ds-action-depth)}
  .rm-app:has(.rm-sheet[open]) .rm-dock { visibility: hidden; pointer-events: none; }
  body:has(#rm-sheet[open]) { overflow: hidden; }

  /* Primitives used by the shared JavaScript form and the real order card. */
  .rm-app .rm-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
  .rm-app .rm-chips > button, .rm-app .rm-chip { display: inline-flex; flex: 1 1 110px; justify-content: center; align-items: center; gap: 8px; min-width: 44px; min-height: 48px; padding: 10px 12px; border: 1px solid #e0e6ee; border-radius: 13px; background: #fff; color: #41516a; font-size: 14px; line-height: 1.35; text-align: center; }
  .rm-app .rm-chips > button[aria-pressed="true"], .rm-app .rm-chip[aria-pressed="true"], .rm-app .rm-chips > .is-active { border-color: #719bce; background: #f4f8fd; color: #244c7c; box-shadow: none; }
  .rm-app .rm-chips > button[aria-pressed="true"]::after, .rm-app .rm-chip[aria-pressed="true"]::after { content: '✓'; display: inline-flex; flex: 0 0 18px; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 50%; background: #267ae5; color: #fff; font-size: 12px; }
  .rm-app .rm-field { display: grid; gap: 6px; min-width: 0; margin: 0; color: #33435c; font-size: 14px; line-height: 1.4; }
  .rm-app .rm-field > span:first-child, .rm-app .rm-field > label { font-size: 14px; font-weight: 600; }
  .rm-app .rm-field input:not([type="checkbox"]):not([type="radio"]), .rm-app .rm-field select, .rm-app .rm-field textarea, .rm-app .rm-sheet-body > input { display: block; width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid #dce3ed; border-radius: 14px; background: #fff; color: var(--rm-ink); font-size: 16px; line-height: 1.4; }
  .rm-app .rm-field textarea { min-height: 88px; resize: vertical; }
  .rm-app .rm-field input::placeholder, .rm-app .rm-field textarea::placeholder { color: #8a95a7; opacity: 1; }
  .rm-app .rm-field input[type="file"] { white-space: normal; overflow: hidden; font-size: 14px; }
  .rm-app .rm-field input[type="file"]::file-selector-button { min-height: 44px; padding: 8px 12px; margin: -7px 8px -7px -8px; border: 0; border-radius: 10px; background: #edf2f7; color: #334761; font: inherit; }
  .rm-app .rm-field [aria-invalid="true"] { border-color: #b43c48; background: #fffafb; box-shadow: inset 0 0 0 1px #b43c48; }
  .rm-app .rm-field-error { display: block; margin: 0; color: #98303c; font-size: 14px; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
  .rm-app .rm-field-error:empty { display: none; }
  .rm-app .rm-address-group { display: grid; gap: 8px; min-width: 0; }
  .rm-app .rm-address-row { display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: end; gap: 8px; min-width: 0; }
  .rm-app .rm-address-row > .rm-icon-button { width: 48px; height: 50px; min-height: 48px; border: 1px solid #e2e7ee; border-radius: 13px; background: #f4f6f9; color: #315f91; }
  .rm-app .rm-address-group > .rm-check { padding-block: 8px; }
  .rm-app .rm-field-error[hidden] { display: none; }
  .rm-app .rm-field:has([aria-invalid="true"]) > span:first-child { color: #71343d; }
  .rm-app .rm-sheet-body fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
  .rm-app .rm-sheet-body legend { margin-bottom: 9px; padding: 0; font-size: 15px; font-weight: 700; }
  .rm-app .rm-sheet-body details { padding: 12px 14px; border: 1px solid #e3e8ef; border-radius: 14px; background: #fff; }
  .rm-app .rm-sheet-body summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-size: 15px; font-weight: 650; }
  .rm-app .rm-sheet-body details[open] > :not(summary) { margin-top: 12px; }
  .rm-app .rm-consent { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding-block: 8px; color: #55647d; font-size: 13px; line-height: 1.5; }
  .rm-app .rm-consent input { width: 22px; height: 22px; flex: 0 0 22px; margin: 0; accent-color:var(--mauto-ds-color-primary,#3c78da); }
  .rm-app .rm-consent a { text-decoration: underline; text-underline-offset: 3px; }
  .rm-app .rm-order { display: grid; gap: 14px; min-width: 0; }
  .rm-app .rm-order .rm-card { display: grid; gap: 10px; }
  .rm-app .rm-order h2 { font-size: 23px; }
  .rm-app .rm-order h3 { font-size: 17px; }
  .rm-app .rm-order p, .rm-app .rm-order dl { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
  .rm-app .rm-order dl { display: grid; gap: 8px; margin: 0; }
  .rm-app .rm-order dt { color: #69778a; }
  .rm-app .rm-order dd { margin: 0; }
  .rm-app .rm-order ol { display: grid; gap: 12px; margin: 0; padding-left: 23px; font-size: 14px; }
  .rm-app .rm-order time { display: block; color: var(--rm-muted); font-size: 13px; }
  .rm-app .rm-emergency { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .rm-app .rm-emergency a { display: grid; gap: 4px; justify-items: center; align-content: center; min-height: 64px; padding: 10px 6px; border: 1px solid #ebd5d5; border-radius: 14px; background: #fff6f5; color: #8e3030; }
  .rm-app .rm-emergency strong { font-size: 23px; }
  .rm-app .rm-emergency small { font-size: 12px; text-align: center; }
  /* Shared renderers: service picker, radio cards and form details. */
  .rm-app .rm-sheet-body .rm-service-grid { gap: 9px; }
  .rm-app .rm-sheet-body .rm-service-card { min-width: 0; padding: 10px 8px; border: 1px solid #e7ecf2; border-radius: 13px; background: #fff; box-shadow: var(--rm-shadow); }
  .rm-app .rm-sheet-body .rm-service-card > img { grid-column: 1 / -1; width: 100%; height: 54px; object-fit: contain; }
  .rm-app .rm-service-arrow { display: inline-flex; grid-column: 2; align-self: end; align-items: center; justify-content: center; width: 22px; height: 22px; margin: 0; border-radius: 50%; background: #edf5fb; color:var(--mauto-ds-color-primary,#3c78da); font-size: 17px; line-height: 1; }
  .rm-app .rm-sheet-intro { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 14px; margin-bottom: 16px; }
  .rm-app .rm-sheet-intro > img { display: block; width: 88px; height: 82px; object-fit: contain; }
  .rm-app .rm-sheet-intro > p { min-width: 0; color: #637089; font-size: 15px; line-height: 1.4; }
  .rm-app .rm-options { width: 100%; min-width: 0; padding: 0; margin: 0; border: 0; }
  .rm-app .rm-options legend { margin-bottom: 9px; padding: 0; font-size: 15px; line-height: 1.4; font-weight: 700; }
  .rm-app .rm-options .rm-chips { gap: 8px; }
  .rm-app .rm-chips > .rm-chip { flex: 1 1 100px; min-width: 44px; }
  .rm-app .rm-chips > .rm-chip.is-selected, .rm-app .rm-chip[aria-checked="true"] { border-color: #719bce; background: #f4f8fd; color: #244c7c; box-shadow: none; }
  .rm-app .rm-options .rm-chips > .rm-chip { flex: 0 1 auto; min-width: 44px; min-height: 48px; padding: 9px 12px; font-size: 14px; }
  .rm-app .rm-chip > span[aria-hidden="true"] { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: #287be2; font-size: 13px; }
  .rm-app .rm-battery-choices { display: grid; gap: 10px; }
  .rm-app .rm-choice-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) 24px; align-items: center; gap: 12px; min-width: 0; min-height: 90px; width: 100%; padding: 12px; border: 1px solid #e2e7ef; border-radius: 16px; background: #fff; text-align: left; box-shadow: var(--rm-shadow); }
  .rm-app .rm-choice-card > img { width: 56px; height: 62px; object-fit: contain; border-radius: 12px; }
  .rm-app .rm-choice-card > span { display: grid; gap: 6px; min-width: 0; }
  .rm-app .rm-choice-card strong { font-size: 15px; line-height: 1.35; }
  .rm-app .rm-choice-card small { font-size: 13px; line-height: 1.45; color: var(--rm-muted); }
  .rm-app .rm-choice-card > b { display: grid; align-items: center; justify-content: center; width: 24px; height: 24px; color: #355777; font-size: 24px; font-weight: 500; }
  .rm-app .rm-choice-card.is-selected, .rm-app .rm-choice-card[aria-checked="true"] { border-color: #719bce; background: #f4f8fd; box-shadow: none; }
  .rm-app .rm-choice-card.is-selected > b { border-radius: 50%; background: #287be2; color: #fff; font-size: 15px; }
  .rm-app .rm-estimates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rm-app .rm-estimates .rm-card { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px; border-radius: 14px; box-shadow: 0 3px 12px #233c6008; }
  .rm-app .rm-estimates .rm-card > svg { width: 34px; height: 34px; flex-basis: 34px; padding: 5px; border-radius: 50%; background: #f2f5f8; color: #243b57; }
  .rm-app .rm-estimate-copy { display: grid; gap: 3px; min-width: 0; }
  .rm-app .rm-estimates strong { color: #192d47; font-size: 15px; line-height: 1.25; }
  .rm-app .rm-estimates small { color: var(--rm-muted); font-size: 12px; line-height: 1.35; }
  .rm-app .rm-estimates .rm-muted { font-size: 12px; line-height: 1.3; }
  .rm-app .rm-check { display: flex; align-items: flex-start; gap: 10px; min-height: 48px; margin: 0; padding: 10px 0; font-size: 14px; line-height: 1.5; color: #43536b; }
  .rm-app .rm-check input { width: 24px; height: 24px; flex: 0 0 24px; margin: 0; accent-color:var(--mauto-ds-color-primary,#3c78da); }
  .rm-app .rm-check input[aria-invalid="true"], .rm-app .rm-consent input[aria-invalid="true"] { outline: 2px solid #b43c48; outline-offset: 3px; accent-color: #98303c; }
  .rm-app .rm-check input[aria-invalid="true"]:focus-visible, .rm-app .rm-consent input[aria-invalid="true"]:focus-visible { outline-width: 3px; outline-offset: 4px; }
  .rm-app .rm-check:has(> .rm-field-error), .rm-app .rm-consent:has(> .rm-field-error) { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px 10px; }
  .rm-app .rm-check > .rm-field-error, .rm-app .rm-consent > .rm-field-error { grid-column: 2; }
  .rm-app .rm-check + .rm-field-error, .rm-app .rm-consent + .rm-field-error { margin-top: -6px; padding-left: 34px; }
  .rm-app .rm-policy { display: inline-flex; align-items: center; min-height: 44px; padding-block: 7px; color:var(--mauto-ds-color-primary,#3c78da); font-size: 14px; line-height: 1.45; text-decoration: underline; text-underline-offset: 3px; }
  .rm-app .rm-extra > summary { justify-content: space-between; gap: 12px; list-style: none; }
  .rm-app .rm-extra > summary::-webkit-details-marker { display: none; }
  #mauto-road-mobile .rm-extra > summary::before { content: none; }
  .rm-app .rm-extra > summary::after { content: '+'; display: inline-flex; flex: 0 0 24px; width: 24px; justify-content: center; font-size: 22px; font-weight: 400; }
  .rm-app .rm-extra[open] > summary::after { content: '−'; }
  .rm-app .rm-extra .rm-field + .rm-field, .rm-app .rm-extra .rm-options + .rm-options, .rm-app .rm-extra .rm-options + .rm-field { margin-top: 16px; }
  .rm-app .rm-empty { padding: 20px 14px; border: 1px solid #e5ebf2; border-radius: 16px; background: #f8fafc; }
  .rm-app .rm-menu { display: grid; gap: 10px; }
  .rm-app .rm-menu .rm-button { justify-content: space-between; width: 100%; }
  .rm-app .rm-sheet-body > .rm-card > .rm-button { margin-top: 10px; margin-right: 8px; }
  .rm-app .rm-sheet-body > .rm-card > p { margin-top: 8px; }
  .rm-app .rm-primary.rm-primary-navy { background: linear-gradient(110deg, #34455e, #17283e);;box-shadow:var(--mauto-ds-action-depth)}

  /* History and the actual request are normal pages, with one bottom nav. */
  .rm-app .rm-page { min-width: 0; padding-top: 10px; }
  .rm-app .rm-page-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
  .rm-app .rm-page-heading > .rm-button { min-height: 44px; padding: 8px 12px; font-size: 14px; }
  .rm-app .rm-page-heading h1 { font-size: clamp(27px, 7.4vw, 36px); line-height: 1.12; overflow-wrap: anywhere; }
  .rm-app [data-rm-page-body] { display: grid; gap: 14px; min-width: 0; }
  .rm-app [data-rm-page-body] > .rm-card { display: grid; gap: 12px; }
  .rm-app [data-rm-page-body] .rm-card h2 { font-size: 21px; line-height: 1.25; }
  .rm-app [data-rm-page-body] .rm-card > .rm-button { justify-self: start; max-width: 100%; }
  .rm-app .rm-request-row { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 20px; align-items: center; gap: 8px 12px; width: 100%; min-height: 104px; text-align: left; }
  .rm-app .rm-request-row > img { grid-row: 1 / 3; display: block; width: 56px; height: 68px; object-fit: contain; }
  .rm-app .rm-request-row > span:not(.rm-status) { grid-column: 2; display: grid; gap: 4px; min-width: 0; }
  .rm-app .rm-request-row strong { font-size: 15px; line-height: 1.35; }
  .rm-app .rm-request-row small { color: var(--rm-muted); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
  .rm-app .rm-request-row > .rm-status { grid-column: 2; }
  .rm-app .rm-request-row > b { grid-column: 3; grid-row: 1 / 3; font-size: 28px; font-weight: 400; color:var(--mauto-ds-color-primary,#3c78da); }
  .rm-app .rm-status { display: inline-flex; align-items: center; justify-content: flex-start; width: fit-content; max-width: 100%; padding: 6px 10px; border: 1px solid #e0e6ee; border-radius: 10px; background: #f4f6f9; color: #40566f; font-size: 13px; line-height: 1.35; font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
  .rm-app .rm-location-card { display: flex; align-items: flex-start; gap: 12px; }
  .rm-app .rm-location-card > span { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; color: #436380; background: #f0f4f8; font-size: 28px; }
  .rm-app .rm-location-card > div { display: grid; gap: 5px; min-width: 0; }
  .rm-app .rm-location-card strong { font-size: 16px; }
  .rm-app .rm-location-card p { font-size: 15px; }
  .rm-app .rm-location-card small { color: var(--rm-muted); }
  .rm-app .rm-order-stage { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 14px; }
  .rm-app .rm-order-stage > img { width: 76px; height: 84px; object-fit: contain; }
  .rm-app .rm-order-stage > div { display: grid; gap: 7px; min-width: 0; }
  .rm-app .rm-order-stage p { font-size: 14px; color: #5c6d83; }
  .rm-app .rm-order-stage small { color: var(--rm-muted); }
  .rm-app .rm-events { display: grid; gap: 0; padding: 0; margin: 2px 0 0; list-style: none; }
  .rm-app .rm-events li { position: relative; display: grid; gap: 5px; margin: 0; padding: 0 0 18px 23px; }
  .rm-app .rm-events li:last-child { padding-bottom: 0; }
  .rm-app .rm-events li::before { content: ''; position: absolute; top: 5px; left: 1px; width: 10px; height: 10px; border: 2px solid #9cb7d6; border-radius: 50%; background: #fff; }
  .rm-app .rm-events li:not(:last-child)::after { content: ''; position: absolute; top: 16px; bottom: 0; left: 5px; width: 2px; background: #e3eaf3; }
  .rm-app .rm-events strong { font-size: 14px; line-height: 1.4; }
  .rm-app .rm-events time { color: var(--rm-muted); font-size: 13px; line-height: 1.45; }
  .rm-app .rm-order-details { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: start; gap: 10px 12px; margin: 0; font-size: 14px; line-height: 1.45; }
  .rm-app .rm-order-details dt { grid-column: 1; color: var(--rm-muted); }
  .rm-app .rm-order-details dd { grid-column: 2; margin: 0; overflow-wrap: anywhere; }
  .rm-app .rm-bottom-nav { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 2px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #dfe6ef; background: #fffffffa; box-shadow: 0 -4px 18px #263d620d; }
  .rm-app .rm-bottom-nav > .rm-button, .rm-app .rm-bottom-nav > a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 44px; min-height: 54px; padding: 6px 2px; border: 0; border-radius: 12px; background: transparent; color: #63718a; text-align: center; }
  .rm-app .rm-bottom-nav span { display: block; height: 24px; font-size: 25px; line-height: 24px; }
  .rm-app .rm-bottom-nav small { font-size: 11px; line-height: 1.3; }
  .rm-app .rm-bottom-nav [aria-current="page"] { background: #edf5ff; color:var(--mauto-ds-color-primary,#3c78da); }
  .rm-app.is-sheet-open .rm-bottom-nav, .rm-app:has(.rm-sheet[open]) .rm-bottom-nav { visibility: hidden; pointer-events: none; }

  /* V2: native search clearing and session drafts use the same neutral cards. */
  .rm-app .rm-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; width: 100%; min-width: 0; }
  .rm-app .rm-search-row > :is(label, .rm-field) { min-width: 0; }
  .rm-app .rm-search-row input { display: block; width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid #dce3ed; border-radius: 14px; background: #fff; color: var(--rm-ink); font-size: 16px; line-height: 1.4; }
  .rm-app .rm-search-row input::placeholder { color: #758198; opacity: 1; }
  .rm-app .rm-search-row input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
  .rm-app .rm-search-row > button { min-width: 44px; min-height: 48px; max-width: 110px; padding: 10px 12px; border: 1px solid #dfe5ee; border-radius: 13px; background: #f4f6f9; color: #344a64; font-size: 14px; line-height: 1.35; white-space: normal; }
  .rm-app .rm-search-row > .rm-icon-button { width: 44px; min-height: 48px; padding: 10px; }
  .rm-app .rm-draft-list { display: grid; gap: 10px; min-width: 0; }
  .rm-app .rm-draft-list > .rm-card { display: grid; gap: 9px; width: 100%; min-width: 0; padding: 14px; background: #fff; }
  .rm-app .rm-draft-list > button.rm-card { min-height: 72px; color: var(--rm-ink); text-align: left; }
  .rm-app .rm-draft-list :is(strong, h3) { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
  .rm-app .rm-draft-list :is(p, small) { font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
  .rm-app .rm-draft-list small { color: var(--rm-muted); }
  .rm-app .rm-draft-list .rm-row { gap: 8px; }
  .rm-app .rm-draft-list .rm-button { min-height: 48px; font-size: 14px; }

  @media (max-width: 359px) {
    .rm-app .rm-main { padding-inline: 10px; }
    .rm-app .rm-header { padding-inline: 10px; gap: 4px; }
    .rm-app .rm-brand { flex-basis: 145px; }
    .rm-app .rm-header-actions { gap: 0; }
    .rm-app .rm-hero { padding-inline: 14px; }
    .rm-app .rm-hero h1 { font-size: 23px; }
    .rm-app .rm-hero-steps { max-width: 48%; }
    .rm-app .rm-section-head { align-items: flex-start; flex-wrap: wrap; gap: 4px; }
    .rm-app .rm-section-head h2 { align-self: center; font-size: 16px; }
    .rm-app .rm-quick-actions { grid-template-columns: 1fr; }
    .rm-app .rm-quick-card { grid-template-columns: 30px minmax(0, 1fr) 24px; min-height: 52px; padding: 7px 10px; }
    .rm-app .rm-quick-card .rm-arrow { display: inline-flex; width: 24px; height: 24px; }
    .rm-app .rm-quick-card strong { font-size: 13px; }
    .rm-app .rm-quick-card small { font-size: 12px; }
    .rm-app .rm-home .rm-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rm-app .rm-service-grid { gap: 8px; }
    .rm-app .rm-service-card { padding-inline: 8px; }
    .rm-app .rm-contact-summary { padding-inline: 10px; gap: 8px; }
    .rm-app .rm-contact-summary > div, .rm-app .rm-contact-summary > button { align-items: flex-start; gap: 7px; }
    .rm-app .rm-contact-summary svg { width: 20px; height: 20px; flex-basis: 20px; }
    .rm-app .rm-sheet-header { padding-inline: 12px; }
    .rm-app .rm-sheet.has-service-art .rm-sheet-header { grid-template-columns: minmax(0, 1fr) 140px; padding-inline: 12px; }
    .rm-app .rm-sheet.has-service-art .rm-sheet-art { width: 140px; height: 88px; }
    .rm-app .rm-sheet.has-service-art .rm-sheet-heading h2 { font-size: 24px; }
    .rm-app .rm-sheet.has-service-art[data-service="tow"] .rm-sheet-heading h2 { font-size: 27px; }
    .rm-app .rm-sheet-body { padding-inline: 12px; }
    .rm-app .rm-sheet-footer { padding-inline: 12px; }
    .rm-app .rm-choice-card { grid-template-columns: 46px minmax(0, 1fr) 20px; gap: 10px; padding: 10px; }
    .rm-app .rm-choice-card > img { width: 46px; height: 56px; }
    .rm-app .rm-request-row { grid-template-columns: 46px minmax(0, 1fr) 16px; gap: 8px; padding: 12px; }
    .rm-app .rm-request-row > img { width: 46px; height: 58px; }
    .rm-app .rm-order-details { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; }
    .rm-app .rm-dock { grid-template-columns: 64px minmax(0, 1fr) 64px; gap: 6px; padding-inline: 10px; }
    .rm-app .rm-dock-primary { font-size: 14px; }
  }

  /* Keep feedback and the final consent above the footer when the keyboard reduces the viewport. */
    #mauto-road-mobile.rm-compact-viewport .rm-sheet.has-service-art .rm-sheet-header { min-height: 94px; padding-bottom: 10px; }
    #mauto-road-mobile.rm-compact-viewport .rm-sheet.has-service-art .rm-sheet-heading h2 { font-size: 25px; }
    #mauto-road-mobile.rm-compact-viewport .rm-sheet.has-service-art .rm-sheet-heading p { font-size: 13px; }
    #mauto-road-mobile.rm-compact-viewport .rm-sheet.has-service-art .rm-sheet-art { width: 126px; height: 68px; }
    #mauto-road-mobile.rm-compact-viewport .rm-sheet-handle { height: 28px; min-height: 28px; flex-basis: 28px; }
  #mauto-road-mobile .rm-field input[name="vehicle"].mauto-premium-search-field--standalone { background-image: none !important; padding-left: 14px !important; }

  @media (prefers-reduced-motion: no-preference) {
    .rm-app .rm-sheet { transition: transform 160ms ease; }
    .rm-app .rm-button { transition: background-color 120ms ease; }
  }
}

/* Pictograms fit the existing chip/nav/arrow geometry; containers stay intact. */
@media screen {
  .rm-app .rm-chip > span[aria-hidden="true"] > svg { width: 13px; height: 13px; flex-basis: 13px; }
  .rm-app .rm-choice-card.is-selected > b > svg { width: 15px; height: 15px; flex-basis: 15px; }
  .rm-app .rm-service-arrow > svg { width: 16px; height: 16px; flex-basis: 16px; }
  .rm-app .rm-bottom-nav span > svg { width: 24px; height: 24px; flex-basis: 24px; }
  .rm-app .rm-policy > svg { width: 16px; height: 16px; flex-basis: 16px; }
}

@media screen{
 #mauto-road-mobile .rm-home>[data-rm-services]{display:none}
 #mauto-road-mobile .rm-sheet[data-mode="picker"] .rm-sheet-back{display:none!important}
 #mauto-road-mobile .rm-sheet[data-mode="picker"] .rm-sheet-heading h2{font-size:20px;line-height:1.25;letter-spacing:-.3px;white-space:nowrap;overflow-wrap:normal}
 #mauto-road-mobile .rm-sheet[data-mode="picker"] .rm-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #mauto-road-mobile .rm-sheet[data-mode="picker"] .rm-service-card{grid-template-columns:minmax(0,1fr);grid-template-rows:84px auto auto;gap:6px;padding:12px;border-radius:16px;background:#f8fbfe;box-shadow:none}
 #mauto-road-mobile .rm-sheet[data-mode="picker"] .rm-service-card>img{height:84px;width:100%;grid-column:1}
 #mauto-road-mobile .rm-sheet[data-mode="picker"] .rm-service-card strong{font-size:14px;line-height:1.3}
 #mauto-road-mobile .rm-sheet[data-mode="picker"] .rm-service-card small{font-size:12px;line-height:1.4}
 #mauto-road-mobile .rm-sheet[data-mode="picker"] .rm-service-arrow{display:none}
 #mauto-road-mobile .rm-sheet-back[hidden]{display:none!important}
}

/* Road267: explicit grid placement prevents shared back-button positioning from adding rows. */
@media screen{
 #mauto-road-mobile #rm-home-title{font-size:clamp(21px,5.6vw,27px);line-height:1.2;letter-spacing:-.45px;white-space:nowrap}
 #mauto-road-mobile .rm-sheet.has-service-art .rm-sheet-header{grid-template-columns:44px minmax(0,1fr) 72px 44px;gap:6px;min-height:100px!important;padding:8px 12px 12px!important;align-items:center}
 #mauto-road-mobile .rm-sheet.has-service-art .rm-sheet-back{position:static!important;grid-column:1;grid-row:1;width:44px;height:44px;min-width:44px;margin:0!important}
 #mauto-road-mobile .rm-sheet.has-service-art .rm-sheet-heading{grid-column:2;grid-row:1;padding:0;min-width:0}
 #mauto-road-mobile .rm-sheet.has-service-art .rm-sheet-heading h2{font-size:18px!important;line-height:1.25;letter-spacing:-.25px}
 #mauto-road-mobile .rm-sheet.has-service-art .rm-sheet-heading p{font-size:12px;line-height:1.4;margin-top:4px}
 #mauto-road-mobile .rm-sheet.has-service-art .rm-sheet-art{grid-column:3;grid-row:1;align-self:center;width:72px;height:64px;object-fit:contain}
 #mauto-road-mobile .rm-sheet.has-service-art .rm-sheet-close{position:static!important;grid-column:4;grid-row:1;width:44px;height:44px;margin:0!important}
}

@media(max-width:359px){#mauto-road-mobile .rm-estimates .rm-card{flex-direction:column;align-items:flex-start;gap:6px}#mauto-road-mobile .rm-estimates strong{font-size:14px;overflow-wrap:anywhere}}

/* Road271: urgent actions precede arrival/contact information. */
@media screen{
 #mauto-road-mobile .rm-emergency-actions{display:grid;grid-template-columns:1fr;gap:8px}
 #mauto-road-mobile .rm-emergency-actions .rm-quick-card{min-height:54px;padding:8px 12px}
 #mauto-road-mobile .rm-emergency-actions .rm-quick-card small{display:none}
 #mauto-road-mobile .rm-contact-actions{grid-template-columns:1fr}
}

/* Road272: arrival belongs to hero, safety actions share a separate row. */
@media screen{
 #mauto-road-mobile .rm-arrival-inline{order:4;display:flex;align-items:center;justify-content:center;gap:8px;padding-top:2px;color:#45566c}
 #mauto-road-mobile .rm-arrival-inline svg{width:19px;height:19px;flex:none}
 #mauto-road-mobile .rm-arrival-inline span{display:flex;align-items:baseline;gap:6px;font-size:12px;line-height:1.4}
 #mauto-road-mobile .rm-arrival-inline small{font-size:12px}
 #mauto-road-mobile .rm-arrival-inline strong{font-size:12px;font-weight:600}
 #mauto-road-mobile .rm-emergency-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-top:1px solid #dce6ef;padding-top:10px}
 #mauto-road-mobile .rm-emergency-actions .rm-quick-card{display:flex;justify-content:center;gap:6px;min-height:48px;padding:8px 5px;box-shadow:none}
 #mauto-road-mobile .rm-emergency-actions .rm-quick-icon{width:20px;height:20px;flex:0 0 20px;background:none;box-shadow:none;filter:none;color:#34455e}
 #mauto-road-mobile .rm-emergency-actions .rm-quick-icon svg{width:20px;height:20px;filter:none;box-shadow:none}
 #mauto-road-mobile .rm-emergency-actions strong{font-size:12px;line-height:1.3;white-space:nowrap}
 #mauto-road-mobile .rm-emergency-actions .rm-arrow{display:none}
 #mauto-road-mobile .rm-contact-summary{grid-template-columns:1fr}
}

/* Road273: owner-approved semantic colour, same matte outline geometry. */
#mauto-road-mobile .rm-emergency-actions [data-rm-action="accident"] .rm-quick-icon{color:#C93636}
#mauto-road-mobile .rm-emergency-actions [data-rm-action="safe"] .rm-quick-icon{color:#16845B}

/* Road280: adjacent contact choices; original handlers retained until canonical support chat is connected. */
#mauto-road-mobile .rm-contact-pair{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px 12px}
#mauto-road-mobile .rm-contact-pair>button{border:0;border-radius:10px;box-shadow:none;min-height:48px;padding:4px 0;background:none;display:flex;align-items:center;gap:7px}
#mauto-road-mobile .rm-contact-pair>button[data-rm-action="whatsapp"]{border-left:1px solid #dce6ef;border-radius:0;padding-left:12px}
#mauto-road-mobile .rm-contact-pair>button[data-rm-action="whatsapp"] strong{font-size:12px}
#mauto-road-mobile .rm-contact-pair svg{background:none;filter:none;box-shadow:none;padding:0;width:22px;height:22px;flex:0 0 22px}
#mauto-road-mobile .rm-contact-pair small{font-size:11px}
#mauto-road-mobile .rm-contact-pair .rm-arrow{display:none}
#mauto-road-mobile .rm-recent [hidden]{display:none!important}
#mauto-road-mobile .rm-recent-loading{height:52px;border-radius:12px;background:#f2f5f8}

#mauto-road-mobile .rm-contact-pair [data-rm-action="whatsapp"] svg{color:#16845B}
@media(max-width:359px){
 #mauto-road-mobile .rm-ai-banner{grid-template-columns:44px minmax(0,1fr)}
 #mauto-road-mobile .rm-ai-banner .rm-ai-art{width:44px;height:52px;align-self:center}
 #mauto-road-mobile .rm-ai-banner .rm-button{grid-column:1/-1;justify-content:center}
}

/* Road282: current call first; secondary record and chronology stay available. */
#mauto-road-mobile .rm-order-focus{text-align:center;padding:12px 8px;display:grid;gap:8px;justify-items:center}
#mauto-road-mobile .rm-order-focus h2{font-size:18px;margin:0}
#mauto-road-mobile .rm-order-arrival{font-size:24px;line-height:1.25;font-weight:600;font-variant-numeric:tabular-nums;color:#192a3e}
#mauto-road-mobile .rm-order-focus p{margin:0;font-size:13px;color:#56677b}
#mauto-road-mobile .rm-order-disclosure>summary{min-height:44px;display:flex;align-items:center;font-weight:600;cursor:pointer}
#mauto-road-mobile .rm-order-disclosure>summary:after{content:'＋';margin-left:auto}
#mauto-road-mobile .rm-order-disclosure[open]>summary:after{content:'−'}

/* Road297: white centre, recessed neutral track, bright green countdown. */
#mauto-road-mobile .rm-arrival-dial{position:relative;width:clamp(176px,54vw,224px);aspect-ratio:1;margin:6px 0;isolation:isolate}
#mauto-road-mobile .rm-arrival-dial>svg{display:block;width:100%;height:100%;overflow:visible;transform:rotate(-90deg)}
#mauto-road-mobile .rm-dial-track,#mauto-road-mobile .rm-dial-progress{fill:none;stroke-width:19}
#mauto-road-mobile .rm-dial-track{stroke:#edf0f2}
#mauto-road-mobile .rm-arrival-dial:before{content:"";position:absolute;inset:2.5%;border-radius:50%;box-shadow:inset 0 2px 3px #23364b14;pointer-events:none}
#mauto-road-mobile .rm-dial-progress{stroke:#79d52b;stroke-linecap:round;stroke-dasharray:100;transition:stroke-dashoffset 1s linear,opacity .2s ease}
#mauto-road-mobile .rm-dial-center{position:absolute;inset:15%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-radius:50%;background:#fff;padding:10px;box-sizing:border-box;border:1px solid #f0f2f4;box-shadow:none}
#mauto-road-mobile .rm-dial-center small{font-size:11px;font-weight:500;color:#637081;line-height:1.25}
#mauto-road-mobile .rm-dial-center .rm-order-arrival{font-size:clamp(22px,6vw,30px);line-height:1.15;letter-spacing:-.03em;color:#17283e;font-weight:600;text-wrap:balance;font-variant-numeric:tabular-nums}
#mauto-road-mobile .rm-dial-sign{width:23px;height:30px;display:flex;margin-top:2px;color:#43533d}
#mauto-road-mobile .rm-dial-sign svg{width:100%;height:100%}
#mauto-road-mobile .rm-hourglass{animation:rm-hourglass-turn 6s cubic-bezier(.45,0,.2,1) infinite;transform-origin:center}
#mauto-road-mobile .rm-arrival-dial.is-unconfirmed .rm-dial-progress{opacity:0}
#mauto-road-mobile .rm-arrival-dial.is-unconfirmed .rm-order-arrival{font-size:18px;color:#405469;letter-spacing:0}
#mauto-road-mobile .is-unconfirmed .rm-hourglass{animation:none}
@keyframes rm-hourglass-turn{0%,34%{transform:rotate(0)}50%,84%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#mauto-road-mobile .rm-dial-progress{transition:none}#mauto-road-mobile .rm-hourglass{animation:none}}
#mauto-road-mobile .rm-current-order>.rm-card{border-radius:20px;padding:18px;gap:10px;box-shadow:0 5px 18px #263a4c06}
#mauto-road-mobile .rm-current-order>.rm-card h2{font-size:18px;font-weight:600;letter-spacing:-.02em;line-height:1.3}
#mauto-road-mobile .rm-current-order>.rm-card>strong{font-size:15px;font-weight:500;line-height:1.4}
#mauto-road-mobile .rm-current-order>.rm-card>p{font-size:14px;line-height:1.5}
#mauto-road-mobile .rm-current-order .rm-row{align-items:center;justify-content:space-between;gap:10px}
#mauto-road-mobile .rm-current-order .rm-row>.rm-button{flex:1;min-width:0;font-size:14px;min-height:46px;padding:10px 12px;white-space:nowrap;border-radius:14px}
#mauto-road-mobile .rm-current-order .rm-row>.rm-button:first-child{background:#1678f2;border-color:#1678f2;color:#fff}
#mauto-road-mobile .rm-current-order .rm-order-disclosure>summary{font-size:15px;font-weight:500}
#mauto-road-mobile .rm-current-order .rm-row>strong{font-size:15px;font-weight:500}

/* Road298: same canonical request history and call on wide screens. */
@media(min-width:640px){
 #mauto-road-mobile{display:none}
 #mauto-road-v260{display:block}
 body:has(#mauto-road-mobile [data-rm-page]) #mauto-road-v260{display:none}
 #mauto-road-mobile:has([data-rm-page]){display:block;max-width:1120px;margin:0 auto}
 #mauto-road-mobile .rm-page{max-width:1000px;margin:0 auto;padding:24px 28px 110px}
 #mauto-road-mobile .rm-header{max-width:1000px;margin:0 auto}
 #mauto-road-mobile .rm-current-order{display:grid;grid-template-columns:minmax(280px,1fr) minmax(280px,1fr);gap:16px;align-items:start}
 #mauto-road-mobile .rm-current-order>.rm-card{margin:0;min-width:0}
 #mauto-road-mobile .rm-current-order>.rm-card:first-child{grid-row:span 3}
 #mauto-road-mobile .rm-current-order>[data-rm-poll-status]{grid-column:1/-1}
 #mauto-road-mobile .rm-arrival-dial{width:224px}
}

#mauto-road-mobile .rm-order-map{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border-radius:12px;background:#f3f7fc;color:#205b9f;text-decoration:none;font-size:13px;line-height:1.4;max-width:100%;box-sizing:border-box}
#mauto-road-mobile .rm-order-map>span{min-width:0;overflow-wrap:anywhere}
#mauto-road-mobile .rm-order-map>svg{width:18px;height:18px;flex:0 0 18px}
#mauto-road-mobile .rm-order-focus{padding:4px;gap:6px}

/* Road310: compact call heading, left dismissal, address as a real action. */
#mauto-road-mobile .rm-page-heading{flex-direction:row;align-items:center;gap:12px;margin-bottom:16px}
#mauto-road-mobile .rm-page-heading>.rm-button{flex:0 0 auto;min-width:44px;padding:8px;gap:5px}
#mauto-road-mobile .rm-page-heading h1{min-width:0;font-size:clamp(21px,5.6vw,28px);line-height:1.2;letter-spacing:-.03em}
#mauto-road-mobile .rm-order-map{background:var(--mauto-ds-color-blue-graphite,#253448);color:#fff;min-height:48px;border:1px solid var(--mauto-ds-color-blue-graphite,#253448);border-radius:14px;padding:10px 14px;font-weight:500}
#mauto-road-mobile .rm-order-map:focus-visible{outline:3px solid #1678f2;outline-offset:3px}
#mauto-road-mobile .rm-sheet-back{display:none!important}
#mauto-road-mobile .rm-sheet-close{order:-1;flex:0 0 44px}
#mauto-road-mobile .rm-sheet.has-service-art .rm-sheet-header{grid-template-columns:44px minmax(0,1fr) 72px}
#mauto-road-mobile .rm-sheet.has-service-art .rm-sheet-close{grid-column:1;grid-row:1}
#mauto-road-mobile .rm-contact-art{width:46px;height:46px;flex:0 0 46px;object-fit:contain;background:transparent;filter:none}

/* Road311: canonical Road content at every viewport, no second desktop home. */
@media(min-width:640px){
 #mauto-road-v260{display:none!important}
 #mauto-road-mobile{display:block;max-width:1120px;margin:0 auto}
 #mauto-road-mobile .rm-home{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
 #mauto-road-mobile .rm-hero{grid-row:span 4;margin:0}
 #mauto-road-mobile .rm-hero-art{max-height:320px}
 #mauto-road-mobile .rm-home>.rm-card{margin:0;min-width:0}
 #mauto-road-mobile .rm-home>.rm-emergency-actions{grid-template-columns:1fr}
 #mauto-road-mobile .rm-main{max-width:1000px;margin:0 auto;padding-inline:28px}
}

/* Road316: consultation copy stays readable without competing with the action. */
#mauto-road-mobile .rm-ai-banner{grid-template-columns:64px minmax(0,1fr);gap:8px 12px;padding:12px}
#mauto-road-mobile .rm-ai-banner .rm-ai-art{width:64px;height:72px;object-fit:contain;align-self:center}
#mauto-road-mobile .rm-ai-banner h2{font-size:15px;line-height:1.3}
#mauto-road-mobile .rm-ai-banner p{font-size:13px;line-height:1.4}
#mauto-road-mobile .rm-ai-banner .rm-button{grid-column:1/-1;justify-content:center;font-size:14px}

/* Readable request actions at narrow widths; no equal-width label collisions. */
#mauto-road-mobile .rm-order-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:8px;margin-top:12px}
#mauto-road-mobile .rm-order-actions .rm-button{width:100%;min-width:0;min-height:46px;height:auto;padding:10px 12px;white-space:normal;line-height:1.35;color:var(--mauto-ds-color-blue-graphite,#253448);font-size:14px;font-weight:600}
#mauto-road-mobile .rm-order-actions [data-rm-action="cancel-request"]{color:#a52c35;border-color:#e8c7ca;background:#fff8f8}
#mauto-road-mobile .rm-dial-progress{transition:stroke-dashoffset 1s linear,stroke 1.6s ease,opacity .2s ease}
#mauto-road-mobile .rm-sand-top,#mauto-road-mobile .rm-sand-bottom{transform-box:fill-box;transform-origin:center bottom;animation:rm-sand-flow 6s linear infinite}
#mauto-road-mobile .rm-sand-bottom{animation-name:rm-sand-fill}
@keyframes rm-sand-flow{0%{transform:scaleY(1)}34%,50%{transform:scaleY(.08)}84%,100%{transform:scaleY(1)}}
@keyframes rm-sand-fill{0%{transform:scaleY(.08)}34%,50%{transform:scaleY(1)}84%,100%{transform:scaleY(.08)}}
@media(prefers-reduced-motion:reduce){#mauto-road-mobile .rm-sand-top,#mauto-road-mobile .rm-sand-bottom{animation:none}#mauto-road-mobile .rm-dial-progress{transition:none}}

#mauto-road-mobile .rm-photo-section{margin:12px 0;display:grid;gap:8px}
#mauto-road-mobile .rm-photo-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#mauto-road-mobile .rm-photo-controls label{position:relative;overflow:hidden;min-width:0;font-size:13px;min-height:46px}
#mauto-road-mobile .rm-photo-controls input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
#mauto-road-mobile .rm-photo-controls label:focus-within{outline:2px solid #1678f2;outline-offset:2px}
#mauto-road-mobile .rm-photo-item{display:flex;align-items:center;gap:8px;padding:8px 0}
#mauto-road-mobile .rm-photo-item img{width:56px;height:56px;object-fit:cover;border-radius:10px}
#mauto-road-mobile .rm-photo-item span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}
#mauto-road-mobile [data-rm-photo-status]{margin:0;font-size:13px;color:#44556b}
#mauto-road-mobile .is-unconfirmed .rm-sand-top,#mauto-road-mobile .is-unconfirmed .rm-sand-bottom{animation:none}

#mauto-road-mobile .rm-attachment-list{display:flex;flex-wrap:wrap;gap:8px}#mauto-road-mobile .rm-attachment-image{width:100%;max-height:360px;object-fit:contain;border-radius:14px;background:#f4f6f8}

/* Explicit photo actions, shared across Road request services and viewports. */
#mauto-road-mobile .rm-photo-controls label{min-height:56px;padding:12px 10px;gap:8px;border-radius:14px;font-size:14px;font-weight:600;line-height:1.25;cursor:pointer;box-shadow:none;transition:background-color 120ms ease,border-color 120ms ease}
#mauto-road-mobile .rm-photo-controls .rm-photo-capture{background:var(--mauto-ds-color-blue-graphite,#253448);border-color:var(--mauto-ds-color-blue-graphite,#253448);color:#fff}
#mauto-road-mobile .rm-photo-controls .rm-photo-gallery{background:var(--mauto-ds-color-blue-graphite,#253448);border-color:var(--mauto-ds-color-blue-graphite,#253448);color:#fff}
#mauto-road-mobile .rm-photo-controls svg{width:24px;height:24px;flex:0 0 24px;pointer-events:none}
#mauto-road-mobile .rm-photo-controls span{white-space:nowrap;pointer-events:none}
#mauto-road-mobile .rm-photo-controls .rm-photo-capture:active{background:#172435;border-color:#172435}
#mauto-road-mobile .rm-photo-controls .rm-photo-gallery:active{background:#172435;border-color:#172435}
#mauto-road-mobile [data-rm-photos]:empty,#mauto-road-mobile [data-rm-photo-status]:empty{display:none}
@media(hover:hover){#mauto-road-mobile .rm-photo-controls .rm-photo-capture:hover{background:#34475e}#mauto-road-mobile .rm-photo-controls .rm-photo-gallery:hover{background:#34475e}}
@media(prefers-reduced-motion:reduce){#mauto-road-mobile .rm-photo-controls label{transition:none}}

#mauto-road-mobile .rm-geolocate{background:var(--mauto-ds-color-blue-graphite,#253448);border:1px solid var(--mauto-ds-color-blue-graphite,#253448);color:#fff;box-shadow:none;border-radius:14px}
#mauto-road-mobile .rm-geolocate svg{color:#fff;stroke:currentColor;width:24px;height:24px}
#mauto-road-mobile .rm-geolocate:active{background:#172435}

/* Road338: useful direct service selection on tablet and desktop. */
@media(min-width:640px){
 #mauto-road-mobile .rm-home{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 #mauto-road-mobile .rm-hero{grid-column:1/-1;grid-row:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;overflow:hidden}
 #mauto-road-mobile .rm-hero-art{grid-column:2;grid-row:1/3;width:100%;height:220px;object-fit:contain;margin:0}
 #mauto-road-mobile .rm-hero-copy{display:flex;flex-direction:column;gap:10px;grid-column:1;grid-row:1;padding:20px 20px 8px;position:static}
 #mauto-road-mobile .rm-arrival-inline{grid-column:1;grid-row:2;margin:0 20px 16px;width:auto}
 #mauto-road-mobile .rm-hero-cta{display:none}
 #mauto-road-mobile .rm-home>[data-rm-services]{display:block;grid-column:1/-1;min-width:0}
 #mauto-road-mobile .rm-services .rm-section-head{margin-bottom:12px}
 #mauto-road-mobile .rm-services .rm-section-head .rm-text-button{display:none}
 #mauto-road-mobile .rm-home .rm-service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
 #mauto-road-mobile .rm-home .rm-service-card{grid-template-columns:minmax(0,1fr);grid-template-rows:112px auto auto;gap:6px;padding:14px;border:1px solid #e5ebf2;border-radius:18px;background:#fff;box-shadow:none}
 #mauto-road-mobile .rm-home .rm-service-art{width:100%;height:112px;object-fit:contain;grid-column:1}
 #mauto-road-mobile .rm-home .rm-service-card strong{font-size:15px;line-height:1.3;grid-column:1}
 #mauto-road-mobile .rm-home .rm-service-card small{font-size:12px;line-height:1.4;grid-column:1}
 #mauto-road-mobile .rm-home .rm-service-arrow{display:none}
 #mauto-road-mobile .rm-home .rm-service-card:hover{border-color:#3c78da;background:#f5f8fd}
 #mauto-road-mobile .rm-home .rm-service-card:focus-visible{outline:2px solid #3c78da;outline-offset:3px}
 #mauto-road-mobile .rm-recent{min-width:0}
}
@media(min-width:640px) and (max-width:859px){
 #mauto-road-mobile .rm-home .rm-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #mauto-road-mobile .rm-hero-art{height:200px}
 #mauto-road-mobile #rm-home-title{font-size:22px;white-space:normal}
}

/* Road339: private support follows the existing Road sheet and button system. */
#mauto-road-mobile .rm-support-messages{display:flex;flex-direction:column;gap:10px;padding:4px}
#mauto-road-mobile .rm-support-message{max-width:88%;padding:12px 14px;border-radius:16px;background:#f0f4fa;align-self:flex-start;min-width:0}
#mauto-road-mobile .rm-support-message.is-customer{align-self:flex-end;background:#eaf2ff}
#mauto-road-mobile .rm-support-message p{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.45;color:#253448}
#mauto-road-mobile .rm-support-message small,#mauto-road-mobile .rm-support-message time{font-size:11px;color:#56667d}
#mauto-road-mobile .rm-support-compose{display:grid;gap:6px;grid-column:1/-1;font-size:13px;text-align:left}
#mauto-road-mobile .rm-support-compose textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:70px;max-height:180px;border:1px solid #d6deea;border-radius:12px;padding:12px;font:inherit;font-size:16px;background:white;color:#253448}

/* Road341: compact progressive service choice, approved by owner. */
#mauto-road-mobile .rm-home-location{background:#253448;color:#fff;order:3;min-height:46px;width:100%;overflow-wrap:anywhere}
#mauto-road-mobile .rm-home-location svg{width:22px;height:22px;flex:none;color:white}
#mauto-road-mobile .rm-home-safety{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:0;border:0}
#mauto-road-mobile .rm-home-safety .rm-button{min-width:0;min-height:46px;font-size:13px;background:#f1f5fa;border:1px solid #dce5ef;color:#253448;gap:8px}
#mauto-road-mobile .rm-home-safety svg{width:22px;height:22px;flex:none}
#mauto-road-mobile .rm-home-safety [data-rm-action=accident] svg{color:#df4248}
#mauto-road-mobile .rm-home-safety [data-rm-action=safe] svg{color:#338253}
#mauto-road-mobile .rm-more-services{display:none}
@media(min-width:640px){
 #mauto-road-mobile .rm-home .rm-hero{grid-template-rows:auto auto auto;padding:16px;gap:8px 16px}
 #mauto-road-mobile .rm-hero-copy{padding:0;align-self:end}
 #mauto-road-mobile .rm-hero-art{grid-row:1/4;height:auto;width:100%;max-height:none;border-radius:18px;object-fit:contain;overflow:hidden}
 #mauto-road-mobile .rm-home-location{grid-column:1;grid-row:2;max-width:100%;margin:0}
 #mauto-road-mobile .rm-arrival-inline{grid-row:3;margin:0;justify-content:flex-start}
 #mauto-road-mobile .rm-home .rm-service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 #mauto-road-mobile .rm-home .rm-service-card{grid-template-rows:76px auto auto;padding:12px;gap:4px;border-radius:16px;background:#f6f8fc;border-color:#dce5ef}
 #mauto-road-mobile .rm-home .rm-service-art{height:76px}
 #mauto-road-mobile .rm-home .rm-service-card strong{font-size:14px}
 #mauto-road-mobile .rm-home .rm-service-card small{font-size:11px}
 #mauto-road-mobile .rm-home .rm-more-services{display:grid;order:6}
 #mauto-road-mobile .rm-more-symbol{display:flex;align-items:center;justify-content:center;height:76px;font-size:30px;letter-spacing:8px;color:#3c78da}
 #mauto-road-mobile [data-rm-services]:not(.is-expanded) [data-rm-service]:nth-child(n+6){display:none}
 #mauto-road-mobile [data-rm-services].is-expanded [data-rm-service]:nth-child(n+6){order:7}
 #mauto-road-mobile .rm-ai-banner{grid-column:1/-1;order:4}
 #mauto-road-mobile .rm-ai-banner .rm-button{width:100%;background:#3c78da;color:white;min-height:48px}
 #mauto-road-mobile .rm-recent{grid-column:1/-1;order:5}
 #mauto-road-mobile .rm-recent button{width:100%;min-height:48px;background:#253448;color:white;border-radius:12px}
}
@media(min-width:640px) and (max-width:859px){
 #mauto-road-mobile .rm-home .rm-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #mauto-road-mobile [data-rm-services]:not(.is-expanded) [data-rm-service]:nth-child(n+4){display:none}
 #mauto-road-mobile [data-rm-services].is-expanded [data-rm-service]:nth-child(n+4){order:7}
 #mauto-road-mobile .rm-hero-art{height:auto}
}

#mauto-road-mobile .rm-home>.rm-home-safety{grid-template-columns:repeat(2,minmax(0,1fr))}
#mauto-road-mobile [data-rm-home-address]{min-height:48px;padding:12px;border:1px solid #d6deea;border-radius:12px;font:inherit;font-size:16px;box-sizing:border-box;width:100%}

/* Road343: collapse control follows all revealed services. */
@media(min-width:640px){
 #mauto-road-mobile [data-rm-services].is-expanded .rm-more-services{order:8;grid-column:1/-1;display:flex;justify-content:center;align-items:center;min-height:46px;padding:10px;background:#253448;color:white}
 #mauto-road-mobile [data-rm-services].is-expanded .rm-more-services .rm-more-symbol,
 #mauto-road-mobile [data-rm-services].is-expanded .rm-more-services small{display:none}
}
@media(max-width:639px){
 #mauto-road-mobile .rm-main{padding-left:max(4px,env(safe-area-inset-left));padding-right:max(4px,env(safe-area-inset-right))}
 #mauto-road-mobile .rm-header{padding-left:6px;padding-right:6px}
 #mauto-road-mobile .rm-home{gap:8px}
 #mauto-road-mobile .rm-hero{padding:10px;gap:8px}
}

/* Road344: selected photo source, camera is the default. */
#mauto-road-mobile .rm-photo-controls[data-photo-source] label{background:#fff;border-color:#cdd7e4;color:#253448}
#mauto-road-mobile .rm-photo-controls[data-photo-source=camera] .rm-photo-capture,
#mauto-road-mobile .rm-photo-controls[data-photo-source=gallery] .rm-photo-gallery{background:var(--mauto-ds-color-blue-graphite,#253448);border-color:var(--mauto-ds-color-blue-graphite,#253448);color:#fff}

@media(max-width:639px){html body #mauto-road-mobile.rm-app{padding-left:0!important;padding-right:0!important}}

@media(max-width:639px){#mauto-road-mobile .rm-home-location{display:none}}

/* Road347: service controls retain a defined tile edge, including collapse. */
#mauto-road-mobile .rm-home .rm-service-card{border:1px solid #dce3ed;box-shadow:0 2px 5px #17243512,inset 0 1px 0 #ffffff;border-radius:18px}
#mauto-road-mobile [data-rm-services].is-expanded .rm-more-services strong{display:block!important;color:#fff!important;font-size:14px!important;line-height:20px!important;font-weight:700;opacity:1!important}
#mauto-road-mobile .rm-service-card:active{box-shadow:inset 0 1px 3px #1724351a}
#mauto-road-mobile .rm-home [data-rm-services].is-expanded .rm-more-services{background:#253448!important;background-image:none!important;color:#fff!important;border-color:#34475e!important}

/* Road377: one full-width action rhythm; recent request precedes assistance. */
@layer mautoVisualRepair {
 html body #mauto-road-mobile.rm-app {padding-inline:0!important;width:100%!important;max-width:none!important}
 html body #mauto-road-mobile .rm-main {padding-inline:2.5px!important;max-width:none!important}
 html body #mauto-road-mobile .rm-recent {order:4!important;grid-column:1/-1;margin:0!important;padding:0!important}
 html body #mauto-road-mobile .rm-ai-banner {
  order:5!important;grid-column:1/-1;display:grid!important;
  grid-template-columns:56px minmax(0,1fr)!important;gap:6px 10px!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
  background:#fff!important;box-shadow:none!important;
 }
 html body #mauto-road-mobile .rm-ai-art {width:56px!important;height:64px!important;object-fit:contain;align-self:center!important}
 html body #mauto-road-mobile .rm-ai-banner h2 {font-size:16px!important;line-height:1.3!important}
 html body #mauto-road-mobile .rm-ai-banner p {font-size:13px!important;line-height:1.3!important;margin-top:2.5px!important}
 html body #mauto-road-mobile :is(.rm-ai-banner>[data-rm-action="ai"],.rm-recent [data-rm-action="refresh-history"]) {
  display:flex!important;grid-column:1/-1;justify-content:center!important;align-items:center!important;
  width:100%!important;min-height:44px!important;height:auto!important;margin:0!important;
  padding:9px 12px!important;border:1px solid #253448!important;border-radius:12px!important;
  background:#253448!important;background-image:none!important;color:#fff!important;
  font-size:14px!important;line-height:1.4!important;font-weight:600!important;box-shadow:none!important;
 }
 html body #mauto-road-mobile :is(.rm-ai-banner>[data-rm-action="ai"],.rm-recent [data-rm-action="refresh-history"]):focus-visible {outline:2px solid #1678f2!important;outline-offset:2px!important}
 html body #mauto-road-mobile :is(.rm-ai-banner>[data-rm-action="ai"],.rm-recent [data-rm-action="refresh-history"]):active {background:#172435!important}
 html body #mauto-road-mobile :is(.rm-ai-banner>[data-rm-action="ai"],.rm-recent [data-rm-action="refresh-history"])>.mauto-button-sheen {display:none!important}
}

/* Road384: snow-white tiles with restrained matte relief; approved geometry retained. */
@layer mautoVisualRepair {
 html body #mauto-road-mobile .rm-service-card {
  border:1px solid #cadced!important;border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 1px 2px #2534480d!important;
  text-align:left!important;min-width:0!important;
 }
 html body #mauto-road-mobile .rm-service-card strong {
  color:#253448!important;white-space:normal!important;word-break:normal!important;
  overflow-wrap:normal!important;hyphens:none!important;text-wrap:balance;
  font-size:14px!important;line-height:1.3!important;letter-spacing:0!important;
 }
 html body #mauto-road-mobile .rm-service-card small {
  color:#53657d!important;white-space:normal!important;word-break:normal!important;
  overflow-wrap:normal!important;hyphens:none!important;font-size:12px!important;line-height:1.35!important;
 }
 html body #mauto-road-mobile .rm-service-card>.mauto-button-sheen {display:none!important}
 html body #mauto-road-mobile .rm-service-card:focus-visible {outline:2px solid #1678f2!important;outline-offset:3px!important}
 html body #mauto-road-mobile .rm-service-card:active {background:#fff!important;box-shadow:inset 0 1px 2px #25344812!important}
 @media(hover:hover) {
  html body #mauto-road-mobile .rm-service-card:hover {border-color:#7f9fca!important;background:#fff!important}
 }
 @media(max-width:639px) {
  html body #mauto-road-mobile .rm-service-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html body #mauto-road-mobile .rm-service-card {padding:10px!important}
 }
}
