/* GENERATED from trunk/public/sass/app/techwall.scss. Do not edit this file:
   change the .scss, run `npm run css`, and commit both. The pipeline fails if they disagree. */
/* techWALL theme tokens: the only place a colour, font, radius or shadow value is written.
   Components and the Bootstrap bridge read these; a group or dealer sheet themes the app by overriding
   them with a plain `:root { --tw-...: value; }` and nothing else. The defaults sit in :where() (zero
   specificity) so that override wins although this sheet loads later.
   Rules: trunk/documentation/developer-how-to/css-standard.md */
:where(:root) {
  /* --- colours Bootstrap uses. Bootstrap needs them as "r, g, b" (it adds its own opacity), so the
     -rgb token is the one to set; the plain token follows it. --tw-on-* is the text on that colour.
     Defaults are Bootstrap 4's palette, which the app was built on. --- */
  --tw-primary-rgb: 0, 123, 255;
  --tw-primary: rgb(var(--tw-primary-rgb));
  --tw-on-primary: #fff;
  --tw-secondary-rgb: 108, 117, 125;
  --tw-secondary: rgb(var(--tw-secondary-rgb));
  --tw-on-secondary: #fff;
  --tw-success-rgb: 40, 167, 69;
  --tw-success: rgb(var(--tw-success-rgb));
  --tw-on-success: #fff;
  --tw-info-rgb: 23, 162, 184;
  --tw-info: rgb(var(--tw-info-rgb));
  --tw-on-info: #fff;
  --tw-warning-rgb: 255, 193, 7;
  --tw-warning: rgb(var(--tw-warning-rgb));
  --tw-on-warning: #212529;
  --tw-danger-rgb: 220, 53, 69;
  --tw-danger: rgb(var(--tw-danger-rgb));
  --tw-on-danger: #fff;
  --tw-light-rgb: 248, 249, 250;
  --tw-light: rgb(var(--tw-light-rgb));
  --tw-on-light: #212529;
  --tw-dark-rgb: 52, 58, 64;
  --tw-dark: rgb(var(--tw-dark-rgb));
  --tw-on-dark: #fff;
  /* links follow primary; set the hover colour too when primary changes (it cannot be derived as r, g, b) */
  --tw-link-rgb: var(--tw-primary-rgb);
  --tw-link-hover-rgb: 0, 98, 204;
  --tw-body-color-rgb: 33, 37, 41;
  --tw-body-bg-rgb: 255, 255, 255;
  --tw-border-color: #dee2e6;
  /* --- app palette (techWALL's own components) --- */
  --tw-brand: #004787;
  --tw-brand-dark: #003a6e;
  --tw-brand-tint: rgba(0, 71, 135, .08);
  --tw-ink: #141b20;
  --tw-ink-2: #2b3440;
  --tw-text: #374151;
  --tw-muted: #6b7280;
  --tw-faint: #8a94a6;
  --tw-line: #e5e7eb;
  --tw-line-2: #dfe3ea;
  --tw-line-soft: #f0f2f6;
  --tw-line-row: #f3f4f6;
  --tw-surface: #f7f9fc;
  --tw-hover: #f3f6fb;
  --tw-panel: #fff;
  --tw-text-2: #4b5563;
  --tw-subtle: #5b6472;
  --tw-faint-2: #9ca3af;
  --tw-sep: #c4c9d2;
  --tw-on-brand: #fff; /* text on the brand colour or an alert badge */
  --tw-alert: #dc2626; /* count badges */
  --tw-highlight: #fff3bf; /* matched text in search results */
  /* status tints (menu editor chips, notes, counts): text colour and its pale background */
  --tw-ok: #17603a;
  --tw-ok-bg: #e7f5ec;
  --tw-warn: #7a5200;
  --tw-warn-bg: #fff6dd;
  --tw-note-info: #0d4a8f;
  --tw-note-info-bg: #e8f0fb; /* not --tw-info, which is Bootstrap's info colour */
  --tw-alert-bg: #fdecec;
  --tw-alert-ink: #b42318; /* text on --tw-alert-bg; --tw-alert is too light there */
  --tw-scrim: rgba(20, 27, 32, .5); /* behind a dialog or a sheet */
  --tw-accent: #005fb8; /* links and focus on light surfaces */
  --tw-edge: rgba(16, 24, 40, .14); /* outline of a coloured flag or swatch */
  --tw-edge-strong: rgba(16, 24, 40, .2); /* outline of a small colour dot */
  --tw-chip-bg: #eef2f7; /* small tags */
  --tw-hours-card-line: #000419; /* border of the customer-facing hours cards */
  /* appointment time slots (css/groups/base.css; Zend pages use the same values as var() fallbacks) */
  --tw-slot-open-bg: #BBBBBB;
  --tw-slot-open-ink: black;
  --tw-slot-unavailable-bg: #004787;
  --tw-slot-unavailable-ink: white;
  --tw-slot-blocked-bg: #FF0000;
  /* the dealer base sheet's brand shades (css/groups/base.css); a dealer with another brand colour sets these
     too. Not derived from --tw-brand so each dealer keeps the exact shades it has today. */
  --tw-brand-hover: #003f78; /* primary button hover, disabled, open dropdown */
  --tw-brand-pressed: #003768; /* pressed "dim" buttons */
  --tw-brand-light: #004f96; /* landing links */
  --tw-brand-line: #00427d; /* active menu item border */
  --tw-brand-deep: #003a6e; /* landing navy links */
  --tw-brand-soft: rgba(0, 71, 135, 0.61); /* completed wizard steps */
  --tw-spinner: #004787; /* loading spinners */
  /* the dealer base sheet's text and background greys */
  --tw-page-ink: #676a6c; /* body text */
  --tw-page-muted: #f3f3f4; /* grey panels and tags */
  --tw-page-faint: #f8f8f9; /* image placeholders */
  --tw-partkit-header-bg: #ea3630; /* part kit header row on the multipoint criticals tab */
  --tw-status-default: var(--tw-faint-2);
  --tw-status-ink: #1f2937;
  /* tinted tiles: a soft background and the ink drawn on it */
  --tw-tone-info-bg: #eef3f9;
  --tw-tone-neutral-bg: #f1f3f5;
  --tw-tone-success-bg: #eef7f0;
  --tw-tone-success-ink: #15803d;
  --tw-tone-warning-bg: #fff4e5;
  --tw-tone-warning-ink: #b45309;
  /* --- type --- */
  --tw-text-xs: 12px;
  --tw-text-sm: 14px;
  --tw-font-mono: ui-monospace, Consolas, monospace;
  --tw-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* --- shape and depth --- */
  --tw-radius: 8px; /* techWALL panels, pills, menu items */
  --tw-radius-control: .375rem; /* Bootstrap buttons, inputs, cards */
  --tw-shadow: 0 10px 30px rgba(16, 24, 40, .12), 0 2px 6px rgba(16, 24, 40, .06); /* floating panels */
  --tw-shadow-xs: 0 1px 2px rgba(16, 24, 40, .04);
  --tw-radius-card: 16px; /* cards and dialogs on the newer pages */
  --tw-radius-pill: 999px;
  /* --- motion --- */
  --tw-ease: cubic-bezier(.2, .7, .2, 1);
  --tw-dur-fast: 120ms;
  --tw-dur: 200ms;
  /* --- page frame: the footer and page content stay inside it; the top bar and header run to the gutters --- */
  --tw-container: 1440px;
  --tw-container-narrow: 800px; /* forms and reading text */
  --tw-title-weight: 800; /* page title; a brand with a light title sets these two */
  --tw-title-tracking: -.02em;
  --tw-gutter: 32px; /* 24px below 1200px, 16px below 768px (end of this file) */
  --tw-frame-pad: max(var(--tw-gutter), calc((100% - var(--tw-container)) / 2 + var(--tw-gutter)));
  /* --- top bar above the header (address, phones, hours) --- */
  --tw-masthead-h: 30px;
  --tw-masthead-bg: var(--tw-brand);
  --tw-masthead-ink: #fff;
  --tw-masthead-muted: #fff; /* address and service phone; a brand with a secondary text colour sets it */
  --tw-masthead-font-size: 12px;
  --tw-masthead-hours: inline-flex; /* none hides today's hours */
  /* --- site header: surface, text, size and alignment, for brands with their own header rules --- */
  --tw-header-h: 72px;
  --tw-header-bg: #fff;
  --tw-header-line: var(--tw-line);
  --tw-header-ink: var(--tw-ink);
  --tw-header-icon: var(--tw-muted);
  --tw-header-hover-ink: var(--tw-brand); /* also the line under the open and the current item */
  --tw-header-font-size: 15px;
  --tw-header-font-weight: 600;
  --tw-header-logo-h: 48px;
  --tw-header-logo-w: 220px;
  --tw-header-menu-start: 28px; /* auto pushes the menu to the right edge */
  --tw-header-tail-start: auto; /* margin before the sign-in, search and user pill */
  /* dropdown panels: they hang from the bar, so a dark header sets them dark */
  --tw-header-menu-bg: var(--tw-panel);
  --tw-header-menu-ink: var(--tw-ink);
  --tw-header-menu-hover: var(--tw-hover);
  --tw-header-menu-line: var(--tw-line);
  /* search field: a pill by default; a brand that wants a line on an underline sets these */
  --tw-header-search-w: 180px;
  --tw-header-search-h: 42px;
  --tw-header-search-pad: 0 14px;
  --tw-header-search-bg: var(--tw-surface);
  --tw-header-search-line: var(--tw-line);
  --tw-header-search-border: 1px;
  --tw-header-search-radius: 999px;
  --tw-header-search-font-size: 14px;
  --tw-header-m-h: 64px; /* mobile bar (< 992px) */
  --tw-header-m-bg: #fff;
  --tw-header-m-ink: var(--tw-ink-2);
  /* --- site footer --- */
  --tw-footer-bg: #0b2540;
  --tw-footer-ink: #fff;
  --tw-footer-muted: #b3c2d4; /* links, address, legal row */
  --tw-footer-line: rgba(255, 255, 255, .16);
  --tw-footer-align: center; /* logo and social links; flex-start puts them on the left */
  --tw-footer-logo-bg: #fff; /* chip behind the logo; transparent for a logo made for a dark background */
  --tw-footer-logo-pad: 6px 10px;
  --tw-footer-powered-filter: brightness(0) invert(1); /* "Powered By" mark in white; none on a light footer */
}

@media (max-width: 1199.98px) {
  :where(:root) {
    --tw-gutter: 24px;
  }
}
@media (max-width: 767.98px) {
  :where(:root) {
    --tw-gutter: 16px;
  }
}
/* Bootstrap 5 reads the theme tokens. Bootstrap compiles most colours into fixed values; this points its
   runtime variables, and the component variables built from a theme colour, at the --tw-* tokens, so a
   dealer sheet that sets `--tw-primary-rgb` recolours buttons, links, pagination and the rest.
   Only custom properties are set here: a group sheet that styles `.btn-primary` itself still wins, so the
   bridge changes nothing on screen until a sheet is reduced to tokens. The shades match Bootstrap's own
   (shade-color = mix with black, tint-color = mix with white), so the defaults compile to today's colours. */
:root {
  --bs-primary: var(--tw-primary);
  --bs-primary-rgb: var(--tw-primary-rgb);
  --bs-secondary: var(--tw-secondary);
  --bs-secondary-rgb: var(--tw-secondary-rgb);
  --bs-success: var(--tw-success);
  --bs-success-rgb: var(--tw-success-rgb);
  --bs-info: var(--tw-info);
  --bs-info-rgb: var(--tw-info-rgb);
  --bs-danger: var(--tw-danger);
  --bs-danger-rgb: var(--tw-danger-rgb);
  --bs-light: var(--tw-light);
  --bs-light-rgb: var(--tw-light-rgb);
  --bs-warning: var(--tw-warning);
  --bs-warning-rgb: var(--tw-warning-rgb);
  --bs-dark: var(--tw-dark);
  --bs-dark-rgb: var(--tw-dark-rgb);
  --bs-primary-text-emphasis: color-mix(in srgb, var(--tw-primary) 40%, black);
  --bs-primary-bg-subtle: color-mix(in srgb, var(--tw-primary) 20%, white);
  --bs-primary-border-subtle: color-mix(in srgb, var(--tw-primary) 40%, white);
  --bs-secondary-text-emphasis: color-mix(in srgb, var(--tw-secondary) 40%, black);
  --bs-secondary-bg-subtle: color-mix(in srgb, var(--tw-secondary) 20%, white);
  --bs-secondary-border-subtle: color-mix(in srgb, var(--tw-secondary) 40%, white);
  --bs-success-text-emphasis: color-mix(in srgb, var(--tw-success) 40%, black);
  --bs-success-bg-subtle: color-mix(in srgb, var(--tw-success) 20%, white);
  --bs-success-border-subtle: color-mix(in srgb, var(--tw-success) 40%, white);
  --bs-info-text-emphasis: color-mix(in srgb, var(--tw-info) 40%, black);
  --bs-info-bg-subtle: color-mix(in srgb, var(--tw-info) 20%, white);
  --bs-info-border-subtle: color-mix(in srgb, var(--tw-info) 40%, white);
  --bs-warning-text-emphasis: color-mix(in srgb, var(--tw-warning) 40%, black);
  --bs-warning-bg-subtle: color-mix(in srgb, var(--tw-warning) 20%, white);
  --bs-warning-border-subtle: color-mix(in srgb, var(--tw-warning) 40%, white);
  --bs-danger-text-emphasis: color-mix(in srgb, var(--tw-danger) 40%, black);
  --bs-danger-bg-subtle: color-mix(in srgb, var(--tw-danger) 20%, white);
  --bs-danger-border-subtle: color-mix(in srgb, var(--tw-danger) 40%, white);
  --bs-body-font-family: var(--tw-font-sans);
  --bs-body-color: rgb(var(--tw-body-color-rgb));
  --bs-body-color-rgb: var(--tw-body-color-rgb);
  --bs-body-bg: rgb(var(--tw-body-bg-rgb));
  --bs-body-bg-rgb: var(--tw-body-bg-rgb);
  --bs-link-color: rgb(var(--tw-link-rgb));
  --bs-link-color-rgb: var(--tw-link-rgb);
  --bs-link-hover-color: rgb(var(--tw-link-hover-rgb));
  --bs-link-hover-color-rgb: var(--tw-link-hover-rgb);
  --bs-border-color: var(--tw-border-color);
  --bs-border-radius: var(--tw-radius-control);
  --bs-focus-ring-color: color-mix(in srgb, var(--tw-primary) 25%, transparent);
}

.btn-primary {
  --bs-btn-color: var(--tw-on-primary);
  --bs-btn-bg: var(--tw-primary);
  --bs-btn-border-color: var(--tw-primary);
  --bs-btn-hover-color: var(--tw-on-primary);
  --bs-btn-hover-bg: color-mix(in srgb, var(--tw-primary) 85%, black);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--tw-primary) 80%, black);
  --bs-btn-active-color: var(--tw-on-primary);
  --bs-btn-active-bg: color-mix(in srgb, var(--tw-primary) 80%, black);
  --bs-btn-active-border-color: color-mix(in srgb, var(--tw-primary) 75%, black);
  --bs-btn-disabled-color: var(--tw-on-primary);
  --bs-btn-disabled-bg: var(--tw-primary);
  --bs-btn-disabled-border-color: var(--tw-primary);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem color-mix(in srgb, color-mix(in srgb, var(--tw-primary) 85%, var(--tw-on-primary)) 50%, transparent);
}

.btn-outline-primary {
  --bs-btn-color: var(--tw-primary);
  --bs-btn-border-color: var(--tw-primary);
  --bs-btn-hover-color: var(--tw-on-primary);
  --bs-btn-hover-bg: var(--tw-primary);
  --bs-btn-hover-border-color: var(--tw-primary);
  --bs-btn-focus-shadow-rgb: var(--tw-primary-rgb);
  --bs-btn-active-color: var(--tw-on-primary);
  --bs-btn-active-bg: var(--tw-primary);
  --bs-btn-active-border-color: var(--tw-primary);
  --bs-btn-disabled-color: var(--tw-primary);
  --bs-btn-disabled-border-color: var(--tw-primary);
}

.btn-secondary {
  --bs-btn-color: var(--tw-on-secondary);
  --bs-btn-bg: var(--tw-secondary);
  --bs-btn-border-color: var(--tw-secondary);
  --bs-btn-hover-color: var(--tw-on-secondary);
  --bs-btn-hover-bg: color-mix(in srgb, var(--tw-secondary) 85%, black);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--tw-secondary) 80%, black);
  --bs-btn-active-color: var(--tw-on-secondary);
  --bs-btn-active-bg: color-mix(in srgb, var(--tw-secondary) 80%, black);
  --bs-btn-active-border-color: color-mix(in srgb, var(--tw-secondary) 75%, black);
  --bs-btn-disabled-color: var(--tw-on-secondary);
  --bs-btn-disabled-bg: var(--tw-secondary);
  --bs-btn-disabled-border-color: var(--tw-secondary);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem color-mix(in srgb, color-mix(in srgb, var(--tw-secondary) 85%, var(--tw-on-secondary)) 50%, transparent);
}

.btn-outline-secondary {
  --bs-btn-color: var(--tw-secondary);
  --bs-btn-border-color: var(--tw-secondary);
  --bs-btn-hover-color: var(--tw-on-secondary);
  --bs-btn-hover-bg: var(--tw-secondary);
  --bs-btn-hover-border-color: var(--tw-secondary);
  --bs-btn-focus-shadow-rgb: var(--tw-secondary-rgb);
  --bs-btn-active-color: var(--tw-on-secondary);
  --bs-btn-active-bg: var(--tw-secondary);
  --bs-btn-active-border-color: var(--tw-secondary);
  --bs-btn-disabled-color: var(--tw-secondary);
  --bs-btn-disabled-border-color: var(--tw-secondary);
}

.btn-success {
  --bs-btn-color: var(--tw-on-success);
  --bs-btn-bg: var(--tw-success);
  --bs-btn-border-color: var(--tw-success);
  --bs-btn-hover-color: var(--tw-on-success);
  --bs-btn-hover-bg: color-mix(in srgb, var(--tw-success) 85%, black);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--tw-success) 80%, black);
  --bs-btn-active-color: var(--tw-on-success);
  --bs-btn-active-bg: color-mix(in srgb, var(--tw-success) 80%, black);
  --bs-btn-active-border-color: color-mix(in srgb, var(--tw-success) 75%, black);
  --bs-btn-disabled-color: var(--tw-on-success);
  --bs-btn-disabled-bg: var(--tw-success);
  --bs-btn-disabled-border-color: var(--tw-success);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem color-mix(in srgb, color-mix(in srgb, var(--tw-success) 85%, var(--tw-on-success)) 50%, transparent);
}

.btn-outline-success {
  --bs-btn-color: var(--tw-success);
  --bs-btn-border-color: var(--tw-success);
  --bs-btn-hover-color: var(--tw-on-success);
  --bs-btn-hover-bg: var(--tw-success);
  --bs-btn-hover-border-color: var(--tw-success);
  --bs-btn-focus-shadow-rgb: var(--tw-success-rgb);
  --bs-btn-active-color: var(--tw-on-success);
  --bs-btn-active-bg: var(--tw-success);
  --bs-btn-active-border-color: var(--tw-success);
  --bs-btn-disabled-color: var(--tw-success);
  --bs-btn-disabled-border-color: var(--tw-success);
}

.btn-info {
  --bs-btn-color: var(--tw-on-info);
  --bs-btn-bg: var(--tw-info);
  --bs-btn-border-color: var(--tw-info);
  --bs-btn-hover-color: var(--tw-on-info);
  --bs-btn-hover-bg: color-mix(in srgb, var(--tw-info) 85%, black);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--tw-info) 80%, black);
  --bs-btn-active-color: var(--tw-on-info);
  --bs-btn-active-bg: color-mix(in srgb, var(--tw-info) 80%, black);
  --bs-btn-active-border-color: color-mix(in srgb, var(--tw-info) 75%, black);
  --bs-btn-disabled-color: var(--tw-on-info);
  --bs-btn-disabled-bg: var(--tw-info);
  --bs-btn-disabled-border-color: var(--tw-info);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem color-mix(in srgb, color-mix(in srgb, var(--tw-info) 85%, var(--tw-on-info)) 50%, transparent);
}

.btn-outline-info {
  --bs-btn-color: var(--tw-info);
  --bs-btn-border-color: var(--tw-info);
  --bs-btn-hover-color: var(--tw-on-info);
  --bs-btn-hover-bg: var(--tw-info);
  --bs-btn-hover-border-color: var(--tw-info);
  --bs-btn-focus-shadow-rgb: var(--tw-info-rgb);
  --bs-btn-active-color: var(--tw-on-info);
  --bs-btn-active-bg: var(--tw-info);
  --bs-btn-active-border-color: var(--tw-info);
  --bs-btn-disabled-color: var(--tw-info);
  --bs-btn-disabled-border-color: var(--tw-info);
}

.btn-danger {
  --bs-btn-color: var(--tw-on-danger);
  --bs-btn-bg: var(--tw-danger);
  --bs-btn-border-color: var(--tw-danger);
  --bs-btn-hover-color: var(--tw-on-danger);
  --bs-btn-hover-bg: color-mix(in srgb, var(--tw-danger) 85%, black);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--tw-danger) 80%, black);
  --bs-btn-active-color: var(--tw-on-danger);
  --bs-btn-active-bg: color-mix(in srgb, var(--tw-danger) 80%, black);
  --bs-btn-active-border-color: color-mix(in srgb, var(--tw-danger) 75%, black);
  --bs-btn-disabled-color: var(--tw-on-danger);
  --bs-btn-disabled-bg: var(--tw-danger);
  --bs-btn-disabled-border-color: var(--tw-danger);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem color-mix(in srgb, color-mix(in srgb, var(--tw-danger) 85%, var(--tw-on-danger)) 50%, transparent);
}

.btn-outline-danger {
  --bs-btn-color: var(--tw-danger);
  --bs-btn-border-color: var(--tw-danger);
  --bs-btn-hover-color: var(--tw-on-danger);
  --bs-btn-hover-bg: var(--tw-danger);
  --bs-btn-hover-border-color: var(--tw-danger);
  --bs-btn-focus-shadow-rgb: var(--tw-danger-rgb);
  --bs-btn-active-color: var(--tw-on-danger);
  --bs-btn-active-bg: var(--tw-danger);
  --bs-btn-active-border-color: var(--tw-danger);
  --bs-btn-disabled-color: var(--tw-danger);
  --bs-btn-disabled-border-color: var(--tw-danger);
}

.btn-light {
  --bs-btn-color: var(--tw-on-light);
  --bs-btn-bg: var(--tw-light);
  --bs-btn-border-color: var(--tw-light);
  --bs-btn-hover-color: var(--tw-on-light);
  --bs-btn-hover-bg: color-mix(in srgb, var(--tw-light) 85%, black);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--tw-light) 80%, black);
  --bs-btn-active-color: var(--tw-on-light);
  --bs-btn-active-bg: color-mix(in srgb, var(--tw-light) 80%, black);
  --bs-btn-active-border-color: color-mix(in srgb, var(--tw-light) 75%, black);
  --bs-btn-disabled-color: var(--tw-on-light);
  --bs-btn-disabled-bg: var(--tw-light);
  --bs-btn-disabled-border-color: var(--tw-light);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem color-mix(in srgb, color-mix(in srgb, var(--tw-light) 85%, var(--tw-on-light)) 50%, transparent);
}

.btn-outline-light {
  --bs-btn-color: var(--tw-light);
  --bs-btn-border-color: var(--tw-light);
  --bs-btn-hover-color: var(--tw-on-light);
  --bs-btn-hover-bg: var(--tw-light);
  --bs-btn-hover-border-color: var(--tw-light);
  --bs-btn-focus-shadow-rgb: var(--tw-light-rgb);
  --bs-btn-active-color: var(--tw-on-light);
  --bs-btn-active-bg: var(--tw-light);
  --bs-btn-active-border-color: var(--tw-light);
  --bs-btn-disabled-color: var(--tw-light);
  --bs-btn-disabled-border-color: var(--tw-light);
}

.btn-warning {
  --bs-btn-color: var(--tw-on-warning);
  --bs-btn-bg: var(--tw-warning);
  --bs-btn-border-color: var(--tw-warning);
  --bs-btn-hover-color: var(--tw-on-warning);
  --bs-btn-hover-bg: color-mix(in srgb, var(--tw-warning) 85%, white);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--tw-warning) 90%, white);
  --bs-btn-active-color: var(--tw-on-warning);
  --bs-btn-active-bg: color-mix(in srgb, var(--tw-warning) 80%, white);
  --bs-btn-active-border-color: color-mix(in srgb, var(--tw-warning) 90%, white);
  --bs-btn-disabled-color: var(--tw-on-warning);
  --bs-btn-disabled-bg: var(--tw-warning);
  --bs-btn-disabled-border-color: var(--tw-warning);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem color-mix(in srgb, color-mix(in srgb, var(--tw-warning) 85%, var(--tw-on-warning)) 50%, transparent);
}

.btn-outline-warning {
  --bs-btn-color: var(--tw-warning);
  --bs-btn-border-color: var(--tw-warning);
  --bs-btn-hover-color: var(--tw-on-warning);
  --bs-btn-hover-bg: var(--tw-warning);
  --bs-btn-hover-border-color: var(--tw-warning);
  --bs-btn-focus-shadow-rgb: var(--tw-warning-rgb);
  --bs-btn-active-color: var(--tw-on-warning);
  --bs-btn-active-bg: var(--tw-warning);
  --bs-btn-active-border-color: var(--tw-warning);
  --bs-btn-disabled-color: var(--tw-warning);
  --bs-btn-disabled-border-color: var(--tw-warning);
}

.btn-dark {
  --bs-btn-color: var(--tw-on-dark);
  --bs-btn-bg: var(--tw-dark);
  --bs-btn-border-color: var(--tw-dark);
  --bs-btn-hover-color: var(--tw-on-dark);
  --bs-btn-hover-bg: color-mix(in srgb, var(--tw-dark) 85%, white);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--tw-dark) 90%, white);
  --bs-btn-active-color: var(--tw-on-dark);
  --bs-btn-active-bg: color-mix(in srgb, var(--tw-dark) 80%, white);
  --bs-btn-active-border-color: color-mix(in srgb, var(--tw-dark) 90%, white);
  --bs-btn-disabled-color: var(--tw-on-dark);
  --bs-btn-disabled-bg: var(--tw-dark);
  --bs-btn-disabled-border-color: var(--tw-dark);
  --bs-btn-focus-box-shadow: 0 0 0 .25rem color-mix(in srgb, color-mix(in srgb, var(--tw-dark) 85%, var(--tw-on-dark)) 50%, transparent);
}

.btn-outline-dark {
  --bs-btn-color: var(--tw-dark);
  --bs-btn-border-color: var(--tw-dark);
  --bs-btn-hover-color: var(--tw-on-dark);
  --bs-btn-hover-bg: var(--tw-dark);
  --bs-btn-hover-border-color: var(--tw-dark);
  --bs-btn-focus-shadow-rgb: var(--tw-dark-rgb);
  --bs-btn-active-color: var(--tw-on-dark);
  --bs-btn-active-bg: var(--tw-dark);
  --bs-btn-active-border-color: var(--tw-dark);
  --bs-btn-disabled-color: var(--tw-dark);
  --bs-btn-disabled-border-color: var(--tw-dark);
}

.pagination {
  --bs-pagination-active-bg: var(--tw-primary);
  --bs-pagination-active-border-color: var(--tw-primary);
}

.nav-pills {
  --bs-nav-pills-link-active-bg: var(--tw-primary);
}

.list-group {
  --bs-list-group-active-bg: var(--tw-primary);
  --bs-list-group-active-border-color: var(--tw-primary);
}

.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--tw-primary);
}

.progress, .progress-stacked {
  --bs-progress-bar-bg: var(--tw-primary);
}

/* ===== primitives ===== */
/* small uppercase label over a group of content */
.tw-caption {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--tw-faint);
  line-height: 1.2;
}

/* status badge tinted from its own colour (--status-color, set inline); neutral grey by default */
.tw-status {
  --status-color: var(--tw-status-default);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tw-status-ink);
  padding: 2px 9px 2px 7px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--status-color) 45%, var(--tw-panel));
  background: color-mix(in srgb, var(--status-color) 18%, var(--tw-panel));
}

.tw-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-color);
  flex: 0 0 auto;
}

.tw-status b {
  font-weight: 600;
  color: var(--tw-text);
}

/* floating panel: dropdown menus, search results */
.tw-popover {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--tw-shadow);
  animation: twPopIn 0.14s ease-out;
}

@keyframes twPopIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tw-popover {
    animation: none;
  }
}
/* keyboard hint */
.tw-kbd {
  font: 10px/1.6 inherit;
  color: var(--tw-faint);
  border: 1px solid var(--tw-line-2);
  border-radius: 4px;
  padding: 0 5px;
  background: var(--tw-panel);
}

/* key/value row inside a dl */
.tw-kv {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--tw-line-row);
  font-size: 14px;
}

.tw-kv dt {
  flex: 0 0 150px;
  color: var(--tw-muted);
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1.35;
}

.tw-kv dd {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
}

/* narrow column for a form or small table: at most 800px wide, the full width on a phone */
.tw-narrow {
  max-width: 800px;
}

/* edge to edge inside a padded container (a banner): cancels the container's gutter padding. Unlike
   width: 100vw it never runs under the scrollbar. */
.tw-bleed {
  width: auto;
  margin-right: calc(var(--bs-gutter-x, 30px) * -0.5);
  margin-left: calc(var(--bs-gutter-x, 30px) * -0.5);
}

/* the dealer's brand colour on text or a border (Bootstrap's text-primary is the button colour) */
.tw-text-brand {
  color: var(--tw-brand);
}

.tw-border-brand {
  border-color: var(--tw-brand);
}

/* Copy to clipboard: any element with class "copiable" (table cells, vehicle cards, the multipoint drawer's
   fields). public/js/groups/global.js copies its text on click, may add a .copy-icon button, and sets
   .copied for a moment, which shows the "Copied" bubble above it. Sortable header cells are left out:
   DataTables column classes reach the header too, and its sort arrows use the same ::before / ::after. */
.copiable:not(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled) {
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.copiable:not(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled).copied {
  z-index: 9999;
}

/* clipboard icon, shown on hover */
.copiable:not(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled) .copy-icon {
  opacity: 0;
  margin-left: 6px;
  padding: 0;
  border: none;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.copiable:not(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled):hover .copy-icon {
  opacity: 1;
  transform: translateY(-1px);
}

/* "Copied" bubble and its arrow */
.copiable:not(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled)::after,
.copiable:not(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled)::before {
  position: absolute;
  z-index: 10000;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.copiable:not(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled)::after {
  content: "Copied";
  top: -1.8rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--tw-success);
  color: var(--tw-on-success);
  font-size: 0.75rem;
  white-space: nowrap;
}

.copiable:not(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled)::before {
  content: "";
  top: -0.4rem;
  border: 6px solid transparent;
  border-top-color: var(--tw-success);
}

.copiable:not(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled).copied::after,
.copiable:not(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled).copied::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .copiable:not(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled) .copy-icon, .copiable:not(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled)::after, .copiable:not(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled)::before {
    transition: none;
  }
}
/* Page frame in common/layouts/main.volt. The page panel keeps the look the Slideout plugin gave it
   (white, at least the window's height, positioned) now that the plugin is gone from Phalcon pages. */
.main-panel {
  position: relative;
  min-height: 100vh;
  background-color: var(--tw-panel);
}

/* Address and hours bar (views/partials/topBar). The group sheets give its container 5px padding, so its
   row uses a 10px gutter: the row's margins then match the padding instead of running 10px off the page.
   On the row itself, because .row sets its own --bs-gutter-x. */
.site-topbar > .row {
  --bs-gutter-x: 10px;
}

/* BDC dashboard grid (gs-dashboard): its container has no padding inside .content, which every group sheet
   pads by 1em, so its rows use a 2em gutter (margins of -1em) to stay inside the page. */
.dashboard-grid > .row {
  --bs-gutter-x: 2em;
}

/* Top bar above the site header (views/partials/topBar): dealer name, address, phones and today's hours,
   right-justified; for employees the messenger and the support link. Below 992px it keeps the phones only.
   A dealer sets its colours and whether the hours show with the --tw-masthead-* tokens. */
.site-masthead {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-height: var(--tw-masthead-h);
  padding: 0 var(--tw-gutter);
  overflow: hidden;
  white-space: nowrap;
  background: var(--tw-masthead-bg);
  color: var(--tw-masthead-ink);
  font-size: var(--tw-masthead-font-size);
  line-height: 1.2;
}

.site-masthead-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-decoration: none;
}

.site-masthead-item:hover, .site-masthead-item:focus {
  color: inherit;
  text-decoration: underline;
}

.site-masthead-item.is-muted {
  color: var(--tw-masthead-muted);
}

.site-masthead-item.is-hours {
  display: var(--tw-masthead-hours);
}

.site-masthead-item:focus-visible, .site-impersonate-stop:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* messenger: the icon, with the unread count on its corner */
.site-masthead-msg {
  padding: 0 4px;
  border: 0;
  background: none;
  font-size: 15px;
  cursor: pointer;
}

.site-masthead-badge {
  min-width: 16px;
  height: 16px;
  margin: -10px 0 0 -8px;
  padding: 0 4px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tw-alert);
  color: var(--tw-on-brand);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

/* tablet landscape: the name goes first (the logo is right below it), so the rest still fits on one line */
@media (max-width: 1199.98px) {
  .site-masthead-item.is-name {
    display: none;
  }
}
@media (max-width: 991.98px) {
  .site-masthead {
    justify-content: space-between;
  }
  .site-masthead-item.is-wide {
    display: none;
  }
}
/* narrow phones: the sales phone only */
@media (max-width: 479.98px) {
  .site-masthead-item.is-service {
    display: none;
  }
}
/* signed in as another user: a bar above the top bar */
.site-impersonate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 4px var(--tw-gutter);
  background: var(--tw-danger);
  color: var(--tw-on-danger);
  font-size: 13px;
}

.site-impersonate-stop {
  flex: 0 0 auto;
  padding: 3px 12px;
  border: 1px solid currentColor;
  border-radius: var(--tw-radius-control);
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-impersonate-stop:hover, .site-impersonate-stop:focus {
  background: var(--tw-on-danger);
  color: var(--tw-danger);
  text-decoration: none;
}

/* Site header: desktop bar (>= 992px) with menu pills, dropdowns and a "More" overflow; mobile bar and
   offcanvas menu (< 992px). Markup: common/layouts/main.volt. Behaviour: public/js/groups/site-header.js,
   which sets the is-* states. Values come from tokens; see developer-how-to/css-standard.md. */
/* first stop for keyboard users: shown only while focused (Bootstrap's visually-hidden-focusable) */
.site-skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1100;
  padding: 8px 14px;
  border-radius: var(--tw-radius);
  background: var(--tw-brand);
  color: var(--tw-on-brand);
  font-weight: 600;
}

/* keyboard focus on every header control: a ring in the text colour, so it shows on light and dark headers */
.site-nav-link:focus-visible, .site-nav-menu-link:focus-visible, .site-user-link:focus-visible, .site-tool:focus-visible,
.site-header-m-btn:focus-visible, .site-mobile-link:focus-visible, .site-mobile-menu-link:focus-visible, .site-panel-btn:focus-visible,
.site-offcanvas-foot a:focus-visible,
.site-skip-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .site-nav-link, .site-nav-link::before, .site-nav-icon, .site-user-link, .site-mobile-toggle::after {
    transition: none;
  }
}
/* ===== desktop bar: runs to the window's gutters, not the page frame, so the menu gets the whole width ===== */
.site-header {
  align-items: stretch;
  flex-wrap: nowrap;
  height: var(--tw-header-h);
  margin: 0;
  padding: 0 var(--tw-gutter);
  background: var(--tw-header-bg);
  border-bottom: 1px solid var(--tw-header-line);
}

.site-header.is-sticky {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.site-header-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 12px 0 0;
}

.site-header-logo img {
  max-height: var(--tw-header-logo-h);
  max-width: var(--tw-header-logo-w);
  width: auto;
  height: auto;
}

.site-header-nav {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
}

/* --- menu row: items are as tall as the bar; a line under the item marks hover, open and current --- */
.site-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.site-nav-item {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
  position: relative;
}

.site-nav-item.is-folded {
  display: none;
}

/* the first item still shown keeps the start margin when earlier items fold into "More" */
.site-nav-item:nth-child(1 of :not(.is-folded)) {
  margin-left: var(--tw-header-menu-start);
}

.site-nav-link {
  flex: 1 1 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  margin: 0;
  font-size: var(--tw-header-font-size);
  font-weight: var(--tw-header-font-weight);
  color: var(--tw-header-ink);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav-link::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.2s;
}

/* icons: from 1200px up; a public menu drops them before it folds an item (.is-compact, site-header.js) */
.site-nav-icon {
  display: none;
  font-size: 14px;
  color: var(--tw-header-icon);
  transition: color 0.15s;
}

/* chevron on links that open a menu */
.site-nav-toggle::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-style: solid;
  border-color: currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.7;
}

.site-nav-link:hover, .site-nav-link:focus,
.site-nav-item:hover > .site-nav-link,
.site-nav-item:has(:focus-visible) > .site-nav-link,
.site-nav-item.is-open > .site-nav-link,
.site-nav-item.is-active > .site-nav-link {
  color: var(--tw-header-hover-ink);
  text-decoration: none;
}

.site-nav-item:hover > .site-nav-link::before,
.site-nav-item:has(:focus-visible) > .site-nav-link::before,
.site-nav-item.is-open > .site-nav-link::before,
.site-nav-item.is-active > .site-nav-link::before {
  transform: scaleX(1);
}

.site-nav-item:hover .site-nav-icon,
.site-nav-item.is-open .site-nav-icon,
.site-nav-item.is-active .site-nav-icon {
  color: inherit;
}

/* --- dropdown menus: a panel hanging from the bar, in the header's menu colours --- */
.site-nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1041;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--tw-header-menu-bg);
  border: 1px solid var(--tw-header-menu-line);
  border-top: 0;
  border-radius: 0 0 var(--tw-radius) var(--tw-radius);
  box-shadow: var(--tw-shadow);
}

.site-nav-item.is-wide > .site-nav-menu {
  min-width: 460px;
  column-count: 2;
  column-gap: 8px;
}

.site-nav-item.is-flipped > .site-nav-menu {
  left: auto;
  right: 0;
}

/* open on hover (mouse), keyboard focus, or a click (.is-open); Escape closes it while focus stays (.is-closed) */
@media (hover: hover) {
  .site-nav-item.has-menu:hover > .site-nav-menu {
    display: block;
  }
}
.site-nav-item:has(:focus-visible) > .site-nav-menu,
.site-nav-item.is-open > .site-nav-menu {
  display: block;
}

.site-nav-item.is-closed:has(:focus-visible) > .site-nav-menu {
  display: none;
}

.site-nav-menu-link {
  display: block;
  padding: 9px 12px;
  border-radius: var(--tw-radius);
  font-size: 14.5px;
  font-weight: 500;
  break-inside: avoid;
  color: var(--tw-header-menu-ink);
  text-align: left;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav-menu-link:hover, .site-nav-menu-link:focus {
  background: var(--tw-header-menu-hover);
  color: var(--tw-header-menu-ink);
  text-decoration: none;
}

/* --- "More": items that do not fit, built by site-header.js --- */
.site-nav-more > .site-nav-menu {
  left: auto;
  right: 0;
  max-height: calc(100vh - var(--tw-header-h) - 60px);
  overflow-y: auto;
}

.site-nav-menu-link.is-heading {
  font-weight: 600;
}

.site-nav-menu-link.is-indented {
  padding-left: 28px;
  font-weight: 400;
}

/* --- after the menu: sign-in, search, user pill (.site-nav-tail); the first one takes the margin --- */
.site-nav-tail {
  align-items: center;
}

.site-nav-tail:nth-child(1 of .site-nav-tail) {
  margin-left: var(--tw-header-tail-start);
}

.site-nav-search {
  padding-left: 10px;
}

.site-tool {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--tw-radius);
  color: var(--tw-header-ink);
  font-size: 18px;
  text-decoration: none;
}

.site-tool:hover, .site-tool:focus {
  background: color-mix(in srgb, currentColor 12%, transparent);
  color: var(--tw-header-ink);
  text-decoration: none;
}

/* --- search: the shopper's vehicle search and the staff search share the field --- */
.site-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: var(--tw-header-search-w);
  height: var(--tw-header-search-h);
  margin: 0;
  padding: var(--tw-header-search-pad);
  color: var(--tw-header-ink);
  background: var(--tw-header-search-bg);
  border: solid var(--tw-header-search-line);
  border-width: var(--tw-header-search-border);
  border-radius: var(--tw-header-search-radius);
}

.site-search.is-staff {
  width: 220px;
}

.site-search:focus-within {
  border-color: currentColor;
}

.site-search-icon {
  font-size: 14px;
  opacity: 0.7;
}

.site-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: var(--tw-header-search-font-size);
  color: inherit;
  outline: none;
}

.site-search-input::placeholder {
  color: inherit;
  opacity: 0.7;
}

.site-search-input::-webkit-search-cancel-button {
  appearance: none;
}

.site-search-kbd {
  background: transparent;
  color: inherit;
  border-color: color-mix(in srgb, currentColor 35%, transparent);
}

.site-search:focus-within > .site-search-kbd {
  display: none;
}

@media (min-width: 1200px) {
  .site-nav-icon {
    display: inline-block;
  }
  .site-nav.is-compact .site-nav-icon {
    display: none;
  }
}
/* laptops: initials only in the user pill, so the staff menu folds fewer items */
@media (max-width: 1439.98px) {
  .site-user-name {
    display: none;
  }
}
/* tablet landscape: tighter links, no chevrons */
@media (max-width: 1199.98px) {
  .site-nav-link {
    padding: 0 8px;
  }
  .site-nav-link::before {
    left: 8px;
    right: 8px;
  }
  .site-nav-toggle::after {
    display: none;
  }
  .site-search, .site-search.is-staff {
    width: 150px;
  }
}
.site-search-hits {
  color: var(--tw-ink);
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 440px;
  max-width: calc(100vw - 32px);
  padding: 6px;
  z-index: 1050;
}

.site-search-list {
  max-height: min(60vh, 440px);
  overflow-y: auto;
}

.site-search-group {
  padding: 6px 10px 3px;
}

.site-search-none {
  padding: 10px 10px 6px;
  font-size: 13px;
  color: var(--tw-faint);
}

/* result rows */
.site-search-hit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--tw-radius);
  font-size: 13px;
  line-height: 1.3;
  color: var(--tw-ink);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}

.site-search-hit + .site-search-hit {
  border-top: 1px solid var(--tw-line-soft);
  border-radius: 0;
}

.site-search-hit:hover, .site-search-hit.is-active {
  background: var(--tw-hover);
  color: var(--tw-ink);
  text-decoration: none;
}

.site-search-hit-icon {
  flex: 0 0 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--tw-radius);
  background: var(--tw-tone-info-bg);
  color: var(--tw-brand);
  font-size: 13px;
}

.site-search-hit.is-closed .site-search-hit-icon {
  background: var(--tw-tone-neutral-bg);
  color: var(--tw-faint);
}

.site-search-hit.is-customer .site-search-hit-icon {
  background: var(--tw-tone-success-bg);
  color: var(--tw-tone-success-ink);
}

.site-search-hit.is-appt .site-search-hit-icon {
  background: var(--tw-tone-warning-bg);
  color: var(--tw-tone-warning-ink);
}

.site-search-hit-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-search-hit-title, .site-search-hit-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.site-search-hit-name {
  font-weight: 700;
  color: var(--tw-brand);
}

.site-search-hit.is-closed .site-search-hit-name,
.site-search-hit.is-customer .site-search-hit-name,
.site-search-hit.is-appt .site-search-hit-name {
  color: var(--tw-ink);
}

.site-search-hit-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--tw-text);
  background: var(--tw-chip-bg);
  border-radius: 4px;
  padding: 0 6px;
  line-height: 17px;
}

.site-search-hit-date {
  margin-left: auto;
  padding-left: 8px;
  font-size: 11px;
  color: var(--tw-faint);
}

.site-search-hit-meta {
  font-size: 12px;
  color: var(--tw-subtle);
}

/* meta parts: the first (customer) keeps up to 55%, the last (VIN) is never cut, the middle shrinks */
.site-search-hit-part {
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-search-hit-part:first-child {
  flex-shrink: 0;
  max-width: 55%;
}

.site-search-hit-part:last-child:not(:first-child) {
  flex-shrink: 0;
}

.site-search-hit-sep {
  flex: 0 0 auto;
  color: var(--tw-sep);
}

.site-search-mark {
  padding: 0;
  background: var(--tw-highlight);
  color: inherit;
  border-radius: 2px;
}

.site-search-status {
  flex: 0 0 auto;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-search-hit.is-closed .site-search-status {
  --status-color: var(--tw-muted);
  color: var(--tw-text-2);
}

.site-search-hit.is-more {
  gap: 8px;
  margin-top: 4px;
  padding: 9px 10px;
  border-top: 1px solid var(--tw-line);
  border-radius: 0 0 var(--tw-radius) var(--tw-radius);
  color: var(--tw-brand);
  font-weight: 600;
  font-size: 12.5px;
}

.site-search-more-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-search-more-kbd {
  margin-left: auto;
}

/* --- user pill at the far right: one pill, two links (name to the profile, Logout) --- */
.site-user {
  padding-left: 10px;
}

.site-user-link {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  box-sizing: border-box;
  padding: 3px 10px 3px 3px;
  border: 1px solid var(--tw-line-2);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: var(--tw-panel);
  color: var(--tw-ink-2);
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.site-user-logout {
  padding: 3px 12px 3px 0;
  border-left: 0;
  border-radius: 0 999px 999px 0;
  font-weight: 400;
  color: var(--tw-muted);
}

.site-user-logout::before {
  content: "";
  align-self: center;
  width: 1px;
  height: 18px;
  background: var(--tw-line-2);
  margin-right: 10px;
}

.site-user-link:hover, .site-user-link:focus {
  background: var(--tw-brand-tint);
  color: var(--tw-brand);
  text-decoration: none;
}

.site-user-avatar {
  position: relative;
  display: inline-flex;
}

.site-user-initials {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tw-brand);
  color: var(--tw-on-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.site-user-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--tw-alert);
  color: var(--tw-on-brand);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-user-name {
  font-weight: 600;
}

.site-user-name:empty {
  display: none;
}

/* ===== mobile bar (< 992px) ===== */
@media (max-width: 991.98px) {
  .site-header-m {
    padding: 0;
    background: var(--tw-header-m-bg);
    border-bottom: 1px solid var(--tw-line);
    box-shadow: var(--tw-shadow-xs);
  }
  /* the 44px buttons hold a 20px icon: pulled out by 10px so the icons, not the buttons, sit on the gutter */
  .site-header-m-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--tw-header-m-h);
    padding: 0 calc(var(--tw-gutter) - 10px);
  }
  .site-header-m-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--tw-header-m-ink);
    cursor: pointer;
  }
  .site-header-m-btn:active {
    background: var(--tw-brand-tint);
  }
  /* the slot icons carry fa-3x (kept in saved layouts); this size wins over it */
  .site-header-m-btn > i {
    font-size: 20px;
    line-height: 1;
    color: var(--tw-header-m-ink);
  }
  .site-header-m-logo {
    flex: 1 1 auto;
    text-align: left;
    min-width: 0;
    padding: 0 4px;
  }
  /* as large as the space between the menu button and the icons allows */
  .site-header-m-logo img {
    max-height: 44px;
    max-width: 100%;
    width: auto;
  }
  .site-header-m-icons {
    display: flex;
    gap: 2px;
  }
}
/* panels the bar's icons open under it: directions, contact, search (global.js shows one at a time) */
.site-panel {
  padding: 10px var(--tw-gutter) 14px;
  background: var(--tw-header-m-bg);
  color: var(--tw-header-m-ink);
  border-bottom: 1px solid var(--tw-line);
}

.site-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.site-panel-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 15px;
}

.site-panel-text b {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.75;
}

.site-panel-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid currentColor;
  border-radius: var(--tw-radius);
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.site-panel-btn:hover, .site-panel-btn:focus {
  background: var(--tw-header-m-ink);
  color: var(--tw-header-m-bg);
  text-decoration: none;
}

/* 16px text, so a phone does not zoom the page when the field takes focus */
.site-panel .site-search {
  --tw-header-search-font-size: 16px;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  color: inherit;
}

/* ===== offcanvas menu (Bootstrap offcanvas, sections collapse) ===== */
.site-offcanvas {
  --bs-offcanvas-width: min(320px, 86vw);
  --bs-offcanvas-padding-x: 16px;
  --bs-offcanvas-padding-y: 12px;
  --bs-offcanvas-border-color: var(--tw-line);
  --bs-border-color: var(--tw-line);
}

.site-offcanvas-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--tw-ink);
}

/* contact block under the menu: phones and the address */
.site-offcanvas-foot {
  display: grid;
  gap: 4px;
  padding: 12px 16px;
  border-top: 1px solid var(--tw-line);
  background: var(--tw-surface);
  font-size: 14px;
}

.site-offcanvas-foot a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  color: var(--tw-ink);
  text-decoration: none;
}

.site-offcanvas-foot a:hover, .site-offcanvas-foot a:focus {
  color: var(--tw-brand);
  text-decoration: none;
}

.site-mobile-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-mobile-item + .site-mobile-item {
  border-top: 1px solid var(--tw-line-row);
}

.site-mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--tw-ink);
  text-decoration: none;
}

.site-mobile-icon {
  width: 18px;
  text-align: center;
  color: var(--tw-faint);
  font-size: 14px;
}

.site-mobile-toggle::after {
  content: "";
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-style: solid;
  border-color: var(--tw-faint-2);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  transition: transform 0.15s;
}

.site-mobile-toggle[aria-expanded=true]::after {
  transform: rotate(-135deg);
}

.site-mobile-item.is-active > .site-mobile-link {
  color: var(--tw-brand);
  box-shadow: inset 4px 0 0 var(--tw-brand);
}

.site-mobile-item.is-active .site-mobile-icon {
  color: var(--tw-brand);
}

.site-mobile-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--tw-surface);
}

/* at least 44px tall: a finger-sized target */
.site-mobile-menu-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px 10px 46px;
  font-size: 14px;
  color: var(--tw-ink);
  text-decoration: none;
}

.site-mobile-link:hover, .site-mobile-link:focus, .site-mobile-link:active,
.site-mobile-menu-link:hover, .site-mobile-menu-link:focus, .site-mobile-menu-link:active {
  background: var(--tw-brand-tint);
  color: var(--tw-brand);
  text-decoration: none;
}

/* Site footer (views/partials/footers/footer.volt), one for every install: logo and social links, the
   group's link columns with the dealer's contact block, then the legal row. A dealer sets its colours,
   the alignment of the top row and the chip behind its logo with the --tw-footer-* tokens. */
.site-footer {
  padding: 48px var(--tw-frame-pad) 24px;
  background: var(--tw-footer-bg);
  color: var(--tw-footer-ink);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.site-footer-top {
  display: flex;
  flex-direction: column;
  align-items: var(--tw-footer-align);
  gap: 24px;
  padding-bottom: 32px;
}

.site-footer-logo img {
  display: block;
  max-width: 260px;
  max-height: 64px;
  padding: var(--tw-footer-logo-pad);
  border-radius: var(--tw-radius);
  background: var(--tw-footer-logo-bg);
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer-social:empty {
  display: none;
}

.site-footer-social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  color: inherit;
  font-size: 16px;
  text-decoration: none;
}

.site-footer-social-link:hover, .site-footer-social-link:focus {
  background: var(--tw-footer-ink);
  color: var(--tw-footer-bg);
  text-decoration: none;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--tw-footer-line);
}

.site-footer-heading {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
}

.site-footer-link {
  display: block;
  padding: 5px 0;
  color: var(--tw-footer-muted);
  text-decoration: none;
}

.site-footer-link:hover, .site-footer-link:focus {
  color: var(--tw-footer-ink);
  text-decoration: underline;
}

.site-footer-info {
  margin: 0;
  color: var(--tw-footer-muted);
  font-style: normal;
  line-height: 1.7;
}

.site-footer-info strong {
  color: var(--tw-footer-ink);
  font-weight: 600;
}

.site-footer-info a {
  color: inherit;
  text-decoration: none;
}

.site-footer-info a:hover, .site-footer-info a:focus {
  color: var(--tw-footer-ink);
  text-decoration: underline;
}

.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--tw-footer-line);
  font-size: 12px;
  color: var(--tw-footer-muted);
}

.site-footer-legal a {
  color: inherit;
  text-decoration: none;
}

.site-footer-legal a:hover, .site-footer-legal a:focus {
  color: var(--tw-footer-ink);
  text-decoration: underline;
}

.site-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.site-footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer-powered img {
  max-height: 17px;
  filter: var(--tw-footer-powered-filter);
}

.site-footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 32px;
    padding-bottom: 20px;
  }
  .site-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
  .site-footer-info {
    grid-column: 1/-1;
  }
}
/* A page's own content inside the shell: the container a page opts into, and the page head
   (views/partials/pageHead.volt). The standard container lines up with the top bar, header and footer;
   .is-narrow is for forms and reading text. */
.site-container {
  width: 100%;
  max-width: var(--tw-container);
  margin: 0 auto;
  padding: 0 var(--tw-gutter);
}

.site-container.is-narrow {
  max-width: calc(var(--tw-container-narrow) + 2 * var(--tw-gutter));
}

.site-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  font-size: 13px;
  color: var(--tw-muted);
}

.site-crumbs a {
  color: inherit;
  text-decoration: none;
}

.site-crumbs a:hover, .site-crumbs a:focus {
  color: var(--tw-ink);
  text-decoration: underline;
}

.site-crumbs [aria-current] {
  color: var(--tw-ink);
}

.site-page-head {
  padding: 16px 0 24px;
}

.site-page-title {
  margin: 0;
  font-size: 38px;
  font-weight: var(--tw-title-weight);
  line-height: 1.1;
  letter-spacing: var(--tw-title-tracking);
  color: var(--tw-ink);
}

.site-page-lead {
  margin: 8px 0 0;
  color: var(--tw-muted);
}

@media (max-width: 767.98px) {
  .site-page-title {
    font-size: 28px;
  }
}
/* Hours of operation card (views/partials/_operationalHoursCards.volt): 20rem wide, narrower on a phone. */
.hours-card {
  width: 20rem;
  max-width: 100%;
  border-color: var(--tw-hours-card-line);
}

/* ===== multipoint page frame (.multipoint-shell-v2) ===== */
/* --- RO bar --- */
.multipoint-shell-v2 .ro-bar {
  position: sticky;
  top: 0;
  z-index: 1020;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 8px 12px;
  border-top: 3px solid var(--tw-brand);
  border-bottom: 3px solid var(--tw-brand);
}

.multipoint-shell-v2 .ro-bar-summary {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
  cursor: pointer;
  border-radius: 6px;
}

.multipoint-shell-v2 .ro-bar-summary:hover {
  background: #f5f7fa;
}

/* three labelled clusters: one large primary value, secondary details small and muted beneath */
.multipoint-shell-v2 .ro-cluster {
  padding: 2px 18px 2px 14px;
  border-right: 1px solid var(--tw-line);
  min-width: 0;
}

.multipoint-shell-v2 .ro-cluster:first-child {
  padding-left: 6px;
}

.multipoint-shell-v2 .ro-cluster:last-of-type {
  border-right: 0;
}

.multipoint-shell-v2 .ro-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.multipoint-shell-v2 .ro-type {
  background: var(--tw-brand);
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 1px 7px;
  border-radius: 3px;
}

.multipoint-shell-v2 .ro-type-estimate {
  background: #b45309;
}

.multipoint-shell-v2 .ro-primary {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.multipoint-shell-v2 .ro-primary i {
  font-size: 12px;
  color: #9ca3af;
  margin-right: 3px;
}

.multipoint-shell-v2 .ro-secondary {
  font-size: 12.5px;
  color: var(--tw-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: visible;
  text-overflow: ellipsis;
  clip-path: inset(0);
}

.multipoint-shell-v2 .ro-secondary i {
  font-size: 11px;
  color: #9ca3af;
  margin-right: 3px;
}

.multipoint-shell-v2 .ro-dot {
  margin: 0 6px;
  color: #c4c9d2;
}

.multipoint-shell-v2 .ro-status {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 6px 0 14px;
}

.multipoint-shell-v2 .ro-unit {
  margin-left: 6px;
  padding: 0 7px;
  border: 1px solid #d1d5db;
  border-radius: 9px;
  font-size: 11.5px;
  color: var(--tw-text);
  white-space: nowrap;
}

.multipoint-shell-v2 .ro-unit i {
  color: #9ca3af;
  margin-right: 3px;
}

.multipoint-shell-v2 .ro-bar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* --- action bar --- */
.multipoint-shell-v2 .action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 0 8px;
  border-bottom: 1px solid var(--tw-line);
  margin-bottom: 6px;
}

.multipoint-shell-v2 .open-on-mobile-btn {
  background-color: #fd7e14;
  border-color: #fd7e14;
  color: #fff;
}

.multipoint-shell-v2 .open-on-mobile-btn:hover {
  background-color: #e8700f;
  border-color: #e8700f;
  color: #fff;
}

/* base.css gives every .dropdown-menu height:150px; undo that here so menus are not clipped */
.multipoint-shell-v2 .dropdown-menu {
  height: auto;
  overflow-y: visible;
  min-width: 12rem;
}

.multipoint-shell-v2 .dropdown-item.uveye-btn img {
  display: block;
}

.multipoint-shell-v2 .dropdown-item.disabled {
  pointer-events: none;
}

/* --- wizard chrome (jQuery Steps) --- */
.multipoint-shell-v2 .wizard > .steps {
  padding: 0;
}

.multipoint-shell-v2 .wizard > .steps > ul {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #d1d5db;
}

.multipoint-shell-v2 .wizard > .steps > ul > li {
  width: auto !important;
  float: none;
}

.multipoint-shell-v2 .wizard > .steps > ul > li > a,
.multipoint-shell-v2 .wizard > .steps > ul > li > a:hover,
.multipoint-shell-v2 .wizard > .steps > ul > li > a:active {
  background: transparent;
  color: #4b5563;
  font-weight: 600;
  padding: 10px 2px;
  margin: 0;
  border-radius: 0;
  border-bottom: 3px solid transparent;
}

.multipoint-shell-v2 .wizard > .steps > ul > li.current > a {
  color: var(--tw-brand);
  border-bottom-color: var(--tw-brand);
}

.multipoint-shell-v2 .wizard > .steps > ul > li.done > a {
  color: #4b5563;
}

.multipoint-shell-v2 .wizard > .steps .number {
  display: inline;
  font-size: inherit;
}

/* per-tab counts, filled by the page script from each tab's content */
.multipoint-shell-v2 .wizard > .steps .tab-badge {
  display: inline-block;
  margin-left: 7px;
  padding: 0 7px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  background: var(--tw-line);
  color: var(--tw-text);
  vertical-align: 1px;
}

.multipoint-shell-v2 .wizard > .steps .tab-badge-red {
  background: #fde2e2;
  color: #991b1b;
}

.multipoint-shell-v2 .wizard > .steps .tab-badge-amber {
  background: #fef3c7;
  color: #92400e;
}

/* The plugin clips the wizard (overflow hidden), which disables sticky inside it. Let it overflow and
   lay it out as a column: the content grows to fill the viewport (min-height set from JS), so the
   footer sits at the bottom edge on short tabs and sticks there while long tabs scroll. */
.multipoint-shell-v2 .wizard {
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.multipoint-shell-v2 .wizard > .content {
  flex: 1 0 auto;
}

.multipoint-shell-v2 .wizard > .actions {
  position: sticky;
  bottom: 0;
  z-index: 1010;
  background: #fff;
  border-top: 1px solid #d1d5db;
  padding: 8px 0;
  margin: 0;
}

.multipoint-shell-v2 .wizard > .actions > ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.multipoint-shell-v2 .wizard > .actions > ul > li {
  float: none;
  margin: 0;
}

/* same geometry as Bootstrap's .btn.btn-sm, house blue for the actions */
.multipoint-shell-v2 .wizard > .actions a,
.multipoint-shell-v2 .wizard > .actions a:hover,
.multipoint-shell-v2 .wizard > .actions a:active {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 400;
  border-radius: 0.2rem;
  background: var(--tw-brand);
  color: #fff;
  border: 1px solid var(--tw-brand);
  margin: 0;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}

.multipoint-shell-v2 .wizard > .actions a:hover {
  background: var(--tw-brand-dark);
  border-color: var(--tw-brand-dark);
}

/* Previous / Next / Return to Dashboard are the first three items the plugin renders */
.multipoint-shell-v2 .wizard > .actions > ul > li:nth-child(-n+3) > a {
  background: #fff;
  color: #495057;
  border-color: #adb5bd;
}

.multipoint-shell-v2 .wizard > .actions > ul > li:nth-child(-n+3) > a:hover {
  background: #f3f4f6;
  color: #212529;
}

/* a thin divider between the navigation buttons and the RO actions */
.multipoint-shell-v2 .wizard > .actions > ul > li:nth-child(4) {
  margin-left: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--tw-line);
}

.multipoint-shell-v2 .wizard > .actions .disabled a {
  opacity: 0.5;
  pointer-events: none;
}

/* --- drawer --- */
.multipoint-shell-v2 .ro-drawer-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 1040;
}

.multipoint-shell-v2 .ro-drawer-backdrop.open {
  display: block;
}

.multipoint-shell-v2 .ro-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  width: 420px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: -6px 0 20px rgba(0, 0, 0, 0.2);
  z-index: 1041;
  overflow-y: auto;
  transition: right 0.2s;
}

.multipoint-shell-v2 .ro-drawer.open {
  right: 0;
}

.multipoint-shell-v2 .ro-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--tw-line);
  font-size: 16px;
}

.multipoint-shell-v2 .ro-drawer-group {
  margin: 18px 20px 6px;
}

.multipoint-shell-v2 .ro-drawer-list {
  margin: 0 20px;
}

.multipoint-shell-v2 .ro-na {
  color: #9ca3af;
}

.multipoint-shell-v2 .ro-drawer-edit {
  margin: 10px 20px 4px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* unit cards inside the drawer (markup from vehicle-cards.js, restyled) */
.multipoint-shell-v2 .ro-drawer-units .card {
  margin: 8px 20px;
  border: 1px solid var(--tw-line);
  border-radius: 6px;
}

.multipoint-shell-v2 .ro-drawer-units .card:first-child {
  border-color: var(--tw-brand);
}

.multipoint-shell-v2 .ro-drawer-units .card-header .btn {
  color: #0a0a23;
  font-weight: 600;
  font-size: 14px;
  white-space: normal;
}

.multipoint-shell-v2 .ro-drawer-units .card-body {
  padding: 4px 12px 8px;
}

.multipoint-shell-v2 .ro-drawer-units .ro-top-field {
  font-weight: 400;
}

.multipoint-shell-v2 .ro-drawer-units #addVehicleBtnCard {
  border-style: dashed;
}

/* --- responsive --- */
@media (max-width: 991.98px) {
  .multipoint-shell-v2 .ro-bar {
    flex-wrap: wrap;
  }
  .multipoint-shell-v2 .ro-bar-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  /* tablets: clusters two to a row and wrapping, so nothing is cut off; status badges sit beside the vehicle */
  .multipoint-shell-v2 .ro-bar-summary {
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .multipoint-shell-v2 .ro-cluster {
    flex: 1 1 50%;
  }
  .multipoint-shell-v2 .ro-cluster:nth-child(2) {
    border-right: 0;
  }
  .multipoint-shell-v2 .ro-cluster:nth-child(3) {
    padding-left: 6px;
  }
  .multipoint-shell-v2 .ro-cluster:nth-child(3),
  .multipoint-shell-v2 .ro-status {
    border-top: 1px solid var(--tw-line-soft);
    padding-top: 6px;
  }
  .multipoint-shell-v2 .ro-primary,
  .multipoint-shell-v2 .ro-secondary {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .multipoint-shell-v2 .ro-status {
    flex: 1 1 50%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    gap: 4px 6px;
  }
}
@media (max-width: 767.98px) {
  /* phones: the bar scrolls away and drops the details the drawer already shows, leaving room for the inspection */
  .multipoint-shell-v2 .ro-bar {
    position: static;
    padding: 6px 8px;
    gap: 8px;
  }
  .multipoint-shell-v2 .ro-cluster:nth-child(-n+2) .ro-secondary,
  .multipoint-shell-v2 #roBarPrimaryUnitSec {
    display: none;
  }
  .multipoint-shell-v2 .ro-bar-summary {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .multipoint-shell-v2 .ro-cluster {
    flex: 1 1 100%;
    padding: 0 6px;
    border-right: 0;
  }
  .multipoint-shell-v2 .ro-cluster + .ro-cluster {
    border-top: 1px solid var(--tw-line-soft);
    padding-top: 4px;
  }
  .multipoint-shell-v2 .ro-status {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 6px;
    padding: 4px 6px 0;
    border-top: 1px solid var(--tw-line-soft);
  }
  .multipoint-shell-v2 .ro-bar-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .multipoint-shell-v2 .ro-drawer {
    width: 100%;
    right: -100%;
  }
  .multipoint-shell-v2 .wizard > .steps > ul {
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .multipoint-shell-v2 .wizard > .steps > ul > li > a {
    white-space: nowrap;
  }
  /* footer three to a row (navigation first), equal heights; a short last row stretches to fill */
  .multipoint-shell-v2 .wizard > .actions {
    position: static;
    padding: 4px 6px;
  }
  .multipoint-shell-v2 .wizard > .actions > ul {
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 0;
  }
  .multipoint-shell-v2 .wizard > .actions > ul > li {
    flex: 1 1 calc((100% - 8px) / 3);
    width: auto;
    margin: 0;
  }
  .multipoint-shell-v2 .wizard > .actions > ul > li:nth-child(4) {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
  .multipoint-shell-v2 .wizard > .actions a,
  .multipoint-shell-v2 .wizard > .actions a:hover,
  .multipoint-shell-v2 .wizard > .actions a:active {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 28px;
    padding: 0.15rem 0.3rem;
    font-size: 0.75rem;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
  }
}
/* Part kit table on the multipoint criticals tab (gs-service/partials/criticalPartKitData.volt): the kit's header row. */
.partkit-header-row {
  background-color: var(--tw-partkit-header-bg);
  color: var(--tw-on-danger);
}

/* Dealer settings (gs-dealer-settings/index.volt, js/groups/dealer-settings.js). Buttons, selects and the page head
   come from Bootstrap and the shell; the script builds the list, panel, checks and history from these classes. */
.dealer-settings {
  padding-bottom: 96px;
  font-size: 14px;
  color: var(--tw-text);
}

.dealer-settings :focus-visible, .dealer-settings-dialog :focus-visible, .dealer-settings-toast :focus-visible {
  outline: 2px solid var(--tw-brand);
  outline-offset: 2px;
}

/* rooftop picker, new setting, sub-pages, tabs */
.dealer-settings-bar {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 12px;
}

.dealer-settings-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-muted);
}

.dealer-settings-field .form-select, .dealer-settings-field .form-control {
  min-width: 170px;
  font-size: 14px;
  font-weight: 400;
  color: var(--tw-ink);
}

.dealer-settings-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.dealer-settings-link {
  padding: 6px 14px;
  border-radius: var(--tw-radius-pill);
  color: var(--tw-muted);
  font-weight: 600;
  text-decoration: none;
}

.dealer-settings-link:hover {
  background: var(--tw-hover);
  color: var(--tw-ink);
}

.dealer-settings-link[aria-current] {
  background: var(--tw-ink);
  color: var(--tw-panel);
}

.dealer-settings-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--tw-line);
  margin-bottom: 16px;
}

.dealer-settings-tab {
  border: 0;
  background: none;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--tw-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.dealer-settings-tab[aria-selected=true] {
  color: var(--tw-brand);
  border-bottom-color: var(--tw-brand);
}

.dealer-settings-count {
  display: inline-block;
  min-width: 20px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-alert);
  color: var(--tw-on-brand);
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.dealer-settings-count:empty {
  display: none;
}

.dealer-settings-count.is-plain {
  background: var(--tw-hover);
  color: var(--tw-muted);
}

.dealer-settings-count.is-ok {
  background: var(--tw-success);
  color: var(--tw-on-success);
}

.dealer-settings-card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
}

.dealer-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 16px;
  align-items: start;
}

/* filters */
.dealer-settings-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.dealer-settings-search {
  flex: 1 1 100%;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-pill);
  background: var(--tw-surface);
  color: var(--tw-ink);
}

.dealer-settings-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dealer-settings-chips:empty {
  display: none;
}

.dealer-settings-chip {
  height: 30px;
  padding: 0 12px;
  border-radius: var(--tw-radius-pill);
  border: 1px solid var(--tw-line);
  background: var(--tw-panel);
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-muted);
}

.dealer-settings-chip:hover {
  background: var(--tw-hover);
}

.dealer-settings-chip[aria-pressed=true] {
  background: var(--tw-brand);
  border-color: var(--tw-brand);
  color: var(--tw-on-brand);
}

.dealer-settings-chip-count {
  font-weight: 400;
  opacity: 0.8;
  margin-left: 4px;
}

/* the list: column heads, area groups, one row per setting */
.dealer-settings-cols, .dealer-settings-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(130px, 1fr) 120px 140px;
  gap: 12px;
  align-items: center;
}

.dealer-settings-cols {
  padding: 8px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-faint);
  border-bottom: 1px solid var(--tw-line);
}

.dealer-settings-group {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 14px 16px 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--tw-ink);
}

.dealer-settings-group-table {
  font-family: var(--tw-font-mono);
  font-weight: 400;
  color: var(--tw-faint);
}

.dealer-settings-row {
  width: 100%;
  min-height: 56px;
  padding: 10px 16px;
  border: 0;
  border-top: 1px solid var(--tw-line);
  background: none;
  text-align: left;
  color: inherit;
}

.dealer-settings-row:hover {
  background: var(--tw-hover);
}

.dealer-settings-row.is-sel {
  background: var(--tw-hover);
  box-shadow: inset 3px 0 0 var(--tw-brand);
}

.dealer-settings-row-cell {
  min-width: 0;
}

.dealer-settings-row.is-unset .dealer-settings-key, .dealer-settings-row.is-unset .dealer-settings-value {
  color: var(--tw-faint);
}

.dealer-settings-key {
  font-family: var(--tw-font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

.dealer-settings-info {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--tw-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dealer-settings-info.is-none {
  font-style: italic;
  color: var(--tw-faint);
}

.dealer-settings-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-tone-warning-bg);
  color: var(--tw-tone-warning-ink);
  font: 600 11px/18px var(--tw-font-sans);
  vertical-align: 1px;
}

.dealer-settings-value {
  display: block;
  max-width: 100%;
  font-family: var(--tw-font-mono);
  font-size: 13px;
  color: var(--tw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dealer-settings-value.is-plain, .dealer-settings-more {
  font-family: var(--tw-font-sans);
  color: var(--tw-muted);
}

.dealer-settings-pill {
  display: inline-block;
  padding: 0 10px;
  border-radius: var(--tw-radius-pill);
  font: 700 12px/22px var(--tw-font-sans);
}

.dealer-settings-pill.is-on {
  background: var(--tw-tone-success-bg);
  color: var(--tw-tone-success-ink);
}

.dealer-settings-pill.is-off {
  background: var(--tw-surface);
  color: var(--tw-muted);
  border: 1px solid var(--tw-line);
  line-height: 20px;
}

.dealer-settings-pill.is-bad {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.dealer-settings-from {
  min-width: 0;
  font-size: 12px;
  color: var(--tw-muted);
}

.dealer-settings-from.is-own {
  color: var(--tw-brand);
  font-weight: 600;
}

.dealer-settings-squares {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.dealer-settings-square {
  width: 26px;
  height: 22px;
  border-radius: var(--tw-radius);
  border: 1px solid var(--tw-line);
  font: 600 11px/20px var(--tw-font-sans);
  text-align: center;
  color: var(--tw-faint);
}

.dealer-settings-square.is-own {
  background: var(--tw-brand);
  border-color: var(--tw-brand);
  color: var(--tw-on-brand);
}

.dealer-settings-square.is-off {
  border-style: dashed;
  color: var(--tw-muted);
  text-decoration: line-through;
}

.dealer-settings-square.is-view {
  box-shadow: 0 0 0 2px var(--tw-panel), 0 0 0 3px var(--tw-brand);
}

.dealer-settings-empty {
  padding: 40px 16px;
  text-align: center;
  color: var(--tw-muted);
}

/* the panel beside the list */
.dealer-settings-panel {
  position: sticky;
  top: 12px;
  max-height: calc(100vh - 24px);
  overflow: auto;
}

.dealer-settings-panel-head {
  position: relative;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--tw-line);
}

.dealer-settings-panel-key {
  margin: 0 28px 6px 0;
  font-family: var(--tw-font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

.dealer-settings-panel-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  border-radius: var(--tw-radius);
  font-size: 20px;
  line-height: 1;
  color: var(--tw-muted);
}

.dealer-settings-panel-close:hover {
  background: var(--tw-hover);
}

.dealer-settings-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dealer-settings-tag {
  padding: 0 8px;
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
  border: 1px solid var(--tw-line);
  font-size: 11px;
  line-height: 20px;
  color: var(--tw-muted);
}

.dealer-settings-tag-code {
  font-family: var(--tw-font-mono);
  color: inherit;
}

.dealer-settings-section {
  padding: 14px 18px;
  border-bottom: 1px solid var(--tw-line);
}

.dealer-settings-section:last-child {
  border-bottom: 0;
}

.dealer-settings-heading {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-faint);
}

.dealer-settings-text {
  margin: 0 0 6px;
}

.dealer-settings-muted {
  font-size: 12px;
  color: var(--tw-muted);
}

.dealer-settings-note {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: var(--tw-radius);
  font-size: 12px;
}

.dealer-settings-note.is-warn {
  background: var(--tw-tone-warning-bg);
  color: var(--tw-tone-warning-ink);
}

.dealer-settings-note.is-bad {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.dealer-settings-note.is-info {
  background: var(--tw-hover);
  color: var(--tw-text);
}

/* the value at each level, in the panel: the name wraps, the value is cut inside its own cell */
.dealer-settings-scopes {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.dealer-settings-scope-row {
  border-top: 1px solid var(--tw-line);
}

.dealer-settings-scope-row:first-child {
  border-top: 0;
}

.dealer-settings-scope-who, .dealer-settings-scope-value, .dealer-settings-scope-actions {
  padding: 8px 6px;
  vertical-align: middle;
}

.dealer-settings-scope-who {
  width: 44%;
  font-weight: 600;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

.dealer-settings-scope-row.is-view .dealer-settings-scope-who {
  box-shadow: inset 3px 0 0 var(--tw-brand);
  padding-left: 10px;
}

.dealer-settings-scope-status {
  display: block;
  font-weight: 400;
  color: var(--tw-muted);
}

.dealer-settings-scope-value {
  min-width: 0;
  overflow: hidden;
}

.dealer-settings-scope-actions {
  width: 96px;
  text-align: right;
}

/* the editor */
.dealer-settings-editor {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--tw-brand);
  border-radius: var(--tw-radius-card);
  background: var(--tw-surface);
}

.dealer-settings-editor-head {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tw-ink);
}

.dealer-settings-input {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  background: var(--tw-panel);
  font-family: var(--tw-font-mono);
  font-size: 13px;
  color: var(--tw-ink);
}

.dealer-settings-input.is-area {
  min-height: 150px;
  resize: vertical;
  line-height: 1.45;
  tab-size: 2;
}

.dealer-settings-editor.is-bad .dealer-settings-input {
  border-color: var(--tw-alert);
}

.dealer-settings-editor-message {
  min-height: 18px;
  margin: 6px 0;
  font-size: 12px;
  color: var(--tw-muted);
}

.dealer-settings-editor.is-bad .dealer-settings-editor-message {
  color: var(--tw-alert-ink);
}

.dealer-settings-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.dealer-settings-spacer {
  flex: 1;
}

.dealer-settings-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--tw-ink);
  cursor: pointer;
}

.dealer-settings-switch-input {
  position: absolute;
  opacity: 0;
}

.dealer-settings-switch-track {
  position: relative;
  flex: none;
  width: 44px;
  height: 24px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-sep);
  transition: background var(--tw-dur-fast);
}

.dealer-settings-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tw-panel);
  transition: left var(--tw-dur-fast);
}

.dealer-settings-switch-input:checked + .dealer-settings-switch-track {
  background: var(--tw-success);
}

.dealer-settings-switch-input:checked + .dealer-settings-switch-track::after {
  left: 23px;
}

.dealer-settings-switch-input:focus-visible + .dealer-settings-switch-track {
  outline: 2px solid var(--tw-brand);
  outline-offset: 2px;
}

.dealer-settings-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.dealer-settings-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px 2px 10px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  font-family: var(--tw-font-mono);
  font-size: 12px;
}

.dealer-settings-item-remove {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--tw-muted);
  line-height: 1;
}

.dealer-settings-item-remove:hover {
  background: var(--tw-hover);
  color: var(--tw-alert-ink);
}

.dealer-settings-fields {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 6px 10px;
  align-items: center;
  margin-bottom: 4px;
}

.dealer-settings-fields-label {
  font-size: 12px;
  color: var(--tw-muted);
  text-transform: capitalize;
}

.dealer-settings-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.dealer-settings-table-head {
  padding: 0 4px 4px;
  font-size: 11px;
  text-transform: uppercase;
  text-align: left;
  color: var(--tw-faint);
}

.dealer-settings-table-cell {
  padding: 2px 4px 2px 0;
}

.dealer-settings-table-end {
  width: 32px;
}

.dealer-settings-table-cell .dealer-settings-input {
  padding: 6px 8px;
}

.dealer-settings-table-name {
  padding-right: 8px;
  font-family: var(--tw-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-ink);
  white-space: nowrap;
}

.dealer-settings-row-remove {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: none;
  font-size: 16px;
  line-height: 1;
  color: var(--tw-muted);
}

.dealer-settings-row-remove:hover {
  background: var(--tw-hover);
  color: var(--tw-alert-ink);
}

.dealer-settings-diff {
  max-height: 132px;
  overflow: auto;
  font-family: var(--tw-font-mono);
  font-size: 12px;
}

.dealer-settings-diff-old {
  display: block;
  padding: 4px 8px;
  border-radius: var(--tw-radius) var(--tw-radius) 0 0;
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.dealer-settings-diff-new {
  display: block;
  padding: 4px 8px;
  border-radius: 0 0 var(--tw-radius) var(--tw-radius);
  background: var(--tw-tone-success-bg);
  color: var(--tw-tone-success-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.dealer-settings-changes {
  max-height: 132px;
  overflow: auto;
  margin: 0 0 6px;
  padding: 6px 10px;
  list-style: none;
  border-radius: var(--tw-radius);
  background: var(--tw-tone-success-bg);
  color: var(--tw-tone-success-ink);
  font: 12px/1.5 var(--tw-font-mono);
}

/* checks and history */
.dealer-settings-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dealer-settings-line {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--tw-line);
}

.dealer-settings-line:first-child {
  border-top: 0;
}

.dealer-settings-who {
  font-weight: 700;
  color: var(--tw-ink);
}

.dealer-settings-code {
  font-family: var(--tw-font-mono);
  font-size: 13px;
  color: var(--tw-ink);
}

.dealer-settings-grow {
  flex: 1;
  min-width: 0;
}

.dealer-settings-severity {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tw-tone-warning-ink);
}

.dealer-settings-severity.is-warn {
  background: var(--tw-tone-warning-ink);
}

.dealer-settings-severity.is-bad {
  background: var(--tw-alert);
}

.dealer-settings-severity.is-info {
  background: var(--tw-faint);
}

/* the undo toast (a live region that stays in the page) and the new-setting dialog */
.dealer-settings-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1090;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--tw-radius-card);
  background: var(--tw-ink);
  color: var(--tw-panel);
  box-shadow: var(--tw-shadow);
  transform: translateX(-50%);
  visibility: hidden;
}

.dealer-settings-toast.is-shown {
  visibility: visible;
}

.dealer-settings-toast-undo {
  border: 0;
  background: none;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.dealer-settings-dialog {
  width: min(520px, 100vw - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow);
  color: var(--tw-text);
}

.dealer-settings-dialog::backdrop {
  background: var(--tw-scrim);
}

.dealer-settings-dialog-head {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--tw-ink);
  border-bottom: 1px solid var(--tw-line);
}

.dealer-settings-dialog-body {
  display: grid;
  gap: 12px;
  padding: 16px 20px;
}

.dealer-settings-dialog-body .form-select, .dealer-settings-dialog-body .form-control {
  width: 100%;
}

.dealer-settings-dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--tw-line);
}

/* below 1200px the panel opens as a drawer over the list */
@media (max-width: 1199.98px) {
  .dealer-settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .dealer-settings-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    display: none;
    width: min(480px, 100%);
    max-height: none;
    border-radius: 0;
    box-shadow: var(--tw-shadow);
  }
  .dealer-settings-panel.is-open {
    display: block;
  }
}
/* phones: every control at least 44px each way */
@media (max-width: 767.98px) {
  .dealer-settings-bar-item {
    flex: 1 1 140px;
  }
  .dealer-settings-tabs {
    overflow-x: auto;
  }
  .dealer-settings-cols {
    display: none;
  }
  .dealer-settings-row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 6px;
  }
  .dealer-settings-from, .dealer-settings-squares {
    display: none;
  }
  .dealer-settings-link, .dealer-settings-tab, .dealer-settings-chip {
    min-height: 44px;
  }
  .dealer-settings-panel .btn, .dealer-settings-lines .btn, .dealer-settings-dialog .btn, .dealer-settings-toast-undo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  .dealer-settings-panel-close, .dealer-settings-row-remove, .dealer-settings-item-remove {
    width: 44px;
    height: 44px;
  }
  .dealer-settings-switch {
    min-height: 44px;
  }
  .dealer-settings-table-end {
    width: 48px;
  }
  .dealer-settings-scope-actions {
    width: 104px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dealer-settings-switch-track, .dealer-settings-switch-track::after {
    transition: none;
  }
}
/* Menu editor (gs-dealer/manageNav.volt, js/groups/nav-editor.js). Buttons, inputs and the page head come from Bootstrap and the shell. */
.nav-editor {
  padding-bottom: 96px;
}

.nav-editor [hidden] {
  display: none;
}

.nav-editor__notice {
  margin: 16px 0;
  padding: 12px 16px;
  border-radius: var(--tw-radius);
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
  border: 1px solid var(--tw-line);
}

.nav-editor__head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}

.nav-editor__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--tw-muted);
  font-weight: 600;
}

.nav-editor__hint {
  font-size: 12px;
  color: var(--tw-muted);
  font-weight: 400;
}

/* live preview of the header */
.nav-editor__preview {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow-xs);
  margin-bottom: 16px;
}

.nav-editor__preview-cap {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--tw-muted);
  border-bottom: 1px solid var(--tw-line);
}

.nav-editor__preview-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  min-height: 60px;
  flex-wrap: wrap;
}

.nav-editor__preview-logo {
  width: 96px;
  height: 32px;
  border-radius: 6px;
  background: var(--tw-surface);
  border: 1px dashed var(--tw-line);
  display: grid;
  place-items: center;
  font-size: 10px;
  color: var(--tw-faint);
  margin-right: 12px;
  flex: none;
}

.nav-editor__preview-item {
  position: relative;
}

.nav-editor__preview-item > button {
  border: 0;
  background: none;
  padding: 8px 10px;
  font-size: var(--tw-header-font-size);
  font-weight: var(--tw-header-font-weight);
  color: var(--tw-header-ink);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.nav-editor__preview-item > button:hover, .nav-editor__preview-item.is-selected > button {
  color: var(--tw-brand);
  border-bottom-color: var(--tw-brand);
}

.nav-editor__preview-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 220px;
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow);
  padding: 6px;
}

.nav-editor__preview-item:hover .nav-editor__preview-menu, .nav-editor__preview-item:focus-within .nav-editor__preview-menu {
  display: block;
}

.nav-editor__preview-item:nth-last-child(-n+3) .nav-editor__preview-menu {
  left: auto;
  right: 0;
}

.nav-editor__preview-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 7px 10px;
  border-radius: 6px;
}

.nav-editor__preview-menu button:hover {
  background: var(--tw-hover);
}

.nav-editor__preview-more {
  color: var(--tw-muted);
  font-size: 12px;
  margin-left: 8px;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* tabs */
.nav-editor__tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--tw-line);
  margin-bottom: 16px;
  overflow-x: auto;
}

.nav-editor__tabs button {
  border: 0;
  background: none;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--tw-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.nav-editor__tabs [aria-selected=true] {
  color: var(--tw-brand);
  border-bottom-color: var(--tw-brand);
}

.nav-editor__count {
  display: inline-block;
  min-width: 20px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--tw-alert);
  color: var(--tw-on-brand);
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.nav-editor__count.is-ok {
  background: var(--tw-ok);
}

.nav-editor__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow-xs);
}

.nav-editor__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 16px;
  align-items: start;
}

/* tree */
.nav-editor__tools {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.nav-editor__tools input {
  flex: 1;
}

.nav-editor__tree {
  list-style: none;
  margin: 0;
  padding: 8px;
}

.nav-editor__tree ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 34px;
}

.nav-editor__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--tw-radius);
  border: 1px solid transparent;
  min-height: 40px;
}

.nav-editor__row:hover {
  background: var(--tw-hover);
}

.nav-editor__row.is-selected {
  background: var(--tw-hover);
  border-color: var(--tw-brand);
}

.nav-editor__row.is-hidden {
  opacity: 0.38;
}

.nav-editor__row.is-over {
  box-shadow: 0 -2px 0 var(--tw-brand);
}

.nav-editor__row.is-into {
  box-shadow: inset 0 0 0 2px var(--tw-brand);
}

.nav-editor__row.is-drag {
  opacity: 0.4;
}

.nav-editor__grip {
  cursor: grab;
  color: var(--tw-faint);
  letter-spacing: -2px;
  padding: 0 2px;
  user-select: none;
}

.nav-editor__row-main {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  text-align: left;
  padding: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.nav-editor__row-title {
  font-weight: 600;
  color: var(--tw-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.is-top > .nav-editor__row .nav-editor__row-title {
  font-size: 15px;
}

.nav-editor__row-link {
  color: var(--tw-faint);
  font-size: 12px;
  font-family: ui-monospace, Consolas, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-editor__badge {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tw-surface);
  color: var(--tw-muted);
  border: 1px solid var(--tw-line);
  white-space: nowrap;
}

.nav-editor__badge.is-public {
  background: var(--tw-ok-bg);
  color: var(--tw-ok);
}

.nav-editor__badge.is-signed {
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
}

.nav-editor__badge.is-roles {
  background: var(--tw-note-info-bg);
  color: var(--tw-note-info);
}

.nav-editor__badge.is-new {
  background: var(--tw-highlight);
  color: var(--tw-warn);
}

.nav-editor__badge.is-custom {
  background: var(--tw-surface);
  color: var(--tw-muted);
}

.nav-editor__flag {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tw-alert);
  color: var(--tw-on-brand);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.nav-editor__flag.is-warn {
  background: var(--tw-warn);
}

.nav-editor__flag.is-info {
  background: var(--tw-muted);
}

.nav-editor__row-move {
  display: none;
  gap: 2px;
}

.nav-editor__row:hover .nav-editor__row-move, .nav-editor__row.is-selected .nav-editor__row-move, .nav-editor__row:focus-within .nav-editor__row-move {
  display: flex;
}

.nav-editor__row-move button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--tw-line);
  border-radius: 6px;
  background: var(--tw-panel);
  padding: 0;
  line-height: 1;
}

.nav-editor__add {
  margin: 2px 0 6px 34px;
  border: 1px dashed var(--tw-line);
  background: none;
  border-radius: var(--tw-radius);
  padding: 6px 12px;
  color: var(--tw-brand);
  font-weight: 600;
  font-size: 12px;
}

.nav-editor__add.is-top {
  margin: 8px;
}

/* panel (inspector) */
.nav-editor__panel {
  position: sticky;
  top: 16px;
}

.nav-editor__panel-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--tw-line);
  color: var(--tw-ink);
}

.nav-editor__panel-head small {
  color: var(--tw-muted);
  display: block;
}

.nav-editor__panel-body {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.nav-editor__panel-foot {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--tw-line);
}

.nav-editor__panel .nav-editor__field input, .nav-editor__panel .nav-editor__field select {
  width: 100%;
  min-width: 0;
}

.nav-editor__choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-control);
  overflow: hidden;
}

.nav-editor__choice label {
  text-align: center;
  padding: 9px 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-muted);
  cursor: pointer;
  border-left: 1px solid var(--tw-line);
  position: relative;
}

.nav-editor__choice label:first-child {
  border-left: 0;
}

.nav-editor__choice input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-editor__choice label:has(input:checked) {
  background: var(--tw-primary);
  color: var(--tw-on-primary);
}

.nav-editor__choice label:has(input:focus-visible) {
  outline: 2px solid currentcolor;
  outline-offset: -2px;
}

.nav-editor__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-editor__roles label {
  border: 1px solid var(--tw-line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  background: var(--tw-panel);
  position: relative;
}

.nav-editor__roles input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-editor__roles label:has(input:checked) {
  background: var(--tw-note-info-bg);
  border-color: var(--tw-note-info);
  color: var(--tw-note-info);
  font-weight: 600;
}

.nav-editor__roles label:has(input:focus-visible) {
  outline: 2px solid currentcolor;
  outline-offset: 2px;
}

.nav-editor__presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-editor__note {
  border-radius: var(--tw-radius);
  padding: 10px 12px;
  font-size: 12px;
  background: var(--tw-alert-bg);
  color: var(--tw-alert);
  border: 1px solid var(--tw-line);
}

.nav-editor__note.is-warn {
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
}

.nav-editor__note.is-info {
  background: var(--tw-surface);
  color: var(--tw-muted);
}

.nav-editor__note b {
  display: block;
}

.nav-editor__empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--tw-muted);
}

/* role grid: which role sees which item */
.nav-editor__role-grid {
  overflow: auto;
  max-height: 70vh;
}

.nav-editor__role-grid table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}

.nav-editor__role-grid th, .nav-editor__role-grid td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--tw-line);
  text-align: center;
  white-space: nowrap;
}

.nav-editor__role-grid thead th {
  position: sticky;
  top: 0;
  background: var(--tw-panel);
  z-index: 2;
  vertical-align: bottom;
  font-weight: 600;
  color: var(--tw-muted);
}

.nav-editor__role-grid th:first-child, .nav-editor__role-grid td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: var(--tw-panel);
  z-index: 1;
}

.nav-editor__role-grid thead th:first-child {
  z-index: 3;
}

.nav-editor__role-grid .is-top td {
  background: var(--tw-surface);
  font-weight: 700;
  color: var(--tw-ink);
}

.nav-editor__role-grid .is-child td:first-child {
  padding-left: 26px;
}

.nav-editor__cell {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--tw-line);
  background: var(--tw-panel);
  padding: 0;
  font-size: 12px;
  line-height: 1;
  color: transparent;
}

.nav-editor__cell.is-on {
  background: var(--tw-primary);
  border-color: var(--tw-primary);
  color: var(--tw-on-primary);
}

.nav-editor__cell.is-blocked {
  background: repeating-linear-gradient(45deg, var(--tw-surface), var(--tw-surface) 3px, var(--tw-line) 3px, var(--tw-line) 5px);
}

.nav-editor__legend {
  display: flex;
  gap: 16px;
  padding: 10px 16px;
  border-top: 1px solid var(--tw-line);
  color: var(--tw-muted);
  font-size: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-editor__legend .nav-editor__cell {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  cursor: default;
}

/* checks and history lists */
.nav-editor__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-editor__list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.nav-editor__list li:last-child {
  border-bottom: 0;
}

.nav-editor__list-text {
  flex: 1;
}

.nav-editor__list-text b {
  color: var(--tw-ink);
  display: block;
}

.nav-editor__list-text span {
  color: var(--tw-muted);
  font-size: 12px;
}

.nav-editor__tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tw-ok-bg);
  color: var(--tw-ok);
}

.nav-editor__foot {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--tw-line);
  font-size: 12px;
}

/* draft bar */
.nav-editor__draft {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--tw-ink);
  color: var(--tw-panel);
  padding: 12px var(--tw-gutter);
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.2s ease, visibility 0s 0.2s;
  z-index: 40;
}

.nav-editor__draft.is-on {
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}

.nav-editor__draft-text {
  flex: 1;
}

.nav-editor__draft-text small {
  display: block;
  opacity: 0.7;
}

.nav-editor__dialog {
  border: 0;
  border-radius: var(--tw-radius);
  padding: 0;
  width: min(560px, 92vw);
  box-shadow: var(--tw-shadow);
  color: var(--tw-text);
}

.nav-editor__dialog::backdrop {
  background: var(--tw-scrim);
}

.nav-editor__dialog-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--tw-line);
  font-size: 16px;
  font-weight: 700;
  color: var(--tw-ink);
}

.nav-editor__dialog-body {
  padding: 8px 20px;
  max-height: 50vh;
  overflow: auto;
}

.nav-editor__dialog-body li {
  padding: 6px 0;
}

.nav-editor__dialog-foot {
  padding: 12px 20px;
  border-top: 1px solid var(--tw-line);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 1100px) {
  .nav-editor__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav-editor__panel {
    position: static;
  }
  .nav-editor__row-link {
    display: none;
  }
}
@media (max-width: 600px) {
  .nav-editor__preview {
    display: none;
  }
  .nav-editor__field {
    flex: 1 1 140px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-editor__draft {
    transition: none;
  }
}
.tw-setup {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 120px;
}

.tw-setup-summary {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tw-setup-stat {
  min-width: 84px;
  padding: 6px 14px;
  text-align: center;
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
}

.tw-setup-stat-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tw-ink);
}

.tw-setup-stat.is-bad .tw-setup-stat-number {
  color: var(--tw-alert);
}

.tw-setup-stat-label {
  font-size: 12px;
  color: var(--tw-muted);
}

.tw-setup-rail {
  position: sticky;
  top: 16px;
  padding: 8px;
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
}

.tw-setup-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 10px;
  text-align: left;
  background: none;
  border: 0;
  border-radius: var(--tw-radius);
}

.tw-setup-item:hover {
  background: var(--tw-hover);
}

.tw-setup-item:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.tw-setup-item.is-current {
  background: var(--tw-hover);
  box-shadow: inset 3px 0 0 var(--tw-primary);
}

.tw-setup-item-name {
  display: block;
  font-weight: 700;
  color: var(--tw-ink);
}

.tw-setup-item-meta {
  font-size: 12px;
  color: var(--tw-muted);
}

.tw-setup-ring {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: conic-gradient(var(--tw-primary) calc(var(--pct) * 1%), var(--tw-line) 0);
}

.tw-setup-ring-value {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 11px;
  font-weight: 700;
  color: var(--tw-ink);
  background: var(--tw-panel);
  border-radius: 50%;
}

.tw-setup-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--tw-line);
}

.tw-setup-head-title {
  margin: 0;
  font-size: 20px;
  color: var(--tw-ink);
}

.tw-setup-head-stamp {
  margin-left: auto;
  font-size: 12px;
  color: var(--tw-muted);
}

.tw-setup-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 4px;
  padding: 8px 24px;
  overflow-x: auto;
  background: var(--tw-panel);
  border-bottom: 1px solid var(--tw-line);
}

.tw-setup-nav-link {
  padding: 6px 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--tw-muted);
  text-decoration: none;
  border-radius: 999px;
}

.tw-setup-nav-link:hover, .tw-setup-nav-link:focus {
  color: var(--tw-ink);
  background: var(--tw-hover);
}

.tw-setup-nav-link.has-problem::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 5px;
  vertical-align: middle;
  content: "";
  background: var(--tw-alert);
  border-radius: 50%;
}

.tw-setup-checks {
  margin: 16px 24px 0;
  padding: 12px 16px;
  background: var(--tw-surface);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
}

.tw-setup-checks-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tw-ink);
}

.tw-setup-check {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 3px 0;
}

.tw-setup-check-go {
  margin-left: auto;
  white-space: nowrap;
}

.tw-setup-section {
  padding: 24px;
  border-bottom: 1px solid var(--tw-line);
  scroll-margin-top: 56px;
}

.tw-setup-section-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--tw-ink);
}

.tw-setup-field.is-flash {
  background: var(--tw-highlight);
}

.tw-setup-field.is-dirty .form-control, .tw-setup-field.is-dirty .form-select {
  border-color: var(--tw-primary);
}

.tw-setup-preview {
  margin-top: 4px;
  padding: 8px 12px;
  font-size: 12px;
  background: var(--tw-surface);
  border: 1px dashed var(--tw-line);
  border-radius: var(--tw-radius);
}

.tw-setup-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
}

.tw-setup-savebar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px var(--tw-gutter);
  color: var(--tw-on-primary);
  background: var(--tw-ink);
  box-shadow: var(--tw-shadow);
}

.tw-setup-savebar[hidden] {
  display: none;
}

.tw-setup-savebar-list {
  flex: 1;
  min-width: 0;
  max-height: 84px;
  overflow: auto;
  font-size: 12px;
}

.tw-setup-savebar-line {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tw-setup-savebar-old {
  opacity: 0.65;
  text-decoration: line-through;
}

@media (max-width: 991.98px) {
  .tw-setup {
    grid-template-columns: minmax(0, 1fr);
  }
  .tw-setup-rail {
    position: static;
    display: flex;
    overflow-x: auto;
  }
  .tw-setup-item {
    min-width: 240px;
  }
  .tw-setup-savebar {
    flex-wrap: wrap;
  }
  .tw-setup-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .tw-setup-savebar-button {
    min-height: 44px;
  }
}
/* Repair order flags (gs-service/manageRepairOrderFlags.volt, js/groups/ro-flags.js). Buttons, inputs and the page head come from Bootstrap and the shell.
   A flag's own colours are data: the script sets them inline. */
.ro-flags {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

.ro-flags ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ro-flags :focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 2px;
}

.ro-flags__head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}

.ro-flags__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  font-weight: 600;
}

.ro-flags__field .form-control, .ro-flags__field .form-select {
  font-size: var(--tw-text-sm);
  font-weight: 400;
  color: var(--tw-ink);
}

.ro-flags__field textarea {
  resize: vertical;
}

.ro-flags__field-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.ro-flags__field-top small {
  font-weight: 400;
  color: var(--tw-faint);
}

.ro-flags__help {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  font-weight: 400;
  margin: 0;
}

.ro-flags__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
}

.ro-flags__spacer {
  flex: 1;
}

/* the flag itself */
.ro-flags__flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--tw-radius-pill);
  font-size: var(--tw-text-xs);
  font-weight: 700;
  line-height: 1;
  border: 1px solid var(--tw-edge);
}

.ro-flags__flag span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ro-flags__flag i {
  flex: none;
  width: 14px;
  text-align: center;
}

.ro-flags__flag--lg {
  height: 34px;
  padding: 0 14px;
  font-size: var(--tw-text-sm);
}

.ro-flags__flag--plain {
  background: var(--tw-panel);
  color: var(--tw-ink);
}

.ro-flags__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--tw-edge-strong);
}

.ro-flags__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px 2px 7px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-surface);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tw-ink);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ro-flags__status b {
  color: var(--tw-text);
}

/* dashboard preview */
.ro-flags__preview {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
  margin-bottom: 16px;
}

.ro-flags__preview-heading {
  padding: 8px 16px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  border-bottom: 1px solid var(--tw-line);
}

.ro-flags__preview-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
}

.ro-flags__preview-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px;
  min-width: 0;
}

.ro-flags__preview-caption, .ro-flags__caption {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
}

.ro-flags__preview-caption:not(:first-child) {
  margin-top: 6px;
}

.ro-flags__caption {
  margin-bottom: 4px;
}

.ro-flags__dashboard-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr) 36px 36px;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--tw-edge);
  font-size: var(--tw-text-sm);
}

.ro-flags__dashboard-row > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ro-flags__dashboard-row-icon {
  font-size: 20px;
  text-align: center;
}

.ro-flags__status-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ro-flags__picker {
  border-left: 1px solid var(--tw-line);
  padding: 10px 12px;
  min-width: 0;
}

.ro-flags__picker li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: var(--tw-text-xs);
  white-space: nowrap;
  overflow: hidden;
}

.ro-flags__picker li span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.ro-flags__picker li i {
  width: 14px;
  text-align: center;
  color: var(--tw-muted);
  flex: none;
}

.ro-flags__picker .is-selected {
  background: var(--tw-hover);
  font-weight: 700;
  color: var(--tw-ink);
}

.ro-flags__picker .is-more {
  color: var(--tw-faint);
}

/* tabs */
.ro-flags__tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--tw-line);
  margin-bottom: 16px;
  overflow-x: auto;
  overflow-y: hidden;
}

.ro-flags__tabs button {
  border: 0;
  background: none;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--tw-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.ro-flags__tabs [aria-selected=true] {
  color: var(--tw-brand);
  border-bottom-color: var(--tw-brand);
}

.ro-flags__gap {
  flex: 1;
}

.ro-flags__count {
  display: inline-block;
  min-width: 20px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-surface);
  color: var(--tw-muted);
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.ro-flags__count--warn {
  background: var(--tw-alert);
  color: var(--tw-on-brand);
}

.ro-flags__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 16px;
  align-items: start;
}

/* list */
.ro-flags__tools {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.ro-flags__search {
  position: relative;
  flex: 1 1 200px;
  max-width: 320px;
}

.ro-flags__search i {
  position: absolute;
  left: 12px;
  top: 12px;
  color: var(--tw-faint);
}

.ro-flags__search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-pill);
  background: var(--tw-surface);
}

.ro-flags__filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ro-flags__filters button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-pill);
  background: var(--tw-panel);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.ro-flags__filters [aria-pressed=true] {
  background: var(--tw-ink);
  border-color: var(--tw-ink);
  color: var(--tw-panel);
}

.ro-flags__note {
  margin: 0;
  padding: 8px 16px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  background: var(--tw-surface);
  border-bottom: 1px solid var(--tw-line);
}

.ro-flags__row {
  display: grid;
  grid-template-columns: 28px minmax(0, 250px) minmax(0, 1fr) auto 64px;
  gap: 12px;
  align-items: center;
  padding: 8px 12px 8px 8px;
  border-bottom: 1px solid var(--tw-line);
  cursor: pointer;
}

.ro-flags__row:last-child {
  border-bottom: 0;
}

.ro-flags__row:hover {
  background: var(--tw-surface);
}

.ro-flags__row.is-selected {
  background: var(--tw-hover);
  box-shadow: inset 3px 0 0 var(--tw-brand);
}

.ro-flags__row.is-drag {
  opacity: 0.4;
}

.ro-flags__row.is-over {
  box-shadow: inset 0 2px 0 var(--tw-accent);
}

.ro-flags__grip {
  border: 0;
  background: none;
  width: 28px;
  height: 32px;
  color: var(--tw-faint);
  cursor: grab;
  border-radius: 6px;
}

.ro-flags__grip:hover {
  color: var(--tw-ink);
  background: var(--tw-line);
}

.ro-flags__grip:disabled {
  opacity: 0.3;
  cursor: default;
}

.ro-flags__row-flag {
  min-width: 0;
}

.ro-flags__row-text {
  min-width: 0;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
}

.ro-flags__row-text div {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ro-flags__system-name {
  color: var(--tw-faint);
}

.ro-flags__row-badges {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.ro-flags__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 22px;
  min-width: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--tw-surface);
  color: var(--tw-muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.ro-flags__badge--warn {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.ro-flags__row-use {
  text-align: right;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  white-space: nowrap;
}

.ro-flags__row-use b {
  display: block;
  color: var(--tw-ink);
  font-size: var(--tw-text-sm);
}

.ro-flags__row-use.is-zero b {
  color: var(--tw-faint);
  font-weight: 400;
}

/* details panel */
.ro-flags__panel {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ro-flags__panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.ro-flags__panel-flag {
  min-width: 0;
  display: flex;
}

.ro-flags__panel-head .ro-flags__flag {
  flex: 0 1 auto;
  min-width: 0;
}

.ro-flags__panel-head.is-shake {
  animation: ro-flags-shake 0.3s;
}

@keyframes ro-flags-shake {
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.ro-flags__panel-body {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ro-flags__panel-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--tw-line);
  background: var(--tw-panel);
}

.ro-flags__panel-blank {
  padding: 48px 24px;
  text-align: center;
  color: var(--tw-muted);
}

.ro-flags__panel-blank i {
  font-size: 28px;
  color: var(--tw-line);
  display: block;
  margin-bottom: 12px;
}

.ro-flags__panel-close {
  display: none;
}

.ro-flags__section {
  border-top: 1px solid var(--tw-line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ro-flags__section h3 {
  margin: 0;
  font-size: var(--tw-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-muted);
}

.ro-flags__built-in {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  color: var(--tw-text);
}

.ro-flags__built-in i {
  color: var(--tw-muted);
  margin-top: 2px;
}

.ro-flags__built-in b {
  display: block;
  color: var(--tw-ink);
}

.ro-flags__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ro-flags__swatches {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
}

.ro-flags__swatches button {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid var(--tw-edge);
  padding: 0;
  min-width: 0;
}

.ro-flags__swatches [aria-pressed=true] {
  outline: 2px solid var(--tw-ink);
  outline-offset: 2px;
}

.ro-flags__colour {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.ro-flags__colour [type=color] {
  width: 40px;
  height: 40px;
  padding: 2px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-control);
  background: var(--tw-panel);
}

.ro-flags__colour [type=text] {
  width: 96px;
  font-family: var(--tw-font-mono);
  text-transform: uppercase;
}

.ro-flags__choice {
  display: inline-flex;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-control);
  overflow: hidden;
}

.ro-flags__choice button {
  height: 38px;
  padding: 0 12px;
  border: 0;
  background: var(--tw-panel);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.ro-flags__choice button + button {
  border-left: 1px solid var(--tw-line);
}

.ro-flags__choice [aria-pressed=true] {
  background: var(--tw-ink);
  color: var(--tw-panel);
}

.ro-flags__contrast {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--tw-text-xs);
  padding: 8px 10px;
  border-radius: var(--tw-radius);
  background: var(--tw-tone-success-bg);
  color: var(--tw-tone-success-ink);
}

.ro-flags__contrast.is-bad {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.ro-flags__icons-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-control);
  background: var(--tw-panel);
  text-align: left;
}

.ro-flags__icons-button i:first-child {
  width: 18px;
  text-align: center;
  color: var(--tw-ink);
}

.ro-flags__icons-button span {
  flex: 1;
  color: var(--tw-ink);
  font-weight: 400;
}

.ro-flags__icons-popup {
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ro-flags__icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
  gap: 4px;
  max-height: 164px;
  overflow-y: auto;
}

.ro-flags__icons-grid button {
  height: 36px;
  border: 1px solid transparent;
  background: none;
  border-radius: 8px;
  color: var(--tw-text);
}

.ro-flags__icons-grid button:hover {
  background: var(--tw-hover);
}

.ro-flags__icons-grid [aria-pressed=true] {
  border-color: var(--tw-ink);
  background: var(--tw-hover);
}

.ro-flags__checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}

.ro-flags__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--tw-text-sm);
  color: var(--tw-ink);
  font-weight: 400;
}

.ro-flags__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--tw-primary);
  flex: none;
  margin: 0;
}

.ro-flags__switch {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ro-flags__switch input {
  appearance: none;
  flex: none;
  width: 40px;
  height: 24px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-line);
  position: relative;
  cursor: pointer;
  transition: background var(--tw-dur-fast);
  margin: 0;
}

.ro-flags__switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tw-panel);
  box-shadow: var(--tw-shadow-xs);
  transition: transform var(--tw-dur-fast);
}

.ro-flags__switch input:checked {
  background: var(--tw-primary);
}

.ro-flags__switch input:checked::after {
  transform: translateX(16px);
}

.ro-flags__switch b {
  display: block;
  color: var(--tw-ink);
  font-size: var(--tw-text-sm);
}

.ro-flags__switch small {
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
}

/* "except these people": chosen people as removable names, a search box, up to eight matches */
.ro-flags__people {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ro-flags__people:empty {
  display: none;
}

.ro-flags__person {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px 2px 10px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-surface);
  border: 1px solid var(--tw-line);
  color: var(--tw-ink);
  font-weight: 400;
}

.ro-flags__person button {
  border: 0;
  background: none;
  padding: 0 4px;
  color: var(--tw-muted);
}

.ro-flags__hits {
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-control);
}

.ro-flags__hits:empty {
  display: none;
}

.ro-flags__hits li {
  padding: 0;
}

.ro-flags__hits li + li {
  border-top: 1px solid var(--tw-line);
}

.ro-flags__hits button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 6px 10px;
  color: var(--tw-ink);
  font-weight: 400;
}

.ro-flags__hits button:hover {
  background: var(--tw-hover);
}

.ro-flags__hits .ro-flags__help {
  padding: 6px 10px;
}

/* checks and removed lists */
.ro-flags__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.ro-flags__list li:last-child {
  border-bottom: 0;
}

.ro-flags__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.ro-flags__icon--info {
  background: var(--tw-hover);
  color: var(--tw-brand);
}

.ro-flags__icon--ok {
  background: var(--tw-tone-success-bg);
  color: var(--tw-tone-success-ink);
}

.ro-flags__text {
  flex: 1;
  min-width: 0;
}

.ro-flags__text b {
  display: block;
  color: var(--tw-ink);
}

.ro-flags__text small {
  color: var(--tw-muted);
}

.ro-flags__list .ro-flags__flag {
  flex: none;
  max-width: 220px;
}

/* dialog */
.ro-flags__dialog {
  border: 0;
  padding: 0;
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow);
  width: min(520px, 100vw - 32px);
  color: var(--tw-text);
}

.ro-flags__dialog::backdrop {
  background: var(--tw-scrim);
}

.ro-flags__dialog-head {
  padding: 16px 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--tw-ink);
}

.ro-flags__dialog-body {
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ro-flags__dialog-body p {
  margin: 0;
}

.ro-flags__dialog-error {
  color: var(--tw-alert-ink);
  font-weight: 600;
}

.ro-flags__dialog-error:empty {
  display: none;
}

.ro-flags__dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--tw-line);
}

.ro-flags__radio {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ro-flags__scrim {
  position: fixed;
  inset: 0;
  background: var(--tw-scrim);
  z-index: 1040;
}

/* tablet and phone: details open as a sheet over the list */
@media (max-width: 1199.98px) {
  .ro-flags__grid {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  .ro-flags__row {
    grid-template-columns: 28px minmax(0, 220px) minmax(0, 1fr) auto 56px;
  }
}
@media (max-width: 991.98px) {
  .ro-flags__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ro-flags__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    width: min(440px, 100vw);
    max-height: none;
    border-radius: 0;
    border: 0;
    box-shadow: var(--tw-shadow);
    transform: translateX(105%);
    transition: transform var(--tw-dur) var(--tw-ease);
  }
  .ro-flags__panel.is-open {
    transform: none;
  }
  .ro-flags__panel-close {
    display: inline-flex;
  }
  .ro-flags__preview-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .ro-flags__picker {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .ro-flags__head .ro-flags__field, .ro-flags__head .btn {
    flex: 1 1 140px;
    justify-content: center;
  }
  .ro-flags__dashboard-row {
    grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.4fr) 28px 28px;
  }
  .ro-flags__dashboard-row-vehicle {
    display: none;
  }
  .ro-flags__row {
    grid-template-columns: 28px minmax(0, 1fr) auto 48px;
  }
  .ro-flags__row-text {
    display: none;
  }
  .ro-flags__search {
    max-width: none;
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ro-flags__panel, .ro-flags__switch input {
    transition: none;
  }
  .ro-flags__panel-head.is-shake {
    animation: none;
  }
}
/* a flag's own colours, set by the script as custom properties (data, not page styling) */
.ro-flags .ro-flags__paint-bg {
  background: var(--ro-flag-bg);
}

.ro-flags .ro-flags__paint-fg {
  color: var(--ro-flag-fg);
}

/* Repair order tools (gs-ro-tools/index.volt, js/groups/ro-tools.js). Buttons, inputs, alerts and the page head come from Bootstrap and the shell. */
.ro-tools {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

.ro-tools :focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 2px;
}

.ro-tools__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
}

.ro-tools__head {
  display: flex;
  justify-content: flex-end;
  padding: 0 0 16px;
}

.ro-tools__help {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  margin: 0;
}

.ro-tools__spacer {
  flex: 1;
}

.ro-tools__none {
  color: var(--tw-faint);
}

.ro-tools .is-busy {
  opacity: 0.6;
  cursor: progress;
}

/* the two entry cards */
.ro-tools__pick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 16px;
  margin-bottom: 16px;
}

.ro-tools__entry {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-top: 3px solid transparent;
}

.ro-tools__entry.is-on {
  border-top-color: var(--tw-brand);
}

.ro-tools__entry h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--tw-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ro-tools__entry h2 i {
  color: var(--tw-muted);
}

.ro-tools__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  font-weight: 600;
}

.ro-tools__field .form-control {
  font-size: var(--tw-text-sm);
  font-weight: 400;
  color: var(--tw-ink);
  font-variant-numeric: tabular-nums;
}

.ro-tools__field textarea {
  resize: vertical;
  min-height: 64px;
}

.ro-tools__entry-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.ro-tools__entry-foot .ro-tools__help {
  flex: 1;
}

/* found repair orders */
.ro-tools__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.ro-tools__group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ro-tools__group + .ro-tools__group {
  padding-left: 12px;
  border-left: 1px solid var(--tw-line);
}

.ro-tools__group .form-select {
  width: auto;
  max-width: 220px;
}

.ro-tools__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  color: var(--tw-ink);
}

.ro-tools__check input, .ro-tools__select {
  width: 18px;
  height: 18px;
  accent-color: var(--tw-primary);
}

.ro-tools__table {
  margin: 0;
  font-size: var(--tw-text-sm);
}

.ro-tools__table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
  white-space: nowrap;
  padding: 8px 12px;
}

.ro-tools__table td {
  padding: 10px 12px;
  vertical-align: middle;
}

.ro-tools__table tr:last-child td {
  border-bottom: 0;
}

.ro-tools__table .is-selected td {
  background: var(--tw-hover);
}

.ro-tools__table small {
  display: block;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
}

.ro-tools__number {
  font-weight: 700;
  color: var(--tw-ink);
  font-variant-numeric: tabular-nums;
}

.ro-tools__shared {
  display: inline-block;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.ro-tools__status {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: var(--tw-radius-pill);
  font-size: var(--tw-text-xs);
  font-weight: 700;
  white-space: nowrap;
  background: var(--tw-ok-bg);
  color: var(--tw-ok);
}

.ro-tools__status.is-closed {
  background: var(--tw-surface);
  color: var(--tw-text);
}

.ro-tools__missing {
  padding: 12px 16px;
  border-top: 1px solid var(--tw-line);
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
  border-radius: 0 0 var(--tw-radius-card) var(--tw-radius-card);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.ro-tools__missing p {
  margin: 0;
  flex: 1 1 100%;
}

/* confirmation */
.ro-tools__dialog {
  border: 0;
  padding: 0;
  border-radius: var(--tw-radius-card);
  width: min(520px, 100vw - 32px);
  box-shadow: var(--tw-shadow);
}

.ro-tools__dialog::backdrop {
  background: var(--tw-scrim);
}

.ro-tools__dialog h2 {
  margin: 0;
  padding: 16px 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--tw-ink);
}

.ro-tools__dialog-body {
  padding: 12px 20px 4px;
}

.ro-tools__dialog-body ul {
  padding-left: 18px;
  margin: 8px 0;
}

.ro-tools__dialog-body li {
  margin: 4px 0;
}

.ro-tools__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
  max-height: 160px;
  overflow: auto;
}

.ro-tools__chips span {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--tw-surface);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ro-tools__dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px 16px;
}

/* DMS record */
.ro-tools__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 16px;
  overflow: hidden;
}

.ro-tools__summary > div {
  padding: 12px 16px;
  border-right: 1px solid var(--tw-line);
  border-bottom: 1px solid var(--tw-line);
  margin: 0 -1px -1px 0;
  min-width: 0;
}

.ro-tools__summary small, .ro-tools__parts th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
  font-weight: 700;
}

.ro-tools__summary small {
  display: block;
}

.ro-tools__summary b {
  display: block;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

.ro-tools__state.is-open b {
  color: var(--tw-ok);
}

.ro-tools__state.is-closed b {
  color: var(--tw-muted);
}

.ro-tools__line {
  margin-bottom: 12px;
}

.ro-tools__line-head {
  display: flex;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.ro-tools__line-head b {
  color: var(--tw-ink);
}

.ro-tools__pay {
  margin-left: auto;
  padding: 1px 8px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  font-weight: 700;
}

.ro-tools__pill {
  padding: 1px 8px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
  font-size: 11px;
  font-weight: 700;
}

.ro-tools__line-body {
  padding: 8px 16px 12px;
}

.ro-tools__line-body p {
  margin: 4px 0;
  overflow-wrap: anywhere;
}

.ro-tools__parts {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: var(--tw-text-xs);
}

.ro-tools__parts th {
  text-align: left;
  padding: 4px 8px 4px 0;
  border-bottom: 1px solid var(--tw-line);
}

.ro-tools__parts td {
  padding: 4px 8px 4px 0;
}

.ro-tools__parts .ro-tools__amount {
  text-align: right;
  padding-right: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ro-tools__sum-row td {
  border-top: 1px solid var(--tw-line);
  font-weight: 600;
}

.ro-tools__sum-row + .ro-tools__sum-row td {
  border-top: 0;
}

.ro-tools__totals {
  display: flex;
  justify-content: flex-end;
  gap: 8px 24px;
  flex-wrap: wrap;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.ro-tools__totals b {
  color: var(--tw-ink);
  font-variant-numeric: tabular-nums;
}

.ro-tools__raw summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--tw-ink);
  cursor: pointer;
}

.ro-tools__raw summary .btn {
  margin-left: auto;
}

.ro-tools__raw pre {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--tw-line);
  background: var(--tw-surface);
  font-size: 12px;
  max-height: 360px;
  overflow: auto;
  border-radius: 0 0 var(--tw-radius-card) var(--tw-radius-card);
}

@media (max-width: 800px) {
  .ro-tools__pick {
    grid-template-columns: minmax(0, 1fr);
  }
  .ro-tools__entry-foot .btn {
    flex: 1;
  }
  .ro-tools__bar .ro-tools__spacer {
    display: none;
  }
  .ro-tools__group + .ro-tools__group {
    padding-left: 0;
    border-left: 0;
  }
  .ro-tools__table thead {
    display: none;
  }
  .ro-tools__table tr {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 2px 8px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--tw-line);
  }
  .ro-tools__table .is-selected {
    background: var(--tw-hover);
  }
  .ro-tools__table td, .ro-tools__table .is-selected td {
    border: 0;
    padding: 0;
    background: none;
  }
  .ro-tools__table td:first-child {
    grid-row: 1/span 6;
  }
  .ro-tools__table td:nth-child(n+3) {
    grid-column: 2/4;
  }
  .ro-tools__table td:nth-child(5) {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
  }
  .ro-tools__table [data-label]::before {
    content: attr(data-label) ": ";
    color: var(--tw-muted);
    font-size: var(--tw-text-xs);
  }
}
/* Multipoint categories (gs-service/multipointCategory.volt, js/groups/multipoint-categories.js). */
.mp-cats {
  padding-bottom: 64px;
}

.mp-cats [hidden] {
  display: none;
}

.mp-cats__head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}

.mp-cats__gap {
  flex: 1;
}

.mp-cats__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--tw-muted);
  font-weight: 600;
}

.mp-cats__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow-xs);
}

/* inspection outline */
.mp-cats__preview {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow-xs);
  margin-bottom: 16px;
}

.mp-cats__preview-cap {
  padding: 8px 16px;
  font-size: 12px;
  color: var(--tw-muted);
  border-bottom: 1px solid var(--tw-line);
}

.mp-cats__outline {
  columns: 4 200px;
  column-gap: 24px;
  padding: 14px 16px;
}

.mp-cats__ol {
  break-inside: avoid;
  padding: 4px 8px;
  margin-bottom: 4px;
  border-radius: 8px;
}

.mp-cats__ol.is-sub {
  margin: 4px 0 0 10px;
  padding: 2px 8px;
  border-left: 2px solid var(--tw-line);
  border-radius: 0 8px 8px 0;
}

.mp-cats__ol-name {
  font-weight: 700;
  color: var(--tw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-cats__ol.is-sub > .mp-cats__ol-name {
  font-weight: 600;
  font-size: 12px;
}

.mp-cats__ol-name i {
  color: var(--tw-muted);
  font-size: 12px;
  margin-left: 4px;
}

.mp-cats__ol-note {
  font-size: 11px;
  color: var(--tw-muted);
}

.mp-cats__ol.is-selected {
  background: var(--tw-hover);
  box-shadow: 0 0 0 2px var(--tw-brand-line);
}

/* tabs */
.mp-cats__tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--tw-line);
  margin-bottom: 16px;
  overflow-x: auto;
  overflow-y: hidden;
}

.mp-cats__tabs button {
  border: 0;
  background: none;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--tw-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.mp-cats__tabs [aria-selected=true] {
  color: var(--tw-brand);
  border-bottom-color: var(--tw-brand);
}

.mp-cats__count {
  display: inline-block;
  min-width: 20px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--tw-surface);
  color: var(--tw-muted);
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.mp-cats__count.is-wrong {
  background: var(--tw-alert);
  color: var(--tw-on-brand);
}

.mp-cats__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 16px;
  align-items: start;
}

/* list */
.mp-cats__tools {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.mp-cats__tools input {
  flex: 1 1 200px;
  max-width: 320px;
}

.mp-cats__pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mp-cats__pills button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--tw-line);
  border-radius: 999px;
  background: var(--tw-panel);
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-muted);
}

.mp-cats__pills [aria-pressed=true] {
  background: var(--tw-ink);
  border-color: var(--tw-ink);
  color: var(--tw-on-brand);
}

.mp-cats__note {
  margin: 0;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--tw-muted);
  background: var(--tw-surface);
  border-bottom: 1px solid var(--tw-line);
}

.mp-cats__rows, .mp-cats__list, .mp-cats__points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mp-cats__row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 76px;
  gap: 12px;
  align-items: center;
  padding: 8px 12px 8px 8px;
  border-bottom: 1px solid var(--tw-line);
  cursor: pointer;
}

.mp-cats__row:last-child {
  border-bottom: 0;
}

.mp-cats__row:hover {
  background: var(--tw-surface);
}

.mp-cats__row.is-selected {
  background: var(--tw-hover);
  box-shadow: inset 3px 0 0 var(--tw-brand);
}

.mp-cats__row.is-drag {
  opacity: 0.4;
}

.mp-cats__row.is-over {
  box-shadow: inset 0 2px 0 var(--tw-brand);
}

.mp-cats__grip {
  display: grid;
  place-items: center;
  width: 28px;
  height: 32px;
  color: var(--tw-faint);
  cursor: grab;
}

.mp-cats__grip.is-off {
  opacity: 0.3;
  cursor: default;
}

.mp-cats__name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-left: calc(var(--depth, 0) * 22px);
  color: var(--tw-ink);
}

.mp-cats__name b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.mp-cats__name i {
  color: var(--tw-faint);
  font-size: 12px;
  transform: rotate(90deg);
  flex: none;
}

.mp-cats__tags {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.mp-cats__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--tw-surface);
  color: var(--tw-muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.mp-cats__num {
  text-align: right;
  font-size: 12px;
  color: var(--tw-muted);
  white-space: nowrap;
}

.mp-cats__num b {
  display: block;
  color: var(--tw-ink);
  font-size: 14px;
}

.mp-cats__num.is-zero b {
  color: var(--tw-faint);
  font-weight: 400;
}

.mp-cats__empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--tw-muted);
}

.mp-cats__empty-tools {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.mp-cats__empty-tools select {
  width: auto;
}

.mp-cats__link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--tw-brand);
  font-weight: 600;
}

/* details panel */
.mp-cats__panel {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mp-cats__panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.mp-cats__panel-head b {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  color: var(--tw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-cats__panel-head.is-shake {
  animation: mp-cats-shake 0.3s;
}

@keyframes mp-cats-shake {
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.mp-cats__close {
  display: none;
  border: 0;
  background: none;
  width: 32px;
  height: 32px;
  color: var(--tw-muted);
}

.mp-cats__panel-body {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mp-cats__panel-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--tw-line);
}

.mp-cats__blank {
  padding: 48px 24px;
  text-align: center;
  color: var(--tw-muted);
}

.mp-cats__field-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.mp-cats__field-top small {
  font-weight: 400;
  color: var(--tw-faint);
}

.mp-cats__error {
  margin: 0;
  font-size: 12px;
  color: var(--tw-alert);
  font-weight: 600;
}

.mp-cats__warn {
  margin: 0;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: var(--tw-radius);
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
}

.mp-cats__sect {
  border-top: 1px solid var(--tw-line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mp-cats__sect h3 {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-muted);
}

.mp-cats__switch {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.mp-cats__switch.is-off {
  opacity: 0.5;
}

.mp-cats__switch input {
  appearance: none;
  flex: none;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: var(--tw-line);
  position: relative;
  cursor: pointer;
  margin: 0;
}

.mp-cats__switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tw-panel);
  box-shadow: var(--tw-shadow-xs);
  transition: transform 0.12s;
}

.mp-cats__switch input:checked {
  background: var(--tw-primary);
}

.mp-cats__switch input:checked::after {
  transform: translateX(16px);
}

.mp-cats__switch input:disabled {
  cursor: default;
}

.mp-cats__switch b {
  display: block;
  color: var(--tw-ink);
  font-size: 14px;
}

.mp-cats__switch small {
  color: var(--tw-muted);
  font-size: 12px;
}

.mp-cats__points {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}

.mp-cats__points li {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--tw-surface);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-cats__points .is-more {
  background: none;
  color: var(--tw-muted);
}

/* checks and removed */
.mp-cats__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.mp-cats__list li:last-child {
  border-bottom: 0;
}

.mp-cats__ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--tw-hover);
  color: var(--tw-brand);
}

.mp-cats__ico.is-wrong {
  background: var(--tw-alert-bg);
  color: var(--tw-alert);
}

.mp-cats__ico.is-ok {
  background: var(--tw-ok-bg);
  color: var(--tw-ok);
}

.mp-cats__txt {
  flex: 1;
  min-width: 0;
}

.mp-cats__txt b {
  display: block;
  color: var(--tw-ink);
}

.mp-cats__txt small {
  color: var(--tw-muted);
}

/* dialog, toast, sheet */
.mp-cats__dialog {
  border: 0;
  padding: 0;
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow);
  width: min(520px, 100vw - 32px);
}

.mp-cats__dialog::backdrop {
  background: var(--tw-scrim);
}

.mp-cats__dialog-head {
  padding: 16px 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--tw-ink);
}

.mp-cats__dialog-body {
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mp-cats__dialog-body p {
  margin: 0;
}

.mp-cats__dialog-body label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mp-cats__dialog-body label small {
  margin-left: auto;
  color: var(--tw-muted);
  white-space: nowrap;
}

.mp-cats__dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--tw-line);
}

.mp-cats__toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1060;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--tw-radius);
  background: var(--tw-ink);
  color: var(--tw-on-brand);
  box-shadow: var(--tw-shadow);
  max-width: calc(100vw - 32px);
}

.mp-cats__toast button {
  border: 0;
  background: none;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  padding: 0;
}

.mp-cats__scrim {
  position: fixed;
  inset: 0;
  background: var(--tw-scrim);
  z-index: 1040;
}

@media (max-width: 1199px) {
  .mp-cats__grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}
@media (max-width: 991px) {
  .mp-cats__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mp-cats__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    width: min(440px, 100vw);
    max-height: none;
    border-radius: 0;
    border: 0;
    box-shadow: var(--tw-shadow);
    transform: translateX(105%);
    transition: transform 0.2s;
  }
  .mp-cats__panel.is-open {
    transform: none;
  }
  .mp-cats__close {
    display: inline-block;
  }
}
@media (max-width: 767px) {
  .mp-cats__row {
    grid-template-columns: 28px minmax(0, 1fr) 68px;
  }
  .mp-cats__tags {
    display: none;
  }
  .mp-cats__outline {
    columns: 2 140px;
  }
  .mp-cats__tools input {
    max-width: none;
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mp-cats__panel, .mp-cats__switch input::after {
    transition: none;
  }
  .mp-cats__panel-head.is-shake {
    animation: none;
  }
}
/* Labor matrix (gs-service/manageLaborMatrix.volt, js/groups/labor-matrix.js). Buttons, inputs and the page
   head come from Bootstrap and the shell. */
.labor-matrix {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

.labor-matrix ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.labor-matrix :focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 2px;
}

.labor-matrix__spacer {
  flex: 1;
}

.labor-matrix__head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}

.labor-matrix__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  font-weight: 600;
}

.labor-matrix__field .form-control, .labor-matrix__field .form-select {
  font-size: var(--tw-text-sm);
  font-weight: 400;
  color: var(--tw-ink);
}

.labor-matrix__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
}

.labor-matrix__pad {
  padding: 16px;
}

.labor-matrix__heading {
  margin: 0 0 10px;
  font-size: var(--tw-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-muted);
}

.labor-matrix__use {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 16px;
  margin-bottom: 16px;
  border-radius: var(--tw-radius);
  background: var(--tw-tone-success-bg);
  color: var(--tw-ok);
  font-size: var(--tw-text-xs);
  font-weight: 600;
}

.labor-matrix__use.is-off {
  background: var(--tw-tone-warning-bg);
  color: var(--tw-warn);
}

.labor-matrix__use span {
  flex: 1 1 0;
  min-width: 180px;
}

.labor-matrix__use a {
  color: inherit;
  font-weight: 700;
  white-space: nowrap;
}

.labor-matrix__tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--tw-line);
  margin-bottom: 16px;
  overflow-x: auto;
  overflow-y: hidden;
}

.labor-matrix__tabs button {
  border: 0;
  background: none;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--tw-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.labor-matrix__tabs [aria-selected=true] {
  color: var(--tw-brand);
  border-bottom-color: var(--tw-brand);
}

.labor-matrix__tabs .is-add {
  color: var(--tw-accent);
}

.labor-matrix__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--tw-accent);
  vertical-align: middle;
}

.labor-matrix__count {
  display: inline-block;
  min-width: 20px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-alert);
  color: var(--tw-on-brand);
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.labor-matrix__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}

.labor-matrix__tools {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.labor-matrix__tool-buttons {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.labor-matrix__note {
  margin: 0;
  padding: 8px 16px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  background: var(--tw-surface);
  border-bottom: 1px solid var(--tw-line);
}

.labor-matrix__scroll {
  overflow-x: auto;
}

.labor-matrix__grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.labor-matrix__grid th {
  font-size: 11px;
  font-weight: 700;
  color: var(--tw-muted);
  padding: 8px;
  text-align: right;
  white-space: nowrap;
  background: var(--tw-panel);
}

.labor-matrix__grid .is-hours {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  padding-left: 16px;
  width: 64px;
  font-size: var(--tw-text-xs);
  color: var(--tw-ink);
  border-right: 1px solid var(--tw-line);
}

.labor-matrix__grid tbody .is-hours {
  border-top: 1px solid var(--tw-line);
}

.labor-matrix__grid td {
  padding: 0;
  min-width: 76px;
  border-top: 1px solid var(--tw-line);
  border-left: 1px solid var(--tw-line);
}

.labor-matrix__grid td:nth-child(2) {
  border-left: 0;
}

.labor-matrix__grid input {
  display: block;
  width: 100%;
  height: 36px;
  border: 0;
  background: none;
  text-align: right;
  padding: 0 10px;
  color: var(--tw-ink);
  font-variant-numeric: tabular-nums;
}

.labor-matrix__grid input::placeholder {
  color: var(--tw-warn);
}

.labor-matrix__grid input:focus {
  outline: 2px solid var(--tw-accent);
  outline-offset: -2px;
  background: var(--tw-panel);
}

.labor-matrix__grid .is-locked {
  color: var(--tw-text);
  cursor: default;
}

.labor-matrix__grid .is-dirty {
  background: var(--tw-tone-info-bg);
  box-shadow: inset 3px 0 0 var(--tw-accent);
}

.labor-matrix__grid .is-empty {
  background: var(--tw-tone-warning-bg);
}

.labor-matrix__grid .is-dip {
  background: var(--tw-alert-bg);
}

.labor-matrix__grid .is-dip input {
  color: var(--tw-alert-ink);
}

.labor-matrix__grid .is-hit {
  box-shadow: inset 0 0 0 2px var(--tw-ink);
}

.labor-matrix__legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.labor-matrix__legend-keys {
  margin-left: auto;
}

.labor-matrix__key {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: -2px;
  border: 1px solid var(--tw-edge);
}

.labor-matrix__key--dirty {
  background: var(--tw-tone-info-bg);
  box-shadow: inset 3px 0 0 var(--tw-accent);
}

.labor-matrix__key--empty {
  background: var(--tw-tone-warning-bg);
}

.labor-matrix__key--dip {
  background: var(--tw-alert-bg);
}

.labor-matrix__save {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--tw-line);
  background: var(--tw-panel);
  border-radius: 0 0 var(--tw-radius-card) var(--tw-radius-card);
  color: var(--tw-muted);
}

.labor-matrix__save.is-dirty {
  color: var(--tw-ink);
  font-weight: 600;
}

.labor-matrix__rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 16px;
}

.labor-matrix__result {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
}

.labor-matrix__result b {
  display: block;
  font-size: 24px;
  color: var(--tw-ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.labor-matrix__result small {
  display: block;
  margin-top: 4px;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
}

.labor-matrix__result.is-bad {
  background: var(--tw-tone-warning-bg);
}

.labor-matrix__result.is-bad b {
  font-size: var(--tw-text-sm);
  color: var(--tw-warn);
}

.labor-matrix__list li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: var(--tw-text-xs);
  color: var(--tw-text);
  border-top: 1px solid var(--tw-line);
}

.labor-matrix__list li:first-child {
  border-top: 0;
}

.labor-matrix__list li i {
  position: absolute;
  left: 2px;
  top: 8px;
  color: var(--tw-faint);
}

.labor-matrix__list .is-ok i {
  color: var(--tw-ok);
}

.labor-matrix__list .is-warn i {
  color: var(--tw-warn);
}

.labor-matrix__list .is-bad i {
  color: var(--tw-alert-ink);
}

.labor-matrix__list button {
  display: block;
  margin-top: 2px;
}

.labor-matrix__blank {
  padding: 32px 16px;
  text-align: center;
  color: var(--tw-muted);
}

.labor-matrix__blank > i {
  display: block;
  font-size: 32px;
  color: var(--tw-line);
  margin-bottom: 12px;
}

.labor-matrix__blank b {
  display: block;
  color: var(--tw-ink);
  font-size: 18px;
}

.labor-matrix__blank p {
  margin: 4px 0 16px;
}

.labor-matrix__blank-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.labor-matrix__dialog {
  border: 0;
  padding: 0;
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow);
  width: min(520px, 100vw - 32px);
  color: var(--tw-text);
}

.labor-matrix__dialog::backdrop {
  background: var(--tw-scrim);
}

.labor-matrix__dialog-head {
  padding: 16px 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--tw-ink);
}

.labor-matrix__dialog-body {
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.labor-matrix__dialog-body p {
  margin: 0;
}

.labor-matrix__dialog-body textarea {
  font-family: var(--tw-font-mono);
  font-size: var(--tw-text-xs);
}

.labor-matrix__dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--tw-line);
}

.labor-matrix__three {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 12px;
}

.labor-matrix__preview {
  padding: 8px 12px;
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  font-variant-numeric: tabular-nums;
}

.labor-matrix__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.labor-matrix__options label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--tw-ink);
}

.labor-matrix__options small {
  display: block;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
}

.labor-matrix__options .is-off {
  color: var(--tw-faint);
}

.labor-matrix.is-readonly .labor-matrix__tool-buttons,
.labor-matrix.is-readonly .labor-matrix__save,
.labor-matrix.is-readonly .labor-matrix__legend-keys,
.labor-matrix.is-readonly .labor-matrix__blank-actions {
  display: none;
}

@media (max-width: 1199px) {
  .labor-matrix__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .labor-matrix__rail {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .labor-matrix__rail {
    grid-template-columns: minmax(0, 1fr);
  }
  .labor-matrix__legend-keys {
    display: none;
  }
  .labor-matrix__tool-buttons .btn {
    flex: 1 1 auto;
  }
  .labor-matrix__three {
    grid-template-columns: 1fr 1fr;
  }
  .labor-matrix__three > :first-child {
    grid-column: 1/-1;
  }
}
/* Mileage based services (gs-service/mileageBasedServices.volt, js/groups/mileage-services.js). Buttons, inputs and the page head come from Bootstrap and the shell. */
.mbs {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

.mbs ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mbs :focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 2px;
}

.mbs [hidden] {
  display: none;
}

.mbs__head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}

.mbs__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  font-weight: 600;
}

.mbs__field .form-control, .mbs__field .form-select {
  font-size: var(--tw-text-sm);
  font-weight: 400;
  color: var(--tw-ink);
}

.mbs__field textarea {
  resize: vertical;
}

.mbs__field--narrow {
  max-width: 160px;
}

.mbs__field-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.mbs__field-top small {
  font-weight: 400;
  color: var(--tw-faint);
}

.mbs__help {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  font-weight: 400;
  margin: 0;
}

.mbs__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
}

.mbs__spacer {
  flex: 1;
}

.mbs__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* where the services show */
.mbs__where {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.mbs__where-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  min-width: 0;
}

.mbs__where-item + .mbs__where-item {
  border-left: 1px solid var(--tw-line);
}

.mbs__where-icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tw-tone-success-bg);
  color: var(--tw-tone-success-ink);
}

.mbs__where-item.is-off .mbs__where-icon {
  background: var(--tw-surface);
  color: var(--tw-faint);
}

.mbs__where-item b {
  display: block;
  color: var(--tw-ink);
}

.mbs__where-item small {
  display: block;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
}

.mbs__where-item.is-off b {
  color: var(--tw-muted);
}

.mbs__where-state {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-tone-success-ink);
}

.mbs__where-item.is-off .mbs__where-state {
  color: var(--tw-faint);
}

/* tabs */
.mbs__tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--tw-line);
  margin-bottom: 16px;
  overflow-x: auto;
  overflow-y: hidden;
}

.mbs__tabs button {
  border: 0;
  background: none;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--tw-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.mbs__tabs [aria-selected=true] {
  color: var(--tw-brand);
  border-bottom-color: var(--tw-brand);
}

.mbs__count {
  display: inline-block;
  min-width: 20px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-surface);
  color: var(--tw-muted);
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.mbs__count--warn {
  background: var(--tw-alert);
  color: var(--tw-on-brand);
}

.mbs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 16px;
  align-items: start;
}

/* list */
.mbs__tools {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.mbs__search {
  position: relative;
  flex: 1 1 200px;
  max-width: 320px;
}

.mbs__search i {
  position: absolute;
  left: 12px;
  top: 12px;
  color: var(--tw-faint);
}

.mbs__search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-pill);
  background: var(--tw-surface);
}

.mbs__pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mbs__pills button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-pill);
  background: var(--tw-panel);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.mbs__pills [aria-pressed=true] {
  background: var(--tw-ink);
  border-color: var(--tw-ink);
  color: var(--tw-panel);
}

.mbs__note {
  margin: 0;
  padding: 8px 16px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  background: var(--tw-surface);
  border-bottom: 1px solid var(--tw-line);
}

.mbs__group-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: var(--tw-surface);
  border-bottom: 1px solid var(--tw-line);
}

.mbs__group + .mbs__group .mbs__group-head {
  border-top: 1px solid var(--tw-line);
}

.mbs__group-fold {
  border: 0;
  background: none;
  width: 28px;
  height: 32px;
  color: var(--tw-muted);
  border-radius: 6px;
}

.mbs__group-fold:hover {
  background: var(--tw-line);
  color: var(--tw-ink);
}

.mbs__group-head b {
  color: var(--tw-ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mbs__group-head .mbs__count {
  background: var(--tw-panel);
  margin-left: 0;
}

.mbs__row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 92px 56px;
  gap: 12px;
  align-items: center;
  padding: 8px 12px 8px 8px;
  border-bottom: 1px solid var(--tw-line);
  cursor: pointer;
}

.mbs__row:last-child {
  border-bottom: 0;
}

.mbs__row:hover {
  background: var(--tw-surface);
}

.mbs__row.is-selected {
  background: var(--tw-hover);
  box-shadow: inset 3px 0 0 var(--tw-brand);
}

.mbs__row.is-drag {
  opacity: 0.4;
}

.mbs__row.is-over {
  box-shadow: inset 0 2px 0 var(--tw-accent);
}

.mbs__grip {
  border: 0;
  background: none;
  width: 28px;
  height: 32px;
  color: var(--tw-faint);
  cursor: grab;
  border-radius: 6px;
}

.mbs__grip:hover {
  color: var(--tw-ink);
  background: var(--tw-line);
}

.mbs__grip:disabled {
  opacity: 0.3;
  cursor: default;
}

.mbs__row-name {
  min-width: 0;
}

.mbs__row-name b {
  display: block;
  color: var(--tw-ink);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mbs__row-name small {
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
}

.mbs__row-name em {
  color: var(--tw-faint);
  font-weight: 400;
}

.mbs__row-price {
  text-align: right;
  font-weight: 700;
  color: var(--tw-ink);
  white-space: nowrap;
}

.mbs__row-price.is-none {
  font-weight: 400;
  color: var(--tw-faint);
}

.mbs__row.is-off .mbs__row-name b, .mbs__row.is-off .mbs__row-price {
  color: var(--tw-faint);
}

.mbs__row-tags {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.mbs__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 22px;
  min-width: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--tw-surface);
  color: var(--tw-muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.mbs__tag--warn {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.mbs__row-use {
  text-align: right;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  white-space: nowrap;
}

.mbs__row-use b {
  display: block;
  color: var(--tw-ink);
  font-size: var(--tw-text-sm);
}

.mbs__row-use.is-zero b {
  color: var(--tw-faint);
  font-weight: 400;
}

/* details panel */
.mbs__panel {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mbs__panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.mbs__panel-head.is-shake {
  animation: mbs-shake 0.3s;
}

@keyframes mbs-shake {
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.mbs__panel-title {
  font-size: 16px;
  color: var(--tw-ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mbs__panel-sub {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  white-space: nowrap;
}

.mbs__panel-body {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mbs__panel-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--tw-line);
  background: var(--tw-panel);
}

.mbs__panel-blank {
  padding: 48px 24px;
  text-align: center;
  color: var(--tw-muted);
}

.mbs__panel-blank i {
  font-size: 28px;
  color: var(--tw-line);
  display: block;
  margin-bottom: 12px;
}

.mbs__panel-close {
  display: none;
}

.mbs__section {
  border-top: 1px solid var(--tw-line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mbs__section h3 {
  margin: 0;
  font-size: var(--tw-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-muted);
}

.mbs__sysbox {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  color: var(--tw-text);
}

.mbs__sysbox i {
  color: var(--tw-muted);
  margin-top: 2px;
}

.mbs__sysbox b {
  display: block;
  color: var(--tw-ink);
}

.mbs__two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mbs__three {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 10px;
}

.mbs__choice {
  display: inline-flex;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-control);
  overflow: hidden;
  align-self: flex-start;
}

.mbs__choice button {
  height: 38px;
  padding: 0 12px;
  border: 0;
  background: var(--tw-panel);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.mbs__choice button + button {
  border-left: 1px solid var(--tw-line);
}

.mbs__choice [aria-pressed=true] {
  background: var(--tw-ink);
  color: var(--tw-panel);
}

.mbs__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--tw-text-sm);
  color: var(--tw-ink);
  font-weight: 400;
}

.mbs__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--tw-primary);
  flex: none;
  margin: 0;
}

.mbs__switch {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.mbs__switch input {
  appearance: none;
  flex: none;
  width: 40px;
  height: 24px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-line);
  position: relative;
  cursor: pointer;
  transition: background var(--tw-dur-fast);
  margin: 0;
}

.mbs__switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tw-panel);
  box-shadow: var(--tw-shadow-xs);
  transition: transform var(--tw-dur-fast);
}

.mbs__switch input:checked {
  background: var(--tw-primary);
}

.mbs__switch input:checked::after {
  transform: translateX(16px);
}

.mbs__switch b {
  display: block;
  color: var(--tw-ink);
  font-size: var(--tw-text-sm);
}

.mbs__switch small {
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
}

/* work lines */
.mbs__op-card {
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  background: var(--tw-panel);
}

.mbs__op-card.is-open {
  border-color: var(--tw-ink);
}

.mbs__op-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  background: none;
  text-align: left;
  border-radius: var(--tw-radius);
}

.mbs__op-head:hover {
  background: var(--tw-surface);
}

.mbs__op-desc {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--tw-text-xs);
  color: var(--tw-text);
}

.mbs__op-head b {
  color: var(--tw-ink);
  white-space: nowrap;
}

.mbs__op-head > i {
  color: var(--tw-muted);
  font-size: 11px;
  width: 12px;
}

.mbs__op-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-top: 1px solid var(--tw-line);
}

.mbs__op {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--tw-line);
  background: var(--tw-panel);
  font-family: var(--tw-font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tw-ink);
  white-space: nowrap;
}

.mbs__op--none {
  border-style: dashed;
  color: var(--tw-faint);
  font-family: inherit;
  font-weight: 400;
}

.mbs__op--bad {
  border-color: var(--tw-alert-ink);
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.mbs__op-input {
  font-family: var(--tw-font-mono);
  text-transform: uppercase;
}

.mbs__parts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mbs__part {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 48px 72px 28px;
  gap: 6px;
  align-items: center;
}

.mbs__part input {
  min-width: 0;
  width: 100%;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-control);
  background: var(--tw-panel);
  font-size: var(--tw-text-xs);
}

.mbs__part--caption {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
}

.mbs__op-foot {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mbs__totals {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 10px 12px;
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.mbs__totals b {
  text-align: right;
  color: var(--tw-ink);
}

.mbs__totals .is-sum {
  font-size: var(--tw-text-sm);
  color: var(--tw-ink);
  font-weight: 700;
  padding-top: 4px;
  border-top: 1px solid var(--tw-line);
}

.mbs__used {
  margin: 0;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

/* checks */
.mbs__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.mbs__list li:last-child {
  border-bottom: 0;
}

.mbs__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.mbs__icon--info {
  background: var(--tw-hover);
  color: var(--tw-brand);
}

.mbs__icon--ok {
  background: var(--tw-tone-success-bg);
  color: var(--tw-tone-success-ink);
}

.mbs__text {
  flex: 1;
  min-width: 0;
}

.mbs__text b {
  display: block;
  color: var(--tw-ink);
}

.mbs__text small {
  color: var(--tw-muted);
}

/* dialog */
.mbs__dialog {
  border: 0;
  padding: 0;
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow);
  width: min(520px, 100vw - 32px);
  color: var(--tw-text);
}

.mbs__dialog--wide {
  width: min(640px, 100vw - 32px);
}

.mbs__dialog::backdrop {
  background: var(--tw-scrim);
}

.mbs__dlg-head {
  padding: 16px 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--tw-ink);
}

.mbs__dlg-body {
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mbs__dlg-body p {
  margin: 0;
}

.mbs__dlg-error {
  color: var(--tw-alert-ink);
  font-weight: 600;
}

.mbs__dlg-error:empty {
  display: none;
}

.mbs__dlg-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--tw-line);
}

.mbs__radio {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mbs__targets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 26px;
}

.mbs__targets small {
  color: var(--tw-muted);
  margin-left: auto;
  white-space: nowrap;
}

.mbs__scrim {
  position: fixed;
  inset: 0;
  background: var(--tw-scrim);
  z-index: 1040;
}

.mbs__try {
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  overflow: hidden;
}

.mbs__try-cap {
  padding: 8px 12px;
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  border-bottom: 1px solid var(--tw-line);
}

.mbs__try-cap b {
  color: var(--tw-ink);
}

.mbs__try li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 8px 12px;
  border-bottom: 1px solid var(--tw-line);
}

.mbs__try li:last-child {
  border-bottom: 0;
}

.mbs__try li span {
  flex: 1;
  min-width: 0;
}

.mbs__try li small {
  display: block;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mbs__try li b {
  color: var(--tw-ink);
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .mbs__grid {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  .mbs__row {
    grid-template-columns: 28px minmax(0, 1fr) auto 84px;
  }
  .mbs__row-use {
    display: none;
  }
}
@media (max-width: 991.98px) {
  .mbs__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mbs__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    width: min(440px, 100vw);
    max-height: none;
    border-radius: 0;
    border: 0;
    box-shadow: var(--tw-shadow);
    transform: translateX(105%);
    transition: transform var(--tw-dur) var(--tw-ease);
  }
  .mbs__panel.is-open {
    transform: none;
  }
  .mbs__panel-close {
    display: inline-flex;
  }
}
@media (max-width: 767.98px) {
  .mbs__head .mbs__field, .mbs__head .btn {
    flex: 1 1 140px;
    justify-content: center;
  }
  .mbs__where {
    grid-template-columns: minmax(0, 1fr);
  }
  .mbs__where-item + .mbs__where-item {
    border-left: 0;
    border-top: 1px solid var(--tw-line);
  }
  .mbs__row {
    grid-template-columns: 28px minmax(0, 1fr) 84px;
  }
  .mbs__row-tags {
    display: none;
  }
  .mbs__group-head .btn span {
    display: none;
  }
  .mbs__three {
    grid-template-columns: 1fr 1fr;
  }
  .mbs__three > :first-child {
    grid-column: 1/-1;
  }
  .mbs__search {
    max-width: none;
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mbs__panel, .mbs__switch input {
    transition: none;
  }
  .mbs__panel-head.is-shake {
    animation: none;
  }
}
/* Recommended parts (gs-recommended-parts/index.volt, js/groups/recommended-parts.js).
   Buttons, badges and alerts come from Bootstrap; the page head from the shell. */
.rec-parts {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

.rec-parts :focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 2px;
}

.rec-parts__spacer {
  flex: 1;
}

.rec-parts__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
}

.rec-parts__help {
  margin: 0;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.rec-parts__stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: 16px;
}

.rec-parts__stat {
  flex: 0 0 auto;
  min-width: 150px;
  padding: 12px 16px;
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
}

.rec-parts__stat b {
  display: block;
  font-size: 18px;
  color: var(--tw-ink);
}

.rec-parts__stat span {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.rec-parts__how {
  flex: 1 1 420px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border: 1px dashed var(--tw-line);
  border-radius: var(--tw-radius-card);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.rec-parts__how span i {
  color: var(--tw-brand);
  margin-right: 4px;
}

.rec-parts__how > i {
  color: var(--tw-faint);
}

.rec-parts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 16px;
  align-items: start;
}

.rec-parts__tools {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.rec-parts__search {
  position: relative;
  flex: 1 1 200px;
  max-width: 320px;
}

.rec-parts__search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tw-faint);
}

.rec-parts__search .form-control {
  padding-left: 34px;
}

.rec-parts__bulk {
  display: flex;
  gap: 8px;
}

.rec-parts__row {
  display: grid;
  grid-template-columns: 48px 110px minmax(0, 1fr) 110px 110px;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--tw-line);
  cursor: pointer;
}

.rec-parts__row:hover {
  background: var(--tw-surface);
}

.rec-parts__row.is-selected {
  background: var(--tw-hover);
  box-shadow: inset 3px 0 0 var(--tw-brand);
}

.rec-parts__row--head {
  min-height: 0;
  cursor: default;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
  background: var(--tw-surface);
}

.rec-parts__switch {
  display: flex;
  margin: 0;
}

.rec-parts__switch input {
  appearance: none;
  flex: none;
  width: 40px;
  height: 24px;
  margin: 0;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-line);
  position: relative;
  cursor: pointer;
  transition: background var(--tw-dur-fast);
}

.rec-parts__switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tw-panel);
  box-shadow: var(--tw-shadow-xs);
  transition: transform var(--tw-dur-fast);
}

.rec-parts__switch input:checked {
  background: var(--tw-primary);
}

.rec-parts__switch input:checked::after {
  transform: translateX(16px);
}

.rec-parts__switch input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.rec-parts__switch.is-saving input {
  opacity: 0.6;
  cursor: progress;
}

.rec-parts__code {
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 700;
  color: var(--tw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rec-parts__desc {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rec-parts__desc--none {
  color: var(--tw-faint);
}

.rec-parts__num {
  text-align: right;
}

.rec-parts__num b {
  color: var(--tw-ink);
}

.rec-parts__bar {
  display: block;
  height: 4px;
  margin-top: 4px;
  border-radius: 2px;
  background: var(--tw-line);
  overflow: hidden;
}

.rec-parts__bar i {
  display: block;
  width: var(--rec-parts-fill, 0);
  height: 100%;
  background: var(--tw-brand);
}

.rec-parts__last {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  white-space: nowrap;
}

.rec-parts__foot {
  margin: 0;
  padding: 8px 16px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.rec-parts__panel {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rec-parts__panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.rec-parts__panel-head b {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 16px;
  color: var(--tw-ink);
}

.rec-parts__close {
  display: none;
}

.rec-parts__panel-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  overflow-y: auto;
}

.rec-parts__blank {
  padding: 48px 24px;
  text-align: center;
  color: var(--tw-muted);
}

.rec-parts__blank i {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
  color: var(--tw-line);
}

.rec-parts__counts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.rec-parts__counts div {
  padding: 10px 12px;
  background: var(--tw-surface);
  border-radius: var(--tw-radius);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.rec-parts__counts b {
  display: block;
  font-size: 16px;
  color: var(--tw-ink);
}

.rec-parts__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--tw-line);
}

.rec-parts__section h2 {
  margin: 0;
  font-size: var(--tw-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-muted);
}

.rec-parts__vehicles {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.rec-parts__table {
  margin: 0;
  font-size: var(--tw-text-xs);
}

.rec-parts__scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--tw-scrim);
}

.rec-parts__toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border-radius: var(--tw-radius);
  background: var(--tw-ink);
  color: var(--tw-on-brand);
  box-shadow: var(--tw-shadow);
}

.rec-parts__toast button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.rec-parts [hidden] {
  display: none;
}

@media (max-width: 1199px) {
  .rec-parts__grid {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
}
@media (max-width: 991px) {
  .rec-parts__how {
    display: none;
  }
  .rec-parts__stat {
    flex: 1 1 140px;
  }
  .rec-parts__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rec-parts__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    width: min(440px, 100vw);
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: var(--tw-shadow);
    transform: translateX(105%);
    transition: transform var(--tw-dur) var(--tw-ease);
  }
  .rec-parts__panel.is-open {
    transform: none;
  }
  .rec-parts__close {
    display: inline-block;
  }
  .rec-parts__scrim:not([hidden]) {
    display: block;
  }
}
@media (max-width: 767px) {
  .rec-parts__row--head {
    display: none;
  }
  .rec-parts__row {
    grid-template-columns: 48px minmax(0, 1fr) 64px;
    row-gap: 0;
  }
  .rec-parts__row > .rec-parts__switch {
    grid-row: 1/span 2;
  }
  .rec-parts__row > .rec-parts__code {
    grid-column: 2;
  }
  .rec-parts__row > .rec-parts__desc {
    grid-column: 2;
    grid-row: 2;
    font-size: var(--tw-text-xs);
    color: var(--tw-muted);
  }
  .rec-parts__row > .rec-parts__num {
    grid-column: 3;
    grid-row: 1/span 2;
  }
  .rec-parts__row > .rec-parts__last {
    display: none;
  }
  .rec-parts__search {
    max-width: none;
    flex-basis: 100%;
  }
  .rec-parts__bulk {
    flex: 1 1 100%;
  }
  .rec-parts__bulk .btn {
    flex: 1 1 120px;
  }
  .rec-parts__spacer {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rec-parts__panel, .rec-parts__switch input, .rec-parts__switch input::after {
    transition: none;
  }
}
/* Dashboard columns (gs-service-reporting/partials/dashboardColumns.volt, js/groups/dashboard-columns.js). */
.dash-cols {
  padding-bottom: 64px;
}

.dash-cols [hidden] {
  display: none;
}

.dash-cols__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}

.dash-cols__source {
  flex: 1 1 260px;
  font-size: 12px;
  color: var(--tw-muted);
}

.dash-cols__dirty {
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-muted);
}

.dash-cols__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow-xs);
}

.dash-cols__link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--tw-brand);
  font-weight: 600;
}

/* preview */
.dash-cols__preview {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow-xs);
  margin-bottom: 16px;
}

.dash-cols__preview-cap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--tw-muted);
  border-bottom: 1px solid var(--tw-line);
}

.dash-cols__preview-cap > span {
  flex: 1 1 260px;
}

.dash-cols__seg {
  display: inline-flex;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  overflow: hidden;
}

.dash-cols__seg button {
  height: 32px;
  padding: 0 12px;
  border: 0;
  background: var(--tw-panel);
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-muted);
}

.dash-cols__seg button + button {
  border-left: 1px solid var(--tw-line);
}

.dash-cols__seg [aria-pressed=true] {
  background: var(--tw-ink);
  color: var(--tw-on-brand);
}

.dash-cols__preview-body {
  padding: 12px 16px;
}

.dash-cols__frame {
  margin: 0 auto;
  max-width: 100%;
  border: 1px solid var(--tw-line);
  border-radius: 8px;
  overflow-x: auto;
}

.dash-cols__frame.is-tablet {
  max-width: 820px;
}

.dash-cols__frame.is-phone {
  max-width: 390px;
}

.dash-cols__table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  white-space: nowrap;
}

.dash-cols__table th {
  padding: 8px 10px;
  font-weight: 700;
  color: var(--tw-ink);
  background: var(--tw-surface);
  border-bottom: 1px solid var(--tw-line);
  cursor: pointer;
  text-align: center;
}

.dash-cols__table th:hover {
  background: var(--tw-hover);
}

.dash-cols__table th i {
  color: var(--tw-muted);
  font-size: 10px;
}

.dash-cols__table td {
  padding: 10px;
  text-align: center;
}

.dash-cols__table td > i {
  color: var(--tw-muted);
}

.dash-cols__table .is-selected {
  background: var(--tw-hover);
}

.dash-cols__th.is-selected {
  box-shadow: inset 0 -3px 0 var(--tw-brand);
}

.dash-cols__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  border: 1px solid var(--tw-line);
  border-radius: 999px;
  background: var(--tw-surface);
  font-weight: 700;
  color: var(--tw-ink);
}

.dash-cols__fold {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--tw-muted);
}

.dash-cols__none {
  padding: 24px;
  text-align: center;
  color: var(--tw-muted);
}

.dash-cols__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 16px;
  align-items: start;
}

/* list */
.dash-cols__tools {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.dash-cols__tools input {
  flex: 1 1 200px;
  max-width: 320px;
}

.dash-cols__pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dash-cols__pills button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--tw-line);
  border-radius: 999px;
  background: var(--tw-panel);
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-muted);
}

.dash-cols__pills [aria-pressed=true] {
  background: var(--tw-ink);
  border-color: var(--tw-ink);
  color: var(--tw-on-brand);
}

.dash-cols__note {
  margin: 0;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--tw-muted);
  background: var(--tw-surface);
  border-bottom: 1px solid var(--tw-line);
}

.dash-cols__note.is-warn {
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
}

.dash-cols__note.is-wrong {
  background: var(--tw-alert-bg);
  color: var(--tw-alert);
}

.dash-cols__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dash-cols__cap {
  padding: 8px 16px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-muted);
  background: var(--tw-surface);
  border-bottom: 1px solid var(--tw-line);
}

.dash-cols__row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 40px;
  gap: 12px;
  align-items: center;
  padding: 8px 12px 8px 8px;
  border-bottom: 1px solid var(--tw-line);
  cursor: pointer;
}

.dash-cols__row:last-child {
  border-bottom: 0;
}

.dash-cols__row:hover {
  background: var(--tw-surface);
}

.dash-cols__row.is-selected {
  background: var(--tw-hover);
  box-shadow: inset 3px 0 0 var(--tw-brand);
}

.dash-cols__row.is-drag {
  opacity: 0.4;
}

.dash-cols__row.is-over {
  box-shadow: inset 0 2px 0 var(--tw-brand);
}

.dash-cols__grip {
  display: grid;
  place-items: center;
  width: 28px;
  height: 32px;
  color: var(--tw-faint);
  cursor: grab;
}

.dash-cols__grip.is-off {
  opacity: 0.3;
  cursor: default;
}

.dash-cols__name {
  min-width: 0;
}

.dash-cols__name b {
  display: block;
  color: var(--tw-ink);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-cols__name small {
  display: block;
  color: var(--tw-muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-cols__row.is-off .dash-cols__name b {
  color: var(--tw-muted);
  font-weight: 400;
}

.dash-cols__tags {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.dash-cols__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--tw-surface);
  color: var(--tw-muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.dash-cols__empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--tw-muted);
}

/* details panel */
.dash-cols__panel {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dash-cols__panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.dash-cols__panel-head b {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  color: var(--tw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-cols__close {
  display: none;
  border: 0;
  background: none;
  width: 32px;
  height: 32px;
  color: var(--tw-muted);
}

.dash-cols__panel-body {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-cols__blank {
  padding: 48px 24px;
  text-align: center;
  color: var(--tw-muted);
}

.dash-cols__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--tw-muted);
  font-weight: 600;
}

.dash-cols__field-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.dash-cols__field-top small {
  font-weight: 400;
  color: var(--tw-faint);
}

.dash-cols__help {
  margin: 0;
  font-size: 12px;
  color: var(--tw-muted);
}

.dash-cols__error {
  margin: 0;
  font-size: 12px;
  color: var(--tw-alert);
  font-weight: 600;
}

.dash-cols__sect {
  border-top: 1px solid var(--tw-line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-cols__sect h3 {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-muted);
}

.dash-cols__pos {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--tw-muted);
}

.dash-cols__pos span {
  flex: 1;
}

.dash-cols__switch {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
}

.dash-cols__switch.is-off {
  opacity: 0.55;
}

.dash-cols__switch input {
  appearance: none;
  flex: none;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: var(--tw-line);
  position: relative;
  cursor: pointer;
  margin: 0;
}

.dash-cols__switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tw-panel);
  box-shadow: var(--tw-shadow-xs);
  transition: transform 0.12s;
}

.dash-cols__switch input:checked {
  background: var(--tw-primary);
}

.dash-cols__switch input:checked::after {
  transform: translateX(16px);
}

.dash-cols__switch input:disabled {
  cursor: default;
  opacity: 0.45;
}

.dash-cols__switch b {
  display: block;
  color: var(--tw-ink);
  font-size: 14px;
}

.dash-cols__switch small {
  color: var(--tw-muted);
  font-size: 12px;
}

.dash-cols__option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  cursor: pointer;
}

.dash-cols__option.is-picked {
  border-color: var(--tw-ink);
  background: var(--tw-hover);
}

.dash-cols__option input {
  margin: 3px 0 0;
  accent-color: var(--tw-primary);
}

.dash-cols__option b {
  display: block;
  color: var(--tw-ink);
  font-size: 14px;
}

.dash-cols__option small {
  color: var(--tw-muted);
  font-size: 12px;
}

/* dialog, toast, sheet */
.dash-cols__dialog {
  border: 0;
  padding: 0;
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow);
  width: min(520px, 100vw - 32px);
}

.dash-cols__dialog::backdrop {
  background: var(--tw-scrim);
}

.dash-cols__dialog-head {
  padding: 16px 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--tw-ink);
}

.dash-cols__dialog-body {
  padding: 12px 20px 16px;
}

.dash-cols__dialog-body p {
  margin: 0;
}

.dash-cols__dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--tw-line);
}

.dash-cols__toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1060;
  padding: 12px 16px;
  border-radius: var(--tw-radius);
  background: var(--tw-ink);
  color: var(--tw-on-brand);
  box-shadow: var(--tw-shadow);
  max-width: calc(100vw - 32px);
}

.dash-cols__scrim {
  position: fixed;
  inset: 0;
  background: var(--tw-scrim);
  z-index: 1040;
}

@media (max-width: 1199px) {
  .dash-cols__grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}
@media (max-width: 991px) {
  .dash-cols__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .dash-cols__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    width: min(440px, 100vw);
    max-height: none;
    border-radius: 0;
    border: 0;
    box-shadow: var(--tw-shadow);
    transform: translateX(105%);
    transition: transform 0.2s;
  }
  .dash-cols__panel.is-open {
    transform: none;
  }
  .dash-cols__close {
    display: inline-block;
  }
}
@media (max-width: 767px) {
  .dash-cols__row {
    grid-template-columns: 28px minmax(0, 1fr) 40px;
  }
  .dash-cols__tags {
    display: none;
  }
  .dash-cols__tools input {
    max-width: none;
    flex-basis: 100%;
  }
  .dash-cols__head .btn {
    flex: 1 1 140px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dash-cols__panel, .dash-cols__switch input::after {
    transition: none;
  }
}
/* Audit log (gs-audit-log/index.volt, js/groups/audit-log.js). Buttons, inputs, alerts and the page head come from Bootstrap and the shell. */
.audit-log {
  --al-cols: 96px 140px 130px 160px minmax(0, 1fr);
  --al-record: 170px;
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

.audit-log.is-one-rooftop {
  --al-cols: 96px 150px 170px minmax(0, 1fr);
}

.audit-log :focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 2px;
}

.audit-log .is-busy {
  opacity: 0.6;
  cursor: progress;
}

.audit-log__head {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}

.audit-log__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
  overflow: hidden;
}

.audit-log__foot {
  margin: 12px 4px 0;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

/* one record or one entry */
.audit-log__banner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: var(--tw-radius-card);
  background: var(--tw-ink);
  color: var(--tw-on-dark);
}

.audit-log__banner-text {
  flex: 1 1 220px;
  min-width: 0;
}

.audit-log__banner-text b {
  display: block;
  font-size: 16px;
}

.audit-log__banner-text small {
  font-size: var(--tw-text-xs);
  opacity: 0.85;
}

/* search, quick filters and the filter form */
.audit-log__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.audit-log__search {
  position: relative;
  flex: 1 1 220px;
  max-width: 380px;
  margin: 0;
}

.audit-log__search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tw-faint);
}

.audit-log__search .form-control {
  padding-left: 34px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-surface);
}

.audit-log__kinds {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.audit-log__kind {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-pill);
  background: var(--tw-panel);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.audit-log__kind[aria-pressed=true] {
  background: var(--tw-ink);
  border-color: var(--tw-ink);
  color: var(--tw-on-dark);
}

.audit-log__toggle {
  display: none;
  margin-left: auto;
}

.audit-log__filters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  align-items: end;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
  background: var(--tw-surface);
}

.audit-log__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  min-width: 0;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.audit-log__field .form-control, .audit-log__field .form-select {
  font-size: var(--tw-text-sm);
  font-weight: 400;
  color: var(--tw-ink);
}

.audit-log__check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin: 0;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.audit-log__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--tw-primary);
}

.audit-log__filter-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  grid-column: 1/-1;
}

.audit-log__summary {
  margin: 0;
  padding: 10px 16px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

/* the list: the row button holds time to event; the record links sit beside it */
.audit-log__thead {
  display: grid;
  grid-template-columns: var(--al-cols) 16px var(--al-record);
  gap: 12px;
  align-items: center;
  min-height: 32px;
  padding: 0 16px;
  background: var(--tw-surface);
  border-top: 1px solid var(--tw-line);
  border-bottom: 1px solid var(--tw-line);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
}

.audit-log__thead .audit-log__col-record {
  grid-column: -2/-1;
}

.audit-log.is-one-rooftop .audit-log__col-rooftop, .audit-log.is-one-rooftop .audit-log__rooftop {
  display: none;
}

.audit-log__day {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 6px 16px;
  background: var(--tw-surface);
  border-bottom: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
  font-weight: 700;
  color: var(--tw-ink);
}

.audit-log__item {
  border-bottom: 1px solid var(--tw-line);
}

.audit-log__item.is-open {
  background: var(--tw-hover);
  box-shadow: inset 3px 0 0 var(--tw-brand);
}

.audit-log__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--al-record);
  gap: 12px;
  align-items: center;
  padding: 0 16px;
}

.audit-log__row {
  display: grid;
  grid-template-columns: var(--al-cols) 16px;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  background: none;
  text-align: left;
  color: var(--tw-text);
  width: 100%;
}

.audit-log__row > * {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-log__line:hover {
  background: var(--tw-surface);
}

.audit-log__item.is-open .audit-log__line:hover {
  background: none;
}

.audit-log__time {
  color: var(--tw-ink);
  font-variant-numeric: tabular-nums;
}

.audit-log__m-user {
  display: none;
}

.audit-log__user.is-system {
  color: var(--tw-faint);
  font-style: italic;
}

.audit-log__rooftop, .audit-log__area {
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
}

.audit-log__event b {
  color: var(--tw-ink);
}

.audit-log__chev {
  color: var(--tw-faint);
  transition: transform var(--tw-dur-fast);
  overflow: visible;
}

.audit-log__row[aria-expanded=true] .audit-log__chev {
  transform: rotate(90deg);
}

.audit-log__record {
  display: flex;
  gap: 4px;
  justify-content: flex-start;
  min-width: 0;
}

.audit-log__rec {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--tw-line);
  border-radius: 6px;
  background: var(--tw-surface);
  color: var(--tw-ink);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

.audit-log__rec:hover {
  border-color: var(--tw-accent);
  color: var(--tw-accent);
}

.audit-log__rec.is-second {
  border-style: dashed;
  background: none;
  font-weight: 400;
}

.audit-log__none {
  color: var(--tw-faint);
}

.audit-log__tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 6px;
  margin-right: 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  vertical-align: 1px;
  background: var(--tw-tone-info-bg);
  color: var(--tw-brand);
}

.audit-log__tag.is-failed {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

/* the open entry */
.audit-log__detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
  padding: 4px 16px 16px 19px;
}

.audit-log__detail-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.audit-log__box {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  min-width: 0;
}

.audit-log__box h3, .audit-log__box > summary {
  margin: 0;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
}

.audit-log__box h3 {
  border-bottom: 1px solid var(--tw-line);
}

.audit-log__box > summary {
  cursor: pointer;
}

.audit-log__diff {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.audit-log__diff th, .audit-log__diff td {
  padding: 6px 12px;
  border-bottom: 1px solid var(--tw-line);
  vertical-align: top;
  text-align: left;
  overflow-wrap: anywhere;
}

.audit-log__diff thead th {
  font-size: 11px;
  font-weight: 700;
  color: var(--tw-muted);
}

.audit-log__diff tbody th {
  width: 30%;
  font-weight: 600;
  color: var(--tw-ink);
}

.audit-log__diff tr:last-child th, .audit-log__diff tr:last-child td {
  border-bottom: 0;
}

.audit-log__was {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
  text-decoration: line-through;
}

.audit-log__was.is-unknown {
  background: none;
  color: var(--tw-faint);
  text-decoration: none;
  font-style: italic;
}

.audit-log__now {
  background: var(--tw-ok-bg);
  color: var(--tw-ok);
  font-weight: 600;
}

.audit-log__unchanged {
  border-top: 1px solid var(--tw-line);
}

.audit-log__unchanged summary {
  padding: 6px 12px;
  color: var(--tw-accent);
  font-weight: 600;
  cursor: pointer;
}

.audit-log__same {
  margin: 0;
  padding: 0 12px 8px;
}

.audit-log__same div, .audit-log__facts div {
  display: flex;
  gap: 8px;
  padding: 3px 0;
  font-size: var(--tw-text-xs);
}

.audit-log__same dt, .audit-log__facts dt {
  flex: 0 0 96px;
  color: var(--tw-muted);
  font-weight: 500;
}

.audit-log__same dd, .audit-log__facts dd {
  margin: 0;
  min-width: 0;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

.audit-log__facts {
  margin: 0;
  padding: 6px 12px 10px;
}

.audit-log__text {
  margin: 0;
  padding: 10px 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.audit-log__stored pre {
  margin: 0;
  padding: 10px 12px;
  border-top: 1px solid var(--tw-line);
  background: var(--tw-surface);
  font-family: var(--tw-font-mono);
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 280px;
  overflow: auto;
}

.audit-log__acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.audit-log__hint {
  margin: 0;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.audit-log__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 16px;
  text-align: center;
  color: var(--tw-muted);
}

.audit-log__empty i {
  font-size: 28px;
  color: var(--tw-line);
}

.audit-log__empty b {
  color: var(--tw-ink);
}

.audit-log__more {
  padding: 16px;
  text-align: center;
}

@media (max-width: 1199px) {
  .audit-log {
    --al-cols: 90px 130px 120px minmax(0, 1fr);
  }
  .audit-log.is-one-rooftop {
    --al-cols: 90px 140px minmax(0, 1fr);
  }
  .audit-log__col-area, .audit-log__area {
    display: none;
  }
  .audit-log__detail {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
}
@media (max-width: 991px) {
  .audit-log, .audit-log.is-one-rooftop {
    --al-cols: 84px 120px minmax(0, 1fr);
    --al-record: 120px;
  }
  .audit-log__col-rooftop, .audit-log__rooftop {
    display: none;
  }
  .audit-log__detail {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .audit-log__head .btn {
    flex: 1;
    justify-content: center;
  }
  .audit-log__search {
    flex-basis: 100%;
    max-width: none;
  }
  .audit-log__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
  }
  .audit-log__kinds {
    flex: 1 1 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    order: 3;
    scrollbar-width: none;
  }
  .audit-log__kind {
    flex: none;
    min-height: 44px;
  }
  .audit-log__form:not(.is-open) .audit-log__filters {
    display: none;
  }
  .audit-log__filters {
    grid-template-columns: 1fr 1fr;
  }
  .audit-log__thead {
    display: none;
  }
  .audit-log__line {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    padding: 8px 12px;
  }
  .audit-log__row {
    grid-template-columns: minmax(0, 1fr) 16px;
    grid-template-areas: "time chev" "event event";
    gap: 2px 8px;
    padding: 0;
  }
  .audit-log__time {
    grid-area: time;
    font-size: var(--tw-text-xs);
    color: var(--tw-muted);
  }
  .audit-log__m-user {
    display: inline;
    color: var(--tw-ink);
    font-weight: 600;
    margin-left: 6px;
  }
  .audit-log__user, .audit-log__rooftop, .audit-log__area {
    display: none;
  }
  .audit-log__chev {
    grid-area: chev;
  }
  .audit-log__event {
    grid-area: event;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .audit-log__record {
    justify-content: flex-end;
  }
  .audit-log__rec {
    min-height: 32px;
  }
  .audit-log__detail {
    padding: 4px 12px 12px 15px;
  }
  .audit-log__acts .btn {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .audit-log__chev {
    transition: none;
  }
}
/* External links (gs-external-links/index.volt, js/groups/external-links.js). Buttons, inputs and the page head
   come from Bootstrap and the shell. */
.ext-links {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

.ext-links [hidden] {
  display: none;
}

.ext-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ext-links :focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 2px;
}

.ext-links__head {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}

.ext-links__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.ext-links__field .form-control, .ext-links__field .form-select {
  font-size: var(--tw-text-sm);
  font-weight: 400;
}

.ext-links__field-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.ext-links__field-top label {
  margin: 0;
}

.ext-links__field-top small {
  font-weight: 400;
  color: var(--tw-faint);
}

.ext-links__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
}

/* what staff see */
.ext-links__preview {
  margin-bottom: 16px;
}

.ext-links__cap {
  margin: 0;
  padding: 8px 16px;
  border-bottom: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.ext-links__pv {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 14px 16px;
}

.ext-links__pv.is-all {
  grid-template-columns: minmax(0, 1fr);
}

.ext-links__pv-menu small {
  display: block;
  margin-top: 6px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.ext-links__pv-text {
  min-width: 0;
  color: var(--tw-text);
}

.ext-links__pv-none {
  display: flex;
  gap: 10px;
  align-items: center;
  height: 34px;
  padding: 0 10px;
  border: 1px dashed var(--tw-line);
  border-radius: var(--tw-radius-control);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.ext-links__roofs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.ext-links__roofs button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  background: var(--tw-panel);
  text-align: left;
}

.ext-links__roofs button:hover {
  border-color: var(--tw-ink);
  background: var(--tw-hover);
}

.ext-links__roofs b {
  min-width: 24px;
  font-size: 18px;
  text-align: center;
  color: var(--tw-ink);
}

.ext-links__roofs .is-none b {
  color: var(--tw-faint);
}

.ext-links__roofs span {
  min-width: 0;
  overflow: hidden;
  font-weight: 600;
  color: var(--tw-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ext-links__roofs small {
  display: block;
  font-size: var(--tw-text-xs);
  font-weight: 400;
  color: var(--tw-muted);
}

/* list */
.ext-links__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 16px;
  align-items: start;
}

.ext-links__tools {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.ext-links__search {
  position: relative;
  flex: 1 1 200px;
  max-width: 320px;
}

.ext-links__search i {
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--tw-faint);
}

.ext-links__search .form-control {
  padding-left: 34px;
  border-radius: var(--tw-radius-pill);
}

.ext-links__pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ext-links__pills button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-pill);
  background: var(--tw-panel);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
  white-space: nowrap;
}

.ext-links__pills [aria-pressed=true] {
  border-color: var(--tw-ink);
  background: var(--tw-ink);
  color: var(--tw-on-brand);
}

.ext-links__count {
  display: inline-block;
  min-width: 20px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-alert);
  font-size: 11px;
  line-height: 20px;
  text-align: center;
  color: var(--tw-on-brand);
}

.ext-links__note {
  margin: 0;
  padding: 8px 16px;
  border-bottom: 1px solid var(--tw-line);
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.ext-links__rowcap {
  padding: 8px 16px;
  border-bottom: 1px solid var(--tw-line);
  background: var(--tw-surface);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tw-muted);
}

.ext-links__row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 32px;
  gap: 12px;
  align-items: center;
  padding: 8px 12px 8px 8px;
  border-bottom: 1px solid var(--tw-line);
  cursor: pointer;
}

.ext-links__row:last-child {
  border-bottom: 0;
}

.ext-links__row:hover {
  background: var(--tw-surface);
}

.ext-links__row.is-sel {
  background: var(--tw-hover);
  box-shadow: inset 3px 0 0 var(--tw-brand);
}

.ext-links__row.is-drag {
  opacity: 0.4;
}

.ext-links__row.is-over {
  box-shadow: inset 0 2px 0 var(--tw-accent);
}

.ext-links__grip {
  width: 28px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--tw-faint);
  cursor: grab;
}

.ext-links__grip:hover {
  background: var(--tw-line);
  color: var(--tw-ink);
}

.ext-links__grip:disabled {
  opacity: 0.3;
  cursor: default;
}

.ext-links__name {
  min-width: 0;
}

.ext-links__name b {
  display: block;
  overflow: hidden;
  font-weight: 600;
  color: var(--tw-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ext-links__name small {
  display: block;
  overflow: hidden;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ext-links__tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 300px;
}

.ext-links__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  min-width: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--tw-surface);
  font-size: 11px;
  font-weight: 600;
  color: var(--tw-muted);
  white-space: nowrap;
}

.ext-links__tag.is-every {
  background: var(--tw-hover);
  color: var(--tw-brand);
}

.ext-links__tag.is-warn {
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
}

.ext-links__tag.is-bad {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.ext-links__open {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--tw-muted);
}

.ext-links__open:hover {
  background: var(--tw-hover);
  color: var(--tw-ink);
}

.ext-links__empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--tw-muted);
}

.ext-links__empty b {
  display: block;
  margin-bottom: 4px;
  color: var(--tw-ink);
}

/* details panel */
.ext-links__panel {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  overflow: hidden;
}

.ext-links__panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.ext-links__panel-head b {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  color: var(--tw-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ext-links__close {
  display: none;
}

.ext-links__panel-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  overflow-y: auto;
}

.ext-links__panel-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--tw-line);
}

.ext-links__spacer {
  flex: 1;
}

.ext-links__blank {
  padding: 48px 24px;
  text-align: center;
  color: var(--tw-muted);
}

.ext-links__blank i {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
  color: var(--tw-line);
}

.ext-links__urlrow {
  display: flex;
  gap: 8px;
}

.ext-links__urlrow .form-control {
  flex: 1;
  min-width: 0;
}

.ext-links__urlrow .btn {
  flex: none;
  white-space: nowrap;
}

.ext-links__msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 6px;
  padding: 8px 10px;
  border-radius: var(--tw-radius);
  font-size: var(--tw-text-xs);
}

.ext-links__msg i {
  margin-top: 2px;
}

.ext-links__msg.is-bad {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.ext-links__msg.is-warn {
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
}

.ext-links__msg.is-ok {
  background: var(--tw-ok-bg);
  color: var(--tw-ok);
}

.ext-links__sect {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--tw-line);
}

.ext-links__sect h3 {
  margin: 0;
  font-size: var(--tw-text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tw-muted);
}

.ext-links__scope {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ext-links__scope label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-control);
  cursor: pointer;
}

.ext-links__scope label:has(input:checked) {
  border-color: var(--tw-ink);
  background: var(--tw-hover);
}

.ext-links__scope input {
  margin: 3px 0 0;
}

.ext-links__scope span {
  flex: 1;
  min-width: 0;
}

.ext-links__scope b {
  display: block;
  color: var(--tw-ink);
}

.ext-links__scope small {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.ext-links__scope .form-select {
  margin-top: 6px;
}

.ext-links__pos {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.ext-links__pos span {
  flex: 1;
}

.ext-links__help {
  margin: 0;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

/* sheet, toast, dialog */
.ext-links__scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--tw-scrim);
}

.ext-links__toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 60;
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border-radius: var(--tw-radius);
  background: var(--tw-ink);
  box-shadow: var(--tw-shadow);
  color: var(--tw-on-brand);
  transform: translateX(-50%);
}

.ext-links__toast button {
  padding: 0;
  border: 0;
  background: none;
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
}

.ext-links__dialog {
  width: min(520px, 100vw - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow);
  color: var(--tw-text);
}

.ext-links__dialog::backdrop {
  background: var(--tw-scrim);
}

.ext-links__dialog-head {
  padding: 16px 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--tw-ink);
}

.ext-links__dialog-body {
  padding: 12px 20px 16px;
}

.ext-links__dialog-foot {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 12px 20px;
  border-top: 1px solid var(--tw-line);
}

@media (max-width: 1199px) {
  .ext-links__grid {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
}
@media (max-width: 991px) {
  .ext-links__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ext-links__pv {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .ext-links__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    width: min(440px, 100vw);
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: var(--tw-shadow);
    transform: translateX(105%);
    transition: transform var(--tw-dur) var(--tw-ease);
  }
  .ext-links__panel.is-open {
    transform: none;
  }
  .ext-links__close {
    display: inline-block;
  }
  .ext-links__scrim:not([hidden]) {
    display: block;
  }
}
@media (max-width: 767px) {
  .ext-links__head .ext-links__field, .ext-links__head .btn {
    flex: 1 1 140px;
  }
  .ext-links__search {
    flex-basis: 100%;
    max-width: none;
  }
  .ext-links__pills {
    flex-basis: 100%;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    overflow-x: auto;
  }
  .ext-links__pills button {
    flex: none;
  }
  .ext-links__tags {
    max-width: 120px;
  }
  .ext-links__tag span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ext-links__panel {
    transition: none;
  }
}
