/*
  Repair LinkUp design system (owner, 2026-10-12): one look for every page and the app.
  The landing page is the model. The rules are written down in docs/style-guide.md; change a value
  here (the tokens below) and every page follows. Loaded after every other stylesheet.

  Why the selectors start with  html:not(#rlu-a):not(#rlu-b) : the older stylesheets size the same
  things in hundreds of places, some with !important and several classes. The two :not(#id) add
  ID-level weight without matching anything less, so each rule here wins everywhere.

  Fonts: Arimo (the landing page's Arial look, drawn to the same widths as Arial) and Gelasio
  italic (the landing page's Georgia accent words). Both are served from /assets/fonts so every
  phone, tablet and computer shows the same letters. SIL Open Font License 1.1, see
  docs/font-licenses/.
*/
@font-face { font-family: "RLU Arimo"; src: url("/assets/fonts/arimo-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "RLU Arimo"; src: url("/assets/fonts/arimo-latin-wght-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "RLU Gelasio"; src: url("/assets/fonts/gelasio-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* Type */
  --rlu-font: "RLU Arimo", Arial, Helvetica, sans-serif;
  --rlu-font-accent: "RLU Gelasio", Georgia, "Times New Roman", serif;
  --rlu-title-size: clamp(34px, 1.5rem + 2.5vw, 56px);   /* page titles (h1) and landing section titles */
  --rlu-title-leading: 1.06;
  --rlu-title-tracking: -0.05em;
  --rlu-h2-size: clamp(22px, 1.2rem + 0.5vw, 26px);
  --rlu-h3-size: 18px;
  --rlu-h4-size: 16px;
  --rlu-heading-weight: 650;
  --rlu-body-size: 15px;
  --rlu-body-leading: 1.6;
  --rlu-lead-size: 16px;                                  /* the paragraph right under a page title */
  --rlu-reading-size: 17px;                               /* policy documents, read start to finish */
  --rlu-small-size: 13px;
  --rlu-eyebrow-size: 12px;
  --rlu-eyebrow-tracking: 0.14em;

  /* Colour (unchanged brand palette, docs/brand-guidelines.md) */
  --rlu-ink: #242824;
  --rlu-muted: #626862;
  --rlu-line: #e2e5df;
  --rlu-field-line: #86939f;                              /* 3:1 against white, WCAG 1.4.11 */
  --rlu-page: #f0f2f5;
  --rlu-surface: #ffffff;
  --rlu-surface-soft: #f9fafc;
  --rlu-blue: #86ddff;
  --rlu-blue-hover: #6ed4fc;
  --rlu-blue-ink: #175b75;
  --rlu-blue-soft: #e2f3fa;
  --rlu-danger: #b42318;
  --rlu-danger-soft: #fff1f2;
  --rlu-danger-hover: #ffe4e6;
  --rlu-danger-line: #fecdca;

  /* Shape */
  --rlu-radius-card: 20px;     /* cards, panels, dialogs */
  --rlu-radius-inner: 14px;    /* boxes inside a card */
  --rlu-radius-field: 12px;    /* text boxes, dropdowns */
  --rlu-radius-pill: 999px;    /* every button, tab and chip */
  --rlu-shadow-card: 0 8px 24px rgba(36, 40, 36, .06);
  --rlu-shadow-float: 0 10px 30px rgba(16, 24, 40, .16);
  --rlu-shadow-dialog: 0 24px 64px rgba(16, 24, 40, .20);

  /* Controls */
  --rlu-control-height: 48px;
  --rlu-control-font: 700 14px/1.2 var(--rlu-font);
  --rlu-tab-height: 44px;
}

/* ---------- 1. One font for every word ---------- */
html:not(#rlu-a):not(#rlu-b) :is(body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, small, label, a, span, li, td, th, strong, b, em, div, legend, summary, dt, dd, blockquote, figcaption) { font-family: var(--rlu-font) !important; }
html:not(#rlu-a):not(#rlu-b) body { color: var(--rlu-ink); -webkit-font-smoothing: antialiased; }

/* ---------- 2. Headings: one rule per level ---------- */
html:not(#rlu-a):not(#rlu-b) body h1 {
  font-size: var(--rlu-title-size) !important; line-height: var(--rlu-title-leading) !important;
  letter-spacing: var(--rlu-title-tracking) !important; font-weight: var(--rlu-heading-weight) !important;
  color: var(--rlu-ink) !important; text-transform: none !important; font-style: normal !important;
}
html:not(#rlu-a):not(#rlu-b) body h2 {
  font-size: var(--rlu-h2-size) !important; line-height: 1.25 !important; letter-spacing: -0.02em !important;
  font-weight: var(--rlu-heading-weight) !important; color: var(--rlu-ink) !important; text-transform: none !important;
}
html:not(#rlu-a):not(#rlu-b) body h3 {
  font-size: var(--rlu-h3-size) !important; line-height: 1.35 !important; letter-spacing: -0.01em !important;
  font-weight: var(--rlu-heading-weight) !important; color: var(--rlu-ink) !important; text-transform: none !important;
}
html:not(#rlu-a):not(#rlu-b) body :is(h4, h5, h6) {
  font-size: var(--rlu-h4-size) !important; line-height: 1.4 !important; letter-spacing: 0 !important;
  font-weight: 700 !important; color: var(--rlu-ink) !important; text-transform: none !important;
}
/* The About page's big section titles are page-level statements, like the landing page's: title size. */
html:not(#rlu-a):not(#rlu-b) body :is(.about-editorial-section, .about-editorial-closing) h2 {
  font-size: var(--rlu-title-size) !important; line-height: var(--rlu-title-leading) !important; letter-spacing: var(--rlu-title-tracking) !important;
}

/* ---------- 3. Paragraphs ---------- */
html:not(#rlu-a):not(#rlu-b) body p {
  font-size: var(--rlu-body-size) !important; line-height: var(--rlu-body-leading) !important;
  font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; font-style: normal !important;
  color: var(--rlu-muted) !important;
}
/* Words someone wrote (messages, support replies) and policy text read in full ink. */
html:not(#rlu-a):not(#rlu-b) body :is(.message-bubble, .support-message, .legal-document, .legal-section, .legal-important) p,
html:not(#rlu-a):not(#rlu-b) body p:is(.legal-important, .owner-request-description) { color: var(--rlu-ink) !important; }
html:not(#rlu-a):not(#rlu-b) body p:is(.legal-important-label) { font-weight: 700 !important; color: var(--rlu-ink) !important; }
/* Your own sent messages sit on the dark blue bubble: their words are white (owner, 2026-10-13; ink on that blue
   was 2:1). Links in them stay white and underlined. Attachment cards inside keep their own light card and ink. */
html:not(#rlu-a):not(#rlu-b) body .outgoing .message-bubble > p,
html:not(#rlu-a):not(#rlu-b) body .outgoing .message-bubble > p a { color: #ffffff !important; }
html:not(#rlu-a):not(#rlu-b) body .outgoing .message-bubble > p a { text-decoration: underline !important; }
/* Policy documents are read start to finish: their paragraphs use the reading size (kept from the legal page checks, tools/check-legal-pages.cjs). */
html:not(#rlu-a):not(#rlu-b) body .legal-sections p { font-size: var(--rlu-reading-size) !important; line-height: 1.75 !important; }
/* Lead: the paragraph that introduces a page. */
html:not(#rlu-a):not(#rlu-b) body p:is(.legal-intro, .directory-coming-soon-lead, .owner-profile-hero-copy, .facilities-page-intro-copy), html:not(#rlu-a):not(#rlu-b) body .about-editorial-header > p {
  font-size: var(--rlu-lead-size) !important; color: var(--rlu-muted) !important;
}
/* Eyebrow: the small capital label above a title. */
html:not(#rlu-a):not(#rlu-b) body :is(.legal-eyebrow, .directory-coming-soon-card > small, .repairlinkup-footer-support > span, .about-editorial-header > small, .about-editorial-aside > span, .about-editorial-closing > small, .modal-head small, .repairlinkup-feedback-banner small) {
  font-size: var(--rlu-eyebrow-size) !important; line-height: 1.4 !important; font-weight: 700 !important;
  letter-spacing: var(--rlu-eyebrow-tracking) !important; text-transform: uppercase !important; color: var(--rlu-ink) !important;
}
/* Small print: dates, helper lines, captions. */
html:not(#rlu-a):not(#rlu-b) body p:is(.legal-version, .account-security-helper, .chat-shop-title),
html:not(#rlu-a):not(#rlu-b) body .repairlinkup-footer-support small {
  font-size: var(--rlu-small-size) !important; line-height: 1.5 !important; color: var(--rlu-muted) !important;
}

/* ---------- 4. Buttons: three kinds, one size, one shape ---------- */
/* :where() keeps this base rule at the prefix's weight, so the size adjustments further down (phones, tight rows) win. */
html:not(#rlu-a):not(#rlu-b) body :where(
  .btn, .legal-print, .composer-send, .garage-request-button, .facility-message-button, .shop-action-primary,
  .owner-request-complete-action, .photo-edit-button, .repairlinkup-footer-support button, .repairlinkup-install-button,
  .repairlinkup-help-fab, .about-editorial-action, .about-editorial-back, .facility-profile-button, .garage-view-button, .owner-request-back-bottom,
  .owner-address-location-button, .support-alt-email, .public-legal-back, .directory-coming-soon-back, .shop-action-secondary,
  .composer-attachment-button, .chat-delete-button, .chat-report-button, .chat-block-button, .shop-action-pass,
  .shop-social-remove, .shop-gallery-remove, .account-delete-button, .facility-favorite-button, .facility-select-repair-button,
  .messages-head-actions > button, .chat-head-actions > button, .owner-request-actions-panel > button, .owner-request-actions-panel button.danger,
  .owner-request-facility-row > button, .support-parity-new-row > button, .support-alt-text, .public-support-direct-options a,
  .opportunity-owner-message, .vehicle-photo-action, .opportunity-export-job, .vehicle-details-back, .vin-decode-button, .rlu-consent-btn, .wizard-live-preview button, .service-needed-toggle, .completed > button
) {
  align-items: center; justify-content: center; gap: 8px;
  min-height: var(--rlu-control-height) !important; height: auto !important; padding: 0 22px !important;
  border-radius: var(--rlu-radius-pill) !important; font: var(--rlu-control-font) !important; letter-spacing: 0 !important;
  text-transform: none !important; text-decoration: none !important; box-shadow: none !important; transform: none !important;
  background-image: none !important; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease !important;
  white-space: normal; text-align: center;
}
/* Main action: light blue, dark text. */
:is(html:not(#rlu-a):not(#rlu-b)) body :is(
  .btn.btn-primary, .btn-primary, .legal-print, .composer-send, .garage-request-button, .facility-message-button, .shop-action-primary,
  .owner-request-complete-action, .photo-edit-button, .repairlinkup-footer-support button, .repairlinkup-install-button, .repairlinkup-help-fab, .about-editorial-action, .opportunity-owner-message, .opportunity-export-job, .vehicle-photo-action, .rlu-act
) { background-color: var(--rlu-blue) !important; color: var(--rlu-ink) !important; border: 1px solid var(--rlu-blue) !important; }
:is(html:not(#rlu-a):not(#rlu-b)) body :is(
  .btn.btn-primary, .btn-primary, .legal-print, .composer-send, .garage-request-button, .facility-message-button, .shop-action-primary,
  .owner-request-complete-action, .photo-edit-button, .repairlinkup-footer-support button, .repairlinkup-install-button, .repairlinkup-help-fab, .about-editorial-action, .opportunity-owner-message, .opportunity-export-job, .vehicle-photo-action, .rlu-act
):hover:not(:disabled) { background-color: var(--rlu-blue-hover) !important; border-color: var(--rlu-blue-hover) !important; }
/* Other actions: white with a thin border. */
:is(html:not(#rlu-a):not(#rlu-b)) body :is(
  .btn.btn-light, .btn-light, .btn-dark, .facility-profile-button, .garage-view-button, .owner-request-back-bottom, .owner-address-location-button,
  .support-alt-email, .public-legal-back, .directory-coming-soon-back, .about-editorial-back, .shop-action-secondary, .composer-attachment-button, .chat-delete-button,
  .messages-head-actions > button, .chat-head-actions > button:not(.chat-report-button):not(.chat-block-button):not(.chat-delete-button),
  .owner-request-actions-panel > button:not(.danger):not(.owner-request-complete-action):not(.rlu-act), .owner-request-facility-row > button:not(.rlu-act),
  .support-parity-new-row > button, .facility-select-repair-button, .facility-favorite-button:not(.saved), .support-alt-text, .public-support-direct-options a, .vehicle-details-back, .vin-decode-button, .rlu-consent-btn, .wizard-live-preview button, .service-needed-toggle, .completed > button
) { background-color: var(--rlu-surface) !important; color: var(--rlu-ink) !important; border: 1px solid var(--rlu-field-line) !important; }
:is(html:not(#rlu-a):not(#rlu-b)) body :is(
  .btn.btn-light, .btn-light, .btn-dark, .facility-profile-button, .garage-view-button, .owner-request-back-bottom, .owner-address-location-button,
  .support-alt-email, .public-legal-back, .directory-coming-soon-back, .about-editorial-back, .shop-action-secondary, .composer-attachment-button, .chat-delete-button,
  .messages-head-actions > button, .chat-head-actions > button:not(.chat-report-button):not(.chat-block-button):not(.chat-delete-button),
  .owner-request-actions-panel > button:not(.danger):not(.owner-request-complete-action):not(.rlu-act), .owner-request-facility-row > button:not(.rlu-act),
  .support-parity-new-row > button, .facility-select-repair-button, .facility-favorite-button:not(.saved), .support-alt-text, .public-support-direct-options a, .vehicle-details-back, .vin-decode-button, .rlu-consent-btn, .wizard-live-preview button, .service-needed-toggle, .completed > button
):hover:not(:disabled) { background-color: var(--rlu-page) !important; }
/* A chosen option (for example "Selected" on a facility) shows the soft blue. */
:is(html:not(#rlu-a):not(#rlu-b)) body .facility-select-repair-button.selected { background-color: var(--rlu-blue-soft) !important; border-color: var(--rlu-blue-ink) !important; color: var(--rlu-blue-ink) !important; }
/* Delete, remove, report, block, pass: red. */
:is(html:not(#rlu-a):not(#rlu-b)) body :is(
  .btn.btn-danger, .btn-danger, .owner-request-actions-panel button.danger, .account-delete-button, .chat-report-button, .chat-block-button,
  .shop-action-pass, .shop-social-remove, .shop-gallery-remove, .facility-favorite-button.saved, .wizard-back-red
) { background-color: var(--rlu-danger-soft) !important; color: var(--rlu-danger) !important; border: 1px solid var(--rlu-danger-line) !important; }
:is(html:not(#rlu-a):not(#rlu-b)) body :is(
  .btn.btn-danger, .btn-danger, .owner-request-actions-panel button.danger, .account-delete-button, .chat-report-button, .chat-block-button,
  .shop-action-pass, .shop-social-remove, .shop-gallery-remove, .facility-favorite-button.saved, .wizard-back-red
):hover:not(:disabled) { background-color: var(--rlu-danger-hover) !important; }
:is(html:not(#rlu-a):not(#rlu-b)) body :is(.btn, .legal-print, .composer-send, .shop-action-primary, .shop-action-secondary, .shop-action-pass):disabled { opacity: .55 !important; cursor: not-allowed !important; }
/* Floating buttons (Install App, Need Help) keep their lift so they read above the page. */
:is(html:not(#rlu-a):not(#rlu-b)) body :is(.repairlinkup-install-button, .repairlinkup-help-fab) { box-shadow: var(--rlu-shadow-float) !important; }

/* Text buttons: actions written as words (Edit, Forgot Password, policy links). */
:is(html:not(#rlu-a):not(#rlu-b)) body :is(
  .panel-head > button:not([class]), .account-legal-links button, .account-security-text-button, .account-security-forgot-link,
  .password-visibility-button, .request-interest-link, .legal-cookie-settings,
  .rlu-legal-footer :is(a, button), .signup-site-header > button, .signup-site-header button:not(.btn), .shop-certification-list button,
  .manual-zip-toggle, .facility-profile-details button:not([class])
) {
  background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; min-height: 44px !important;
  font: var(--rlu-control-font) !important; color: var(--rlu-blue-ink) !important; text-decoration: none !important; cursor: pointer;
}
:is(html:not(#rlu-a):not(#rlu-b)) body .shop-certification-list button { color: var(--rlu-danger) !important; }
:is(html:not(#rlu-a):not(#rlu-b)) body :is(
  .panel-head > button:not([class]), .account-legal-links button, .account-security-text-button, .account-security-forgot-link,
  .password-visibility-button, .request-interest-link, .legal-cookie-settings,
  .rlu-legal-footer :is(a, button), .signup-site-header button:not(.btn), .shop-certification-list button,
  .manual-zip-toggle, .facility-profile-details button:not([class])
):hover { text-decoration: underline !important; text-underline-offset: 3px; }
/* "Edit" in a panel heading sits beside the title instead of stretching to the panel's height. */
:is(html:not(#rlu-a):not(#rlu-b)) body .panel-head > button:not([class]) { align-self: flex-start !important; height: auto !important; min-height: 44px !important; }

/* Tabs and filter chips: pill, light grey; the chosen one light blue (as on the landing page). */
:is(html:not(#rlu-a):not(#rlu-b)) body :is(.owner-garage-tabs > button, .approved-work-tabs > button, .shop-opportunity-tabs > button) {
  min-height: var(--rlu-tab-height) !important; height: auto !important; padding: 0 16px !important; border-radius: var(--rlu-radius-pill) !important;
  font: var(--rlu-control-font) !important; background: var(--rlu-surface-soft) !important; color: var(--rlu-ink) !important;
  border: 1px solid var(--rlu-line) !important; box-shadow: none !important;
}
:is(html:not(#rlu-a):not(#rlu-b)) body :is(.owner-garage-tabs > button, .approved-work-tabs > button, .shop-opportunity-tabs > button):is(.active, [aria-pressed="true"], [aria-selected="true"]) {
  background: var(--rlu-blue) !important; border-color: var(--rlu-blue) !important; color: var(--rlu-ink) !important;
}
/* Small round icon buttons (close, arrows). */
:is(html:not(#rlu-a):not(#rlu-b)) body :is(.modal .close, .modal-head .close, .shop-gallery-item-actions > button, .opportunity-detail-close-x, .rlu-consent-close) {
  width: 40px !important; height: 40px !important; min-height: 40px !important; padding: 0 !important; border-radius: var(--rlu-radius-pill) !important;
  place-items: center; background: var(--rlu-page) !important; color: var(--rlu-ink) !important;
  border: 1px solid var(--rlu-line) !important; font: 700 18px/1 var(--rlu-font) !important; box-shadow: none !important;
}

/* ---------- 5. Text boxes and dropdowns ---------- */
html:not(#rlu-a):not(#rlu-b) body :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
  select
) {
  min-height: var(--rlu-control-height) !important; height: var(--rlu-control-height) !important; padding-top: 0 !important; padding-bottom: 0 !important;
  border-radius: var(--rlu-radius-field) !important; border: 1px solid var(--rlu-field-line) !important;
  background-color: var(--rlu-surface) !important; color: var(--rlu-ink) !important; font: 400 16px/1.4 var(--rlu-font) !important; box-shadow: none !important;
}
html:not(#rlu-a):not(#rlu-b) body textarea {
  border-radius: var(--rlu-radius-field) !important; border: 1px solid var(--rlu-field-line) !important; background-color: var(--rlu-surface) !important;
  color: var(--rlu-ink) !important; font: 400 16px/1.5 var(--rlu-font) !important; box-shadow: none !important; min-height: var(--rlu-control-height) !important;
}
html:not(#rlu-a):not(#rlu-b) body :is(input, select, textarea):disabled,
html:not(#rlu-a):not(#rlu-b) body :is(input, textarea)[readonly] { background-color: var(--rlu-surface-soft) !important; }
html:not(#rlu-a):not(#rlu-b) body :is(input, select, textarea):focus { border-color: var(--rlu-blue-ink) !important; }
html:not(#rlu-a):not(#rlu-b) body :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--rlu-danger) !important; }

/* ---------- 6. Cards, boxes inside cards, dialogs ---------- */
html:not(#rlu-a):not(#rlu-b) body :is(
  .panel, .garage-item, .owner-request-row, .owner-facility-row, .saved-facility-card, .support-conversation, .directory-coming-soon-card,
  .messages-shell, .shop-subscription-hero, .approved-work-detail, .shop-detail-action-panel, .shop-profile-live-preview, .auth-shell,
  .owner-request-section, .owner-request-status-card, .shop-opportunity-feed, .shop-detail-hero, .repairlinkup-footer-support,
  .repairlinkup-feedback-banner, .wizard-live-preview, .garage-toolbar, .facility-directory-toolbar, .shop-profile-bottom-actions,
  .rlu-choose-option, .shop-profile-photo-section, .stats > article, .shop-opportunity-summary > article, .approved-work-summary > article,
  .owner-request-actions-panel, .shop-integration-request-card, .sidebar, .owner-profile-hero-card, .shop-business-hero, .facility-opportunity-row, .vehicle-hero-card, .vehicle-summary-grid > article, .opportunity-detail-card, .combined-help-card
) { border-radius: var(--rlu-radius-card) !important; box-shadow: var(--rlu-shadow-card) !important; }
/* The side menu is the page edge, so it keeps square corners. */
html:not(#rlu-a):not(#rlu-b) body .sidebar { border-radius: 0 !important; }
html:not(#rlu-a):not(#rlu-b) body :is(
  .directory-coming-soon-explainer, .support-alt-channels, .owner-current-address-banner, .owner-request-facility-row, .owner-approved-work-selected,
  .owner-location-note, .shop-detail-description, .shop-detail-parts, .shop-detail-photos, .support-message, .legal-table-wrap,
  .owner-garage-tabs, .message-document-card, .owner-profile-photo-editor, .owner-request-detail-grid > div, .shop-profile-verified-location,
  .approved-work-contact-grid > article, .approved-work-vehicle-grid > article, .approved-work-repair-summary, .account-password-rules,
  .shop-integration-catalog-group, .shop-profile-info-item, .shop-match-explanation, .shop-profile-preview-photo, .shop-current-address-card,
  .shop-detail-grid > article, .shop-live-vehicle-identifiers > div, .shop-signup-ai-services, .owner-profile-address-display,
  .shop-profile-preview-card, .owner-interest-request-group > header, .opportunity-list, .public-delete-account-action,
  .shop-signup-business-match, .auth-legal-agreement, .founding-program-card, .shop-profile-photo-large, .shop-subscription-note,
  .shop-verification-current-file, .business-hours-editor, .shop-profile-form-grid, .real-auth-note, .owner-profile-info-row, .vehicle-health-card, .select-repair-privacy-note, .account-delete-acknowledgement, .complete-repair-acknowledgement, .select-repair-authorization-note, .opportunity-vehicle-grid > div, .vehicle-history-empty, .select-repair-facility-hero, .facility-owner-section, .facility-profile-privacy, .facility-profile-details > article, .vehicle-upload-preview, .facility-profile-about > div, .choice-card-row > div, .compact-repair-select, .damage-multiselect, .request-location-source, .premium-description-field, .vehicle-info-list > div, .form-grid > .field
) { border-radius: var(--rlu-radius-inner) !important; box-shadow: none !important; }
html:not(#rlu-a):not(#rlu-b) body :is(.modal, .rlu-consent-dialog) { border-radius: var(--rlu-radius-card) !important; box-shadow: var(--rlu-shadow-dialog) !important; }
html:not(#rlu-a):not(#rlu-b) body .message-bubble { box-shadow: none !important; }

/* ---------- 7. The footer looks the same on every public page (the landing page's light footer) ---------- */
html:not(#rlu-a):not(#rlu-b) body .repairlinkup-footer { background: var(--rlu-page) !important; color: var(--rlu-ink) !important; border-top: 1px solid var(--rlu-line) !important; }
html:not(#rlu-a):not(#rlu-b) body .repairlinkup-footer :is(.repairlinkup-feedback-banner, .repairlinkup-footer-support) {
  background: var(--rlu-surface-soft) !important; color: var(--rlu-ink) !important; border: 1px solid var(--rlu-line) !important;
}
html:not(#rlu-a):not(#rlu-b) body .repairlinkup-footer .repairlinkup-feedback-banner { border-left: 4px solid var(--rlu-blue) !important; }
html:not(#rlu-a):not(#rlu-b) body .repairlinkup-footer .repairlinkup-feedback-banner :is(strong, p, a, small, span) { color: var(--rlu-ink) !important; }
html:not(#rlu-a):not(#rlu-b) body .repairlinkup-footer .repairlinkup-footer-support h2 { color: var(--rlu-ink) !important; }
html:not(#rlu-a):not(#rlu-b) body .repairlinkup-footer :is(.repairlinkup-footer-brand > span, .repairlinkup-footer-column :is(a, button), .repairlinkup-footer-bottom, .repairlinkup-footer-bottom :is(a, button)) { color: var(--rlu-muted) !important; }
/* The banner is light now, so its links take the site's blue focus ring (the white ring was for the old red banner). */
html:not(#rlu-a):not(#rlu-b) body .repairlinkup-footer .repairlinkup-feedback-banner a:focus-visible { outline: 3px solid var(--rlu-blue-ink) !important; outline-offset: 3px !important; }

/* ---------- 8. Navigation: the side menu and Log Out use the control font ---------- */
html:not(#rlu-a):not(#rlu-b) body :is(.desktop-sidebar-nav > button, .sidebar nav button, .sidebar .logout) { font: var(--rlu-control-font) !important; letter-spacing: 0 !important; }
html:not(#rlu-a):not(#rlu-b) body .password-visibility-button { border-radius: 0 !important; }
/* ---------- 9. Capital labels (classified in assets/app-v794.js: repairLinkUpTagCapsLabels) ---------- */
html:not(#rlu-a):not(#rlu-b) body .rlu-eyebrow {
  font-size: var(--rlu-eyebrow-size) !important; line-height: 1.4 !important; font-weight: 700 !important;
  letter-spacing: var(--rlu-eyebrow-tracking) !important; text-transform: uppercase !important; color: var(--rlu-ink) !important;
}
html:not(#rlu-a):not(#rlu-b) body .rlu-label {
  font-size: var(--rlu-eyebrow-size) !important; line-height: 1.4 !important; font-weight: 700 !important;
  letter-spacing: .08em !important; text-transform: uppercase !important; color: var(--rlu-muted) !important;
}
html:not(#rlu-a):not(#rlu-b) body .rlu-badge { font-size: var(--rlu-eyebrow-size) !important; font-weight: 700 !important; letter-spacing: .06em !important; }
/* ---------- 10. Links styled as buttons line up like buttons (never forced visible: hidden stays hidden) ---------- */
html:not(#rlu-a):not(#rlu-b) body a:is(.btn, .support-alt-text):not([hidden]),
html:not(#rlu-a):not(#rlu-b) body .public-support-direct-options a:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; }

/* ---------- 11. Phones ---------- */
@media (max-width: 600px) {
  html:not(#rlu-a):not(#rlu-b) body :is(.btn, .legal-print, .composer-send, .garage-request-button, .garage-view-button, .facility-message-button, .facility-profile-button, .shop-action-primary, .shop-action-secondary, .shop-action-pass) { padding: 0 16px !important; }
  /* List cards (garage, requests, facilities, messages…) follow section 19, "Compact phone cards". */
  /* Tab rows scroll sideways instead of overlapping. */
  html:not(#rlu-a):not(#rlu-b) body :is(.shop-opportunity-tabs, .approved-work-tabs) { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 8px !important; scrollbar-width: none; grid-template-columns: none !important; }
  html:not(#rlu-a):not(#rlu-b) body :is(.shop-opportunity-tabs, .approved-work-tabs) > button { flex: 0 0 auto !important; padding: 0 14px !important; }
}
/* ---------- 12. Contact options (Email / Call / Text Support): the sentence above, the buttons in one even row that wraps cleanly ---------- */
html:not(#rlu-a):not(#rlu-b) body .public-support-direct-options { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; }
html:not(#rlu-a):not(#rlu-b) body .public-support-direct-options > div:last-child { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; gap: 8px !important; }
html:not(#rlu-a):not(#rlu-b) body .public-support-direct-options a { white-space: nowrap !important; }
/* The date under a facility's repair status reads at 5.7:1 (axe flagged the old grey on the selected row's tint). */
html:not(#rlu-a):not(#rlu-b) body .owner-facility-response > span { color: var(--rlu-muted) !important; }

/* ---------- 13. Conversation header: name and vehicle on top, its action buttons on their own row ---------- */
html:not(#rlu-a):not(#rlu-b) body .premium-chat-head { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 12px !important; }
html:not(#rlu-a):not(#rlu-b) body .premium-chat-head > .chat-shop-title { flex: 1 1 220px !important; min-width: 0 !important; }
html:not(#rlu-a):not(#rlu-b) body .premium-chat-head > .chat-head-actions { flex: 1 1 100% !important; display: flex !important; flex-wrap: wrap !important; gap: 8px !important; justify-content: flex-start !important; margin: 0 !important; }
html:not(#rlu-a):not(#rlu-b) body .premium-chat-head > .chat-head-actions:empty { display: none !important; }
html:not(#rlu-a):not(#rlu-b) body .premium-chat-head > .chat-head-actions > button { white-space: nowrap !important; }
/* The label by the name ("Approved facility") is one chip, never broken inside a word (final review r2, R2-OR-5: on an
   upright phone a long shop name squeezed it to "Approv / ed / facility"): the row wraps and the chip goes under the
   name whole when it does not fit beside it. Not while typing (that layout keeps the head to one line). */
html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .premium-chat-head > .chat-shop-title > div { flex-wrap: wrap !important; row-gap: 3px !important; }
html:not(#rlu-a):not(#rlu-b) body .premium-chat-head > .chat-shop-title > div > .chat-approved { flex: 0 0 auto !important; white-space: nowrap !important; word-break: normal !important; overflow-wrap: normal !important; }
/* ---------- 14. Pick-one options: option cards and option chips ---------- */
/* Option cards (Yes / No, repair type, which vehicle, where the repair was done, how to add a business): one box, the chosen one soft blue. */
html:not(#rlu-a):not(#rlu-b) body :is(.yes-no-cards > button, .owner-service-category, .complete-repair-shop, .wizard-vehicle-card, .wizard-add-vehicle-card, .shop-signup-business-choice-button) {
  border-radius: var(--rlu-radius-inner) !important; border: 1px solid var(--rlu-field-line) !important; background: var(--rlu-surface) !important;
  color: var(--rlu-ink) !important; box-shadow: none !important; min-height: var(--rlu-control-height) !important; font-family: var(--rlu-font) !important;
}
html:not(#rlu-a):not(#rlu-b) body :is(.yes-no-cards > button, .owner-service-category, .complete-repair-shop, .wizard-vehicle-card, .wizard-add-vehicle-card, .shop-signup-business-choice-button):is(.selected, .is-active, .active, [aria-pressed="true"], [aria-checked="true"]) {
  background: var(--rlu-blue-soft) !important; border-color: var(--rlu-blue-ink) !important;
}
/* Option chips (a service or certification to add): the tab look. */
html:not(#rlu-a):not(#rlu-b) body :is(.owner-service-detail, .capability-option-grid > button) {
  min-height: var(--rlu-tab-height) !important; height: auto !important; padding: 0 16px !important; border-radius: var(--rlu-radius-pill) !important;
  font: var(--rlu-control-font) !important; background: var(--rlu-surface-soft) !important; color: var(--rlu-ink) !important; border: 1px solid var(--rlu-line) !important; box-shadow: none !important;
}
html:not(#rlu-a):not(#rlu-b) body :is(.owner-service-detail, .capability-option-grid > button):is(.selected, .is-active, .active, [aria-pressed="true"]) {
  background: var(--rlu-blue) !important; border-color: var(--rlu-blue) !important;
}
@media (max-width: 600px) { html:not(#rlu-a):not(#rlu-b) body .vehicle-photo-action { min-height: 32px !important; padding: 0 12px !important; font-size: 12px !important; } }
/* Status pills take the badge type wherever they are. */
html:not(#rlu-a):not(#rlu-b) body :is(.owner-request-status, .facility-status, .support-status, .approved-work-status) { font-size: var(--rlu-eyebrow-size) !important; font-weight: 700 !important; letter-spacing: .06em !important; }
/* Short labels stay on one line where space is tight (panel headings, the AI helper). */
html:not(#rlu-a):not(#rlu-b) body :is(.panel-head > .btn, #ownerRequestAiButton) { white-space: nowrap !important; flex: 0 0 auto !important; }
/* Small print inside an option card stays readable on the chosen card's soft blue (5.2:1). */
html:not(#rlu-a):not(#rlu-b) body :is(.yes-no-cards > button, .owner-service-category, .complete-repair-shop, .wizard-vehicle-card, .wizard-add-vehicle-card, .shop-signup-business-choice-button) :is(small, span:not([class*="status"]):not([class*="avatar"]):not([class*="icon"]):not([class*="check"])) { color: var(--rlu-muted) !important; }
html:not(#rlu-a):not(#rlu-b) body :is(.yes-no-cards > button, .owner-service-category, .complete-repair-shop, .wizard-vehicle-card, .wizard-add-vehicle-card, .shop-signup-business-choice-button) :is(strong, b) { color: var(--rlu-ink) !important; }
@media (max-width: 600px) {
  /* Cookie choices: one full-width button per line on phones (all three stay the same look). */
  html:not(#rlu-a):not(#rlu-b) body :has(> .rlu-consent-btn) { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; }
  html:not(#rlu-a):not(#rlu-b) body .rlu-consent-btn { width: 100% !important; white-space: nowrap !important; }
}

/* ---------- 15. Tap size: every link and text button is at least 32px tall (44px when it stands alone) ---------- */
html:not(#rlu-a):not(#rlu-b) body :is(.rlu-legal-footer :is(a, button), .account-legal-links button, .repairlinkup-footer-column :is(a, button), .repairlinkup-footer-bottom :is(a, button)) { min-height: 32px !important; }
html:not(#rlu-a):not(#rlu-b) body :is(.rlu-legal-footer a, .repairlinkup-footer-bottom a):not([hidden]) { display: inline-flex; align-items: center; }
html:not(#rlu-a):not(#rlu-b) body .password-visibility-button { min-height: 40px !important; padding: 0 8px !important; }
/* ---------- 16. Buttons without their own text colour (list rows, cards) use the page ink, not the browser's black ---------- */
:where(button) { color: inherit; }

/* ---------- 17. Button labels stay on one line (the owner's "every button the same"); tight rows give them room ---------- */
html:not(#rlu-a):not(#rlu-b) body :is(.btn, label.btn, .facility-profile-button, .facility-message-button, .facility-select-repair-button, .facility-favorite-button, .garage-view-button, .garage-request-button,
  .owner-request-back-bottom, .owner-request-complete-action, .owner-request-actions-panel > button, .shop-action-primary, .shop-action-secondary, .shop-action-pass,
  .opportunity-owner-message, .opportunity-export-job, .vehicle-details-back, .vin-decode-button, .verified-shop-info-toggle, .panel-head > button:not([class]), .rlu-consent-btn) { white-space: nowrap !important; }
html:not(#rlu-a):not(#rlu-b) body .owner-facility-actions > button { padding: 0 16px !important; }
/* Cookie choices: one full-width button per line at every size (equal weight for every choice). */
html:not(#rlu-a):not(#rlu-b) body :has(> .rlu-consent-btn) { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-consent-btn { width: 100% !important; }
/* A button laid over a small photo may use two short lines; it then takes the inner corner instead of the pill. */
@media (max-width: 1000px) {
  html:not(#rlu-a):not(#rlu-b) body :is(.vehicle-photo-action, .photo-edit-button) { white-space: normal !important; border-radius: var(--rlu-radius-inner) !important; line-height: 1.15 !important; padding: 4px 8px !important; font-size: 11px !important; min-height: 28px !important; }
}
/* The public footer runs edge to edge: aligned to the screen's left edge (it was centred on the page area,
   which is narrower than the screen, so 7px hung off the left and a 7px strip showed on the right). */
html:not(#rlu-a):not(#rlu-b) body:not(.rmcw-account-app-active) .repairlinkup-footer { margin-left: 0 !important; margin-right: 0 !important; width: 100vw !important; }

/* Send fits its word: an older phone rule fixed it at 58px, too narrow for the standard padding. */
html:not(#rlu-a):not(#rlu-b) body .composer-send { width: auto !important; min-width: 76px !important; padding: 0 16px !important; }
html:not(#rlu-a):not(#rlu-b) body .composer-input-row { grid-template-columns: minmax(0, 1fr) auto !important; }

/* ---------- 18. Device matrix fixes (2018+ phones and tablets) ---------- */
/* Very narrow screens (the first Galaxy Fold's 280px cover screen): a long label may wrap rather than widen the page. */
@media (max-width: 340px) {
  html:not(#rlu-a):not(#rlu-b) body :is(.btn, label.btn, button) { white-space: normal !important; }
  /* The facility sign-up's long "Suggest services (uses AI)" label takes two lines rather than running past its box. */
  html:not(#rlu-a):not(#rlu-b) body .shop-signup-ai-button:not(#rlu-c) { white-space: normal !important; max-width: 100% !important; }
  html:not(#rlu-a):not(#rlu-b) body .auth-form { grid-template-columns: minmax(0, 1fr) !important; }
}
/* Messages: the Back button keeps its arrow and word together (large tablets turned sideways). */
html:not(#rlu-a):not(#rlu-b) body .mobile-chat-back { white-space: nowrap !important; }
/* Long certification and service names in the option grid may take two lines, so those chips use the inner corner. */
html:not(#rlu-a):not(#rlu-b) body .capability-option-grid > button { white-space: normal !important; border-radius: var(--rlu-radius-inner) !important; text-align: left !important; line-height: 1.3 !important; padding: 8px 14px !important; }/* The phone header's logo link keeps a 24px-tall tap area on the narrowest screens. */
html:not(#rlu-a):not(#rlu-b) body .repairlinkup-mobile-brand { min-height: 24px !important; }
/* Back in a conversation: arrow and word side by side (the button is a grid; it now flows in a row). */
html:not(#rlu-a):not(#rlu-b) body .mobile-chat-back { grid-auto-flow: column !important; column-gap: 5px !important; }
/* Dialogs sit above the phone/tablet menu bar (layer 500, and 10040 in the tablet layout that phones turned
   sideways use) on every screen. The cookie window (700000) and pop-up messages (600000) stay above dialogs. */
html:not(#rlu-a):not(#rlu-b) body .modal-bg { z-index: 10050 !important; }
/* Phones turned sideways (short screens): the conversation's buttons scroll in one row instead of being cut. */
@media (max-height: 500px) {
  html:not(#rlu-a):not(#rlu-b) body .premium-chat-head { height: auto !important; max-height: none !important; }
  html:not(#rlu-a):not(#rlu-b) body .premium-chat-head > .chat-head-actions { flex-wrap: nowrap !important; overflow-x: auto !important; scrollbar-width: none; }
  html:not(#rlu-a):not(#rlu-b) body .premium-chat-head > .chat-head-actions > button { flex: 0 0 auto !important; min-height: 40px !important; }
}/* Phones turned sideways (short screens), keyboard closed: an open conversation fits the screen and only the messages
   scroll (FLOAT-01). The page-scroll layout before this opened a conversation with its head (Back, View Shop, View
   Request) above the screen and the message box and Send below it, and a swipe on the messages never moved the page.
   Never while typing: the typing layout (styles-v794.css, rm-message-keyboard-open) keeps the box and Send above the
   keyboard.
   - The signed-in header gives its row to the conversation, whose head has Back (it returns with the list, upright and
     while typing; the typing layout has its own rules). The notice band keeps its own room above (--rlu-notice-push).
   - The head is one row: the name keeps its room (its label shortens first), Report, Block and Hide are under More
     (a second row, as on upright phones), and the head's side padding is not added to the body's (iPhone insets).
   - The facts row, the status line, the retention note and the privacy line give their room to the messages (View
     Request has the facts). The composer keeps its buttons beside the box while the box keeps 156 px, else they take
     their own row; a waiting photo is a one-line chip with its thumbnail; Send stays above the iPhone home bar.
   - Head and composer always keep their full height. On the shortest screens, when More, a waiting photo and a
     failed send are all open together and do not fit, the column scrolls instead of cutting Send off. */
@media (max-height: 500px) and (max-width: 1180px) {
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body.rmcw-messages-active:has(.messages-page.mobile-thread-open) .sidebar { display: none !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body.rmcw-messages-active:has(.messages-page.mobile-thread-open) .app-main { height: calc(var(--rm-viewport-height, 100dvh) - var(--rlu-notice-push, 0px)) !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat { grid-template-rows: max-content minmax(0, 1fr) max-content !important; overflow-x: hidden !important; overflow-y: auto !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat > :is(.chat-repair-summary, .chat-status-strip) { display: none !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat-head { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: flex-end !important; column-gap: 8px !important; row-gap: 6px !important; height: auto !important; padding: max(6px, var(--rm-safe-top, 0px)) 10px 6px !important; overflow: visible !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat-head > .chat-shop-title { flex: 1 1 0 !important; min-width: min(112px, 100%) !important; }
  /* The label next to the name shows whole or not at all (final review r1, OR-3: it was cut to a lone "A"): the row wraps,
     only its first line shows, and a label that does not fit goes to the hidden second line. The name shortens first
     (final review r2, R2-OR-2: it kept its whole width and pushed the label off for any long shop name): it counts as
     64 px when the row is laid out, then grows up to its own width. */
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat-head > .chat-shop-title > div { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 0 6px !important; min-width: 0 !important; height: 24px !important; overflow: hidden !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat-head > .chat-shop-title > div > strong { flex: 1 1 64px !important; min-width: 0 !important; max-width: max-content !important; line-height: 24px !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat-head > .chat-shop-title > div > :not(strong) { flex: 0 0 auto !important; min-width: 0 !important; max-width: none !important; white-space: nowrap !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat-head > .chat-shop-title > p { display: block !important; margin: 2px 0 0 !important; font-size: 12px !important; line-height: 1.3 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat-head > .chat-head-actions { display: contents !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat-head > .chat-head-actions > button { flex: 0 0 auto !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat-head:not(.chat-more-open) > .chat-head-actions > :is(.chat-report-button, .chat-block-button, .chat-delete-button) { display: none !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat-head.chat-more-open .chat-more-caret { display: inline-block; transform: rotate(180deg); }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat-head.chat-more-open > .chat-head-actions > .chat-more-break { display: block !important; flex: 0 0 100% !important; height: 0 !important; order: 1 !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat-head.chat-more-open > .chat-head-actions > :is(.chat-report-button, .chat-block-button, .chat-delete-button) { order: 2 !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .message-retention-notice { display: none !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .chat-composer { display: flex !important; flex-wrap: wrap !important; align-items: flex-end !important; column-gap: 8px !important; row-gap: 6px !important; padding-top: 6px !important; padding-bottom: calc(6px + var(--rm-safe-bottom, 0px)) !important; overflow: visible !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .chat-composer > :is(#composerAttachmentSlot, .chat-send-problem, .support-send-problem) { flex: 0 0 100% !important; order: -1 !important; margin: 0 !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .chat-composer > #composerAttachmentSlot:empty { display: none !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .chat-composer > .composer-tools.single { flex: 0 0 auto !important; flex-wrap: nowrap !important; width: auto !important; max-width: 100% !important; margin: 0 !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .chat-composer > .composer-input-row { flex: 1 1 240px !important; min-width: 240px !important; width: auto !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .chat-composer > .composer-input-row > textarea { max-height: 48px !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .chat-composer > .composer-privacy { display: none !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open #composerAttachmentSlot .composer-attachment-preview { grid-template-columns: 32px minmax(0, 1fr) auto !important; column-gap: 8px !important; align-items: center !important; min-height: 0 !important; padding: 2px 2px 2px 4px !important; margin: 0 !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open #composerAttachmentSlot .composer-attachment-preview > :is(.composer-preview-media, .composer-preview-file) { display: grid !important; place-items: center !important; width: 32px !important; min-width: 32px !important; height: 32px !important; min-height: 32px !important; padding: 0 !important; overflow: hidden !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open #composerAttachmentSlot .composer-preview-media img { width: 32px !important; height: 32px !important; object-fit: cover !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open #composerAttachmentSlot .composer-preview-copy small { display: none !important; }
}
/* The narrowest of them (740 px wide or less): the head's buttons and picture take the upright phone sizes, so the
   name keeps its room. */
@media (max-height: 500px) and (max-width: 740px) {
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .premium-chat-head > .chat-head-actions > button { min-height: 36px !important; height: auto !important; padding: 0 10px !important; font-size: 13px !important; }
  html:not(#rlu-a):not(#rlu-b):not(.rm-message-keyboard-open) body .messages-page.mobile-thread-open .chat-shop-avatar { width: 40px !important; min-width: 40px !important; height: 40px !important; min-height: 40px !important; }
}
/* While typing, the conversation's action buttons (View Shop, View Request, More) leave the head, as the typing layout
   intends (styles-v794.css "Keyboard mode intentionally removes secondary controls"); section 13 above had put them
   back. They return when the keyboard closes. */
html.rm-message-keyboard-open:not(#rlu-a):not(#rlu-b) body.rmcw-messages-active.rm-message-keyboard-open .messages-page.mobile-thread-open .premium-chat-head > .chat-head-actions { display: none !important; }/* Short screens (phones turned sideways): Need Help moves to the end of the home page, as it already does on upright phones. */
@media (max-height: 500px) { html:not(#rlu-a):not(#rlu-b) body .rlu-home-page ~ .repairlinkup-help-fab { position: static !important; display: flex !important; width: max-content !important; margin: 16px auto 24px !important; } html:not(#rlu-a):not(#rlu-b) body .app > .page.rlu-home-page ~ .repairlinkup-footer::after { content: none !important; } }
/* Public pages scroll as one page (owner, 2026-10-13: "make the scrolling seamless"). <body> clips sideways
   overflow without becoming a scroll box of its own: with overflow-x: hidden the browser makes <body> scrollable,
   and anything sticking out below it (the footer once did, by 70px) catches the first swipe instead of the page.
   'clip' keeps the same sideways clipping; browsers without it keep the older 'hidden'. */
html:not(#rlu-a):not(#rlu-b) body:not(.rmcw-account-app-active):not(.rmcw-messages-active):not(.rmcw-modal-scroll-locked):not(.modal-open) { overflow-x: clip !important; }
/* Short screens (a phone on its side, a short window, or the app's screen above an open keyboard): the public header
   scrolls away with the page. Pinned, it took a fifth to a quarter of a sideways screen and hid the field being typed
   in (FLOAT-04). top: 0, so the notice band's offset (styles-v794.css, html.rlu-notice-open .topbar) never pushes it
   over the page below (the body already makes the band's room). Taller screens keep it pinned. */
@media (max-height: 500px) { html:not(#rlu-a):not(#rlu-b) body:not(.rmcw-account-app-active) .topbar { position: relative !important; top: 0 !important; } }
/* Upright phones and every larger screen: Need Help? stays in the screen's bottom-right corner on every public page,
   the home page included (owner, 2026-10-13); the footer keeps room under its last link so the button never covers it. */
/* The reset-password page's policy links (Cookie settings) get the same room at its end (FLOAT-05: the button lay over
   Cookie settings, 52-86 %, at the end of the page). */
html:not(#rlu-a):not(#rlu-b) body .rlu-reset ~ .rlu-legal-footer:has(~ .repairlinkup-help-fab)::after { content: ""; display: block; height: calc(68px + env(safe-area-inset-bottom)); }

/* ---------- 19. Compact phone cards (owner's request: "narrow, like my phone app on Android") ----------
   On phones every list card follows one pattern, as in the Android app: picture on the left (its photo button
   underneath it, never on top), name and details beside it, and the card's buttons in one row across the full
   card at the compact 40px height. Card titles are 20px. Facility cards show two services plus "+N more". */
@media (min-width: 600.02px) { html:not(#rlu-a):not(#rlu-b) body .rlu-chip-phone { display: none !important; } }
/* Repair Requests card: the selected shop and "N facilities interested" sit centred on one line, at every size. */
html:not(#rlu-a):not(#rlu-b) body .owner-request-row .owner-request-meta { align-items: center !important; }
/* The conversation's "More" button exists for phones only: upright, or on their side (FLOAT-01). */
@media (min-width: 600.02px) and (min-height: 500.02px), (min-width: 1180.02px) { html:not(#rlu-a):not(#rlu-b) body .chat-more-toggle { display: none !important; } }
html:not(#rlu-a):not(#rlu-b) body .chat-more-break { display: none !important; }
@media (max-width: 600px) {
  html:not(#rlu-a):not(#rlu-b) body .rlu-chip-wide { display: none !important; }
  /* Card titles */
  html:not(#rlu-a):not(#rlu-b) body :is(.garage-item, .owner-request-row, .owner-facility-row, .saved-facility-card) h2,
  html:not(#rlu-a):not(#rlu-b) body .facility-opportunity-row h3 { font-size: 20px !important; line-height: 1.2 !important; }
  /* Card buttons: 40px, in one row across the card */
  html:not(#rlu-a):not(#rlu-b) body :is(.garage-actions, .owner-request-actions, .saved-facility-actions, .owner-facility-actions, .facility-opportunity-actions, .approved-work-detail-actions) > :is(button, a),
  html:not(#rlu-a):not(#rlu-b) body .approved-work-integration-panel > .btn { min-height: 40px !important; font-size: 13px !important; padding: 0 12px !important; }
  html:not(#rlu-a):not(#rlu-b) body :is(.garage-actions, .owner-request-actions, .saved-facility-actions, .owner-facility-actions) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; width: auto !important; margin-top: 4px !important; }
  html:not(#rlu-a):not(#rlu-b) body :is(.garage-actions, .owner-request-actions, .saved-facility-actions, .owner-facility-actions) > :only-child,
  html:not(#rlu-a):not(#rlu-b) body :is(.owner-request-actions, .owner-facility-actions) > :nth-child(3):last-child { grid-column: 1 / -1 !important; }
  html:not(#rlu-a):not(#rlu-b) body :is(.owner-request-row, .owner-facility-row, .facility-opportunity-row) > :is(.owner-request-actions, .owner-facility-actions, .facility-opportunity-actions) { grid-column: 1 / -1 !important; }
  /* Repair Requests (owner, 2026-10-13: slim, like Saved Facilities): status and date, repair type, vehicle, then the
     selected shop and "N facilities interested" on one line, then the buttons. Description, Drivable and Insurance
     are in Manage Request. */
  html:not(#rlu-a):not(#rlu-b) body .owner-request-row { column-gap: 12px !important; row-gap: 8px !important; padding: 10px 12px !important; align-items: start !important; }
  html:not(#rlu-a):not(#rlu-b) body .owner-request-row > .owner-request-main { display: grid !important; gap: 2px !important; align-content: start !important; min-width: 0 !important; }
  html:not(#rlu-a):not(#rlu-b) body .owner-request-row > .owner-request-main > * { margin: 0 !important; }
  html:not(#rlu-a):not(#rlu-b) body .owner-request-row .owner-request-meta { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 0 10px !important; }
  html:not(#rlu-a):not(#rlu-b) body .owner-request-row .owner-request-meta > .request-interest-link { min-height: 32px !important; }
  html:not(#rlu-a):not(#rlu-b) body .owner-request-row > .owner-request-actions { margin: 0 !important; }

  /* My Garage vehicle card */
  html:not(#rlu-a):not(#rlu-b) body .garage-item { display: grid !important; grid-template-columns: 80px minmax(0, 1fr) !important; column-gap: 12px !important; row-gap: 6px !important; padding: 12px !important; align-items: start !important; }
  html:not(#rlu-a):not(#rlu-b) body .garage-item > .garage-card-content { display: contents !important; }
  html:not(#rlu-a):not(#rlu-b) body .garage-item > .garage-card-content > * { grid-column: 2 !important; margin: 0 !important; min-width: 0 !important; }
  html:not(#rlu-a):not(#rlu-b) body .garage-item > .garage-card-content > .garage-actions { grid-column: 1 / -1 !important; margin-top: 4px !important; }
  html:not(#rlu-a):not(#rlu-b) body .garage-item > .vehicle-photo-wrap { grid-column: 1 !important; grid-row: 1 / span 3 !important; }
  html:not(#rlu-a):not(#rlu-b) body .garage-item .garage-vin-panel > div { padding: 6px 10px !important; }
  html:not(#rlu-a):not(#rlu-b) body .garage-add-card { min-height: 0 !important; padding: 12px 16px !important; display: grid !important; grid-template-columns: 44px minmax(0, 1fr) !important; column-gap: 12px !important; align-items: center !important; justify-items: start !important; text-align: left !important; }
  html:not(#rlu-a):not(#rlu-b) body .garage-add-card > span { grid-row: 1 / span 2 !important; width: 44px !important; height: 44px !important; margin: 0 !important; }
  html:not(#rlu-a):not(#rlu-b) body .garage-add-card > :is(strong, small) { margin: 0 !important; }

  /* Interested Facilities: the full shop name shows (it was cut to "Valley Auto B…") */
  html:not(#rlu-a):not(#rlu-b) body .owner-facility-name-line h2 { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }

  /* Facility home: the four numbers in two rows of two; the newest request card's picture stays in its column */
  html:not(#rlu-a):not(#rlu-b) body .stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  html:not(#rlu-a):not(#rlu-b) body .stats > article { padding: 14px 16px !important; }
  html:not(#rlu-a):not(#rlu-b) body .stats > article > strong { font-size: 24px !important; }
  html:not(#rlu-a):not(#rlu-b) body .facility-opportunity-row.compact { grid-template-columns: 72px minmax(0, 1fr) !important; column-gap: 12px !important; align-items: start !important; padding: 12px !important; }
  html:not(#rlu-a):not(#rlu-b) body .facility-opportunity-row.compact :is(.facility-opportunity-photo, .facility-vehicle-thumb, .opportunity-vehicle-fallback) { width: 72px !important; height: 72px !important; min-height: 0 !important; grid-template-columns: minmax(0, 1fr) !important; align-self: start !important; }

  /* Approved Work job details: short facts two to a row; email and VIN keep a full row */
  html:not(#rlu-a):not(#rlu-b) body :is(.approved-work-contact-grid, .approved-work-vehicle-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  html:not(#rlu-a):not(#rlu-b) body .approved-work-contact-grid > article:has(a[href^="mailto:"]),
  html:not(#rlu-a):not(#rlu-b) body .approved-work-vehicle-grid > article:first-child,
  html:not(#rlu-a):not(#rlu-b) body :is(.approved-work-contact-grid, .approved-work-vehicle-grid) > article:last-child { grid-column: 1 / -1 !important; }

  /* Messages list (owner, 2026-10-13: slim, like the Android app): a 40px picture and three short lines (name and
     time; vehicle and request; last message with its status and unread count). The role label ("Approved facility",
     "Vehicle Owner") is left off the row: the conversation and the profile show it. */
  html:not(#rlu-a):not(#rlu-b) body .conversation-card { grid-template-columns: 40px minmax(0, 1fr) !important; padding: 8px 12px !important; gap: 10px !important; min-height: 0 !important; align-items: center !important; }
  html:not(#rlu-a):not(#rlu-b) body .conversation-card .conversation-avatar { width: 40px !important; height: 40px !important; flex: 0 0 40px !important; }
  html:not(#rlu-a):not(#rlu-b) body .conversation-card .conversation-card-main { display: grid !important; align-content: start !important; grid-template-columns: minmax(0, 1fr) auto !important; column-gap: 8px !important; row-gap: 0 !important; align-items: center !important; line-height: 1.35 !important; }
  html:not(#rlu-a):not(#rlu-b) body .conversation-card .conversation-card-bottom > span:empty { display: none !important; }
  html:not(#rlu-a):not(#rlu-b) body .conversation-card .conversation-card-main > :is(.conversation-card-top, small) { grid-column: 1 / -1 !important; margin: 0 !important; }
  html:not(#rlu-a):not(#rlu-b) body .conversation-card .conversation-card-main > small { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
  html:not(#rlu-a):not(#rlu-b) body .conversation-card .conversation-card-main > p { grid-column: 1 !important; font-size: 14px !important; margin: 0 !important; color: var(--rlu-muted) !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
  html:not(#rlu-a):not(#rlu-b) body .conversation-card .conversation-card-main > .conversation-card-bottom { grid-column: 2 !important; margin: 0 !important; gap: 6px !important; align-items: center !important; justify-content: flex-end !important; }

  /* Saved Facilities (owner, 2026-10-13: slim, like the Android app): logo on the left, name and badges beside it,
     the address on one line, then the two buttons with the heart at the end. About and services are in View Profile. */
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card { grid-template-columns: 48px minmax(0, 1fr) 40px !important; column-gap: 10px !important; row-gap: 6px !important; padding: 10px 12px !important; align-items: start !important; }
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card > .saved-facility-main,
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card > .saved-facility-main > .saved-facility-title { display: contents !important; }
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card > .saved-facility-photo { grid-column: 1 !important; grid-row: 1 / span 2 !important; width: 48px !important; height: 48px !important; }
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card .saved-facility-title > div { grid-column: 2 / -1 !important; grid-row: 1 !important; display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 2px 6px !important; min-width: 0 !important; }
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card .saved-facility-title > div > h2 { flex: 0 0 100% !important; margin: 0 !important; font-size: 18px !important; line-height: 1.25 !important; }
  /* Both badges in one row on most phones: the card's 12px badge size. */
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card .saved-facility-title .verified-shop-info-toggle,
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card .saved-facility-title .founding-facility-badge { font-size: 12px !important; }
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card .saved-facility-title > div > .founding-facility-badge { padding: 2px 8px !important; }
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card > .saved-facility-main > .saved-facility-meta { grid-column: 2 / -1 !important; grid-row: 2 !important; margin: 0 !important; display: flex !important; flex-wrap: nowrap !important; gap: 8px !important; min-width: 0 !important; font-size: 13px !important; }
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card .saved-facility-meta > * { min-width: 0 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; line-height: 24px !important; }
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card .saved-facility-meta > a { display: block !important; min-height: 24px !important; }
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card .saved-facility-meta > span { flex: none !important; }
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card > .saved-facility-actions { grid-column: 1 / 3 !important; grid-row: 3 !important; margin: 0 !important; }
  html:not(#rlu-a):not(#rlu-b) body .saved-facility-card .saved-facility-title > .facility-favorite-button { grid-column: 3 !important; grid-row: 3 !important; width: 40px !important; height: 40px !important; min-height: 40px !important; padding: 0 !important; align-self: center !important; justify-self: end !important; }
  /* The "Approved facility" badge on phone cards uses the 13px card text. */
  html:not(#rlu-a):not(#rlu-b) body :is(.saved-facility-card, .owner-facility-row) .verified-shop-info-toggle { font-size: 13px !important; }
  /* Open conversation: one row of compact buttons with Report / Block / Hide under "More" (they open as a second
     row), the four facts in one row, a slimmer attachment button: the messages get the room, as in the Android app. */
  html:not(#rlu-a):not(#rlu-b) body .premium-chat-head > .chat-head-actions { flex-wrap: wrap !important; overflow: visible !important; gap: 6px !important; }
  html:not(#rlu-a):not(#rlu-b) body .premium-chat-head.chat-more-open .chat-more-caret { display: inline-block; transform: rotate(180deg); }
  html:not(#rlu-a):not(#rlu-b) body .premium-chat-head:not(.chat-more-open) > .chat-head-actions > :is(.chat-report-button, .chat-block-button, .chat-delete-button) { display: none !important; }
  html:not(#rlu-a):not(#rlu-b) body .premium-chat-head.chat-more-open > .chat-head-actions > .chat-more-break { display: block !important; flex: 0 0 100% !important; height: 0 !important; order: 1 !important; }
  html:not(#rlu-a):not(#rlu-b) body .premium-chat-head.chat-more-open > .chat-head-actions > :is(.chat-report-button, .chat-block-button, .chat-delete-button) { order: 2 !important; }
  html:not(#rlu-a):not(#rlu-b) body .chat-repair-summary > div > strong { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
  html:not(#rlu-a):not(#rlu-b) body .premium-chat-head > .chat-shop-title { flex: 1 1 0 !important; min-width: 0 !important; }
  /* My Garage tabs: each tab as wide as its words, so "Completed Repairs" keeps its count on 360px phones. */
  html:not(#rlu-a):not(#rlu-b) body .owner-garage-tabs { display: flex !important; gap: 6px !important; }
  html:not(#rlu-a):not(#rlu-b) body .owner-garage-tabs > button { flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; padding: 0 12px !important; }
  html:not(#rlu-a):not(#rlu-b) body .premium-chat-head > .chat-head-actions > button { flex: 0 0 auto !important; min-height: 36px !important; padding: 0 10px !important; font-size: 13px !important; }
  html:not(#rlu-a):not(#rlu-b) body .chat-repair-summary { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  html:not(#rlu-a):not(#rlu-b) body .chat-repair-summary > div { padding: 6px 8px !important; }
  html:not(#rlu-a):not(#rlu-b) body .composer-attachment-button { min-height: 36px !important; padding: 0 14px !important; font-size: 13px !important; }
}
/* The unread count in the messages list: a round badge at every size */
html:not(#rlu-a):not(#rlu-b) body .conversation-card-bottom > b { display: grid !important; place-items: center !important; flex: 0 0 auto !important; min-width: 22px !important; height: 22px !important; padding: 0 6px !important; border-radius: var(--rlu-radius-pill) !important; font-size: 12px !important; line-height: 1 !important; box-sizing: border-box !important; }
/* Small vehicle photos (phones and tablets up to 820px, where the garage card switches to its small-photo layout):
   the photo button sits under the picture, never on top of it. */
@media (max-width: 820px) {
  html:not(#rlu-a):not(#rlu-b) body .garage-item { grid-template-columns: 80px minmax(0, 1fr) !important; column-gap: 12px !important; }
  html:not(#rlu-a):not(#rlu-b) body .garage-item > .vehicle-photo-wrap { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 2px !important; width: 80px !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; background: none !important; }
  html:not(#rlu-a):not(#rlu-b) body .garage-item > .vehicle-photo-wrap > :is(.vehicle-photo, .vehicle-art) { flex: 0 0 auto !important; width: 80px !important; height: 80px !important; min-height: 0 !important; max-height: none !important; object-fit: cover !important; border-radius: var(--rlu-radius-inner) !important; }
  html:not(#rlu-a):not(#rlu-b) body .garage-item .photo-edit-button,
  html:not(#rlu-a):not(#rlu-b) body .garage-item .photo-edit-button:is(:hover, :focus-visible, :active) { position: static !important; inset: auto !important; transform: none !important; width: auto !important; min-height: 32px !important; padding: 0 4px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 6px !important; color: var(--rlu-blue-ink) !important; font-size: 12px !important; line-height: 1.2 !important; white-space: nowrap !important; text-decoration: underline !important; text-underline-offset: 3px !important; }
}
/* The app on an upright tablet or a phone on its side (601-820 px, html.rm-native-wrapper): My Garage's vehicle card
   puts its small photo beside the words, as the website does at these sizes. The app kept the wide card's column
   layout there: an 80x220-250 photo column above the words, with empty space beside it (P18 800x1280). Light and
   dark alike (layout only). Phones up to 600 px keep the grid above; wider screens keep the big photo on top. */
@media (min-width: 600.02px) and (max-width: 820px) {
  html.rm-native-wrapper:not(#rlu-a):not(#rlu-b) body .garage-item { display: grid !important; grid-template-columns: 80px minmax(0, 1fr) !important; column-gap: 12px !important; row-gap: 0 !important; align-items: start !important; min-height: 0 !important; padding: 12px !important; }
  html.rm-native-wrapper:not(#rlu-a):not(#rlu-b) body .garage-item > .vehicle-photo-wrap { grid-column: 1 !important; grid-row: 1 !important; align-self: start !important; }
  /* The words start level with the photo (the card's padding is the inset, as on phones). */
  html.rm-native-wrapper:not(#rlu-a):not(#rlu-b) body .garage-item > .garage-card-content { grid-column: 2 !important; grid-row: 1 !important; display: block !important; min-width: 0 !important; padding: 0 !important; }
  /* "Add another vehicle" as on the website at these sizes (it stayed a 520 px tall empty box under the cards). */
  html.rm-native-wrapper:not(#rlu-a):not(#rlu-b) body .garage-add-card { min-height: 156px !important; padding: 20px 14px !important; }
}
/* The note under the message box shows in full (an older 22px limit cut its second line on phones). */
html:not(#rlu-a):not(#rlu-b) body .composer-privacy { max-height: none !important; overflow: visible !important; }

/* ---------- 20. Owner rules from the Wave 2 preview (2026-10-30) ----------
   .rlu-act (section 4): an action written as a plain button in a list of buttons (Choose Repair Facility, Edit Request,
   Open Messages ...) is light blue like every other action; Cancel, Back and Close stay white. */
/* Initials tiles (a facility without a photo, "MA"; a vehicle without one, "FO"): white letters on the dark blue tile.
   The letters were dark on dark blue in the Interested Facilities row. A photo still covers the tile. */
html:not(#rlu-a):not(#rlu-b) body :is(.owner-facility-photo, .facility-profile-avatar, .conversation-avatar, .chat-shop-avatar, .facility-vehicle-thumb) {
  background: #175b75 !important; color: #ffffff !important;
}
html:not(#rlu-a):not(#rlu-b) body :is(.owner-facility-photo, .facility-profile-avatar, .conversation-avatar, .chat-shop-avatar, .facility-vehicle-thumb) :is(span, .opportunity-vehicle-fallback) {
  color: #ffffff !important;
}
/* A photo or logo on that tile gets a white backing (owner, 2026-10-30): a logo with a see-through background stays
   readable instead of showing the dark blue tile through it. dark-theme.css keeps it white in dark mode too. */
html:not(#rlu-a):not(#rlu-b) body :is(.owner-facility-photo, .facility-profile-avatar, .conversation-avatar, .chat-shop-avatar, .facility-vehicle-thumb) img {
  background: #ffffff !important;
}
/* The same backing on the two other facility photo tiles an owner sees, which turn dark in dark mode: the Saved
   Facilities card and the shop row in the "Mark completed" box. */
html:not(#rlu-a):not(#rlu-b) body :is(.saved-facility-photo, .complete-repair-shop-avatar) img {
  background: #ffffff !important;
}
/* The dashboard's opportunity row: the distance ("< 0.1 miles") sits under the picture, never on top of its letters. */
html:not(#rlu-a):not(#rlu-b) body .facility-opportunity-photo { display: flex !important; flex-direction: column !important; gap: 6px !important; height: auto !important; max-height: none !important; }
html:not(#rlu-a):not(#rlu-b) body .facility-opportunity-photo > .facility-vehicle-thumb { flex: 0 0 auto !important; }
html:not(#rlu-a):not(#rlu-b) body .facility-opportunity-photo > span {
  position: static !important; inset: auto !important; align-self: flex-start !important; max-width: 100%; white-space: nowrap;
  padding: 3px 8px !important; border-radius: var(--rlu-radius-pill) !important; background: var(--rlu-blue-soft) !important; color: var(--rlu-blue-ink) !important;
  font-size: 11px !important; font-weight: 700 !important; line-height: 1.3 !important;
}
html:not(#rlu-a):not(#rlu-b) body .facility-opportunity-photo > span:empty { display: none !important; }
/* The facility profile: "Copy Number" on its own line under the number (it read "555-0111Copy Number"); three boxes
   when there is no fourth (the "Typical response" box is gone: no real value exists for it). */
html:not(#rlu-a):not(#rlu-b) body .facility-profile-details article > button:not([class]) { display: block !important; }
@media (min-width: 901px) {
  html:not(#rlu-a):not(#rlu-b) body .facility-profile-details.rlu-three { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* ---------- Appearance: Automatic / Light / Dark (owner, 2026-10-13) ----------
   Signed in: the Appearance card on Profile (full size). Visitors: a small one in the footer, under the
   brand line (owner: small, and not in the account menu). app-v794.js repairLinkUpThemeChoiceHtml. Real
   radio buttons in a pill, like the other tabs: the chosen one is light blue. The dark look itself:
   tools/dark-mode.mjs, assets/dark-theme.css and docs/style-guide.md "Dark mode". */
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice { display: grid !important; gap: 6px !important; margin: 16px 0 0 !important; padding: 0 !important; border: 0 !important; min-width: 0 !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice > legend { float: left !important; width: 100% !important; margin: 0 0 6px !important; padding: 0 !important; font-size: var(--rlu-eyebrow-size) !important; line-height: 1.4 !important; font-weight: 700 !important; letter-spacing: var(--rlu-eyebrow-tracking) !important; text-transform: uppercase !important; color: var(--rlu-muted) !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice > div { display: grid !important; width: fit-content !important; grid-template-columns: repeat(3, auto) !important; gap: 2px !important; justify-self: start !important; max-width: 100% !important; padding: 3px !important; border: 1px solid var(--rlu-line) !important; border-radius: var(--rlu-radius-pill) !important; background: var(--rlu-surface-soft) !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice label { position: relative !important; display: block !important; margin: 0 !important; cursor: pointer !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice input { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; opacity: 0 !important; cursor: pointer !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice span { display: flex !important; align-items: center !important; justify-content: center !important; min-height: 36px !important; padding: 0 14px !important; border-radius: var(--rlu-radius-pill) !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--rlu-muted) !important; white-space: nowrap !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice input:checked + span { background: var(--rlu-blue) !important; color: var(--rlu-ink) !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice label:hover input:not(:checked) + span { color: var(--rlu-ink) !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice input:focus-visible + span { outline: 3px solid var(--rlu-blue-ink) !important; outline-offset: 2px !important; }
/* Windows High Contrast replaces fills: the chosen one keeps an outline there. */
@media (forced-colors: active) {
  html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice input:checked + span { outline: 2px solid Highlight !important; outline-offset: -2px !important; }
}
/* Footer (visitors): small, on one line with its label ("Appearance" in plain small text). 28px choices. */
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice.rlu-theme-choice--compact { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 6px 10px !important; margin: 14px 0 0 !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice.rlu-theme-choice--compact > legend { width: auto !important; margin: 0 !important; font-size: var(--rlu-small-size) !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice.rlu-theme-choice--compact > div { padding: 2px !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice.rlu-theme-choice--compact span { min-height: 28px !important; padding: 0 10px !important; font-size: 12px !important; }
/* Profile card: the card's own title names it, so the group's name is for screen readers only. */
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice.rlu-theme-choice--card { margin: 14px 0 0 !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-theme-choice.rlu-theme-choice--card > legend { position: absolute !important; float: none !important; width: 1px !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
/* ---------- Security check: Cloudflare Turnstile (owner, 2026-10-20) ----------
   On the website's Log In, Sign Up and Forgot Password forms only (assets/turnstile-auth.js puts the slot
   there; never in the store apps). Hidden until the server says Turnstile is set up (html.rlu-turnstile-on),
   then its 65px (the height of Cloudflare's frame) are kept from the start, so nothing below jumps when the
   widget arrives (only the compact widget, for forms narrower than 300px, is taller). The widget is
   Cloudflare's own frame (its own colours, its own tick); the note under it is ours. */
html:not(#rlu-a):not(#rlu-b) body .rlu-turnstile { display: none !important; }
html.rlu-turnstile-on:not(#rlu-a):not(#rlu-b) body .rlu-turnstile { display: grid !important; gap: 6px !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 4px 0 12px !important; padding: 0 !important; }
/* line-height 0: Cloudflare's frame sits on a text line otherwise, which adds a few pixels under it once it arrives. */
html.rlu-turnstile-on:not(#rlu-a):not(#rlu-b) body .rlu-turnstile-widget { display: block !important; width: 100% !important; max-width: 100% !important; min-height: 65px !important; overflow: hidden !important; line-height: 0 !important; font-size: 0 !important; border-radius: var(--rlu-radius-field) !important; }
html.rlu-turnstile-on:not(#rlu-a):not(#rlu-b) body .rlu-turnstile-widget[data-size="compact"] { min-height: 140px !important; }
html.rlu-turnstile-on:not(#rlu-a):not(#rlu-b) body .rlu-turnstile-widget[data-state="unavailable"] { display: none !important; }
html.rlu-turnstile-on:not(#rlu-a):not(#rlu-b) body .rlu-turnstile-widget > * { display: block !important; max-width: 100% !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-turnstile-note { margin: 0 !important; color: var(--rlu-muted) !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.5 !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-turnstile-note[data-tone="problem"] { color: var(--rlu-danger) !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-turnstile-note[hidden] { display: none !important; }
/* ---------- Report and Block (App Store guideline 1.2; db/migrations/0022_report_block.sql) ----------
   Owner rules: no green; actions light blue, Block red, Cancel white (section 4's .btn kinds); no dark panel;
   nothing under 11px; phones first (the dialog fits a 320px screen, buttons stack). */
html:not(#rlu-a):not(#rlu-b) body .rlu-safety-modal { max-width: 520px !important; max-height: calc(100dvh - 32px) !important; overflow-y: auto !important; background: var(--rlu-surface) !important; color: var(--rlu-ink) !important; border-radius: var(--rlu-radius-card) !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-safety-modal .modal-body > p { margin: 0 0 12px !important; font-size: var(--rlu-body-size) !important; line-height: var(--rlu-body-leading) !important; color: var(--rlu-ink) !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-safety-modal .modal-body > p.rlu-safety-hint { font-size: var(--rlu-small-size) !important; color: var(--rlu-muted) !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-safety-actions { display: flex !important; flex-wrap: wrap !important; justify-content: flex-end !important; gap: 10px !important; margin-top: 16px !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-safety-actions > .btn { flex: 0 1 auto !important; }
html:not(#rlu-a):not(#rlu-b) body .report-reasons { display: grid !important; gap: 8px !important; margin: 4px 0 14px !important; padding: 0 !important; border: 0 !important; }
html:not(#rlu-a):not(#rlu-b) body .report-reasons > legend { margin: 0 0 6px !important; padding: 0 !important; font-size: var(--rlu-h4-size) !important; font-weight: var(--rlu-heading-weight) !important; color: var(--rlu-ink) !important; }
html:not(#rlu-a):not(#rlu-b) body .report-reason { display: flex !important; align-items: center !important; gap: 10px !important; min-height: 44px !important; padding: 0 14px !important; border: 1px solid var(--rlu-line) !important; border-radius: var(--rlu-radius-field) !important; background: var(--rlu-surface) !important; cursor: pointer !important; font-size: var(--rlu-body-size) !important; color: var(--rlu-ink) !important; }
html:not(#rlu-a):not(#rlu-b) body .report-reason:has(input:checked) { border-color: var(--rlu-blue-ink) !important; background: var(--rlu-blue-soft) !important; }
html:not(#rlu-a):not(#rlu-b) body .report-reason input { width: 18px !important; height: 18px !important; margin: 0 !important; accent-color: var(--rlu-blue-ink) !important; }
html:not(#rlu-a):not(#rlu-b) body .report-note { display: grid !important; gap: 6px !important; margin: 0 !important; font-size: var(--rlu-small-size) !important; font-weight: 600 !important; color: var(--rlu-ink) !important; }
html:not(#rlu-a):not(#rlu-b) body .report-note textarea { width: 100% !important; min-height: 84px !important; padding: 10px 12px !important; border: 1px solid var(--rlu-field-line) !important; border-radius: var(--rlu-radius-field) !important; background: var(--rlu-surface) !important; color: var(--rlu-ink) !important; font: inherit !important; font-size: 16px !important; font-weight: 400 !important; resize: vertical !important; }
html:not(#rlu-a):not(#rlu-b) body .report-error { margin: 10px 0 0 !important; font-size: var(--rlu-small-size) !important; font-weight: 600 !important; color: var(--rlu-danger) !important; }
html:not(#rlu-a):not(#rlu-b) body .report-error[hidden] { display: none !important; }
html:not(#rlu-a):not(#rlu-b) body .report-message-quote { margin: 0 0 14px !important; padding: 10px 14px !important; border-left: 3px solid var(--rlu-line) !important; border-radius: 0 var(--rlu-radius-field) var(--rlu-radius-field) 0 !important; background: var(--rlu-surface-soft) !important; }
html:not(#rlu-a):not(#rlu-b) body .report-message-quote small { display: block !important; font-size: 12px !important; color: var(--rlu-muted) !important; }
html:not(#rlu-a):not(#rlu-b) body .report-message-quote p { margin: 4px 0 0 !important; font-size: var(--rlu-body-size) !important; color: var(--rlu-ink) !important; overflow-wrap: anywhere !important; white-space: pre-wrap !important; max-height: 8.5em !important; overflow: hidden !important; }
/* The dialog head: the small label on its own line above the title. */
html:not(#rlu-a):not(#rlu-b) body .rlu-safety-modal .modal-head > div > small,
html:not(#rlu-a):not(#rlu-b) body .rlu-safety-modal .modal-head > div > strong { display: block !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-safety-modal .modal-head > div > small { margin: 0 0 4px !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-safety-modal .modal-head > div > strong { font-size: var(--rlu-h3-size) !important; line-height: 1.3 !important; overflow-wrap: anywhere !important; }/* "Report" under a message from the other person: small, but never under 12px, and a 32px tap target. */
html:not(#rlu-a):not(#rlu-b) body .message-meta .message-report-link { min-height: 32px !important; margin: 0 0 0 8px !important; padding: 0 6px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 12px !important; font-weight: 600 !important; color: var(--rlu-danger) !important; cursor: pointer !important; text-decoration: underline !important; text-underline-offset: 2px !important; }
/* The blocked bar replaces the composer: light, never dark. */
html:not(#rlu-a):not(#rlu-b) body .blocked-conversation-composer { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: space-between !important; gap: 10px 16px !important; border-top: 1px solid var(--rlu-line) !important; background: var(--rlu-surface-soft) !important; color: var(--rlu-ink) !important; }
html:not(#rlu-a):not(#rlu-b) body .blocked-conversation-composer strong { font-size: var(--rlu-h4-size) !important; color: var(--rlu-ink) !important; }
html:not(#rlu-a):not(#rlu-b) body .blocked-conversation-composer p { margin: 2px 0 0 !important; font-size: var(--rlu-small-size) !important; color: var(--rlu-muted) !important; }
/* Unblock is an action, so it is light blue, also in the chat header. */
html:not(#rlu-a):not(#rlu-b) body .chat-head-actions > .chat-block-button.unblock { background-color: var(--rlu-blue) !important; border-color: var(--rlu-blue) !important; color: var(--rlu-ink) !important; }
/* Profile > Blocked people */
html:not(#rlu-a):not(#rlu-b) body .blocked-people-list { display: grid !important; gap: 8px !important; margin: 12px 0 0 !important; padding: 0 !important; list-style: none !important; }
html:not(#rlu-a):not(#rlu-b) body .blocked-people-list > li { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: space-between !important; gap: 8px 12px !important; padding: 10px 12px !important; border: 1px solid var(--rlu-line) !important; border-radius: var(--rlu-radius-inner) !important; background: var(--rlu-surface) !important; }
html:not(#rlu-a):not(#rlu-b) body .blocked-people-list > li > span { display: grid !important; gap: 2px !important; min-width: 0 !important; }
html:not(#rlu-a):not(#rlu-b) body .blocked-people-list strong { font-size: var(--rlu-body-size) !important; color: var(--rlu-ink) !important; overflow-wrap: anywhere !important; }
html:not(#rlu-a):not(#rlu-b) body .blocked-people-list small { font-size: 12px !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--rlu-muted) !important; }
html:not(#rlu-a):not(#rlu-b) body .account-blocked-card .blocked-people-note { margin: 12px 0 0 !important; font-size: var(--rlu-small-size) !important; color: var(--rlu-muted) !important; }
@media (max-width: 480px) {
  html:not(#rlu-a):not(#rlu-b) body .rlu-safety-actions { flex-direction: column-reverse !important; align-items: stretch !important; }
  html:not(#rlu-a):not(#rlu-b) body .rlu-safety-actions > .btn { width: 100% !important; }
  html:not(#rlu-a):not(#rlu-b) body .blocked-people-list > li > .btn { width: 100% !important; }
}
/* Live forms (owner rule 2026-11-07): the plain line under a field that says why a key was left out, or what is still
   wrong after leaving it (rluInputNote in app-v794.js), in the danger colour at the small size; and the note under a
   First name / Last name pair (the sign-up), across both columns. */
html:not(#rlu-a):not(#rlu-b) body .rlu-input-note { display: block !important; margin: 6px 0 0 !important; padding: 0 !important; font-size: var(--rlu-small-size) !important; font-weight: 700 !important; line-height: 1.4 !important; letter-spacing: 0 !important; text-transform: none !important; white-space: normal !important; color: var(--rlu-danger) !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-input-note[hidden] { display: none !important; }
html:not(#rlu-a):not(#rlu-b) body .rlu-name-pair-note { grid-column: 1 / -1 !important; display: block !important; margin: -8px 0 0 !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1.5 !important; color: var(--rlu-muted) !important; }
/* Two-column forms (Profile > Edit, the vehicle dialogs, Business Profile, the verification details, Contact Support,
   the reminders, the admin's email settings): the fields of a row start at the same height. First Name and Last Name
   line up although only one has a note under it, and a line that appears under one field never moves its neighbour;
   a cell's extra height stays under its own content. */
html:not(#rlu-a):not(#rlu-b) body .owner-profile-page .form-grid > .field,
html:not(#rlu-a):not(#rlu-b) body .modal .form-grid > .field,
html:not(#rlu-a):not(#rlu-b) body .shop-profile-form-grid > .field,
html:not(#rlu-a):not(#rlu-b) body .shop-correction-form-grid > .field,
html:not(#rlu-a):not(#rlu-b) body .admin-email-setup-grid > .field,
html:not(#rlu-a):not(#rlu-b) body .public-support-form > label,
html:not(#rlu-a):not(#rlu-b) body .rlu-w2r-grid2 > .rlu-w2r-field { align-content: start !important; }